:root { color-scheme: light dark; --bg: #fff; --surface: #f6f6f6; --surface-hover: #f1f1f1; --line: #e9e9e9; --line-strong: #dcdcdc; --text: #242424; --muted: #737373; --subtle: #939393; --focus: #676767; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 11px; color: var(--text); background: var(--bg); } * { box-sizing: border-box; } [hidden] { display: none !important; } /* Stały wymiar popupu: rozmiar okna nie zmienia się w trakcie przewijania. */ html, body { width: 580px; height: 520px; overflow: hidden; } body { margin: 0; } button, input, select { font: inherit; color: inherit; } button { cursor: pointer; } button:disabled { opacity: .45; cursor: default; } button:focus-visible, select:focus-visible, input:focus-visible, #headersPanel:focus-visible { outline: 1px solid var(--focus); outline-offset: -1px; } /* Wysokość jest stała; przewija się wyłącznie lista nagłówków. */ .app { display: flex; flex-direction: column; height: 520px; background: var(--bg); } .toolbar { flex: none; height: 32px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; border-bottom: 1px solid var(--line); } .brand { font-size: 12px; font-weight: 650; letter-spacing: -.12px; } .toolbar-actions { display: flex; align-items: center; gap: 2px; } .plain-button { border: 0; border-radius: 2px; background: transparent; padding: 3px 7px; color: var(--muted); font-size: 11px; line-height: 18px; } .plain-button:hover:not(:disabled) { background: var(--surface-hover); color: var(--text); } #toast { color: var(--muted); font-size: 10px; padding-right: 4px; } #details { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; } .overview { flex: none; min-width: 0; } .status-line { height: 28px; display: flex; align-items: center; gap: 8px; padding: 0 10px; } .status-line strong { font-size: 13px; line-height: 1.1; font-weight: 650; } .resource-type, .header-counter { color: var(--muted); font-size: 10px; } .header-counter { margin-left: auto; font-variant-numeric: tabular-nums; } .url-line { height: 23px; padding: 0 10px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 10px/22px ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace; color: #565656; } .controls { flex: none; display: flex; align-items: center; gap: 6px; height: 34px; padding: 4px 9px; border-bottom: 1px solid var(--line); } .scope-select-wrap { flex: 0 0 158px; min-width: 0; } .request-select-wrap { flex: 1 1 auto; min-width: 0; } .search-wrap { flex: 1 1 auto; min-width: 0; } #details.resources-mode .search-wrap { flex: 0 0 144px; } .controls select, .controls input { width: 100%; height: 25px; padding: 0 7px; border: 1px solid var(--line-strong); background: var(--bg); border-radius: 2px; outline: none; font-size: 11px; } .controls select { white-space: nowrap; text-overflow: ellipsis; padding-right: 18px; } .controls input::placeholder { color: var(--subtle); } .tabs-toolbar { flex: none; height: 30px; display: flex; align-items: stretch; justify-content: space-between; border-bottom: 1px solid var(--line-strong); padding: 0 8px; } .tabs { display: flex; align-items: stretch; gap: 12px; } .tab { border: 0; border-bottom: 2px solid transparent; background: none; margin-bottom: -1px; padding: 0 4px; font-size: 11px; color: var(--muted); font-weight: 500; } .tab.is-active { border-bottom-color: var(--text); color: var(--text); font-weight: 650; } .tab:not(.is-active):hover { color: var(--text); } .tab-count { color: var(--subtle); font-size: 10px; margin-left: 2px; font-variant-numeric: tabular-nums; font-weight: 400; } .copy-button { align-self: center; } /* Stabilna powierzchnia przewijania, bez zmiany geometrii okna. */ .headers-panel { flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; } .table-head, .header-row { display: grid; grid-template-columns: 182px minmax(0, 1fr); } .table-head { position: sticky; top: 0; z-index: 2; min-height: 21px; background: var(--surface); border-bottom: 1px solid var(--line-strong); color: var(--muted); font-size: 10px; font-weight: 600; } .table-head span { padding: 3px 8px 4px; } .table-head span:first-child { padding-left: 10px; border-right: 1px solid var(--line); } .header-row { min-height: 20px; border-bottom: 1px solid var(--line); } .header-row:hover { background: var(--surface-hover); } .header-row.expanded { background: var(--surface); } .header-name { min-width: 0; border-right: 1px solid var(--line); } .name-button, .value-button { width: 100%; min-width: 0; display: block; border: 0; border-radius: 0; background: transparent; text-align: left; padding: 2px 8px 1px; line-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .name-button { padding-left: 10px; font-size: 11px; font-weight: 550; color: #4d4d4d; } .value-button { font: 10.5px/16px ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace; color: var(--text); } .name-button.is-truncated, .value-button.is-truncated { cursor: pointer; } .name-button:not(.is-truncated), .value-button:not(.is-truncated) { cursor: default; } .header-row.expanded .name-button, .header-row.expanded .value-button { white-space: pre-wrap; overflow: visible; overflow-wrap: anywhere; word-break: break-word; } .no-matches { padding: 12px 10px; color: var(--muted); text-align: center; font-size: 11px; } .empty-state { display: flex; flex-direction: column; flex: 1 1 auto; align-items: center; justify-content: center; padding: 22px 18px; text-align: center; } .empty-state strong { font-size: 12px; font-weight: 650; } .empty-state p { max-width: 340px; color: var(--muted); line-height: 1.4; } .primary-button { margin-top: 3px; padding: 5px 10px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 2px; } .primary-button:hover { background: var(--surface-hover); } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } @media (prefers-color-scheme: dark) { :root { --bg: #1d1d1d; --surface: #272727; --surface-hover: #303030; --line: #343434; --line-strong: #454545; --text: #ededed; --muted: #afafaf; --subtle: #999999; --focus: #bfbfbf; } .url-line { color: #bfbfbf; } .name-button { color: #c7c7c7; } .controls select, .controls input { background: #252525; } .controls input::placeholder { color: #929292; } .tab.is-active { border-bottom-color: var(--text); } }