Merge pull request #326 from edlau/master

Fixed a couple bugs in LESS scripts
This commit is contained in:
Fez Vrasta 2014-12-27 10:00:07 +01:00
commit 60cfbbd6d6
2 changed files with 4 additions and 1 deletions

View File

@ -41,7 +41,7 @@
font-size: 26px; font-size: 26px;
width: 56px; width: 56px;
height: 56px; height: 56px;
&, &:hover, &:active &, &:hover, &:active {
.variations(~"", background-color, transparent); .variations(~"", background-color, transparent);
} }
& { & {

View File

@ -9,6 +9,9 @@
.generic-variations(@extra, @default, { .generic-variations(@extra, @default, {
background-color: @material-color; background-color: @material-color;
color: @text-color; color: @text-color;
& when (@material-color = @btn-default) {
color: @lightbg-text;
}
}); });
} }