2017-10-24 10:07:51 +02:00
|
|
|
.network-component--disabled {
|
2018-11-26 17:41:16 +01:00
|
|
|
cursor: not-allowed;
|
2017-10-24 10:07:51 +02:00
|
|
|
|
|
|
|
.fa-caret-down {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-13 00:46:09 +02:00
|
|
|
.network-component.pointer {
|
2022-03-16 15:49:25 +01:00
|
|
|
border: 1px solid var(--color-border-muted);
|
2017-10-13 00:46:09 +02:00
|
|
|
border-radius: 82px;
|
2019-06-13 04:56:04 +02:00
|
|
|
padding: 6px 3px;
|
2017-10-18 07:36:53 +02:00
|
|
|
flex: 0 0 auto;
|
2018-03-20 12:32:20 +01:00
|
|
|
display: flex;
|
2017-10-13 00:46:09 +02:00
|
|
|
|
2018-01-12 01:59:00 +01:00
|
|
|
&.ethereum-network .menu-icon-circle div {
|
2020-07-15 15:13:40 +02:00
|
|
|
background-color: rgba(3, 135, 137, 0.7) !important;
|
2017-10-13 00:46:09 +02:00
|
|
|
}
|
|
|
|
|
2018-01-12 01:59:00 +01:00
|
|
|
&.ropsten-test-network .menu-icon-circle div {
|
2020-07-15 15:13:40 +02:00
|
|
|
background-color: rgba(233, 21, 80, 0.7) !important;
|
2017-10-13 00:46:09 +02:00
|
|
|
}
|
|
|
|
|
2018-01-12 01:59:00 +01:00
|
|
|
&.kovan-test-network .menu-icon-circle div {
|
2020-07-15 15:13:40 +02:00
|
|
|
background-color: rgba(105, 4, 150, 0.7) !important;
|
2017-10-13 00:46:09 +02:00
|
|
|
}
|
|
|
|
|
2018-01-12 01:59:00 +01:00
|
|
|
&.rinkeby-test-network .menu-icon-circle div {
|
2020-07-15 15:13:40 +02:00
|
|
|
background-color: rgba(235, 179, 63, 0.7) !important;
|
2017-10-13 00:46:09 +02:00
|
|
|
}
|
2019-04-17 19:34:49 +02:00
|
|
|
|
|
|
|
&.goerli-test-network .menu-icon-circle div {
|
2020-07-15 15:13:40 +02:00
|
|
|
background-color: rgba(48, 153, 242, 0.7) !important;
|
2019-04-17 19:34:49 +02:00
|
|
|
}
|
2021-10-28 21:31:05 +02:00
|
|
|
|
|
|
|
&.localhost-network .menu-icon-circle div {
|
|
|
|
background-color: rgba(3, 135, 137, 0.7) !important;
|
|
|
|
}
|
2017-10-13 00:46:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu-item {
|
|
|
|
.menu-icon-circle,
|
|
|
|
.menu-icon-circle--active {
|
2017-10-24 09:54:49 +02:00
|
|
|
margin: 0 14px;
|
2017-10-13 00:46:09 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-28 21:53:58 +02:00
|
|
|
.dropdown-menu-item .fa.delete {
|
2022-03-16 15:49:25 +01:00
|
|
|
color: var(--color-icon-default);
|
2020-07-15 15:13:40 +02:00
|
|
|
margin-right: 10px;
|
|
|
|
display: none;
|
2018-09-28 21:53:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu-item:hover .fa.delete {
|
2020-07-15 15:13:40 +02:00
|
|
|
display: inherit;
|
2018-09-28 21:53:58 +02:00
|
|
|
}
|
|
|
|
|
2017-09-05 00:55:14 +02:00
|
|
|
.network-droppo {
|
2022-03-16 15:49:25 +01:00
|
|
|
background-color: var(--color-background-default);
|
|
|
|
border-radius: 4px;
|
2017-09-05 00:55:14 +02:00
|
|
|
right: 2px;
|
|
|
|
|
2021-01-27 17:51:59 +01:00
|
|
|
.color-indicator {
|
2022-03-15 15:40:55 +01:00
|
|
|
margin: 0 14px 0 4px;
|
2021-01-27 17:51:59 +01:00
|
|
|
}
|
|
|
|
|
2021-08-31 08:16:58 +02:00
|
|
|
@media screen and (min-width: $break-large) {
|
2017-09-05 00:55:14 +02:00
|
|
|
right: calc(((100% - 85vw) / 2) + 2px);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 769px) {
|
|
|
|
right: calc(((100% - 80vw) / 2) + 2px);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 1281px) {
|
|
|
|
right: calc(((100% - 65vw) / 2) + 2px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.network-name-item {
|
2018-03-01 22:12:10 +01:00
|
|
|
flex: 1;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
2017-08-31 13:08:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.network-check__transparent {
|
|
|
|
opacity: 0;
|
2022-03-15 15:40:55 +01:00
|
|
|
width: 24px;
|
2017-08-31 13:08:11 +02:00
|
|
|
}
|
2017-09-07 00:37:48 +02:00
|
|
|
|
2017-10-13 00:46:09 +02:00
|
|
|
.menu-icon-circle,
|
|
|
|
.menu-icon-circle--active {
|
2017-09-07 00:37:48 +02:00
|
|
|
background: none;
|
|
|
|
border-radius: 22px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2017-09-12 03:10:14 +02:00
|
|
|
border: 1px solid transparent;
|
2017-10-13 00:46:09 +02:00
|
|
|
margin: 0 4px;
|
2017-09-08 01:47:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu-icon-circle--active {
|
2022-03-16 15:49:25 +01:00
|
|
|
border: 1px solid var(--color-border-default);
|
|
|
|
background: var(--color-background-default);
|
2017-09-08 01:47:07 +02:00
|
|
|
}
|
|
|
|
|
2017-10-13 00:46:09 +02:00
|
|
|
.menu-icon-circle div,
|
|
|
|
.menu-icon-circle--active div {
|
2017-10-24 09:54:49 +02:00
|
|
|
height: 12px;
|
|
|
|
width: 12px;
|
2017-09-08 01:47:07 +02:00
|
|
|
border-radius: 17px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-icon-circle--active div {
|
|
|
|
opacity: 1;
|
2017-09-07 00:37:48 +02:00
|
|
|
}
|
2017-09-07 00:56:54 +02:00
|
|
|
|
|
|
|
.network-dropdown-header {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2021-11-15 21:19:14 +01:00
|
|
|
.network-dropdown-list {
|
|
|
|
max-height: 330px;
|
|
|
|
overflow-y: auto;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
2017-09-07 00:56:54 +02:00
|
|
|
.network-dropdown-divider {
|
|
|
|
width: 100%;
|
|
|
|
height: 1px;
|
|
|
|
margin: 10px 0;
|
2022-03-16 15:49:25 +01:00
|
|
|
background-color: var(--color-border-default);
|
2017-09-07 00:56:54 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.network-dropdown-title {
|
2020-10-29 16:03:45 +01:00
|
|
|
@include H4;
|
|
|
|
|
2017-09-07 00:56:54 +02:00
|
|
|
height: 25px;
|
2018-04-10 11:47:59 +02:00
|
|
|
width: 120px;
|
2022-03-16 15:49:25 +01:00
|
|
|
color: var(--color-text-default);
|
2017-09-07 00:56:54 +02:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.network-dropdown-content {
|
2020-10-29 16:03:45 +01:00
|
|
|
@include H6;
|
|
|
|
|
2020-07-27 22:01:21 +02:00
|
|
|
min-height: 36px;
|
2017-09-07 00:56:54 +02:00
|
|
|
width: 265px;
|
2022-03-16 15:49:25 +01:00
|
|
|
color: var(--color-text-default);
|
2021-11-08 21:58:23 +01:00
|
|
|
|
|
|
|
&--link {
|
2022-03-16 15:49:25 +01:00
|
|
|
color: var(--color-primary-default);
|
2021-11-08 21:58:23 +01:00
|
|
|
cursor: pointer;
|
|
|
|
text-decoration: underline;
|
|
|
|
|
|
|
|
&:hover {
|
2022-03-16 15:49:25 +01:00
|
|
|
color: var(--color-primary-alternative);
|
2021-11-08 21:58:23 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-16 21:32:40 +01:00
|
|
|
&--dismiss {
|
2021-11-08 21:58:23 +01:00
|
|
|
position: absolute;
|
2021-11-16 21:32:40 +01:00
|
|
|
top: 63px;
|
2021-11-08 21:58:23 +01:00
|
|
|
right: 10px;
|
2022-03-16 15:49:25 +01:00
|
|
|
padding: 2px 8px;
|
|
|
|
width: auto;
|
2021-11-08 21:58:23 +01:00
|
|
|
}
|
2017-09-07 00:56:54 +02:00
|
|
|
}
|
|
|
|
|
2018-01-12 01:59:00 +01:00
|
|
|
.network-caret {
|
2019-04-17 08:47:11 +02:00
|
|
|
margin: 0 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.network-loading-spinner {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: center;
|
|
|
|
position: relative;
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
margin-left: 5px;
|
|
|
|
|
|
|
|
img {
|
|
|
|
height: 26px;
|
|
|
|
position: absolute;
|
|
|
|
top: -5px;
|
|
|
|
left: -6px;
|
|
|
|
}
|
2018-01-12 01:59:00 +01:00
|
|
|
}
|
2022-03-16 15:49:25 +01:00
|
|
|
|
|
|
|
.network__add-network-button {
|
|
|
|
padding: 0 16px;
|
|
|
|
}
|