mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-01 21:57:06 +01:00
6f7e382777
* UX: Multichain: Improve accessibility of accounts menu * Use button instead of a * Pass color instead of using CSS
41 lines
594 B
SCSS
41 lines
594 B
SCSS
.multichain-account-list-item {
|
|
position: relative;
|
|
width: 100%;
|
|
cursor: pointer;
|
|
|
|
&:not(.account-list-item--selected) {
|
|
&:hover,
|
|
&:focus-within {
|
|
background: var(--color-background-default-hover);
|
|
}
|
|
}
|
|
|
|
&__account-name {
|
|
&:hover,
|
|
&:focus {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
&__selected-indicator {
|
|
width: 4px;
|
|
height: calc(100% - 8px);
|
|
position: absolute;
|
|
top: 4px;
|
|
left: 4px;
|
|
}
|
|
|
|
&__content {
|
|
overflow: hidden;
|
|
flex: 1;
|
|
}
|
|
|
|
.currency-display-component {
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
&__tooltip {
|
|
display: inline;
|
|
}
|
|
}
|