mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-25 11:28:51 +01:00
3f27d018c4
* Migrate ButtonBase to TS --------- Co-authored-by: Binij Shrestha <shresthabinij@gmail.com>
53 lines
986 B
SCSS
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;
|
|
}
|
|
}
|