summaryrefslogtreecommitdiff
path: root/desktop-themes/TraditionalOk
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-02-29 23:37:32 +0100
committerraveit65 <[email protected]>2016-02-29 23:38:02 +0100
commit98280713877beef1bead8b8d1700e5f138f34067 (patch)
tree174c9fe19705674e787077d517f6f56897a7e494 /desktop-themes/TraditionalOk
parent83df1065683080be87146466492807b8a7a9b558 (diff)
downloadmate-themes-98280713877beef1bead8b8d1700e5f138f34067.tar.bz2
mate-themes-98280713877beef1bead8b8d1700e5f138f34067.tar.xz
GTK+-3.20 TraditionalOK: adjust GtkExpander
Diffstat (limited to 'desktop-themes/TraditionalOk')
-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;