2018-06-23 08:52:45 +02:00
|
|
|
.network-display {
|
2021-01-27 17:51:59 +01:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-start;
|
|
|
|
padding: 0 10px;
|
|
|
|
border-radius: 4px;
|
|
|
|
min-height: 25px;
|
2021-03-15 23:34:15 +01:00
|
|
|
user-select: none;
|
2021-01-27 17:51:59 +01:00
|
|
|
|
|
|
|
&--disabled {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
2018-06-23 08:52:45 +02:00
|
|
|
|
2021-01-27 17:51:59 +01:00
|
|
|
&--colored {
|
|
|
|
background-color: lighten(rgb(125, 128, 130), 45%);
|
|
|
|
}
|
2018-06-23 08:52:45 +02:00
|
|
|
|
2021-01-27 17:51:59 +01:00
|
|
|
&--mainnet {
|
|
|
|
background-color: lighten($blue-lagoon, 68%);
|
|
|
|
}
|
2019-04-17 19:34:49 +02:00
|
|
|
|
2021-01-27 17:51:59 +01:00
|
|
|
&--ropsten {
|
|
|
|
background-color: lighten($crimson, 45%);
|
2018-06-23 08:52:45 +02:00
|
|
|
}
|
|
|
|
|
2021-01-27 17:51:59 +01:00
|
|
|
&--kovan {
|
|
|
|
background-color: lighten($purple, 65%);
|
|
|
|
}
|
2020-10-29 16:03:29 +01:00
|
|
|
|
2021-01-27 17:51:59 +01:00
|
|
|
&--rinkeby {
|
|
|
|
background-color: lighten($tulip-tree, 35%);
|
2018-06-23 08:52:45 +02:00
|
|
|
}
|
|
|
|
|
2021-01-27 17:51:59 +01:00
|
|
|
&--goerli {
|
|
|
|
background-color: lighten($dodger-blue, 35%);
|
|
|
|
}
|
2018-06-23 08:52:45 +02:00
|
|
|
|
2021-09-13 18:05:53 +02:00
|
|
|
&.chip {
|
|
|
|
margin: 0;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2021-01-27 17:51:59 +01:00
|
|
|
& .chip__label {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2018-06-23 08:52:45 +02:00
|
|
|
|
2021-01-27 17:51:59 +01:00
|
|
|
& .chip__left-icon {
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
2018-06-23 08:52:45 +02:00
|
|
|
|
2021-01-27 17:51:59 +01:00
|
|
|
& .chip__right-icon {
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
2019-04-17 19:34:49 +02:00
|
|
|
|
2021-01-27 17:51:59 +01:00
|
|
|
&__icon {
|
|
|
|
height: 8px;
|
|
|
|
width: 12px;
|
|
|
|
display: block;
|
2018-06-23 08:52:45 +02:00
|
|
|
}
|
2021-06-30 20:21:48 +02:00
|
|
|
|
|
|
|
&--clickable {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2018-06-23 08:52:45 +02:00
|
|
|
}
|