style: Quick settings button border tweak
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2648>
This commit is contained in:
parent
a13d37c01e
commit
fb33b59306
@ -13,7 +13,7 @@ $fg_color: if($variant == 'light', transparentize(black, .2), white);
|
|||||||
|
|
||||||
$selected_fg_color: $light_1;
|
$selected_fg_color: $light_1;
|
||||||
$selected_bg_color: $blue_3;
|
$selected_bg_color: $blue_3;
|
||||||
$selected_borders_color: if($variant== 'light', darken($selected_bg_color, 15%), darken($selected_bg_color, 30%));
|
$selected_borders_color: if($variant== 'light', darken($selected_bg_color, 15%), darken($selected_bg_color, 20%));
|
||||||
|
|
||||||
$borders_color: if($variant == 'light', transparentize($fg_color, .5), transparentize($fg_color, .9));
|
$borders_color: if($variant == 'light', transparentize($fg_color, .5), transparentize($fg_color, .9));
|
||||||
$outer_borders_color: if($variant == 'light', rgba(255,255,255,0.8), lighten($bg_color, 5%));
|
$outer_borders_color: if($variant == 'light', rgba(255,255,255,0.8), lighten($bg_color, 5%));
|
||||||
|
@ -58,7 +58,10 @@
|
|||||||
padding: $base_padding $base_padding*1.75;
|
padding: $base_padding $base_padding*1.75;
|
||||||
border-width: 0;
|
border-width: 0;
|
||||||
|
|
||||||
&:checked { @include button(default, $c:$selected_bg_color); }
|
&:checked {
|
||||||
|
@include button(default, $c:$selected_bg_color);
|
||||||
|
border-color: $selected_borders_color;
|
||||||
|
}
|
||||||
|
|
||||||
&:ltr {
|
&:ltr {
|
||||||
border-radius: 0 99px 99px 0;
|
border-radius: 0 99px 99px 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user