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-link/button-link.scss
Garrett Bear 30520a3352
button link housekeeping (#16885)
* button link housekeeping

Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-01-26 10:32:11 -08:00

54 lines
842 B
SCSS

.mm-button-link {
&:hover {
color: var(--color-primary-default);
opacity: 0.5;
}
&:active {
color: var(--color-primary-default);
opacity: 0.5;
}
&--disabled {
&:hover {
color: var(--color-primary-default);
opacity: 0.3;
}
&:active {
opacity: 0.3;
}
}
&--type-danger {
&:hover {
color: var(--color-error-default);
opacity: 0.5;
}
&:active {
color: var(--color-error-default);
opacity: 0.5;
}
}
&--type-danger#{&}--disabled:hover {
opacity: 0.3;
}
&--size-auto {
height: auto;
}
&--size-inherit {
height: auto;
background-color: transparent;
vertical-align: top;
font-family: inherit;
font-weight: inherit;
font-size: inherit;
line-height: inherit;
letter-spacing: inherit;
}
}