summaryrefslogtreecommitdiff
path: root/desktop-themes
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-02-29 23:37:32 +0100
committerraveit65 <[email protected]>2016-02-29 23:37:32 +0100
commit9c109cd8a9285afb85ad9b6509e3e9d96d766017 (patch)
treeb9bfad7445bd683dddedf4e7e7ac4b999c296c42 /desktop-themes
parent07076d1f3a3e891b80c8f866a7214679db273f6f (diff)
downloadmate-themes-9c109cd8a9285afb85ad9b6509e3e9d96d766017.tar.bz2
mate-themes-9c109cd8a9285afb85ad9b6509e3e9d96d766017.tar.xz
GTK+-3.20 TraditionalOK: adjust GtkExpander
Diffstat (limited to 'desktop-themes')
-rw-r--r--desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css67
1 files changed, 54 insertions, 13 deletions
diff --git a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css
index d78ff490..cc3b7553 100644
--- a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css
@@ -2817,28 +2817,59 @@ row:hover:focus,
color: @theme_selected_fg_color;
}
+/* expander */
expander {
border-style: solid;
border-width: 1px;
border-radius: 2px;
- border-color: shade (@internal_element_color, 1.40);
- color: @theme_base_color;
- background-color: @theme_base_color;
+ border-color: @border_color;
+ color: @theme_fg_color;
+ background-color: @theme_bg_color;
}
-expander:active {
- border-style: solid;
- border-width: 1px;
- border-color: shade (@internal_element_color, 1.40);
- background-color: @theme_base_color;
+treeview.view.expander {
+ -gtk-icon-source: -gtk-icontheme("pan-end-symbolic");
+ color: @theme_fg_color;
}
-expander:hover {
- border-style: solid;
- border-width: 1px;
+treeview.view.expander:dir(rtl) {
+ -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl");
+}
+
+treeview.view.expander:checked {
+ -gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
+ }
+
+treeview.view.expander:hover {
+ color: @theme_selected_bg_color;
+}
+
+treeview.view.expander:selected,
+treeview.view.expander:selected:hover {
+ color: @theme_selected_fg_color;
+}
+
+expander arrow {
+ -gtk-icon-source: -gtk-icontheme("pan-end-symbolic");
+}
+
+expander arrow:dir(rtl) {
+ -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl");
+}
+
+expander arrow:hover {
color: @internal_element_color;
- border-color: shade (@internal_element_color, 1.40);
- background-color: shade (@theme_bg_color, 1.02);
+}
+
+expander arrow:checked {
+ -gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
+}
+
+/* why this weird padding, possible issue with gtk+-3.18 ? */
+expander arrow {
+ min-width: 16px;
+ min-height: 16px;
+ padding: 0px 4px 0px 0px;
}
expander row {
@@ -2854,6 +2885,16 @@ expander row:selected:focus {
background-color: @theme_selected_bg_color;
}
+expander scrolledwindow.frame {
+ border-radius: 0px;
+ border-width: 1px 0px;
+}
+
+expander toolbar.inline-toolbar {
+ border-width: 0px;
+ border-style: none;
+}
+
/* Calendars */
calendar {
padding: 2px;