[libadwaita/wip/exalm/backdrop: 23/24] stylesheet: Remove redundant header bar rules




commit 0a88bda00049f8101759027957f43dafe078844b
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri Apr 30 17:38:03 2021 +0500

    stylesheet: Remove redundant header bar rules
    
    Header bars are always square and have no box-shadow nowadays, no need to
    explicitly remove them.

 src/stylesheet/widgets/_header-bar.scss | 16 ----------------
 1 file changed, 16 deletions(-)
---
diff --git a/src/stylesheet/widgets/_header-bar.scss b/src/stylesheet/widgets/_header-bar.scss
index 9e9fa85..d605afc 100644
--- a/src/stylesheet/widgets/_header-bar.scss
+++ b/src/stylesheet/widgets/_header-bar.scss
@@ -11,7 +11,6 @@ headerbar {
   border-width: 0 0 1px;
   border-style: solid;
   border-color: $alt_borders_color;
-  border-radius: 0;
   background-image: $_header_bar_gradient;
 
   > windowhandle > box {
@@ -44,19 +43,6 @@ headerbar {
     border-top-color: darken($borders_color, 8%);
   }
 
-  // squared corners when the window is maximized, tiled, or fullscreen
-  .tiled &,
-  .tiled-top &,
-  .tiled-left &,
-  .tiled-right &,
-  .tiled-bottom &,
-  .maximized &,
-  .fullscreen & {
-    &:backdrop, & {
-      border-radius: 0;
-    }
-  }
-
   &.default-decoration {
     min-height: 28px;
     padding: 4px;
@@ -85,8 +71,6 @@ headerbar {
         margin-left: -1px;
         margin-right: -1px;
         margin-top: -1px;
-        border-radius: 0;
-        box-shadow: none;
       }
     }
   }


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