[gtk] Adwaita: Fix levelbar styling



commit 7fd06cacbd81880ab3d4d6b7437d5dfac7874f9a
Author: Timm Bäder <mail baedert org>
Date:   Tue Feb 4 09:44:03 2020 +0100

    Adwaita: Fix levelbar styling
    
    The block nodes are inside a trough node.

 gtk/theme/Adwaita/_common.scss | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index d86b36a0c2..75e3a12562 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -3066,7 +3066,7 @@ $levelbar_border_radius: 3px;
 
 levelbar {
   &.horizontal {
-    > block {
+    trough > block {
       min-height: $levelbar_size;
       border-radius: $levelbar_border_radius;
 
@@ -3085,7 +3085,7 @@ levelbar {
 
     // segmented level bar
     &.discrete {
-      > block {
+      trough > block {
         min-height: 2px;
         margin: 1px;
         min-width: 24px;
@@ -3099,12 +3099,12 @@ levelbar {
   }
 
   &.vertical {
-    > block {
+    trough > block {
       min-width: $levelbar_size;
       border-radius: $levelbar_border_radius;
     }
 
-    &.discrete > block {
+    &.discrete > trough > block {
       min-width: $levelbar_size - 7px;
       margin: 1px 0;
       min-height: 32px;
@@ -3118,7 +3118,7 @@ levelbar {
   }
 
   // level bar colours
-  > block {
+  > trough > block {
     border: 1px solid;
     box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.2);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]