:root {
color-scheme: dark;
}
* {
box-sizing: border-box;
}
body {
min-width: 320px;
}
.creds-app {
min-height: 100vh;
width: min(1480px, calc(100vw - 48px));
margin: 0 auto;
padding: 16px 0 40px;
}
.list-panel,
.detail-panel,
.token-panel {
min-width: 0;
}
.workspace-surface {
display: grid;
gap: 15px;
width: 100%;
min-width: 0;
}
.inset-surface {
padding: 0;
}
@media (hover: hover) and (pointer: fine) {
.btn-icon:not(.without-hover):hover .ph,
.btn-icon:not(.without-hover):hover .ph-bold {
transform: none;
}
}
@media (hover: none) and (pointer: coarse) {
.btn-icon:not(.without-hover):active .ph,
.btn-icon:not(.without-hover):active .ph-bold {
transform: none;
}
}
/* Kit 1.0 owns modal + toast transitions itself, via .a-show/.a-hide state
classes and CSS transitions (dialog: margin-top 200px -> 0 + opacity;
toast: bottom -100px -> 15px). No app-side keyframes here. */
.secrets-page {
display: grid;
gap: 15px;
align-items: start;
width: 100%;
}
.panel-stack {
display: grid;
gap: 15px;
width: 100%;
}
.settings-metrics {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
gap: 15px;
}
/* The kit caps metric cards with width:max-content — in a grid column let
them stretch to the full track instead (mobile keeps true full width). */
.settings-metrics .metric-card {
width: 100%;
max-width: none;
}
/* Pagination overflow: long page runs collapse to 1, 2, 3 … 22 */
.pagination .pagination-ellipsis {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 34px;
height: 34px;
color: #787c99;
font-weight: 600;
line-height: 1;
user-select: none;
}
.list-panel {
overflow: auto;
padding-bottom: 40px;
}
.secrets-table {
min-width: 100%;
}
.secrets-table th:last-child,
.secrets-table td:last-child {
width: 44px;
text-align: right;
}
.audit-table {
min-width: 100%;
}
.audit-table th,
.audit-table td {
white-space: nowrap;
}
.audit-table td:last-child {
white-space: normal;
min-width: 200px;
}
.nav-topbar-brand img {
width: 42px;
height: 42px;
}
.import-preview {
display: flex;
gap: 10px;
align-items: center;
}
.extension-builds {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 16px;
margin-top: 16px;
}
.extension-card {
display: flex;
flex-direction: column;
gap: 12px;
padding: 16px;
border: 1px solid var(--gn-border, rgba(255, 255, 255, 0.08));
border-radius: 12px;
background: var(--gn-surface-2, rgba(255, 255, 255, 0.02));
}
.extension-card-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
}
.extension-card-sha {
display: flex;
align-items: center;
gap: 8px;
}
.extension-loading {
margin-top: 16px;
}
.danger-zone {
border: 2px solid rgba(247, 118, 142, 0.28);
border-radius: 6px;
background: rgba(247, 118, 142, 0.04);
padding: 15px;
}
.selected-secret-title {
color: var(--gn-color-secondary);
}
.card-title-actions,
.controls-line,
.actions {
display: flex;
gap: 10px;
align-items: center;
flex-wrap: wrap;
}
.detail-actions {
display: flex;
gap: 10px;
align-items: center;
flex-wrap: wrap;
}
.secret-dropdown .dropdown-menu {
right: 0;
left: auto;
transform-origin: top right;
}
.sort-dropdown .dropdown-menu {
right: 0;
left: auto;
transform-origin: top right;
}
.detail-panel .description-list {
max-width: none;
}
.create-actions {
display: flex;
justify-content: flex-end;
}
/* navi-style sign-in gate: full-screen overlay card with a single button;
OAuth must start from the click, not from page load */
.login-screen {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
}
.login-screen-card {
width: 100%;
max-width: 380px;
padding: 40px 32px;
text-align: center;
min-width: 0;
}
.login-screen-logo {
width: 56px;
height: 56px;
margin: 0 auto 18px;
display: block;
}
.login-screen-title {
margin-bottom: 6px;
}
.login-screen-subtitle {
margin-bottom: 22px;
}
/* splash while /me is unresolved: logo + spinner, nothing else */
.login-screen-loader {
margin: 0 auto;
justify-content: center;
}
/* language pick on the Settings page: a form control, not a toolbar action */
.create-actions .language-select {
flex: 0 1 320px;
min-width: 0;
}
.form-grid {
display: grid;
gap: 12px;
width: 100%;
max-width: none;
}
.form-grid > .form-group {
max-width: none;
}
.form-grid.two {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-grid.two .form-row-two {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
grid-column: 1 / -1;
}
.form-grid.two .form-col-full {
grid-column: 1 / -1;
}
.create-modal-body {
display: grid;
gap: 15px;
width: min(900px, calc(100vw - 48px));
max-width: 100%;
}
.create-modal-body .form-group {
max-width: none;
margin-bottom: 0;
}
.create-modal-body .form-group .label .input {
min-height: 48px;
}
.create-modal-body .form-group .label textarea.input {
height: 92px;
}
/* GnTagInput roots its hint in .tag-input, not .form-group (kit 1.0 quirk),
so the scoped .form-group .input-info styles miss it — restore them here. */
.tag-input .input-info {
margin-top: 8px;
}
.create-modal-body .tag-input .input-info {
font-size: 13px;
line-height: 1.45;
}
.create-modal-body .tag-input .input-info .ph {
position: relative;
top: 1px;
}
.create-modal-body .form-group .input-info {
font-size: 13px;
line-height: 1.45;
}
.modal-help {
margin: 0;
}
.modal-section {
display: grid;
gap: 15px;
}
.modal-section + .modal-section {
padding-top: 15px;
border-top: 2px solid rgba(192, 202, 245, 0.08);
}
.create-fields {
display: grid;
gap: 8px;
}
.create-field-row {
display: grid;
grid-template-columns: minmax(170px, 0.8fr) minmax(220px, 1fr) minmax(120px, auto);
gap: 10px;
align-items: start;
padding: 10px;
border: 2px solid rgba(192, 202, 245, 0.14);
background: rgba(22, 22, 30, 0.22);
}
.field-row-actions {
display: flex;
gap: 8px;
align-items: center;
justify-content: space-between;
padding-top: 28px;
}
.create-access-grid,
.access-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 10px;
}
.access-option {
display: grid;
gap: 4px;
align-content: start;
padding: 10px;
border: 2px solid rgba(192, 202, 245, 0.14);
background: rgba(22, 22, 30, 0.22);
}
.profile-identity {
display: block;
text-decoration: none;
color: inherit;
min-width: 0;
}
.profile-identity:hover {
color: inherit;
}
.identity-cell {
display: grid;
gap: 4px;
min-width: 0;
}
.identity-cell strong,
.identity-cell small {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
code {
max-width: 100%;
overflow: auto;
}
.admin-user-cards {
display: grid;
gap: 10px;
}
/* Timeline card hover override */
@media (hover: hover) and (pointer: fine) {
.timeline .timeline-item:hover .timeline-card {
background: var(--gn-color-dark);
transform: none;
}
}
@media (hover: none) and (pointer: coarse) {
.timeline .timeline-item:active .timeline-card {
background: var(--gn-color-dark);
transform: none;
}
}
/* Vertical rail linking the markers (kit 1.0 ships no connector). The
marker is a 40px box in the first grid column, so its center sits at
19px; the rail stops 18px short of the next marker, matching the
.timeline-content bottom padding. */
.timeline-item:not(:last-child)::before {
content: "";
position: absolute;
left: 19px;
top: 44px;
bottom: 0;
width: 2px;
background: rgba(192, 202, 245, 0.24);
}
/* Page header compact fixes */
.page-header.page-header-compact {
overflow: initial;
}
.page-header.page-header-compact .page-header-content {
flex-direction: row;
align-items: center;
gap: 12px;
}
.page-header.page-header-compact .page-header-title {
margin: 0;
}
/* Toolbar actions row */
.toolbar-actions-row {
display: flex;
gap: 10px;
align-items: center;
flex-wrap: wrap;
justify-content: flex-end;
}
.revealed-fields-list.list-actions {
max-width: none;
gap: 0;
}
.revealed-fields-list.list-actions .list-item {
display: grid;
grid-template-columns: minmax(160px, 240px) minmax(260px, 1fr);
align-items: center;
gap: 18px;
}
.revealed-fields-list .list-controls {
display: flex;
align-items: center;
justify-content: flex-start;
gap: 8px;
min-width: 0;
}
.secret-value {
display: inline-flex;
align-items: center;
min-height: 32px;
min-width: 220px;
max-width: min(520px, 100%);
padding: 0 8px;
white-space: nowrap;
}
.error {
margin: 0;
color: var(--gn-color-error);
}
.secret-title-link {
cursor: pointer;
}
/* Category text under the title in the secrets table; mobile-only —
see the 720px block (desktop keeps its own Category column). */
.secret-title-sub {
display: none;
}
.secret-title-link:hover {
color: var(--gn-color-secondary);
}
.empty-state.large {
min-height: 240px;
align-content: center;
justify-items: center;
text-align: center;
}
@media (max-width: 1260px) {
.list-panel {
max-height: none;
}
}
@media (max-width: 720px) {
.creds-app {
width: min(100vw - 24px, 1480px);
padding-top: 12px;
}
.settings-metrics {
grid-template-columns: 1fr;
}
/* Revealed fields stack to one column; values wrap instead of stretching
the page into a horizontal scroll. */
.revealed-fields-list.list-actions .list-item {
grid-template-columns: 1fr;
gap: 6px;
}
.secret-value {
white-space: normal;
min-width: 0;
width: 100%;
max-width: 100%;
overflow-wrap: anywhere;
}
/* Secrets table becomes a compact one-line list: no thead, purpose /
category / status columns drop (category rides under the title,
status is visible in the secret's detail card);
title left, open chevron right, vertically centered. */
.secrets-table {
display: block;
}
.secrets-table .table-head {
display: none;
}
.secrets-table .table-body {
display: block;
}
.secrets-table .table-row {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
column-gap: 10px;
padding: 12px 14px;
}
/* Kit td rules (padding + border-bottom) would stripe every stacked
td into its own "sheet" — drop them and keep only the row separator. */
.secrets-table .table-row > td {
border-bottom: 0;
padding: 0;
width: auto;
}
.secrets-table .table-row:not(:last-child) {
border-bottom: 2px solid rgba(192, 202, 245, 0.08);
}
/* purpose, category, status */
.secrets-table .table-row > td:nth-child(2),
.secrets-table .table-row > td:nth-child(3),
.secrets-table .table-row > td:nth-child(4) {
display: none;
}
.secrets-table .table-row .secret-title-link {
font-size: 16px;
line-height: 1.35;
font-weight: 400;
}
.secret-title-sub {
display: block;
margin-top: 3px;
font-weight: 400;
font-size: 12px;
color: #787c99;
}
/* Audit table collapses the same way: no thead, one card per event —
action + channel badge on the first line, time and IP (muted) on the
second, the metadata description list below spanning full width.
The nowrap/min-width rules from desktop drop out here. */
.audit-table {
display: block;
}
.audit-table .table-head {
display: none;
}
.audit-table .table-body {
display: block;
}
.audit-table .table-row {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
column-gap: 10px;
padding: 12px 14px;
}
.audit-table th,
.audit-table td {
white-space: normal;
}
.audit-table .table-row > td {
border-bottom: 0;
padding: 0;
width: auto;
min-width: 0;
}
.audit-table .table-row > td:nth-child(1) {
grid-area: 2 / 1;
font-size: 12px;
color: #787c99;
}
.audit-table .table-row > td:nth-child(2) {
grid-area: 1 / 1;
font-weight: 600;
overflow: hidden;
text-overflow: ellipsis;
}
.audit-table .table-row > td:nth-child(3) {
grid-area: 1 / 2;
}
.audit-table .table-row > td:nth-child(4) {
grid-area: 2 / 2;
font-size: 12px;
color: #787c99;
text-align: right;
}
.audit-table .table-row > td:nth-child(5) {
grid-area: 3 / 1 / 4 / -1;
padding-top: 8px;
}
.audit-table .table-row:not(:last-child) {
border-bottom: 2px solid rgba(192, 202, 245, 0.08);
}
/* The metadata description list inside a card: label stacks over value,
the list gets the full card width instead of its own 760px cap. */
.audit-table .description-list {
max-width: none;
}
.audit-table .description-list .description-list-row {
grid-template-columns: 1fr;
gap: 6px;
}
.audit-table .description-list-value {
transform: none;
}
/* Metadata cells that wrap long JSON-ish values (snapshot payloads) */
.audit-table .description-list-value code {
max-width: 100%;
white-space: normal;
overflow-wrap: anywhere;
}
.form-grid.two,
.create-field-row,
.create-access-grid {
grid-template-columns: 1fr;
}
.create-modal-body {
width: calc(100vw - 28px);
}
}
/* Toast + modal entry/exit animations are kit-owned (see note above). */