mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 20:39:08 +01:00
1265731344
* 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
39 lines
568 B
SCSS
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;
|
|
}
|
|
}
|