1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-02 14:15:06 +01:00
metamask-extension/ui/components/multichain/network-list-item/index.scss

52 lines
757 B
SCSS
Raw Normal View History

2023-03-31 19:58:25 +02:00
.multichain-network-list-item {
position: relative;
cursor: pointer;
&:not(.multichain-network-list-item--selected) {
&:hover,
&:focus-within {
background: var(--color-background-default-hover);
}
}
a:hover,
a:focus {
color: inherit;
}
&:hover,
&:focus,
&:focus-within {
.multichain-network-list-item__delete {
visibility: visible;
}
}
&__network-name {
width: 100%;
flex: 1;
overflow: hidden;
text-align: start;
button:hover {
opacity: 1;
}
}
&__tooltip {
display: inline;
}
&__selected-indicator {
width: 4px;
height: calc(100% - 8px);
position: absolute;
top: 4px;
left: 4px;
}
&__delete {
visibility: hidden;
}
}