[libadwaita/wip/exalm/backdrop: 4/5] stylesheet: Remove redundant header bar rules




commit 35476cee60b32cee37e95dfb8f3b1033b5368f01
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 00409ec..aeaa8ee 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 {
@@ -43,19 +42,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;
@@ -84,8 +70,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]