2020-10-06 20:28:38 +02:00
|
|
|
.build-quote {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
align-items: center;
|
|
|
|
flex: 1;
|
|
|
|
width: 100%;
|
|
|
|
padding-top: 4px;
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
|
|
|
flex-direction: column;
|
|
|
|
padding-left: 24px;
|
|
|
|
padding-right: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__dropdown-swap-to-header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__dropdown-input-pair-header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: flex-end;
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 12px;
|
|
|
|
flex: 0.5 1 auto;
|
|
|
|
max-height: 56px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__title,
|
|
|
|
&__input-label {
|
|
|
|
@include H5;
|
|
|
|
|
|
|
|
font-weight: bold;
|
2022-03-17 19:04:01 +01:00
|
|
|
color: var(--color-text-default);
|
2020-10-06 20:28:38 +02:00
|
|
|
margin-top: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__swap-arrows-row {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
padding-right: 16px;
|
|
|
|
padding-top: 12px;
|
|
|
|
height: 24px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__swap-arrows {
|
2022-03-23 20:07:29 +01:00
|
|
|
display: flex;
|
2020-10-06 20:28:38 +02:00
|
|
|
flex: 0 0 auto;
|
2022-03-23 20:07:29 +01:00
|
|
|
height: 24px;
|
2020-10-06 20:28:38 +02:00
|
|
|
cursor: pointer;
|
2020-10-30 15:35:47 +01:00
|
|
|
background: unset;
|
2022-03-23 20:07:29 +01:00
|
|
|
color: var(--color-icon-muted);
|
2020-10-06 20:28:38 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__max-button {
|
|
|
|
@include H7;
|
|
|
|
|
2022-03-18 21:07:07 +01:00
|
|
|
color: var(--color-primary-default);
|
2020-10-06 20:28:38 +02:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__balance-message {
|
|
|
|
@include H7;
|
|
|
|
|
|
|
|
width: 100%;
|
2022-03-17 19:04:01 +01:00
|
|
|
color: var(--color-text-muted);
|
2020-10-06 20:28:38 +02:00
|
|
|
margin-top: 4px;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
2021-03-15 17:30:01 +01:00
|
|
|
height: 18px;
|
2020-10-06 20:28:38 +02:00
|
|
|
|
|
|
|
&--error {
|
|
|
|
div:first-of-type {
|
|
|
|
font-weight: bold;
|
2022-03-17 19:04:01 +01:00
|
|
|
color: var(--color-text-default);
|
2020-10-06 20:28:38 +02:00
|
|
|
}
|
|
|
|
|
2021-07-22 19:29:31 +02:00
|
|
|
.build-quote__form-error:first-of-type {
|
|
|
|
font-weight: bold;
|
2022-03-17 19:04:01 +01:00
|
|
|
color: var(--color-error-default);
|
2021-07-22 19:29:31 +02:00
|
|
|
}
|
|
|
|
|
2020-10-06 20:28:38 +02:00
|
|
|
div:last-of-type {
|
|
|
|
font-weight: normal;
|
2022-03-17 19:04:01 +01:00
|
|
|
color: var(--color-text-alternative);
|
2020-10-06 20:28:38 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__slippage-buttons-container {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
margin-top: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__open-dropdown,
|
|
|
|
&__open-to-dropdown {
|
|
|
|
max-height: 330px;
|
2022-07-22 00:43:31 +02:00
|
|
|
box-shadow: var(--shadow-size-sm) var(--color-shadow-default);
|
2020-10-06 20:28:38 +02:00
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2021-06-03 18:08:37 +02:00
|
|
|
.dropdown-input-pair {
|
|
|
|
.searchable-item-list {
|
|
|
|
&__item--add-token {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__to {
|
|
|
|
.searchable-item-list {
|
|
|
|
&__item--add-token {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-03-23 20:28:26 +01:00
|
|
|
|
|
|
|
&__input {
|
|
|
|
div {
|
|
|
|
border: 1px solid var(--color-border-default);
|
|
|
|
border-left: 0;
|
|
|
|
}
|
|
|
|
}
|
2021-06-03 18:08:37 +02:00
|
|
|
}
|
|
|
|
|
2020-10-06 20:28:38 +02:00
|
|
|
&__open-to-dropdown {
|
|
|
|
max-height: 194px;
|
|
|
|
|
2022-08-04 16:03:02 +02:00
|
|
|
@include screen-sm-min {
|
2020-10-06 20:28:38 +02:00
|
|
|
max-height: 276px;
|
|
|
|
}
|
|
|
|
}
|
2020-10-19 22:38:01 +02:00
|
|
|
|
2020-11-17 21:56:02 +01:00
|
|
|
&__token-message {
|
|
|
|
@include H7;
|
|
|
|
|
|
|
|
width: 100%;
|
2022-03-17 19:04:01 +01:00
|
|
|
color: var(--color-text-alternative);
|
2020-11-17 21:56:02 +01:00
|
|
|
margin-top: 4px;
|
2021-02-05 18:11:10 +01:00
|
|
|
|
|
|
|
.info-tooltip {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2020-11-17 21:56:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&__token-etherscan-link {
|
2022-03-17 19:04:01 +01:00
|
|
|
color: var(--color-primary-default);
|
2020-11-17 21:56:02 +01:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__token-tooltip-container {
|
|
|
|
// Needed to override the style property added by the react-tippy library
|
|
|
|
display: flex !important;
|
|
|
|
}
|
|
|
|
|
2021-02-05 18:11:10 +01:00
|
|
|
&__bold {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__underline {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2020-10-19 22:38:01 +02:00
|
|
|
/* Prevents the swaps "Swap to" field from overflowing */
|
|
|
|
.dropdown-input-pair__to .dropdown-search-list {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2020-10-06 20:28:38 +02:00
|
|
|
}
|
2022-02-18 17:48:38 +01:00
|
|
|
|
|
|
|
@keyframes slide-in {
|
|
|
|
100% { transform: translateY(0%); }
|
|
|
|
}
|
|
|
|
|
|
|
|
.smart-transactions-popover {
|
|
|
|
transform: translateY(-100%);
|
|
|
|
animation: slide-in 0.5s forwards;
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style: inside;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2022-03-17 19:04:01 +01:00
|
|
|
color: var(--color-primary-default);
|
2022-02-18 17:48:38 +01:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__footer {
|
|
|
|
flex-direction: column;
|
|
|
|
flex: 1;
|
|
|
|
align-items: center;
|
|
|
|
border-top: 0;
|
|
|
|
|
|
|
|
button {
|
|
|
|
border-radius: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
font-size: inherit;
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|