open-consul/ui/packages/consul-ui/app/components/modal-dialog/layout.scss

70 lines
1.1 KiB
SCSS
Raw Normal View History

2021-03-09 09:30:01 +00:00
%modal-layer {
height: 0;
}
2021-03-09 09:30:01 +00:00
/*TODO: Should these be here? */
%modal-window table {
height: 150px !important;
}
2021-03-09 09:30:01 +00:00
%modal-window tbody {
max-height: 100px;
}
2021-03-09 09:30:01 +00:00
%modal-dialog table {
min-height: 149px;
}
%modal-dialog > div:first-child {
2021-03-09 09:30:01 +00:00
@extend %modal-dialog-overlay;
}
2021-03-09 09:30:01 +00:00
%modal-dialog,
%modal-dialog-overlay {
position: fixed;
top: 0;
2021-03-09 09:30:01 +00:00
right: 0;
bottom: 0;
left: 0;
}
2021-03-09 09:30:01 +00:00
%modal-dialog {
z-index: 500;
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}
2021-03-09 09:30:01 +00:00
%modal-dialog[aria-hidden='true'] {
display: none;
}
2021-03-09 09:30:01 +00:00
%modal-window {
margin: auto;
z-index: 2;
position: relative;
}
/**/
%modal-window {
max-width: 855px;
position: relative;
}
%modal-window > * {
padding-left: 15px;
padding-right: 15px;
}
%modal-window > div {
overflow-y: auto;
max-height: 80vh;
padding: 20px 23px;
}
%modal-window > footer,
%modal-window > header {
padding-top: 12px;
padding-bottom: 10px;
}
%modal-window > header {
position: relative;
}
%modal-window > header button {
float: right;
width: 24px;
height: 24px;
margin-top: -3px;
}