1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-01 21:57:06 +01:00
metamask-extension/ui/components/app/gas-customization/gas-modal-page-container/index.scss

161 lines
2.5 KiB
SCSS
Raw Normal View History

@import './advanced-tab-content/index';
@import './basic-tab-content/index';
.gas-modal-page-container {
.page-container {
max-width: 391px;
min-height: 585px;
overflow-y: initial;
2022-08-04 16:03:02 +02:00
@include screen-sm-max {
&__content {
display: flex;
overflow-y: initial;
}
}
&__header {
padding: 0;
padding-top: 16px;
&--no-padding-bottom {
padding-bottom: 0;
}
}
&__footer {
footer {
padding-top: 12px;
padding-bottom: 12px;
}
}
&__header-close-text {
@include H6;
2022-03-19 01:43:10 +01:00
color: var(--color-primary-default);
position: absolute;
font-size: 0.75rem;
2021-07-14 04:06:12 +02:00
top: 8px;
right: 16px;
cursor: pointer;
overflow: hidden;
width: min-content;
}
&__title {
@include H5;
2022-03-19 01:43:10 +01:00
color: var(--color-text-default);
font-weight: 500;
display: flex;
justify-content: center;
align-items: flex-start;
2018-11-27 18:30:41 +01:00
margin-right: 0;
}
&__subtitle {
display: none;
}
&__tab {
margin-right: 0;
}
&__tabs {
margin-top: 0;
}
&__tab {
@include H6;
width: 100%;
&:last-of-type {
margin-right: 0;
}
& button {
font-size: unset;
}
&.tab--active button {
2022-03-19 01:43:10 +01:00
color: var(--color-primary-default);
}
}
}
}
.gas-modal-content {
2022-08-04 16:03:02 +02:00
@include screen-sm-max {
width: 100%;
}
&__basic-tab {
height: 219px;
}
&__info-row,
&__info-row--fade {
@include H7;
width: 100%;
2022-03-19 01:43:10 +01:00
background: var(--color-background-alternative);
padding: 15px 21px;
display: flex;
flex-flow: column;
2022-03-19 01:43:10 +01:00
color: var(--color-text-alternative);
&__send-info,
&__transaction-info,
&__total-info,
&__fiat-total-info {
display: flex;
flex-flow: row;
justify-content: space-between;
}
&__fiat-total-info {
justify-content: flex-end;
}
&__total-info {
&__label {
@include Paragraph;
2022-08-04 16:03:02 +02:00
@include screen-sm-max {
@include H6;
}
}
&__value {
@include Paragraph;
font-weight: bold;
2022-08-04 16:03:02 +02:00
@include screen-sm-max {
@include H6;
}
}
}
&__transaction-info,
&__send-info {
&__label {
@include H7;
}
&__value {
@include H6;
}
}
}
&__info-row--fade {
2022-03-19 01:43:10 +01:00
background: var(--color-background-default);
color: var(--color-text-muted);
border-top: 1px solid var(--color-border-muted);
}
}