[gnome-themes-standard] Widgets: colorchooser: backdrop state style added, some add buttons tweaks.
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Widgets: colorchooser: backdrop state style added, some add buttons tweaks.
- Date: Mon, 20 Feb 2012 16:58:06 +0000 (UTC)
commit 2d8d89b1238834d4980805545cd7c5d9c2030ff5
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Mon Feb 20 17:55:57 2012 +0100
Widgets: colorchooser: backdrop state style added, some add buttons
tweaks.
themes/Adwaita/gtk-3.0/gtk-widgets.css | 31 +++++++++++++++++++++++++++++--
1 files changed, 29 insertions(+), 2 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 5f598e9..a5690c7 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -331,6 +331,11 @@ GtkColorSwatch:selected {
background-clip: border-box;
}
+GtkColorSwatch:backdrop,
+GtkColorSwatch:backdrop:selected {
+ box-shadow: none;
+}
+
GtkColorSwatch.left,
GtkColorSwatch:first-child {
border-top-left-radius: 6px;
@@ -358,12 +363,34 @@ GtkColorSwatch.bottom {
}
GtkColorChooserWidget #add-color-button {
- border-color: @borders;
+ background-clip: padding-box;
+ border-color: mix(@borders, @theme_bg_color, 0.5);
background-color: mix(@borders, @theme_bg_color, 0.5);
- color: #444444;
+ color: @theme_bg_color;
box-shadow: none;
}
+GtkColorChooserWidget #add-color-button:hover {
+ border-color: @borders;
+ background-color: @borders;
+ color: @theme_bg_color;
+}
+
+
+GtkColorChooserWidget #add-color-button:active,
+GtkColorChooserWidget #add-color-button:active:hover {
+ border-color: @theme_selected_bg_color;
+ background-color: @theme_selected_bg_color;
+ color: @theme_bg_color;
+}
+
+GtkColorChooserWidget #add-color-button:backdrop {
+ border-color: mix(@unfocused_borders, @theme_unfocused_bg_color, 0.5);
+ background-color: mix(@unfocused_borders, @theme_unfocused_bg_color, 0.5);
+ color: @theme_unfocused_bg_color;
+}
+
+
.color-active-badge,
.color-active-badge:selected {
border-style: solid;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]