Co-authored-by: Cursor <[email protected]>
This commit is contained in:
lejay
2026-05-28 07:20:38 +02:00
co-authored by Cursor
parent 6923c319a1
commit 6c0d7e47b8
81 changed files with 21780 additions and 2986 deletions
+131 -21
View File
@@ -17,10 +17,11 @@
border-radius: 12px;
width: 100%;
max-width: 1000px;
max-height: 90vh;
max-height: min(90vh, calc(100dvh - 40px));
display: flex;
flex-direction: column;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
overflow: hidden;
}
.header {
@@ -39,17 +40,26 @@
}
.closeBtn {
background: none;
border: none;
font-size: 1.5rem;
display: inline-flex;
align-items: center;
gap: 0.35rem;
background: #fff;
border: 1px solid var(--border);
border-radius: 9px;
color: var(--text-muted);
cursor: pointer;
padding: 4px 8px;
line-height: 1;
padding: 0.35rem 0.6rem;
font-size: 0.8rem;
font-weight: 600;
line-height: 1.2;
transition: all 0.15s ease;
}
.closeBtn:hover {
color: var(--text);
border-color: var(--action);
color: var(--action);
box-shadow: 0 6px 16px rgba(79, 70, 229, 0.15);
transform: translateY(-1px);
}
.tabs {
@@ -97,6 +107,15 @@
min-height: 400px;
}
.contentCutting {
overflow: hidden;
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
padding: 20px;
}
.loading,
.error {
display: flex;
@@ -111,6 +130,20 @@
color: var(--danger);
}
.empty {
display: flex;
align-items: center;
justify-content: center;
min-height: 280px;
padding: 24px;
text-align: center;
color: var(--text-muted);
font-size: 0.9rem;
line-height: 1.45;
max-width: 420px;
margin: 0 auto;
}
.planContainer {
display: flex;
align-items: center;
@@ -128,45 +161,107 @@
.footer {
display: flex;
align-items: center;
flex-wrap: wrap;
align-items: flex-start;
justify-content: space-between;
padding: 16px 20px;
gap: 12px 16px;
padding: 14px 16px 16px;
border-top: 1px solid var(--border-light);
background: var(--bg-subtle);
flex-shrink: 0;
}
.footerInfo {
flex: 1 1 12rem;
min-width: 0;
display: flex;
flex-direction: column;
gap: 4px;
padding-right: 8px;
}
.specs {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
align-items: baseline;
gap: 4px 8px;
font-size: 0.85rem;
line-height: 1.45;
color: var(--text-muted);
}
.specsDims {
white-space: nowrap;
}
.specsSep {
opacity: 0.55;
}
.exportStatus {
font-size: 0.8rem;
line-height: 1.4;
color: #166534;
}
.actions {
display: flex;
gap: 10px;
flex-wrap: wrap;
gap: 8px;
justify-content: flex-end;
flex: 1 1 16rem;
max-width: 100%;
}
.exportBtn {
padding: 10px 20px;
background: var(--action);
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.4rem;
padding: 9px 14px;
background: linear-gradient(135deg, var(--action), var(--action-hover));
border: none;
border-radius: 6px;
border-radius: 10px;
color: #fff;
font-size: 0.9rem;
font-weight: 500;
font-size: 0.85rem;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
white-space: nowrap;
line-height: 1.25;
}
.exportBtnSecondary {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.4rem;
padding: 9px 14px;
background: #fff;
border: 1px solid var(--border);
border-radius: 10px;
color: var(--text);
font-size: 0.85rem;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
white-space: nowrap;
line-height: 1.25;
}
.exportBtnSecondary:hover {
border-color: var(--action);
color: var(--action);
}
.exportBtn:hover {
background: var(--action-hover);
box-shadow: 0 10px 22px rgba(79, 70, 229, 0.3);
transform: translateY(-1px);
}
@media (max-width: 768px) {
.modal {
max-height: 95vh;
max-height: min(95vh, calc(100dvh - 24px));
}
.tabs {
@@ -182,11 +277,26 @@
.footer {
flex-direction: column;
align-items: stretch;
gap: 12px;
padding: 12px 14px 14px;
}
.footerInfo {
padding-right: 0;
}
.specs {
flex-wrap: wrap;
justify-content: center;
justify-content: flex-start;
}
.actions {
justify-content: stretch;
}
.exportBtn,
.exportBtnSecondary {
flex: 1 1 calc(50% - 4px);
min-width: 9rem;
}
}