Spaces:
Sleeping
Sleeping
.modal { | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
position: fixed; | |
z-index: 1; | |
left: 0; | |
top: 0; | |
width: 100%; | |
height: 100%; | |
overflow: auto; | |
background-color: rgba(0, 0, 0, 0.4); | |
} | |
.modal-content { | |
background-color: #fefefe; | |
margin: auto; | |
padding: 20px; | |
border: 1px solid #888; | |
width: 80%; | |
} | |
.close { | |
color: #aaaaaa; | |
float: right; | |
font-size: 28px; | |
font-weight: bold; | |
} | |
.close:hover, | |
.close:focus { | |
color: #000; | |
text-decoration: none; | |
cursor: pointer; | |
} | |
.input-field { | |
width: 100%; | |
padding: 12px 20px; | |
margin: 8px 0; | |
box-sizing: border-box; | |
border: 2px solid #ccc; | |
border-radius: 4px; | |
} | |
.large-textarea { | |
width: 100%; | |
height: 150px; | |
padding: 12px 20px; | |
box-sizing: border-box; | |
border: 2px solid #ccc; | |
border-radius: 4px; | |
resize: vertical; | |
font-family: "Microsoft YaHei", sans-serif; | |
} | |
.save-button { | |
background-color: #4CAF50; | |
color: white; | |
padding: 15px 32px; | |
text-align: center; | |
text-decoration: none; | |
display: inline-block; | |
font-size: 16px; | |
margin: 4px 2px; | |
cursor: pointer; | |
border: none; | |
border-radius: 4px; | |
} | |
.error { | |
color: red; | |
} | |