[gnome-themes-standard] Use underline prelight on tabs instead of background
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Use underline prelight on tabs instead of background
- Date: Fri, 24 Jan 2014 20:26:05 +0000 (UTC)
commit d1bddca0172d87458dd69acade64b6ddbac2c22c
Author: William Jon McCann <william jon mccann gmail com>
Date: Fri Jan 24 13:19:34 2014 -0500
Use underline prelight on tabs instead of background
themes/Adwaita/gtk-3.0/gtk-widgets.css | 38 ++++++++++++++++----------------
1 files changed, 19 insertions(+), 19 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 6b3acc1..ac9218f 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -1826,23 +1826,14 @@ GtkLinkButton.button:active {
font-weight: bold;
}
-.notebook .active-page,
-.notebook tab .active-page GtkLabel {
- color: @theme_fg_color;
-}
-
-.notebook tab:hover {
- background-color: shade(@theme_bg_color, 0.97);
-}
-
-.notebook .prelight-page {
+.notebook .prelight-page,
+.notebook .prelight-page GtkLabel {
color: mix (@theme_fg_color, @theme_bg_color, 0.33);
}
-/* don't prelight active tabs */
-.notebook tab:hover:active {
- background-color: transparent;
- box-shadow: none;
+.notebook .active-page,
+.notebook tab .active-page GtkLabel {
+ color: @theme_fg_color;
}
/* horizontal tabs */
@@ -1853,14 +1844,11 @@ GtkLinkButton.button:active {
}
.notebook tab.top:hover,
-.notebook tab.bottom:hover {
- box-shadow: inset 0 1px alpha(black, 0.1),
- inset 0 3px alpha(black, 0.01),
- inset 0 2px alpha(black, 0.01);
+.notebook tab.top:active {
+ border-bottom-width: 2px;
}
.notebook tab.top:active {
- border-bottom-width: 2px;
border-bottom-color: @notebook_active_tab_border;
}
@@ -1868,8 +1856,12 @@ GtkLinkButton.button:active {
border-bottom-color: @unfocused_insensitive_borders;
}
+.notebook tab.bottom:hover,
.notebook tab.bottom:active {
border-top-width: 2px;
+}
+
+.notebook tab.bottom:active {
border-top-color: @notebook_active_tab_border;
}
@@ -1884,8 +1876,12 @@ GtkLinkButton.button:active {
padding: 5px 20px;
}
+.notebook tab.left:hover,
.notebook tab.left:active {
border-right-width: 2px;
+}
+
+.notebook tab.left:active {
border-right-color: @notebook_active_tab_border;
}
@@ -1893,8 +1889,12 @@ GtkLinkButton.button:active {
border-right-color: @unfocused_insensitive_borders;
}
+.notebook tab.right:hover,
.notebook tab.right:active {
border-left-width: 2px;
+}
+
+.notebook tab.right:active {
border-left-color: @notebook_active_tab_border;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]