[gnome-themes-standard] menu: make menubar items share the look of tabs



commit 5a8fd6cb4d142ee5eac8be8085390bf4947e5fb1
Author: Jakub Steiner <jimmac gmail com>
Date:   Tue May 27 16:27:42 2014 +0200

    menu: make menubar items share the look of tabs

 themes/Adwaita/gtk-3.0/_common.scss           |   10 ++++++++--
 themes/Adwaita/gtk-3.0/gtk-contained-dark.css |    8 ++++++--
 themes/Adwaita/gtk-3.0/gtk-contained.css      |    8 ++++++--
 3 files changed, 20 insertions(+), 6 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index a4e3cb7..f732956 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -546,8 +546,12 @@ column-header {
   .menuitem {  // menubar only
     background-color: $bg_color;
     padding: 4px 8px;
-    border-radius: 3px 3px 0 0;
-    &:hover, &:active { background-color: $base_color; }
+    border-radius: 0;
+    &:hover, &:active {
+      border-width: 0 0 3px;
+      border-style: solid;
+      border-color: $selected_bg_color;
+    }
   }
 }
 
@@ -557,10 +561,12 @@ column-header {
     padding: 4px;
     border-radius: 0;
     &:hover {
+      border: none;
       color: $selected_fg_color;
       background-color: $selected_bg_color;
     }
     &:active {
+      border: none;
       color: $selected_fg_color;
       background-color: if($variant=='light', darken($selected_bg_color, 10%), darken($selected_bg_color, 
5%));
     }
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index 89204be..63b50ab 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -598,18 +598,22 @@ column-header .button:backdrop {
   .menubar .menuitem {
     background-color: #393f3f;
     padding: 4px 8px;
-    border-radius: 3px 3px 0 0; }
+    border-radius: 0; }
     .menubar .menuitem:hover, .menubar .menuitem:active {
-      background-color: #333333; }
+      border-width: 0 0 3px;
+      border-style: solid;
+      border-color: #2a76c6; }
 
 .menu .menuitem {
   background-color: #333333;
   padding: 4px;
   border-radius: 0; }
   .menu .menuitem:hover {
+    border: none;
     color: white;
     background-color: #2a76c6; }
   .menu .menuitem:active {
+    border: none;
     color: white;
     background-color: #256ab1; }
 .menu .separator {
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index 449275f..458db18 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -598,18 +598,22 @@ column-header .button:backdrop {
   .menubar .menuitem {
     background-color: #ededed;
     padding: 4px 8px;
-    border-radius: 3px 3px 0 0; }
+    border-radius: 0; }
     .menubar .menuitem:hover, .menubar .menuitem:active {
-      background-color: white; }
+      border-width: 0 0 3px;
+      border-style: solid;
+      border-color: #4a90d9; }
 
 .menu .menuitem {
   background-color: white;
   padding: 4px;
   border-radius: 0; }
   .menu .menuitem:hover {
+    border: none;
     color: white;
     background-color: #4a90d9; }
   .menu .menuitem:active {
+    border: none;
     color: white;
     background-color: #2a76c6; }
 .menu .separator {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]