[libadwaita/wip/exalm/stylesheet2: 44/103] stylesheet: Nest pathbar under filechooser




commit e482ba195973e55e0340a96eda2319d0113559dc
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Apr 8 19:18:43 2021 +0500

    stylesheet: Nest pathbar under filechooser
    
    This widget is private in GTK4, no need to separate it.

 src/stylesheet/_common.scss | 58 +++++++++++++++++++++------------------------
 1 file changed, 27 insertions(+), 31 deletions(-)
---
diff --git a/src/stylesheet/_common.scss b/src/stylesheet/_common.scss
index 1e94977..d392374 100644
--- a/src/stylesheet/_common.scss
+++ b/src/stylesheet/_common.scss
@@ -1517,37 +1517,6 @@ window.devel {
   }
 }
 
-/************
- * Pathbars *
- ************/
-
-pathbar > button {
-  &.text-button, &.image-button, & {
-    padding-left: 4px;
-    padding-right: 4px;
-  }
-
-  &.text-button.image-button label {
-    padding-left: 0;
-    padding-right: 0;
-  }
-
-  &.text-button.image-button, & {
-    label:last-child { padding-right: 8px; }
-    label:first-child { padding-left: 8px; }
-  }
-
-  image {
-    padding-left: 4px;
-    padding-right: 4px;
-  }
-
-  &.slider-button {
-    padding-left: 0;
-    padding-right: 0;
-  }
-}
-
 
 /**************
  * Tree Views *
@@ -3466,6 +3435,33 @@ filechooser {
   }
 
   #pathbarbox { border-bottom: 1px solid $bg_color; }
+
+  pathbar > button {
+    &.text-button, &.image-button, & {
+      padding-left: 4px;
+      padding-right: 4px;
+    }
+
+    &.text-button.image-button label {
+      padding-left: 0;
+      padding-right: 0;
+    }
+
+    &.text-button.image-button, & {
+      label:last-child { padding-right: 8px; }
+      label:first-child { padding-left: 8px; }
+    }
+
+    image {
+      padding-left: 4px;
+      padding-right: 4px;
+    }
+
+    &.slider-button {
+      padding-left: 0;
+      padding-right: 0;
+    }
+  }
 }
 
 /***********


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