Обновление файла
This commit is contained in:
@@ -34,6 +34,7 @@ html, body, #root { margin: 0; min-height: 100%; background: var(--bg); color: v
|
|||||||
button, input, select, textarea { font: inherit; color: inherit; }
|
button, input, select, textarea { font: inherit; color: inherit; }
|
||||||
a { color: var(--accent); text-decoration: none; }
|
a { color: var(--accent); text-decoration: none; }
|
||||||
a:hover { color: var(--accent-hover); }
|
a:hover { color: var(--accent-hover); }
|
||||||
|
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; padding: 1px 6px; background: var(--surface); border-radius: 4px; color: var(--accent); }
|
||||||
|
|
||||||
.shell { min-height: 100vh; display: flex; }
|
.shell { min-height: 100vh; display: flex; }
|
||||||
.sidebar { width: 240px; background: var(--surface); border-right: 1px solid var(--border-soft); display: flex; flex-direction: column; flex-shrink: 0; min-height: 100vh; position: sticky; top: 0; }
|
.sidebar { width: 240px; background: var(--surface); border-right: 1px solid var(--border-soft); display: flex; flex-direction: column; flex-shrink: 0; min-height: 100vh; position: sticky; top: 0; }
|
||||||
@@ -79,6 +80,12 @@ a:hover { color: var(--accent-hover); }
|
|||||||
.form-section { margin-bottom: 22px; }
|
.form-section { margin-bottom: 22px; }
|
||||||
.form-label { display: block; margin-bottom: 10px; color: var(--text-muted); font-size: 12px; font-weight: 600; text-transform: uppercase; }
|
.form-label { display: block; margin-bottom: 10px; color: var(--text-muted); font-size: 12px; font-weight: 600; text-transform: uppercase; }
|
||||||
.form-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
|
.form-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
|
||||||
|
|
||||||
|
.form-type-banner { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding: 14px 18px; background: var(--accent-soft); border: 1px solid var(--accent); border-radius: var(--radius); color: var(--text); }
|
||||||
|
.form-type-banner-icon { font-size: 24px; line-height: 1; }
|
||||||
|
.form-type-banner-text { font-size: 14px; line-height: 1.4; }
|
||||||
|
.form-type-banner-text strong { color: var(--accent-hover); }
|
||||||
|
|
||||||
.os-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 10px; }
|
.os-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 10px; }
|
||||||
.os-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); text-align: left; cursor: pointer; }
|
.os-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); text-align: left; cursor: pointer; }
|
||||||
.os-card.active { background: var(--accent-soft); border-color: var(--accent); }
|
.os-card.active { background: var(--accent-soft); border-color: var(--accent); }
|
||||||
@@ -97,14 +104,6 @@ a:hover { color: var(--accent-hover); }
|
|||||||
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
|
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
|
||||||
.field input:disabled, .field input[readonly] { background: var(--surface); color: var(--text-muted); cursor: not-allowed; opacity: .8; }
|
.field input:disabled, .field input[readonly] { background: var(--surface); color: var(--text-muted); cursor: not-allowed; opacity: .8; }
|
||||||
|
|
||||||
.type-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
|
|
||||||
.type-tab { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 18px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); text-align: left; cursor: pointer; transition: .15s; }
|
|
||||||
.type-tab:hover { background: var(--surface-hover); }
|
|
||||||
.type-tab.active { background: var(--accent-soft); border-color: var(--accent); }
|
|
||||||
.type-tab-icon { font-size: 24px; line-height: 1; }
|
|
||||||
.type-tab-label { font-size: 16px; font-weight: 600; color: var(--text); }
|
|
||||||
.type-tab-desc { font-size: 12px; color: var(--text-muted); }
|
|
||||||
|
|
||||||
.empty-box { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 32px 20px; background: var(--surface-2); border: 1px dashed var(--border); border-radius: var(--radius); text-align: center; }
|
.empty-box { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 32px 20px; background: var(--surface-2); border: 1px dashed var(--border); border-radius: var(--radius); text-align: center; }
|
||||||
.empty-box-icon { font-size: 36px; opacity: .7; }
|
.empty-box-icon { font-size: 36px; opacity: .7; }
|
||||||
.empty-box-title { color: var(--text); font-weight: 600; font-size: 15px; }
|
.empty-box-title { color: var(--text); font-weight: 600; font-size: 15px; }
|
||||||
@@ -137,4 +136,4 @@ table.data-table td { border-bottom: 1px solid var(--border-soft); } table.data-
|
|||||||
.metric { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }.metric-bar { width: 70px; height: 6px; background: var(--surface-2); border-radius: 3px; overflow: hidden; }
|
.metric { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }.metric-bar { width: 70px; height: 6px; background: var(--surface-2); border-radius: 3px; overflow: hidden; }
|
||||||
.template-results { display: grid; gap: 24px; margin-top: 18px; }.template-results h4 { color: var(--text); margin: 0 0 10px; }.template-form { margin: 24px 0 32px; }.template-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }.muted { color: var(--text-muted); }
|
.template-results { display: grid; gap: 24px; margin-top: 18px; }.template-results h4 { color: var(--text); margin: 0 0 10px; }.template-form { margin: 24px 0 32px; }.template-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }.muted { color: var(--text-muted); }
|
||||||
|
|
||||||
@media (max-width: 768px) { .shell { flex-direction: column; }.sidebar { width: 100%; min-height: auto; position: relative; flex-direction: row; overflow-x: auto; }.sidebar-brand { display: none; }.sidebar-nav { flex-direction: row; }.sidebar-footer { flex-direction: row; border-top: 0; }.container { padding: 24px 20px 64px; }.form-row, .template-form-grid { grid-template-columns: 1fr; }.instance-grid { grid-template-columns: 1fr; }.page-title { font-size: 22px; } .type-tabs { grid-template-columns: 1fr; } .dashboard-actions { width: 100%; } .dashboard-actions .btn { flex: 1; } }
|
@media (max-width: 768px) { .shell { flex-direction: column; }.sidebar { width: 100%; min-height: auto; position: relative; flex-direction: row; overflow-x: auto; }.sidebar-brand { display: none; }.sidebar-nav { flex-direction: row; }.sidebar-footer { flex-direction: row; border-top: 0; }.container { padding: 24px 20px 64px; }.form-row, .template-form-grid { grid-template-columns: 1fr; }.instance-grid { grid-template-columns: 1fr; }.page-title { font-size: 22px; } .dashboard-actions { width: 100%; } .dashboard-actions .btn { flex: 1; } }
|
||||||
Reference in New Issue
Block a user