[gnome-themes-standard] get slightly further with scrollbars



commit c608be9f760a5f7b6fa7d3907cc0240afe79fe02
Author: Jakub Steiner <jimmac gmail com>
Date:   Tue Dec 7 22:59:02 2010 +0100

    get slightly further with scrollbars

 themes/Adwaita/gtk-3.0/gtk.css |   29 ++++++++++++++++++-----------
 1 files changed, 18 insertions(+), 11 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index e5fc455..5e683f4 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -182,24 +182,31 @@ GtkNotebook tab:active {
 }
 
 GtkScrollbar {
-    padding: 2;
+    padding: 2; /* doesn't seem to do much */
 }
-	GtkScrollbar .trough { 
-		background-color: red;
-		color: orange;
+	GtkScrollbar.trough:active {  /* having to use active is a bug */
+		background-color: darker (@bg_color);
 	}
 
-	GtkScrollbar .slider { 
-		background-color: green;
-		color: orange;
+	GtkScrollbar.slider { 
+		background-color: lighter (@bg_color);
+		border-width: 1;
+		border-color: @frame_color;
+		border-radius: 3;
+		margin: 1 0; /* this is sadly just a wet dream 
+				- avoid bumping into the buttons on top and bottom 
+				- granted, this would have to be applien on verticals only */
 	}
 
-		GtkScrollbar .slider:prelight {
-			background-color: red;
-			color: green;
+		GtkScrollbar.slider:prelight {
+			background-color: lighter (@bg_color);
+			border-color: darker (@frame_color);
+		}
+		GtkScrollbar.slider:active { /* no workie */
+			border-color: @selected_bg_color;
 		}
 /*
-	--FUTURE:
+	-- No controls over the arrow buttons
 	GtkScrollbar:vertical button:first-child {} //top button styling 
 */
 



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