|
| 1 | +/* App-specific styles layered on the shared LabSuite/Merge theme. */ |
| 2 | + |
| 3 | +.app { display: grid; grid-template-columns: 232px 1fr; min-height: calc(100vh - 64px); } |
| 4 | + |
| 5 | +.side { border-right: 1.5px solid var(--rule); padding: 22px 14px; } |
| 6 | +.side .navitem { |
| 7 | + display: flex; align-items: center; gap: .6rem; width: 100%; |
| 8 | + padding: .55rem .7rem; border-radius: 10px; border: 0; background: transparent; |
| 9 | + font-family: var(--sans); font-size: .92rem; color: var(--ink-2); font-weight: 500; |
| 10 | + cursor: pointer; text-align: left; margin-bottom: 2px; |
| 11 | +} |
| 12 | +.side .navitem:hover { background: var(--paper-2); } |
| 13 | +.side .navitem.active { background: var(--ink); color: #fff; } |
| 14 | +.side .navitem .k { margin-left: auto; font-size: .7rem; opacity: .5; } |
| 15 | +.side .grp { font-size: .7rem; color: var(--faint); letter-spacing: .08em; text-transform: uppercase; margin: 16px 8px 6px; } |
| 16 | + |
| 17 | +.main { padding: 30px 34px 64px; max-width: 940px; } |
| 18 | +.view { display: none; } |
| 19 | +.view.active { display: block; animation: fade .18s ease; } |
| 20 | +@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } } |
| 21 | + |
| 22 | +.view h2 { font-size: 2rem; margin-bottom: .3rem; } |
| 23 | +.view .sub { color: var(--muted); margin-bottom: 1.6rem; font-size: .95rem; } |
| 24 | + |
| 25 | +.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 8px; } |
| 26 | +@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } } |
| 27 | +.stat { border: 1px solid var(--hair); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm); } |
| 28 | +.stat .n { font-family: var(--serif); font-size: 2.2rem; line-height: 1; } |
| 29 | +.stat .l { color: var(--muted); font-size: .82rem; margin-top: .35rem; } |
| 30 | + |
| 31 | +.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } |
| 32 | +@media (max-width: 820px) { .grid2 { grid-template-columns: 1fr; } } |
| 33 | + |
| 34 | +.field { margin-bottom: 14px; } |
| 35 | +.field label { display: block; font-size: .82rem; color: var(--muted); margin-bottom: .35rem; } |
| 36 | +input, select { |
| 37 | + width: 100%; font-family: var(--sans); font-size: .95rem; color: var(--ink); |
| 38 | + padding: .6rem .7rem; border: 1px solid var(--hair); border-radius: 10px; background: var(--paper); |
| 39 | +} |
| 40 | +input:focus, select:focus { outline: none; border-color: var(--ink); } |
| 41 | + |
| 42 | +.kv { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; font-size: .9rem; } |
| 43 | +.kv .k { color: var(--muted); } |
| 44 | + |
| 45 | +.tags { display: flex; flex-wrap: wrap; gap: .4rem; } |
| 46 | +.tag { font-size: .78rem; padding: .2rem .55rem; border-radius: var(--pill); border: 1px solid var(--hair); background: var(--paper-2); color: var(--ink-2); } |
| 47 | +.tag.nested { border-style: dashed; color: var(--ad); } |
| 48 | + |
| 49 | +.result { margin-top: 18px; } |
| 50 | +.flags .flag { display: flex; gap: .5rem; align-items: baseline; padding: .5rem 0; border-bottom: 1px solid var(--hair); font-size: .9rem; } |
| 51 | +.flags .flag .bang { color: var(--no); font-weight: 800; } |
| 52 | + |
| 53 | +.audit-row { display: grid; grid-template-columns: 120px 150px 1fr auto; gap: .6rem; font-size: .84rem; padding: .45rem .2rem; border-bottom: 1px solid var(--hair); align-items: center; } |
| 54 | +.audit-row .sys { color: var(--muted); font-family: var(--mono, monospace); font-size: .78rem; } |
| 55 | +.audit-row .act { font-weight: 600; } |
| 56 | +@media (max-width: 720px) { .audit-row { grid-template-columns: 1fr auto; } .audit-row .sys, .audit-row .det { display: none; } } |
| 57 | + |
| 58 | +.modebadge { font-size: .72rem; font-weight: 700; padding: .2rem .55rem; border-radius: var(--pill); } |
| 59 | +.modebadge.demo { background: #fff4e5; color: #a2661a; border: 1px solid #f0dcc0; } |
| 60 | +.modebadge.live { background: var(--ok-bg); color: var(--ok); border: 1px solid #cfe6da; } |
| 61 | + |
| 62 | +.linkish { cursor: pointer; text-decoration: underline; text-underline-offset: 2px; } |
| 63 | + |
| 64 | +.notice { font-size: .82rem; color: var(--muted); background: var(--paper-2); border: 1px solid var(--hair); border-radius: 10px; padding: .7rem .9rem; } |
| 65 | + |
| 66 | +@media (max-width: 720px) { |
| 67 | + .app { grid-template-columns: 1fr; } |
| 68 | + .side { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1.5px solid var(--rule); padding: 10px; gap: 6px; } |
| 69 | + .side .grp { display: none; } |
| 70 | + .side .navitem { width: auto; white-space: nowrap; } |
| 71 | + .main { padding: 22px 18px 48px; } |
| 72 | +} |
0 commit comments