diff options
author | Manuel Quiñones <manuq@laptop.org> | 2012-10-10 00:34:36 (GMT) |
---|---|---|
committer | Manuel Quiñones <manuq@laptop.org> | 2012-10-16 18:31:13 (GMT) |
commit | 758400de671347f48a4b97aa741de8bf9012ad1b (patch) | |
tree | 295e501227fe5060e7b57d16649921f4c3dffce5 /gtk3 | |
parent | 091448e08cb133e6273f37b8ebb08832acd359f8 (diff) |
GtkScale: remove inner radius from the trough - SL #3983
This is specially noticeable when the scale slider is not visible,
which is the case of the current palettes. But is good to fix it
anyway because we cannot depend on the slider to hide it, the bug
might be noticeable with the slider above too.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
Diffstat (limited to 'gtk3')
-rw-r--r-- | gtk3/theme/gtk-widgets.css.em | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em index d29ac5e..63073ae 100644 --- a/gtk3/theme/gtk-widgets.css.em +++ b/gtk3/theme/gtk-widgets.css.em @@ -577,7 +577,6 @@ SugarPaletteWindowWidget GtkScrolledWindow * { .scale.trough { background-color: @button_grey; border-style: solid; - border-radius: $(2*subcell_size)px; border-color: @button_grey; border-width: $(thickness)px; } @@ -596,6 +595,22 @@ SugarPaletteWindowWidget GtkScrolledWindow * { border-color: @selection_grey; } +.scale.trough { + border-radius: 0px $(2*subcell_size)px $(2*subcell_size)px 0px; +} + +.scale.trough.vertical { + border-radius: 0px 0px $(2*subcell_size)px $(2*subcell_size)px; +} + +.scale.trough.top { + border-radius: $(2*subcell_size)px $(2*subcell_size)px 0px 0px; +} + +.scale.trough.left { + border-radius: $(2*subcell_size)px 0px 0px $(2*subcell_size)px; +} + .scale.slider, .scale.slider:active { background-color: transparent; |