[libadwaita/wip/exalm/stylesheet2: 54/97] stylesheet: Group tooltip styles together




commit 0e0330b1c0dc2c3fcc4740af82a2d134ca2bd414
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Apr 8 23:54:03 2021 +0500

    stylesheet: Group tooltip styles together

 src/stylesheet/_common.scss | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/src/stylesheet/_common.scss b/src/stylesheet/_common.scss
index 389165d..7bd772d 100644
--- a/src/stylesheet/_common.scss
+++ b/src/stylesheet/_common.scss
@@ -3706,6 +3706,11 @@ tooltip {
     color: white;
   }
 
+  &.csd {
+    border-radius: 5px;
+    box-shadow: none;
+  }
+
   padding: 6px 10px;
   border-radius: $window_radius;
   box-shadow: none; // otherwise it gets inherited by windowframe.csd
@@ -3962,12 +3967,6 @@ window {
 
   // server-side decorations as used by mutter
   &.ssd { box-shadow: 0 0 0 1px $_wm_border; } //just doing borders, wm draws actual shadows
-
-}
-
-tooltip.csd {
-  border-radius: 5px;
-  box-shadow: none;
 }
 
 // catch all extend :)


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