[libadwaita/wip/exalm/stylesheet2: 96/97] stylesheet: Move AdwStatusPage styles to _misc.scss




commit eaffe8658492db8f75d541eb8144e735827782c2
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri Apr 9 17:04:16 2021 +0500

    stylesheet: Move AdwStatusPage styles to _misc.scss

 src/stylesheet/_custom.scss       | 23 -----------------------
 src/stylesheet/widgets/_misc.scss | 25 +++++++++++++++++++++++++
 2 files changed, 25 insertions(+), 23 deletions(-)
---
diff --git a/src/stylesheet/_custom.scss b/src/stylesheet/_custom.scss
index 6f7b148..abde9ca 100644
--- a/src/stylesheet/_custom.scss
+++ b/src/stylesheet/_custom.scss
@@ -9,29 +9,6 @@ $leaflet_outline: rgba(255, 255, 255, if($variant == 'light', 0.2, 0.05));
   $leaflet_outline: transparent;
 }
 
-// AdwStatusPage
-
-statuspage > scrolledwindow > viewport > box {
-  margin: 36px 12px;
-  border-spacing: 36px;
-
-  > clamp > box {
-    border-spacing: 12px;
-
-    > .icon {
-      color: transparentize($fg_color, 0.5);
-
-      &:not(:last-child) {
-        margin-bottom: 24px;
-      }
-
-      &:backdrop {
-        color: transparentize($backdrop_fg_color, 0.5);
-      }
-    }
-  }
-}
-
 // Shadows
 
 @mixin background-shadow($direction) {
diff --git a/src/stylesheet/widgets/_misc.scss b/src/stylesheet/widgets/_misc.scss
index 08bdfb7..dff0f79 100644
--- a/src/stylesheet/widgets/_misc.scss
+++ b/src/stylesheet/widgets/_misc.scss
@@ -134,3 +134,28 @@ window.aboutdialog image.large-icons {
 statusbar {
   padding: 6px 10px 6px 10px;
 }
+
+/*****************
+ * AdwStatusPage *
+ *****************/
+
+statuspage > scrolledwindow > viewport > box {
+  margin: 36px 12px;
+  border-spacing: 36px;
+
+  > clamp > box {
+    border-spacing: 12px;
+
+    > .icon {
+      color: transparentize($fg_color, 0.5);
+
+      &:not(:last-child) {
+        margin-bottom: 24px;
+      }
+
+      &:backdrop {
+        color: transparentize($backdrop_fg_color, 0.5);
+      }
+    }
+  }
+}


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