[libadwaita/wip/exalm/style: 38/41] theme: Drop AdwWindow styles




commit 77d598993099757322a8a6d944dba563dcd06d6e
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Feb 25 13:02:17 2021 +0500

    theme: Drop AdwWindow styles
    
    Round corners cause rendering issues at the moment, and when those are
    fixed, they should be done in Adwaita globally instead, not just for
    AdwWindow.
    
    Drop the outline style as well, it should be done on Adwaita level and not
    here.
    
    Fixes https://gitlab.gnome.org/exalm/libadwaita/-/issues/21

 src/stylesheet/_custom.scss | 27 ---------------------------
 1 file changed, 27 deletions(-)
---
diff --git a/src/stylesheet/_custom.scss b/src/stylesheet/_custom.scss
index e73f5fb..2537277 100644
--- a/src/stylesheet/_custom.scss
+++ b/src/stylesheet/_custom.scss
@@ -397,33 +397,6 @@ button.list-button:not(:active):not(:checked):not(:hover) {
   box-shadow: none;
 }
 
-// Unified window
-
-window.csd.unified:not(.solid-csd):not(.fullscreen) {
-  // Remove the sheen on headerbar...
-  headerbar {
-    box-shadow: inset 0 1px rgba(255, 255, 255, if($variant == 'light', 0.7, 0));
-
-    &.selection-mode {
-      box-shadow: none;
-    }
-  }
-
-  // ...and add it on the window itself
-  > contents > outline {
-    // Use a white sheen instead of @borders, as it has to be neutral enough
-    // for any content and not just headerbar background
-    box-shadow: inset 0 1px rgba(255, 255, 255, if($variant == 'light', 0.34, 0.065));
-  }
-
-  &:not(.tiled):not(.tiled-top):not(.tiled-bottom):not(.tiled-left):not(.tiled-right):not(.maximized) {
-    &,
-    > contents > outline {
-      border-radius: 8px;
-    }
-  }
-}
-
 // AdwStatusPage
 
 statuspage > scrolledwindow > viewport > box {


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