Initialize Compose Launcher source and deployment
This commit is contained in:
commit
12a8c24441
77 files changed
+9594
No files matched your search
@@ -0,0 +1,122 @@
|
||||
:root {
|
||||
color-scheme: dark;
|
||||
font-family: system-ui, "Microsoft YaHei UI", sans-serif;
|
||||
font-size: 14px;
|
||||
color: #e0e8f2;
|
||||
background: #10151e;
|
||||
}
|
||||
*, *::before, *::after { box-sizing: border-box; }
|
||||
body { margin: 0; }
|
||||
#app { min-width: 320px; }
|
||||
h1, h2, p, figure { margin: 0; }
|
||||
h1 { font-size: 17px; white-space: nowrap; }
|
||||
h2 { font-size: 13px; font-weight: 650; }
|
||||
small { color: #9caec3; }
|
||||
.toolbar {
|
||||
display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
|
||||
gap: 12px; padding: 14px 20px; border-bottom: 1px solid #2a3547; background: #161e2a;
|
||||
}
|
||||
.toolbar nav, .page-bar, .templates, .json-actions, .release-actions { display: flex; flex-wrap: wrap; gap: 8px; }
|
||||
.toolbar .el-button, .page-bar .el-button, .templates .el-button, .json-actions .el-button, .release-actions .el-button {
|
||||
margin: 0;
|
||||
}
|
||||
.workspace {
|
||||
display: grid; grid-template-columns: 224px minmax(0, 1fr) 348px;
|
||||
height: calc(100dvh - 54px); min-height: 610px;
|
||||
}
|
||||
.settings, .inspector { overflow: auto; background: #151d29; }
|
||||
.settings { border-right: 1px solid #2a3547; }
|
||||
.settings section { display: grid; gap: 10px; padding: 16px; border-bottom: 1px solid #2a3547; }
|
||||
.settings .el-checkbox { margin: 0; height: auto; }
|
||||
.settings label, .item-properties label, .token-field {
|
||||
display: grid; gap: 5px; font-size: 12px; color: #b7c5d7;
|
||||
}
|
||||
.settings label.el-checkbox { display: inline-flex; }
|
||||
.settings .el-input-number, .item-properties .el-input-number { width: 100%; }
|
||||
.settings input[type=color] { width: 100%; height: 28px; cursor: pointer; }
|
||||
.editor { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
|
||||
.canvas-head {
|
||||
display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 12px 16px;
|
||||
color: #aebed0; border-bottom: 1px solid #2a3547;
|
||||
}
|
||||
.canvas-head strong { color: #e0e8f2; }
|
||||
.hint { margin-left: auto; font-size: 12px; }
|
||||
.stage {
|
||||
flex: 1; min-height: 0; display: grid; place-items: center; overflow: hidden;
|
||||
background: radial-gradient(ellipse at center, #222e42, #10151e 75%);
|
||||
}
|
||||
.layout-surface {
|
||||
position: relative; overflow: hidden; width: 100%; container-type: inline-size;
|
||||
isolation: isolate; background: linear-gradient(155deg, #263748, #141b2b 68%);
|
||||
outline: 1px solid #42536b; border-radius: 5px;
|
||||
}
|
||||
.layout-surface.editable { touch-action: none; user-select: none; box-shadow: 0 12px 36px #050b16a6; }
|
||||
.layout-surface.with-guides::before {
|
||||
content: ""; position: absolute; inset: 0; pointer-events: none;
|
||||
background: linear-gradient(#b3c8ea12 1px, transparent 1px), linear-gradient(90deg, #b3c8ea12 1px, transparent 1px);
|
||||
background-size: 8.333% 5%;
|
||||
}
|
||||
.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; }
|
||||
.layout-item {
|
||||
position: absolute; display: flex; align-items: center; justify-content: center; flex-direction: column;
|
||||
min-width: 0; min-height: 0; padding: 0; color: #f4f8fb; overflow: hidden;
|
||||
}
|
||||
.editable .layout-item { cursor: grab; }
|
||||
.layout-item.selected, .editable .layout-item:focus-visible { outline: 1px solid #7bc2ff; outline-offset: -1px; }
|
||||
.layout-item.widget { background: #6f91b442; border: 1px solid #9ab6d267; border-radius: 1.6cqw; }
|
||||
.layout-item.dock_bg { background: #b0bfdd30; border: 1px solid #a3b8d44a; }
|
||||
.icon-art {
|
||||
display: grid; place-items: center; width: 74%; max-width: 15cqw; aspect-ratio: 1;
|
||||
border-radius: 26%; background: var(--icon-fill); font-size: 4cqw; font-weight: bold;
|
||||
}
|
||||
.icon-label, .widget-label {
|
||||
font-size: 2.55cqw; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
|
||||
}
|
||||
.widget-label { font-size: 3.1cqw; }
|
||||
.resize-handle {
|
||||
position: absolute; inset: auto 0 0 auto; width: 11px; height: 11px;
|
||||
background: #a2d0fa; border-radius: 3px 0 0 0; cursor: nwse-resize; opacity: 0;
|
||||
}
|
||||
.selected > .resize-handle, .layout-item:hover > .resize-handle, .layout-item:focus-visible > .resize-handle { opacity: 1; }
|
||||
.page-bar { border-top: 1px solid #2a3547; padding: 10px 12px; background: #161e2a; }
|
||||
.inspector { border-left: 1px solid #2a3547; padding: 0 12px 12px; }
|
||||
.previews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px 12px; }
|
||||
.previews figure { display: flex; align-items: center; flex-direction: column; justify-content: flex-end; gap: 8px; }
|
||||
.previews figcaption { text-align: center; font-size: 12px; }
|
||||
.previews small, .release-history small { display: block; font-size: 11px; }
|
||||
.item-properties { display: grid; gap: 10px; }
|
||||
.property-input {
|
||||
width: 100%; height: 24px; padding: 0 8px; border: 1px solid var(--el-border-color);
|
||||
border-radius: 4px; color: var(--el-text-color-regular); background: var(--el-fill-color-blank);
|
||||
}
|
||||
.property-input:focus { outline: 1px solid var(--el-color-primary); }
|
||||
.empty { color: #9caec3; padding: 10px 0; }
|
||||
.issues, .release-history { list-style: none; padding: 0; margin: 8px 0; }
|
||||
.issues li { display: grid; gap: 4px; margin-bottom: 8px; padding: 8px; border-left: 2px solid #d7a754; }
|
||||
.issues li.error { border-color: #f17c7c; }
|
||||
pre { color: #a7ccea; font-size: 11px; max-width: 100%; overflow: auto; }
|
||||
.release-actions { margin: 12px 0; }
|
||||
.release-status { display: block; white-space: pre-wrap; margin-bottom: 12px; }
|
||||
.release-error { color: #f49797; }
|
||||
.release-history { max-height: 38vh; overflow: auto; }
|
||||
.release-history li {
|
||||
display: flex; gap: 10px; align-items: center; justify-content: space-between;
|
||||
padding: 8px 0; border-top: 1px solid #394254;
|
||||
}
|
||||
@media (max-width: 1120px) {
|
||||
.workspace { grid-template-columns: 188px minmax(0, 1fr) 288px; }
|
||||
.hint { margin-left: 0; }
|
||||
}
|
||||
@media (max-width: 820px) {
|
||||
.workspace { height: auto; grid-template-columns: 180px minmax(0, 1fr); }
|
||||
.editor { min-height: 550px; }
|
||||
.inspector { grid-column: 1 / -1; }
|
||||
.previews { grid-template-columns: repeat(auto-fit, minmax(85px, 120px)); }
|
||||
}
|
||||
@media (max-width: 540px) {
|
||||
.workspace { display: flex; flex-direction: column; }
|
||||
.editor { order: -1; min-height: 520px; }
|
||||
.settings { display: grid; grid-template-columns: 1fr 1fr; }
|
||||
}
|
||||
Reference in new issue
Block a user