1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-01 13:47:06 +01:00
metamask-extension/ui/components/app/modal/index.scss
2022-08-04 09:03:02 -05:00

63 lines
1.1 KiB
SCSS

@import 'modal-content/index';
.modal-container {
width: 100%;
height: 100%;
background-color: var(--color-background-default);
display: flex;
flex-flow: column;
border-radius: 8px;
@include screen-sm-max {
max-height: 450px;
}
&__content {
overflow-y: auto;
flex: 1;
padding: 16px 32px;
@include screen-sm-max {
justify-content: center;
padding: 28px 20px;
}
}
&__header {
position: relative;
display: flex;
padding: 12px;
justify-content: center;
border-bottom: 1px solid var(--color-border-muted);
flex: 0 0 auto;
}
&__header-close::after {
content: '\00D7';
font-size: 40px;
color: var(--color-icon-default);
position: absolute;
top: -5px;
right: 10px;
cursor: pointer;
}
&__footer {
display: flex;
flex-flow: row;
justify-content: center;
border-top: 1px solid var(--color-border-muted);
padding: 16px;
flex: 0 0 auto;
&-button {
min-width: 0;
margin-right: 16px;
&:last-of-type {
margin-right: 0;
}
}
}
}