[gnome-themes-standard] Fix hover style for left and right tabs
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Fix hover style for left and right tabs
- Date: Mon, 20 Jan 2014 18:11:43 +0000 (UTC)
commit e81ae82343b2f8ffe317ef7a16ea4c3c42e19f7d
Author: Nikita Churaev <lamefun x0r gmail com>
Date: Mon Jan 20 22:00:05 2014 +0400
Fix hover style for left and right tabs
https://bugzilla.gnome.org/show_bug.cgi?id=722627
themes/Adwaita/gtk-3.0/gtk-widgets.css | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 49a7102..c5bfc8f 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -1897,11 +1897,6 @@ GtkLinkButton.button:active {
background-color: transparent;
}
-.notebook tab:hover {
- background-color: shade(@theme_bg_color, 0.99);
- box-shadow: inset 0 3px alpha(black, 0.03), inset 0 2px alpha(black, 0.03), inset 0 1px alpha(black, 0.03);
-}
-
.notebook tab.reorderable {
border-right: 1px dotted shade(@focused_borders, 1.2);
}
@@ -1927,6 +1922,12 @@ GtkLinkButton.button:active {
padding: 6px 20px 4px;
}
+.notebook tab.top:hover,
+.notebook tab.bottom:hover {
+ background-color: shade(@theme_bg_color, 0.99);
+ box-shadow: inset 0 3px alpha(black, 0.03), inset 0 2px alpha(black, 0.03), inset 0 1px alpha(black, 0.03);
+}
+
.notebook tab.top:active {
border-bottom-width: 2px;
border-bottom-color: @notebook_active_tab_border;
@@ -1947,12 +1948,14 @@ GtkLinkButton.button:active {
/* vertical tabs */
-.notebook tab.left {
+.notebook tab.left,
+.notebook tab.right {
padding: 5px 20px;
}
-.notebook tab.right {
- padding: 5px 20px;
+.notebook tab.left:hover,
+.notebook tab.right:hover {
+ background-color: shade(@theme_bg_color, 0.99);
}
.notebook tab.left:active {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]