[gnome-themes-standard] colorchooser: initial styling for GtkColorChooser
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] colorchooser: initial styling for GtkColorChooser
- Date: Tue, 14 Feb 2012 22:17:51 +0000 (UTC)
commit b429258ca2b0378ffb5d1fb147c389fea0b8b2b0
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Feb 8 18:11:46 2012 -0500
colorchooser: initial styling for GtkColorChooser
themes/Adwaita/gtk-3.0/gtk-widgets.css | 53 ++++++++++++++++++++++++++++++++
1 files changed, 53 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index a9b5c8f..042770f 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -316,6 +316,59 @@ GtkImage:insensitive {
box-shadow: 1 0 inset @inset_dark_color, 0 1 inset alpha(@theme_selected_bg_color, 0.2), -1 -1 inset alpha(@theme_selected_bg_color, 0.2);
}
+/*****************
+ * Color Chooser *
+ *****************/
+GtkColorSwatch {
+ border-width: 1px;
+ border-style: solid;
+ border-radius: 1px;
+ border-color: @borders;
+}
+
+GtkColorSwatch.left,
+GtkColorSwatch:first-child {
+ border-top-left-radius: 10px;
+ border-bottom-left-radius: 10px;
+}
+
+GtkColorSwatch.right,
+GtkColorSwatch:last-child {
+ border-top-right-radius: 10px;
+ border-bottom-right-radius: 10px;
+}
+
+GtkColorSwatch:only-child {
+ border-radius: 10px;
+}
+
+GtkColorSwatch.top {
+ border-top-left-radius: 10px;
+ border-top-right-radius: 10px;
+}
+
+GtkColorSwatch.bottom {
+ border-bottom-left-radius: 10px;
+ border-bottom-right-radius: 10px;
+}
+
+.color-active-badge {
+ background-color: @theme_bg_color;
+ color: @theme_text_color;
+ border-width: 2px;
+}
+
+.color-active-badge.color-light {
+ border-color: alpha(black, 0.4);
+}
+
+.color-active-badge.color-dark {
+ border-color: alpha(white, 0.4);
+}
+
+GtkColorEditor GtkColorSwatch {
+ border-radius: 2px;
+}
/****************
* Progress bar *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]