[gnome-themes-standard] notebook: fix two theming glitches on notebook tabs
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] notebook: fix two theming glitches on notebook tabs
- Date: Thu, 11 Oct 2012 15:02:27 +0000 (UTC)
commit e64048b17a08f47366b382d7b37419454daa9fbc
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Oct 11 10:58:44 2012 -0400
notebook: fix two theming glitches on notebook tabs
The inactive top tab had 1px too much on a gradient color stop, and
left/right active+backdrop tabs had used the wrong background color.
themes/Adwaita/gtk-3.0/gtk-widgets.css | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 7890cd8..6f74816 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -1728,7 +1728,7 @@ GtkLinkButton.button *:active {
border-width: 0;
background-image: linear-gradient(to bottom,
- @notebook_tab_hilight 2px,
+ @notebook_tab_hilight 1px,
@notebook_tab_gradient_a 2px,
@notebook_tab_gradient_a 7px,
@notebook_tab_gradient_b);
@@ -1767,7 +1767,6 @@ GtkLinkButton.button *:active {
}
.notebook tab:active:backdrop {
- /* FIXME I need to set a background-image here, background-color is ignored */
background-image: linear-gradient(to bottom,
@unfocused_borders,
@unfocused_borders 2px,
@@ -1824,6 +1823,12 @@ GtkLinkButton.button *:active {
background-color: @theme_base_color;
}
+.notebook tab.left:active:backdrop,
+.notebook tab.right:active:backdrop {
+ background-image: none;
+ background-color: @theme_unfocused_base_color;
+}
+
.notebook tab.left:active {
padding: 3px 3px 3px 5px;
border-radius: 3px 0 0 3px;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]