summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-04-25 14:46:50 +0200
committerraveit65 <[email protected]>2015-04-26 19:45:32 +0200
commit3775c5a8379c3e47ececbc86604d5a9fe843c62d (patch)
tree7ca117f0adfc29b41d03490fc466df5a76a32b7f
parent2bf796059b0136193312513acf2c07184023c6fc (diff)
downloadmate-themes-3775c5a8379c3e47ececbc86604d5a9fe843c62d.tar.bz2
mate-themes-3775c5a8379c3e47ececbc86604d5a9fe843c62d.tar.xz
ContrastHigh GTK3: adjust list-rows and GtkSwitch
-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 506dc3b5..ffd41c01 100644
--- a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css
@@ -926,8 +926,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;
}
@@ -937,8 +936,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 {
@@ -952,8 +951,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;
}
@@ -1347,8 +1345,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 9f675fca..fb5b2ca1 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;