[gtk/wip/baedert/for-master: 29/33] Adwaita: Fix levelbar styling



commit 496a96ee8c0b8f5ad089c28236ad6bdb9b7abf0f
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 96c068d154..07f6eb75b9 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -3137,7 +3137,7 @@ $levelbar_border_radius: 3px;
 
 levelbar {
   &.horizontal {
-    > block {
+    trough > block {
       min-height: $levelbar_size;
       border-radius: $levelbar_border_radius;
 
@@ -3156,7 +3156,7 @@ levelbar {
 
     // segmented level bar
     &.discrete {
-      > block {
+      trough > block {
         min-height: 2px;
         margin: 1px;
         min-width: 24px;
@@ -3170,12 +3170,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;
@@ -3189,7 +3189,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]