2016-01-04 11:32:13 +05:30
|
|
|
@import './colors.scss';
|
|
|
|
@import './fonts.scss';
|
|
|
|
|
2016-01-09 19:45:03 +05:30
|
|
|
@mixin button-theme($themeName, $backgroundColor, $textColor : $defaultButtonTextColor) {
|
|
|
|
.#{$themeName} {
|
2016-01-04 18:28:23 +05:30
|
|
|
composes: button;
|
|
|
|
|
|
|
|
@if ($textColor != $defaultButtonTextColor) {
|
2017-01-14 04:05:22 +05:30
|
|
|
color: $textColor!important;
|
2016-01-04 18:28:23 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
background-color: $backgroundColor;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: lighter($backgroundColor);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background-color: darker($backgroundColor);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-01-09 17:29:42 +05:30
|
|
|
.button {
|
2016-01-04 11:32:13 +05:30
|
|
|
display: inline-block;
|
2016-01-08 18:44:35 +05:30
|
|
|
box-sizing: border-box;
|
2016-01-04 11:32:13 +05:30
|
|
|
height: 50px;
|
|
|
|
padding: 0 15px;
|
2016-01-08 18:44:35 +05:30
|
|
|
border: none;
|
2016-01-04 11:32:13 +05:30
|
|
|
|
2016-01-04 18:28:23 +05:30
|
|
|
font-family: $font-family-title;
|
2017-01-14 04:05:22 +05:30
|
|
|
color: $defaultButtonTextColor!important;
|
2016-01-04 11:32:13 +05:30
|
|
|
font-size: 18px;
|
|
|
|
line-height: 50px;
|
|
|
|
text-decoration: none;
|
2016-01-08 18:44:35 +05:30
|
|
|
cursor: pointer;
|
2016-01-04 11:32:13 +05:30
|
|
|
|
2016-01-04 18:28:23 +05:30
|
|
|
transition: background-color 0.25s;
|
2016-01-04 11:32:13 +05:30
|
|
|
|
2016-01-09 17:29:42 +05:30
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-04 02:56:22 +05:30
|
|
|
.smallButton {
|
|
|
|
composes: button;
|
|
|
|
|
|
|
|
height: 30px;
|
|
|
|
padding: 0 7px;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 30px;
|
|
|
|
}
|
|
|
|
|
2016-11-08 11:37:04 +05:30
|
|
|
.white {
|
2016-01-09 17:29:42 +05:30
|
|
|
composes: button;
|
|
|
|
|
2016-11-06 19:49:52 +05:30
|
|
|
background-color: #fff;
|
|
|
|
color: #444;
|
2016-01-04 11:32:13 +05:30
|
|
|
|
|
|
|
&:hover {
|
2016-11-06 19:49:52 +05:30
|
|
|
color: #262626;
|
2016-11-08 11:37:04 +05:30
|
|
|
background-color: $whiteButtonLight;
|
2016-01-04 18:28:23 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2016-11-08 11:37:04 +05:30
|
|
|
background-color: $whiteButtonDark;
|
2016-01-04 11:32:13 +05:30
|
|
|
}
|
|
|
|
}
|
2016-01-04 18:28:23 +05:30
|
|
|
|
2016-11-06 19:49:52 +05:30
|
|
|
@include button-theme('black', $black);
|
2016-01-09 19:45:03 +05:30
|
|
|
@include button-theme('blue', $blue);
|
|
|
|
@include button-theme('green', $green);
|
2016-02-13 20:58:47 +05:30
|
|
|
@include button-theme('orange', $orange);
|
2016-02-26 04:12:20 +05:30
|
|
|
@include button-theme('darkBlue', $dark_blue);
|
2016-02-28 02:56:13 +05:30
|
|
|
@include button-theme('lightViolet', $light_violet);
|
2016-05-02 23:02:03 +05:30
|
|
|
@include button-theme('violet', $violet);
|
2016-04-17 15:05:04 +05:30
|
|
|
|
|
|
|
.block {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|