2022-10-07 17:50:28 +02:00
|
|
|
.mm-button-secondary {
|
2023-08-15 00:13:15 +02:00
|
|
|
&:hover:not(&--disabled) {
|
2022-10-07 17:50:28 +02:00
|
|
|
color: var(--color-primary-inverse);
|
|
|
|
background-color: var(--color-primary-default);
|
|
|
|
box-shadow: var(--component-button-primary-shadow);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
color: var(--color-primary-inverse);
|
|
|
|
background-color: var(--color-primary-alternative);
|
|
|
|
border-color: var(--color-primary-alternative);
|
|
|
|
}
|
|
|
|
|
2023-01-13 22:58:09 +01:00
|
|
|
// Danger type
|
2023-08-15 00:13:15 +02:00
|
|
|
&--type-danger:not(&--disabled) {
|
2022-10-07 17:50:28 +02:00
|
|
|
color: var(--color-error-default);
|
|
|
|
border: 1px solid var(--color-error-default);
|
|
|
|
background-color: transparent;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--color-error-inverse);
|
|
|
|
background-color: var(--color-error-default);
|
|
|
|
box-shadow: var(--component-button-danger-shadow);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
color: var(--color-error-inverse);
|
|
|
|
background-color: var(--color-error-alternative);
|
|
|
|
border-color: var(--color-error-alternative);
|
|
|
|
}
|
2023-01-13 22:58:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// Disabled
|
|
|
|
&--disabled {
|
|
|
|
&:hover {
|
|
|
|
color: var(--color-primary-default);
|
|
|
|
box-shadow: none;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2022-10-07 17:50:28 +02:00
|
|
|
|
2023-01-13 22:58:09 +01:00
|
|
|
&:active {
|
|
|
|
background-color: transparent;
|
2022-10-07 17:50:28 +02:00
|
|
|
}
|
|
|
|
}
|
2023-01-13 22:58:09 +01:00
|
|
|
|
|
|
|
// Disabled danger
|
|
|
|
&--type-danger#{&}--disabled:hover {
|
|
|
|
color: var(--color-error-default);
|
|
|
|
}
|
2022-10-07 17:50:28 +02:00
|
|
|
}
|