2022-03-31 16:41:39 +02:00
|
|
|
@use "design-system";
|
|
|
|
|
2019-05-09 19:27:14 +02:00
|
|
|
.networks-tab {
|
2022-03-31 16:41:39 +02:00
|
|
|
&__imageclose {
|
|
|
|
cursor: pointer;
|
|
|
|
color: var(--color-icon-default);
|
|
|
|
}
|
|
|
|
|
2019-05-09 19:27:14 +02:00
|
|
|
&__content {
|
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
2022-03-31 16:41:39 +02:00
|
|
|
max-width: 779px;
|
2019-05-09 19:27:14 +02:00
|
|
|
justify-content: space-between;
|
|
|
|
|
2022-03-31 16:41:39 +02:00
|
|
|
&__custom-image {
|
|
|
|
border: 1px solid var(--color-border-default);
|
|
|
|
margin-inline-start: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__check-icon {
|
|
|
|
margin-inline-end: 10px;
|
|
|
|
color: var(--color-success-default);
|
|
|
|
|
|
|
|
&__transparent {
|
|
|
|
color: transparent;
|
|
|
|
width: 16px;
|
|
|
|
margin-inline-end: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__icon-with-fallback {
|
|
|
|
padding: 0 1px 2px 2px;
|
|
|
|
color: var(--color-primary-inverse); // TODO: design-tokens needs network colors
|
|
|
|
margin-inline-start: 8px;
|
|
|
|
|
|
|
|
@each $variant, $color in design-system.$color-map {
|
|
|
|
&--color-#{$variant} {
|
|
|
|
background: var($color);
|
|
|
|
color: var(--color-primary-inverse); // TODO: design-tokens needs network colors
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-31 08:16:58 +02:00
|
|
|
@media screen and (max-width: $break-small) {
|
2020-07-15 15:13:40 +02:00
|
|
|
margin-top: 0;
|
2020-10-27 22:55:09 +01:00
|
|
|
flex-direction: column;
|
|
|
|
overflow-x: hidden;
|
2020-10-28 23:29:31 +01:00
|
|
|
align-items: center;
|
2019-05-09 19:27:14 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__body {
|
2019-06-17 16:05:47 +02:00
|
|
|
padding-right: 24px;
|
2019-05-09 19:27:14 +02:00
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
2021-08-31 08:16:58 +02:00
|
|
|
@media screen and (max-width: $break-small) {
|
2019-05-09 19:27:14 +02:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-04 22:48:21 +01:00
|
|
|
&__subheader {
|
|
|
|
@include H4;
|
|
|
|
|
|
|
|
padding: 16px 4px;
|
2022-03-23 16:16:15 +01:00
|
|
|
border-bottom: 1px solid var(--color-border-default);
|
2021-11-04 22:48:21 +01:00
|
|
|
height: 72px;
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__subheader--break {
|
|
|
|
margin-inline-start: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__sub-header-text {
|
|
|
|
@include H4;
|
|
|
|
|
2022-03-23 16:16:15 +01:00
|
|
|
color: var(--color-text-muted);
|
2021-11-04 22:48:21 +01:00
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
2019-05-09 19:27:14 +02:00
|
|
|
&__network-form {
|
|
|
|
display: flex;
|
2022-02-04 19:14:52 +01:00
|
|
|
flex: 1 0;
|
2019-05-09 19:27:14 +02:00
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
2020-10-28 23:29:31 +01:00
|
|
|
max-height: 465px;
|
2022-03-31 16:41:39 +02:00
|
|
|
max-width: 400px;
|
2021-11-04 22:48:21 +01:00
|
|
|
margin-top: 24px;
|
2022-03-31 16:41:39 +02:00
|
|
|
padding-inline-start: 24px;
|
2019-05-09 19:27:14 +02:00
|
|
|
|
|
|
|
.page-container__footer {
|
|
|
|
border-top: none;
|
|
|
|
|
2021-08-31 08:16:58 +02:00
|
|
|
@media screen and (max-width: $break-small) {
|
2019-05-09 19:27:14 +02:00
|
|
|
width: 93%;
|
|
|
|
}
|
|
|
|
|
2020-02-27 23:00:20 +01:00
|
|
|
footer {
|
2020-07-15 15:13:40 +02:00
|
|
|
padding: 10px 0;
|
2019-05-09 19:27:14 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-31 08:16:58 +02:00
|
|
|
@media screen and (max-width: $break-small) {
|
2019-05-09 19:27:14 +02:00
|
|
|
display: flex;
|
|
|
|
flex: auto;
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
align-items: center;
|
2021-11-04 22:48:21 +01:00
|
|
|
width: 90%;
|
2019-05-09 19:27:14 +02:00
|
|
|
margin-top: 10px;
|
2022-03-31 16:41:39 +02:00
|
|
|
padding: 0;
|
2019-05-09 19:27:14 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-04 22:48:21 +01:00
|
|
|
&__add-network-form {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
max-height: 465px;
|
|
|
|
}
|
2020-06-12 20:21:29 +02:00
|
|
|
|
2021-11-04 22:48:21 +01:00
|
|
|
&__network-form-body {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 100%;
|
|
|
|
width: 95%;
|
2020-10-29 17:31:48 +01:00
|
|
|
|
2021-11-04 22:48:21 +01:00
|
|
|
&__view-only {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2020-10-27 22:55:09 +01:00
|
|
|
|
2021-11-04 22:48:21 +01:00
|
|
|
&__add-network-form-body {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 48% 48%;
|
|
|
|
column-gap: 5%;
|
|
|
|
margin-top: 24px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2019-05-09 19:27:14 +02:00
|
|
|
&__networks-list {
|
|
|
|
flex: 0.5 0 auto;
|
2022-03-31 16:41:39 +02:00
|
|
|
max-width: 350px;
|
|
|
|
border-right: 1px solid var(--color-border-default);
|
|
|
|
|
|
|
|
&__custom-search-network {
|
|
|
|
margin-top: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.MuiInput-input {
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.MuiTextField-root {
|
|
|
|
padding-inline-end: 16px;
|
|
|
|
|
|
|
|
#search-networks-helper-text {
|
|
|
|
color: var(--color-text-alternative);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
|
|
padding: 0 24px 0 24px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__label {
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
|
|
margin-inline-start: 58px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-09 19:27:14 +02:00
|
|
|
|
2021-08-31 08:16:58 +02:00
|
|
|
@media screen and (max-width: $break-small) {
|
2020-10-29 00:10:41 +01:00
|
|
|
flex: 1;
|
|
|
|
overflow-y: auto;
|
2019-05-09 19:27:14 +02:00
|
|
|
max-width: 100vw;
|
|
|
|
width: 100vw;
|
2021-11-04 22:48:21 +01:00
|
|
|
margin-top: 0;
|
2019-05-09 19:27:14 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-29 00:10:41 +01:00
|
|
|
&__networks-list-popup-footer {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
padding-top: 23px;
|
|
|
|
padding-bottom: 23px;
|
2022-03-23 16:16:15 +01:00
|
|
|
border-top: 1px solid var(--color-border-default);
|
2019-05-09 19:27:14 +02:00
|
|
|
|
2020-10-29 00:10:41 +01:00
|
|
|
.button {
|
|
|
|
width: 178px;
|
2019-05-09 19:27:14 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__add-network-header-button-wrapper {
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
.button {
|
2019-06-17 16:05:47 +02:00
|
|
|
width: 138px;
|
|
|
|
padding: 10px;
|
2019-05-09 19:27:14 +02:00
|
|
|
}
|
|
|
|
|
2021-08-31 08:16:58 +02:00
|
|
|
@media screen and (max-width: $break-small) {
|
2019-05-09 19:27:14 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__networks-list--selection {
|
2021-08-31 08:16:58 +02:00
|
|
|
@media screen and (max-width: $break-small) {
|
2019-05-09 19:27:14 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__networks-list-item {
|
|
|
|
display: flex;
|
2022-03-31 16:41:39 +02:00
|
|
|
padding: 12px 24px 12px 0;
|
2019-05-09 19:27:14 +02:00
|
|
|
position: relative;
|
2021-01-27 17:51:59 +01:00
|
|
|
align-items: center;
|
2022-03-31 16:41:39 +02:00
|
|
|
width: 311px;
|
2019-05-09 19:27:14 +02:00
|
|
|
|
2021-01-27 17:51:59 +01:00
|
|
|
.color-indicator {
|
2019-05-09 19:27:14 +02:00
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2020-10-28 23:29:31 +01:00
|
|
|
|
2021-08-31 08:16:58 +02:00
|
|
|
@media screen and (max-width: $break-small) {
|
2022-03-31 16:41:39 +02:00
|
|
|
margin: 0 4px 0 20px;
|
2020-10-28 23:29:31 +01:00
|
|
|
}
|
2019-05-09 19:27:14 +02:00
|
|
|
}
|
|
|
|
|
2021-08-31 08:16:58 +02:00
|
|
|
@media screen and (max-width: $break-small) {
|
2022-03-31 16:41:39 +02:00
|
|
|
padding: 12px 0 12px 24px;
|
2020-10-28 21:54:39 +01:00
|
|
|
max-width: 351px;
|
2019-05-09 19:27:14 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__networks-list-item:last-of-type {
|
2021-08-31 08:16:58 +02:00
|
|
|
@media screen and (max-width: $break-small) {
|
2019-05-09 19:27:14 +02:00
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__networks-list-name {
|
2020-10-29 17:31:48 +01:00
|
|
|
@include Paragraph;
|
|
|
|
|
2019-05-09 19:27:14 +02:00
|
|
|
margin-left: 11px;
|
2022-03-23 16:16:15 +01:00
|
|
|
color: var(--color-text-alternative);
|
2020-10-28 22:54:24 +01:00
|
|
|
width: 70%;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
2019-05-09 19:27:14 +02:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2020-08-19 17:01:58 +02:00
|
|
|
|
|
|
|
svg {
|
2022-03-31 16:41:39 +02:00
|
|
|
margin-inline-start: 15px;
|
2020-08-19 17:01:58 +02:00
|
|
|
padding-top: 3px;
|
|
|
|
}
|
2019-05-09 19:27:14 +02:00
|
|
|
|
2021-08-31 08:16:58 +02:00
|
|
|
@media screen and (max-width: $break-small) {
|
2022-03-31 16:41:39 +02:00
|
|
|
color: var(--color-text-default);
|
2019-05-09 19:27:14 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__networks-list-name--selected {
|
|
|
|
font-weight: bold;
|
2022-03-15 02:26:51 +01:00
|
|
|
color: var(--color-text-default);
|
2022-03-31 16:41:39 +02:00
|
|
|
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
|
|
font-weight: normal;
|
|
|
|
color: var(--color-text-default);
|
|
|
|
}
|
2019-05-09 19:27:14 +02:00
|
|
|
}
|
2020-08-19 17:01:58 +02:00
|
|
|
|
|
|
|
&__networks-list-name--disabled {
|
2022-03-23 16:16:15 +01:00
|
|
|
color: var(--color-text-muted);
|
2022-03-31 16:41:39 +02:00
|
|
|
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
|
|
color: var(--color-text-default);
|
|
|
|
}
|
2020-08-19 17:01:58 +02:00
|
|
|
}
|
2019-06-17 16:05:47 +02:00
|
|
|
|
2021-11-04 22:48:21 +01:00
|
|
|
&__network-form-footer {
|
2019-06-17 16:05:47 +02:00
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
2021-09-08 17:40:15 +02:00
|
|
|
padding: 0.75rem 0;
|
2021-11-04 22:48:21 +01:00
|
|
|
width: 95%;
|
2019-06-17 16:05:47 +02:00
|
|
|
|
2021-08-31 08:16:58 +02:00
|
|
|
@media screen and (max-width: $break-small) {
|
2020-10-27 23:36:50 +01:00
|
|
|
width: 93%;
|
|
|
|
}
|
|
|
|
|
2021-10-05 21:20:42 +02:00
|
|
|
.btn-secondary {
|
2020-07-15 15:13:40 +02:00
|
|
|
margin-right: 0.375rem;
|
2019-06-17 16:05:47 +02:00
|
|
|
}
|
|
|
|
|
2021-10-05 21:20:42 +02:00
|
|
|
.btn-primary {
|
2020-07-15 15:13:40 +02:00
|
|
|
margin-left: 0.375rem;
|
2019-06-17 16:05:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn-danger {
|
|
|
|
margin-right: 3.75rem;
|
|
|
|
}
|
|
|
|
}
|
2021-11-04 22:48:21 +01:00
|
|
|
|
|
|
|
&__add-network-form-footer {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row;
|
|
|
|
padding: 0.75rem 0;
|
|
|
|
width: 60%;
|
|
|
|
|
|
|
|
.btn-secondary {
|
|
|
|
margin-right: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-primary {
|
|
|
|
margin-left: 0.5rem;
|
|
|
|
}
|
|
|
|
}
|
2019-06-17 16:05:47 +02:00
|
|
|
}
|