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

52 lines
1.2 KiB
SCSS
Raw Normal View History

.mm-button-secondary {
color: var(--color-primary-default);
border: 1px solid var(--color-primary-default);
background-color: transparent;
&:hover {
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);
}
&.mm-button--disabled {
&:hover {
color: var(--color-primary-default);
box-shadow: none;
background-color: transparent;
}
&:active {
background-color: transparent;
}
}
&--type-danger {
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);
}
&.mm-button--disabled:hover {
color: var(--color-error-default);
}
}
}