1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-13 05:07:12 +01:00
metamask-extension/ui/pages/swaps/swaps-footer/index.scss
Daniel c8b697687f
Swaps UI redesign for the View Quote page (#12950)
* Update EIP-1559 UI on the View Quote page (WIP)

* UI redesign for the View Quote page in Swaps, update tests,  refactoring

* Update styles for the View Quote page

* Improve scrolling and styling for the View Quote page

* Update snapshots

* Fix a scrolling issue

* Use Ethereum mainnet for swaps API calls if it's Rinkeby

* UI / content updates on the View Quote page

* Remove unused content in Swaps

* Fix an ESLint issue

* Update UTs with the latest content

* Renaming

* Remove 2 more unused content strings
2021-12-07 00:21:26 -03:30

52 lines
858 B
SCSS

.swaps-footer {
width: 100%;
&--warning {
.btn-primary {
background: $Red-500;
border-color: $Red-500;
}
}
@media screen and (max-width: $break-small) {
&--border {
.swaps-footer__custom-page-container-footer-class {
border-top: 1px solid #d2d8dd;
}
}
}
&__custom-page-container-footer-class {
border-top: none;
@media screen and (min-width: $break-large) {
height: 96px;
}
}
&__custom-page-container-footer-button-class {
border-radius: 100px;
height: 39px;
width: 140px;
&--single {
width: 307px;
}
}
&__bottom-text {
@include H7;
color: $Blue-500;
margin-bottom: 16px;
cursor: pointer;
display: flex;
justify-content: center;
@media screen and (min-width: $break-large) {
margin-top: 0;
}
}
}