summaryrefslogtreecommitdiff
path: root/gtk/theme
diff options
context:
space:
mode:
authorDaniel Boles <dboles@src.gnome.org>2018-01-01 21:21:52 +0000
committerDaniel Boles <dboles@src.gnome.org>2018-01-01 21:22:23 +0000
commitab0edd10910ffa54ecb40c7cff8b90a0f10c6cf2 (patch)
treecbcfd115309e5cd84830f538148a167292912977 /gtk/theme
parent3bcbf4cf4ebde34b37c4a165a24ac3f9c0aa909a (diff)
downloadgtk+-ab0edd10910ffa54ecb40c7cff8b90a0f10c6cf2.tar.gz
themes: missing specificity bump on expander arrow
Commit 4ee02725b407b277c36720f6f4279989730d24a2 made the :hover apply to the title node, not the arrow node, but the selectors it added were not caught by the recent commits fixing the specificity of title > arrow.
Diffstat (limited to 'gtk/theme')
-rw-r--r--gtk/theme/Adwaita/_common.scss3
-rw-r--r--gtk/theme/Adwaita/gtk-contained-dark.css2
-rw-r--r--gtk/theme/Adwaita/gtk-contained.css2
-rw-r--r--gtk/theme/HighContrast/_common.scss3
-rw-r--r--gtk/theme/HighContrast/gtk-contained-inverse.css2
-rw-r--r--gtk/theme/HighContrast/gtk-contained.css2
6 files changed, 8 insertions, 6 deletions
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 2689fbd2c7..9216431d1c 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -3636,7 +3636,8 @@ expander {
&:checked { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); }
}
- title:hover arrow {
+
+ title:hover > arrow {
color: lighten($fg_color,30%); //only lightens the arrow
}
}
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index a5ec8976bd..2360ccd0b4 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -1576,7 +1576,7 @@ expander title > arrow:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symb
expander title > arrow:checked { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); }
-expander title:hover arrow { color: white; }
+expander title:hover > arrow { color: white; }
/************ Calendar * */
calendar { color: white; border: 1px solid #1b1f20; }
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index f2d880528c..d5faa4444e 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -1596,7 +1596,7 @@ expander title > arrow:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symb
expander title > arrow:checked { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); }
-expander title:hover arrow { color: #748489; }
+expander title:hover > arrow { color: #748489; }
/************ Calendar * */
calendar { color: black; border: 1px solid #b6b6b3; }
diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss
index 68661cce3d..e0b0fac969 100644
--- a/gtk/theme/HighContrast/_common.scss
+++ b/gtk/theme/HighContrast/_common.scss
@@ -2767,7 +2767,8 @@ expander {
&:dir(rtl) { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic-rtl'); }
&:checked { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); }
}
- title:hover arrow {
+
+ title:hover > arrow {
color: lighten($fg_color,30%); //only lightens the arrow
}
}
diff --git a/gtk/theme/HighContrast/gtk-contained-inverse.css b/gtk/theme/HighContrast/gtk-contained-inverse.css
index 2b4d6622a1..e8455a9c1e 100644
--- a/gtk/theme/HighContrast/gtk-contained-inverse.css
+++ b/gtk/theme/HighContrast/gtk-contained-inverse.css
@@ -1244,7 +1244,7 @@ expander title > arrow:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symb
expander title > arrow:checked { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); }
-expander title:hover arrow { color: white; }
+expander title:hover > arrow { color: white; }
/************ Calendar * */
calendar { border: 1px solid gray; }
diff --git a/gtk/theme/HighContrast/gtk-contained.css b/gtk/theme/HighContrast/gtk-contained.css
index 536ef816ed..5259b8e828 100644
--- a/gtk/theme/HighContrast/gtk-contained.css
+++ b/gtk/theme/HighContrast/gtk-contained.css
@@ -1250,7 +1250,7 @@ expander title > arrow:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symb
expander title > arrow:checked { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); }
-expander title:hover arrow { color: #4d4d4d; }
+expander title:hover > arrow { color: #4d4d4d; }
/************ Calendar * */
calendar { border: 1px solid gray; }