[gnome-themes-standard/wip/sass] Menus
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard/wip/sass] Menus
- Date: Tue, 27 May 2014 11:05:15 +0000 (UTC)
commit 4ffe3c4a76879bce868d89a93d0d81452dff507e
Author: Jakub Steiner <jimmac gmail com>
Date: Tue May 27 12:52:12 2014 +0200
Menus
themes/Adwaita/gtk-3.0/_common.scss | 29 +++++++++++++++++++++++++
themes/Adwaita/gtk-3.0/gtk-contained-dark.css | 23 +++++++++++++++++++
themes/Adwaita/gtk-3.0/gtk-contained.css | 23 +++++++++++++++++++
3 files changed, 75 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 8342640..97ec3b8 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -536,6 +536,35 @@ column-header {
}
}
+/*********
+ * Menus *
+ *********/
+.menubar {
+ padding: 2px;
+ .menuitem { // menubar only
+ background-color: $bg_color;
+ padding: 4px 8px;
+ border-radius: 3px 3px 0 0;
+ &:hover, &:active { background-color: $base_color; }
+ }
+}
+
+.menu {
+ .menuitem { // menubar only
+ background-color: $base_color;
+ padding: 4px;
+ border-radius: 0;
+ &:hover {
+ color: $selected_fg_color;
+ background-color: $selected_bg_color;
+ }
+ &:active {
+ color: $selected_fg_color;
+ background-color: if($variant=='light', darken($selected_bg_color, 10%), darken($selected_bg_color,
5%));
+ }
+ }
+}
+
/***************
* Popovers *
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index 0b65c7b..09f9f63 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -590,6 +590,29 @@ column-header .button:backdrop {
color: rgba(238, 238, 236, 0.5);
font-weight: bold; }
+/*********
+ * Menus *
+ *********/
+.menubar {
+ padding: 2px; }
+ .menubar .menuitem {
+ background-color: #393f3f;
+ padding: 4px 8px;
+ border-radius: 3px 3px 0 0; }
+ .menubar .menuitem:hover, .menubar .menuitem:active {
+ background-color: #333333; }
+
+.menu .menuitem {
+ background-color: #333333;
+ padding: 4px;
+ border-radius: 0; }
+ .menu .menuitem:hover {
+ color: white;
+ background-color: #2a76c6; }
+ .menu .menuitem:active {
+ color: white;
+ background-color: #256ab1; }
+
/***************
* Popovers *
***************/
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index 498819b..e5068d8 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -590,6 +590,29 @@ column-header .button:backdrop {
color: rgba(46, 52, 54, 0.5);
font-weight: bold; }
+/*********
+ * Menus *
+ *********/
+.menubar {
+ padding: 2px; }
+ .menubar .menuitem {
+ background-color: #ededed;
+ padding: 4px 8px;
+ border-radius: 3px 3px 0 0; }
+ .menubar .menuitem:hover, .menubar .menuitem:active {
+ background-color: white; }
+
+.menu .menuitem {
+ background-color: white;
+ padding: 4px;
+ border-radius: 0; }
+ .menu .menuitem:hover {
+ color: white;
+ background-color: #4a90d9; }
+ .menu .menuitem:active {
+ color: white;
+ background-color: #2a76c6; }
+
/***************
* Popovers *
***************/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]