Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel QuiƱones <manuq@laptop.org>2012-12-03 14:48:01 (GMT)
committer Ajay Garg <ajay@activitycentral.com>2012-12-10 18:46:03 (GMT)
commitd9c81e987467ab529b515b702d2cee01cc5202bf (patch)
tree2f6276b92cacf57f06245abe8634e1d214a8f19d
parentc141f90ed184d449db70b87d85f608b854b5dccb (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> Signed-off-by: Ajay Garg <ajay@activitycentral.com>
-rw-r--r--gtk3/theme/gtk-widgets.css.em17
1 files changed, 11 insertions, 6 deletions
diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
index e962d1e..ff8483e 100644
--- a/gtk3/theme/gtk-widgets.css.em
+++ b/gtk3/theme/gtk-widgets.css.em
@@ -530,18 +530,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 */