2022-10-06 06:51:02 +02:00
|
|
|
.mm-button-primary {
|
|
|
|
&:hover {
|
|
|
|
color: var(--color-primary-inverse);
|
|
|
|
box-shadow: var(--component-button-primary-shadow);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
color: var(--color-primary-inverse);
|
|
|
|
background-color: var(--color-primary-alternative);
|
|
|
|
}
|
|
|
|
|
2023-01-13 22:58:09 +01:00
|
|
|
// Danger type
|
2022-10-06 06:51:02 +02:00
|
|
|
&--type-danger {
|
|
|
|
&:hover {
|
|
|
|
color: var(--color-error-inverse);
|
|
|
|
box-shadow: var(--component-button-danger-shadow);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
color: var(--color-error-inverse);
|
|
|
|
background-color: var(--color-error-alternative);
|
|
|
|
}
|
2023-01-13 22:58:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// Disabled
|
|
|
|
&--disabled {
|
|
|
|
&:hover {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2022-10-06 06:51:02 +02:00
|
|
|
|
2023-01-13 22:58:09 +01:00
|
|
|
&:active {
|
|
|
|
background-color: var(--color-primary-default);
|
2022-10-06 06:51:02 +02:00
|
|
|
}
|
|
|
|
}
|
2023-01-13 22:58:09 +01:00
|
|
|
// Disabled danger
|
|
|
|
&--type-danger#{&}--disabled:active {
|
|
|
|
background-color: var(--color-error-default);
|
|
|
|
}
|
2022-10-06 06:51:02 +02:00
|
|
|
}
|