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 1265731344
Feat/16637/button housekeeping (#16872)
* button housekeeping

* add iconsearch

* fix description

* readme update

* update disabled classnames

* buttonlink disabled class

* add disabled proptypes

* add constant exports

* update disabled style classes

* update snapshot for box pill classname

* add buttonTextProps

* update primarybutton background color to use box props

* update button secondary and link to use box props

* update tests
2023-01-13 13:58:09 -08:00

39 lines
568 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;
}
}