diff options
author | Manuel Quiñones <manuq@laptop.org> | 2012-12-03 14:48:01 (GMT) |
---|---|---|
committer | Manuel Quiñones <manuq@laptop.org> | 2012-12-03 15:49:42 (GMT) |
commit | 9d22561f5d8c589e0a0e3bc2c9e5c94b7e0bff5c (patch) | |
tree | 1d3a271c1134a88e681a109b6a78aa43f05b3217 | |
parent | f129867fcf170fc6e1d02b2fea1b768c351f9910 (diff) |
Style GtkProgressBar - SL #4249
- add dark grey border
- use grey background fill for common progressbars
- use black background fill for progressbars in palettes or toolbars
- remove hardcoded values
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
-rw-r--r-- | gtk3/theme/gtk-widgets.css.em | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em index d398d31..b6baaf5 100644 --- a/gtk3/theme/gtk-widgets.css.em +++ b/gtk3/theme/gtk-widgets.css.em @@ -525,18 +525,23 @@ SugarPaletteHeaderSeparator.menuitem.separator { GtkProgressBar.progressbar { background-color: @white; - border-color: @white; - border-radius: 10px; + border-color: @button_grey; + border-radius: $(subcell_size)px; border-style: solid; - border-width: 0px; + border-width: $(thickness)px; } GtkProgressBar.trough { - background-color: alpha (@black, 0.0); + background-color: @selection_grey; border-style: solid; - border-radius: 10px; + border-radius: $(subcell_size)px; border-color: @button_grey; - border-width: 2px; + border-width: $(thickness)px; +} + +.toolbar GtkProgressBar.trough, +SugarPaletteWindowWidget GtkProgressBar.trough { + background-color: @black; } /* Separators */ |