[gtk+] themes: missing specificity bump on expander arrow
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] themes: missing specificity bump on expander arrow
- Date: Mon, 1 Jan 2018 21:23:31 +0000 (UTC)
commit ab0edd10910ffa54ecb40c7cff8b90a0f10c6cf2
Author: Daniel Boles <dboles src gnome org>
Date: Mon Jan 1 21:21:52 2018 +0000
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.
gtk/theme/Adwaita/_common.scss | 3 ++-
gtk/theme/Adwaita/gtk-contained-dark.css | 2 +-
gtk/theme/Adwaita/gtk-contained.css | 2 +-
gtk/theme/HighContrast/_common.scss | 3 ++-
gtk/theme/HighContrast/gtk-contained-inverse.css | 2 +-
gtk/theme/HighContrast/gtk-contained.css | 2 +-
6 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 2689fbd..9216431 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 a5ec897..2360ccd 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 f2d8805..d5faa44 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 68661cc..e0b0fac 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 2b4d662..e8455a9 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 536ef81..5259b8e 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; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]