[gnome-themes-standard] entry: render a gradient on the border
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] entry: render a gradient on the border
- Date: Fri, 18 Mar 2011 01:04:16 +0000 (UTC)
commit beca3e42d2c07985349fd03868d9b89c13db06e7
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Mar 17 21:03:28 2011 -0400
entry: render a gradient on the border
The mockups have it.
themes/Adwaita/gtk-3.0/gtk.css | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index 99a7b38..0a2ad58 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -211,18 +211,23 @@
border-radius: 2;
border-width: 1;
border-style: solid;
- border-color: @button_border;
+ -adwaita-border-gradient: -gtk-gradient (linear,
+ left top, left bottom,
+ from (shade (@internal_element_color, 1.14)),
+ to (shade (@internal_element_color, 1.37)));
padding: 2;
}
.entry:focused {
- border-color: @focused_entry_border;
+ border-color: @focused_entry_border;
+ -adwaita-border-gradient: none;
}
.entry:insensitive {
background-color: @insensitive_bg_color;
border-color: shade (@inactive_frame_color, 0.945);
+ -adwaita-border-gradient: none;
}
.entry.progressbar {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]