Fixes #403 and Fixes #509

pull/517/head
Dustin Falgout 2016-08-23 06:24:23 -05:00
parent bbf00f22b5
commit d56f32f8e6
2 changed files with 5 additions and 13 deletions

View File

@ -173,12 +173,8 @@
} }
&:insensitive:insensitive { &:insensitive:insensitive {
@if (lightness($button_bg) > 50) { background-color: transparent;
@include linear-gradient(shade($button_bg, .95)); background-image: none;
} @else {
@include linear-gradient(alpha($button_bg, .3));
}
color: mix($bg, $fg, .5); color: mix($bg, $fg, .5);
box-shadow: none; box-shadow: none;
} }

View File

@ -321,12 +321,8 @@
} }
&:disabled:disabled { &:disabled:disabled {
@if (lightness($button_bg) > 50) { background-color: transparent;
@include linear-gradient(shade($button_bg, .95)); background-image: none;
} @else {
@include linear-gradient(alpha($button_bg, .3));
}
color: mix($bg, $fg, .5); color: mix($bg, $fg, .5);
box-shadow: none; box-shadow: none;
} }
@ -457,7 +453,7 @@
&.down { &.down {
border-style: none solid solid solid; border-style: none solid solid solid;
border-radius: 0 0 $roundness $roundness; border-radius: 0 0 $roundness $roundness;
} }
} }
} }