48 lines
772 B
CSS
48 lines
772 B
CSS
.modal {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 100000;
|
|
padding-top: 100px;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: auto;
|
|
background-color: rgba(0,0,0, 0.8);
|
|
}
|
|
|
|
#content {
|
|
background-color: #fefefe;
|
|
margin: auto;
|
|
padding: 20px;
|
|
border: 1px solid #888;
|
|
width: 90%;
|
|
height: 80%;
|
|
}
|
|
|
|
.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 {
|
|
background-color: #fefefe;
|
|
width: 100%;
|
|
height: calc(100% - 16px - 2em);
|
|
} |