[gnome-themes-standard] simplify tab hover state handling
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] simplify tab hover state handling
- Date: Fri, 24 Jan 2014 20:25:50 +0000 (UTC)
commit 257317835b4043d14ffe1e78f8a0b956beec66d6
Author: William Jon McCann <william jon mccann gmail com>
Date: Fri Jan 24 12:58:01 2014 -0500
simplify tab hover state handling
themes/Adwaita/gtk-3.0/gtk-widgets.css | 27 ++++++++++++---------------
1 files changed, 12 insertions(+), 15 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 8bbb1a2..cb4da1a 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -1839,6 +1839,16 @@ GtkLinkButton.button:active {
color: @theme_fg_color;
}
+.notebook tab:hover {
+ background-color: shade(@theme_bg_color, 0.97);
+}
+
+/* don't prelight active tabs */
+.notebook tab:hover:active {
+ background-color: transparent;
+ box-shadow: none;
+}
+
/* horizontal tabs */
.notebook tab.top,
@@ -1848,9 +1858,8 @@ GtkLinkButton.button:active {
.notebook tab.top:hover,
.notebook tab.bottom:hover {
- background-color: shade(@theme_bg_color, 0.99);
- box-shadow: inset 0 1px alpha(black, 0.1),
- inset 0 3px alpha(black, 0.01),
+ box-shadow: inset 0 1px alpha(black, 0.1),
+ inset 0 3px alpha(black, 0.01),
inset 0 2px alpha(black, 0.01);
}
@@ -1879,11 +1888,6 @@ GtkLinkButton.button:active {
padding: 5px 20px;
}
-.notebook tab.left:hover,
-.notebook tab.right:hover {
- background-color: shade(@theme_bg_color, 0.99);
-}
-
.notebook tab.left:active {
border-right-width: 2px;
border-right-color: @notebook_active_tab_border;
@@ -1902,13 +1906,6 @@ GtkLinkButton.button:active {
border-left-color: @unfocused_insensitive_borders;
}
-/* don't prelight active tabs */
-
-.notebook tab:hover:active {
- background-color: transparent;
- box-shadow: none;
-}
-
/* close button styling */
.notebook tab .button,
.notebook tab .button:active,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]