2017-10-24 10:07:51 +02:00
|
|
|
.network-component--disabled {
|
2019-12-05 21:23:43 +01:00
|
|
|
// border-color: transparent !important;
|
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 {
|
2019-06-13 04:56:04 +02:00
|
|
|
border: 2px solid $Grey-200;
|
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 {
|
|
|
|
background-color: rgba(3, 135, 137, .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 {
|
|
|
|
background-color: rgba(233, 21, 80, .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 {
|
|
|
|
background-color: rgba(105, 4, 150, .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 {
|
|
|
|
background-color: rgba(235, 179, 63, .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 {
|
|
|
|
background-color: rgba(48, 153, 242, .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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-06 22:24:06 +02:00
|
|
|
.network-indicator {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2017-08-14 10:31:27 +02:00
|
|
|
font-size: .6em;
|
2017-10-13 00:46:09 +02:00
|
|
|
|
2019-06-13 04:56:04 +02:00
|
|
|
&__down-arrow {
|
|
|
|
height: 8px;
|
|
|
|
width: 12px;
|
|
|
|
display: block;
|
|
|
|
background-image: url(/images/icons/caret-down.svg);
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: contain;
|
|
|
|
background-position: center;
|
|
|
|
margin: 0 8px;
|
2017-10-13 00:46:09 +02:00
|
|
|
}
|
2019-04-17 08:47:11 +02:00
|
|
|
|
|
|
|
.fa-question-circle {
|
|
|
|
margin: 0 4px 0 6px;
|
|
|
|
font-size: 1rem;
|
2019-04-25 05:01:24 +02:00
|
|
|
flex: 0 0 auto;
|
2019-04-17 08:47:11 +02:00
|
|
|
}
|
2017-08-06 22:24:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.network-name {
|
2017-09-05 00:55:14 +02:00
|
|
|
padding: 0 4px;
|
2017-10-13 00:46:09 +02:00
|
|
|
font-family: Roboto;
|
|
|
|
font-size: 12px;
|
2019-06-13 04:56:04 +02:00
|
|
|
line-height: 14px;
|
2019-04-25 05:01:24 +02:00
|
|
|
flex: 1 1 auto;
|
2018-01-12 01:59:00 +01:00
|
|
|
color: $tundora;
|
|
|
|
font-weight: 500;
|
2019-04-25 05:01:24 +02:00
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2019-06-13 04:56:04 +02:00
|
|
|
height: 16px;
|
2017-08-06 22:24:06 +02:00
|
|
|
}
|
2017-08-31 13:08:11 +02:00
|
|
|
|
2018-09-28 21:53:58 +02:00
|
|
|
.dropdown-menu-item .fa.delete {
|
|
|
|
margin-right: 10px;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu-item:hover .fa.delete {
|
|
|
|
display: inherit;
|
|
|
|
}
|
|
|
|
|
2017-09-05 00:55:14 +02:00
|
|
|
.network-droppo {
|
|
|
|
right: 2px;
|
|
|
|
|
|
|
|
@media screen and (min-width: 576px) {
|
|
|
|
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;
|
2017-08-31 13:08:11 +02:00
|
|
|
color: $dusty-gray;
|
2018-03-01 22:12:10 +01:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
2017-08-31 13:08:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.network-check,
|
|
|
|
.network-check__transparent {
|
|
|
|
color: $white;
|
|
|
|
margin-left: 7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.network-check__transparent {
|
|
|
|
opacity: 0;
|
2017-09-12 08:18:54 +02:00
|
|
|
width: 16px;
|
|
|
|
margin: 0;
|
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 {
|
2017-10-13 00:46:09 +02:00
|
|
|
border: 1px solid $white;
|
|
|
|
background: rgba(100, 100, 100, .4);
|
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%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.network-dropdown-divider {
|
|
|
|
width: 100%;
|
|
|
|
height: 1px;
|
|
|
|
margin: 10px 0;
|
|
|
|
background-color: $scorpion;
|
|
|
|
}
|
|
|
|
|
|
|
|
.network-dropdown-title {
|
|
|
|
height: 25px;
|
2018-04-10 11:47:59 +02:00
|
|
|
width: 120px;
|
2017-09-07 00:56:54 +02:00
|
|
|
color: $white;
|
2017-10-13 00:46:09 +02:00
|
|
|
font-family: Roboto;
|
2017-09-07 00:56:54 +02:00
|
|
|
font-size: 18px;
|
|
|
|
line-height: 25px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.network-dropdown-content {
|
|
|
|
height: 36px;
|
|
|
|
width: 265px;
|
|
|
|
color: $dusty-gray;
|
2017-10-13 00:46:09 +02:00
|
|
|
font-family: Roboto;
|
2017-09-07 00:56:54 +02:00
|
|
|
font-size: 14px;
|
|
|
|
line-height: 18px;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|