[gnome-themes-standard] menus fixes - dimmed border color - added insensitive state to menuitems



commit 093a6b3f436f782810d8e3bce7565150ffd87cbf
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Tue Jun 10 17:29:33 2014 +0200

    menus fixes
      - dimmed border color
      - added insensitive state to menuitems

 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, 18 insertions(+), 4 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 52f1b9d..4ef0f99 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -684,6 +684,10 @@ column-header { // FIXME: something better
       color: $selected_fg_color;
       background-color: $selected_bg_color;
     }
+    &:insensitive {
+      color: $insensitive_fg_color;
+      &:backdrop { color: $backdrop_insensitive_color; }
+    }
     &:backdrop, &:backdrop:hover {
       color: $backdrop_fg_color;
       background-color: $backdrop_base_color;
@@ -1078,7 +1082,7 @@ $asset_suffix: if($variant=='dark', '-dark', '');
       background-position: center;
     }    
   }
-  
+
   // treeview, menu and popover
   GtkPopover GtkModelButton.button.#{$w},
   .menuitem.#{$w},
@@ -1105,6 +1109,8 @@ $asset_suffix: if($variant=='dark', '-dark', '');
   }
 }
 
+
+
 GtkCheckButton.text-button:selected { background-color: transparent; }
 
 /************
@@ -1527,7 +1533,7 @@ GtkInfoBar {
   &.csd.popup {
     border-radius: 0;
     box-shadow: 0 1px 2px transparentize(black, 0.6),
-                0 0 0 1px $_wm_border;
+                0 0 0 1px transparentize($_wm_border,0.1);
   }
 }
 
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index 038a732..c88d817 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -747,6 +747,10 @@ column-header .button:backdrop {
     .menu .menuitem:hover {
       color: white;
       background-color: #215d9c; }
+    .menu .menuitem:insensitive {
+      color: #939695; }
+      .menu .menuitem:insensitive:backdrop {
+        color: #454c4c; }
     .menu .menuitem:backdrop, .menu .menuitem:backdrop:hover {
       color: #c9cbc9;
       background-color: #262626; }
@@ -1790,7 +1794,7 @@ GtkInfoBar {
     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); }
+    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.5); }
 
 .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 ec0acc3..e02d8b7 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -747,6 +747,10 @@ column-header .button:backdrop {
     .menu .menuitem:hover {
       color: white;
       background-color: #4a90d9; }
+    .menu .menuitem:insensitive {
+      color: #8d9091; }
+      .menu .menuitem:insensitive:backdrop {
+        color: #c7c7c7; }
     .menu .menuitem:backdrop, .menu .menuitem:backdrop:hover {
       color: #54595a;
       background-color: #fcfcfc; }
@@ -1790,7 +1794,7 @@ GtkInfoBar {
     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); }
+    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.1); }
 
 .button.titlebutton {
   padding: 8px;


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