[gnome-themes-standard: 1/2] Widgets: new color chooser style love.



commit 6b1e5131a109a0ec24314967beac19bed1581c7a
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Fri Feb 17 16:52:39 2012 +0100

    Widgets: new color chooser style love.

 themes/Adwaita/gtk-3.0/gtk-widgets.css |   26 +++++++++++++++-----------
 1 files changed, 15 insertions(+), 11 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index a9433b1..47729a8 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -324,35 +324,37 @@ GtkColorSwatch:selected {
     border-width: 1px;
     border-style: solid;
     border-radius: 1px;
-    border-color: @borders;
+    border-color: alpha(black, 0.3);
+    box-shadow: 0 1 inset alpha(black, 0.1), 1 0 inset alpha(black, 0.05);
 
     background-color: transparent;
+    background-clip: border-box;
 }
 
 GtkColorSwatch.left,
 GtkColorSwatch:first-child {
-    border-top-left-radius: 10px;
-    border-bottom-left-radius: 10px;
+    border-top-left-radius: 6px;
+    border-bottom-left-radius: 6px;
 }
 
 GtkColorSwatch.right,
 GtkColorSwatch:last-child {
-    border-top-right-radius: 10px;
-    border-bottom-right-radius: 10px;
+    border-top-right-radius: 6px;
+    border-bottom-right-radius: 6px;
 }
 
 GtkColorSwatch:only-child {
-    border-radius: 10px;
+    border-radius: 6px;
 }
 
 GtkColorSwatch.top {
-    border-top-left-radius: 10px;
-    border-top-right-radius: 10px;
+    border-top-left-radius: 6px;
+    border-top-right-radius: 6px;
 }
 
 GtkColorSwatch.bottom {
-    border-bottom-left-radius: 10px;
-    border-bottom-right-radius: 10px;
+    border-bottom-left-radius: 6px;
+    border-bottom-right-radius: 6px;
 }
 
 .color-active-badge,
@@ -371,9 +373,11 @@ GtkColorSwatch.bottom {
 }
 
 GtkColorEditor GtkColorSwatch {
-    border-radius: 2px;
+    border-radius: 6px;
 }
 
+
+
 /****************
  * Progress bar *
  ****************/



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