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;
|
2022-03-16 15:49:25 +01:00
|
|
|
background-color: var(--color-background-alternative);
|
2019-07-31 21:56:44 +02:00
|
|
|
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;
|
2022-03-16 15:49:25 +01:00
|
|
|
background-color: var(--color-background-alternative);
|
|
|
|
border-bottom: 1px solid var(--color-border-muted);
|
2019-07-31 21:56:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__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;
|
2022-03-16 15:49:25 +01:00
|
|
|
border-bottom: 1px solid var(--color-border-muted);
|
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;
|
2022-03-08 22:50:35 +01:00
|
|
|
margin-right: 8px;
|
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;
|
2022-03-16 15:49:25 +01:00
|
|
|
border-bottom: 1px solid var(--color-border-muted);
|
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
|
|
|
|
2022-03-16 15:49:25 +01:00
|
|
|
background-color: var(--color-background-alternative);
|
|
|
|
color: var(--color-text-alternative);
|
2020-07-15 15:13:40 +02:00
|
|
|
padding: 0.5rem 1rem;
|
2022-03-16 15:49:25 +01:00
|
|
|
border-bottom: 1px solid var(--color-border-muted);
|
2019-07-31 21:56:44 +02:00
|
|
|
|
|
|
|
&:first-of-type {
|
2022-03-16 15:49:25 +01:00
|
|
|
border-top: 1px solid var(--color-border-muted);
|
2019-07-31 21:56:44 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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;
|
2022-03-16 15:49:25 +01:00
|
|
|
border-bottom: 1px solid var(--color-border-muted);
|
2019-07-31 21:56:44 +02:00
|
|
|
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;
|
2022-03-16 15:49:25 +01:00
|
|
|
color: var(--color-text-default);
|
2019-07-31 21:56:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__subtitle {
|
2020-07-29 17:35:53 +02:00
|
|
|
@include H8;
|
2020-07-15 15:13:40 +02:00
|
|
|
|
2022-03-16 15:49:25 +01:00
|
|
|
color: var(--color-text-muted);
|
2019-07-31 21:56:44 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__group-item--selected {
|
2022-03-24 19:08:08 +01:00
|
|
|
border: 2px solid var(--color-primary-default);
|
2019-07-31 21:56:44 +02:00
|
|
|
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;
|
2022-03-16 15:49:25 +01:00
|
|
|
background: var(--color-background-default);
|
2020-07-15 15:13:40 +02:00
|
|
|
border-radius: 0.5rem;
|
|
|
|
padding: 0.75rem 0.5rem;
|
2022-03-16 15:49:25 +01:00
|
|
|
border: 1px solid var(--color-border-muted);
|
2019-07-31 21:56:44 +02:00
|
|
|
transition: border-color 150ms ease-in-out;
|
|
|
|
|
|
|
|
&:focus-within {
|
2022-03-16 15:49:25 +01:00
|
|
|
border-color: var(--color-border-default);
|
2019-07-31 21:56:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__status-icon {
|
2022-03-23 16:45:52 +01:00
|
|
|
margin: 4px 8px 4px 4px;
|
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;
|
2022-03-16 23:21:55 +01:00
|
|
|
color: var(--color-text-default);
|
|
|
|
background-color: var(--color-background-default);
|
2019-07-31 21:56:44 +02:00
|
|
|
|
|
|
|
&::placeholder {
|
2022-03-23 16:43:53 +01:00
|
|
|
color: var(--color-text-muted);
|
2019-07-31 21:56:44 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-03-23 16:45:52 +01:00
|
|
|
&__action-icon-button {
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
padding: 0 8px;
|
|
|
|
height: 24px;
|
|
|
|
font-size: 16px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2019-07-31 21:56:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&--valid {
|
2022-03-16 15:49:25 +01:00
|
|
|
border-color: var(--color-primary-default);
|
2019-07-31 21:56:44 +02:00
|
|
|
|
|
|
|
.ens-input__wrapper {
|
|
|
|
&__input {
|
|
|
|
@extend %col-nowrap;
|
2020-07-15 15:13:40 +02:00
|
|
|
|
2020-10-29 17:31:48 +01:00
|
|
|
@include H7;
|
|
|
|
|
2022-03-16 15:49:25 +01:00
|
|
|
color: var(--color-primary-default);
|
2019-07-31 21:56:44 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__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;
|
|
|
|
|
2022-05-25 17:35:36 +02:00
|
|
|
color: var(--color-text-default);
|
2020-07-15 15:13:40 +02:00
|
|
|
margin-top: 0.25rem;
|
2019-07-31 21:56:44 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|