summaryrefslogtreecommitdiff
path: root/gtk/theme/Adwaita/_common.scss
diff options
context:
space:
mode:
authorLapo Calamandrei <calamandrei@gmail.com>2016-03-19 18:55:13 +0100
committerLapo Calamandrei <calamandrei@gmail.com>2016-03-19 18:56:41 +0100
commite079b92a55d0deb483ecdfef0b43c48bbd6b0b7f (patch)
tree73bc2064de005da5b97241d272242f373bd37197 /gtk/theme/Adwaita/_common.scss
parent20a8ac5542736e7f96c916982ac969b160a59e2d (diff)
downloadgtk+-e079b92a55d0deb483ecdfef0b43c48bbd6b0b7f.tar.gz
Adwaita: fix label styling
backdrop wasn't in the mix, added and adjusted other widgets styling not to be overridden by it when not needed. Spotted a typo making the backdrop base color white in the process.
Diffstat (limited to 'gtk/theme/Adwaita/_common.scss')
-rw-r--r--gtk/theme/Adwaita/_common.scss19
1 files changed, 15 insertions, 4 deletions
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 6036bc71b1..0052a585ac 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -150,16 +150,27 @@ label {
&:backdrop { color: $backdrop_fg_color; }
}
- &:selected,
- selection,
- selection:focus,
- selection:hover { @extend %selected_items; }
+ row:selected &,
+ &:selected { @extend %selected_items; }
+
+ selection {
+ background-color: $selected_bg_color;
+ color: $selected_fg_color;
+ }
&:disabled {
color: $insensitive_fg_color;
+ selection { @extend %selected_items:disabled; }
+
&:backdrop { color: $backdrop_insensitive_color; }
}
+
+ &:backdrop {
+ color: $backdrop_fg_color;
+
+ selection { @extend %selected_items:backdrop; }
+ }
}
.dim-label {