|
@@ -40,7 +40,10 @@ $module: #{$prefix}-button;
|
|
&-danger {
|
|
&-danger {
|
|
background-color: $color-button_danger-bg-default;
|
|
background-color: $color-button_danger-bg-default;
|
|
color: $color-button_danger-text-default;
|
|
color: $color-button_danger-text-default;
|
|
- transition: background-color $transition_duration-button_danger-bg $transition_function_button_danger-bg $transition_delay_button_danger-bg;
|
|
|
|
|
|
+ transition: background-color $transition_duration-button_danger-bg $transition_function-button_danger-bg $transition_delay-button_danger-bg,
|
|
|
|
+ border $transition_duration-button_danger-border $transition_function-button_danger-border $transition_delay-button_danger-border;
|
|
|
|
+ transform: scale(var($transform-scale-button_danger));
|
|
|
|
+
|
|
|
|
|
|
&:hover {
|
|
&:hover {
|
|
background-color: $color-button_danger-bg-hover;
|
|
background-color: $color-button_danger-bg-hover;
|
|
@@ -59,7 +62,9 @@ $module: #{$prefix}-button;
|
|
&-warning {
|
|
&-warning {
|
|
background-color: $color-button_warning-bg-default;
|
|
background-color: $color-button_warning-bg-default;
|
|
color: $color-button_warning-text-default;
|
|
color: $color-button_warning-text-default;
|
|
- transition: background-color $transition_duration-button_warning-bg $transition_function_button_warning-bg $transition_delay_button_warning-bg;
|
|
|
|
|
|
+ transition: background-color $transition_duration-button_warning-bg $transition_function-button_warning-bg $transition_delay-button_warning-bg,
|
|
|
|
+ border $transition_duration-button_warning-border $transition_function-button_warning-border $transition_delay-button_warning-border;
|
|
|
|
+ transform:scale(var($transform_scale-button_warning));
|
|
|
|
|
|
&:hover {
|
|
&:hover {
|
|
background-color: $color-button_warning-bg-hover;
|
|
background-color: $color-button_warning-bg-hover;
|
|
@@ -78,7 +83,9 @@ $module: #{$prefix}-button;
|
|
&-tertiary {
|
|
&-tertiary {
|
|
background-color: $color-button_tertiary-bg-default;
|
|
background-color: $color-button_tertiary-bg-default;
|
|
color: $color-button_tertiary-text-default;
|
|
color: $color-button_tertiary-text-default;
|
|
- transition: background-color $transition_duration-button_tertiary-bg $transition_function_button_tertiary-bg $transition_delay_button_tertiary-bg;
|
|
|
|
|
|
+ transition: background-color $transition_duration-button_tertiary-bg $transition_function-button_tertiary-bg $transition_delay-button_tertiary-bg,
|
|
|
|
+ border $transition_duration-button_tertiary-border $transition_function-button_tertiary-border $transition_delay-button_tertiary-border;
|
|
|
|
+ transform:scale(var($transform_scale_button_tertiary));
|
|
|
|
|
|
&:hover {
|
|
&:hover {
|
|
background-color: $color-button_tertiary-bg-hover;
|
|
background-color: $color-button_tertiary-bg-hover;
|
|
@@ -94,7 +101,10 @@ $module: #{$prefix}-button;
|
|
&-primary {
|
|
&-primary {
|
|
background-color: $color-button_primary-bg-default;
|
|
background-color: $color-button_primary-bg-default;
|
|
color: $color-button_primary-text-default;
|
|
color: $color-button_primary-text-default;
|
|
- transition: background-color $transition_duration-button_primary-bg $transition_function_button_primary-bg $transition_delay_button_primary-bg;
|
|
|
|
|
|
+ transition: background-color $transition_duration-button_primary-bg $transition_function-button_primary-bg $transition_delay-button_primary-bg,
|
|
|
|
+ border $transition_duration-button_primary-border $transition_function-button_primary-border $transition_delay-button_primary-border;;
|
|
|
|
+ transform:scale(var($transform_scale-button_primary));
|
|
|
|
+
|
|
&:not(.#{$module}-borderless):not(.#{$module}-light):hover {
|
|
&:not(.#{$module}-borderless):not(.#{$module}-light):hover {
|
|
background-color: $color-button_primary-bg-hover;
|
|
background-color: $color-button_primary-bg-hover;
|
|
}
|
|
}
|
|
@@ -111,7 +121,9 @@ $module: #{$prefix}-button;
|
|
background-color: $color-button_secondary-bg-default;
|
|
background-color: $color-button_secondary-bg-default;
|
|
outline-color: $color-button_secondary-border-default;
|
|
outline-color: $color-button_secondary-border-default;
|
|
color: $color-button_secondary-text-default;
|
|
color: $color-button_secondary-text-default;
|
|
- transition: background-color $transition_duration-button_secondary-bg $transition_function_button_secondary-bg $transition_delay_button_secondary-bg;
|
|
|
|
|
|
+ transition: background-color $transition_duration-button_secondary-bg $transition_function-button_secondary-bg $transition_delay-button_secondary-bg,
|
|
|
|
+ border $transition_duration-button_secondary-border $transition_function-button_secondary-border $transition_delay-button_secondary-border;
|
|
|
|
+ transform:scale(var($transform_scale-button_secondary));
|
|
|
|
|
|
&:hover {
|
|
&:hover {
|
|
background-color: $color-button_secondary-bg-hover;
|
|
background-color: $color-button_secondary-bg-hover;
|
|
@@ -142,6 +154,9 @@ $module: #{$prefix}-button;
|
|
&-borderless {
|
|
&-borderless {
|
|
background-color: transparent;
|
|
background-color: transparent;
|
|
border: $width-button_borderless-border $color-button_borderless-border-default solid;
|
|
border: $width-button_borderless-border $color-button_borderless-border-default solid;
|
|
|
|
+ transition:background-color $transition_duration-button_borderless-bg $transition_function-button_borderless-bg $transition_delay-button_borderless-bg;
|
|
|
|
+ transform:scale(var($transform_scale-button_borderless));
|
|
|
|
+
|
|
&:not(.#{$module}-disabled):hover {
|
|
&:not(.#{$module}-disabled):hover {
|
|
background-color: $color-button_borderless-bg-hover;
|
|
background-color: $color-button_borderless-bg-hover;
|
|
border: $width-button_borderless-border $color-button_borderless-border-hover solid;
|
|
border: $width-button_borderless-border $color-button_borderless-border-hover solid;
|
|
@@ -155,7 +170,9 @@ $module: #{$prefix}-button;
|
|
&-light {
|
|
&-light {
|
|
background-color: $color-button_light-bg-default;
|
|
background-color: $color-button_light-bg-default;
|
|
border: $width-button_light-border $color-button_light-border-default solid;
|
|
border: $width-button_light-border $color-button_light-border-default solid;
|
|
- transition: background-color $transition_duration-button_light-bg $transition_function_button_light-bg $transition_delay_button_light-bg;
|
|
|
|
|
|
+ transition: background-color $transition_duration-button_light-bg $transition_function-button_light-bg $transition_delay-button_light-bg,
|
|
|
|
+ border $transition_duration-button_light-border $transition_function-button_light-border $transition_delay-button_light-border;
|
|
|
|
+ transform:scale(var($transform_scale-button_light));
|
|
|
|
|
|
&:not(.#{$module}-disabled):hover {
|
|
&:not(.#{$module}-disabled):hover {
|
|
background-color: $color-button_light-bg-hover;
|
|
background-color: $color-button_light-bg-hover;
|