summaryrefslogtreecommitdiff
path: root/desktop-themes
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-04-25 14:46:50 +0200
committerraveit65 <[email protected]>2015-04-25 14:46:50 +0200
commit171adf6b6faf7aa24f29c8c36af2fd589b932099 (patch)
tree46402294e4e49e4c7812df840c2213e83f99f824 /desktop-themes
parentb5df3e9a6012d06fb204ef4dbcbe29de9bd5d476 (diff)
downloadmate-themes-171adf6b6faf7aa24f29c8c36af2fd589b932099.tar.bz2
mate-themes-171adf6b6faf7aa24f29c8c36af2fd589b932099.tar.xz
ContrastHigh GTK3: adjust list-rows and GtkSwitch
Diffstat (limited to 'desktop-themes')
-rw-r--r--desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css63
-rw-r--r--desktop-themes/ContrastHigh/gtk-3.0/gtk.css11
2 files changed, 67 insertions, 7 deletions
diff --git a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css
index 2edb0b13..178c69ca 100644
--- a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css
@@ -865,8 +865,7 @@ GtkSwitch.slider {
border-style: solid;
border-radius: 3px;
border-color: @theme_switch_slider_border;
-
- background-color: @theme_switch_slider_bg;
+ background-color: shade(@theme_button_bg, 0.8);
background-clip: border-box;
}
@@ -876,8 +875,8 @@ GtkSwitch.slider:insensitive {
}
GtkSwitch.slider:active {
- border-color: @theme_switch_slider_active_bg;
- background-color: @theme_switch_slider_active_bg;
+ border-color: @theme_highlight_color;
+ background-color: @theme_button_active_bg;
}
GtkSwitch.slider:active:insensitive {
@@ -891,8 +890,7 @@ GtkSwitch.trough {
}
GtkSwitch.trough:active {
- color: @theme_switch_slider_active_bg;
- background-color: @theme_highlight_color;
+ color: @theme_button_fg;
border-color: @theme_highlight_alt;
}
@@ -1286,8 +1284,59 @@ GtkIconView.view.cell {
/**************
* List boxes *
**************/
-.list-row:hover {
+
+.list,
+.list-row {
+ background-color: @base_color;
+ border-color: @borders_color;
+}
+
+.list:backdrop,
+.list-row:backdrop {
+ background-color: @backdrop_base_color;
+ border-color: @backdrop_borders_color;
+}
+
+.list-row,
+.grid-child {
+ padding: 2px;
+}
+
+.list-row.button {
+ background-color: @base_color;
+ border-style: none;
+ border-radius: 0px;
+ box-shadow: none;
+}
+
+.list-row.button:hover,
+.list-row.button:backdrop:hover,
+.list-row.button:selected:hover {
+ background-color: @theme_active_color;
+ color: @theme_base_color;
+ border-radius: 4px;
+}
+
+.list-row.button:active {
+ box-shadow: inset 0 2px 2px -2px transparentize(black,0.8);
+}
+
+.list-row.button:selected,
+.list-row.button:selected:active {
+ color: @theme_fg_color;
+ box-shadow: inset 0 2px 3px -1px transparentize(black,0.5);
+ border-radius: 4px;
+}
+
+.list-row:selected {
background-color: @theme_button_bg;
+ color: @theme_fg_color;
+ border-style: solid;
+ border-radius: 4px;
+}
+
+.list-row:selected:backdrop {
+ color: @backdrop_base_color;
}
/*******
diff --git a/desktop-themes/ContrastHigh/gtk-3.0/gtk.css b/desktop-themes/ContrastHigh/gtk-3.0/gtk.css
index 55c749eb..717e8ddd 100644
--- a/desktop-themes/ContrastHigh/gtk-3.0/gtk.css
+++ b/desktop-themes/ContrastHigh/gtk-3.0/gtk.css
@@ -64,6 +64,17 @@
@define-color theme_cursor_color @theme_fg_color;
+/*colors for the backdrop state, derived from the main colors. */
+@define-color backdrop_base_color @base_color;
+@define-color backdrop_bg_color @bg_color;
+@define-color backdrop_fg_color @fg_color;
+@define-color backdrop_insensitive_color @insensitive_fg_color;
+@define-color backdrop_borders_color mix(@borders_color, @bg_color, 90%);
+
+/******
+ * WM *
+ ******/
+
@define-color wm_border_color @theme_fg_color;
@define-color wm_border_bakcdrop_color @theme_insensitive_border;
@define-color wm_button_bg @theme_button_bg;