1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 11:46:13 +02:00
metamask-extension/ui/components/app/modal/index.scss

63 lines
1.1 KiB
SCSS
Raw Normal View History

@import 'modal-content/index';
2018-09-17 18:56:59 +02:00
.modal-container {
width: 100%;
height: 100%;
2022-03-21 14:39:28 +01:00
background-color: var(--color-background-default);
2018-09-17 18:56:59 +02:00
display: flex;
flex-flow: column;
border-radius: 8px;
@media screen and (max-width: $break-small) {
2018-09-18 03:32:35 +02:00
max-height: 450px;
}
2018-09-17 18:56:59 +02:00
&__content {
overflow-y: auto;
flex: 1;
padding: 16px 32px;
@media screen and (max-width: $break-small) {
2018-09-17 18:56:59 +02:00
justify-content: center;
padding: 28px 20px;
}
}
&__header {
position: relative;
display: flex;
padding: 12px;
justify-content: center;
2022-03-21 14:39:28 +01:00
border-bottom: 1px solid var(--color-border-muted);
2018-09-18 03:32:35 +02:00
flex: 0 0 auto;
2018-09-17 18:56:59 +02:00
}
&__header-close::after {
content: '\00D7';
font-size: 40px;
2022-03-21 14:39:28 +01:00
color: var(--color-icon-default);
2018-09-17 18:56:59 +02:00
position: absolute;
top: -5px;
right: 10px;
cursor: pointer;
}
&__footer {
display: flex;
flex-flow: row;
justify-content: center;
2022-03-21 14:39:28 +01:00
border-top: 1px solid var(--color-border-muted);
2018-09-17 18:56:59 +02:00
padding: 16px;
flex: 0 0 auto;
&-button {
min-width: 0;
margin-right: 16px;
&:last-of-type {
margin-right: 0;
}
}
}
}