[gtk+] Adwaita: fix border radius on #editor-color-sample



commit 813cc348571603e6325ef9fdd4f7698093faa9d5
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Fri Jan 29 17:48:45 2016 +0100

    Adwaita: fix border radius on #editor-color-sample

 gtk/theme/Adwaita/_common.scss           |    6 ++++++
 gtk/theme/Adwaita/gtk-contained-dark.css |    4 ++++
 gtk/theme/Adwaita/gtk-contained.css      |    4 ++++
 3 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 09e8558..fd1e7dc 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -3452,6 +3452,12 @@ colorswatch {
   }
 
   row:selected & { box-shadow: 0 0 0 2px $selected_fg_color; }
+
+  &#editor-color-sample {
+    border-radius: 4px;
+
+    overlay { border-radius: 4.5px; }
+  }
 }
 
 
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 148c4c1..6371eb7 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -4433,6 +4433,10 @@ colorswatch:disabled {
     box-shadow: none; }
 row:selected colorswatch {
   box-shadow: 0 0 0 2px #ffffff; }
+colorswatch#editor-color-sample {
+  border-radius: 4px; }
+  colorswatch#editor-color-sample overlay {
+    border-radius: 4.5px; }
 
 /********
  * Misc *
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index a370d71..8ad2d2b 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -4574,6 +4574,10 @@ colorswatch:disabled {
     box-shadow: none; }
 row:selected colorswatch {
   box-shadow: 0 0 0 2px #ffffff; }
+colorswatch#editor-color-sample {
+  border-radius: 4px; }
+  colorswatch#editor-color-sample overlay {
+    border-radius: 4.5px; }
 
 /********
  * Misc *


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