1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 20:39:08 +01:00
metamask-extension/ui/components/app/network-display/index.scss
2021-04-28 14:53:59 -05:00

60 lines
926 B
SCSS

.network-display {
display: flex;
align-items: center;
justify-content: flex-start;
padding: 0 10px;
border-radius: 4px;
min-height: 25px;
cursor: pointer;
user-select: none;
&--disabled {
cursor: not-allowed;
}
&--colored {
background-color: lighten(rgb(125, 128, 130), 45%);
}
&--mainnet {
background-color: lighten($blue-lagoon, 68%);
}
&--ropsten {
background-color: lighten($crimson, 45%);
}
&--kovan {
background-color: lighten($purple, 65%);
}
&--rinkeby {
background-color: lighten($tulip-tree, 35%);
}
&--goerli {
background-color: lighten($dodger-blue, 35%);
}
& .chip__label {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
& .chip__left-icon {
margin-left: 4px;
}
& .chip__right-icon {
margin-right: 4px;
}
&__icon {
height: 8px;
width: 12px;
display: block;
}
}