2020-10-06 20:28:38 +02:00
|
|
|
.view-quote {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
align-items: center;
|
|
|
|
flex: 1;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
padding-left: 20px;
|
|
|
|
padding-right: 20px;
|
2020-10-19 21:45:32 +02:00
|
|
|
justify-content: space-between;
|
2020-10-06 20:28:38 +02:00
|
|
|
|
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 {
|
|
|
|
color: $Red-500;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__view-other-button-container {
|
|
|
|
border-radius: 28px;
|
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-12-08 17:47:53 +01:00
|
|
|
min-height: 46px;
|
2020-10-06 20:28:38 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__view-other-button,
|
|
|
|
&__view-other-button-fade {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
@include H7;
|
|
|
|
|
|
|
|
color: white;
|
|
|
|
font-weight: bold;
|
|
|
|
cursor: pointer;
|
|
|
|
border-radius: 28px;
|
|
|
|
padding: 5px 18px;
|
|
|
|
background: linear-gradient(90deg, $Blue-500 0%, $Blue-400 101.32%);
|
|
|
|
|
|
|
|
|
2021-08-31 08:16:58 +02:00
|
|
|
@media screen and (min-width: $break-large) {
|
2020-10-06 20:28:38 +02:00
|
|
|
@include H6;
|
|
|
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-arrow-right {
|
|
|
|
margin-left: 4px;
|
|
|
|
font-size: 10px;
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__view-other-button-fade {
|
|
|
|
background: #0372c3;
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity ease-in-out 1s;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
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 {
|
|
|
|
background: $Blue-500;
|
|
|
|
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 {
|
2021-05-21 19:02:23 +02:00
|
|
|
border-color: $Yellow-500;
|
|
|
|
background: $Yellow-100;
|
2020-12-02 22:27:45 +01:00
|
|
|
|
2021-05-21 19:02:23 +02:00
|
|
|
button {
|
|
|
|
background: $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 {
|
|
|
|
border-color: $Red-300;
|
|
|
|
background: $Red-000;
|
2021-02-04 16:58:46 +01:00
|
|
|
|
2021-05-21 19:02:23 +02:00
|
|
|
button {
|
|
|
|
background: $Red-500;
|
|
|
|
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-05-21 19:02:23 +02:00
|
|
|
margin-bottom: 28px;
|
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
|
|
|
width: 152px;
|
|
|
|
min-height: 32px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
border-radius: 42px;
|
|
|
|
background: #f2f3f4;
|
|
|
|
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;
|
|
|
|
|
|
|
|
color: $Grey-500;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__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
|
|
|
}
|