[gnome-themes-standard] Theme GtkSwitches and GtkScales as per the mockups



commit 805eedf8e30a63f877608c728756199d9ac5a91e
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Jan 19 04:46:28 2011 +0100

    Theme GtkSwitches and GtkScales as per the mockups

 themes/Adwaita/gtk-3.0/gtk.css |   40 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 40 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index 0b69687..1bf6a22 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -546,6 +546,46 @@ column-header .button {
     color: #fff;
 }
 
+GtkSwitch.trough {
+    border-radius: 3;
+    border-width: 1;
+    border-style: solid;
+    border-color: #a9afa0;
+    background-image: -gtk-gradient (linear,
+                                     left top, left bottom,
+                                     from (#e4e4e1),
+                                     to (#ccccc7));
+}
+
+GtkSwitch.trough:active {
+    border-color: #3687db;
+    background-image: -gtk-gradient (linear,
+                                     left top, left bottom,
+                                     from (#84b8ee),
+                                     to (#509ae7));
+}
+
+GtkSwitch.trough:insensitive {
+    background-image: none;
+    background-color: shade (@bg_color, 0.9);
+    border-color: #a9afa0;
+}
+
+GtkSwitch.slider,
+GtkScale.slider {
+    border-width: 1;
+    border-radius: 2;
+    border-color: #b5bcae;
+    background-image: -gtk-gradient (linear,
+                                     left top, left bottom,
+                                     from (#eeeeec),
+                                     to (#fff));
+}
+
+GtkScale.trough {
+    border-radius: 3;
+}
+
 /* Calendars */
 GtkCalendar.view {
     border-radius: 3;



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