2023-01-13 22:58:09 +01:00
|
|
|
.mm-button-base {
|
2022-10-04 18:55:51 +02:00
|
|
|
position: relative;
|
|
|
|
height: 40px;
|
|
|
|
cursor: pointer;
|
|
|
|
vertical-align: middle;
|
|
|
|
user-select: none;
|
2023-04-05 20:57:54 +02:00
|
|
|
font-weight: 600;
|
2022-10-04 18:55:51 +02:00
|
|
|
|
|
|
|
&--block {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2023-03-22 03:19:49 +01:00
|
|
|
&--ellipsis {
|
|
|
|
max-width: 100%;
|
2022-10-04 18:55:51 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&--size-sm {
|
|
|
|
height: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--size-md {
|
|
|
|
height: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--size-lg {
|
|
|
|
height: 48px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--loading {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--disabled,
|
|
|
|
&:disabled {
|
2023-07-13 22:22:40 +02:00
|
|
|
opacity: var(--opacity-disabled);
|
2022-10-04 18:55:51 +02:00
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__icon-loading {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
animation: spinner 1.2s linear infinite;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-25 18:05:15 +02:00
|
|
|
a.mm-button-base:hover {
|
|
|
|
color: var(--color-text-default);
|
|
|
|
}
|
|
|
|
|
2022-10-04 18:55:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
@keyframes spinner {
|
|
|
|
to { transform: translate(-50%, -50%) rotate(360deg); }
|
|
|
|
}
|
|
|
|
|