1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-24 20:32:02 +02:00
metamask-extension/ui/app/pages/swaps/fee-card/index.scss
Dan J Miller 1e895c3110
Revert view quote design updates (#9904)
* Revert "Update fee card designs to show savings and MM fee (#9629)"

This reverts commit d9924ca771.

* Revert "Update main-quote-summary designs/styles (#9612)"

This reverts commit 5456d55c88.
2020-11-18 22:10:24 -03:30

137 lines
2.1 KiB
SCSS

.fee-card {
border-radius: 8px;
border: 1px solid $Grey-100;
width: 100%;
@include H7;
&__main {
padding: 16px 16px 12px 16px;
}
&__row-header {
display: flex;
align-items: center;
margin-top: 8px;
justify-content: space-between;
&:first-of-type {
margin-top: 0;
}
div {
display: flex;
align-items: center;
}
}
&__row-header-text,
&__row-header-text--bold {
margin-right: 4px;
cursor: pointer;
}
&__row,
&__top-bordered-row {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 8px;
}
&__top-bordered-row {
border-top: 1px solid #bbc0c5;
padding-top: 10px;
}
&__row-label {
display: flex;
align-items: center;
img {
height: 10px;
width: 10px;
margin-left: 4px;
cursor: pointer;
}
}
&__info-tooltip-container {
height: 10px;
width: 10px;
justify-content: center;
margin-top: 2px;
}
&__info-tooltip-paragraph {
margin-bottom: 8px;
}
&__info-tooltip-paragraph:last-of-type {
margin-bottom: 0;
}
&__row-fee {
margin-right: 4px;
}
&__link {
color: $Blue-500;
cursor: pointer;
}
&__total-box {
border-top: 1px solid $Grey-100;
padding: 12px 16px 16px 16px;
}
&__total-row {
display: flex;
justify-content: space-between;
align-items: center;
font-weight: bold;
}
&__total-secondary {
width: 100%;
display: flex;
justify-content: flex-end;
font-weight: bold;
color: $Grey-500;
margin-top: 4px;
}
&__row-header-secondary,
&__row-header-secondary--bold {
color: $Grey-500;
}
&__row-header-secondary,
&__row-header-secondary--bold {
margin-right: 12px;
}
&__row-header-primary,
&__row-header-primary--bold {
color: $Grey-500;
}
&__row-header-text--bold,
&__row-header-secondary--bold,
&__row-header-primary--bold {
font-weight: bold;
}
&__bold {
font-weight: bold;
}
}
.info-tooltip {
> div {
display: flex;
align-items: center;
margin-right: 4px;
}
}