[gnome-themes-standard] Revert "buttons: fixup color wildcard overrides"
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Revert "buttons: fixup color wildcard overrides"
- Date: Fri, 17 Aug 2012 01:23:40 +0000 (UTC)
commit 3be565c75e3523de9d8901e2c14a9041c5c31fb7
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Aug 17 02:59:38 2012 +0200
Revert "buttons: fixup color wildcard overrides"
Unfortunately this just doesn't work yet with current GTK.
This reverts commit bea812728f8aaf23898365c0c29a97ce37b4aed1.
.../Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css | 2 +
themes/Adwaita/gtk-3.0/gtk-widgets.css | 28 +++++---------------
2 files changed, 9 insertions(+), 21 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 880f95d..8f3ed66 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css
@@ -23,11 +23,13 @@ GtkComboBox {
.button *:active,
GtkComboBox *:active {
text-shadow: 0 1px @button_active_text_shadow;
+ color: @theme_selected_bg_color; /* Not sure about this one */
}
.button *:active:insensitive,
GtkComboBox *:active:insensitive {
text-shadow: none;
+ color: @insensitive_fg_color;
}
.toolbar .button.raised *,
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 6de93fe..d42f655 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -923,40 +923,26 @@ GtkComboBox.combobox-entry .button {
text-shadow: 0 1px @primary_toolbar_button_text_shadow;
}
-.button:insensitive {
- color: @insensitive_fg_color;
-}
-
-.button:insensitive:backdrop {
- color: @unfocused_insensitive_fg_color;
-}
-
-.button:active {
- color: @button_active_text;
-}
-
-.button:active:insensitive {
- color: @insensitive_fg_color;
-}
-
-.button:active:backdrop,
-.button:active:insensitive:backdrop {
- color: @theme_unfocused_bg_color;
-}
-
.primary-toolbar .button *:active,
.inline-toolbar .button *:active,
.button *:active {
+ color: @button_active_text;
text-shadow: 0 1px @button_active_text_shadow;
}
.button *:insensitive,
.button *:active:insensitive {
+ color: @insensitive_fg_color;
text-shadow: none;
}
+.button *:insensitive:backdrop {
+ color: @unfocused_insensitive_fg_color;
+}
+
.button *:active:backdrop,
.button *:active:insensitive:backdrop {
+ color: @theme_unfocused_bg_color;
text-shadow: none;
icon-shadow: none;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]