[gnome-themes-standard] adwaita: add theming for raised toolbar buttons
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] adwaita: add theming for raised toolbar buttons
- Date: Wed, 9 Mar 2011 02:14:11 +0000 (UTC)
commit 94a9820bd0915919862591e33b6a170fc917e5b4
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Mar 8 19:15:04 2011 -0500
adwaita: add theming for raised toolbar buttons
themes/Adwaita/gtk-3.0/gtk.css | 52 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 52 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index 873a571..6c60bb3 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -823,6 +823,58 @@ GtkWindow > GtkVBox > GtkToolbar .separator {
background-image: none;
}
+
+/* primary toolbar raised buttons */
+.primary-toolbar.toolbar.raised.button {
+ border-radius: 2;
+ border-width: 1;
+ border-color: @button_border;
+ border-style: solid;
+
+ background-image: -gtk-gradient (linear,
+ left top, left bottom,
+ from (@button_gradient_color_a),
+ to (@button_gradient_color_b));
+
+ -GtkWidget-focus-line-width: 2;
+}
+
+.primary-toolbar.toolbar.raised.button:hover {
+ border-color: @button_border;
+ background-image: -gtk-gradient (linear,
+ left top, left bottom,
+ from (@theme_base_color),
+ to (shade (@button_gradient_color_a, 0.94)));
+ border-width: 1;
+ border-style: solid;
+}
+
+.primary-toolbar.toolbar.raised.button:hover:active,
+.primary-toolbar.toolbar.raised.button:active {
+ background-image: -gtk-gradient (linear,
+ left top, left bottom,
+ from (@button_active_gradient_color),
+ to (alpha (shade (@button_active_gradient_color, 0.83), 0.13)));
+ background-color: @theme_base_color;
+
+ border-color: @highlighted_border;
+ border-width: 1;
+ border-style: solid;
+}
+
+/* progressbar entry on primary toolbar */
+.primary-toolbar.toolbar.entry.progressbar {
+ /* FIXME: need correct colors/gradient */
+ background-image: -gtk-gradient (linear,
+ left top, left bottom,
+ from (@trough_bg_color_a),
+ to (@trough_bg_color_b));
+
+ border-width: 0;
+ border-radius: 2;
+ border-color: shade (@inactive_frame_color, 0.925);
+}
+
/*************
* GtkSwitch *
*************/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]