mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-25 03:20:23 +01:00
5592687df1
* Updating design tokens v1.8 and shadows * Adding missing stories * Some fixes and updates to css and stories * removing unneeded story * Fixing story order
150 lines
3.1 KiB
SCSS
150 lines
3.1 KiB
SCSS
@import 'awaiting-swap/index';
|
|
@import 'awaiting-signatures/index';
|
|
@import 'smart-transaction-status/index';
|
|
@import 'build-quote/index';
|
|
@import 'countdown-timer/index';
|
|
@import 'dropdown-input-pair/index';
|
|
@import 'dropdown-search-list/index';
|
|
@import 'exchange-rate-display/index';
|
|
@import 'fee-card/index';
|
|
@import 'loading-swaps-quotes/index';
|
|
@import 'main-quote-summary/index';
|
|
@import 'searchable-item-list/index';
|
|
@import 'select-quote-popover/index';
|
|
@import 'slippage-buttons/index';
|
|
@import 'swaps-footer/index';
|
|
@import 'view-quote/index';
|
|
@import 'import-token/index';
|
|
@import 'create-new-swap/index';
|
|
@import 'view-on-block-explorer/index';
|
|
|
|
.swaps {
|
|
display: flex;
|
|
justify-content: center;
|
|
width: 100%;
|
|
|
|
@media screen and (min-width: $break-large) {
|
|
z-index: 12;
|
|
}
|
|
|
|
&__error-message {
|
|
margin-left: 24px;
|
|
margin-right: 24px;
|
|
|
|
@media screen and (min-width: $break-large) {
|
|
margin-left: 20px;
|
|
margin-right: 20px;
|
|
}
|
|
}
|
|
|
|
&__container {
|
|
display: flex;
|
|
flex-flow: column;
|
|
align-items: center;
|
|
height: 100%;
|
|
width: 100%;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
|
|
@media screen and (min-width: $break-large) {
|
|
width: 460px;
|
|
background: var(--color-background-default);
|
|
border: 1px solid var(--color-border-muted);
|
|
box-shadow: var(--shadow-size-xs) var(--color-shadow-default);
|
|
border-radius: 8px;
|
|
height: 620px;
|
|
}
|
|
}
|
|
|
|
&__content {
|
|
display: flex;
|
|
flex-flow: column;
|
|
align-items: center;
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
&--overflow {
|
|
overflow: scroll;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: $break-large) {
|
|
width: 348px;
|
|
}
|
|
}
|
|
|
|
&__title {
|
|
@include H5;
|
|
|
|
font-weight: bold;
|
|
color: var(--color-text-default);
|
|
margin-top: -5px;
|
|
flex: 1;
|
|
text-align: center;
|
|
}
|
|
|
|
&__header {
|
|
display: flex;
|
|
flex-flow: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding-top: 0;
|
|
padding-bottom: 16px;
|
|
background: var(--color-background-alternative);
|
|
width: 100%;
|
|
position: relative;
|
|
flex-direction: row;
|
|
|
|
@media screen and (min-width: $break-large) {
|
|
padding-top: 8px;
|
|
padding-bottom: 8px;
|
|
height: 66px;
|
|
}
|
|
}
|
|
|
|
&__header-cancel {
|
|
@include H7;
|
|
|
|
color: var(--color-primary-default);
|
|
cursor: pointer;
|
|
padding-right: 24px;
|
|
flex: 1;
|
|
text-align: right;
|
|
}
|
|
|
|
&__header-edit {
|
|
@include H7;
|
|
|
|
color: var(--color-primary-default);
|
|
cursor: pointer;
|
|
padding-left: 24px;
|
|
flex: 1;
|
|
}
|
|
|
|
.actionable-message__message &__notification-close-button {
|
|
background-color: transparent;
|
|
position: absolute;
|
|
right: 0;
|
|
top: 2px;
|
|
|
|
&::after {
|
|
position: absolute;
|
|
content: '\00D7';
|
|
font-size: 29px;
|
|
font-weight: 200;
|
|
color: var(--color-text-default);
|
|
background-color: transparent;
|
|
top: 0;
|
|
right: 12px;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
&__notification-title {
|
|
font-weight: bold;
|
|
margin-right: 14px;
|
|
}
|
|
}
|