Исправлен цвет текста для белых кнопок

This commit is contained in:
ErickSkrauch 2017-01-28 19:25:43 +03:00
parent 59b1539478
commit 63dd021ceb

View File

@ -1,14 +1,10 @@
@import './colors.scss'; @import './colors.scss';
@import './fonts.scss'; @import './fonts.scss';
@mixin button-theme($themeName, $backgroundColor, $textColor : $defaultButtonTextColor) { @mixin button-theme($themeName, $backgroundColor) {
.#{$themeName} { .#{$themeName} {
composes: button; composes: button;
@if ($textColor != $defaultButtonTextColor) {
color: $textColor!important;
}
background-color: $backgroundColor; background-color: $backgroundColor;
&:hover { &:hover {
@ -29,7 +25,7 @@
border: none; border: none;
font-family: $font-family-title; font-family: $font-family-title;
color: $defaultButtonTextColor!important; color: $defaultButtonTextColor;
font-size: 18px; font-size: 18px;
line-height: 50px; line-height: 50px;
text-decoration: none; text-decoration: none;