[gnome-themes-standard] Widgets: added hover and pressed state to tab close button with symbolic icons. Fixed brigh
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Widgets: added hover and pressed state to tab close button with symbolic icons. Fixed brigh
- Date: Wed, 18 Jan 2012 22:01:57 +0000 (UTC)
commit 153e040440f1b6bdff14c8ba3ff278502c70166f
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Wed Jan 18 22:58:52 2012 +0100
Widgets: added hover and pressed state to tab close button with
symbolic icons. Fixed bright background showing up while
hovering backdrop primary toolbar buttons.
themes/Adwaita/gtk-3.0/gtk-widgets.css | 16 ++++++++++++++--
themes/Adwaita/gtk-3.0/gtk.css | 8 ++++----
2 files changed, 18 insertions(+), 6 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index eadce8b..7a23451 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -528,6 +528,7 @@ GtkComboBox.combobox-entry .button {
.primary-toolbar .button,
.primary-toolbar .button:insensitive,
.primary-toolbar .button:backdrop,
+.primary-toolbar .button:hover:backdrop,
.primary-toolbar .button:insensitive:backdrop {
background-image: none;
background-color: transparent;
@@ -1010,8 +1011,7 @@ GtkLinkButton * {
}
.notebook tab .button,
-.notebook tab .button:hover,
-.notebook tab .button:hover:active {
+.notebook tab .button:active {
padding: 1;
border-style: none;
@@ -1020,6 +1020,18 @@ GtkLinkButton * {
background-image: none;
}
+.notebook tab .button {
+ color: @internal_element_color;
+}
+
+.notebook tab .button *:hover {
+ color: @theme_text_color;
+}
+
+.notebook tab .button *:active {
+ color: @theme_selected_bg_color;
+}
+
/**************
* ComboBoxes *
**************/
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index c2b1936..db2478b 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -84,8 +84,8 @@
@define-color button_active_gradient_color_a #a2a9a2;
@define-color button_active_gradient_color_b shade (@button_active_gradient_color_a, 0.83);
- define-color button_active_text /*darker(@theme_selected_bg_color);*/ @theme_base_color;
- define-color button_active_text_shadow /*alpha(white, 0.3);*/ alpha(black, 0.4);
+ define-color button_active_text @theme_base_color;
+ define-color button_active_text_shadow alpha(black, 0.4);
@define-color button_text_shadow alpha(white, 0.4);
@define-color primary_toolbar_button_text_shadow alpha(black, 0.1);
@@ -170,8 +170,8 @@
@define-color toolbar_gradient_b shade(@borders, 1.25);
@define-color toolbar_gradient_c shade(@borders, 1.3);
- define-color toolbar_border_top shade(@borders, 0.9); /*shade (@theme_bg_color, 0.7);*/
- define-color toolbar_border_bottom shade(@borders, 1.1); /*shade (@theme_bg_color, 0.7);*/
+ define-color toolbar_border_top shade(@borders, 0.9);
+ define-color toolbar_border_bottom shade(@borders, 1.1);
@define-color toolbar_button_prelight alpha(white, 0.4);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]