82 lines
1.3 KiB
CSS
82 lines
1.3 KiB
CSS
.overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 100;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.modal {
|
|
background: #1a1a2e;
|
|
border: 1px solid #333;
|
|
border-radius: 12px;
|
|
width: 100%;
|
|
max-width: 900px;
|
|
max-height: 90vh;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
padding: 1.5rem;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: #333 transparent;
|
|
}
|
|
|
|
.modal::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
|
|
.modal::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
.modal::-webkit-scrollbar-thumb {
|
|
background: #333;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.modal::-webkit-scrollbar-thumb:hover {
|
|
background: #555;
|
|
}
|
|
|
|
.topBar {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.editBtn {
|
|
padding: 0.35rem 0.75rem;
|
|
background: transparent;
|
|
border: 1px solid #c9a84c;
|
|
border-radius: 5px;
|
|
color: #c9a84c;
|
|
cursor: pointer;
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.editBtn:hover {
|
|
background: rgba(201, 168, 76, 0.15);
|
|
}
|
|
|
|
.editBtn.active {
|
|
background: #c9a84c;
|
|
color: #1a1a2e;
|
|
}
|
|
|
|
.closeBtn {
|
|
background: none;
|
|
border: none;
|
|
color: #888;
|
|
font-size: 1.5rem;
|
|
cursor: pointer;
|
|
padding: 0.25rem 0.5rem;
|
|
}
|
|
|
|
.closeBtn:hover {
|
|
color: #e0e0e0;
|
|
}
|