2020-10-06 20:28:38 +02:00
|
|
|
.view-quote {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
align-items: center;
|
|
|
|
flex: 1;
|
|
|
|
width: 100%;
|
|
|
|
|
2022-02-18 17:48:38 +01:00
|
|
|
&::after { // Hide preloaded images.
|
|
|
|
position: absolute;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
z-index: -1;
|
|
|
|
content: url('/images/transaction-background-top.svg') url('/images/transaction-background-bottom.svg'); // Preload images for the STX status page.
|
|
|
|
}
|
|
|
|
|
2020-10-06 20:28:38 +02:00
|
|
|
&__content {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
padding-left: 20px;
|
|
|
|
padding-right: 20px;
|
|
|
|
|
2021-02-04 16:58:46 +01:00
|
|
|
&_modal > div:not(.view-quote__warning-wrapper) {
|
|
|
|
opacity: 0.6;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2021-09-11 20:13:36 +02:00
|
|
|
@media screen and (max-width: $break-small) {
|
2020-10-06 20:28:38 +02:00
|
|
|
overflow-y: auto;
|
2021-05-27 19:27:18 +02:00
|
|
|
max-height: 420px;
|
2020-10-06 20:28:38 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-31 08:16:58 +02:00
|
|
|
@media screen and (min-width: $break-large) {
|
2020-10-06 20:28:38 +02:00
|
|
|
width: 348px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__new-quote-countdown {
|
|
|
|
@include H7;
|
|
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
|
|
&--danger {
|
|
|
|
span {
|
2022-01-06 18:35:49 +01:00
|
|
|
color: var(--Red-500);
|
2020-10-06 20:28:38 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-02 22:27:45 +01:00
|
|
|
&__price-difference-warning {
|
|
|
|
&-wrapper {
|
|
|
|
width: 100%;
|
|
|
|
|
2021-05-21 19:02:23 +02:00
|
|
|
&.low,
|
|
|
|
&.medium,
|
|
|
|
&.high {
|
|
|
|
.actionable-message {
|
|
|
|
.actionable-message__message {
|
|
|
|
color: inherit;
|
|
|
|
}
|
2020-12-02 22:27:45 +01:00
|
|
|
|
2021-05-21 19:02:23 +02:00
|
|
|
button {
|
|
|
|
font-size: $font-size-h8;
|
|
|
|
padding: 4px 12px;
|
|
|
|
border-radius: 42px;
|
|
|
|
}
|
2020-12-02 22:27:45 +01:00
|
|
|
}
|
2021-05-21 19:02:23 +02:00
|
|
|
}
|
2021-02-04 16:58:46 +01:00
|
|
|
|
2021-05-21 19:02:23 +02:00
|
|
|
&.low {
|
|
|
|
.actionable-message {
|
|
|
|
button {
|
2022-03-17 19:04:01 +01:00
|
|
|
background: var(--color-primary-default);
|
2021-05-21 19:02:23 +02:00
|
|
|
color: #fff;
|
|
|
|
}
|
2021-02-04 16:58:46 +01:00
|
|
|
}
|
2020-12-02 22:27:45 +01:00
|
|
|
}
|
|
|
|
|
2021-05-21 19:02:23 +02:00
|
|
|
&.medium {
|
2021-02-04 16:58:46 +01:00
|
|
|
.actionable-message {
|
2022-01-06 18:35:49 +01:00
|
|
|
border-color: var(--Yellow-500);
|
|
|
|
background: var(--Yellow-100);
|
2020-12-02 22:27:45 +01:00
|
|
|
|
2021-05-21 19:02:23 +02:00
|
|
|
button {
|
2022-01-06 18:35:49 +01:00
|
|
|
background: var(--Yellow-500);
|
2021-02-04 16:58:46 +01:00
|
|
|
}
|
|
|
|
}
|
2021-05-21 19:02:23 +02:00
|
|
|
}
|
2021-02-04 16:58:46 +01:00
|
|
|
|
2021-05-21 19:02:23 +02:00
|
|
|
&.high {
|
|
|
|
.actionable-message {
|
2022-01-06 18:35:49 +01:00
|
|
|
border-color: var(--Red-300);
|
|
|
|
background: var(--Red-000);
|
2021-02-04 16:58:46 +01:00
|
|
|
|
2021-05-21 19:02:23 +02:00
|
|
|
button {
|
2022-01-06 18:35:49 +01:00
|
|
|
background: var(--Red-500);
|
2021-05-21 19:02:23 +02:00
|
|
|
color: #fff;
|
|
|
|
}
|
2020-12-02 22:27:45 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-contents {
|
|
|
|
display: flex;
|
2021-02-04 16:58:46 +01:00
|
|
|
text-align: left;
|
2020-12-02 22:27:45 +01:00
|
|
|
|
|
|
|
&-title {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2021-02-04 16:58:46 +01:00
|
|
|
&-actions {
|
|
|
|
text-align: end;
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
|
|
|
|
2020-12-02 22:27:45 +01:00
|
|
|
i {
|
|
|
|
margin-inline-start: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__warning-wrapper {
|
2020-10-06 20:28:38 +02:00
|
|
|
width: 100%;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-12-08 17:47:53 +01:00
|
|
|
max-width: 340px;
|
2020-12-02 22:27:45 +01:00
|
|
|
margin-top: 8px;
|
2021-12-07 04:51:26 +01:00
|
|
|
margin-bottom: 8px;
|
2020-10-06 20:28:38 +02:00
|
|
|
|
2021-08-31 08:16:58 +02:00
|
|
|
@media screen and (min-width: $break-large) {
|
2020-12-02 22:27:45 +01:00
|
|
|
&--thin {
|
|
|
|
min-height: 36px;
|
|
|
|
}
|
|
|
|
|
2020-10-06 20:28:38 +02:00
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__bold {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__countdown-timer-container {
|
2020-12-08 17:47:53 +01:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
margin-top: 8px;
|
2020-10-06 20:28:38 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__fee-card-container {
|
2020-12-08 17:47:53 +01:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2020-10-06 20:28:38 +02:00
|
|
|
width: 100%;
|
2020-12-08 17:47:53 +01:00
|
|
|
max-width: 311px;
|
2020-10-06 20:28:38 +02:00
|
|
|
margin-bottom: 8px;
|
|
|
|
|
2021-08-31 08:16:58 +02:00
|
|
|
@media screen and (min-width: $break-large) {
|
2020-10-06 20:28:38 +02:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-19 21:45:32 +02:00
|
|
|
&__metamask-rate {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__metamask-rate-text {
|
|
|
|
@include H7;
|
|
|
|
|
2022-03-17 19:04:01 +01:00
|
|
|
color: var(--color-text-alternative);
|
2020-10-19 21:45:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__metamask-rate-info-icon {
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
2020-12-02 22:27:45 +01:00
|
|
|
|
|
|
|
&__thin-swaps-footer {
|
|
|
|
max-height: 82px;
|
2020-12-08 17:47:53 +01:00
|
|
|
|
2021-08-31 08:16:58 +02:00
|
|
|
@media screen and (min-width: $break-large) {
|
2020-12-08 17:47:53 +01:00
|
|
|
height: 72px;
|
|
|
|
}
|
2020-12-02 22:27:45 +01:00
|
|
|
}
|
2020-10-06 20:28:38 +02:00
|
|
|
}
|