[gnome-themes-standard] menubutton: add support for the menubutton style
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] menubutton: add support for the menubutton style
- Date: Wed, 24 Aug 2011 21:32:15 +0000 (UTC)
commit 90c4f48cf7720fb9b31e8388843a5fa6b8f3f705
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Aug 24 17:31:51 2011 -0400
menubutton: add support for the menubutton style
As seen in gnome-contacts.
themes/Adwaita/gtk-3.0/gtk-widgets.css | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 3ad0f82..dccb3e9 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -369,9 +369,12 @@ GtkScrolledWindow.frame {
/***********
* Buttons *
***********/
-.button {
+.button,
+.button.menuitem.menubar {
padding: 1 4;
+}
+.button {
-adwaita-focus-fill-color: alpha (@theme_base_color, 0.35);
-adwaita-focus-border-gradient: -gtk-gradient (linear,
left top, left bottom,
@@ -754,6 +757,22 @@ GtkTreeMenu .menuitem * {
background-image: url("assets/radio-menuitem-checked-selected.svg");
}
+/***************
+ * Menu Button *
+ ***************/
+.button.menuitem.menubar:active,
+.button.menuitem.menubar *:active {
+ color: @theme_text_color;
+ background-image: none;
+ background-color: @menu_bg_color;
+
+ border-radius: 5 5 0 0;
+ border-image: none;
+ border-width: 1 1 0 1;
+ border-color: shade(@button_border, 1.30);
+ border-style: solid;
+}
+
/****************
* Radiobuttons *
****************/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]