summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLapo Calamandrei <calamandrei@gmail.com>2014-06-10 17:29:33 +0200
committerLapo Calamandrei <calamandrei@gmail.com>2014-06-10 17:29:33 +0200
commit093a6b3f436f782810d8e3bce7565150ffd87cbf (patch)
treeea35752bfce7555ac8288c868baedf83eb9d1990
parent026901d7861fa3d33a4cadfcd953a294c7e6770e (diff)
menus fixes
- dimmed border color - added insensitive state to menuitems
-rw-r--r--themes/Adwaita/gtk-3.0/_common.scss10
-rw-r--r--themes/Adwaita/gtk-3.0/gtk-contained-dark.css6
-rw-r--r--themes/Adwaita/gtk-3.0/gtk-contained.css6
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 52f1b9d5..4ef0f995 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 038a7324..c88d8172 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 ec0acc3b..e02d8b7f 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;