[gnome-themes-standard] Handle button backgrounds.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Handle button backgrounds.
- Date: Mon, 6 Dec 2010 21:22:40 +0000 (UTC)
commit b34312a3ed066fb30389354a71c73d16e199dcf9
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Nov 30 03:25:12 2010 +0100
Handle button backgrounds.
themes/Adwaita/gtk-3.0/gtk.css | 27 +++++++++++++++++++++++++--
1 files changed, 25 insertions(+), 2 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index 3c62875..a591d07 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -171,8 +171,31 @@ GtkScrollbar {
.button {
padding: 3;
-clearlooks-focus-color: mix (@bg_color, @selected_bg_color, 0.5);
- -clearlooks-focus-fill-color: @selected_bg_color;
- -clearlooks-focus-fill-alpha: 0.05;
+ -clearlooks-focus-fill-color: alpha (@selected_bg_color, 0.05);
+ background-image: -gtk-gradient (linear,
+ left top, left bottom,
+ from (shade (@bg_color, 1.06)),
+ to (shade (@bg_color, 0.95)));
+ border-radius: 3;
+}
+
+.button:prelight:active {
+ background-image: -gtk-gradient (linear,
+ left top, left bottom,
+ from (shade (@bg_color, 0.86)),
+ to (shade (@bg_color, 1.09)));
+}
+
+.button:prelight {
+ background-image: -gtk-gradient (linear,
+ left top, left bottom,
+ from (shade (@bg_color, 1.12)),
+ to (shade (@bg_color, 1.03)));
+}
+
+.button:insensitive {
+ background-image: none;
+ background-color: @bg_color;
}
GtkStatusbar {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]