Split styles into modular CSS files

This commit is contained in:
2026-02-04 20:46:24 +01:00
parent fc373ffb91
commit d6d3566f47
8 changed files with 749 additions and 706 deletions

78
wwwroot/css/modals.css Normal file
View File

@@ -0,0 +1,78 @@
.lightbox {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.7);
display: flex;
align-items: center;
justify-content: center;
z-index: 100;
}
.lightbox-content {
position: relative;
max-width: 90vw;
max-height: 90vh;
background: #fffaf3;
padding: 12px;
border-radius: 12px;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.lightbox-content img {
max-width: 100%;
max-height: 80vh;
display: block;
border-radius: 8px;
}
.lightbox-close {
position: absolute;
top: 8px;
right: 8px;
background: #1db4ac;
color: #0f2f2d;
border: 1px solid #128b88;
border-radius: 999px;
width: 32px;
height: 32px;
font-size: 16px;
padding: 0;
cursor: pointer;
}
.edit-modal {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.55);
display: flex;
align-items: center;
justify-content: center;
z-index: 110;
}
.edit-modal .edit-panel {
background: #fffaf3;
border: 1px solid #e3d4bd;
border-radius: 12px;
width: min(960px, 94vw);
max-height: 92vh;
padding: 16px;
display: flex;
flex-direction: column;
gap: 12px;
box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}
.edit-modal .edit-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.edit-modal .edit-body {
overflow: auto;
max-height: 70vh;
}
.edit-modal .delete-body {
display: flex;
flex-direction: column;
gap: 12px;
}
.preview-card {
pointer-events: none;
}