[libadwaita/wip/exalm/stylesheet2: 25/103] stylesheet: Nest model button styles




commit c4bbf89f772fed26226dd1b4b17cf6ec942f55b8
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Apr 8 15:58:59 2021 +0500

    stylesheet: Nest model button styles

 src/stylesheet/_common.scss | 24 ++++++++++--------------
 1 file changed, 10 insertions(+), 14 deletions(-)
---
diff --git a/src/stylesheet/_common.scss b/src/stylesheet/_common.scss
index 6e0537b..e5a07ab 100644
--- a/src/stylesheet/_common.scss
+++ b/src/stylesheet/_common.scss
@@ -823,26 +823,22 @@ modelbutton.flat {
 
   &:hover { background-color: $menu_selected_color; }
 
-  &:disabled {
-    color: $insensitive_fg_color;
-
-
-  }
+  &:disabled { color: $insensitive_fg_color; }
 
   &:selected { @extend %selected_items; }
-}
 
-modelbutton.flat arrow {
-  background: none;
-  min-width: 16px;
-  min-height: 16px;
-  opacity: 0.3; //dim icon
+  arrow {
+    background: none;
+    min-width: 16px;
+    min-height: 16px;
+    opacity: 0.3; // dim icon
 
-  &:hover { background: none; }
+    &:hover { background: none; }
 
-  &.left { -gtk-icon-source: -gtk-icontheme("go-previous-symbolic"); }
+    &.left { -gtk-icon-source: -gtk-icontheme("go-previous-symbolic"); }
 
-  &.right { -gtk-icon-source: -gtk-icontheme("go-next-symbolic"); }
+    &.right { -gtk-icon-source: -gtk-icontheme("go-next-symbolic"); }
+  }
 }
 
 /* oldstyle toolbar buttons */


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