[gnome-themes-standard] menu borders fix for csd



commit 026901d7861fa3d33a4cadfcd953a294c7e6770e
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Tue Jun 10 17:21:34 2014 +0200

    menu borders fix for csd

 themes/Adwaita/gtk-3.0/_common.scss           |   10 ++++++++--
 themes/Adwaita/gtk-3.0/gtk-contained-dark.css |    6 ++++--
 themes/Adwaita/gtk-3.0/gtk-contained.css      |    6 ++++--
 3 files changed, 16 insertions(+), 6 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 7b5ded2..52f1b9d 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -677,7 +677,7 @@ column-header { // FIXME: something better
 .menu {
   padding: 0px;
   background-color: $base_color;
-  border: 1px solid $borders_color;
+  //border: 1px solid $borders_color;
   .menuitem {
     padding: 4px;
     &:hover {
@@ -688,7 +688,8 @@ column-header { // FIXME: something better
       color: $backdrop_fg_color;
       background-color: $backdrop_base_color;
     }
-    &.arrow { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic'); } // submenu indicators
+    &.arrow { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic'); } 
+      //submenu indicators
   }
 }
 
@@ -1523,6 +1524,11 @@ GtkInfoBar {
   &.tiled {
     border-radius: 0;
   }
+  &.csd.popup {
+    border-radius: 0;
+    box-shadow: 0 1px 2px transparentize(black, 0.6),
+                0 0 0 1px $_wm_border;
+  }
 }
 
 // Window Close button
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index afd1642..038a732 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -741,8 +741,7 @@ column-header .button:backdrop {
 
 .menu {
   padding: 0px;
-  background-color: #333333;
-  border: 1px solid #1c1f1f; }
+  background-color: #333333; }
   .menu .menuitem {
     padding: 4px; }
     .menu .menuitem:hover {
@@ -1789,6 +1788,9 @@ GtkInfoBar {
     box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.3); }
   .window-frame.tiled {
     border-radius: 0; }
+  .window-frame.csd.popup {
+    border-radius: 0;
+    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.6); }
 
 .button.titlebutton {
   padding: 8px;
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index de59b58..ec0acc3 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -741,8 +741,7 @@ column-header .button:backdrop {
 
 .menu {
   padding: 0px;
-  background-color: white;
-  border: 1px solid #a1a1a1; }
+  background-color: white; }
   .menu .menuitem {
     padding: 4px; }
     .menu .menuitem:hover {
@@ -1789,6 +1788,9 @@ GtkInfoBar {
     box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.3); }
   .window-frame.tiled {
     border-radius: 0; }
+  .window-frame.csd.popup {
+    border-radius: 0;
+    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.2); }
 
 .button.titlebutton {
   padding: 8px;


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