2015-11-05 17:25:02 +03:00
|
|
|
// This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
|
2015-11-05 01:54:57 +03:00
|
|
|
|
2015-11-04 23:34:47 +03:00
|
|
|
@mixin btn-shadow(){
|
2015-11-05 00:57:47 +03:00
|
|
|
@include shadow-z-1();
|
2015-11-04 23:34:47 +03:00
|
|
|
transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
&:active:not(.btn-link) {
|
2015-11-05 00:57:47 +03:00
|
|
|
@include shadow-z-1-hover();
|
2015-11-04 23:34:47 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-11-02 23:39:13 +03:00
|
|
|
.btn {
|
|
|
|
position: relative;
|
|
|
|
padding: 8px 30px;
|
|
|
|
border: 0;
|
|
|
|
margin: 10px 1px;
|
|
|
|
cursor: pointer;
|
|
|
|
border-radius: 2px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
text-decoration: none;
|
|
|
|
color: $darkbg-text;
|
2014-10-03 15:58:24 +04:00
|
|
|
|
2015-11-22 19:23:34 +03:00
|
|
|
&:not(.btn-link):not(.btn-flat) {
|
|
|
|
background-color: $btn-default;
|
|
|
|
color: $lightbg-text;
|
|
|
|
|
|
|
|
&:not(.btn-fab) {
|
|
|
|
&:hover {
|
|
|
|
@include shadow-z-1();
|
|
|
|
}
|
|
|
|
&:active {
|
|
|
|
@include shadow-z-1-hover();
|
|
|
|
}
|
|
|
|
}
|
2015-11-02 23:39:13 +03:00
|
|
|
}
|
2015-11-22 19:23:34 +03:00
|
|
|
|
2015-11-02 23:39:13 +03:00
|
|
|
transition: background-color 0.2s ease, box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
outline: none !important;
|
2014-10-03 15:58:24 +04:00
|
|
|
|
2015-11-22 19:23:34 +03:00
|
|
|
.btn-flat:not(.btn-link){
|
|
|
|
color: $lightbg-text;
|
|
|
|
}
|
2014-10-03 15:58:24 +04:00
|
|
|
|
2015-11-02 23:39:13 +03:00
|
|
|
@include background-variations(unquote(":not(.btn-link):not(.btn-flat)"), $btn-default);
|
2014-10-03 15:58:24 +04:00
|
|
|
|
2015-11-02 23:39:13 +03:00
|
|
|
// BTN hover effect
|
2015-11-05 17:25:02 +03:00
|
|
|
// SASS conversion note: please mirror any content change in _mixins-shared.scss button-variations-content
|
2015-11-03 21:12:20 +03:00
|
|
|
@include button-variations(unquote(":hover:not(.btn-link):not(.btn-flat)"), $btn-default, 4%);
|
2015-11-02 23:39:13 +03:00
|
|
|
// BTN active effect
|
2015-11-05 17:25:02 +03:00
|
|
|
// SASS conversion note: please mirror any content change in _mixins-shared.scss button-variations-content
|
2015-11-03 21:12:20 +03:00
|
|
|
@include button-variations(unquote(":active:not(.btn-link):not(.btn-flat)"), $btn-default, 6%);
|
2015-11-02 23:39:13 +03:00
|
|
|
// BTN .active effect
|
2015-11-05 17:25:02 +03:00
|
|
|
// SASS conversion note: please mirror any content change in _mixins-shared.scss button-variations-content
|
2015-11-03 21:12:20 +03:00
|
|
|
@include button-variations(unquote(".active:not(.btn-link):not(.btn-flat)"), $btn-default, 6%);
|
2015-11-02 23:39:13 +03:00
|
|
|
// BTN flat hover effect
|
2015-11-05 17:25:02 +03:00
|
|
|
// SASS conversion note: please mirror any content change in _mixins-shared.scss bg-color-variations-content
|
2015-11-03 21:28:56 +03:00
|
|
|
@include bg-color-variations(unquote(".btn-flat:hover:not(.btn-link)"), $btn-default, (20/100));
|
2014-10-03 15:58:24 +04:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2015-11-17 21:02:44 +03:00
|
|
|
.btn,
|
|
|
|
.input-group-btn .btn {
|
2015-11-02 23:39:13 +03:00
|
|
|
&.btn-flat {
|
|
|
|
background: none;
|
|
|
|
box-shadow: none;
|
|
|
|
font-weight: 500;
|
|
|
|
&:disabled {
|
|
|
|
color: $text-disabled !important;
|
2014-10-03 15:58:24 +04:00
|
|
|
}
|
2015-11-02 23:39:13 +03:00
|
|
|
}
|
2014-10-03 15:58:24 +04:00
|
|
|
|
2015-11-02 23:39:13 +03:00
|
|
|
// Size variations
|
|
|
|
&.btn-sm {
|
|
|
|
padding: 5px 20px;
|
|
|
|
}
|
|
|
|
&.btn-xs {
|
|
|
|
padding: 4px 15px;
|
|
|
|
font-size: 10px;
|
|
|
|
}
|
2014-10-03 15:58:24 +04:00
|
|
|
|
2015-11-02 23:39:13 +03:00
|
|
|
&.btn-raised {
|
2014-10-03 15:58:24 +04:00
|
|
|
@include btn-shadow();
|
2015-11-02 23:39:13 +03:00
|
|
|
}
|
2014-10-03 15:58:24 +04:00
|
|
|
|
2015-11-02 23:39:13 +03:00
|
|
|
&.btn-fab {
|
2014-10-03 15:58:24 +04:00
|
|
|
margin: 0;
|
|
|
|
padding: 15px;
|
|
|
|
font-size: 26px;
|
|
|
|
width: 56px;
|
|
|
|
height: 56px;
|
2015-11-02 23:39:13 +03:00
|
|
|
&, &:hover, &:active {
|
|
|
|
@include variations(unquote(""), background-color, transparent);
|
|
|
|
}
|
2014-10-03 15:58:24 +04:00
|
|
|
&, &:hover {
|
2015-11-05 00:57:47 +03:00
|
|
|
@include shadow-z-1();
|
2015-11-02 23:39:13 +03:00
|
|
|
}
|
|
|
|
&:active {
|
2015-11-05 00:57:47 +03:00
|
|
|
@include shadow-z-1-hover();
|
2014-10-03 15:58:24 +04:00
|
|
|
}
|
2015-11-17 21:02:44 +03:00
|
|
|
&,
|
2015-11-24 02:43:41 +03:00
|
|
|
.ripple-container {
|
2015-11-02 23:39:13 +03:00
|
|
|
border-radius: 100%;
|
2014-10-03 15:58:24 +04:00
|
|
|
}
|
2015-11-02 23:39:13 +03:00
|
|
|
&.btn-fab-mini {
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
padding: 13px 0;
|
|
|
|
font-size: 15px;
|
2014-10-03 15:58:24 +04:00
|
|
|
}
|
2015-11-02 23:39:13 +03:00
|
|
|
i {
|
|
|
|
position: relative;
|
|
|
|
top: -5px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
}
|
2014-10-03 15:58:24 +04:00
|
|
|
}
|
|
|
|
|
2015-11-02 23:39:13 +03:00
|
|
|
// This is needed to style buttons which has not a variation suffix (they must be stiled as btn-default)
|
|
|
|
.btn-link, .btn:not([class*="btn-"]), .btn-default {
|
|
|
|
color: $lightbg-text;
|
|
|
|
&:hover {
|
|
|
|
color: $lightbg-text;
|
|
|
|
}
|
2014-10-03 15:58:24 +04:00
|
|
|
}
|
2015-11-02 23:39:13 +03:00
|
|
|
.btn:not([class*="btn-"]), .btn-default, .btn-flat:not(.btn-link) {
|
|
|
|
&:hover, &.active {
|
|
|
|
background-color: rgba(255,255,255,0.5);
|
|
|
|
}
|
2014-10-03 15:58:24 +04:00
|
|
|
}
|
2015-11-02 23:39:13 +03:00
|
|
|
.open > .dropdown-toggle.btn {
|
|
|
|
@include variations(unquote(""), background-color, $btn-default);
|
2014-10-03 15:58:24 +04:00
|
|
|
}
|
2015-11-02 23:39:13 +03:00
|
|
|
.btn-group .btn+.btn, .btn-group .btn+.btn-group, .btn-group .btn-group+.btn, .btn-group .btn-group+.btn-group {
|
|
|
|
margin-left: 0;
|
2014-10-03 15:58:24 +04:00
|
|
|
}
|
2015-11-02 23:39:13 +03:00
|
|
|
.btn-group, .btn-group-vertical {
|
|
|
|
position: relative;
|
|
|
|
border-radius: 2px;
|
|
|
|
margin: 10px 1px;
|
2014-10-03 15:58:24 +04:00
|
|
|
|
2015-11-02 23:39:13 +03:00
|
|
|
@include btn-shadow();
|
|
|
|
&.open .dropdown-toggle {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
&.btn-group-raised {
|
|
|
|
@include btn-shadow();
|
|
|
|
}
|
|
|
|
.btn, .btn:active, .btn-group {
|
|
|
|
box-shadow: none !important;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2014-10-03 15:58:24 +04:00
|
|
|
}
|
2015-11-02 23:39:13 +03:00
|
|
|
.btn-group-flat {
|
|
|
|
box-shadow: none !important;
|
2014-10-03 15:58:24 +04:00
|
|
|
}
|