* Slider margin 1px fix. (Old numix style) (#338)

pull/344/head
Csaba Jakosa 2016-04-14 13:10:11 +02:00 committed by Dustin Falgout
parent d15039c50e
commit 16edb91300
1 changed files with 4 additions and 7 deletions

View File

@ -31,9 +31,9 @@
slider { slider {
min-width: 7px; min-width: 7px;
min-height: 7px; min-height: 7px;
margin: -1px; margin: -2px;
border: 4px solid transparent; border: 4px solid transparent;
border-radius: 2px; border-radius: $roundness;
background-clip: padding-box; background-clip: padding-box;
background-color: $scrollbar_slider_color; background-color: $scrollbar_slider_color;
@ -75,7 +75,7 @@
min-height: 5px; min-height: 5px;
background-color: $fg_color; background-color: $fg_color;
background-clip: padding-box; background-clip: padding-box;
border-radius: 2px; border-radius: $roundness;
border: 1px solid if($variant == 'light', white, black); border: 1px solid if($variant == 'light', white, black);
-gtk-icon-source: none; -gtk-icon-source: none;
} }
@ -118,23 +118,20 @@
min-width: 7px; min-width: 7px;
min-height: 7px; min-height: 7px;
border-style: none; border-style: none;
border-radius: 2px; border-radius: $roundness;
transition-property: min-height, min-width, color; transition-property: min-height, min-width, color;
color: $scrollbar_slider_color; color: $scrollbar_slider_color;
&:hover { &:hover {
color: $scrollbar_slider_hover_color; color: $scrollbar_slider_hover_color;
} }
&:active, &:checked { &:active, &:checked {
color: $scrollbar_slider_active_color; color: $scrollbar_slider_active_color;
} }
&:backdrop { &:backdrop {
color: $backdrop_scrollbar_slider_color; color: $backdrop_scrollbar_slider_color;
} }
} }