2018-08-29 11:11:58 +00:00
|
|
|
%button {
|
2018-10-19 15:17:02 +00:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
%button .progress.indeterminate {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
margin-left: -12px;
|
|
|
|
margin-top: -12px;
|
|
|
|
}
|
|
|
|
%button:disabled .progress + * {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
%button:empty {
|
|
|
|
padding-right: 0 !important;
|
|
|
|
padding-left: 18px !important;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
%button:empty::before {
|
|
|
|
left: 1px;
|
|
|
|
}
|
|
|
|
%button:not(:empty) {
|
2018-08-29 11:11:58 +00:00
|
|
|
display: inline-flex;
|
|
|
|
text-align: center;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
padding: calc(0.375em - 1px) calc(2.2em - 1px);
|
2018-10-19 15:17:02 +00:00
|
|
|
height: 2.55em;
|
|
|
|
min-width: 100px;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
|
|
|
%button:not(:last-child) {
|
2018-10-19 15:17:02 +00:00
|
|
|
margin-right: 8px;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
2018-09-21 09:18:32 +00:00
|
|
|
%button-compact {
|
|
|
|
// @extend %button;
|
2018-10-19 15:17:02 +00:00
|
|
|
padding-left: calc(1.6em - 1px) !important;
|
|
|
|
padding-right: calc(1.6em - 1px) !important;
|
|
|
|
padding-top: calc(0.35em - 1px) !important;
|
|
|
|
height: 2.3em !important;
|
2018-09-21 09:18:32 +00:00
|
|
|
}
|