You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
283 lines
4.5 KiB
283 lines
4.5 KiB
4 years ago
|
@import 'quote-details/index';
|
||
|
|
||
|
.select-quote-popover {
|
||
|
&__button {
|
||
|
border-radius: 100px;
|
||
|
height: 39px;
|
||
|
width: 140px;
|
||
|
}
|
||
|
|
||
|
&__popover-wrap {
|
||
|
height: 100%;
|
||
|
|
||
|
@media screen and (min-width: 576px) {
|
||
|
height: 620px;
|
||
|
width: 348px;
|
||
|
}
|
||
|
|
||
|
.popover-content {
|
||
|
height: 100%;
|
||
|
padding-left: 8px;
|
||
|
padding-right: 8px;
|
||
|
}
|
||
|
|
||
|
.swaps__footer {
|
||
|
padding: 16px 24px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&__popover-bg {
|
||
|
height: 100%;
|
||
|
width: 100%;
|
||
|
background: $Grey-100;
|
||
|
opacity: 1;
|
||
|
|
||
|
@media screen and (min-width: 576px) {
|
||
|
opacity: 0.5;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&__sort-list {
|
||
|
display: flex;
|
||
|
flex-flow: column;
|
||
|
align-items: center;
|
||
|
}
|
||
|
|
||
|
&__column-headers {
|
||
|
@include H8;
|
||
|
|
||
|
font-weight: bold;
|
||
|
color: $Black-100;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
height: 43px;
|
||
|
width: 100%;
|
||
|
padding-left: 20px;
|
||
|
margin-bottom: 4px;
|
||
|
|
||
|
.select-quote-popover__receiving {
|
||
|
width: 96px;
|
||
|
}
|
||
|
|
||
|
.select-quote-popover__quote-source {
|
||
|
margin-right: 60px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&__column-header {
|
||
|
cursor: pointer;
|
||
|
font-size: 12px;
|
||
|
}
|
||
|
|
||
|
&__rows {
|
||
|
display: flex;
|
||
|
flex-flow: column;
|
||
|
align-items: center;
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
&__row {
|
||
|
@include H6;
|
||
|
|
||
|
cursor: pointer;
|
||
|
color: $black;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
height: 49px;
|
||
|
width: 100%;
|
||
|
border-bottom: 1px solid $Grey-100;
|
||
|
padding-left: 20px;
|
||
|
margin-bottom: 8px;
|
||
|
border-radius: 8px;
|
||
|
background: $Grey-000;
|
||
|
padding-right: 12px;
|
||
|
border: none;
|
||
|
|
||
|
&:hover {
|
||
|
border: 2px solid $Blue-500;
|
||
|
width: 101%;
|
||
|
padding-right: 11px;
|
||
|
padding-left: 19.5px;
|
||
|
}
|
||
|
|
||
|
&--no-hover {
|
||
|
&:hover {
|
||
|
border: 1px solid $Grey-100;
|
||
|
width: 100%;
|
||
|
padding-right: 12px;
|
||
|
padding-left: 20px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&--selected {
|
||
|
color: $white;
|
||
|
background: linear-gradient(90deg, $Blue-500 0%, $Blue-400 101.32%);
|
||
|
box-shadow: 0 10px 39px rgba(3, 125, 214, 0.15);
|
||
|
border-radius: 8px;
|
||
|
border-bottom: none;
|
||
|
border-top: none;
|
||
|
height: 64px;
|
||
|
|
||
|
&:hover {
|
||
|
background: linear-gradient(90deg, $Blue-500 0%, $Blue-400 101.32%);
|
||
|
width: 100%;
|
||
|
padding-left: 20px;
|
||
|
padding-right: 12px;
|
||
|
border: none;
|
||
|
}
|
||
|
|
||
|
.select-quote-popover__caret-right {
|
||
|
color: $white;
|
||
|
|
||
|
&:hover {
|
||
|
color: $Grey-500;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.select-quote-popover__zero-slippage {
|
||
|
color: $white;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&__receiving {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
width: 102px;
|
||
|
}
|
||
|
|
||
|
&__receiving-value {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
|
||
|
svg {
|
||
|
margin-right: 2px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&__receiving-value-text {
|
||
|
overflow: hidden;
|
||
|
text-overflow: ellipsis;
|
||
|
white-space: nowrap;
|
||
|
}
|
||
|
|
||
|
&__zero-slippage {
|
||
|
font-size: 12px;
|
||
|
line-height: 100%;
|
||
|
color: #6a737d;
|
||
|
font-weight: normal;
|
||
|
}
|
||
|
|
||
|
&__network-fees {
|
||
|
width: 110px;
|
||
|
}
|
||
|
|
||
|
&__quote-source {
|
||
|
width: 28px;
|
||
|
display: flex;
|
||
|
align-items: flex-end;
|
||
|
margin-right: 18px;
|
||
|
|
||
|
@media screen and (min-width: 576px) {
|
||
|
margin-right: 36px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&__quote-source-toggle {
|
||
|
margin-left: 2px;
|
||
|
height: 12px;
|
||
|
}
|
||
|
|
||
|
&__receiving-header {
|
||
|
display: flex;
|
||
|
flex-flow: column;
|
||
|
}
|
||
|
|
||
|
&__network-fees-header {
|
||
|
display: flex;
|
||
|
flex-flow: row;
|
||
|
align-items: flex-end;
|
||
|
|
||
|
> span {
|
||
|
width: 77px;
|
||
|
}
|
||
|
|
||
|
> div {
|
||
|
height: 12px;
|
||
|
}
|
||
|
|
||
|
> svg {
|
||
|
margin-bottom: 2px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
&__receiving-symbol {
|
||
|
color: $Grey-500;
|
||
|
|
||
|
> div {
|
||
|
width: 12px;
|
||
|
height: 12px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&__receiving-label {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
|
||
|
img {
|
||
|
height: 10px;
|
||
|
width: 10px;
|
||
|
margin-top: 2px;
|
||
|
}
|
||
|
|
||
|
> div {
|
||
|
margin-left: 3px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&__caret-right {
|
||
|
color: $Grey-500;
|
||
|
width: 32px;
|
||
|
height: 32px;
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
|
||
|
i {
|
||
|
transform: rotate(90deg);
|
||
|
}
|
||
|
|
||
|
&:hover {
|
||
|
border-radius: 8px;
|
||
|
background: white;
|
||
|
border: 1px solid $Blue-500;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&__quote-source-label {
|
||
|
height: 18px;
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
color: white;
|
||
|
border-radius: 5px;
|
||
|
padding: 4px;
|
||
|
font-size: 10px;
|
||
|
font-weight: bold;
|
||
|
padding-bottom: 2px;
|
||
|
|
||
|
&--blue {
|
||
|
background: $Blue-300;
|
||
|
}
|
||
|
|
||
|
&--orange {
|
||
|
background: $Orange-400;
|
||
|
}
|
||
|
|
||
|
&--green {
|
||
|
background: $Green-500;
|
||
|
}
|
||
|
}
|
||
|
}
|