1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-04 23:14:56 +01:00
metamask-extension/ui/components/app/sidebars/sidebar-content.scss
2021-06-06 12:45:27 -02:30

105 lines
1.9 KiB
SCSS

.sidebar-left {
display: flex;
.gas-modal-page-container {
display: flex;
.page-container {
flex: 1;
max-width: 100%;
&__content {
display: flex;
overflow-y: initial;
}
@media screen and (max-width: $break-small) {
max-width: 344px;
min-height: auto;
}
@media screen and (min-width: $break-small) {
max-height: none;
}
}
.page-container__bottom {
display: flex;
flex-direction: column;
height: 100%;
}
.page-container__content {
overflow-y: inherit;
}
.basic-tab-content {
height: auto;
margin-bottom: 0;
border-bottom: 1px solid #d2d8dd;
flex: 1 1 70%;
@media screen and (max-width: $break-small) {
padding-left: 14px;
padding-bottom: 21px;
}
.gas-price-button-group--alt {
@media screen and (max-width: $break-small) {
max-width: 318px;
&__time-estimate {
@include H7;
}
}
}
}
.advanced-tab {
@media screen and (min-width: $break-small) {
flex: 1 1 70%;
}
&__fee-chart {
height: 320px;
@media screen and (max-width: $break-small) {
height: initial;
}
}
&__fee-chart__speed-buttons {
bottom: 77px;
@media screen and (max-width: $break-small) {
display: none;
}
}
}
.gas-modal-content {
display: flex;
flex-direction: column;
width: 100%;
&__info-row-wrapper {
display: flex;
@media screen and (min-width: $break-small) {
flex: 1 1 30%;
}
}
&__info-row {
height: 170px;
@media screen and (max-width: $break-small) {
height: initial;
display: flex;
justify-content: center;
}
}
}
}
}