1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-01 13:47:06 +01:00
metamask-extension/ui/components/component-library/button-primary/button-primary.scss

40 lines
799 B
SCSS
Raw Normal View History

.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);
}
// Danger type
&--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);
}
}
// Disabled
&--disabled {
&:hover {
box-shadow: none;
}
&:active {
background-color: var(--color-primary-default);
}
}
// Disabled danger
&--type-danger#{&}--disabled:active {
background-color: var(--color-error-default);
}
}