[gtk+] Adwaita: Update menubar styling
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: Update menubar styling
- Date: Tue, 3 Nov 2015 04:50:01 +0000 (UTC)
commit 9f04efd316d384c8f7a99396713956e16814f478
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Nov 2 23:49:38 2015 -0500
Adwaita: Update menubar styling
Adapt to the changes in the previous commit.
gtk/theme/Adwaita/_common.scss | 1 +
gtk/theme/Adwaita/gtk-contained-dark.css | 5 +++++
gtk/theme/Adwaita/gtk-contained.css | 5 +++++
3 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index bcf26a4..60ae1f8 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -1448,6 +1448,7 @@ treeview.view {
/*********
* Menus *
*********/
+menubar,
.menubar {
-GtkWidget-window-dragging: true;
padding: 0px;
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 6fe56b9..5a5269a 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -1973,17 +1973,22 @@ treeview.view header .titlebar button.titlebutton,
/*********
* Menus *
*********/
+menubar,
.menubar {
-GtkWidget-window-dragging: true;
padding: 0px;
box-shadow: inset 0 -1px rgba(0, 0, 0, 0.1); }
+ menubar:backdrop,
.menubar:backdrop {
background-color: #393f3f; }
+ menubar > menuitem,
.menubar > menuitem {
padding: 4px 8px; }
+ menubar > menuitem:hover,
.menubar > menuitem:hover {
box-shadow: inset 0 -3px #215d9c;
color: #4a90d9; }
+ menubar > menuitem:insensitive,
.menubar > menuitem:insensitive {
color: #949796;
box-shadow: none; }
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 2be847e..9e0492f 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -1979,17 +1979,22 @@ treeview.view header .titlebar button.titlebutton,
/*********
* Menus *
*********/
+menubar,
.menubar {
-GtkWidget-window-dragging: true;
padding: 0px;
box-shadow: inset 0 -1px rgba(0, 0, 0, 0.1); }
+ menubar:backdrop,
.menubar:backdrop {
background-color: #ededed; }
+ menubar > menuitem,
.menubar > menuitem {
padding: 4px 8px; }
+ menubar > menuitem:hover,
.menubar > menuitem:hover {
box-shadow: inset 0 -3px #4a90d9;
color: #2a76c6; }
+ menubar > menuitem:insensitive,
.menubar > menuitem:insensitive {
color: #8e9192;
box-shadow: none; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]