[gnome-themes-standard] Widget theme: some more button gradients tweakings.
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Widget theme: some more button gradients tweakings.
- Date: Thu, 22 Dec 2011 15:32:46 +0000 (UTC)
commit 2d9bc00bc29dd993760d7536855a4e6399582a50
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Thu Dec 22 16:32:29 2011 +0100
Widget theme: some more button gradients tweakings.
themes/Adwaita/gtk-3.0/gtk-dark.css | 7 ++++---
themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css | 3 ++-
themes/Adwaita/gtk-3.0/gtk.css | 3 ++-
3 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-dark.css b/themes/Adwaita/gtk-3.0/gtk-dark.css
index 02e07a0..f1c0200 100644
--- a/themes/Adwaita/gtk-3.0/gtk-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-dark.css
@@ -34,11 +34,12 @@
@define-color theme_tooltip_fg_color #eeeeee;
@define-color button_gradient_color_a shade (@theme_bg_color, 1.15);
- define-color button_gradient_color_b shade (@theme_bg_color, 0.8);
+ define-color button_gradient_color_b @theme_bg_color;
+ define-color button_gradient_color_c shade (@theme_bg_color, 0.8);
@define-color borders #24282a;
- define-color button_active_text_shadow black;
- define-color button_text_shadow black;
+ define-color button_active_text_shadow alpha(black, 0.45);
+ define-color button_text_shadow alpha(black, 0.7);
@define-color primary_toolbar_button_text_shadow alpha(black, 0.1);
@define-color button_active_gradient_color_a shade (@button_gradient_color_b, 0.7);
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css b/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css
index 973fccd..5a1e700 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css
@@ -9,7 +9,8 @@
background-image: -gtk-gradient (linear,
left top, left bottom,
from (@button_gradient_color_a),
- to (@button_gradient_color_b));
+ color-stop (0.4, @button_gradient_color_b),
+ to (@button_gradient_color_c));
background-color: transparent;
}
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index 9592434..ccd5e5e 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -78,7 +78,8 @@
@define-color focused_entry_inset alpha (#d7e4f1, 0.50);
@define-color button_gradient_color_a shade(@theme_bg_color, 1.05);
- define-color button_gradient_color_b shade(@theme_bg_color, 0.94);
+ define-color button_gradient_color_b @theme_bg_color;
+ define-color button_gradient_color_c shade(@theme_bg_color, 0.92);
@define-color borders #a7aba7;
@define-color button_active_gradient_color_a #a2a9a2;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]