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;
|
2019-12-12 09:25:39 +00:00
|
|
|
padding: calc(0.5em - 1px) calc(2.2em - 1px);
|
2018-10-19 15:17:02 +00:00
|
|
|
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 {
|
2019-12-12 09:25:39 +00:00
|
|
|
padding-top: calc(0.4em - 1px) !important;
|
|
|
|
padding-bottom: calc(0.4em - 1px) !important;
|
2018-09-21 09:18:32 +00:00
|
|
|
}
|
2020-01-16 09:10:32 +00:00
|
|
|
%copy-button:empty {
|
|
|
|
padding: 5px !important;
|
|
|
|
margin-right: 0;
|
|
|
|
margin-top: -5px;
|
|
|
|
}
|
|
|
|
%copy-button:not(:empty)::before {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2019-11-25 17:43:25 +00:00
|
|
|
%internal-button {
|
2019-12-17 18:47:37 +00:00
|
|
|
padding: 0.9em 1em;
|
2019-11-25 17:43:25 +00:00
|
|
|
text-align: center;
|
|
|
|
display: inline-block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2020-05-11 14:04:27 +00:00
|
|
|
%split-button {
|
|
|
|
@extend %secondary-button;
|
|
|
|
padding: 0 8px !important;
|
|
|
|
position: relative;
|
|
|
|
height: 100%;
|
|
|
|
}
|