2023-03-22 11:00:08 +01:00
|
|
|
.multichain-account-list-item {
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
2023-03-30 20:12:45 +02:00
|
|
|
cursor: pointer;
|
2023-03-22 11:00:08 +01:00
|
|
|
|
|
|
|
&:not(.account-list-item--selected) {
|
|
|
|
&:hover,
|
|
|
|
&:focus-within {
|
|
|
|
background: var(--color-background-default-hover);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-30 20:12:45 +02:00
|
|
|
&__account-name {
|
2023-05-17 18:53:54 +02:00
|
|
|
max-width: 160px;
|
|
|
|
min-width: 80px;
|
|
|
|
|
|
|
|
/* Prevent the normal hover effect on Buttons */
|
|
|
|
&__button {
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2023-03-30 20:12:45 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-17 18:53:54 +02:00
|
|
|
&__asset {
|
|
|
|
max-width: 130px;
|
|
|
|
min-width: 60px;
|
|
|
|
align-self: self-end;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Prevent font-size resizing to avoid conflcits for long asset and token names */
|
|
|
|
&__account-name button,
|
|
|
|
&__asset,
|
|
|
|
&__tooltip {
|
|
|
|
font-size: 14px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__avatar {
|
|
|
|
margin-inline-end: 2px;
|
|
|
|
}
|
|
|
|
|
2023-03-22 11:00:08 +01:00
|
|
|
&__selected-indicator {
|
|
|
|
width: 4px;
|
|
|
|
height: calc(100% - 8px);
|
|
|
|
position: absolute;
|
|
|
|
top: 4px;
|
|
|
|
left: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
overflow: hidden;
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
2023-05-17 18:53:54 +02:00
|
|
|
&__tooltip {
|
|
|
|
display: inline;
|
2023-03-22 11:00:08 +01:00
|
|
|
}
|
|
|
|
|
2023-05-17 18:53:54 +02:00
|
|
|
.currency-display-component {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2023-03-22 11:00:08 +01:00
|
|
|
display: inline;
|
2023-05-17 18:53:54 +02:00
|
|
|
|
|
|
|
&__prefix {
|
|
|
|
padding-right: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__suffix {
|
|
|
|
font-size: 12px !important;
|
|
|
|
}
|
2023-03-22 11:00:08 +01:00
|
|
|
}
|
|
|
|
}
|