mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 20:51:07 +00:00
Merge branch 'wip/jimmac/HC-slider-border' into 'master'
HC: fix switch slider borders See merge request GNOME/gtk!1737
This commit is contained in:
commit
bca608c531
@ -2337,15 +2337,11 @@ switch {
|
||||
min-width: 24px;
|
||||
min-height: 24px;
|
||||
border: 1px solid;
|
||||
border-color: $borders_color;
|
||||
border-radius: 50%;
|
||||
transition: $button_transition;
|
||||
|
||||
@if $variant == 'light' {
|
||||
@include button(normal-alt, $edge: $shadow_color);
|
||||
}
|
||||
@else {
|
||||
@include button(normal-alt, $c: lighten($bg_color,6%), $edge: $shadow_color);
|
||||
}
|
||||
@include button(normal, $edge: $shadow_color);
|
||||
}
|
||||
|
||||
> image { color: transparent; } /* only show i / o for the accessible theme */
|
||||
|
@ -198,7 +198,7 @@
|
||||
// normal button alternative look
|
||||
//
|
||||
color: $tc;
|
||||
border-color: if($c != $bg_color, _border_color($c, true), $alt_borders_color);
|
||||
border-color: if($c != $bg_color, _border_color($c, true), $alt_borders_color); //colored buttons
|
||||
@if $variant == 'light' {
|
||||
background-image: linear-gradient(to bottom, lighten($c, 5%) 20%, $c 90%);
|
||||
@include _shadows(inset 0 1px _button_hilight_color(lighten($c, 6%)),
|
||||
|
Loading…
Reference in New Issue
Block a user