[gtk+] Adwaita: Update expander styling
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: Update expander styling
- Date: Sat, 7 Nov 2015 05:43:12 +0000 (UTC)
commit c63c932a0572e18611f9cbb0b98c3ca5388dddf5
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Nov 7 00:42:37 2015 -0500
Adwaita: Update expander styling
Adapt to the changes in the previous commit.
gtk/theme/Adwaita/_common.scss | 12 +++++++-----
gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++----
gtk/theme/Adwaita/gtk-contained.css | 8 ++++----
3 files changed, 15 insertions(+), 13 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 5766961..93a0477 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -2717,11 +2717,13 @@ row {
* Expanders *
*************/
-.expander {
- -gtk-icon-source: -gtk-icontheme('pan-end-symbolic');
- &:dir(rtl) { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic-rtl'); }
- &:hover { color: lighten($fg_color,30%); } //only lightens the arrow
- &:checked { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); }
+expander {
+ arrow {
+ -gtk-icon-source: -gtk-icontheme('pan-end-symbolic');
+ &:dir(rtl) { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic-rtl'); }
+ &:hover { color: lighten($fg_color,30%); } //only lightens the arrow
+ &:checked { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); }
+ }
}
/************
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index d64a88c..5384c7f 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -3827,13 +3827,13 @@ row {
/*************
* Expanders *
*************/
-.expander {
+expander arrow {
-gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
- .expander:dir(rtl) {
+ expander arrow:dir(rtl) {
-gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); }
- .expander:hover {
+ expander arrow:hover {
color: white; }
- .expander:checked {
+ expander arrow:checked {
-gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); }
/************
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index a088a1c..645dedc 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -3997,13 +3997,13 @@ row {
/*************
* Expanders *
*************/
-.expander {
+expander arrow {
-gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
- .expander:dir(rtl) {
+ expander arrow:dir(rtl) {
-gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); }
- .expander:hover {
+ expander arrow:hover {
color: #748489; }
- .expander:checked {
+ expander arrow:checked {
-gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); }
/************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]