[gnome-themes-standard] primary-toolbar: draw the uneven border with -adwaita-border-gradient
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] primary-toolbar: draw the uneven border with -adwaita-border-gradient
- Date: Mon, 2 May 2011 17:04:20 +0000 (UTC)
commit 84f1cfa01271742c45069997cbf214454439514f
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Apr 28 17:03:28 2011 -0400
primary-toolbar: draw the uneven border with -adwaita-border-gradient
Instead of hacking it into the background gradient.
themes/Adwaita/gtk-3.0/gtk-widgets.css | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 825566c..9c86a51 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -648,16 +648,17 @@ GtkComboBox .button:prelight {
left top,
left bottom,
from (@toolbar_gradient_base),
- color-stop (0.01, shade (@theme_bg_color, 0.56)),
- color-stop (0.02, @toolbar_gradient_base),
color-stop (0.16, @toolbar_gradient_step1),
color-stop (0.90, @toolbar_gradient_step2),
- color-stop (0.98, @toolbar_gradient_final),
- color-stop (0.99, shade (@theme_bg_color, 0.83)),
- to (shade (@theme_bg_color, 0.83)));
- border-width: 0;
+ to (@toolbar_gradient_final));
+ border-width: 1 0 1 0;
border-radius: 0;
- border-style: none;
+ border-style: solid;
+
+ -adwaita-border-gradient: -gtk-gradient (linear,
+ left top, left bottom,
+ from (shade (@theme_bg_color, 0.56)),
+ to (shade (@theme_bg_color, 0.83)));
padding: 2;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]