2020-08-05 15:43:07 +02:00
|
|
|
@import './send-content/send-gas-row/send-gas-row';
|
|
|
|
|
2019-07-31 21:56:44 +02:00
|
|
|
.send {
|
|
|
|
&__header {
|
|
|
|
position: relative;
|
2020-11-06 00:04:01 +01:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2019-07-31 21:56:44 +02:00
|
|
|
background-color: $Grey-000;
|
|
|
|
border-bottom: none;
|
|
|
|
padding: 14px 0 3px 0;
|
|
|
|
|
|
|
|
.page-container__title {
|
2020-07-29 17:35:53 +02:00
|
|
|
@include H4;
|
2020-07-15 15:13:40 +02:00
|
|
|
|
2019-07-31 21:56:44 +02:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-container__header-close-text {
|
2020-10-29 17:31:48 +01:00
|
|
|
@include H5;
|
|
|
|
|
2019-07-31 21:56:44 +02:00
|
|
|
position: absolute;
|
|
|
|
right: 1rem;
|
2020-08-19 18:41:56 +02:00
|
|
|
width: min-content;
|
2020-12-10 19:02:57 +01:00
|
|
|
font-size: 0.75rem;
|
2021-09-17 06:37:50 +02:00
|
|
|
white-space: nowrap;
|
2019-07-31 21:56:44 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__dialog {
|
|
|
|
margin: 1rem;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__error-dialog {
|
|
|
|
margin: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__to-row {
|
|
|
|
margin: 0;
|
2020-07-15 15:13:40 +02:00
|
|
|
padding: 0.5rem;
|
2019-07-31 21:56:44 +02:00
|
|
|
flex: 0 0 auto;
|
|
|
|
background-color: $Grey-000;
|
|
|
|
border-bottom: 1px solid $alto;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__select-recipient-wrapper {
|
|
|
|
@extend %col-nowrap;
|
2020-07-15 15:13:40 +02:00
|
|
|
|
2019-07-31 21:56:44 +02:00
|
|
|
flex: 1 1 auto;
|
|
|
|
height: 0;
|
|
|
|
|
|
|
|
&__list {
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
|
|
&__link {
|
2020-10-29 17:31:48 +01:00
|
|
|
@include Paragraph;
|
|
|
|
|
2019-07-31 21:56:44 +02:00
|
|
|
@extend %row-nowrap;
|
2020-07-15 15:13:40 +02:00
|
|
|
|
2019-07-31 21:56:44 +02:00
|
|
|
padding: 1rem;
|
|
|
|
border-bottom: 1px solid $alto;
|
2020-10-30 19:38:58 +01:00
|
|
|
border-radius: 0;
|
2019-07-31 21:56:44 +02:00
|
|
|
align-items: center;
|
2020-08-19 18:41:56 +02:00
|
|
|
justify-content: flex-start;
|
2019-07-31 21:56:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__back-caret {
|
|
|
|
@extend %bg-contain;
|
2020-07-15 15:13:40 +02:00
|
|
|
|
2019-07-31 21:56:44 +02:00
|
|
|
display: block;
|
|
|
|
background-image: url('/images/caret-left.svg');
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
2020-07-15 15:13:40 +02:00
|
|
|
margin-right: 0.5rem;
|
2019-09-03 19:47:54 +02:00
|
|
|
|
|
|
|
[dir='rtl'] & {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
2019-07-31 21:56:44 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__recent-group-wrapper {
|
|
|
|
@extend %col-nowrap;
|
|
|
|
|
|
|
|
&__load-more {
|
2020-10-29 17:31:48 +01:00
|
|
|
@include H7;
|
|
|
|
|
2020-07-15 15:13:40 +02:00
|
|
|
padding: 0.5rem;
|
2019-07-31 21:56:44 +02:00
|
|
|
text-align: center;
|
|
|
|
border-bottom: 1px solid $alto;
|
2020-08-19 18:41:56 +02:00
|
|
|
justify-content: flex-start;
|
2019-07-31 21:56:44 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__group {
|
|
|
|
@extend %col-nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__group-label {
|
2020-07-29 17:35:53 +02:00
|
|
|
@include H8;
|
2020-07-15 15:13:40 +02:00
|
|
|
|
2019-07-31 21:56:44 +02:00
|
|
|
background-color: $Grey-000;
|
|
|
|
color: $Grey-600;
|
2020-07-15 15:13:40 +02:00
|
|
|
padding: 0.5rem 1rem;
|
2019-07-31 21:56:44 +02:00
|
|
|
border-bottom: 1px solid $alto;
|
|
|
|
|
|
|
|
&:first-of-type {
|
|
|
|
border-top: 1px solid $alto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-15 15:13:40 +02:00
|
|
|
&__group-item,
|
|
|
|
&__group-item--selected {
|
2019-07-31 21:56:44 +02:00
|
|
|
@extend %row-nowrap;
|
2020-07-15 15:13:40 +02:00
|
|
|
|
|
|
|
padding: 0.75rem 1rem;
|
2019-07-31 21:56:44 +02:00
|
|
|
align-items: center;
|
|
|
|
border-bottom: 1px solid $alto;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba($alto, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
.identicon {
|
|
|
|
margin-right: 1rem;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
@extend %col-nowrap;
|
2020-07-15 15:13:40 +02:00
|
|
|
|
2019-07-31 21:56:44 +02:00
|
|
|
flex: 1 1 auto;
|
|
|
|
width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__title {
|
2020-10-29 17:31:48 +01:00
|
|
|
@include H6;
|
|
|
|
|
2021-09-03 17:54:20 +02:00
|
|
|
max-width: 20em;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
2019-07-31 21:56:44 +02:00
|
|
|
color: $black;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__subtitle {
|
2020-07-29 17:35:53 +02:00
|
|
|
@include H8;
|
2020-07-15 15:13:40 +02:00
|
|
|
|
2019-07-31 21:56:44 +02:00
|
|
|
color: $Grey-500;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__group-item--selected {
|
|
|
|
border: 2px solid #2b7cd6;
|
|
|
|
border-radius: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ens-input {
|
|
|
|
@extend %row-nowrap;
|
|
|
|
|
|
|
|
&__wrapper {
|
|
|
|
@extend %row-nowrap;
|
2020-07-15 15:13:40 +02:00
|
|
|
|
2019-07-31 21:56:44 +02:00
|
|
|
flex: 1 1 auto;
|
|
|
|
width: 0;
|
|
|
|
align-items: center;
|
|
|
|
background: $white;
|
2020-07-15 15:13:40 +02:00
|
|
|
border-radius: 0.5rem;
|
|
|
|
padding: 0.75rem 0.5rem;
|
2019-07-31 21:56:44 +02:00
|
|
|
border: 1px solid $Grey-100;
|
|
|
|
transition: border-color 150ms ease-in-out;
|
|
|
|
|
|
|
|
&:focus-within {
|
|
|
|
border-color: $Grey-500;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__status-icon {
|
|
|
|
@extend %bg-contain;
|
2020-07-15 15:13:40 +02:00
|
|
|
|
2021-11-04 07:58:32 +01:00
|
|
|
background-image: url('/images/search-black.svg');
|
2019-07-31 21:56:44 +02:00
|
|
|
width: 1.125rem;
|
|
|
|
height: 1.125rem;
|
2020-07-15 15:13:40 +02:00
|
|
|
margin: 0.25rem 0.5rem 0.25rem 0.25rem;
|
2019-07-31 21:56:44 +02:00
|
|
|
|
|
|
|
&--valid {
|
2021-11-04 07:58:32 +01:00
|
|
|
background-image: url('/images/check-green-solid.svg');
|
2019-07-31 21:56:44 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__input {
|
2020-07-29 17:35:53 +02:00
|
|
|
@include H6;
|
2020-07-15 15:13:40 +02:00
|
|
|
|
2019-07-31 21:56:44 +02:00
|
|
|
flex: 1 1 auto;
|
|
|
|
width: 0;
|
|
|
|
border: 0;
|
|
|
|
outline: none;
|
|
|
|
|
|
|
|
&::placeholder {
|
|
|
|
color: $Grey-200;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__action-icon {
|
|
|
|
@extend %bg-contain;
|
2020-07-15 15:13:40 +02:00
|
|
|
|
2019-07-31 21:56:44 +02:00
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&--erase {
|
2021-11-04 07:58:32 +01:00
|
|
|
background-image: url('/images/close-gray.svg');
|
2020-11-09 16:52:06 +01:00
|
|
|
background-color: unset;
|
2020-07-15 15:13:40 +02:00
|
|
|
width: 0.75rem;
|
|
|
|
height: 0.75rem;
|
|
|
|
margin: 0 0.25rem;
|
2019-07-31 21:56:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&--qrcode {
|
2021-11-04 07:58:32 +01:00
|
|
|
background-image: url('/images/qr-blue.svg');
|
2020-11-09 16:52:06 +01:00
|
|
|
background-color: unset;
|
2019-07-31 21:56:44 +02:00
|
|
|
width: 1.5rem;
|
|
|
|
height: 1.5rem;
|
2020-07-15 15:13:40 +02:00
|
|
|
margin: 0 0.25rem;
|
2019-07-31 21:56:44 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--valid {
|
|
|
|
border-color: $Blue-500;
|
|
|
|
|
|
|
|
.ens-input__wrapper {
|
|
|
|
&__status-icon {
|
2021-11-04 07:58:32 +01:00
|
|
|
background-image: url('/images/check-green-solid.svg');
|
2019-07-31 21:56:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__input {
|
|
|
|
@extend %col-nowrap;
|
2020-07-15 15:13:40 +02:00
|
|
|
|
2020-10-29 17:31:48 +01:00
|
|
|
@include H7;
|
|
|
|
|
2019-07-31 21:56:44 +02:00
|
|
|
color: $Blue-500;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__selected-input {
|
|
|
|
&__title {
|
2020-10-29 17:31:48 +01:00
|
|
|
@include H6;
|
2020-07-15 15:13:40 +02:00
|
|
|
|
2020-10-29 17:31:48 +01:00
|
|
|
@extend %ellipsify;
|
2021-11-04 07:58:32 +01:00
|
|
|
|
|
|
|
word-wrap: break-word;
|
|
|
|
white-space: inherit !important;
|
2019-07-31 21:56:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__subtitle {
|
2020-10-29 17:31:48 +01:00
|
|
|
@include H7;
|
|
|
|
|
2019-07-31 21:56:44 +02:00
|
|
|
color: $Grey-500;
|
2020-07-15 15:13:40 +02:00
|
|
|
margin-top: 0.25rem;
|
2019-07-31 21:56:44 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|