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.
252 lines
3.9 KiB
252 lines
3.9 KiB
6 years ago
|
.gas-price-button-group {
|
||
|
margin-top: 22px;
|
||
|
display: flex;
|
||
|
justify-content: space-evenly;
|
||
|
width: 100%;
|
||
|
padding-left: 20px;
|
||
|
padding-right: 20px;
|
||
|
|
||
|
&__primary-currency {
|
||
4 years ago
|
@include H4;
|
||
|
|
||
6 years ago
|
height: 20.5px;
|
||
|
margin-bottom: 7.5px;
|
||
|
}
|
||
|
|
||
|
&__time-estimate {
|
||
|
margin-top: 5.5px;
|
||
|
color: $silver-chalice;
|
||
|
height: 15.4px;
|
||
|
}
|
||
|
|
||
6 years ago
|
&__loading-container {
|
||
|
height: 130px;
|
||
|
}
|
||
6 years ago
|
|
||
4 years ago
|
.button-group__button,
|
||
|
.button-group__button--active {
|
||
4 years ago
|
@include H7;
|
||
|
|
||
6 years ago
|
height: 130px;
|
||
|
max-width: 108px;
|
||
|
flex-direction: column;
|
||
|
align-items: center;
|
||
|
display: flex;
|
||
|
padding-top: 17px;
|
||
|
border-radius: 4px;
|
||
4 years ago
|
border-color: $spindle;
|
||
6 years ago
|
background: $white;
|
||
|
color: $scorpion;
|
||
|
|
||
|
div {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
align-items: center;
|
||
|
}
|
||
|
|
||
|
i {
|
||
|
&:last-child {
|
||
|
display: none;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.button-group__button--active {
|
||
4 years ago
|
border-color: $primary-blue;
|
||
6 years ago
|
color: $scorpion;
|
||
|
|
||
|
i {
|
||
|
&:last-child {
|
||
|
display: flex;
|
||
4 years ago
|
color: $primary-blue;
|
||
4 years ago
|
margin-top: 8px;
|
||
6 years ago
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
6 years ago
|
|
||
|
.gas-price-button-group--small {
|
||
|
display: flex;
|
||
|
justify-content: stretch;
|
||
4 years ago
|
min-height: 54px;
|
||
6 years ago
|
|
||
|
@media screen and (max-width: $break-small) {
|
||
|
max-width: 260px;
|
||
|
}
|
||
6 years ago
|
|
||
|
&__button-fiat-price {
|
||
4 years ago
|
@include H6;
|
||
6 years ago
|
}
|
||
|
|
||
|
&__button-label {
|
||
4 years ago
|
@include Paragraph;
|
||
6 years ago
|
}
|
||
|
|
||
|
&__label {
|
||
|
font-weight: 500;
|
||
6 years ago
|
line-height: 16px;
|
||
|
padding-bottom: 4px;
|
||
6 years ago
|
}
|
||
|
|
||
|
&__primary-currency {
|
||
4 years ago
|
@include H7;
|
||
|
|
||
6 years ago
|
padding-bottom: 2px;
|
||
6 years ago
|
|
||
|
@media screen and (max-width: 575px) {
|
||
4 years ago
|
@include H8;
|
||
6 years ago
|
}
|
||
6 years ago
|
}
|
||
|
|
||
|
&__secondary-currency {
|
||
4 years ago
|
@include H7;
|
||
|
|
||
6 years ago
|
padding-bottom: 2px;
|
||
6 years ago
|
|
||
|
@media screen and (max-width: 575px) {
|
||
4 years ago
|
@include H8;
|
||
6 years ago
|
}
|
||
6 years ago
|
}
|
||
|
|
||
|
&__loading-container {
|
||
6 years ago
|
height: 54px;
|
||
6 years ago
|
}
|
||
|
|
||
4 years ago
|
.button-group__button,
|
||
|
.button-group__button--active {
|
||
6 years ago
|
background: white;
|
||
|
color: $scorpion;
|
||
4 years ago
|
padding: 4px;
|
||
6 years ago
|
|
||
6 years ago
|
div {
|
||
|
display: flex;
|
||
|
flex-flow: column;
|
||
|
align-items: flex-start;
|
||
|
justify-content: flex-start;
|
||
|
}
|
||
|
|
||
|
i {
|
||
|
&:last-child {
|
||
|
display: none;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.button-group__button--active {
|
||
|
color: $white;
|
||
|
background: $dodger-blue;
|
||
|
|
||
|
i {
|
||
|
&:last-child {
|
||
|
display: flex;
|
||
4 years ago
|
color: $primary-blue;
|
||
4 years ago
|
margin-top: 10px;
|
||
6 years ago
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
6 years ago
|
|
||
|
.gas-price-button-group--alt {
|
||
|
display: flex;
|
||
|
justify-content: stretch;
|
||
6 years ago
|
width: 95%;
|
||
6 years ago
|
|
||
|
&__button-fiat-price {
|
||
4 years ago
|
@include H6;
|
||
6 years ago
|
}
|
||
|
|
||
|
&__button-label {
|
||
4 years ago
|
@include Paragraph;
|
||
6 years ago
|
}
|
||
|
|
||
|
&__label {
|
||
4 years ago
|
@include H8;
|
||
|
|
||
6 years ago
|
font-weight: 500;
|
||
|
text-transform: capitalize;
|
||
|
}
|
||
|
|
||
|
&__primary-currency {
|
||
4 years ago
|
@include H7;
|
||
|
|
||
6 years ago
|
margin-top: 3px;
|
||
|
}
|
||
|
|
||
|
&__secondary-currency {
|
||
4 years ago
|
@include H7;
|
||
6 years ago
|
}
|
||
|
|
||
|
&__loading-container {
|
||
|
height: 78px;
|
||
|
}
|
||
|
|
||
|
&__time-estimate {
|
||
4 years ago
|
@include H7;
|
||
|
|
||
6 years ago
|
font-weight: 500;
|
||
|
margin-top: 4px;
|
||
|
color: $black;
|
||
|
}
|
||
|
|
||
4 years ago
|
.button-group__button,
|
||
|
.button-group__button--active {
|
||
6 years ago
|
height: 78px;
|
||
|
background: white;
|
||
4 years ago
|
color: #2a4055;
|
||
6 years ago
|
width: 108px;
|
||
|
height: 97px;
|
||
4 years ago
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.151579);
|
||
6 years ago
|
border-radius: 6px;
|
||
|
border: none;
|
||
|
|
||
|
div {
|
||
|
display: flex;
|
||
4 years ago
|
flex-flow: column;
|
||
6 years ago
|
align-items: flex-start;
|
||
|
justify-content: flex-start;
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.button-check-wrapper {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
&:first-child {
|
||
|
margin-right: 6px;
|
||
|
}
|
||
|
|
||
|
&:last-child {
|
||
|
margin-left: 6px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.button-group__button--active {
|
||
4 years ago
|
background: #f7fcff;
|
||
4 years ago
|
border-color: #2c8bdc;
|
||
6 years ago
|
|
||
4 years ago
|
&:first-child {
|
||
4 years ago
|
border-color: #2c8bdc;
|
||
4 years ago
|
}
|
||
|
|
||
6 years ago
|
.button-check-wrapper {
|
||
|
height: 16px;
|
||
|
width: 16px;
|
||
|
border-radius: 8px;
|
||
|
position: absolute;
|
||
|
top: -11px;
|
||
|
right: -10px;
|
||
4 years ago
|
background: #d5ecfa;
|
||
6 years ago
|
display: flex;
|
||
|
flex-flow: row;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
}
|
||
|
|
||
|
i {
|
||
|
display: flex;
|
||
4 years ago
|
color: $primary-blue;
|
||
4 years ago
|
font-weight: 900;
|
||
6 years ago
|
}
|
||
|
}
|
||
|
}
|