[gnome-software] More style fixes.



commit 4b66a5bb590f015a348a8343c6a2637eacfef7b8
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Wed Sep 2 12:41:05 2015 +0200

    More style fixes.

 src/gtk-style-hc.css |    4 +++-
 src/gtk-style.css    |    9 ++++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/src/gtk-style-hc.css b/src/gtk-style-hc.css
index 92684d9..e737b2a 100644
--- a/src/gtk-style-hc.css
+++ b/src/gtk-style-hc.css
@@ -152,8 +152,9 @@ GtkBox.star {
        padding: 0px 4px;
 }
 
+.category-sidebar:not(.undershoot):not(.overshoot) { background-color: @theme_base_color; }
+
 .category-sidebar {
-       border-radius: 0;
        border-style: none;
 }
 
@@ -165,6 +166,7 @@ GtkBox.star {
        border-right-style: solid;
 }
 
+
 .dimmer-label {
        opacity: 0.25;
        text-shadow: none;
diff --git a/src/gtk-style.css b/src/gtk-style.css
index 13c5213..093f812 100644
--- a/src/gtk-style.css
+++ b/src/gtk-style.css
@@ -156,8 +156,15 @@ GtkBox.star {
        padding: 0px 4px;
 }
 
+/* the following two selectors are to color the small gap before the list inside the scrolled window
+   setting a background on the scrolled window affects the undershoot and the overshoot so explicitelly
+   excluding with :not() */
+.category-sidebar:not(.undershoot):not(.overshoot) { background-color: @theme_base_color; }
+
+.category-sidebar:backdrop:not(.undershoot):not(.overshoot) { background-color: @theme_unfocused_base_color; 
}
+
+/* Superfluous borders removal */
 .category-sidebar {
-       border-radius: 0;
        border-style: none;
 }
 


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