| *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
| :root {
|
| --bg: #0d0d1a;
|
| --bg2: #13132a;
|
| --bg3: #1a1a35;
|
| --border: #2a2a4a;
|
| --text: #d0d0f0;
|
| --muted: #6060a0;
|
| --accent: #5865f2;
|
| --green: #3ddc84;
|
| --yellow: #f1c40f;
|
| --red: #e74c3c;
|
| --cyan: #47c4e2;
|
| --orange: #f39c12;
|
| }
|
|
|
| body {
|
| font-family: 'Segoe UI', system-ui, sans-serif;
|
| font-size: 13px;
|
| background: var(--bg);
|
| color: var(--text);
|
| height: 100vh;
|
| display: flex;
|
| flex-direction: column;
|
| overflow: hidden;
|
| user-select: none;
|
| }
|
|
|
|
|
| #header {
|
| display: flex;
|
| align-items: center;
|
| gap: 10px;
|
| padding: 8px 14px;
|
| background: var(--bg2);
|
| border-bottom: 1px solid var(--border);
|
| flex-shrink: 0;
|
| -webkit-app-region: drag;
|
| }
|
| #header > * { -webkit-app-region: no-drag; }
|
|
|
| #project-name {
|
| font-size: 15px;
|
| font-weight: 600;
|
| color: #fff;
|
| white-space: nowrap;
|
| overflow: hidden;
|
| text-overflow: ellipsis;
|
| max-width: 320px;
|
| flex: 1;
|
| }
|
| #project-path {
|
| font-size: 11px;
|
| color: var(--muted);
|
| white-space: nowrap;
|
| overflow: hidden;
|
| text-overflow: ellipsis;
|
| flex: 2;
|
| }
|
| #type-badge {
|
| padding: 2px 10px;
|
| border-radius: 12px;
|
| font-size: 11px;
|
| font-weight: 600;
|
| white-space: nowrap;
|
| flex-shrink: 0;
|
| }
|
| .badge-expo { background: #4f38c9; color: #fff; }
|
| .badge-rn { background: #20232a; color: #61dafb; border: 1px solid #61dafb; }
|
| .badge-electron { background: #2c3e50; color: var(--cyan); border: 1px solid var(--cyan); }
|
| .badge-nextjs { background: #000; color: #fff; border: 1px solid #444; }
|
| .badge-vite { background: #1a1a35; color: #bd34fe; border: 1px solid #bd34fe; }
|
| .badge-npm { background: #2d2d2d; color: #cc3534; border: 1px solid #cc3534; }
|
|
|
| .hdr-btn {
|
| background: var(--bg3);
|
| border: 1px solid var(--border);
|
| color: var(--text);
|
| border-radius: 6px;
|
| padding: 4px 10px;
|
| cursor: pointer;
|
| font-size: 12px;
|
| white-space: nowrap;
|
| transition: background 0.15s;
|
| }
|
| .hdr-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
|
|
|
|
|
| .nav-tab {
|
| display: flex;
|
| align-items: center;
|
| gap: 5px;
|
| padding: 5px 10px;
|
| border-radius: 6px;
|
| border: none;
|
| background: transparent;
|
| color: var(--muted);
|
| font-size: 12px;
|
| font-weight: 500;
|
| font-family: inherit;
|
| cursor: pointer;
|
| transition: background 0.13s, color 0.13s;
|
| }
|
| .nav-tab:hover { background: var(--bg3); color: var(--text); }
|
| .nav-tab.active { background: var(--accent); color: #fff; }
|
| .nav-tab svg { width: 13px; height: 13px; }
|
|
|
|
|
| #content-wrap {
|
| flex: 1;
|
| overflow: hidden;
|
| position: relative;
|
| display: flex;
|
| flex-direction: column;
|
| }
|
| .page {
|
| position: absolute;
|
| inset: 0;
|
| display: none;
|
| flex-direction: column;
|
| overflow: hidden;
|
| }
|
| .page.active { display: flex; }
|
| #page-home {
|
| overflow-y: auto;
|
| background: var(--bg);
|
| }
|
| #page-home::-webkit-scrollbar { width: 5px; }
|
| #page-home::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
|
| #home-iframe {
|
| width: 100%; height: 100%;
|
| border: none; display: block;
|
| background: var(--bg);
|
| }
|
| #page-r2 {
|
| overflow-y: auto;
|
| background: var(--bg);
|
| }
|
| #r2-iframe {
|
| width: 100%;
|
| height: 100%;
|
| border: none;
|
| display: block;
|
| background: var(--bg);
|
| }
|
| #page-support {
|
| overflow-y: auto;
|
| background: var(--bg);
|
| }
|
| #support-iframe {
|
| width: 100%;
|
| height: 100%;
|
| border: none;
|
| display: block;
|
| background: var(--bg);
|
| }
|
| #page-run {
|
| overflow: hidden;
|
| flex-direction: column;
|
| }
|
|
|
|
|
| #main {
|
| display: flex;
|
| flex: 1;
|
| overflow: hidden;
|
| }
|
| #cmd-panel {
|
| width: 270px;
|
| min-width: 200px;
|
| max-width: 340px;
|
| background: var(--bg2);
|
| border-right: 1px solid var(--border);
|
| display: flex;
|
| flex-direction: column;
|
| overflow: hidden;
|
| flex-shrink: 0;
|
| }
|
| #dev-quick-panel {
|
| padding: 8px 8px 6px;
|
| border-bottom: 1px solid var(--border);
|
| background: linear-gradient(180deg, rgba(17, 23, 48, 0.85), rgba(14, 18, 38, 0.82));
|
| }
|
| #dev-quick-title {
|
| font-size: 10px;
|
| font-weight: 700;
|
| text-transform: uppercase;
|
| letter-spacing: 0.09em;
|
| color: #99a7de;
|
| margin-bottom: 6px;
|
| }
|
| #dev-quick-actions {
|
| display: grid;
|
| grid-template-columns: 1fr;
|
| gap: 4px;
|
| }
|
| .dev-quick-btn {
|
| width: 100%;
|
| border: 1px solid rgba(93, 129, 250, 0.35);
|
| border-radius: 7px;
|
| background: rgba(45, 69, 158, 0.2);
|
| color: #c9d8ff;
|
| font: inherit;
|
| font-size: 11px;
|
| padding: 6px 8px;
|
| cursor: pointer;
|
| text-align: left;
|
| }
|
| .dev-quick-btn:hover {
|
| background: rgba(65, 96, 210, 0.45);
|
| color: #fff;
|
| }
|
| .dev-quick-btn:disabled {
|
| opacity: 0.5;
|
| cursor: default;
|
| }
|
| #dev-quick-note {
|
| margin-top: 6px;
|
| font-size: 10px;
|
| line-height: 1.3;
|
| color: #7888bf;
|
| }
|
| #cmd-scroll {
|
| flex: 1;
|
| overflow-y: auto;
|
| padding: 8px 6px;
|
| }
|
| #cmd-scroll::-webkit-scrollbar { width: 4px; }
|
| #cmd-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
|
|
|
| .cmd-group { margin-bottom: 12px; }
|
| .cmd-group-label {
|
| font-size: 10px;
|
| font-weight: 700;
|
| text-transform: uppercase;
|
| letter-spacing: 0.08em;
|
| color: var(--muted);
|
| padding: 4px 6px 6px;
|
| border-bottom: 1px solid var(--border);
|
| margin-bottom: 4px;
|
| display: flex;
|
| align-items: center;
|
| gap: 6px;
|
| }
|
| .cmd-group-label span { color: var(--text); }
|
| .cmd-group-label svg { width: 13px; height: 13px; flex-shrink: 0; }
|
| .hdr-btn svg { width: 13px; height: 13px; vertical-align: middle; margin-right: 3px; }
|
| .cmd-group-icon { line-height: 0; }
|
|
|
| .group-color-default { color: #9aa2c8; }
|
| .group-color-expo { color: #7c6cf6; }
|
| .group-color-android { color: #3ddc84; }
|
| .group-color-adb { color: #f39c12; }
|
| .group-color-electron { color: #47c4e2; }
|
| .group-color-nextjs { color: #ffffff; }
|
| .group-color-vite { color: #bd34fe; }
|
| .group-color-scripts { color: #f7c948; }
|
| .group-color-npm { color: #e84040; }
|
|
|
| .cmd-btn {
|
| display: block;
|
| width: 100%;
|
| text-align: left;
|
| background: rgba(56, 100, 240, 0.14);
|
| border: 1px solid rgba(56, 100, 240, 0.32);
|
| color: #c8d4ff;
|
| padding: 7px 12px;
|
| border-radius: 7px;
|
| cursor: pointer;
|
| font-size: 12.5px;
|
| font-weight: 500;
|
| margin-bottom: 3px;
|
| transition: all 0.13s;
|
| white-space: nowrap;
|
| overflow: hidden;
|
| text-overflow: ellipsis;
|
| }
|
| .cmd-btn:hover {
|
| background: rgba(56, 100, 240, 0.72);
|
| border-color: #3864f0;
|
| color: #fff;
|
| }
|
| .cmd-btn:active {
|
| background: #3864f0;
|
| color: #fff;
|
| }
|
| .cmd-btn.running {
|
| background: var(--accent);
|
| color: #fff;
|
| border-color: var(--accent);
|
| animation: pulse 1.5s infinite;
|
| }
|
| .cmd-btn.running-popup {
|
| background: color-mix(in srgb, #2a86d9 58%, #071326);
|
| border-color: #4eb2ff;
|
| color: #e7f6ff;
|
| box-shadow: 0 0 0 1px rgba(82, 176, 255, 0.25) inset;
|
| }
|
| .cmd-btn.done-ok {
|
| background: color-mix(in srgb, var(--green) 18%, #080812);
|
| border-color: var(--green);
|
| }
|
| .cmd-btn.done-err {
|
| background: color-mix(in srgb, var(--red) 18%, #080812);
|
| border-color: var(--red);
|
| }
|
|
|
| @keyframes pulse {
|
| 0%, 100% { opacity: 1; }
|
| 50% { opacity: 0.75; }
|
| }
|
|
|
| #error-msg {
|
| padding: 20px;
|
| color: var(--red);
|
| font-size: 13px;
|
| line-height: 1.6;
|
| }
|
|
|
|
|
| #term-panel {
|
| flex: 1;
|
| display: flex;
|
| flex-direction: column;
|
| overflow: hidden;
|
| background: #080812;
|
| padding: 10px 14px;
|
| }
|
| #term-output {
|
| flex: 1;
|
| overflow: hidden;
|
| font-family: 'Cascadia Code', 'Consolas', monospace;
|
| font-size: 12px;
|
| line-height: 1.55;
|
| white-space: pre-wrap;
|
| word-break: break-all;
|
| color: #c0c0d8;
|
| user-select: text;
|
| }
|
| #term-output::-webkit-scrollbar { width: 6px; }
|
| #term-output::-webkit-scrollbar-thumb { background: #2a2a4a; border-radius: 3px; }
|
| .xterm, .xterm * {
|
| user-select: text !important;
|
| -webkit-user-select: text !important;
|
| }
|
| .term-line { display: block; }
|
| .t-prompt { color: var(--accent); font-weight: 600; }
|
|
|
| .ansi-bold { font-weight: bold; }
|
| .ansi-c30 { color: #555; }
|
| .ansi-c31 { color: #e74c3c; }
|
| .ansi-c32 { color: #2ecc71; }
|
| .ansi-c33 { color: #f1c40f; }
|
| .ansi-c34 { color: #74b9ff; }
|
| .ansi-c35 { color: #a29bfe; }
|
| .ansi-c36 { color: #55efc4; }
|
| .ansi-c37 { color: #dfe6e9; }
|
| .ansi-c90 { color: #636e72; }
|
| .ansi-c91 { color: #ff7675; }
|
| .ansi-c92 { color: #00b894; }
|
| .ansi-c93 { color: #fdcb6e; }
|
| .ansi-c94 { color: #0984e3; }
|
| .ansi-c95 { color: #e84393; }
|
| .ansi-c96 { color: #00cec9; }
|
| .ansi-c97 { color: #ffffff; }
|
|
|
| .term-error { color: #ff7675; font-weight: 700; }
|
| .term-warn { color: #fdcb6e; font-weight: 700; }
|
| .term-info { color: #74b9ff; font-weight: 700; }
|
| .term-ok { color: #2ecc71; font-weight: 700; }
|
|
|
| .text-ok { color: #2ecc71 !important; }
|
| .text-warn { color: #fdcb6e !important; }
|
| .text-err { color: #ff7675 !important; }
|
| .text-info { color: #86b0ff !important; }
|
|
|
|
|
| #footer {
|
| display: flex;
|
| align-items: center;
|
| gap: 8px;
|
| padding: 6px 12px;
|
| background: var(--bg2);
|
| border-top: 1px solid var(--border);
|
| flex-shrink: 0;
|
| }
|
| #btn-kill {
|
| background: var(--red);
|
| color: #fff;
|
| border: none;
|
| border-radius: 5px;
|
| padding: 4px 12px;
|
| cursor: pointer;
|
| font-size: 12px;
|
| font-weight: 600;
|
| transition: opacity 0.15s;
|
| }
|
| #btn-kill:disabled { opacity: 0.3; cursor: default; }
|
| #btn-kill:not(:disabled):hover { opacity: 0.85; }
|
|
|
| #btn-clear {
|
| background: var(--bg3);
|
| border: 1px solid var(--border);
|
| color: var(--muted);
|
| border-radius: 5px;
|
| padding: 4px 10px;
|
| cursor: pointer;
|
| font-size: 12px;
|
| transition: color 0.15s;
|
| }
|
| #btn-clear:hover { color: var(--text); }
|
|
|
| #stream-mode-wrap {
|
| display: inline-flex;
|
| align-items: center;
|
| gap: 6px;
|
| padding: 2px 7px;
|
| border: 1px solid var(--border);
|
| border-radius: 6px;
|
| background: rgba(18, 21, 46, 0.72);
|
| }
|
| #stream-mode-wrap label {
|
| color: var(--muted);
|
| font-size: 11px;
|
| }
|
| #stream-mode {
|
| background: transparent;
|
| color: var(--text);
|
| border: none;
|
| outline: none;
|
| font-size: 12px;
|
| font-family: inherit;
|
| cursor: pointer;
|
| }
|
| #stream-mode option {
|
| background: #12152e;
|
| color: var(--text);
|
| }
|
|
|
| #status-dot {
|
| width: 8px; height: 8px;
|
| border-radius: 50%;
|
| background: var(--muted);
|
| flex-shrink: 0;
|
| }
|
| #status-dot.running { background: var(--green); animation: pulse 1s infinite; }
|
| #status-dot.error { background: var(--red); }
|
|
|
| #status-text { color: var(--muted); font-size: 12px; }
|
| #running-label {
|
| color: var(--accent);
|
| font-size: 12px;
|
| overflow: hidden;
|
| text-overflow: ellipsis;
|
| white-space: nowrap;
|
| flex: 1;
|
| }
|
|
|
|
|
| .modal-backdrop {
|
| position: fixed;
|
| inset: 0;
|
| background: rgba(6, 8, 20, 0.68);
|
| backdrop-filter: blur(3px);
|
| display: none;
|
| align-items: center;
|
| justify-content: center;
|
| z-index: 90;
|
| }
|
| .modal-backdrop.show { display: flex; }
|
| .modal {
|
| width: min(520px, calc(100vw - 26px));
|
| border-radius: 14px;
|
| border: 1px solid rgba(91, 124, 255, 0.28);
|
| background:
|
| linear-gradient(160deg, rgba(17, 20, 43, 0.94), rgba(11, 14, 34, 0.94));
|
| box-shadow:
|
| 0 18px 48px rgba(6, 8, 20, 0.62),
|
| inset 0 0 0 1px rgba(128, 153, 255, 0.06);
|
| overflow: hidden;
|
| }
|
| .modal-head {
|
| display: flex;
|
| align-items: center;
|
| justify-content: space-between;
|
| gap: 10px;
|
| padding: 14px 14px 10px;
|
| border-bottom: 1px solid rgba(88, 107, 198, 0.24);
|
| }
|
| .modal-title {
|
| display: inline-flex;
|
| align-items: center;
|
| gap: 8px;
|
| font-size: 13px;
|
| font-weight: 700;
|
| color: #d9e2ff;
|
| letter-spacing: 0.02em;
|
| }
|
| .modal-title svg { width: 15px; height: 15px; color: #8ea5ff; }
|
| .modal-close {
|
| border: 1px solid rgba(95, 115, 210, 0.35);
|
| background: rgba(68, 86, 170, 0.16);
|
| color: #b9c8ff;
|
| width: 26px;
|
| height: 26px;
|
| border-radius: 7px;
|
| cursor: pointer;
|
| font-size: 15px;
|
| line-height: 1;
|
| }
|
| .modal-close:hover { background: rgba(88, 108, 204, 0.3); color: #fff; }
|
| .modal-body { padding: 12px 14px 14px; }
|
| .modal-note {
|
| color: #7f8bb6;
|
| font-size: 11px;
|
| line-height: 1.55;
|
| margin-bottom: 12px;
|
| }
|
| .modal-field { margin-bottom: 10px; }
|
| .modal-label {
|
| display: block;
|
| margin-bottom: 5px;
|
| color: #97a7dd;
|
| font-size: 11px;
|
| letter-spacing: 0.03em;
|
| }
|
| .modal-input {
|
| width: 100%;
|
| height: 34px;
|
| border-radius: 8px;
|
| border: 1px solid rgba(88, 107, 198, 0.35);
|
| background: rgba(8, 11, 27, 0.62);
|
| color: #d8e2ff;
|
| padding: 0 10px;
|
| font: inherit;
|
| font-size: 12px;
|
| outline: none;
|
| }
|
| .modal-input:focus {
|
| border-color: rgba(106, 138, 255, 0.7);
|
| box-shadow: 0 0 0 2px rgba(104, 134, 255, 0.16);
|
| }
|
| .modal-hint {
|
| color: #6f7dad;
|
| font-size: 10px;
|
| margin-top: 4px;
|
| letter-spacing: 0.02em;
|
| }
|
| .target-list {
|
| display: flex;
|
| flex-wrap: wrap;
|
| gap: 6px;
|
| margin-top: 8px;
|
| max-height: 88px;
|
| overflow: auto;
|
| padding-right: 2px;
|
| }
|
| .target-chip {
|
| border: 1px solid rgba(96, 120, 224, 0.35);
|
| background: rgba(55, 73, 150, 0.14);
|
| color: #bfcdfd;
|
| border-radius: 999px;
|
| padding: 3px 9px;
|
| font-size: 10px;
|
| letter-spacing: 0.02em;
|
| cursor: pointer;
|
| }
|
| .target-chip:hover { background: rgba(86, 108, 213, 0.34); color: #fff; }
|
| .modal-status {
|
| margin-top: 10px;
|
| min-height: 16px;
|
| color: #86b0ff;
|
| font-size: 11px;
|
| }
|
| .modal-foot {
|
| margin-top: 12px;
|
| display: flex;
|
| justify-content: flex-end;
|
| gap: 8px;
|
| }
|
| .modal-btn {
|
| border: 1px solid rgba(88, 107, 198, 0.35);
|
| border-radius: 8px;
|
| height: 33px;
|
| padding: 0 12px;
|
| color: #d7e1ff;
|
| background: rgba(60, 77, 150, 0.18);
|
| cursor: pointer;
|
| font: inherit;
|
| font-size: 12px;
|
| }
|
| .modal-btn:hover { background: rgba(86, 105, 196, 0.33); }
|
| .modal-btn.primary {
|
| border-color: rgba(91, 124, 255, 0.6);
|
| background: linear-gradient(150deg, rgba(73, 100, 231, 0.9), rgba(67, 88, 199, 0.92));
|
| color: #fff;
|
| }
|
| .modal-btn.primary:hover {
|
| background: linear-gradient(150deg, rgba(90, 118, 247, 0.98), rgba(75, 102, 223, 0.98));
|
| }
|
| .modal-btn.danger {
|
| border-color: rgba(209, 94, 116, 0.45);
|
| background: rgba(150, 58, 80, 0.2);
|
| color: #ffc3cc;
|
| margin-right: auto;
|
| }
|
| .modal-btn.danger:hover {
|
| background: rgba(185, 66, 95, 0.34);
|
| color: #fff;
|
| }
|
|
|
| .security-modal {
|
| width: min(640px, calc(100vw - 28px));
|
| background: #000;
|
| border: 1px solid #fff;
|
| color: #fff;
|
| border-radius: 4px;
|
| overflow: hidden;
|
| }
|
|
|
| .security-modal-head {
|
| border-bottom: 1px solid #fff;
|
| padding: 14px 16px;
|
| }
|
|
|
| .security-modal-title {
|
| font-size: 14px;
|
| font-weight: 700;
|
| letter-spacing: 0.06em;
|
| }
|
|
|
| .security-modal-body {
|
| padding: 14px 16px 16px;
|
| }
|
|
|
| .security-modal-text {
|
| white-space: pre-line;
|
| line-height: 1.6;
|
| font-size: 13px;
|
| }
|
|
|
| .security-modal-path {
|
| margin-top: 10px;
|
| font-family: Consolas, monospace;
|
| font-size: 12px;
|
| line-height: 1.4;
|
| word-break: break-all;
|
| }
|
|
|
| .security-modal-actions {
|
| margin-top: 14px;
|
| display: flex;
|
| justify-content: flex-end;
|
| }
|
|
|
| .security-modal-btn {
|
| border: 1px solid #fff;
|
| background: #000;
|
| color: #fff;
|
| border-radius: 3px;
|
| height: 32px;
|
| padding: 0 14px;
|
| font: inherit;
|
| font-size: 12px;
|
| cursor: pointer;
|
| }
|
|
|
| .security-modal-btn:hover {
|
| background: #111;
|
| }
|
|
|