1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 11:28:51 +01:00
metamask-extension/ui/components/component-library/button-link/button-link.scss
Garrett Bear 3f27d018c4
Fix/buttonbase ts update (#20060)
* Migrate ButtonBase to TS

---------

Co-authored-by: Binij Shrestha <shresthabinij@gmail.com>
2023-07-25 09:05:15 -07:00

53 lines
986 B
SCSS

.mm-button-link {
&:hover:not(&--disabled) {
color: var(--color-primary-default);
text-decoration: underline;
text-decoration-thickness: 2px;
text-underline-offset: 4px;
}
&:active:not(&--disabled) {
color: var(--color-primary-alternative);
}
&--disabled {
&:active {
color: var(--color-primary-default);
}
}
&--type-danger {
&:hover {
color: var(--color-error-default);
}
&:active {
color: var(--color-error-alternative);
}
}
&--type-danger#{&}--disabled:active {
color: var(--color-error-default);
}
&--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;
}
&--size-inherit:hover:not(&--disabled) {
text-decoration-thickness: auto;
text-underline-offset: 2px;
}
}