[libadwaita/wip/exalm/radii: 4/5] stylesheet: Merge flowbox and gridview styles




commit a14850fc462d267377512d259e42e9747349672e
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri Oct 15 04:22:48 2021 +0500

    stylesheet: Merge flowbox and gridview styles
    
    They are exactly same.

 src/stylesheet/widgets/_views.scss | 28 +++++++---------------------
 1 file changed, 7 insertions(+), 21 deletions(-)
---
diff --git a/src/stylesheet/widgets/_views.scss b/src/stylesheet/widgets/_views.scss
index 8ed19162..d9d8d103 100644
--- a/src/stylesheet/widgets/_views.scss
+++ b/src/stylesheet/widgets/_views.scss
@@ -54,28 +54,14 @@ rubberband {
   background-color: gtkalpha($accent_bg_color, 0.2);
 }
 
-flowbox {
-  > flowboxchild {
-    padding: 3px;
-    transition: $focus_transition;
+flowbox > flowboxchild,
+gridview > child {
+  padding: 3px;
+  transition: $focus_transition;
 
-    @include focus-ring();
-
-    &:selected {
-      background-color: $view_selected_color;
-    }
-  }
-}
-
-gridview {
-  > child {
-    padding: 3px;
-    transition: $focus_transition;
-
-    @include focus-ring();
+  @include focus-ring();
 
-    &:selected {
-      background-color: $view_selected_color;
-    }
+  &:selected {
+    background-color: $view_selected_color;
   }
 }


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