summaryrefslogtreecommitdiff
path: root/desktop-themes/BlackMATE
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-04-13 15:18:38 +0200
committerraveit65 <[email protected]>2015-04-13 15:18:38 +0200
commit6f8838f8b5427ae6d3ec747cb38db4e1d504e242 (patch)
tree1b679c960d7bc12f3521c88fd43e7c8d61110f17 /desktop-themes/BlackMATE
parent870d15ad735f536ba8e8b5c46983b2981956fa0b (diff)
downloadmate-themes-6f8838f8b5427ae6d3ec747cb38db4e1d504e242.tar.bz2
mate-themes-6f8838f8b5427ae6d3ec747cb38db4e1d504e242.tar.xz
BlackMATE GTK+3.14: some improvements -->
- disable ugly outline on focus windows - adjust levelbars - fix notebook close button - fix header-bars border - improve GtkSwitch
Diffstat (limited to 'desktop-themes/BlackMATE')
-rw-r--r--desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css53
-rw-r--r--desktop-themes/BlackMATE/gtk-3.0/mate-applications.css13
2 files changed, 56 insertions, 10 deletions
diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
index 07222573..f55c2a6b 100644
--- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
@@ -39,7 +39,7 @@
outline-color: @focus_border;
outline-style: dashed;
outline-offset: 2px;
- outline-width: 2px; /* disable ugly focus-line */
+ outline-width: 0px; /* disable ugly focus-line */
-gtk-icon-style: regular; /* no symbolic icons */
}
@@ -562,11 +562,14 @@ GtkLevelBar.vertical {
}
.level-bar.trough {
+ border-radius: 2px;
padding: 2px;
}
.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));
@@ -719,7 +722,7 @@ GtkNotebook {
border-style: none;
border-image: none;
border-radius: 5px;
- background-color: alpha(@theme_bg_color, 0.6);
+ background-color: transparent;
background-image: none;
-GtkButton-child-displacement-x: 0;
-GtkButton-child-displacement-y: 0;
@@ -1862,7 +1865,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 {
@@ -2446,10 +2449,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;
@@ -2461,7 +2468,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);
@@ -2471,7 +2479,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);
@@ -2486,7 +2495,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);
@@ -2502,16 +2512,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;
diff --git a/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css b/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css
index bded6b09..b522c737 100644
--- a/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css
+++ b/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css
@@ -511,11 +511,24 @@ PlumaWindow .button.flat {
border-radius: 5px;
}
+PlumaWindow .button.flat,
PlumaWindow .button.flat:hover {
border-image: none;
border-radius: 5px;
}
+/* surpress styling of close button */
+PlumaWindow .notebook tab .button.flat,
+PlumaWindow .notebook tab .button.flat:hover {
+ border-color: transparent;
+ background-color: transparent;
+ background-image: none;
+ box-shadow: inset 0 1px rgba(255,255,255,0), 0 1px rgba(255,255,255,0);
+ text-shadow: none;
+ icon-shadow: none;
+ border-image: none;
+}
+
/***********************
* Mate-Control-Center *
***********************/