aboutsummaryrefslogtreecommitdiff
path: root/common/gtk-3.0/3.18/sass/_applications.scss
diff options
context:
space:
mode:
authorHorst31802015-09-14 12:08:55 +0200
committerHorst31802015-09-14 12:08:55 +0200
commitc9e20ae775d07023e9a6480d7775cef1c62f08f9 (patch)
treeab76274d416697c9c1b25e9e8509c6f6574704dc /common/gtk-3.0/3.18/sass/_applications.scss
parent38a1e46559e71646df76bb08a087abbb9693ebea (diff)
downloadsolarc-theme-c9e20ae775d07023e9a6480d7775cef1c62f08f9.tar.gz
solarc-theme-c9e20ae775d07023e9a6480d7775cef1c62f08f9.tar.xz
solarc-theme-c9e20ae775d07023e9a6480d7775cef1c62f08f9.zip
revisit the linking logic
Diffstat (limited to 'common/gtk-3.0/3.18/sass/_applications.scss')
-rw-r--r--common/gtk-3.0/3.18/sass/_applications.scss38
1 files changed, 20 insertions, 18 deletions
diff --git a/common/gtk-3.0/3.18/sass/_applications.scss b/common/gtk-3.0/3.18/sass/_applications.scss
index 13fc8b9..d90000f 100644
--- a/common/gtk-3.0/3.18/sass/_applications.scss
+++ b/common/gtk-3.0/3.18/sass/_applications.scss
@@ -157,34 +157,36 @@ NemoWindow GtkSeparator.separator.horizontal {
@extend .nautilus-desktop.nautilus-canvas-item;
}
-NemoWindow .primary-toolbar NemoPathBar.linked > .button {
- $_linked_separator_color: $header_button_border;
+NemoWindow .primary-toolbar NemoPathBar.linked:not(.vertical):not(.path-bar) > .button {
@include button(header-hover);
&:hover { background-color: lighten($header_button_bg, 15%); }
&:active, &:checked { @include button(header-active); }
&:insensitive { color: transparentize($header_fg, 0.4); }
+}
+NemoWindow .primary-toolbar NemoPathBar.linked:not(.vertical):not(.path-bar) > .button,
+NemoWindow .primary-toolbar NemoPathBar.linked:not(.vertical):not(.path-bar) > .button:hover,
+NemoWindow .primary-toolbar NemoPathBar.linked:not(.vertical):not(.path-bar) > .button:active,
+NemoWindow .primary-toolbar NemoPathBar.linked:not(.vertical):not(.path-bar) > .button:checked,
+NemoWindow .primary-toolbar NemoPathBar.linked:not(.vertical):not(.path-bar) > .button:insensitive {
@extend %linked;
+ @extend %linked_button;
+}
- &:hover {
- box-shadow: inset 1px 0 $_linked_separator_color,
- inset -1px 0 $_linked_separator_color;
- }
- &:active, &:checked { box-shadow: none; }
+NemoWindow .primary-toolbar NemoPathBar.linked:not(.vertical):not(.path-bar) {
- &:first-child {
- &:hover { box-shadow: inset -1px 0 $_linked_separator_color; }
- &:active, &:checked { box-shadow: none; }
- }
- &:last-child {
- &:hover { box-shadow: inset 1px 0 $_linked_separator_color; }
- &:active, &:checked { box-shadow: none; }
- }
- &:only-child {
- &:hover { box-shadow: none; }
- &:active, &:checked { box-shadow: none; }
+ $_linked_separator_color: $header_button_border;
+
+ > .button:hover:not(:checked):not(:active):not(:only-child) {
+
+ &:hover {
+ box-shadow: inset 1px 0 $_linked_separator_color,
+ inset -1px 0 $_linked_separator_color;
+ }
+ &:first-child:hover { box-shadow: inset -1px 0 $_linked_separator_color; }
+ &:last-child:hover { box-shadow: inset 1px 0 $_linked_separator_color; }
}
}