Add widget catalog and restore canvas preview tools
This commit is contained in:
1 parent
12a8c24441
commit
beeca041ef
13 files changed
+489
-35
No files matched your search
@@ -56,6 +56,12 @@ small { color: #9caec3; }
|
||||
background: linear-gradient(#b3c8ea12 1px, transparent 1px), linear-gradient(90deg, #b3c8ea12 1px, transparent 1px);
|
||||
background-size: 8.333% 5%;
|
||||
}
|
||||
.drag-guide {
|
||||
position: absolute; z-index: 1; pointer-events: none;
|
||||
background: #ffcb70; box-shadow: 0 0 2px #684418;
|
||||
}
|
||||
.drag-guide.vertical { top: 0; bottom: 0; width: 1px; }
|
||||
.drag-guide.horizontal { left: 0; right: 0; height: 1px; }
|
||||
.safe-zone { position: absolute; left: 0; right: 0; pointer-events: none; background: #4b9cf22a; }
|
||||
.safe-zone.top { top: 0; border-bottom: 1px dashed #79b9fc; }
|
||||
.safe-zone.bottom { bottom: 0; border-top: 1px dashed #79b9fc; }
|
||||
@@ -120,3 +126,22 @@ pre { color: #a7ccea; font-size: 11px; max-width: 100%; overflow: auto; }
|
||||
.editor { order: -1; min-height: 520px; }
|
||||
.settings { display: grid; grid-template-columns: 1fr 1fr; }
|
||||
}
|
||||
.preview-gap, .preview-content-boundary {
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
z-index: 1;
|
||||
}
|
||||
.preview-gap, .preview-swatch {
|
||||
background: repeating-linear-gradient(135deg, #f4bb6655 0 2px, #503a2d66 2px 6px);
|
||||
}
|
||||
.preview-gap.top, .preview-gap.bottom { left: 0; right: 0; height: var(--gap-size); }
|
||||
.preview-gap.left, .preview-gap.right { top: 0; bottom: 0; width: var(--gap-size); }
|
||||
.preview-gap.top { top: 0; }
|
||||
.preview-gap.bottom { bottom: 0; }
|
||||
.preview-gap.left { left: 0; }
|
||||
.preview-gap.right { right: 0; }
|
||||
.preview-content-boundary { border: 1px dashed #f4bb66; }
|
||||
.preview-legend { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
|
||||
.preview-swatch { width: 14px; height: 10px; border: 1px solid #f4bb66; border-radius: 2px; }
|
||||
.preview-legend, .whitespace-examples p { font-size: 12px; color: #b7c5d7; }
|
||||
.whitespace-examples { display: grid; gap: 9px; margin-top: 16px; padding-top: 12px; border-top: 1px solid #2a3547; }
|
||||
Reference in new issue
Block a user