59 lines
1.0 KiB
CSS
59 lines
1.0 KiB
CSS
#modal {
|
|
position: fixed;
|
|
z-index: 100000;
|
|
padding-top: 100px;
|
|
padding-bottom: 100px;
|
|
width: 100%;
|
|
height: calc(100% - 200px);
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
}
|
|
|
|
#content {
|
|
background-color: #fefefe;
|
|
margin: auto;
|
|
padding: 20px;
|
|
border: 1px solid #888;
|
|
width: 90%;
|
|
height: 100%;
|
|
border-radius: 5px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.divider {
|
|
background: #585858;
|
|
height: 0.1em;
|
|
margin: 0.5em 0 0.5em;
|
|
}
|
|
|
|
#modal_header {
|
|
display: grid;
|
|
grid-template-columns: 90% 10%;
|
|
}
|
|
|
|
#modal_header #modal_title {
|
|
grid-column: 1;
|
|
margin: 0;
|
|
}
|
|
|
|
#modal_header > span {
|
|
grid-column: 2;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
}
|
|
|
|
#modal_header span i {
|
|
cursor: pointer;
|
|
}
|
|
|
|
#modal_content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background-color: #fefefe;
|
|
width: 100%;
|
|
height: 90%;
|
|
} |