[libadwaita/wip/exalm/sidebars: 3/4] stylesheet: Make .navigation-sidebar remove background




commit 1b15fc17f5f794e9fa7d33f4cac40f52cf765a7b
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Sun Oct 24 04:18:47 2021 +0500

    stylesheet: Make .navigation-sidebar remove background
    
    Having to use both .sidebar and .navigation-sidebar is too complex.
    Additionally, .sidebar adds a border that's often unwanted, and we can't
    remove it for compatibility reasons. So instead, make .navigation-sidebar
    self-sufficient and only recommend using it going forward.

 src/stylesheet/widgets/_sidebars.scss | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/stylesheet/widgets/_sidebars.scss b/src/stylesheet/widgets/_sidebars.scss
index 4cc83f81..61d8bb20 100644
--- a/src/stylesheet/widgets/_sidebars.scss
+++ b/src/stylesheet/widgets/_sidebars.scss
@@ -47,6 +47,9 @@ separator.sidebar {
  **********************/
 
 .navigation-sidebar {
+  background-color: transparent;
+  color: inherit;
+
   padding: $menu-margin 0; //only vertical padding. horizontal row size would clip
 
   > separator {


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