GTK3: fix border-color for colored buttons
This commit is contained in:
parent
582c961781
commit
b6e876ab84
@ -41,6 +41,37 @@ button {
|
|||||||
&:link,
|
&:link,
|
||||||
&:backdrop { @include button(undecorated); }
|
&:backdrop { @include button(undecorated); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Suggested and Destructive Action buttons
|
||||||
|
@each $b_type, $b_color, $t_color in (suggested-action, $suggested_bg_color, $selected_fg_color),
|
||||||
|
(destructive-action, $destructive_color, white) {
|
||||||
|
&.#{$b_type} {
|
||||||
|
@include button(normal, $b_color, $t_color);
|
||||||
|
|
||||||
|
&:hover { @include button(hover, $b_color, $t_color); }
|
||||||
|
|
||||||
|
&:active,
|
||||||
|
&:checked { @include button(active, $b_color, $t_color); }
|
||||||
|
|
||||||
|
&:backdrop,
|
||||||
|
&.flat:backdrop {
|
||||||
|
@include button(backdrop, $b_color, $t_color);
|
||||||
|
|
||||||
|
&:active,
|
||||||
|
&:checked { @include button(backdrop-active, $b_color, $t_color); }
|
||||||
|
|
||||||
|
&:disabled {
|
||||||
|
&:active,
|
||||||
|
&:checked { @include button(backdrop-insensitive-active, $b_color, $t_color); }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&:disabled {
|
||||||
|
&:active,
|
||||||
|
&:checked { @include button(insensitive-active, $b_color, $t_color); }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**********
|
/**********
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user