完成项目的修改实现
This commit is contained in:
1 parent
3fd0cf1add
commit
a5d24ee58f
22 files changed
+6344
-2
No files matched your search
@@ -0,0 +1,42 @@
|
||||
* { box-sizing: border-box; }
|
||||
|
||||
html, body { min-height: 100%; }
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
color: var(--text);
|
||||
background: var(--bg-base);
|
||||
font-family: "Segoe UI", "Microsoft YaHei UI", system-ui, sans-serif;
|
||||
font-size: 15px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
body.mask-expanded { overflow: hidden; }
|
||||
|
||||
button, input, select { font: inherit; color: inherit; }
|
||||
|
||||
button:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible {
|
||||
outline: 2px solid var(--accent);
|
||||
outline-offset: 1px;
|
||||
}
|
||||
|
||||
input[type="range"] {
|
||||
width: 100%;
|
||||
height: 4px;
|
||||
border-radius: 2px;
|
||||
background: var(--bg-hover);
|
||||
accent-color: var(--accent);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
input[type="text"], select {
|
||||
background: var(--bg-input);
|
||||
border: 1px solid var(--border);
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
/* Scrollbar */
|
||||
::-webkit-scrollbar { width: 6px; height: 6px; }
|
||||
::-webkit-scrollbar-track { background: transparent; }
|
||||
::-webkit-scrollbar-thumb { border-radius: 3px; background: var(--border-hover); }
|
||||
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }
|
||||
@@ -0,0 +1,218 @@
|
||||
/* === SECTIONS === */
|
||||
.section {
|
||||
padding: 10px 0;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
.section:last-child { border-bottom: none; }
|
||||
|
||||
.section-head {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.section h2 {
|
||||
margin: 0;
|
||||
color: var(--text);
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
|
||||
.section-note {
|
||||
color: var(--text-3);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
/* === DROPZONE === */
|
||||
.dropzone {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 6px;
|
||||
min-height: 70px;
|
||||
padding: 12px;
|
||||
border: 1px dashed var(--border-hover);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--bg-input);
|
||||
cursor: pointer;
|
||||
transition: border-color 0.15s, background 0.15s;
|
||||
}
|
||||
|
||||
.dropzone:hover, .dropzone.is-dragging {
|
||||
border-color: var(--accent);
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
|
||||
.dropzone input {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
opacity: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.dropzone > span {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.drop-icon {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 50%;
|
||||
background: var(--accent-lo);
|
||||
color: #fff;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.drop-title { color: var(--text); font-size: 14px; font-weight: 600; }
|
||||
.drop-hint { color: var(--text-3); font-size: 13px; }
|
||||
|
||||
/* === FAN VARIANTS === */
|
||||
.fan-variants {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.fan-variant {
|
||||
display: block;
|
||||
padding: 7px 4px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--bg-elevated);
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
transition: border-color 0.15s, background 0.15s;
|
||||
}
|
||||
|
||||
.fan-variant:hover { border-color: var(--border-hover); background: var(--bg-hover); }
|
||||
|
||||
.fan-variant.active {
|
||||
border-color: var(--accent);
|
||||
background: rgba(0, 180, 216, 0.08);
|
||||
box-shadow: 0 0 8px var(--accent-glow);
|
||||
}
|
||||
|
||||
.fan-variant strong, .fan-variant small { display: block; }
|
||||
.fan-variant strong { color: var(--text); font-family: "STKaiti", "KaiTi", serif; font-size: 15px; }
|
||||
.fan-variant small { color: var(--text-3); font-size: 12px; }
|
||||
|
||||
.fan-variant.active strong { color: var(--accent); }
|
||||
|
||||
/* === BLADE COUNT === */
|
||||
.blade-count-control { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); }
|
||||
.blade-count-control[hidden] { display: none; }
|
||||
.blade-count-head { display: flex; justify-content: space-between; color: var(--text-2); font-size: 13px; }
|
||||
.blade-count-head strong { color: var(--text); font-size: 13px; }
|
||||
|
||||
.blade-count-options {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 3px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.blade-count-option {
|
||||
padding: 5px 3px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
background: var(--bg-elevated);
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
transition: border-color 0.15s, background 0.15s;
|
||||
}
|
||||
|
||||
.blade-count-option:hover { border-color: var(--border-hover); background: var(--bg-hover); }
|
||||
|
||||
.blade-count-option.active {
|
||||
border-color: var(--accent);
|
||||
background: rgba(0, 180, 216, 0.1);
|
||||
box-shadow: 0 0 6px var(--accent-glow);
|
||||
}
|
||||
|
||||
.blade-count-option strong, .blade-count-option small { display: block; }
|
||||
.blade-count-option strong { color: var(--text); font-size: 14px; }
|
||||
.blade-count-option small { color: var(--text-3); font-size: 11px; }
|
||||
.blade-count-option.active strong { color: var(--accent); }
|
||||
.blade-count-help { margin: 5px 0 0; color: var(--text-3); font-size: 12px; line-height: 1.4; }
|
||||
|
||||
/* === BLADE PANEL === */
|
||||
.blade-panel {
|
||||
margin-bottom: 8px;
|
||||
padding: 8px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--bg-input);
|
||||
}
|
||||
.blade-panel[hidden] { display: none; }
|
||||
.blade-panel-head { display: flex; justify-content: space-between; color: var(--text-2); font-size: 13px; }
|
||||
.blade-panel-head strong { color: var(--text); font-size: 13px; }
|
||||
|
||||
.blade-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(6, 1fr);
|
||||
gap: 3px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.blade-button {
|
||||
height: 28px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
background: var(--bg-elevated);
|
||||
color: var(--text-2);
|
||||
font-family: "Cascadia Code", monospace;
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
transition: border-color 0.15s, background 0.15s;
|
||||
}
|
||||
|
||||
.blade-button:hover { border-color: var(--border-hover); background: var(--bg-hover); }
|
||||
|
||||
.blade-button.assigned::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
right: 3px;
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
border-radius: 50%;
|
||||
background: var(--accent);
|
||||
}
|
||||
|
||||
.blade-button.active {
|
||||
border-color: var(--accent-lo);
|
||||
background: var(--accent-lo);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.blade-button.active::after { background: #fff; }
|
||||
.blade-help { margin: 5px 0 0; color: var(--text-3); font-size: 12px; }
|
||||
|
||||
/* === FILE CHIP === */
|
||||
.file-chip {
|
||||
display: none;
|
||||
margin-top: 6px;
|
||||
padding: 6px 8px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
background: var(--bg-input);
|
||||
color: var(--accent);
|
||||
font-size: 13px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.file-chip.show { display: block; }
|
||||
@@ -0,0 +1,419 @@
|
||||
/* === SEGMENTED === */
|
||||
.segmented {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 3px;
|
||||
padding: 2px;
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--bg-input);
|
||||
}
|
||||
|
||||
.segmented button {
|
||||
border: 0;
|
||||
border-radius: 3px;
|
||||
padding: 6px 4px;
|
||||
background: transparent;
|
||||
color: var(--text-2);
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
transition: background 0.15s, color 0.15s;
|
||||
}
|
||||
|
||||
.segmented button.active {
|
||||
background: var(--accent-lo);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.image-mode { margin-bottom: 6px; }
|
||||
|
||||
/* === IMAGE QUICK ACTIONS === */
|
||||
.image-quick-actions {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
gap: 3px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.image-quick-actions button {
|
||||
min-height: 28px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
background: var(--bg-elevated);
|
||||
color: var(--text-2);
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
transition: border-color 0.15s, color 0.15s;
|
||||
}
|
||||
|
||||
.image-quick-actions button:hover { border-color: var(--accent); color: var(--accent); }
|
||||
|
||||
/* === EDITOR BOX === */
|
||||
.editor-box {
|
||||
margin-top: 8px;
|
||||
padding: 8px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--bg-input);
|
||||
}
|
||||
|
||||
.editor-tools {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(5, 1fr);
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
.editor-shape-tools { margin-top: 4px; }
|
||||
|
||||
.editor-tool-divider-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
margin: 6px 0 3px;
|
||||
color: var(--text-3);
|
||||
font-size: 12px;
|
||||
}
|
||||
.editor-tool-divider-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
|
||||
|
||||
.editor-tool {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 2px;
|
||||
min-height: 30px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
background: var(--bg-elevated);
|
||||
color: var(--text-2);
|
||||
font-size: 12px;
|
||||
cursor: pointer;
|
||||
transition: border-color 0.15s, background 0.15s, color 0.15s;
|
||||
}
|
||||
|
||||
.editor-tool:hover { border-color: var(--border-hover); color: var(--text); }
|
||||
.editor-tool.active {
|
||||
border-color: var(--accent);
|
||||
background: rgba(0, 180, 216, 0.12);
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.editor-tool-symbol { font-family: "Cascadia Code", monospace; font-size: 15px; }
|
||||
|
||||
/* === SELECTION STRIP === */
|
||||
.selection-strip {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 6px;
|
||||
margin-top: 6px;
|
||||
padding: 6px;
|
||||
border: 1px solid rgba(232, 112, 74, 0.3);
|
||||
border-radius: 4px;
|
||||
background: rgba(232, 112, 74, 0.08);
|
||||
color: var(--warn);
|
||||
font-size: 12px;
|
||||
}
|
||||
.selection-strip[hidden] { display: none !important; }
|
||||
|
||||
.selection-strip button {
|
||||
min-height: 24px;
|
||||
padding: 0 8px;
|
||||
border: 1px solid rgba(232, 112, 74, 0.3);
|
||||
border-radius: 3px;
|
||||
background: transparent;
|
||||
color: var(--warn);
|
||||
font-size: 12px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.selection-strip button:hover { background: rgba(232, 112, 74, 0.15); }
|
||||
|
||||
/* === EDITOR CONTEXT === */
|
||||
.editor-context {
|
||||
margin-top: 6px;
|
||||
padding: 6px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
background: var(--bg-elevated);
|
||||
}
|
||||
.editor-context[hidden], .editor-color-row[hidden] { display: none !important; }
|
||||
.editor-context .control:first-child { margin-top: 0; }
|
||||
|
||||
/* === SHAPE RATIO === */
|
||||
.shape-ratio-control {
|
||||
padding: 6px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
background: var(--bg-elevated);
|
||||
}
|
||||
.shape-ratio-control[hidden] { display: none !important; }
|
||||
|
||||
.shape-ratio-head { display: flex; justify-content: space-between; color: var(--text-3); font-size: 12px; }
|
||||
.shape-ratio-head strong { color: var(--accent); font-size: 12px; }
|
||||
|
||||
.shape-ratio-toggle {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 3px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.shape-ratio-toggle button {
|
||||
min-height: 28px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 3px;
|
||||
background: var(--bg-input);
|
||||
color: var(--text-2);
|
||||
font-size: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.15s;
|
||||
}
|
||||
|
||||
.shape-ratio-toggle button.active {
|
||||
border-color: var(--accent);
|
||||
background: rgba(0, 180, 216, 0.12);
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
/* === TEXT INPUT & FONTS === */
|
||||
.text-input-row {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 72px;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.text-input-row input, .text-input-row select {
|
||||
height: 28px;
|
||||
padding: 0 6px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
background: var(--bg-input);
|
||||
color: var(--text);
|
||||
font-size: 13px;
|
||||
}
|
||||
.text-input-row input:focus, .text-input-row select:focus { border-color: var(--accent); outline: none; }
|
||||
|
||||
.font-chip-label {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 6px;
|
||||
color: var(--text-3);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.font-chip-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(5, minmax(0, 1fr));
|
||||
gap: 3px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.font-chip {
|
||||
min-height: 38px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
background: var(--bg-elevated);
|
||||
color: var(--text);
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
transition: border-color 0.15s, background 0.15s;
|
||||
}
|
||||
|
||||
.font-chip::after {
|
||||
content: attr(data-font-kind);
|
||||
display: block;
|
||||
margin-top: 1px;
|
||||
color: var(--text-3);
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.font-chip:hover { border-color: var(--border-hover); }
|
||||
.font-chip.active { border-color: var(--accent); background: rgba(0, 180, 216, 0.1); color: var(--accent); }
|
||||
|
||||
/* === COLOR ROW === */
|
||||
.editor-color-row {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
margin-top: 6px;
|
||||
padding: 6px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
background: var(--bg-elevated);
|
||||
color: var(--text-3);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.editor-color-row input[type="color"] {
|
||||
width: 44px;
|
||||
height: 26px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 3px;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.editor-options {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 44px;
|
||||
gap: 4px;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.editor-options input[type="text"] {
|
||||
height: 28px;
|
||||
padding: 0 6px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
background: var(--bg-input);
|
||||
color: var(--text);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.editor-options input[type="color"] {
|
||||
width: 44px;
|
||||
height: 28px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* === EDITOR ACTIONS === */
|
||||
.editor-actions {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 4px;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.editor-hint {
|
||||
margin: 5px 0 0;
|
||||
color: var(--text-3);
|
||||
font-size: 12px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
/* === CONTROL (slider rows) === */
|
||||
.control {
|
||||
display: grid;
|
||||
grid-template-columns: 60px 1fr 40px;
|
||||
gap: 6px;
|
||||
align-items: center;
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
.control label {
|
||||
color: var(--text-2);
|
||||
font-size: 13px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.value {
|
||||
color: var(--accent);
|
||||
font-family: "Cascadia Code", monospace;
|
||||
font-size: 12px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* === ROW TWO & MINI BUTTON === */
|
||||
.row-two {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 4px;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.mini-button, select {
|
||||
width: 100%;
|
||||
min-height: 28px;
|
||||
padding: 0 6px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
background: var(--bg-elevated);
|
||||
color: var(--text);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.mini-button {
|
||||
cursor: pointer;
|
||||
transition: border-color 0.15s, color 0.15s;
|
||||
}
|
||||
.mini-button:hover { border-color: var(--accent); color: var(--accent); }
|
||||
|
||||
/* === PRECISION GUIDE === */
|
||||
.precision-guide {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 6px;
|
||||
margin-top: 6px;
|
||||
padding: 6px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
background: var(--bg-input);
|
||||
color: var(--text-3);
|
||||
font-size: 12px;
|
||||
}
|
||||
.precision-guide strong { color: var(--accent); font-family: "Cascadia Code", monospace; font-size: 12px; }
|
||||
|
||||
/* === STRUCTURE FIELD === */
|
||||
.structure-field {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 120px;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
margin-top: 6px;
|
||||
padding: 6px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
background: var(--bg-elevated);
|
||||
}
|
||||
|
||||
.structure-copy { min-width: 0; }
|
||||
.structure-copy strong, .structure-copy small { display: block; }
|
||||
.structure-copy strong { color: var(--text); font-size: 13px; font-weight: 600; }
|
||||
.structure-copy small { color: var(--text-3); font-size: 12px; }
|
||||
.structure-field select { min-height: 28px; padding: 0 4px; font-size: 12px; }
|
||||
|
||||
/* === TOGGLE ROW & SWITCH === */
|
||||
.toggle-row {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-top: 6px;
|
||||
color: var(--text-2);
|
||||
font-size: 13px;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.switch {
|
||||
position: relative;
|
||||
flex: 0 0 auto;
|
||||
width: 34px;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
|
||||
|
||||
.switch span {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border-radius: 999px;
|
||||
background: var(--bg-hover);
|
||||
transition: background 0.15s;
|
||||
}
|
||||
|
||||
.switch span::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 2px; left: 2px;
|
||||
width: 14px; height: 14px;
|
||||
border-radius: 50%;
|
||||
background: var(--text-2);
|
||||
transition: transform 0.15s, background 0.15s;
|
||||
}
|
||||
|
||||
.switch input:checked + span { background: var(--accent-lo); }
|
||||
.switch input:checked + span::after { transform: translateX(16px); background: var(--accent-hi); }
|
||||
+241
@@ -0,0 +1,241 @@
|
||||
/* === MASK CANVAS === */
|
||||
.mask-wrap {
|
||||
position: relative;
|
||||
aspect-ratio: 390 / 232;
|
||||
border-radius: var(--radius-sm);
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--border);
|
||||
background: #f9fafb;
|
||||
cursor: grab;
|
||||
touch-action: none;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.mask-backdrop {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 40;
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
backdrop-filter: blur(8px);
|
||||
}
|
||||
.mask-backdrop[hidden] { display: none; }
|
||||
|
||||
.mask-wrap.is-expanded {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
z-index: 41;
|
||||
width: min(1000px, calc(100vw - 36px));
|
||||
transform: translate(-50%, -50%);
|
||||
border-radius: var(--radius);
|
||||
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.mask-wrap.is-adjusting { cursor: grabbing; }
|
||||
.mask-wrap.is-editing { cursor: crosshair; }
|
||||
.mask-wrap.has-brush-cursor #maskCanvas, .mask-wrap.has-text-preview #maskCanvas { cursor: none; }
|
||||
|
||||
#maskCanvas { width: 100%; height: 100%; display: block; touch-action: none; }
|
||||
|
||||
.brush-cursor {
|
||||
position: absolute;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border: 2px solid var(--cursor-color, #c8ccd4);
|
||||
border-radius: 50%;
|
||||
pointer-events: none;
|
||||
transform: translate(-50%, -50%);
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
.brush-cursor::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%; left: 50%;
|
||||
width: 3px; height: 3px;
|
||||
border-radius: 50%;
|
||||
background: var(--cursor-color, #c8ccd4);
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.brush-cursor::after {
|
||||
content: attr(data-label);
|
||||
position: absolute;
|
||||
top: 100%; left: 50%;
|
||||
transform: translate(-50%, 4px);
|
||||
padding: 1px 5px;
|
||||
border-radius: 3px;
|
||||
background: var(--bg-elevated);
|
||||
color: var(--text);
|
||||
font-size: 12px;
|
||||
white-space: nowrap;
|
||||
border: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.brush-cursor.is-eraser { border-style: dashed; border-color: var(--warn); }
|
||||
.brush-cursor.is-eraser::before { background: var(--warn); }
|
||||
.brush-cursor.is-eraser::after { border-color: var(--warn); color: var(--warn); }
|
||||
.brush-cursor[hidden] { display: none; }
|
||||
|
||||
.text-placement-preview {
|
||||
position: absolute;
|
||||
z-index: 5;
|
||||
pointer-events: none;
|
||||
transform: rotate(var(--text-preview-angle, 0deg));
|
||||
opacity: 0.7;
|
||||
}
|
||||
.text-placement-preview[hidden] { display: none; }
|
||||
|
||||
.text-preview-glyph { color: var(--text-preview-color, #c8ccd4); line-height: 1; }
|
||||
.text-placement-preview.is-outline .text-preview-glyph {
|
||||
color: transparent;
|
||||
-webkit-text-stroke: 1.5px var(--text-preview-color, #c8ccd4);
|
||||
}
|
||||
|
||||
.text-preview-anchor {
|
||||
position: absolute;
|
||||
top: 100%; left: 50%;
|
||||
width: 10px; height: 10px;
|
||||
border: 1.5px solid var(--warn);
|
||||
border-radius: 50%;
|
||||
background: var(--bg-base);
|
||||
transform: translate(-50%, 5px);
|
||||
}
|
||||
.text-preview-anchor::before { content: ''; position: absolute; top: 50%; left: -9px; width: 15px; height: 1px; background: var(--warn); transform: translateY(-50%); }
|
||||
.text-preview-anchor::after { content: ''; position: absolute; top: -9px; left: 50%; width: 1px; height: 15px; background: var(--warn); transform: translateX(-50%); }
|
||||
|
||||
.mask-expand {
|
||||
position: absolute;
|
||||
top: 6px; right: 6px;
|
||||
z-index: 3;
|
||||
padding: 4px 8px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
background: rgba(255, 255, 255, 0.85);
|
||||
color: var(--text-2);
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
transition: background 0.15s, color 0.15s;
|
||||
}
|
||||
.mask-expand:hover { background: var(--bg-hover); color: var(--accent); }
|
||||
.mask-wrap.is-expanded .mask-expand { padding: 6px 10px; font-size: 14px; }
|
||||
.mask-wrap.is-expanded .adjust-hint { left: 12px; bottom: 12px; }
|
||||
|
||||
.adjust-hint {
|
||||
position: absolute;
|
||||
bottom: 6px; left: 6px;
|
||||
z-index: 2;
|
||||
padding: 3px 6px;
|
||||
border-radius: 3px;
|
||||
background: rgba(255, 255, 255, 0.85);
|
||||
color: var(--text-3);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.demo-label {
|
||||
position: absolute;
|
||||
bottom: 6px; right: 6px;
|
||||
z-index: 2;
|
||||
padding: 2px 8px;
|
||||
border-radius: 999px;
|
||||
background: rgba(0, 180, 216, 0.15);
|
||||
color: var(--accent);
|
||||
font-size: 12px;
|
||||
border: 1px solid rgba(0, 180, 216, 0.3);
|
||||
}
|
||||
|
||||
/* === FLOATING TOOLBAR === */
|
||||
.mask-floating-toolbar {
|
||||
position: fixed;
|
||||
bottom: 12px;
|
||||
left: 50%;
|
||||
z-index: 42;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px;
|
||||
padding: 5px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius);
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
backdrop-filter: blur(16px);
|
||||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.mask-floating-toolbar[hidden], .float-tool-context[hidden], .float-control[hidden] { display: none !important; }
|
||||
|
||||
.float-tool-group, .float-tool-context, .float-control { display: flex; align-items: center; gap: 4px; }
|
||||
|
||||
.float-tool-button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 3px;
|
||||
min-width: 32px;
|
||||
min-height: 30px;
|
||||
padding: 4px 7px;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 4px;
|
||||
background: transparent;
|
||||
color: var(--text-2);
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
transition: all 0.15s;
|
||||
}
|
||||
|
||||
.float-tool-button:hover { border-color: var(--border); background: var(--bg-hover); color: var(--text); }
|
||||
.float-tool-button.active { border-color: var(--accent); background: rgba(0, 180, 216, 0.12); color: var(--accent); }
|
||||
|
||||
.float-tool-icon { font-family: "Cascadia Code", monospace; font-size: 15px; }
|
||||
.float-tool-divider { width: 1px; height: 22px; background: var(--border); }
|
||||
|
||||
.float-transform-readout {
|
||||
min-width: 64px;
|
||||
color: var(--text-3);
|
||||
font-family: "Cascadia Code", monospace;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.float-tool-context {
|
||||
min-height: 30px;
|
||||
padding: 2px 4px;
|
||||
border-radius: 4px;
|
||||
background: var(--bg-input);
|
||||
}
|
||||
|
||||
.float-control > span { color: var(--text-3); font-size: 12px; white-space: nowrap; }
|
||||
.float-control input[type="range"] { width: 72px; accent-color: var(--accent); }
|
||||
.float-control output { min-width: 22px; color: var(--accent); font-family: "Cascadia Code", monospace; font-size: 12px; text-align: center; }
|
||||
|
||||
.float-text-input {
|
||||
width: 100px;
|
||||
height: 26px;
|
||||
padding: 0 6px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
background: var(--bg-input);
|
||||
color: var(--text);
|
||||
font-size: 13px;
|
||||
}
|
||||
.float-text-input:focus { border-color: var(--accent); outline: none; }
|
||||
|
||||
.float-select {
|
||||
max-width: 84px;
|
||||
height: 26px;
|
||||
padding: 0 4px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
background: var(--bg-input);
|
||||
color: var(--text);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.float-color-input {
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
/* === EXPORT === */
|
||||
.export-actions {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 4px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.export-button {
|
||||
min-height: 40px;
|
||||
border: 0;
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--accent-lo);
|
||||
color: #fff;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: background 0.15s, box-shadow 0.15s;
|
||||
}
|
||||
|
||||
.export-button:hover { background: var(--accent); box-shadow: 0 0 12px var(--accent-glow); }
|
||||
.export-button:active { background: var(--accent-lo); }
|
||||
.export-button:disabled { opacity: 0.4; cursor: wait; }
|
||||
|
||||
.export-button.secondary {
|
||||
border: 1px solid var(--border);
|
||||
background: var(--bg-elevated);
|
||||
color: var(--text);
|
||||
}
|
||||
.export-button.secondary:hover { border-color: var(--accent); color: var(--accent); }
|
||||
|
||||
/* === PIVOT DOWNLOAD === */
|
||||
.pivot-download {
|
||||
display: grid;
|
||||
grid-template-columns: 30px minmax(0, 1fr) auto;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
margin-top: 8px;
|
||||
padding: 8px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--bg-input);
|
||||
}
|
||||
|
||||
.pivot-mark {
|
||||
width: 30px; height: 30px;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
border-radius: 50%;
|
||||
background: var(--bg-elevated);
|
||||
color: var(--accent);
|
||||
font-family: "STKaiti", "KaiTi", serif;
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.pivot-copy { min-width: 0; }
|
||||
.pivot-copy strong, .pivot-copy small { display: block; }
|
||||
.pivot-copy strong { color: var(--text); font-size: 13px; }
|
||||
.pivot-copy small { color: var(--text-3); font-size: 11px; line-height: 1.3; }
|
||||
|
||||
.pivot-link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 3px;
|
||||
min-height: 28px;
|
||||
padding: 0 8px;
|
||||
border: 1px solid var(--accent-lo);
|
||||
border-radius: 4px;
|
||||
background: var(--accent-lo);
|
||||
color: #fff;
|
||||
font-size: 12px;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
transition: background 0.15s;
|
||||
}
|
||||
.pivot-link:hover { background: var(--accent); }
|
||||
.pivot-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
||||
|
||||
/* === STATUS === */
|
||||
.status {
|
||||
min-height: 28px;
|
||||
margin-top: 8px;
|
||||
padding: 6px 8px;
|
||||
border-left: 2px solid var(--accent);
|
||||
border-radius: 0 4px 4px 0;
|
||||
background: var(--bg-input);
|
||||
color: var(--text-2);
|
||||
font-size: 13px;
|
||||
}
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
/* === LAYOUT === */
|
||||
@font-face {
|
||||
font-family: "Pacifico";
|
||||
src: url("../pacifico/Pacifico.ttf") format("truetype");
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
.site-frame {
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
display: grid;
|
||||
grid-template-rows: 44px minmax(0, 1fr);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.site-topbar {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
padding: 0 16px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
background: var(--bg-panel);
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
.site-brand-home {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 44px;
|
||||
text-decoration: none;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.site-brand-text {
|
||||
font-family: "Pacifico", cursive;
|
||||
font-size: 22px;
|
||||
font-weight: 400;
|
||||
letter-spacing: 0;
|
||||
color: var(--accent);
|
||||
text-shadow: 0 0 12px var(--accent-glow);
|
||||
}
|
||||
|
||||
.site-page-title {
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
font-weight: 400;
|
||||
color: var(--text-2);
|
||||
font-family: "Cascadia Code", "Consolas", monospace;
|
||||
}
|
||||
|
||||
.site-top-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.site-status-pill {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
height: 24px;
|
||||
padding: 0 8px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
background: var(--bg-elevated);
|
||||
color: var(--text-2);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.site-status-dot {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
background: var(--ok);
|
||||
box-shadow: 0 0 0 2px rgba(76, 175, 106, 0.2);
|
||||
}
|
||||
|
||||
.shell {
|
||||
display: grid;
|
||||
grid-template-columns: 300px minmax(0, 1fr) 300px;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
background: var(--border);
|
||||
gap: 1px;
|
||||
}
|
||||
|
||||
.panel-left, .panel-right {
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
padding: 12px;
|
||||
background: var(--bg-panel);
|
||||
}
|
||||
|
||||
.panel-left { border-right: 1px solid var(--border); }
|
||||
.panel-right { border-left: 1px solid var(--border); }
|
||||
|
||||
/* === BRAND HEADER === */
|
||||
.brand {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
margin-bottom: 12px;
|
||||
padding-bottom: 10px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.eyebrow {
|
||||
margin: 0;
|
||||
color: var(--accent);
|
||||
font-family: "Cascadia Code", "Consolas", monospace;
|
||||
font-size: 12px;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.brand-title {
|
||||
margin: 2px 0 0;
|
||||
color: var(--text);
|
||||
font-family: "Segoe UI", system-ui, sans-serif;
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.subtitle { display: none; }
|
||||
|
||||
.seal {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: 1px solid var(--warn);
|
||||
border-radius: 4px;
|
||||
color: var(--warn);
|
||||
font-family: "STKaiti", "KaiTi", serif;
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
/* === RESPONSIVE === */
|
||||
@media (max-width: 1200px) {
|
||||
.shell {
|
||||
grid-template-columns: 280px minmax(0, 1fr) 280px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.shell {
|
||||
grid-template-columns: 1fr;
|
||||
grid-template-rows: auto minmax(300px, 1fr) auto;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.panel-left, .panel-right {
|
||||
height: auto;
|
||||
max-height: none;
|
||||
border: none;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.stage { min-height: 50vh; order: 0; }
|
||||
.panel-left { order: 1; }
|
||||
.panel-right { order: 2; }
|
||||
|
||||
.mask-wrap { width: 100%; }
|
||||
.mask-wrap.is-expanded { width: min(1000px, calc(100vw - 24px)); }
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.site-topbar { grid-template-columns: 1fr auto; gap: 8px; padding: 0 8px; }
|
||||
.site-brand-text { font-size: 15px; }
|
||||
.site-page-title { display: none; }
|
||||
.site-status-pill { display: none; }
|
||||
|
||||
.mask-floating-toolbar {
|
||||
bottom: 4px;
|
||||
width: calc(100vw - 8px);
|
||||
gap: 2px;
|
||||
padding: 3px;
|
||||
}
|
||||
.float-tool-button { min-width: 28px; min-height: 28px; padding: 3px 5px; }
|
||||
.float-tool-divider { display: none; }
|
||||
.float-transform-readout { min-width: 52px; }
|
||||
.float-tool-context { flex-wrap: wrap; justify-content: center; }
|
||||
|
||||
.pivot-download { grid-template-columns: 28px minmax(0, 1fr); }
|
||||
.pivot-mark { width: 28px; height: 28px; }
|
||||
.pivot-link { grid-column: 2; justify-self: start; }
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*, *::before, *::after {
|
||||
scroll-behavior: auto !important;
|
||||
transition: none !important;
|
||||
animation-duration: 0.01ms !important;
|
||||
}
|
||||
}
|
||||
+131
@@ -0,0 +1,131 @@
|
||||
/* === 3D STAGE === */
|
||||
.stage {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
background:
|
||||
radial-gradient(ellipse at 30% 20%, rgba(0, 120, 212, 0.04) 0%, transparent 60%),
|
||||
radial-gradient(ellipse at 70% 80%, rgba(0, 120, 212, 0.03) 0%, transparent 60%),
|
||||
#f9fafb;
|
||||
}
|
||||
|
||||
.stage::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
opacity: 0.5;
|
||||
background-image:
|
||||
linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
|
||||
linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
|
||||
background-size: 40px 40px;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
#glCanvas {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
cursor: grab;
|
||||
z-index: 1;
|
||||
touch-action: none;
|
||||
}
|
||||
#glCanvas:active { cursor: grabbing; }
|
||||
|
||||
.stage-top, .stage-bottom {
|
||||
position: absolute;
|
||||
left: 12px; right: 12px;
|
||||
z-index: 3;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.stage-top { top: 10px; }
|
||||
.stage-bottom { bottom: 10px; }
|
||||
|
||||
.model-tag {
|
||||
padding: 5px 8px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
background: rgba(255, 255, 255, 0.85);
|
||||
backdrop-filter: blur(8px);
|
||||
color: var(--accent);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.metric {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 3px;
|
||||
padding: 5px 8px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
background: rgba(255, 255, 255, 0.85);
|
||||
backdrop-filter: blur(8px);
|
||||
color: var(--text-3);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.metric strong { color: var(--text); font-family: "Cascadia Code", monospace; font-size: 14px; }
|
||||
|
||||
.view-help {
|
||||
padding: 4px 8px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
background: rgba(255, 255, 255, 0.85);
|
||||
backdrop-filter: blur(8px);
|
||||
color: var(--text-3);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.view-actions {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.view-actions button {
|
||||
min-width: 30px;
|
||||
height: 28px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
background: rgba(255, 255, 255, 0.85);
|
||||
backdrop-filter: blur(8px);
|
||||
color: var(--text-2);
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
transition: border-color 0.15s, color 0.15s;
|
||||
}
|
||||
|
||||
.view-actions button:hover { border-color: var(--accent); color: var(--accent); }
|
||||
|
||||
/* === BUSY === */
|
||||
.busy {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 8;
|
||||
display: none;
|
||||
place-items: center;
|
||||
background: rgba(243, 244, 246, 0.7);
|
||||
backdrop-filter: blur(4px);
|
||||
color: var(--accent);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.busy.show { display: grid; }
|
||||
|
||||
.busy::before {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-bottom: 8px;
|
||||
border: 2px solid var(--border);
|
||||
border-top-color: var(--accent);
|
||||
border-radius: 50%;
|
||||
animation: spin 0.8s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes spin { to { transform: rotate(360deg); } }
|
||||
@@ -0,0 +1,22 @@
|
||||
:root {
|
||||
--bg-base: #f3f4f6;
|
||||
--bg-panel: #ffffff;
|
||||
--bg-elevated: #f9fafb;
|
||||
--bg-input: #f3f4f6;
|
||||
--bg-hover: #eceef1;
|
||||
--border: #e2e5ea;
|
||||
--border-hover: #c8cdd6;
|
||||
--text: #1a1d23;
|
||||
--text-2: #5a5f6a;
|
||||
--text-3: #8b8f99;
|
||||
--accent: #0078d4;
|
||||
--accent-hi: #2b88d8;
|
||||
--accent-lo: #005a9e;
|
||||
--accent-glow: rgba(0, 120, 212, 0.12);
|
||||
--warn: #d13438;
|
||||
--warn-glow: rgba(209, 52, 56, 0.12);
|
||||
--ok: #107c10;
|
||||
--radius: 8px;
|
||||
--radius-sm: 5px;
|
||||
--shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
Reference in new issue
Block a user