[gnome-themes-standard] notebook: fix background rendering for left/right tabs
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] notebook: fix background rendering for left/right tabs
- Date: Wed, 25 Apr 2012 01:56:54 +0000 (UTC)
commit 6357358ecbee57f92df40872ede8708d47d31d5e
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Apr 24 21:54:49 2012 -0400
notebook: fix background rendering for left/right tabs
Use a border-box clip for the background, since we have a frame gap to
fill.
themes/Adwaita/gtk-3.0/gtk-widgets.css | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index f580ea8..821a41f 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -1106,6 +1106,7 @@ GtkLinkButton.button *:active {
border-style: solid;
border-width: 1px;
+ background-clip: border-box;
background-color: @theme_base_color;
-GtkNotebook-tab-overlap: 8;
@@ -1198,16 +1199,18 @@ GtkLinkButton.button *:active {
padding: 3px;
}
+.notebook tab.left {
+ border-width: 1px 0 1px 1px;
+}
+
+.notebook tab.right {
+ border-width: 1px 1px 1px 0;
+}
+
.notebook tab.left:active,
.notebook tab.right:active {
background-image: none;
background-color: @theme_base_color;
- -adwaita-selected-tab-color: alpha(@theme_base_color, 0.0);
-}
-
-.notebook tab.left,
-.notebook tab.right {
- border-width: 1px;
}
.notebook tab.left:active {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]