[gnome-themes-standard] Widget theme: notebook non active tabs tweakings.
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Widget theme: notebook non active tabs tweakings.
- Date: Fri, 23 Dec 2011 19:13:03 +0000 (UTC)
commit c483bf5b74201a6c0bea69c57fc82e73b721e15c
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Thu Dec 22 20:01:08 2011 +0100
Widget theme: notebook non active tabs tweakings.
themes/Adwaita/gtk-3.0/gtk-dark.css | 1 +
themes/Adwaita/gtk-3.0/gtk-widgets.css | 14 +++++++++++++-
themes/Adwaita/gtk-3.0/gtk.css | 5 +++--
3 files changed, 17 insertions(+), 3 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-dark.css b/themes/Adwaita/gtk-3.0/gtk-dark.css
index f1c0200..6f5c211 100644
--- a/themes/Adwaita/gtk-3.0/gtk-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-dark.css
@@ -66,6 +66,7 @@
@define-color notebook_tab_gradient_a shade(@theme_bg_color, 0.8);
@define-color notebook_tab_gradient_b shade(@theme_bg_color, 0.75);
+ define-color notebook_tab_hilight shade(@theme_bg_color, 0.9);
@define-color switch_slider_color shade(@theme_bg_color, 0.9);
@define-color switch_slider_active_border shade(@switch_trough_active_bg_a, 0.60);
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 5e125b1..4962938 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -998,12 +998,24 @@ GtkLinkButton * {
padding: 3;
background-image: -gtk-gradient (linear,
left top, left bottom,
- from (@notebook_tab_gradient_a),
+ from (@notebook_tab_hilight),
+ color-stop (0.15, @notebook_tab_hilight),
+ color-stop (0.15, @notebook_tab_gradient_a),
to (@notebook_tab_gradient_b));
-adwaita-focus-border-radius: 2;
}
+/* workaround */
+.notebook tab.bottom {
+ padding: 3;
+ background-image: -gtk-gradient (linear,
+ left bottom, left top,
+ from (@notebook_tab_gradient_a),
+ to (@notebook_tab_gradient_b));
+ -adwaita-focus-border-radius: 2;
+}
+
.notebook tab:window-unfocused {
background-image: none;
background-color: @theme_unfocused_bg_color;
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index ccd5e5e..4b20ffb 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -151,8 +151,9 @@
@define-color notebook_active_tab_border #1372d3;
@define-color notebook_selected_tab_color #8dc0f3;
- define-color notebook_tab_gradient_a shade(@theme_bg_color, 1.05);
- define-color notebook_tab_gradient_b @theme_bg_color;
+ define-color notebook_tab_gradient_a shade(@theme_bg_color, 0.98);
+ define-color notebook_tab_gradient_b shade(@theme_bg_color, 0.93);
+ define-color notebook_tab_hilight shade(@theme_bg_color, 1.02);
/* define-color toolbar_gradient_base #aaaa9e;
@define-color toolbar_gradient_step1 #bcbcb4;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]