mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
34 lines
667 B
SCSS
34 lines
667 B
SCSS
@import '../constants/dimensions';
|
|
@import '../constants/colors';
|
|
|
|
.modal {
|
|
position: absolute;
|
|
z-index: 1000;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(20, 20, 20, 0.5);
|
|
padding: $padding-xl;
|
|
|
|
.modal__header {
|
|
border-top-left-radius: $radius-md;
|
|
border-top-right-radius: $radius-md;
|
|
border-bottom: 1px solid $hl-md;
|
|
}
|
|
|
|
.modal__content {
|
|
border-radius: $radius-md;
|
|
box-sizing: border-box;
|
|
min-width: $modal-width;
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
}
|
|
|
|
.modal__footer {
|
|
border-bottom-left-radius: $radius-md;
|
|
border-bottom-right-radius: $radius-md;
|
|
border-top: 1px solid $hl-md;
|
|
}
|
|
}
|