| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996 |
- :root {
- --rail: #1e293b;
- --rail-ink: #e2e8f0;
- --accent: #0d9488;
- }
- html, body {
- height: 100%;
- margin: 0;
- overflow: hidden;
- background: #f1f5f9;
- }
- .app {
- height: 100%;
- width: 100%;
- min-height: 100%;
- }
- .rail {
- width: 220px;
- background: var(--rail);
- color: var(--rail-ink);
- display: flex;
- flex-direction: column;
- height: 100%;
- position: sticky;
- top: 0;
- flex-shrink: 0;
- }
- .brand-mark {
- width: 32px;
- height: 32px;
- border-radius: 8px;
- display: grid;
- place-items: center;
- font-weight: 800;
- color: #083f3b;
- background: linear-gradient(145deg, #5eead4, #0f766e);
- }
- .nav-item {
- color: rgba(226, 232, 240, 0.78) !important;
- border-radius: 8px;
- padding: 0.45rem 0.75rem !important;
- border: 0;
- background: transparent;
- font-size: 0.92rem;
- }
- .nav-item:hover { background: rgba(255,255,255,.06); color: #fff !important; }
- .nav-item.is-active {
- background: rgba(13, 148, 136, 0.28) !important;
- color: #fff !important;
- }
- .nav-logout {
- color: rgba(248, 113, 113, 0.92) !important;
- }
- .nav-logout:hover {
- background: rgba(248, 113, 113, 0.14) !important;
- color: #fecaca !important;
- }
- .rail-foot {
- margin-top: auto;
- }
- .live .pulse {
- width: 8px;
- height: 8px;
- border-radius: 50%;
- background: #94a3b8;
- display: inline-block;
- }
- .live.is-ok .pulse { background: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,.2); }
- .live.is-bad .pulse { background: #f87171; }
- .main {
- flex: 1 1 auto;
- min-width: 0;
- width: 100%;
- max-width: none;
- height: 100%;
- padding: 1rem 1.25rem;
- display: flex;
- flex-direction: column;
- overflow: hidden;
- }
- .top {
- flex-shrink: 0;
- margin-bottom: 0.85rem !important;
- }
- .view { display: none; }
- .view.is-active {
- display: flex;
- flex-direction: column;
- flex: 1 1 auto;
- min-height: 0;
- gap: 0.75rem;
- overflow: hidden;
- }
- /* List pages: stretch card + scroll table */
- .view.is-active > .card {
- flex: 1 1 auto;
- min-height: 0;
- display: flex;
- flex-direction: column;
- overflow: hidden;
- margin-bottom: 0 !important;
- }
- .view.is-active > .card > .card-header {
- flex-shrink: 0;
- }
- .view.is-active > .card > .table-responsive {
- flex: 1 1 auto;
- min-height: 0;
- overflow: auto;
- }
- .view.is-active > .card > .card-body {
- flex: 1 1 auto;
- min-height: 0;
- overflow: auto;
- }
- /* Console: full width, scroll if needed; cards share space */
- #view-console.is-active {
- overflow: hidden;
- }
- #view-console.is-active > .card {
- flex: 1 1 auto;
- min-height: 0;
- display: flex;
- flex-direction: column;
- overflow: hidden;
- }
- #view-console .card-body.min-h-0,
- .min-h-0 {
- min-height: 0;
- }
- #view-software.is-active {
- overflow: auto;
- }
- #view-software.is-active > .row {
- width: 100%;
- margin-left: 0;
- margin-right: 0;
- }
- #view-processes.is-active {
- overflow: hidden;
- display: flex;
- flex-direction: column;
- min-height: 0;
- }
- #view-processes.is-active > .card {
- flex: 1 1 auto;
- min-height: 0;
- display: flex;
- flex-direction: column;
- overflow: hidden;
- }
- #view-processes .proc-table-wrap {
- flex: 1 1 auto;
- min-height: 0;
- overflow: auto;
- }
- #view-processes .proc-toolbar {
- min-width: 0;
- }
- #view-processes .proc-toolbar-actions {
- min-width: 0;
- flex: 1 1 auto;
- justify-content: flex-end;
- }
- #view-processes #proc-search {
- width: 16rem;
- max-width: 100%;
- min-width: 8rem;
- flex: 1 1 12rem;
- }
- #view-processes .proc-toolbar-actions .form-check,
- #view-processes #btn-proc-refresh {
- flex: 0 0 auto;
- }
- #proc-table th.proc-sort {
- cursor: pointer;
- user-select: none;
- white-space: nowrap;
- }
- #proc-table th.proc-sort.is-active {
- color: #0d6efd;
- }
- #proc-table th.proc-sort.is-active::after {
- content: "";
- display: inline-block;
- margin-left: 0.25rem;
- border: 4px solid transparent;
- }
- #proc-table th.proc-sort.is-active[data-sort-dir="asc"]::after {
- border-bottom-color: currentColor;
- transform: translateY(-2px);
- }
- #proc-table th.proc-sort.is-active[data-sort-dir="desc"]::after {
- border-top-color: currentColor;
- transform: translateY(2px);
- }
- #proc-table td.proc-cmd {
- max-width: 28rem;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
- font-size: 0.78rem;
- }
- #proc-table td.proc-name {
- font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
- font-size: 0.8rem;
- white-space: nowrap;
- }
- .metrics-range {
- width: auto;
- min-width: 5.5rem;
- font-size: 0.8rem;
- padding-top: 0.15rem;
- padding-bottom: 0.15rem;
- }
- .analytics-stat {
- background: #f8fafc;
- border: 1px solid #e2e8f0;
- border-radius: 10px;
- padding: 0.7rem 0.85rem;
- height: 100%;
- }
- .analytics-stat .label {
- font-size: 0.75rem;
- color: #64748b;
- margin-bottom: 0.2rem;
- }
- .analytics-stat .value {
- font-size: 1.05rem;
- font-weight: 700;
- color: #0f172a;
- word-break: break-all;
- }
- .analytics-panel {
- border: 1px solid #e2e8f0;
- border-radius: 12px;
- padding: 0.85rem 1rem;
- background: #fff;
- height: 100%;
- }
- .analytics-panel-title {
- font-weight: 600;
- font-size: 0.9rem;
- margin-bottom: 0.65rem;
- }
- .analytics-chart {
- position: relative;
- height: 220px;
- }
- .analytics-chart-sm {
- height: 200px;
- }
- .monitor-card {
- height: 100%;
- min-height: 220px;
- padding: 0.85rem 1rem;
- background: #fff;
- border: 1px solid #e2e8f0;
- border-radius: 12px;
- display: flex;
- flex-direction: column;
- }
- .monitor-chart {
- position: relative;
- flex: 1 1 auto;
- min-height: 160px;
- }
- .monitor-chart canvas {
- width: 100% !important;
- height: 100% !important;
- }
- .soft-card .card-body { padding: 0.75rem 0.9rem; }
- .soft-card .meta {
- font-size: 0.8rem;
- color: #64748b;
- margin: 0;
- padding-left: 1rem;
- }
- .soft-card .btn { --bs-btn-padding-y: 0.2rem; --bs-btn-padding-x: 0.5rem; --bs-btn-font-size: 0.8rem; }
- .table > :not(caption) > * > * {
- padding: 0.4rem 0.65rem;
- font-size: 0.875rem;
- }
- .table thead th {
- font-size: 0.78rem;
- text-transform: uppercase;
- letter-spacing: 0.02em;
- color: #64748b;
- background: #f8fafc;
- }
- .file-icon {
- width: 1.15rem;
- display: inline-flex;
- justify-content: center;
- margin-right: 0.35rem;
- color: #64748b;
- }
- .file-icon.dir { color: #ca8a04; }
- .file-icon.code { color: #2563eb; }
- .file-icon.web { color: #ea580c; }
- .file-icon.img { color: #db2777; }
- .file-icon.cfg { color: #0f766e; }
- .file-icon.doc { color: #475569; }
- .files-name {
- cursor: pointer;
- color: #0f172a;
- text-decoration: none;
- }
- .files-name:hover { color: var(--accent); text-decoration: underline; }
- .files-check-col {
- width: 2rem;
- text-align: center;
- vertical-align: middle;
- }
- #files-table tbody tr.is-selected {
- background: rgba(37, 99, 235, 0.08);
- }
- #files-table tbody tr.is-selected:hover {
- background: rgba(37, 99, 235, 0.12);
- }
- #files-bulk-actions .disabled {
- pointer-events: none;
- }
- .crumbs a, .crumbs button {
- appearance: none;
- border: 0;
- background: transparent;
- color: var(--accent);
- font: inherit;
- padding: 0;
- cursor: pointer;
- }
- .crumbs span { color: #94a3b8; margin: 0 0.2rem; }
- .toast-host {
- z-index: 120;
- pointer-events: none;
- }
- .toast-host .toast-item {
- pointer-events: none;
- background: #0f172a;
- color: #fff;
- border-radius: 8px;
- padding: 0.55rem 0.85rem;
- margin-top: 0.4rem;
- font-size: 0.85rem;
- box-shadow: 0 8px 24px rgba(15,23,42,.25);
- animation: toast-in 0.18s ease;
- }
- .toast-host .toast-item.ok {
- background: #0f766e;
- }
- .toast-host .toast-item.err { background: #b91c1c; }
- @keyframes toast-in {
- from { opacity: 0; transform: translateY(6px); }
- to { opacity: 1; transform: none; }
- }
- .alert-dialog-msg {
- white-space: pre-wrap;
- word-break: break-word;
- font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
- font-size: 0.8125rem;
- line-height: 1.45;
- max-height: min(50vh, 22rem);
- overflow: auto;
- margin: 0;
- color: #991b1b;
- background: #fef2f2;
- border: 1px solid #fecaca;
- border-radius: 0.5rem;
- padding: 0.75rem 0.9rem;
- }
- /* Nested dialogs (e.g. URL proxy form over site settings) */
- #modal.modal {
- z-index: 2010;
- }
- .modal-backdrop.modal-backdrop-nested {
- z-index: 2000;
- }
- .task-panel[hidden] { display: none !important; }
- .task-panel {
- position: fixed; inset: 0; z-index: 70;
- display: flex; align-items: center; justify-content: center;
- padding: 1.25rem;
- }
- .task-panel-backdrop {
- position: absolute; inset: 0;
- background: rgba(15, 23, 42, 0.5);
- backdrop-filter: blur(2px);
- }
- .task-panel-dialog {
- position: relative;
- z-index: 1;
- width: min(920px, 94vw);
- height: min(640px, 84vh);
- min-width: 480px;
- min-height: 320px;
- max-width: calc(100vw - 2.5rem);
- max-height: calc(100vh - 2.5rem);
- background: #0f172a; color: #e2e8f0;
- display: flex; flex-direction: column;
- border-radius: 12px;
- overflow: hidden;
- border: 1px solid rgba(255,255,255,.1);
- box-shadow: 0 24px 80px rgba(0,0,0,.45);
- animation: task-dialog-in .18s ease-out;
- }
- .task-panel-dialog.is-resizing {
- animation: none;
- user-select: none;
- }
- @keyframes task-dialog-in {
- from { opacity: 0; transform: translateY(10px) scale(.98); }
- to { opacity: 1; transform: none; }
- }
- /* Shared resize handle for all built-in dialogs */
- .dialog-resize {
- position: absolute;
- right: 0; bottom: 0;
- width: 18px; height: 18px;
- cursor: nwse-resize;
- z-index: 5;
- }
- .dialog-resize::before {
- content: "";
- position: absolute;
- right: 4px; bottom: 4px;
- width: 10px; height: 10px;
- border-right: 2px solid rgba(148, 163, 184, 0.85);
- border-bottom: 2px solid rgba(148, 163, 184, 0.85);
- border-radius: 1px;
- }
- .dialog-resize:hover::before {
- border-color: #0d9488;
- }
- .modal-content .dialog-resize::before {
- border-color: rgba(100, 116, 139, 0.9);
- }
- .modal-content .dialog-resize:hover::before {
- border-color: #0d9488;
- }
- .is-resizable-dialog {
- position: relative;
- }
- .is-resizable-dialog.is-resizing {
- user-select: none;
- }
- .modal-dialog.is-resizable-dialog.has-custom-size {
- max-width: none;
- margin-left: auto;
- margin-right: auto;
- display: flex;
- flex-direction: column;
- }
- .modal-dialog.is-resizable-dialog.has-custom-size .modal-content {
- width: 100%;
- height: 100%;
- display: flex;
- flex-direction: column;
- overflow: hidden;
- position: relative;
- }
- .modal-dialog.is-resizable-dialog.has-custom-size .modal-header,
- .modal-dialog.is-resizable-dialog.has-custom-size .modal-footer {
- flex-shrink: 0;
- }
- .modal-dialog.is-resizable-dialog.has-custom-size .modal-body {
- flex: 1 1 auto;
- min-height: 0;
- overflow: auto;
- }
- .modal-dialog.is-resizable-dialog.has-custom-size .site-settings-body {
- min-height: 0;
- display: flex;
- flex-direction: column;
- overflow: hidden;
- }
- .modal-dialog.is-resizable-dialog.has-custom-size .site-settings-layout {
- flex: 1;
- min-height: 0;
- height: 100%;
- overflow: hidden;
- }
- .modal-dialog.is-resizable-dialog.has-custom-size .site-settings-panels {
- display: flex;
- flex-direction: column;
- min-height: 0;
- overflow: hidden;
- }
- .modal-dialog.is-resizable-dialog.has-custom-size .site-settings-panel.is-active {
- flex: 1 1 auto;
- min-height: 0;
- overflow: auto;
- }
- .modal-dialog.is-resizable-dialog.has-custom-size .site-settings-panel.is-active[data-site-panel="logs"] {
- display: flex;
- flex-direction: column;
- overflow: hidden;
- }
- .modal-dialog.is-resizable-dialog.has-custom-size .site-settings-panel.is-active[data-site-panel="logs"] .site-log-toolbar {
- flex: 0 0 auto;
- }
- .modal-dialog.is-resizable-dialog.has-custom-size .site-settings-panel.is-active[data-site-panel="logs"] .site-log-view {
- flex: 1 1 auto;
- min-height: 0;
- max-height: none;
- height: auto;
- }
- .modal-dialog.is-resizable-dialog.has-custom-size .site-settings-panel.is-active[data-site-panel="nginx"] {
- display: flex;
- flex-direction: column;
- overflow: hidden;
- }
- .modal-dialog.is-resizable-dialog.has-custom-size .site-settings-panel.is-active[data-site-panel="nginx"] .site-nginx-toolbar,
- .modal-dialog.is-resizable-dialog.has-custom-size .site-settings-panel.is-active[data-site-panel="nginx"] .site-nginx-actions {
- flex: 0 0 auto;
- }
- .modal-dialog.is-resizable-dialog.has-custom-size .site-settings-panel.is-active[data-site-panel="nginx"] .site-nginx-monaco {
- flex: 1 1 auto;
- min-height: 0;
- height: auto;
- }
- .task-panel-head {
- padding: 0.9rem 1rem;
- border-bottom: 1px solid rgba(255,255,255,.08);
- flex-shrink: 0;
- }
- .task-panel-body {
- flex: 1; min-height: 0;
- display: grid;
- grid-template-columns: 240px 1fr;
- }
- .task-side {
- display: flex;
- flex-direction: column;
- min-height: 0;
- border-right: 1px solid rgba(255,255,255,.08);
- }
- .task-list {
- overflow: auto;
- padding: 0.4rem;
- flex: 1;
- min-height: 0;
- }
- .task-item {
- width: 100%;
- appearance: none; border: 0; background: transparent; color: inherit;
- text-align: left; padding: 0.55rem 0.65rem; border-radius: 8px;
- cursor: pointer; display: grid; gap: 2px; font: inherit; font-size: 0.85rem;
- }
- .task-item:hover { background: rgba(255,255,255,.05); }
- .task-item.is-active { background: rgba(13,148,136,.35); }
- .task-item.is-running {
- border: 1px solid rgba(251, 191, 36, 0.55);
- background: rgba(251, 191, 36, 0.12);
- }
- .task-item.is-running.is-active {
- background: rgba(251, 191, 36, 0.22);
- border-color: #fbbf24;
- }
- .task-item .task-running-dot {
- width: 7px; height: 7px; border-radius: 50%;
- background: #fbbf24; display: inline-block;
- margin-right: 0.35rem;
- box-shadow: 0 0 0 3px rgba(251,191,36,.2);
- animation: task-pulse 1.2s ease infinite;
- }
- @keyframes task-pulse {
- 0%, 100% { opacity: 1; }
- 50% { opacity: 0.45; }
- }
- .task-side-foot .btn.d-none { display: none !important; }
- .task-log-wrap { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
- .task-log-head { padding: 0.55rem 0.85rem; border-bottom: 1px solid rgba(255,255,255,.08); }
- .task-log {
- margin: 0; flex: 1; overflow: auto; padding: 0.75rem;
- font: 0.78rem/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
- white-space: pre-wrap; word-break: break-word; background: #020617; color: #cbd5e1;
- }
- .code-editor {
- position: fixed; inset: 0; z-index: 80;
- display: flex; align-items: center; justify-content: center;
- padding: 1.25rem;
- }
- .code-editor[hidden] { display: none !important; }
- .code-editor-backdrop {
- position: absolute; inset: 0;
- background: rgba(15, 23, 42, 0.45);
- backdrop-filter: blur(2px);
- }
- .code-editor-window {
- position: relative;
- z-index: 1;
- width: min(1100px, 92vw);
- height: min(720px, 82vh);
- min-width: 560px;
- min-height: 360px;
- max-width: calc(100vw - 2.5rem);
- max-height: calc(100vh - 2.5rem);
- display: flex; flex-direction: column;
- background: #1e1e1e; color: #d4d4d4;
- border-radius: 12px;
- overflow: hidden;
- box-shadow: 0 24px 80px rgba(0,0,0,.45);
- border: 1px solid #333;
- }
- .code-editor-bar {
- display: flex; align-items: center; justify-content: space-between; gap: 12px;
- padding: 0.45rem 0.65rem 0.45rem 0.85rem; background: #252526; border-bottom: 1px solid #333; flex-shrink: 0;
- }
- .code-editor-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
- .code-editor-meta span {
- font-size: 0.78rem; color: #9ca3af;
- overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
- }
- .code-editor-x {
- appearance: none; border: 0; background: transparent;
- color: #9ca3af; font-size: 1.45rem; line-height: 1;
- width: 2rem; height: 2rem; border-radius: 6px; cursor: pointer;
- }
- .code-editor-x:hover { background: rgba(255,255,255,.08); color: #fff; }
- .code-editor-main {
- flex: 1; min-height: 0;
- display: grid;
- grid-template-columns: 220px 1fr;
- }
- .code-editor-tree {
- display: flex; flex-direction: column; min-height: 0;
- background: #181818; border-right: 1px solid #333;
- }
- .code-editor-tree-head {
- display: flex; align-items: center; gap: 6px;
- padding: 0.4rem 0.5rem; border-bottom: 1px solid #333; flex-shrink: 0;
- }
- .code-editor-tree-path {
- flex: 1; min-width: 0; font-size: 0.75rem; color: #9ca3af;
- overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
- }
- .code-editor-tree-body {
- flex: 1; overflow: auto; padding: 0.25rem;
- font-size: 0.82rem;
- }
- .editor-tree-item {
- width: 100%;
- appearance: none; border: 0; background: transparent; color: #d4d4d4;
- text-align: left; padding: 0.28rem 0.45rem; border-radius: 4px;
- cursor: pointer; display: flex; align-items: center; gap: 0.35rem;
- font: inherit; font-size: 0.82rem;
- }
- .editor-tree-item:hover { background: rgba(255,255,255,.06); }
- .editor-tree-item.is-open { background: rgba(13,148,136,.28); }
- .code-editor-workspace {
- display: flex; flex-direction: column; min-width: 0; min-height: 0;
- }
- .code-editor-tabs {
- display: flex; gap: 2px; overflow-x: auto; flex-shrink: 0;
- background: #252526; border-bottom: 1px solid #333; padding: 0.2rem 0.25rem 0;
- min-height: 34px;
- }
- .editor-tab {
- appearance: none; border: 0; background: #2d2d2d; color: #ccc;
- padding: 0.35rem 0.55rem; border-radius: 6px 6px 0 0;
- display: inline-flex; align-items: center; gap: 0.4rem;
- cursor: pointer; font: inherit; font-size: 0.8rem; white-space: nowrap;
- border: 1px solid transparent; border-bottom: 0;
- }
- .editor-tab.is-active {
- background: #1e1e1e; color: #fff; border-color: #333;
- }
- .editor-tab.is-dirty .editor-tab-name::after {
- content: " •";
- color: #fbbf24;
- }
- .editor-tab-close {
- appearance: none; border: 0; background: transparent; color: #999;
- padding: 0 2px; line-height: 1; cursor: pointer; border-radius: 3px;
- }
- .editor-tab-close:hover { background: rgba(255,255,255,.12); color: #fff; }
- .monaco-host { flex: 1; min-height: 0; }
- .upload-dropzone {
- border: 1.5px dashed #cbd5e1;
- border-radius: 10px;
- background: #f8fafc;
- padding: 1.25rem;
- text-align: center;
- transition: border-color 0.15s ease, background 0.15s ease;
- outline: none;
- }
- .upload-dropzone.is-dragover {
- border-color: var(--accent);
- background: rgba(13, 148, 136, 0.08);
- }
- .upload-dropzone-inner { pointer-events: none; }
- .upload-dropzone-inner .btn-group { pointer-events: auto; }
- .upload-drop-icon {
- font-size: 1.75rem;
- color: var(--accent);
- display: block;
- margin-bottom: 0.35rem;
- }
- .upload-queue {
- max-height: 260px;
- overflow: auto;
- border: 1px solid #e2e8f0;
- border-radius: 8px;
- background: #fff;
- }
- .upload-queue:empty {
- display: none;
- }
- .upload-queue-item {
- display: grid;
- grid-template-columns: 1fr auto auto;
- gap: 0.5rem;
- align-items: center;
- padding: 0.45rem 0.65rem;
- border-bottom: 1px solid #f1f5f9;
- font-size: 0.82rem;
- }
- .upload-queue-item:last-child { border-bottom: 0; }
- .upload-queue-item .path {
- min-width: 0;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
- }
- .upload-queue-item .size { color: #64748b; }
- .upload-queue-item .st { min-width: 3.5rem; text-align: right; color: #64748b; }
- .upload-queue-item.is-ok .st { color: #0f766e; }
- .upload-queue-item.is-err .st { color: #b91c1c; }
- .upload-queue-item.is-run .st { color: #0369a1; }
- .progress-bar.bg-teal { background-color: var(--accent) !important; }
- .site-modules-list {
- display: grid;
- gap: 0.65rem;
- }
- .site-module-card {
- display: grid;
- grid-template-columns: 1fr auto;
- gap: 0.75rem;
- align-items: start;
- padding: 0.75rem 0.85rem;
- border: 1px solid #e2e8f0;
- border-radius: 10px;
- background: #fff;
- }
- .site-module-card .meta { min-width: 0; }
- .site-module-card .name {
- font-weight: 600;
- font-size: 0.95rem;
- }
- .site-module-card .name-en {
- font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
- font-size: 0.78rem;
- color: #64748b;
- }
- .site-module-card .desc {
- margin-top: 0.25rem;
- font-size: 0.82rem;
- color: #475569;
- }
- .site-module-card .actions {
- display: flex;
- flex-direction: column;
- gap: 0.35rem;
- align-items: stretch;
- min-width: 5.5rem;
- }
- .site-settings-layout {
- display: grid;
- grid-template-columns: 168px 1fr;
- min-height: 420px;
- }
- .site-settings-nav {
- display: flex;
- flex-direction: column;
- gap: 2px;
- padding: 0.75rem 0.5rem;
- background: #f8fafc;
- border-right: 1px solid #e2e8f0;
- min-height: 0;
- overflow: auto;
- }
- .site-settings-tab {
- appearance: none; border: 0; background: transparent;
- text-align: left; padding: 0.55rem 0.75rem; border-radius: 8px;
- font: inherit; font-size: 0.88rem; color: #334155; cursor: pointer;
- }
- .site-settings-tab:hover { background: #e2e8f0; }
- .site-settings-tab.is-active {
- background: rgba(13, 148, 136, 0.14);
- color: #0f766e;
- font-weight: 600;
- }
- .site-settings-panels { padding: 1rem 1.15rem; min-width: 0; min-height: 0; }
- .site-settings-panel { display: none; }
- .site-settings-panel.is-active { display: block; }
- .site-nginx-monaco {
- min-height: 280px;
- height: min(420px, 50vh);
- border: 1px solid #1e293b;
- border-radius: 8px;
- overflow: hidden;
- background: #1e1e1e;
- }
- .site-log-view {
- margin: 0;
- max-height: min(360px, 50vh);
- overflow: auto;
- padding: 0.75rem;
- background: #0f172a;
- color: #cbd5e1;
- border-radius: 8px;
- font: 0.75rem/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
- white-space: pre-wrap;
- word-break: break-word;
- }
- .site-log-view.table-mode {
- padding: 0;
- white-space: normal;
- font: inherit;
- }
- .site-log-view.table-mode table {
- width: 100%;
- margin: 0;
- color: #e2e8f0;
- font-size: 0.75rem;
- border-collapse: collapse;
- table-layout: auto;
- }
- .site-log-view.table-mode th,
- .site-log-view.table-mode td {
- padding: 0.4rem 0.55rem;
- border-bottom: 1px solid #1e293b;
- vertical-align: top;
- white-space: nowrap;
- }
- .site-log-view.table-mode th {
- position: sticky;
- top: 0;
- background: #1e293b;
- color: #94a3b8;
- font-weight: 600;
- z-index: 1;
- }
- .site-log-view.table-mode td.uri {
- white-space: normal;
- word-break: break-all;
- max-width: clamp(12rem, 32vw, 40rem);
- }
- .site-log-view.table-mode .status-ok { color: #4ade80; }
- .site-log-view.table-mode .status-redir { color: #38bdf8; }
- .site-log-view.table-mode .status-client { color: #fbbf24; }
- .site-log-view.table-mode .status-server { color: #f87171; }
- .site-log-empty {
- padding: 1rem;
- color: #94a3b8;
- }
- .sites-link {
- color: var(--accent);
- text-decoration: none;
- cursor: pointer;
- }
- .sites-link:hover { text-decoration: underline; }
- .site-ssl-pem {
- font-size: 0.78rem;
- line-height: 1.4;
- resize: vertical;
- min-height: 140px;
- }
- .site-ssl-domain-list {
- max-height: 180px;
- overflow: auto;
- }
- .site-ssl-domain-list .form-check {
- margin-bottom: 0.35rem;
- }
- .site-ssl-domain-list .form-check:last-child {
- margin-bottom: 0;
- }
- .site-ssl-domain-list .host {
- font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
- font-size: 0.82rem;
- }
- .site-ssl-domain-list .port-hint {
- color: #64748b;
- font-size: 0.75rem;
- margin-left: 0.35rem;
- }
- #task-badge .badge { font-size: 0.65rem; }
- #task-badge.has-active { border-color: #fbbf24; }
- @media (max-width: 900px) {
- html, body {
- height: auto;
- overflow: auto;
- }
- .app {
- flex-direction: column;
- height: auto;
- min-height: 100vh;
- }
- .rail {
- width: 100%;
- height: auto;
- position: relative;
- }
- .nav { flex-direction: row; flex-wrap: wrap; }
- .main {
- height: auto;
- overflow: visible;
- }
- .view.is-active {
- overflow: visible;
- height: auto;
- }
- .view.is-active > .card {
- flex: none;
- overflow: visible;
- }
- .view.is-active > .card > .table-responsive,
- .view.is-active > .card > .card-body {
- overflow: visible;
- }
- .task-panel { padding: 0.75rem; }
- .task-panel-dialog { height: min(720px, 90vh); }
- .task-panel-body { grid-template-columns: 1fr; }
- .task-side { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); max-height: 220px; }
- }
- .site-modules-list {
- display: grid;
- gap: 0.65rem;
- }
- .site-module-card {
- display: grid;
- grid-template-columns: 1fr auto;
- gap: 0.75rem;
- align-items: start;
- padding: 0.75rem 0.85rem;
- border: 1px solid #e2e8f0;
- border-radius: 10px;
- background: #fff;
- }
- .site-module-card .meta { min-width: 0; }
- .site-module-card .name {
- font-weight: 600;
- font-size: 0.95rem;
- }
- .site-module-card .name-en {
- font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
- font-size: 0.78rem;
- color: #64748b;
- }
- .site-module-card .desc {
- margin-top: 0.25rem;
- font-size: 0.82rem;
- color: #475569;
- }
- .site-module-card .actions {
- display: flex;
- flex-direction: column;
- gap: 0.35rem;
- align-items: stretch;
- min-width: 5.5rem;
- }
|