/* relicario extension — terminal dark theme */ * { margin: 0; padding: 0; box-sizing: border-box; } body { width: 360px; max-height: 500px; overflow-y: auto; background: #0d1117; color: #c9d1d9; font-family: 'JetBrains Mono', 'Cascadia Code', 'Fira Code', 'SF Mono', Menlo, monospace; font-size: 13px; line-height: 1.5; } /* Scrollbar */ ::-webkit-scrollbar { width: 4px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: #30363d; border-radius: 2px; } /* Typography */ .brand { font-size: 16px; font-weight: 700; color: #d2ab43; letter-spacing: 1px; } .brand-logo { display: block; width: 48px; height: 48px; margin: 0 auto 8px; } .label { font-size: 11px; font-weight: 500; color: #8b949e; text-transform: lowercase; letter-spacing: 0.02em; margin-bottom: 4px; } .label .req { color: #aa812a; margin-left: 2px; font-weight: 600; } .secondary { color: #8b949e; } .muted { color: #484f58; font-size: 11px; } .error { color: #ab2b20; font-size: 12px; margin-top: 8px; } /* Buttons */ .btn { display: inline-block; padding: 6px 14px; font-family: inherit; font-size: 12px; border: 1px solid #30363d; border-radius: 4px; background: #21262d; color: #c9d1d9; cursor: pointer; transition: background 0.15s; } .btn:hover { background: #30363d; } .btn:focus { outline: 1px solid #d2ab43; outline-offset: 1px; } .btn-primary { background: #7c5719; border-color: #7c5719; color: #fff; } .btn-primary:hover { background: #aa812a; } .btn-danger { background: #791111; border-color: #791111; color: #fff; } .btn-danger:hover { background: #ab2b20; } /* Inputs */ input, textarea, select { width: 100%; padding: 8px 10px; font-family: inherit; font-size: 13px; background: #161b22; border: 1px solid #30363d; border-radius: 4px; color: #c9d1d9; outline: none; transition: border-color 0.15s; } input:focus, textarea:focus, select:focus { border-color: #d2ab43; } input::placeholder, textarea::placeholder { color: #484f58; } textarea { resize: vertical; min-height: 60px; } /* Layout */ .pad { padding: 16px; } /* Search bar */ .search-bar { position: sticky; top: 0; z-index: 10; padding: 8px 12px; background: #0d1117; border-bottom: 1px solid #21262d; } .search-bar input { padding: 6px 10px; font-size: 12px; } /* Group tabs */ .group-tabs { display: flex; gap: 2px; padding: 6px 12px; background: #0d1117; border-bottom: 1px solid #21262d; overflow-x: auto; } .group-tab { padding: 4px 10px; font-size: 11px; border: none; border-radius: 3px; background: transparent; color: #8b949e; cursor: pointer; white-space: nowrap; font-family: inherit; } .group-tab:hover { color: #c9d1d9; background: #161b22; } .group-tab.active { color: #d2ab43; background: #161b22; } /* Entry list */ .entry-list { max-height: 360px; overflow-y: auto; } .entry-row { display: flex; flex-direction: column; padding: 8px 12px; border-bottom: 1px solid #21262d; border-left: 3px solid transparent; cursor: pointer; transition: background 0.1s; } .entry-row:hover { background: #161b22; } .entry-row.selected { background: #161b22; border-left-color: #d2ab43; } .entry-row .entry-name { font-size: 13px; font-weight: 500; color: #c9d1d9; } .entry-row .entry-meta { font-size: 11px; color: #8b949e; margin-top: 2px; } /* Detail view */ .detail-header { display: flex; align-items: center; justify-content: space-between; padding: 12px; border-bottom: 1px solid #21262d; } .detail-title { font-size: 15px; font-weight: 600; color: #c9d1d9; } .field { padding: 10px 12px; border-bottom: 1px solid #21262d; } .field-value { font-size: 13px; color: #c9d1d9; word-break: break-all; user-select: all; } /* TOTP */ .totp-code { font-size: 22px; font-weight: 700; color: #3fb950; letter-spacing: 4px; } .totp-bar { height: 3px; background: #21262d; border-radius: 2px; margin-top: 6px; overflow: hidden; } .totp-bar-fill { height: 100%; background: #3fb950; border-radius: 2px; transition: width 1s linear; } /* Keyboard hints */ .keyhints { display: flex; gap: 8px; flex-wrap: wrap; padding: 8px 12px; border-top: 1px solid #21262d; background: #0d1117; } .keyhints span { font-size: 10px; color: #484f58; } .keyhints kbd { display: inline-block; padding: 1px 4px; font-family: inherit; font-size: 10px; background: #21262d; border: 1px solid #30363d; border-radius: 3px; color: #8b949e; } /* Wizard */ .wizard-step { padding: 16px; } .wizard-step h3 { font-size: 14px; font-weight: 600; margin-bottom: 12px; color: #c9d1d9; } .progress-bar { display: flex; gap: 4px; padding: 12px 16px 0; } .progress-bar .step { flex: 1; height: 3px; background: #21262d; border-radius: 2px; } .progress-bar .step.done { background: #d2ab43; } .progress-bar .step.current { background: #aa812a; } /* Spinner */ .spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid #30363d; border-top-color: #d2ab43; border-radius: 50%; animation: spin 0.6s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* Confirm overlay */ .confirm-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7); display: flex; align-items: center; justify-content: center; z-index: 100; } .confirm-box { background: #161b22; border: 1px solid #30363d; border-radius: 6px; padding: 20px; max-width: 280px; text-align: center; } .confirm-box p { margin-bottom: 16px; font-size: 13px; } .confirm-box .btn + .btn { margin-left: 8px; } /* Empty state */ .empty { text-align: center; padding: 40px 16px; color: #484f58; font-size: 13px; } /* Form layout */ .form-group { margin-bottom: 12px; } .form-group .label { display: block; margin-bottom: 4px; } .form-actions { display: flex; gap: 8px; margin-top: 16px; } .inline-row { display: flex; gap: 8px; align-items: center; } .inline-row input { flex: 1; } /* Toggle (for host type) */ .toggle-group { display: flex; gap: 0; border: 1px solid #30363d; border-radius: 4px; overflow: hidden; } .toggle-group button { flex: 1; padding: 6px 12px; font-family: inherit; font-size: 12px; border: none; background: #21262d; color: #8b949e; cursor: pointer; } .toggle-group button.active { background: #7c5719; color: #fff; } /* File upload area */ .file-drop { border: 2px dashed #30363d; border-radius: 6px; padding: 24px; text-align: center; cursor: pointer; transition: border-color 0.15s; } .file-drop:hover { border-color: #d2ab43; } .file-drop.has-file { border-color: #3fb950; border-style: solid; } /* --- field-row + signature-block helpers (β₁) --- */ .field-row { display: grid; grid-template-columns: 90px 1fr auto; gap: 8px 10px; align-items: baseline; padding: 4px 0; font-size: 12px; } .field-row__label { color: #8b949e; } .field-row__value { color: #c9d1d9; word-break: break-word; } .field-row__value.monospace { font-family: "SF Mono", "JetBrains Mono", monospace; } .field-row__value pre { margin: 0; white-space: pre-wrap; word-break: break-word; font-family: "SF Mono", "JetBrains Mono", monospace; } .field-row__actions { display: flex; gap: 6px; font-size: 11px; color: #8b949e; } .field-row__actions button { background: transparent; border: 0; color: inherit; cursor: pointer; padding: 0; font: inherit; } .field-row__actions button:hover { color: #c9d1d9; } .sig-block { background: #161b22; border: 1px solid #30363d; border-left: 3px solid #7c5719; border-radius: 5px; padding: 14px; margin-bottom: 10px; } .sig-block--gold { border-left-color: #7c5719; } .sig-block--green { border-left-color: #3fb950; } .sig-block--amber { border-left-color: #d29922; } .sig-block--red { border-left-color: #ab2b20; } /* --- custom-section rendering (β₂ slice 1) --- */ .section-header { margin-top: 14px; margin-bottom: 4px; padding-top: 10px; border-top: 1px solid #21262d; color: #8b949e; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; } .section-separator { margin: 10px 0 4px; border: 0; border-top: 1px solid #21262d; } /* --- custom-section editor (β₂ slice 2) --- */ .disclosure { border-top: 1px solid #21262d; margin-top: 14px; padding-top: 10px; } .disclosure__toggle { background: transparent; border: 0; color: #d2ab43; cursor: pointer; font-size: 12px; padding: 0; font-family: inherit; } .disclosure[data-expanded="false"] .disclosure__body { display: none; } .section-editor__head { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; margin-bottom: 4px; font-size: 11px; } .section-editor__head .name { color: #c9d1d9; font-weight: 600; } .section-editor__head .name.anon { color: #8b949e; font-style: italic; font-weight: normal; } .section-editor__head .actions { color: #8b949e; font-size: 10px; margin-left: auto; } .section-editor__head .actions button { background: transparent; border: 0; color: inherit; cursor: pointer; padding: 0; margin-left: 8px; font: inherit; } .section-editor__head .actions button:hover { color: #c9d1d9; } .section-editor__field { display: grid; grid-template-columns: 120px 1fr auto; gap: 4px; margin-bottom: 4px; font-size: 11px; } .section-editor__field input { background: #0d1117; border: 1px solid #30363d; color: #c9d1d9; padding: 3px 6px; border-radius: 3px; font: inherit; font-size: 11px; } .section-editor__field .delete-field { background: transparent; border: 0; color: #ab2b20; cursor: pointer; font-size: 14px; padding: 0 4px; } .section-editor__preserved { font-size: 10px; color: #6e7681; font-style: italic; padding: 4px 0 4px 6px; } .section-editor__add { display: flex; gap: 6px; margin-top: 6px; } .section-editor__add button { background: transparent; border: 1px solid #30363d; color: #8b949e; padding: 2px 10px; border-radius: 3px; cursor: pointer; font-size: 10px; font-family: inherit; } .section-editor__add button:hover { color: #c9d1d9; border-color: #484f58; } .disclosure__body .add-section { margin-top: 12px; background: transparent; border: 1px dashed #30363d; color: #8b949e; padding: 6px 10px; border-radius: 4px; cursor: pointer; width: 100%; font-size: 11px; font-family: inherit; } .disclosure__body .add-section:hover { border-color: #484f58; color: #c9d1d9; } /* --- generator panel (gen-UX redesign) --- */ .gen-trigger { background: #7c5719; color: #fff3cf; border: none; border-radius: 4px; padding: 0 12px; font-size: 16px; cursor: pointer; line-height: 1; min-width: 38px; display: inline-flex; align-items: center; justify-content: center; } .gen-trigger:hover { background: #aa812a; } .gen-trigger[aria-expanded="true"] { background: #aa812a; } .gen-panel { background: #161b22; border: 1px solid #aa812a; border-radius: 6px; padding: 11px; margin: 6px 0; font-size: 11px; color: #c9d1d9; } .gen-panel .panel-toggle { display: flex; gap: 4px; background: #21262d; border-radius: 4px; padding: 2px; margin-bottom: 8px; } .gen-panel .panel-toggle button { flex: 1; background: transparent; border: 0; color: #8b949e; padding: 5px; font-size: 11px; cursor: pointer; border-radius: 3px; font-weight: 600; } .gen-panel .panel-toggle button.active { background: #aa812a; color: #fff3cf; } .gen-panel .knob { display: flex; align-items: center; gap: 8px; margin: 6px 0; } .gen-panel .knob__label { color: #8b949e; width: 56px; flex-shrink: 0; font-size: 10px; } .gen-panel .knob__slider { flex: 1; } .gen-panel .knob__value { font-family: ui-monospace, monospace; min-width: 24px; text-align: right; color: #c9d1d9; } .gen-panel .classes { display: flex; gap: 8px; font-size: 10px; margin: 6px 0; flex-wrap: wrap; color: #8b949e; } .gen-panel .classes label { display: flex; align-items: center; gap: 3px; user-select: none; cursor: pointer; } .gen-panel .preview { background: #0d1117; border: 1px solid #30363d; border-radius: 4px; padding: 8px 10px; margin-top: 8px; display: flex; align-items: center; gap: 8px; } .gen-panel .preview__value { flex: 1; color: #f1cf6e; font-family: ui-monospace, monospace; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .gen-panel .preview__regen { background: transparent; border: 0; color: #8b949e; cursor: pointer; padding: 0 4px; font-size: 14px; } .gen-panel .more { color: #8b949e; font-size: 10px; margin-top: 6px; cursor: pointer; user-select: none; padding: 2px 0; } .gen-panel .more summary { list-style: none; outline: none; } .gen-panel .more summary::-webkit-details-marker { display: none; } .gen-panel .more:hover { color: #d2ab43; } .gen-panel .more__advanced { margin-top: 6px; } .gen-panel .actions { display: flex; gap: 6px; margin-top: 10px; align-items: center; } .gen-panel .actions .save-link { flex: 1; background: transparent; border: 0; color: #8b949e; cursor: pointer; font-size: 10px; text-align: left; padding: 4px 0; text-decoration: underline; text-decoration-color: #30363d; text-underline-offset: 2px; } .gen-panel .actions .save-link:hover { color: #d2ab43; text-decoration-color: #d2ab43; } .gen-panel .actions .save-link__toast { color: #3fb950; margin-left: 6px; font-size: 10px; } /* keep .gen-preview-line — it's the summary-text in vault settings, separate from panel */ /* --- settings-vault screen (β₂ slice 5) --- */ .settings-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; } .settings-section { margin-top: 14px; padding-top: 10px; border-top: 1px solid #21262d; } .settings-section__title { color: #8b949e; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; } .settings-row { display: grid; grid-template-columns: 110px 1fr; gap: 6px 10px; align-items: center; margin: 4px 0; font-size: 12px; } .settings-row__label { color: #8b949e; } .settings-row select { background: #0d1117; border: 1px solid #30363d; color: #c9d1d9; padding: 3px 8px; border-radius: 3px; font: inherit; font-size: 11px; } .gen-preview-line { margin: 0 0 6px; font-size: 11px; color: #c9d1d9; font-family: "SF Mono", "JetBrains Mono", monospace; } .ack-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; padding: 4px 0; font-size: 11px; border-bottom: 1px solid #161b22; } .ack-row__host { color: #c9d1d9; font-family: monospace; } .ack-row__meta { color: #6e7681; font-size: 10px; } .ack-row__revoke { background: transparent; border: 0; color: #ab2b20; cursor: pointer; font-size: 10px; } .settings-footer { display: flex; justify-content: flex-end; gap: 6px; margin-top: 20px; padding-top: 12px; border-top: 1px solid #21262d; }