239 lines
4.2 KiB
CSS
239 lines
4.2 KiB
CSS
.home-page-header,
|
|
.config-page-header,
|
|
.version-page-header {
|
|
min-height: 40px;
|
|
}
|
|
|
|
.home-page-header {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
@container workspace (min-width: 840px) {
|
|
.home-page {
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
grid-auto-rows: unset;
|
|
}
|
|
|
|
.home-page > .home-layout,
|
|
.home-page > .client-api-panel {
|
|
grid-row: 2;
|
|
}
|
|
}
|
|
|
|
.usage-page-navigation {
|
|
display: flex;
|
|
min-width: 0;
|
|
align-items: center;
|
|
gap: 14px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.usage-page-navigation h1 {
|
|
margin: 0;
|
|
color: var(--text-primary);
|
|
font-size: var(--font-size-page-title);
|
|
line-height: var(--line-height-tight);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.usage-tab-panel {
|
|
display: flex;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
flex: 1 1 auto;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.usage-tab-panel > .usage-overview-layout,
|
|
.usage-tab-panel > .usage-analysis-grid,
|
|
.usage-tab-panel > .usage-events-panel,
|
|
.usage-tab-panel > .usage-pricing-panel,
|
|
.usage-tab-panel > .usage-data-management-panel,
|
|
.usage-tab-panel > .usage-initial-loading {
|
|
min-height: 0;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.usage-col-resizer:focus-visible {
|
|
outline: 2px solid var(--ui-accent);
|
|
outline-offset: -2px;
|
|
}
|
|
|
|
.client-api-card-heading {
|
|
width: 144px;
|
|
flex-basis: 144px;
|
|
}
|
|
|
|
.client-api-card-heading .client-api-format-tag,
|
|
.client-api-card-heading span {
|
|
font-size: var(--font-size-caption);
|
|
}
|
|
|
|
.client-api-value-row code {
|
|
cursor: text;
|
|
}
|
|
|
|
.simple-mode-step-status-item {
|
|
width: 100%;
|
|
background: transparent;
|
|
font: inherit;
|
|
text-align: left;
|
|
}
|
|
|
|
.simple-mode-step-status-item:not(:disabled):hover {
|
|
border-color: color-mix(in srgb, var(--ui-accent) 32%, var(--theme-e3e1db));
|
|
background: var(--theme-f8f5ee);
|
|
}
|
|
|
|
.simple-mode-step-status-item:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.58;
|
|
}
|
|
|
|
.simple-mode-step-status-item.active:disabled {
|
|
opacity: 1;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.app-shell:not(.app-shell-easy-mode) {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.app-shell:not(.app-shell-easy-mode) .sidebar {
|
|
position: static;
|
|
display: grid;
|
|
grid-template-columns: minmax(190px, 1fr) auto;
|
|
grid-template-rows: auto auto;
|
|
align-items: center;
|
|
gap: 10px 14px;
|
|
width: 100%;
|
|
height: auto;
|
|
padding: 12px 14px;
|
|
}
|
|
|
|
.sidebar-brand {
|
|
grid-column: 1;
|
|
grid-row: 1;
|
|
min-height: 44px;
|
|
margin: 0;
|
|
}
|
|
|
|
.nav-section {
|
|
grid-column: 1 / -1;
|
|
grid-row: 2;
|
|
display: flex;
|
|
min-width: 0;
|
|
overflow-x: auto;
|
|
padding: 0 0 3px;
|
|
scrollbar-width: thin;
|
|
scroll-snap-type: x proximity;
|
|
}
|
|
|
|
.nav-section button {
|
|
width: auto;
|
|
min-width: 120px;
|
|
grid-template-columns: 17px minmax(0, 1fr) auto;
|
|
scroll-snap-align: start;
|
|
text-align: left;
|
|
}
|
|
|
|
.sidebar-bottom {
|
|
grid-column: 2;
|
|
grid-row: 1;
|
|
display: flex;
|
|
min-width: 0;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 6px;
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
|
|
.sidebar-easy-entry,
|
|
.sidebar-language,
|
|
.sidebar-contact {
|
|
width: auto;
|
|
flex: none;
|
|
}
|
|
|
|
.sidebar-easy-entry {
|
|
min-height: 36px;
|
|
padding-inline: 9px;
|
|
}
|
|
|
|
.sidebar-theme-selector {
|
|
width: auto;
|
|
flex: none;
|
|
}
|
|
|
|
.sidebar-theme-selector button {
|
|
min-height: 28px;
|
|
padding-inline: 7px;
|
|
}
|
|
|
|
.sidebar-language-trigger {
|
|
min-width: 104px;
|
|
min-height: 36px;
|
|
}
|
|
|
|
.sidebar-language-list {
|
|
right: 0;
|
|
bottom: auto;
|
|
left: auto;
|
|
top: calc(100% + 8px);
|
|
width: 180px;
|
|
box-shadow: 0 10px 28px rgba(45, 42, 38, 0.16);
|
|
}
|
|
|
|
.sidebar-contact {
|
|
display: grid;
|
|
width: 36px;
|
|
min-height: 36px;
|
|
grid-template-columns: 1fr;
|
|
padding: 0;
|
|
place-items: center;
|
|
}
|
|
|
|
.sidebar-contact span,
|
|
.sidebar-contact > svg:last-child {
|
|
display: none;
|
|
}
|
|
|
|
.content {
|
|
padding: 18px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
.app-shell:not(.app-shell-easy-mode) .sidebar {
|
|
grid-template-columns: minmax(150px, 1fr) auto;
|
|
}
|
|
|
|
.sidebar-brand div > span {
|
|
display: none;
|
|
}
|
|
|
|
.sidebar-brand {
|
|
grid-template-columns: 38px minmax(0, 1fr);
|
|
}
|
|
|
|
.brand-mark {
|
|
width: 38px;
|
|
height: 38px;
|
|
}
|
|
|
|
.usage-page-navigation,
|
|
.usage-tabs,
|
|
.usage-topbar-actions {
|
|
width: 100%;
|
|
}
|
|
|
|
.usage-page-navigation {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
}
|