This commit is contained in:
lejay
2026-02-13 00:21:53 +01:00
parent 81d2412835
commit 6923c319a1
85 changed files with 17836 additions and 0 deletions
@@ -0,0 +1,192 @@
.overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
padding: 20px;
}
.modal {
background: #fff;
border-radius: 12px;
width: 100%;
max-width: 1000px;
max-height: 90vh;
display: flex;
flex-direction: column;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 20px;
border-bottom: 1px solid var(--border-light);
}
.title {
margin: 0;
font-size: 1.25rem;
font-weight: 600;
color: var(--text);
}
.closeBtn {
background: none;
border: none;
font-size: 1.5rem;
color: var(--text-muted);
cursor: pointer;
padding: 4px 8px;
line-height: 1;
}
.closeBtn:hover {
color: var(--text);
}
.tabs {
display: flex;
gap: 0;
border-bottom: 1px solid var(--border-light);
padding: 0 20px;
background: var(--bg-subtle);
}
.tab {
padding: 12px 20px;
background: none;
border: none;
font-size: 0.9rem;
font-weight: 500;
color: var(--text-muted);
cursor: pointer;
position: relative;
transition: color 0.2s;
}
.tab:hover {
color: var(--action);
}
.tab.active {
color: var(--action);
}
.tab.active::after {
content: '';
position: absolute;
bottom: -1px;
left: 0;
right: 0;
height: 2px;
background: var(--action);
}
.content {
flex: 1;
overflow: auto;
padding: 20px;
min-height: 400px;
}
.loading,
.error {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
color: var(--text-muted);
font-size: 0.9rem;
}
.error {
color: var(--danger);
}
.planContainer {
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
background: var(--bg-subtle);
border-radius: 8px;
min-height: 300px;
}
.planContainer svg {
max-width: 100%;
height: auto;
}
.footer {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 20px;
border-top: 1px solid var(--border-light);
background: var(--bg-subtle);
}
.specs {
display: flex;
align-items: center;
gap: 8px;
font-size: 0.85rem;
color: var(--text-muted);
}
.actions {
display: flex;
gap: 10px;
}
.exportBtn {
padding: 10px 20px;
background: var(--action);
border: none;
border-radius: 6px;
color: #fff;
font-size: 0.9rem;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
}
.exportBtn:hover {
background: var(--action-hover);
}
@media (max-width: 768px) {
.modal {
max-height: 95vh;
}
.tabs {
overflow-x: auto;
padding: 0 10px;
}
.tab {
padding: 10px 14px;
white-space: nowrap;
font-size: 0.85rem;
}
.footer {
flex-direction: column;
gap: 12px;
}
.specs {
flex-wrap: wrap;
justify-content: center;
}
}