[gnome-themes-standard] Widgets: colorchooser styling for the dark variation.
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Widgets: colorchooser styling for the dark variation.
- Date: Wed, 22 Feb 2012 10:42:45 +0000 (UTC)
commit 66d27ec33d3c349b180de9aee08f6dbf05d13f06
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Wed Feb 22 11:39:51 2012 +0100
Widgets: colorchooser styling for the dark variation.
.../Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css | 58 ++++++++++++++++++++
1 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css b/themes/Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css
index 6645487..ac2699d 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css
@@ -149,3 +149,61 @@ GtkComboBox.combobox-entry .entry:focus:last-child {
0 1 inset alpha(lighter(@theme_selected_bg_color), 0.7),
-1 -1 inset alpha(lighter(@theme_selected_bg_color), 0.7);
}
+
+GtkColorSwatch,
+GtkColorSwatch:selected,
+GtkColorSwatch:hover,
+GtkColorSwatch:selected:hover,
+GtkColorEditor GtkColorSwatch.color-dark:hover,
+GtkColorEditor GtkColorSwatch.color-light:hover {
+ border-color: @borders;
+ box-shadow: 0 2 inset alpha(black, 0.15), 1 1 inset alpha(black, 0.15);
+}
+
+GtkColorSwatch.color-dark:hover {
+ background-image: linear-gradient(to bottom,
+ alpha(white, 0) 40%,
+ alpha(white, 0.2)
+ );
+
+}
+
+GtkColorSwatch.color-light:hover {
+ background-image: linear-gradient(to top,
+ alpha(black, 0) 40%,
+ alpha(black, 0.3)
+ );
+
+}
+
+GtkColorSwatch:backdrop,
+GtkColorSwatch:backdrop:selected {
+ border-color: @unfocused_borders;
+}
+
+GtkColorSwatch:backdrop:hover {
+ border-color: @unfocused_borders;
+ background-image: none;
+ box-shadow: none;
+}
+
+GtkColorChooserWidget #add-color-button,
+GtkColorChooserWidget #add-color-button:hover {
+ color: @theme_bg_color;
+}
+
+.color-active-badge.color-light:backdrop {
+ border-color: #444444;
+ color: #444444;
+}
+
+.color-active-badge.color-dark:backdrop {
+ border-color: #cccccc;
+ color: #cccccc;
+}
+
+GtkColorEditor GtkColorSwatch.color-dark:hover,
+GtkColorEditor GtkColorSwatch.color-light:hover {
+ background-image: none;
+ border-color: @unfocused_borders;
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]