diff --git a/index.html b/index.html index 5b9fe5a..fe7bfc1 100644 --- a/index.html +++ b/index.html @@ -430,6 +430,121 @@ background: var(--border); margin: 0 4px; } + .tb-btn.active { + background: var(--accent-dim); + border-color: rgba(34,211,238,0.35); + color: var(--accent); + } + + /* ── List view ─────────────────────────────────────────── */ + #list-view { + display: none; + position: fixed; + inset: 52px 0 0 0; + overflow-y: auto; + z-index: 5; + padding: 20px 24px; + } + #list-view.visible { display: block; } + + .list-group { + margin-bottom: 24px; + } + .list-group-header { + display: flex; + align-items: center; + gap: 8px; + margin-bottom: 10px; + padding-bottom: 8px; + border-bottom: 1px solid var(--border); + } + .list-group-dot { + width: 8px; height: 8px; + border-radius: 50%; + } + .list-group-label { + font-size: 11px; + font-weight: 600; + letter-spacing: 0.1em; + text-transform: uppercase; + color: var(--text3); + } + .list-group-count { + font-size: 11px; + color: var(--text3); + margin-left: auto; + } + + .list-cards { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); + gap: 8px; + } + .list-card { + background: var(--surface); + border: 1px solid var(--border); + border-left: 3px solid transparent; + border-radius: 10px; + padding: 12px 14px; + display: flex; + flex-direction: column; + gap: 6px; + cursor: pointer; + transition: border-color 0.15s, background 0.15s; + } + .list-card:hover { + background: var(--surface2); + } + .list-card-top { + display: flex; + align-items: center; + gap: 8px; + } + .list-card-name { + font-size: 13px; + font-weight: 500; + color: var(--text); + flex: 1; + } + .list-card-status { + width: 6px; height: 6px; + border-radius: 50%; + flex-shrink: 0; + } + .list-card-status.active { background: var(--ok); box-shadow: 0 0 5px var(--ok); } + .list-card-status.inactive { background: var(--crit); } + .list-card-status.unknown { background: var(--text3); } + .list-card-desc { + font-size: 11px; + color: var(--text3); + line-height: 1.4; + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; + } + .list-card-footer { + display: flex; + align-items: center; + gap: 8px; + margin-top: 2px; + } + .list-card-url { + font-size: 10px; + color: var(--accent); + opacity: 0.7; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + text-decoration: none; + flex: 1; + } + .list-card-url:hover { opacity: 1; } + .list-card-conns { + font-size: 10px; + color: var(--text3); + white-space: nowrap; + } /* ── Modal ─────────────────────────────────────────── */ #modal-overlay { @@ -1246,6 +1361,9 @@ + +
+
+ +
+ +