summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-04-11 19:58:22 +0200
committerraveit65 <[email protected]>2015-04-11 19:58:58 +0200
commite952af0cda1ac5ec3242bbf604979fb7e7b2ab54 (patch)
tree942a0c522bb4ed1536878de43ace69640ea8c8f8
parent48dca92a28751bb7767d6ad3f95b64b5879bcb8d (diff)
downloadmate-themes-e952af0cda1ac5ec3242bbf604979fb7e7b2ab54.tar.bz2
mate-themes-e952af0cda1ac5ec3242bbf604979fb7e7b2ab54.tar.xz
BlackMate GTK+-3.16: some adjustments -->
- fix progressbar - fix color of levelbar - improve GtkSwitch
-rw-r--r--desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css60
1 files changed, 48 insertions, 12 deletions
diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
index a2063778..28eee28b 100644
--- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
@@ -407,7 +407,11 @@ GtkHTML.entry {
* Progress bar *
****************/
GtkProgressBar {
+ -GtkProgressBar-min-horizontal-bar-height: 16;
+ -GtkProgressBar-min-vertical-bar-width: 16;
+ border-radius: 16px;
padding: 0px;
+ font-size: smaller;
}
.progressbar row,
@@ -489,7 +493,7 @@ GtkProgressBar.progressbar.vertical {
}
GtkProgressBar.progressbar {
- border-radius: 12px;
+ border-radius: 16px;
border-style: none;
/* Label font color of progressbar*/
color: @theme_text_color;
@@ -504,7 +508,7 @@ GtkProgressBar.trough {
border-width: 0px;
border-style: solid;
- border-radius: 12px;
+ border-radius: 16px;
}
GtkProgressBar.trough.vertical {
@@ -572,7 +576,9 @@ GtkLevelBar.vertical {
}
.level-bar.fill-block {
- border-style: none;
+ border-width: 1px;
+ border-style: solid;
+ border-color: @progressbar_border;
background-image: linear-gradient(to bottom,
shade(@link_color, 1.2),
shade(@link_color, 0.6));
@@ -593,8 +599,8 @@ GtkLevelBar.vertical {
.level-bar.fill-block.level-high {
background-image: linear-gradient(to bottom,
- shade(@success_color, 1.2),
- shade(@success_color, 0.7));
+ shade(@link_color, 1.2),
+ shade(@link_color, 0.7));
}
.level-bar.fill-block.level-low {
@@ -1886,7 +1892,7 @@ GtkCalendar.header .stack-switcher > .titlebutton.button {
/*background-image: linear-gradient(to bottom,
@toolbar_gradient_base,
shade(@theme_bg_color, 1.6));*/
- border-color: alpha(@frame_color, 0.6);
+ border-color: shade(@theme_bg_color, 0.8);
}
.header-bar .button.text-button {
@@ -2470,10 +2476,14 @@ GtkAssistant .sidebar {
* GtkSwitch *
*************/
GtkSwitch {
+ -GtkSwitch-slider-width: 45px;
+ font-weight: bold;
+ font-size: smaller;
font: bold condensed;
}
-GtkSwitch.trough {
+GtkSwitch.trough,
+GtkSwitch.trough:backdrop {
color: @internal_element_color;
border-radius: 3px;
border-width: 1px;
@@ -2485,7 +2495,8 @@ GtkSwitch.trough {
@trough_bg_color_b);
}
-GtkSwitch.trough:active {
+GtkSwitch.trough:active,
+GtkSwitch.trough:backdrop:active {
color: @theme_main_color;
border-image: none;
border-color: shade(@frame_color, 1.22);
@@ -2495,7 +2506,8 @@ GtkSwitch.trough:active {
@active_switch_bg_color_b);
}
-GtkSwitch.trough:insensitive {
+GtkSwitch.trough:insensitive,
+GtkSwitch.trough:backdrop:insensitive {
background-image: none;
background-color: shade(@theme_bg_color, 0.9);
border-color: shade(@inactive_frame_color, 0.845);
@@ -2510,7 +2522,8 @@ GtkSwitch.trough:insensitive {
color: @insensitive_fg_color;
}
-GtkSwitch.slider {
+GtkSwitch.slider,
+GtkSwitch.slider:backdrop {
border-width: 1px;
border-radius: 2px;
border-color: shade(@frame_color, 0.8);
@@ -2526,16 +2539,39 @@ GtkSwitch.slider {
background-position: center;
}
-GtkSwitch.slider:active {
+GtkSwitch.slider:active,
+GtkSwitch.slider:backdrop:active {
border-color: @switch_slider_border;
}
-GtkSwitch.slider:insensitive {
+GtkSwitch.slider:insensitive,
+GtkSwitch.slider:backdrop:insensitive {
border-style: none;
background-image: none;
background-color: shade(@switch_slider_color, 0.6);
}
+.list-row GtkSwitch,
+.list-row GtkSwitch:backdrop,
+.list-row:selected GtkSwitch,
+.list-row:selected GtkSwitch:backdrop {
+ box-shadow: none;
+ border-color: shade(@button_border, 1.0);
+}
+
+.list-row:selected GtkSwitch.slider:dir(rtl) {
+ border-left-color: @borders;
+}
+
+.list-row:selected GtkSwitch.slider:dir(ltr) {
+ border-right-color: @borders;
+}
+
+.list-row:selected GtkSwitch.slider,
+.list-row:selected GtkSwitch.slider:active {
+ border-color: shade(@button_border, 1.0);
+}
+
GtkStatusbar {
padding: 5px;
color: @theme_fg_color;