5153 lines
101 KiB
CSS
5153 lines
101 KiB
CSS
.admin-theme-root {
|
|
min-height: 0;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
--an-header-height: 58px;
|
|
--an-page-padding: 16px;
|
|
--an-section-gap: 16px;
|
|
--an-panel-gap: 12px;
|
|
--an-control-xs: 28px;
|
|
--an-control-sm: 32px;
|
|
--an-control-md: 34px;
|
|
--an-control-lg: 38px;
|
|
--an-control-radius: 6px;
|
|
--an-control-radius-md: 7px;
|
|
--an-bg: #f6f8fb;
|
|
--an-surface: #ffffff;
|
|
--an-surface-alt: #f9fbfd;
|
|
--an-border: #d8e0ea;
|
|
--an-border-strong: #c5d0de;
|
|
--an-text: #172033;
|
|
--an-muted: #617089;
|
|
--an-soft: #e9eef5;
|
|
--an-accent: #2563eb;
|
|
--an-accent-hover: #1d4ed8;
|
|
--an-danger: #dc2626;
|
|
--an-success: #16a34a;
|
|
--an-warning: #d97706;
|
|
--an-info: #0284c7;
|
|
--an-row-hover: #f1f5f9;
|
|
--an-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
|
|
--an-search-backdrop: rgba(15, 23, 42, 0.14);
|
|
--tui-bg: var(--an-bg);
|
|
--tui-surface: var(--an-surface);
|
|
--tui-surface-soft: var(--an-soft);
|
|
--tui-surface-subtle: var(--an-surface);
|
|
--tui-text: var(--an-text);
|
|
--tui-muted: var(--an-muted);
|
|
--tui-border: var(--an-border);
|
|
--tui-primary: var(--an-accent);
|
|
--tui-primary-hover: var(--an-accent-hover);
|
|
--tui-primary-active: var(--an-accent-hover);
|
|
--tui-danger: var(--an-danger);
|
|
--d-segment-bg: #eef3f9;
|
|
--d-segment-slider: #ffffff;
|
|
--d-segment-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
|
|
--d-lang-btn: #4a5568;
|
|
--d-nav-hover: #0d4f9f;
|
|
--d-nav-active: #0b5fc1;
|
|
color: var(--an-text);
|
|
}
|
|
|
|
.admin-theme-root[data-theme='dark'] {
|
|
--an-bg: #0f1724;
|
|
--an-surface: #172033;
|
|
--an-surface-alt: #1d2738;
|
|
--an-border: #2e3a4d;
|
|
--an-border-strong: #3a465a;
|
|
--an-text: #e5edf7;
|
|
--an-muted: #9caac0;
|
|
--an-soft: #243147;
|
|
--an-accent: #60a5fa;
|
|
--an-accent-hover: #93c5fd;
|
|
--an-danger: #f87171;
|
|
--an-success: #4ade80;
|
|
--an-warning: #fbbf24;
|
|
--an-info: #38bdf8;
|
|
--an-row-hover: #1f2b3e;
|
|
--an-shadow: none;
|
|
--an-search-backdrop: rgba(2, 6, 23, 0.34);
|
|
--d-segment-bg: rgba(0, 0, 0, 0.28);
|
|
--d-segment-slider: #202938;
|
|
--d-segment-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
|
|
--d-lang-btn: #8a9bb8;
|
|
--d-nav-hover: #93c5fd;
|
|
--d-nav-active: #5ba5ff;
|
|
}
|
|
|
|
.an-dialog,
|
|
.an-dialog__overlay,
|
|
.an-toast {
|
|
--an-bg: #f6f8fb;
|
|
--an-surface: #ffffff;
|
|
--an-surface-alt: #f9fbfd;
|
|
--an-border: #d8e0ea;
|
|
--an-border-strong: #c5d0de;
|
|
--an-text: #172033;
|
|
--an-muted: #617089;
|
|
--an-soft: #e9eef5;
|
|
--an-accent: #2563eb;
|
|
--an-accent-hover: #1d4ed8;
|
|
--an-danger: #dc2626;
|
|
--an-success: #16a34a;
|
|
--an-warning: #d97706;
|
|
--an-info: #0284c7;
|
|
--an-row-hover: #f1f5f9;
|
|
--an-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
|
|
}
|
|
|
|
body:has(.admin-theme-root[data-theme='dark']) .an-dialog,
|
|
body:has(.admin-theme-root[data-theme='dark']) .an-dialog__overlay,
|
|
body:has(.admin-theme-root[data-theme='dark']) .an-toast {
|
|
--an-bg: #0f1724;
|
|
--an-surface: #172033;
|
|
--an-surface-alt: #1d2738;
|
|
--an-border: #2e3a4d;
|
|
--an-border-strong: #3a465a;
|
|
--an-text: #e5edf7;
|
|
--an-muted: #9caac0;
|
|
--an-soft: #243147;
|
|
--an-accent: #60a5fa;
|
|
--an-accent-hover: #93c5fd;
|
|
--an-danger: #f87171;
|
|
--an-success: #4ade80;
|
|
--an-warning: #fbbf24;
|
|
--an-info: #38bdf8;
|
|
--an-row-hover: #1f2b3e;
|
|
--an-shadow: none;
|
|
}
|
|
|
|
.admin-theme-root,
|
|
.admin-theme-root * {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.admin-theme-root button,
|
|
.admin-theme-root input,
|
|
.admin-theme-root textarea {
|
|
font: inherit;
|
|
}
|
|
|
|
.admin {
|
|
min-height: 0;
|
|
height: 100%;
|
|
display: grid;
|
|
grid-template-columns: 264px minmax(0, 1fr);
|
|
background: var(--an-bg);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.admin__sider {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
min-width: 0;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
background: var(--an-surface);
|
|
border-right: 1px solid var(--an-border);
|
|
}
|
|
|
|
.admin__sider--collapsed {
|
|
width: 68px;
|
|
}
|
|
|
|
.admin:has(.admin__sider--collapsed) {
|
|
grid-template-columns: 68px minmax(0, 1fr);
|
|
}
|
|
|
|
.admin__brand {
|
|
flex: 0 0 var(--an-header-height);
|
|
height: var(--an-header-height);
|
|
min-height: var(--an-header-height);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
gap: 10px;
|
|
padding: 0 14px;
|
|
border-bottom: 1px solid var(--an-border);
|
|
text-align: left;
|
|
}
|
|
|
|
.admin__brand-copy {
|
|
display: grid;
|
|
justify-items: start;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-align: left;
|
|
}
|
|
|
|
.admin__brand-text {
|
|
font-weight: 700;
|
|
font-size: 16px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.admin__brand-subtitle {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.admin__brand-subtitle,
|
|
.admin__account-row span,
|
|
.an-muted-text,
|
|
.an-card__description,
|
|
.an-page__header p,
|
|
.an-panel-heading p,
|
|
.an-empty-state span {
|
|
color: var(--an-muted);
|
|
}
|
|
|
|
.admin__nav-scroll {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.admin__nav {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
min-width: 0;
|
|
padding: 10px;
|
|
display: grid;
|
|
justify-items: stretch;
|
|
gap: 6px;
|
|
text-align: left;
|
|
}
|
|
|
|
.admin__nav-group {
|
|
width: 100%;
|
|
min-width: 0;
|
|
display: grid;
|
|
justify-items: stretch;
|
|
gap: 4px;
|
|
}
|
|
|
|
.admin__nav-group-button,
|
|
.admin__nav-link {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
min-width: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--an-text);
|
|
min-height: 34px;
|
|
border-radius: 6px;
|
|
padding: 0 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
gap: 10px;
|
|
text-align: left;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.admin__nav-group-button svg,
|
|
.admin__nav-link svg {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.admin__nav-group-button span,
|
|
.admin__nav-link span {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-align: left;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.admin__nav-group-button:hover,
|
|
.admin__nav-link:hover,
|
|
.admin__nav-link.is-active {
|
|
background: var(--an-row-hover);
|
|
}
|
|
|
|
.admin__nav-group-button:focus-visible,
|
|
.admin__nav-link:focus-visible {
|
|
outline: 2px solid color-mix(in srgb, var(--an-accent) 78%, white);
|
|
outline-offset: -2px;
|
|
}
|
|
|
|
.admin__nav-group-button {
|
|
font-weight: 650;
|
|
}
|
|
|
|
.admin__nav-children {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
min-width: 0;
|
|
display: grid;
|
|
justify-items: stretch;
|
|
gap: 3px;
|
|
padding-left: 22px;
|
|
}
|
|
|
|
.admin__nav-link {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.admin__nav-link.is-active {
|
|
color: var(--an-accent);
|
|
font-weight: 650;
|
|
}
|
|
|
|
.admin__nav-chevron {
|
|
margin-left: auto;
|
|
flex: 0 0 auto;
|
|
transition: transform 0.15s ease;
|
|
}
|
|
|
|
.admin__nav-chevron.is-open {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.admin__account {
|
|
flex: 0 0 auto;
|
|
border-top: 1px solid var(--an-border);
|
|
padding: 12px;
|
|
background: color-mix(in srgb, var(--an-bg) 42%, var(--an-surface));
|
|
display: grid;
|
|
gap: 0;
|
|
text-align: left;
|
|
}
|
|
|
|
.admin__account-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
gap: 12px;
|
|
font-size: 12px;
|
|
text-align: left;
|
|
}
|
|
|
|
.admin__account-row--primary {
|
|
min-height: 34px;
|
|
}
|
|
|
|
.admin__account-row > div {
|
|
min-width: 0;
|
|
display: grid;
|
|
gap: 2px;
|
|
}
|
|
|
|
.admin__account-profile {
|
|
display: flex !important;
|
|
grid-template-columns: none;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
min-width: 0;
|
|
flex: 1 1 auto;
|
|
margin-right: 6px;
|
|
text-align: left;
|
|
}
|
|
|
|
.admin__account-row .admin__account-profile {
|
|
gap: 12px;
|
|
}
|
|
|
|
.admin__account-profile > div {
|
|
min-width: 0;
|
|
display: grid;
|
|
justify-items: start;
|
|
gap: 1px;
|
|
text-align: left;
|
|
}
|
|
|
|
.admin__account-avatar {
|
|
flex: 0 0 30px;
|
|
width: 30px;
|
|
height: 30px;
|
|
border-radius: 999px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--an-accent);
|
|
color: #ffffff;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
box-shadow: 0 6px 16px color-mix(in srgb, var(--an-accent) 22%, transparent);
|
|
}
|
|
|
|
.admin__account-row .admin__account-avatar {
|
|
color: #ffffff;
|
|
}
|
|
|
|
.admin__account-row strong {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.admin__account-profile span:not(.admin__account-avatar) {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.admin__account-actions {
|
|
display: flex !important;
|
|
grid-template-columns: none;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
flex: 0 0 auto;
|
|
gap: 4px;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.admin__account-logout,
|
|
.admin__account-preferences {
|
|
width: 28px;
|
|
height: 28px;
|
|
}
|
|
|
|
.admin__account-preferences {
|
|
color: var(--an-muted);
|
|
}
|
|
|
|
.admin__account-preferences svg {
|
|
transition: color 0.18s ease, transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
}
|
|
|
|
.admin__account-preferences.is-active {
|
|
color: var(--an-accent);
|
|
background: color-mix(in srgb, var(--an-accent) 10%, var(--an-surface));
|
|
}
|
|
|
|
.admin__account-preferences.is-active svg {
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.admin__account-logout {
|
|
color: var(--an-danger);
|
|
}
|
|
|
|
.admin__account-logout:hover:not(:disabled) {
|
|
background: color-mix(in srgb, var(--an-danger) 10%, var(--an-surface));
|
|
}
|
|
|
|
.admin__theme-control {
|
|
width: 100%;
|
|
}
|
|
|
|
.admin__preferences-drawer {
|
|
max-height: 0;
|
|
overflow: hidden;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transform: translateY(-5px);
|
|
transition:
|
|
max-height 0.24s ease,
|
|
opacity 0.18s ease,
|
|
transform 0.24s ease,
|
|
visibility 0s linear 0.24s;
|
|
}
|
|
|
|
.admin__preferences-drawer.is-open {
|
|
max-height: 146px;
|
|
opacity: 1;
|
|
visibility: visible;
|
|
transform: translateY(0);
|
|
transition:
|
|
max-height 0.28s ease,
|
|
opacity 0.18s ease,
|
|
transform 0.28s ease,
|
|
visibility 0s;
|
|
}
|
|
|
|
.admin__preferences-panel {
|
|
margin-top: 12px;
|
|
padding: 12px 14px;
|
|
border-top: 1px solid color-mix(in srgb, var(--an-border) 78%, transparent);
|
|
border-radius: 8px;
|
|
background: color-mix(in srgb, var(--an-bg) 62%, var(--an-surface));
|
|
display: grid;
|
|
justify-items: stretch;
|
|
gap: 8px;
|
|
text-align: left;
|
|
}
|
|
|
|
.admin__theme-control--sider {
|
|
--segmented-control-radius: 8px;
|
|
--segmented-control-slider-radius: 6px;
|
|
--segmented-control-button-gap: 0;
|
|
--segmented-control-icon-size: 13px;
|
|
}
|
|
|
|
.admin__theme-control--sider .segmented-control__button {
|
|
flex-direction: row;
|
|
}
|
|
|
|
.admin__theme-control--sider .segmented-control__label {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
overflow: hidden;
|
|
clip: rect(0 0 0 0);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.admin__theme-control--sider .segmented-control__button[data-value="light"] {
|
|
color: #d97706;
|
|
}
|
|
|
|
.admin__theme-control--sider .segmented-control__button[data-value="system"] {
|
|
color: var(--an-accent);
|
|
}
|
|
|
|
.admin__theme-control--sider .segmented-control__button[data-value="dark"] {
|
|
color: #64748b;
|
|
}
|
|
|
|
.admin__language-control--sider {
|
|
width: 100%;
|
|
--segmented-control-radius: 8px;
|
|
--segmented-control-slider-radius: 6px;
|
|
--segmented-control-button-gap: 0;
|
|
--segmented-control-font-size: calc(10px * var(--segmented-control-scale, 1));
|
|
--segmented-control-font-weight: 800;
|
|
}
|
|
|
|
.admin__language-control--sider .segmented-control__button {
|
|
font-size: calc(10px * var(--segmented-control-scale, 1));
|
|
font-weight: 800;
|
|
line-height: 1;
|
|
padding: 0 4px;
|
|
}
|
|
|
|
.admin__logout {
|
|
justify-content: center;
|
|
}
|
|
|
|
.an-collection-queue {
|
|
display: grid;
|
|
gap: 8px;
|
|
padding: 10px 12px;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 8px;
|
|
background: var(--an-surface);
|
|
box-shadow: var(--an-shadow);
|
|
}
|
|
|
|
.an-collection-queue__bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.an-collection-queue__summary,
|
|
.an-collection-queue__actions,
|
|
.an-collection-queue__item-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.an-collection-queue__summary {
|
|
flex-wrap: wrap;
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.an-collection-queue__summary strong {
|
|
color: var(--an-text);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.an-collection-queue__track {
|
|
height: 6px;
|
|
overflow: hidden;
|
|
border-radius: 999px;
|
|
background: var(--an-soft);
|
|
}
|
|
|
|
.an-collection-queue__track span {
|
|
display: block;
|
|
height: 100%;
|
|
border-radius: inherit;
|
|
background: linear-gradient(90deg, var(--an-info), var(--an-accent));
|
|
transition: width 180ms ease;
|
|
}
|
|
|
|
.an-collection-queue-anchor {
|
|
position: relative;
|
|
display: inline-flex;
|
|
}
|
|
|
|
.an-collection-queue-trigger {
|
|
position: relative;
|
|
width: 20px;
|
|
height: 20px;
|
|
display: inline-grid;
|
|
place-items: center;
|
|
color: currentColor;
|
|
}
|
|
|
|
.an-collection-queue-trigger--progress::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: 999px;
|
|
background: conic-gradient(var(--an-accent) var(--queue-progress, 0%), var(--an-soft) 0);
|
|
mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 0);
|
|
-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 0);
|
|
}
|
|
|
|
.an-collection-queue-popover {
|
|
position: absolute;
|
|
top: calc(100% + 8px);
|
|
right: 0;
|
|
z-index: 40;
|
|
width: min(960px, calc(100vw - 32px));
|
|
}
|
|
|
|
.an-collection-queue-popover .an-collection-queue {
|
|
max-height: min(560px, calc(100vh - 96px));
|
|
}
|
|
|
|
.an-collection-queue-popover .an-collection-queue__panel {
|
|
max-height: min(430px, calc(100vh - 210px));
|
|
}
|
|
|
|
.an-collection-queue__panel {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 10px;
|
|
max-height: 280px;
|
|
overflow: auto;
|
|
padding-top: 4px;
|
|
}
|
|
|
|
.an-collection-queue__group {
|
|
display: grid;
|
|
align-content: start;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
padding: 8px;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 8px;
|
|
background: var(--an-surface-alt);
|
|
}
|
|
|
|
.an-collection-queue__group h3 {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin: 0;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.an-collection-queue__group h3 span {
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.an-collection-queue__items {
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.an-collection-queue__item {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 44px;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 7px;
|
|
background: var(--an-surface);
|
|
}
|
|
|
|
.an-collection-queue__item-actions {
|
|
position: absolute;
|
|
top: 6px;
|
|
right: 6px;
|
|
z-index: 2;
|
|
display: flex;
|
|
gap: 6px;
|
|
opacity: 0;
|
|
transform: translateX(4px);
|
|
pointer-events: none;
|
|
transition: opacity 140ms ease, transform 140ms ease;
|
|
}
|
|
|
|
.an-collection-queue__item:hover .an-collection-queue__item-actions,
|
|
.an-collection-queue__item:focus-within .an-collection-queue__item-actions {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.an-collection-queue__item strong,
|
|
.an-collection-queue__item p {
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.an-collection-queue__item strong {
|
|
display: block;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.an-collection-queue__item p,
|
|
.an-collection-queue__empty {
|
|
margin: 0;
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.an-collection-queue__empty--panel {
|
|
min-height: 96px;
|
|
display: grid;
|
|
place-items: center;
|
|
border: 1px dashed var(--an-border);
|
|
border-radius: 8px;
|
|
background: var(--an-surface-alt);
|
|
}
|
|
|
|
.an-collection-queue__item > span {
|
|
min-width: 38px;
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
text-align: right;
|
|
}
|
|
|
|
.an-collection-queue__item.is-running,
|
|
.an-collection-queue__item.is-queued {
|
|
border-color: color-mix(in srgb, var(--an-info) 35%, var(--an-border));
|
|
}
|
|
|
|
.an-collection-queue__item.is-success {
|
|
border-color: color-mix(in srgb, var(--an-success) 35%, var(--an-border));
|
|
}
|
|
|
|
.an-collection-queue__item.is-failed {
|
|
border-color: color-mix(in srgb, var(--an-danger) 35%, var(--an-border));
|
|
}
|
|
|
|
@media (hover: none) {
|
|
.an-collection-queue__item-actions {
|
|
opacity: 1;
|
|
transform: none;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.an-collection-queue__item {
|
|
padding-right: 104px;
|
|
}
|
|
}
|
|
|
|
.an-task-summary {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 10px;
|
|
padding: 10px;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 8px;
|
|
background: var(--an-surface-alt);
|
|
}
|
|
|
|
.an-task-summary > div {
|
|
min-width: 0;
|
|
}
|
|
|
|
.an-task-summary strong {
|
|
font-size: 13px;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.an-task-summary__progress {
|
|
align-self: start;
|
|
font-size: 12px;
|
|
font-weight: 650;
|
|
font-variant-numeric: tabular-nums;
|
|
color: var(--an-accent);
|
|
}
|
|
|
|
.an-task-summary p {
|
|
margin: 3px 0 0;
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
overflow-wrap: anywhere;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.an-task-summary dl {
|
|
grid-column: 1 / -1;
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
margin: 0;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 7px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.an-task-summary dt,
|
|
.an-task-summary dd {
|
|
margin: 0;
|
|
padding: 7px 9px;
|
|
border-bottom: 1px solid var(--an-border);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.an-task-summary dt {
|
|
color: var(--an-muted);
|
|
background: var(--an-surface);
|
|
}
|
|
|
|
.an-task-summary dd {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.an-task-summary dt:nth-last-child(-n+4),
|
|
.an-task-summary dd:nth-last-child(-n+4) {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.admin__content {
|
|
position: relative;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
height: 100%;
|
|
display: grid;
|
|
grid-template-rows: var(--an-header-height) minmax(0, 1fr);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.admin__topbar {
|
|
height: var(--an-header-height);
|
|
min-height: var(--an-header-height);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 0 16px;
|
|
background: var(--an-surface);
|
|
border-bottom: 1px solid var(--an-border);
|
|
}
|
|
|
|
.admin__search {
|
|
position: relative;
|
|
width: min(440px, 100%);
|
|
min-width: 220px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 0 10px;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 8px;
|
|
background: var(--an-surface-alt);
|
|
color: var(--an-muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.admin__search:focus-within {
|
|
border-color: color-mix(in srgb, var(--an-accent) 56%, var(--an-border));
|
|
background: var(--an-surface);
|
|
box-shadow: 0 0 0 3px color-mix(in srgb, var(--an-accent) 12%, transparent);
|
|
}
|
|
|
|
.admin__search-icon {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.admin__search input {
|
|
width: 100%;
|
|
min-width: 0;
|
|
height: 100%;
|
|
border: 0;
|
|
outline: 0;
|
|
background: transparent;
|
|
color: var(--an-text);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.admin__search input::placeholder {
|
|
color: var(--an-muted);
|
|
}
|
|
|
|
.admin__language-control {
|
|
width: 112px;
|
|
--segmented-control-radius: 8px;
|
|
--segmented-control-slider-radius: 6px;
|
|
--segmented-control-button-gap: 0;
|
|
}
|
|
|
|
.admin__language-control .segmented-control__button {
|
|
flex-direction: row;
|
|
}
|
|
|
|
.admin__language-control .segmented-control__icon {
|
|
display: none;
|
|
}
|
|
|
|
.admin__language-control.admin__language-control--sider {
|
|
width: 100%;
|
|
}
|
|
|
|
.admin__search-results {
|
|
position: absolute;
|
|
top: calc(100% + 6px);
|
|
left: 0;
|
|
z-index: 50;
|
|
width: min(440px, calc(100vw - 32px));
|
|
max-height: min(340px, calc(100vh - 82px));
|
|
overflow: auto;
|
|
padding: 6px;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 8px;
|
|
background: var(--an-surface);
|
|
box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
|
|
}
|
|
|
|
.admin__search-result {
|
|
width: 100%;
|
|
min-height: 42px;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
padding: 7px 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
background: transparent;
|
|
color: var(--an-text);
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.admin__search-result:hover,
|
|
.admin__search-result.is-active {
|
|
background: var(--an-row-hover);
|
|
}
|
|
|
|
.admin__search-result.is-active {
|
|
color: var(--an-accent);
|
|
}
|
|
|
|
.admin__search-result span {
|
|
min-width: 0;
|
|
display: grid;
|
|
gap: 2px;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.admin__search-result strong,
|
|
.admin__search-result small {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.admin__search-result strong {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.admin__search-result small,
|
|
.admin__search-empty {
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.admin__search-empty {
|
|
padding: 12px 10px;
|
|
}
|
|
|
|
.an-search-spotlight {
|
|
position: absolute;
|
|
inset: var(--an-header-height) 0 0 0;
|
|
z-index: 30;
|
|
pointer-events: none;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.an-search-spotlight__frame {
|
|
position: absolute;
|
|
left: var(--spotlight-x, 0px);
|
|
top: var(--spotlight-y, 0px);
|
|
width: var(--spotlight-w, 0px);
|
|
height: var(--spotlight-h, 0px);
|
|
border-radius: var(--spotlight-r, 8px);
|
|
border: 2px solid color-mix(in srgb, var(--an-accent) 78%, white);
|
|
background: transparent;
|
|
box-shadow:
|
|
0 0 0 4px color-mix(in srgb, var(--an-accent) 22%, transparent),
|
|
0 0 0 9999px var(--an-search-backdrop);
|
|
animation: an-spotlight-fade-in 0.14s ease-out;
|
|
}
|
|
|
|
@keyframes an-spotlight-fade-in {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.an-search-spotlight__frame {
|
|
animation: none;
|
|
}
|
|
}
|
|
|
|
.an-search-mark {
|
|
background: color-mix(in srgb, var(--an-accent) 12%, var(--an-surface)) !important;
|
|
}
|
|
|
|
.admin__mobile-menu.tui-button,
|
|
.admin__mobile-nav {
|
|
display: none;
|
|
}
|
|
|
|
.admin__content-inner {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
padding: var(--an-page-padding);
|
|
}
|
|
|
|
.an-page {
|
|
height: 100%;
|
|
min-width: 0;
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
gap: var(--an-section-gap);
|
|
}
|
|
|
|
.an-page__header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
min-height: 40px;
|
|
}
|
|
|
|
.an-page__header h1 {
|
|
margin: 0;
|
|
font-size: 22px;
|
|
line-height: 1.2;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
.an-page__header p,
|
|
.an-panel-heading p,
|
|
.an-card__description {
|
|
margin: 4px 0 0;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.an-page__body {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
margin: -4px;
|
|
padding: 4px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.an-page__body > .an-data-table {
|
|
max-height: 100%;
|
|
min-height: 0;
|
|
}
|
|
|
|
.an-resource-page .an-page__body {
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
gap: var(--an-section-gap);
|
|
}
|
|
|
|
.an-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.an-toolbar > .tui-button {
|
|
align-self: stretch;
|
|
height: var(--an-control-md);
|
|
}
|
|
|
|
.an-toolbar .an-status-pill {
|
|
align-self: stretch;
|
|
height: var(--an-control-md);
|
|
min-width: 0;
|
|
padding: 0 12px;
|
|
border-radius: var(--an-control-radius-md);
|
|
line-height: 1;
|
|
}
|
|
|
|
.an-inline-field {
|
|
height: 34px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
}
|
|
|
|
.an-inline-field span {
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.an-inline-field .an-input {
|
|
width: 220px;
|
|
height: 34px;
|
|
}
|
|
|
|
.an-panel,
|
|
.an-card,
|
|
.an-table-panel,
|
|
.an-detail-panel {
|
|
background: var(--an-surface);
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 8px;
|
|
box-shadow: var(--an-shadow);
|
|
}
|
|
|
|
.an-panel,
|
|
.an-card {
|
|
min-width: 0;
|
|
}
|
|
|
|
.an-card__header,
|
|
.an-panel-heading {
|
|
min-height: 46px;
|
|
padding: 12px 14px;
|
|
border-bottom: 1px solid var(--an-border);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.an-panel-heading h2,
|
|
.an-card__title {
|
|
margin: 0;
|
|
font-size: 15px;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.an-card__content {
|
|
padding: 14px;
|
|
}
|
|
|
|
.an-page-grid,
|
|
.an-stack {
|
|
min-width: 0;
|
|
display: grid;
|
|
gap: var(--an-section-gap);
|
|
}
|
|
|
|
.an-summary-strip {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.an-stat-cell {
|
|
min-width: 0;
|
|
background: var(--an-surface);
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 8px;
|
|
padding: 11px 14px;
|
|
display: grid;
|
|
gap: 3px;
|
|
}
|
|
|
|
.an-stat-cell span,
|
|
.an-stat-cell small {
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.an-stat-cell strong {
|
|
font-size: 22px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.an-section-tabs {
|
|
min-width: 0;
|
|
margin: -4px;
|
|
padding: 4px;
|
|
overflow-x: auto;
|
|
scrollbar-width: none;
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.an-section-tabs::-webkit-scrollbar {
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.an-section-tab {
|
|
height: 32px;
|
|
flex: 0 0 auto;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 6px;
|
|
background: var(--an-surface);
|
|
color: var(--an-text);
|
|
padding: 0 10px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
font-size: 13px;
|
|
font-weight: 650;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.an-section-tab:hover,
|
|
.an-section-tab.is-active {
|
|
border-color: var(--an-border-strong);
|
|
background: var(--an-row-hover);
|
|
}
|
|
|
|
.an-section-tab:focus-visible {
|
|
outline: 2px solid color-mix(in srgb, var(--an-accent) 78%, white);
|
|
outline-offset: -2px;
|
|
}
|
|
|
|
.an-section-tab.is-active {
|
|
color: var(--an-accent);
|
|
}
|
|
|
|
.an-section-tab strong {
|
|
display: none !important;
|
|
}
|
|
|
|
.an-section-tab__dot {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 999px;
|
|
background: var(--an-muted);
|
|
}
|
|
|
|
.an-section-tab__dot.is-ok,
|
|
.an-section-tab__dot--success {
|
|
background: var(--an-success);
|
|
}
|
|
|
|
.an-section-tab__dot.is-error,
|
|
.an-section-tab__dot--danger {
|
|
background: var(--an-danger);
|
|
}
|
|
|
|
.an-section-tab__dot--info,
|
|
.an-section-tab__dot--running {
|
|
background: var(--an-info);
|
|
}
|
|
|
|
.an-section-tab__dot--warning {
|
|
background: var(--an-warning);
|
|
}
|
|
|
|
.an-section-tab__dot--ai {
|
|
background: #7c3aed;
|
|
}
|
|
|
|
.an-section-tab__dot--neutral {
|
|
background: var(--an-muted);
|
|
}
|
|
|
|
.an-resource-page {
|
|
min-height: 0;
|
|
}
|
|
|
|
.an-resource-layout {
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 14px var(--an-detail-width, 360px);
|
|
gap: 0;
|
|
}
|
|
|
|
.an-resource-main,
|
|
.an-resource-side {
|
|
min-height: 0;
|
|
min-width: 0;
|
|
}
|
|
|
|
.an-resource-main {
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.an-panel-body {
|
|
min-height: 0;
|
|
min-width: 0;
|
|
display: grid;
|
|
gap: var(--an-panel-gap);
|
|
padding: var(--an-panel-gap);
|
|
}
|
|
|
|
.an-panel-body > .an-data-table {
|
|
height: 100%;
|
|
min-height: 0;
|
|
}
|
|
|
|
.an-resource-side {
|
|
display: grid;
|
|
grid-template-rows: minmax(0, 1fr);
|
|
gap: var(--an-section-gap);
|
|
}
|
|
|
|
.an-detail-resizer {
|
|
width: 14px;
|
|
min-height: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
position: relative;
|
|
cursor: col-resize;
|
|
align-self: stretch;
|
|
}
|
|
|
|
.an-detail-resizer::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 42px 5px;
|
|
border-radius: 999px;
|
|
background: linear-gradient(180deg, #6b7280, #374151);
|
|
box-shadow:
|
|
inset 0 1px 0 color-mix(in srgb, #fff 60%, transparent),
|
|
0 1px 2px rgba(15, 23, 42, 0.12);
|
|
opacity: 0.55;
|
|
transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease;
|
|
}
|
|
|
|
.an-detail-resizer:hover::before,
|
|
.an-detail-resizer:focus-visible::before,
|
|
.an-is-resizing .an-detail-resizer::before {
|
|
opacity: 1;
|
|
transform: scaleX(1.35);
|
|
background: linear-gradient(180deg, #6f7783, #3f4650);
|
|
}
|
|
|
|
.an-is-resizing {
|
|
cursor: col-resize;
|
|
user-select: none;
|
|
}
|
|
|
|
.an-detail-panel {
|
|
min-height: 0;
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.an-detail-panel__header {
|
|
padding: 12px 14px;
|
|
border-bottom: 1px solid var(--an-border);
|
|
display: grid;
|
|
gap: 2px;
|
|
}
|
|
|
|
.an-detail-panel__header strong {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.an-detail-panel__header span {
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.an-detail-panel__body,
|
|
.an-scroll-region {
|
|
min-height: 0;
|
|
}
|
|
|
|
.an-detail-content {
|
|
display: grid;
|
|
gap: 12px;
|
|
padding: 12px;
|
|
align-content: start;
|
|
}
|
|
|
|
.an-detail-title {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
}
|
|
|
|
.an-detail-title__main {
|
|
min-width: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.an-detail-title h3 {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.an-detail-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.an-detail-links {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 4px 16px;
|
|
padding-bottom: 10px;
|
|
border-bottom: 1px solid var(--an-border);
|
|
}
|
|
|
|
.an-detail-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
padding: 2px 0;
|
|
border: 0;
|
|
border-radius: 4px;
|
|
background: transparent;
|
|
color: var(--an-accent);
|
|
font: inherit;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
line-height: 1.4;
|
|
cursor: pointer;
|
|
transition: color 0.14s ease, opacity 0.14s ease;
|
|
}
|
|
|
|
.an-detail-link svg {
|
|
flex: 0 0 auto;
|
|
opacity: 0.72;
|
|
transition: transform 0.14s ease, opacity 0.14s ease;
|
|
}
|
|
|
|
.an-detail-link:hover:not(:disabled) {
|
|
text-decoration: underline;
|
|
text-underline-offset: 3px;
|
|
}
|
|
|
|
.an-detail-link:hover:not(:disabled) svg {
|
|
opacity: 1;
|
|
transform: translateX(2px);
|
|
}
|
|
|
|
.an-detail-link--external:hover:not(:disabled) svg {
|
|
transform: translate(1px, -1px);
|
|
}
|
|
|
|
.an-detail-link:focus-visible {
|
|
outline: 2px solid color-mix(in srgb, var(--an-accent) 78%, white);
|
|
outline-offset: -2px;
|
|
}
|
|
|
|
.an-detail-link:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.52;
|
|
}
|
|
|
|
.an-detail-list {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 0;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.an-detail-list div {
|
|
min-width: 0;
|
|
padding: 8px 10px;
|
|
border-bottom: 1px solid var(--an-border);
|
|
}
|
|
|
|
.an-detail-list div:nth-child(odd) {
|
|
border-right: 1px solid var(--an-border);
|
|
}
|
|
|
|
.an-detail-list dt {
|
|
margin: 0 0 3px;
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.an-detail-list dd {
|
|
margin: 0;
|
|
font-size: 13px;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.an-code-section {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.an-code-section__header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
}
|
|
|
|
.an-markdown-doc {
|
|
padding: 18px 20px;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 8px;
|
|
background:
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.86));
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
|
|
}
|
|
|
|
.admin-theme-root[data-theme='dark'] .an-markdown-doc {
|
|
background: linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(2, 6, 23, 0.72));
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.an-markdown-doc__renderer {
|
|
color: var(--an-text);
|
|
font-size: 14px;
|
|
line-height: 1.78;
|
|
}
|
|
|
|
.an-markdown-doc__renderer > :first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.an-markdown-doc__renderer > :last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.an-markdown-doc__renderer h1,
|
|
.an-markdown-doc__renderer h2,
|
|
.an-markdown-doc__renderer h3,
|
|
.an-markdown-doc__renderer h4 {
|
|
color: var(--an-text);
|
|
font-weight: 800;
|
|
line-height: 1.28;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
.an-markdown-doc__renderer h1 {
|
|
margin: 0 0 14px;
|
|
padding-bottom: 12px;
|
|
border-bottom: 1px solid var(--an-border);
|
|
font-size: 24px;
|
|
}
|
|
|
|
.an-markdown-doc__renderer h2 {
|
|
margin: 20px 0 10px;
|
|
padding-bottom: 7px;
|
|
border-bottom: 1px solid var(--an-border);
|
|
font-size: 19px;
|
|
}
|
|
|
|
.an-markdown-doc__renderer h3 {
|
|
margin: 16px 0 8px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.an-markdown-doc__renderer h4 {
|
|
margin: 14px 0 6px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.an-markdown-doc__renderer p {
|
|
margin: 8px 0;
|
|
}
|
|
|
|
.an-markdown-doc__renderer a {
|
|
color: var(--an-accent);
|
|
text-decoration: none;
|
|
border-bottom: 1px solid rgba(37, 99, 235, 0.28);
|
|
}
|
|
|
|
.an-markdown-doc__renderer a:hover {
|
|
border-bottom-color: currentColor;
|
|
}
|
|
|
|
.an-markdown-doc__renderer strong {
|
|
font-weight: 800;
|
|
}
|
|
|
|
.an-markdown-doc__renderer ul,
|
|
.an-markdown-doc__renderer ol {
|
|
margin: 8px 0 10px;
|
|
padding-left: 22px;
|
|
}
|
|
|
|
.an-markdown-doc__renderer li {
|
|
margin: 4px 0;
|
|
}
|
|
|
|
.an-markdown-doc__renderer blockquote {
|
|
margin: 12px 0;
|
|
padding: 9px 12px;
|
|
border-left: 3px solid var(--an-accent);
|
|
border-radius: 0 6px 6px 0;
|
|
background: var(--an-bg-subtle);
|
|
color: var(--an-muted);
|
|
}
|
|
|
|
.an-markdown-doc__renderer hr {
|
|
margin: 16px 0;
|
|
border: 0;
|
|
border-top: 1px solid var(--an-border);
|
|
}
|
|
|
|
.an-markdown-doc__renderer :not(pre) > code {
|
|
padding: 2px 5px;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 5px;
|
|
background: var(--an-bg-subtle);
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.an-markdown-doc__renderer .markdown-renderer__code-block {
|
|
margin: 12px 0;
|
|
overflow: hidden;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 8px;
|
|
background: #0f172a;
|
|
}
|
|
|
|
.an-markdown-doc__renderer .markdown-renderer__code-toolbar {
|
|
position: relative;
|
|
z-index: 1;
|
|
min-height: 40px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 7px 9px;
|
|
border-bottom: 1px solid rgba(148, 163, 184, 0.22);
|
|
color: #cbd5e1;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.an-markdown-doc__renderer .markdown-renderer__code-copy {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 26px;
|
|
height: 26px;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
background: rgba(148, 163, 184, 0.16);
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.an-markdown-doc__renderer .markdown-renderer__code-scroll > .tui-scrollbar__viewport {
|
|
height: auto;
|
|
max-height: 320px;
|
|
}
|
|
|
|
.an-markdown-doc__renderer .markdown-renderer__code-scroll {
|
|
display: block;
|
|
flex: none;
|
|
}
|
|
|
|
.an-markdown-doc__renderer .markdown-renderer__code-block pre {
|
|
margin: 0;
|
|
padding: 12px;
|
|
color: #e5e7eb;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.an-markdown-doc__renderer .markdown-renderer__code-content {
|
|
display: block;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
}
|
|
|
|
.an-markdown-doc__renderer .markdown-renderer__table-wrap {
|
|
margin: 12px 0;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.an-markdown-doc__renderer .markdown-renderer__table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.an-markdown-doc__renderer .markdown-renderer__table th,
|
|
.an-markdown-doc__renderer .markdown-renderer__table td {
|
|
padding: 8px 10px;
|
|
border-bottom: 1px solid var(--an-border);
|
|
border-right: 1px solid var(--an-border);
|
|
text-align: left;
|
|
}
|
|
|
|
.an-markdown-doc__renderer .markdown-renderer__table th {
|
|
background: var(--an-bg-subtle);
|
|
font-weight: 800;
|
|
}
|
|
|
|
.an-json-view,
|
|
.an-detail pre,
|
|
.an-restart__log {
|
|
margin: 0;
|
|
min-width: max-content;
|
|
padding: 10px;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 6px;
|
|
background: #0f172a;
|
|
color: #e5e7eb;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 12px;
|
|
line-height: 1.55;
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.an-code-scroll {
|
|
min-height: 0;
|
|
max-height: min(340px, 36vh);
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.an-code-scroll--dialog {
|
|
height: min(460px, 60vh);
|
|
max-height: min(460px, 60vh);
|
|
}
|
|
|
|
.an-form-panel {
|
|
display: grid;
|
|
gap: 10px;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 6px;
|
|
padding: 10px;
|
|
background: var(--an-surface-alt);
|
|
}
|
|
|
|
.an-form-panel__header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.an-form-panel__header strong,
|
|
.an-form-panel__header span {
|
|
display: block;
|
|
}
|
|
|
|
.an-form-panel__header span {
|
|
margin-top: 3px;
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.an-record-form {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.an-record-form .an-field--wide {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.an-json-editor--compact {
|
|
min-height: 92px;
|
|
}
|
|
|
|
.an-file-action {
|
|
height: 32px;
|
|
min-width: 0;
|
|
border: 1px solid color-mix(in srgb, var(--an-border-strong) 72%, var(--an-surface));
|
|
border-radius: 6px;
|
|
padding: 0 10px;
|
|
background: linear-gradient(180deg, var(--an-surface), var(--an-soft));
|
|
color: var(--an-text);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 13px;
|
|
font-weight: 650;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.an-file-action input {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.an-file-action span {
|
|
min-width: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.an-file-action small {
|
|
color: var(--an-muted);
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.an-file-action--drop {
|
|
border-style: dashed;
|
|
}
|
|
|
|
.an-brand-asset-input {
|
|
position: relative;
|
|
min-width: 0;
|
|
height: 34px;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 6px;
|
|
background: var(--an-surface);
|
|
color: var(--an-text);
|
|
transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
|
|
}
|
|
|
|
.an-brand-asset-input:focus-within {
|
|
border-color: color-mix(in srgb, var(--an-accent) 24%, var(--an-border-strong));
|
|
}
|
|
|
|
.an-brand-asset-input.is-dragging {
|
|
border-color: var(--an-border-strong);
|
|
background: color-mix(in srgb, var(--an-soft) 46%, var(--an-surface));
|
|
box-shadow: 0 2px 5px rgba(15, 23, 42, 0.1), 0 8px 18px rgba(15, 23, 42, 0.06);
|
|
}
|
|
|
|
.an-brand-asset-input__control {
|
|
width: 100%;
|
|
min-width: 0;
|
|
height: 100%;
|
|
border: 0;
|
|
outline: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
padding: 0 10px;
|
|
font: inherit;
|
|
line-height: 32px;
|
|
}
|
|
|
|
.an-brand-asset-input__control:disabled {
|
|
color: var(--an-muted);
|
|
}
|
|
|
|
.an-brand-asset-input__file {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.an-brand-asset-input__upload {
|
|
position: relative;
|
|
z-index: 1;
|
|
min-width: 72px;
|
|
height: var(--tui-control-height, 28px);
|
|
margin-right: 3px;
|
|
padding-inline: 10px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.an-brand-asset-input__drop-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 2;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
padding: 0 12px;
|
|
border: 1px dashed var(--an-border-strong);
|
|
border-radius: 5px;
|
|
background: color-mix(in srgb, var(--an-soft) 82%, var(--an-surface));
|
|
color: var(--an-text);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.an-brand-asset-input__drop-overlay > span {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.an-brand-asset-input__drop-overlay > strong {
|
|
min-width: max-content;
|
|
height: 28px;
|
|
padding: 0 10px;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 6px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
background: var(--an-surface);
|
|
color: var(--an-text);
|
|
box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.admin-theme-root[data-theme='dark'] .an-brand-asset-input__drop-overlay > strong {
|
|
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
|
|
}
|
|
|
|
.an-mapping-form {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.an-form-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.an-checkbox-row--inline {
|
|
align-self: end;
|
|
min-height: 32px;
|
|
}
|
|
|
|
.an-mapping-form__editors {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.an-hierarchy-layout {
|
|
min-height: 0;
|
|
display: grid;
|
|
grid-template-columns: 290px minmax(0, 1fr);
|
|
gap: var(--an-section-gap);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.an-hierarchy-list,
|
|
.an-hierarchy-detail {
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.an-mobile-detail-bar {
|
|
display: none;
|
|
min-height: 42px;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 6px 8px;
|
|
border-bottom: 1px solid var(--an-border);
|
|
background: var(--an-surface);
|
|
}
|
|
|
|
.an-mobile-detail-bar strong {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.an-hierarchy-list {
|
|
display: grid;
|
|
container-type: inline-size;
|
|
}
|
|
|
|
.an-hierarchy-list__header {
|
|
padding: 10px 10px 0;
|
|
}
|
|
|
|
.an-hierarchy-list__scroll,
|
|
.an-hierarchy-form-scroll {
|
|
min-height: 0;
|
|
}
|
|
|
|
.an-hierarchy-form-scroll {
|
|
margin: -3px 0 -3px -3px;
|
|
}
|
|
|
|
.an-hierarchy-form-scroll > .tui-scrollbar__viewport {
|
|
padding: 3px 14px 3px 3px;
|
|
}
|
|
|
|
.an-detail-panel__body > .tui-scrollbar__viewport {
|
|
padding-right: 14px;
|
|
}
|
|
|
|
.an-hierarchy-list__items {
|
|
display: grid;
|
|
gap: 8px;
|
|
padding: 10px;
|
|
}
|
|
|
|
.an-hierarchy-list__footer {
|
|
margin-top: 8px;
|
|
padding: 10px 0 4px;
|
|
}
|
|
|
|
.an-news-source-filters {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(140px, 1fr));
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.an-hierarchy-workspace {
|
|
min-height: 0;
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
gap: var(--an-section-gap, 16px);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.an-storage-policy-bar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px 14px;
|
|
padding: 10px 12px;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 7px;
|
|
background: var(--an-surface);
|
|
}
|
|
|
|
.an-storage-policy-bar__summary,
|
|
.an-storage-policy-bar__controls,
|
|
.an-storage-policy-bar__retention {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px 10px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.an-storage-policy-bar__meta {
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.an-storage-policy-bar__retention .an-inline-field {
|
|
height: 30px;
|
|
}
|
|
|
|
.an-storage-policy-bar__retention .an-storage-policy-bar__days {
|
|
width: 72px;
|
|
min-width: 64px;
|
|
height: 30px;
|
|
padding-inline: 8px;
|
|
}
|
|
|
|
.an-storage-policy-bar__switch {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
height: 30px;
|
|
}
|
|
|
|
.an-storage-policy-bar__switch-label {
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.an-storage-mode-row {
|
|
display: grid;
|
|
gap: 8px;
|
|
justify-items: start;
|
|
}
|
|
|
|
.an-storage-warning {
|
|
display: grid;
|
|
grid-template-columns: 16px minmax(0, 1fr);
|
|
align-items: start;
|
|
gap: 8px;
|
|
padding: 9px 10px;
|
|
border: 1px solid color-mix(in srgb, var(--an-warning) 55%, var(--an-border));
|
|
border-radius: 6px;
|
|
background: color-mix(in srgb, var(--an-warning) 10%, var(--an-surface));
|
|
color: var(--an-text);
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.an-storage-warning svg {
|
|
color: var(--an-warning);
|
|
margin-top: 1px;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.an-news-source-filters {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.an-storage-policy-bar {
|
|
align-items: stretch;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
.an-news-source-filters {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.an-hierarchy-group-set {
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.an-hierarchy-group-set__title {
|
|
padding: 7px 8px 3px;
|
|
min-height: 34px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
}
|
|
|
|
.an-hierarchy-group-set__title > span {
|
|
min-width: 0;
|
|
display: grid;
|
|
gap: 2px;
|
|
}
|
|
|
|
.an-hierarchy-group-set__title strong {
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
color: var(--an-muted);
|
|
}
|
|
|
|
.an-hierarchy-group-set__title small {
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.an-hierarchy-group {
|
|
width: 100%;
|
|
min-height: 54px;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 7px;
|
|
background: var(--an-surface);
|
|
color: var(--an-text);
|
|
padding: 8px 10px;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) max-content;
|
|
align-items: start;
|
|
gap: 10px;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
overflow: visible;
|
|
}
|
|
|
|
.an-hierarchy-group > span:first-child {
|
|
min-width: 0;
|
|
}
|
|
|
|
.an-hierarchy-group.is-child {
|
|
margin-left: 10px;
|
|
width: calc(100% - 10px);
|
|
}
|
|
|
|
.an-hierarchy-group:hover,
|
|
.an-hierarchy-group.is-active {
|
|
background: var(--an-row-hover);
|
|
border-color: var(--an-border-strong);
|
|
}
|
|
|
|
.an-hierarchy-group.is-active {
|
|
box-shadow: inset 3px 0 0 var(--an-accent);
|
|
}
|
|
|
|
.an-hierarchy-group:focus-visible {
|
|
outline: 2px solid color-mix(in srgb, var(--an-accent) 78%, white);
|
|
outline-offset: -2px;
|
|
}
|
|
|
|
.an-hierarchy-group strong,
|
|
.an-hierarchy-group small {
|
|
display: block;
|
|
min-width: 0;
|
|
overflow: visible;
|
|
text-overflow: clip;
|
|
white-space: normal;
|
|
overflow-wrap: anywhere;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.an-hierarchy-group strong {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.an-hierarchy-group small {
|
|
margin-top: 4px;
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.an-hierarchy-group__meta {
|
|
width: max-content;
|
|
max-width: none;
|
|
min-width: max-content;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 5px;
|
|
justify-self: end;
|
|
overflow: visible;
|
|
}
|
|
|
|
.an-hierarchy-group__meta .an-status-pill {
|
|
flex: 0 0 auto;
|
|
width: auto;
|
|
min-width: max-content;
|
|
max-width: none;
|
|
}
|
|
|
|
.an-hierarchy-group__meta em {
|
|
min-width: 22px;
|
|
height: 20px;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 999px;
|
|
padding: 0 7px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--an-muted);
|
|
font-style: normal;
|
|
font-size: 12px;
|
|
background: var(--an-surface-alt);
|
|
}
|
|
|
|
.an-hierarchy-detail {
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
}
|
|
|
|
.an-hierarchy-form {
|
|
display: grid;
|
|
gap: 14px;
|
|
}
|
|
|
|
.an-tv-edit-layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(360px, 440px) minmax(420px, 1fr);
|
|
gap: 16px;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.an-tv-edit-layout .an-tv-earth-preview {
|
|
max-width: none;
|
|
height: 100%;
|
|
}
|
|
|
|
.an-field-cluster {
|
|
min-width: 0;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 7px;
|
|
background: var(--an-surface);
|
|
padding: 12px;
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.an-field-cluster--compact {
|
|
align-content: start;
|
|
}
|
|
|
|
.an-field-cluster__heading {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding-bottom: 9px;
|
|
border-bottom: 1px solid var(--an-border);
|
|
}
|
|
|
|
.an-field-cluster__heading h3 {
|
|
margin: 0;
|
|
color: var(--an-text);
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.an-field-cluster__heading p {
|
|
margin: 0;
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
text-align: right;
|
|
}
|
|
|
|
.an-field-cluster--compact .an-field-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 10px 12px;
|
|
}
|
|
|
|
.an-field-cluster--compact .an-field {
|
|
gap: 5px;
|
|
}
|
|
|
|
.an-time-capsule {
|
|
display: grid;
|
|
gap: 14px;
|
|
}
|
|
|
|
.an-time-capsule__controls {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
align-items: end;
|
|
gap: 12px;
|
|
}
|
|
|
|
.an-time-capsule .an-detail-list {
|
|
margin: 0;
|
|
}
|
|
|
|
.an-field-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.an-field-grid .an-field--wide {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.an-sub-list {
|
|
display: grid;
|
|
gap: 8px;
|
|
padding: 10px;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 7px;
|
|
background: var(--an-surface-alt);
|
|
}
|
|
|
|
.an-sub-list > div {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.an-sub-list button {
|
|
height: 28px;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 6px;
|
|
background: var(--an-surface);
|
|
color: var(--an-text);
|
|
padding: 0 9px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.an-sub-list button:hover {
|
|
border-color: var(--an-border-strong);
|
|
background: var(--an-row-hover);
|
|
}
|
|
|
|
.an-brand-preview {
|
|
min-height: 86px;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 7px;
|
|
padding: 12px;
|
|
background: var(--an-surface-alt);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.an-brand-preview img {
|
|
max-width: 220px;
|
|
max-height: 64px;
|
|
object-fit: contain;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 6px;
|
|
background: var(--an-surface);
|
|
padding: 8px;
|
|
}
|
|
|
|
.an-brand-preview span {
|
|
color: var(--an-muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.an-earth-brand-preview {
|
|
--hud-scale: 0.76;
|
|
--hud-offset: calc(18px * var(--hud-scale));
|
|
--hud-text: #eef5fc;
|
|
--hud-text-muted: rgba(214, 232, 248, 0.72);
|
|
--hud-text-soft: rgba(184, 209, 231, 0.62);
|
|
width: min(760px, 100%);
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 7px;
|
|
background: #050a14;
|
|
padding: 10px;
|
|
}
|
|
|
|
.an-earth-brand-preview__space {
|
|
position: relative;
|
|
min-height: 188px;
|
|
overflow: hidden;
|
|
border-radius: 6px;
|
|
background:
|
|
radial-gradient(circle at 78% 46%, rgba(76, 119, 183, 0.32), transparent 24%),
|
|
radial-gradient(circle at 16% 18%, rgba(155, 193, 255, 0.16), transparent 18%),
|
|
radial-gradient(circle at 42% 66%, rgba(77, 148, 255, 0.1), transparent 22%),
|
|
linear-gradient(180deg, #081224 0%, #040814 58%, #02050d 100%);
|
|
}
|
|
|
|
.an-earth-brand-preview__space::before,
|
|
.an-earth-brand-preview__space::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.an-earth-brand-preview__space::before {
|
|
background-image:
|
|
radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 1px, transparent 1.4px),
|
|
radial-gradient(circle, rgba(180, 213, 255, 0.48) 0 1px, transparent 1.3px);
|
|
background-size: 72px 72px, 118px 118px;
|
|
background-position: 18px 22px, 44px 62px;
|
|
opacity: 0.42;
|
|
}
|
|
|
|
.an-earth-brand-preview__space::after {
|
|
background:
|
|
linear-gradient(90deg, rgba(5, 10, 20, 0.1), transparent 42%),
|
|
radial-gradient(circle at 85% 58%, rgba(69, 128, 212, 0.18), transparent 20%);
|
|
}
|
|
|
|
.an-earth-brand-preview__globe {
|
|
position: absolute;
|
|
right: -70px;
|
|
bottom: -92px;
|
|
width: 230px;
|
|
height: 230px;
|
|
border-radius: 50%;
|
|
border: 1px solid rgba(124, 170, 235, 0.18);
|
|
background:
|
|
radial-gradient(circle at 34% 28%, rgba(119, 177, 255, 0.32), transparent 22%),
|
|
radial-gradient(circle at 48% 52%, rgba(24, 80, 151, 0.34), transparent 52%),
|
|
linear-gradient(140deg, rgba(14, 36, 73, 0.82), rgba(3, 11, 27, 0.92));
|
|
box-shadow:
|
|
inset 18px 12px 40px rgba(147, 197, 253, 0.08),
|
|
0 0 42px rgba(59, 130, 246, 0.12);
|
|
opacity: 0.86;
|
|
}
|
|
|
|
.an-earth-brand-preview .earth-left-column {
|
|
position: absolute;
|
|
top: var(--hud-offset);
|
|
left: var(--hud-offset);
|
|
display: flex;
|
|
flex-direction: column;
|
|
z-index: 10;
|
|
pointer-events: none;
|
|
max-width: min(calc(340px * var(--hud-scale)), calc(100vw - 32px));
|
|
}
|
|
|
|
.an-earth-brand-preview .earth-left-column > * {
|
|
position: relative;
|
|
pointer-events: auto;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.an-earth-brand-preview .hud-panel-brand {
|
|
--brand-scale: 0.88;
|
|
--brand-copy-width: 160px;
|
|
padding: calc(10px * var(--hud-scale)) calc(4px * var(--hud-scale)) calc(12px * var(--hud-scale)) 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
min-height: calc(66px * var(--hud-scale));
|
|
background: transparent;
|
|
border: 0;
|
|
box-shadow: none;
|
|
backdrop-filter: none;
|
|
-webkit-backdrop-filter: none;
|
|
isolation: isolate;
|
|
}
|
|
|
|
.an-earth-brand-preview .hud-panel-brand::before,
|
|
.an-earth-brand-preview .hud-panel-brand::after {
|
|
display: none;
|
|
}
|
|
|
|
.an-earth-brand-preview .hud-panel-brand .earth-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: calc(10px * var(--hud-scale) * var(--brand-scale));
|
|
min-width: 0;
|
|
position: relative;
|
|
}
|
|
|
|
.an-earth-brand-preview .hud-panel-brand .earth-brand::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: calc(4px * var(--hud-scale)) calc(-10px * var(--hud-scale)) calc(6px * var(--hud-scale)) calc(-10px * var(--hud-scale));
|
|
background:
|
|
radial-gradient(circle at 18% 50%, rgba(145, 186, 255, 0.14), transparent 32%),
|
|
linear-gradient(90deg, rgba(145, 186, 255, 0.05), transparent 58%);
|
|
opacity: 0.75;
|
|
pointer-events: none;
|
|
filter: blur(14px);
|
|
z-index: -1;
|
|
}
|
|
|
|
.an-earth-brand-preview .hud-panel-brand .earth-brand__logo {
|
|
display: block;
|
|
flex: 0 0 auto;
|
|
width: calc(128px * var(--hud-scale) * var(--brand-scale));
|
|
height: calc(128px * var(--hud-scale) * var(--brand-scale));
|
|
object-fit: contain;
|
|
}
|
|
|
|
.an-earth-brand-preview .hud-panel-brand .earth-brand__copy {
|
|
display: flex;
|
|
flex: 0 0 auto;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: calc(5px * var(--hud-scale) * var(--brand-scale));
|
|
width: calc(var(--brand-copy-width) * var(--hud-scale) * var(--brand-scale));
|
|
}
|
|
|
|
.an-earth-brand-preview .hud-panel-brand .earth-brand__title {
|
|
display: block;
|
|
width: min(100%, calc(var(--brand-copy-width) * var(--hud-scale) * var(--brand-scale)));
|
|
max-width: 100%;
|
|
height: auto;
|
|
min-height: calc(20px * var(--hud-scale) * var(--brand-scale));
|
|
object-fit: contain;
|
|
}
|
|
|
|
.an-earth-brand-preview .hud-panel-brand .earth-brand__title-text {
|
|
color: var(--hud-text);
|
|
font-size: calc(1rem * var(--hud-scale) * var(--brand-scale));
|
|
line-height: 1.18;
|
|
font-weight: 700;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.an-earth-brand-preview .hud-panel-brand .earth-brand__meta {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: calc(2px * var(--hud-scale) * var(--brand-scale));
|
|
width: fit-content;
|
|
}
|
|
|
|
.an-earth-brand-preview .hud-panel-brand .earth-brand__subtitle {
|
|
color: var(--hud-text-muted);
|
|
font-size: calc(0.74rem * var(--hud-scale) * var(--brand-scale));
|
|
line-height: 1.3;
|
|
font-weight: 500;
|
|
letter-spacing: 0;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.an-earth-brand-preview .hud-panel-brand .earth-brand__description {
|
|
color: var(--hud-text-soft);
|
|
font-size: calc(0.6rem * var(--hud-scale) * var(--brand-scale));
|
|
line-height: 1.3;
|
|
letter-spacing: 0;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.an-earth-brand-preview .hud-panel-brand .earth-brand--en {
|
|
--brand-copy-width: 172px;
|
|
}
|
|
|
|
.an-earth-brand-preview .hud-panel-brand .earth-brand--en .earth-brand__subtitle,
|
|
.an-earth-brand-preview .hud-panel-brand .earth-brand--en .earth-brand__description {
|
|
font-family: "Roboto Condensed", "Arial Narrow", "Trebuchet MS", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
|
overflow: visible;
|
|
text-overflow: clip;
|
|
white-space: normal;
|
|
word-break: normal;
|
|
overflow-wrap: normal;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
.an-earth-brand-preview .hud-panel-brand .earth-brand--en .earth-brand__subtitle {
|
|
font-size: calc(0.58rem * var(--hud-scale) * var(--brand-scale));
|
|
line-height: 1.15;
|
|
}
|
|
|
|
.an-earth-brand-preview .hud-panel-brand .earth-brand--en .earth-brand__description {
|
|
font-size: calc(0.5rem * var(--hud-scale) * var(--brand-scale));
|
|
line-height: 1.15;
|
|
}
|
|
|
|
.an-tv-earth-preview {
|
|
--hud-scale: 0.82;
|
|
--hud-gap-xs: calc(6px * var(--hud-scale));
|
|
--hud-gap-sm: calc(10px * var(--hud-scale));
|
|
--hud-text: #eef5fc;
|
|
--hud-text-muted: rgba(214, 232, 248, 0.72);
|
|
--hud-text-soft: rgba(184, 209, 231, 0.62);
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 7px;
|
|
background: #08111f;
|
|
padding: 12px;
|
|
max-width: 440px;
|
|
}
|
|
|
|
.an-tv-earth-preview .hud-panel-media {
|
|
position: relative;
|
|
width: 100%;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
padding: calc(10px * var(--hud-scale));
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--hud-gap-sm);
|
|
border: 1px solid rgba(201, 225, 247, 0.12);
|
|
border-radius: calc(18px * var(--hud-scale));
|
|
background: linear-gradient(180deg, rgba(12, 24, 42, 0.96), rgba(5, 11, 22, 0.96));
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.an-tv-earth-preview .hud-panel__header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--hud-gap-xs);
|
|
min-width: 0;
|
|
}
|
|
|
|
.an-tv-earth-preview .hud-panel__title-group {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.an-tv-earth-preview .tv-panel-header-title {
|
|
color: var(--hud-text);
|
|
font-size: calc(0.86rem * var(--hud-scale));
|
|
font-weight: 700;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.an-tv-earth-preview .tv-panel-header-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--hud-gap-xs);
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
}
|
|
|
|
.an-tv-earth-preview .tv-panel-select {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
appearance: none;
|
|
border: 1px solid rgba(201, 225, 247, 0.14);
|
|
border-radius: calc(12px * var(--hud-scale));
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: var(--hud-text);
|
|
padding: calc(8px * var(--hud-scale)) calc(10px * var(--hud-scale));
|
|
font-size: calc(0.78rem * var(--hud-scale));
|
|
}
|
|
|
|
.an-tv-earth-preview .tv-panel-toolbar-actions {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--hud-gap-xs);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.an-tv-earth-preview .hud-panel__action {
|
|
width: calc(30px * var(--hud-scale));
|
|
height: calc(30px * var(--hud-scale));
|
|
display: inline-grid;
|
|
place-items: center;
|
|
border: 1px solid rgba(201, 225, 247, 0.14);
|
|
border-radius: calc(10px * var(--hud-scale));
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: var(--hud-text-muted);
|
|
}
|
|
|
|
.an-tv-earth-preview .hud-panel__action:disabled {
|
|
opacity: 0.45;
|
|
}
|
|
|
|
.an-tv-earth-preview .tv-panel-content,
|
|
.an-tv-earth-preview .tv-tab-pane {
|
|
display: flex;
|
|
min-height: 0;
|
|
flex-direction: column;
|
|
gap: var(--hud-gap-sm);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.an-tv-earth-preview .tv-panel-meta {
|
|
display: grid;
|
|
gap: calc(4px * var(--hud-scale));
|
|
}
|
|
|
|
.an-tv-earth-preview .tv-panel-title-row {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: calc(6px * var(--hud-scale));
|
|
min-width: 0;
|
|
}
|
|
|
|
.an-tv-earth-preview .tv-panel-title {
|
|
min-width: 0;
|
|
color: var(--hud-text);
|
|
font-size: calc(0.96rem * var(--hud-scale));
|
|
font-weight: 650;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.an-tv-earth-preview .tv-panel-tag {
|
|
flex: 0 0 auto;
|
|
border: 1px solid rgba(137, 179, 217, 0.22);
|
|
border-radius: 999px;
|
|
background: rgba(108, 153, 192, 0.12);
|
|
color: rgba(214, 232, 248, 0.86);
|
|
padding: calc(2px * var(--hud-scale)) calc(7px * var(--hud-scale));
|
|
font-size: calc(0.62rem * var(--hud-scale));
|
|
font-weight: 700;
|
|
line-height: 1.35;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
.an-tv-earth-preview .tv-panel-tag--status {
|
|
border-color: rgba(111, 213, 161, 0.34);
|
|
background: rgba(111, 213, 161, 0.13);
|
|
color: rgba(174, 244, 202, 0.92);
|
|
}
|
|
|
|
.an-tv-earth-preview .tv-panel-tag--warning {
|
|
border-color: rgba(255, 209, 102, 0.36);
|
|
background: rgba(255, 209, 102, 0.13);
|
|
color: rgba(255, 226, 149, 0.92);
|
|
}
|
|
|
|
.an-tv-earth-preview .tv-panel-tag--error {
|
|
border-color: rgba(255, 117, 117, 0.36);
|
|
background: rgba(255, 117, 117, 0.13);
|
|
color: rgba(255, 184, 184, 0.94);
|
|
}
|
|
|
|
.an-tv-earth-preview .tv-panel-subtitle {
|
|
color: var(--hud-text-muted);
|
|
font-size: calc(0.74rem * var(--hud-scale));
|
|
line-height: 1.35;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.an-tv-earth-preview .tv-panel-catalog,
|
|
.an-tv-earth-preview .tv-panel-notes {
|
|
color: var(--hud-text-soft);
|
|
font-size: calc(0.68rem * var(--hud-scale));
|
|
line-height: 1.45;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.an-tv-earth-preview .tv-panel-catalog {
|
|
font-size: calc(0.66rem * var(--hud-scale));
|
|
letter-spacing: 0;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.an-tv-earth-preview .tv-panel-player {
|
|
position: relative;
|
|
min-height: 210px;
|
|
border-radius: calc(16px * var(--hud-scale));
|
|
overflow: hidden;
|
|
border: 1px solid rgba(201, 225, 247, 0.1);
|
|
background: linear-gradient(180deg, rgba(9, 18, 32, 0.94), rgba(5, 11, 22, 0.94));
|
|
}
|
|
|
|
.an-tv-earth-preview .tv-panel-empty,
|
|
.an-tv-earth-preview .tv-panel-iframe,
|
|
.an-tv-earth-preview .tv-panel-video {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.an-tv-earth-preview .tv-panel-empty {
|
|
display: grid;
|
|
place-items: center;
|
|
padding: calc(18px * var(--hud-scale));
|
|
text-align: center;
|
|
color: var(--hud-text-muted);
|
|
font-size: calc(0.84rem * var(--hud-scale));
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.an-tv-earth-preview .tv-panel-iframe,
|
|
.an-tv-earth-preview .tv-panel-video {
|
|
border: 0;
|
|
background: #050a14;
|
|
}
|
|
|
|
.an-advanced-editor {
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 6px;
|
|
padding: 8px 10px;
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.an-advanced-editor summary {
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.an-advanced-editor .an-textarea {
|
|
min-height: 160px;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
}
|
|
|
|
.an-endpoint-panel {
|
|
min-height: 0;
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.an-endpoint-list {
|
|
min-height: 0;
|
|
padding: 8px;
|
|
}
|
|
|
|
.an-endpoint-item {
|
|
display: grid;
|
|
grid-template-columns: 58px minmax(0, 1fr);
|
|
align-items: start;
|
|
gap: 8px;
|
|
padding: 8px 6px;
|
|
border-bottom: 1px solid var(--an-border);
|
|
}
|
|
|
|
.an-endpoint-item:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.an-endpoint-item strong,
|
|
.an-endpoint-item small {
|
|
display: block;
|
|
min-width: 0;
|
|
}
|
|
|
|
.an-endpoint-item small {
|
|
color: var(--an-muted);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.an-badge svg,
|
|
.an-status-pill svg {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.an-input,
|
|
.an-select {
|
|
width: 100%;
|
|
height: var(--an-control-sm);
|
|
min-width: 0;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: var(--an-control-radius);
|
|
background: var(--an-surface);
|
|
color: var(--an-text);
|
|
padding: 0 10px;
|
|
outline: none;
|
|
line-height: 30px;
|
|
}
|
|
|
|
.an-input:focus,
|
|
.an-select:focus-within {
|
|
border-color: var(--an-accent);
|
|
}
|
|
|
|
.an-secret-input {
|
|
position: relative;
|
|
min-width: 0;
|
|
}
|
|
|
|
.an-secret-input__control {
|
|
padding-right: 38px;
|
|
}
|
|
|
|
.an-secret-input__toggle {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 4px;
|
|
width: 28px;
|
|
height: 24px;
|
|
transform: translateY(-50%);
|
|
border: 0;
|
|
border-radius: 5px;
|
|
background: transparent;
|
|
color: var(--an-muted);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.an-secret-input__toggle:hover,
|
|
.an-secret-input__toggle:focus-visible {
|
|
color: var(--an-text);
|
|
background: var(--an-soft);
|
|
outline: none;
|
|
}
|
|
|
|
.an-connection-test-input {
|
|
position: relative;
|
|
min-width: 0;
|
|
}
|
|
|
|
.an-connection-test-input__control {
|
|
padding-right: 38px;
|
|
}
|
|
|
|
.an-connection-test-input > .tui-button {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 4px;
|
|
width: 28px;
|
|
height: 24px;
|
|
transform: translateY(-50%);
|
|
transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease, color 0.15s ease;
|
|
}
|
|
|
|
.an-connection-test-input > .tui-button:hover:not(:disabled):not([aria-disabled='true']) {
|
|
transform: translateY(calc(-50% - 1px)) !important;
|
|
background: var(--tui-surface-raised-hover, #ffffff);
|
|
border-color: var(--an-accent, var(--tui-border-hover, #2563eb));
|
|
color: var(--an-accent, #2563eb);
|
|
box-shadow: 0 0 8px rgba(37, 99, 235, 0.24), 0 2px 6px rgba(15, 23, 42, 0.08);
|
|
}
|
|
|
|
.an-connection-test-input > .tui-button:active:not(:disabled):not([aria-disabled='true']) {
|
|
transform: translateY(-50%) !important;
|
|
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
|
|
}
|
|
|
|
[data-theme='dark'] .an-connection-test-input > .tui-button:hover:not(:disabled):not([aria-disabled='true']),
|
|
body[data-admin-theme='dark'] .an-connection-test-input > .tui-button:hover:not(:disabled):not([aria-disabled='true']) {
|
|
border-color: var(--an-accent, #38bdf8);
|
|
color: var(--an-accent, #38bdf8);
|
|
box-shadow: 0 0 10px rgba(56, 189, 248, 0.32), 0 2px 6px rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
.an-news-feed-list {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.an-news-feed-card {
|
|
display: grid;
|
|
gap: 10px;
|
|
padding: 10px;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 7px;
|
|
background: var(--an-surface-alt);
|
|
}
|
|
|
|
.an-news-feed-card__header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.an-news-feed-card__actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.an-textarea {
|
|
height: auto;
|
|
min-height: 94px;
|
|
padding: 9px 24px 22px 10px;
|
|
resize: vertical;
|
|
overflow: auto;
|
|
scrollbar-gutter: stable both-edges;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: var(--an-border-strong) transparent;
|
|
}
|
|
|
|
.an-textarea::-webkit-scrollbar,
|
|
.an-json-editor::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
|
|
.an-textarea::-webkit-scrollbar-track,
|
|
.an-json-editor::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
.an-textarea::-webkit-scrollbar-thumb,
|
|
.an-json-editor::-webkit-scrollbar-thumb {
|
|
border: 2px solid transparent;
|
|
border-radius: 999px;
|
|
background-clip: content-box;
|
|
background-color: var(--an-border-strong);
|
|
}
|
|
|
|
.an-textarea::-webkit-resizer,
|
|
.an-json-editor::-webkit-resizer {
|
|
background:
|
|
linear-gradient(135deg, transparent 0 44%, var(--an-border-strong) 46% 54%, transparent 56%),
|
|
linear-gradient(135deg, transparent 0 62%, var(--an-border-strong) 64% 72%, transparent 74%);
|
|
}
|
|
|
|
.an-select {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.an-select__value {
|
|
min-width: 0;
|
|
flex: 1 1 auto;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
line-height: 30px;
|
|
display: block;
|
|
}
|
|
|
|
.an-select svg {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.an-select__content {
|
|
z-index: 300;
|
|
min-width: var(--radix-select-trigger-width);
|
|
max-width: min(420px, calc(100vw - 24px));
|
|
background: var(--an-surface, #ffffff);
|
|
color: var(--an-text, #0f172a);
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 6px;
|
|
box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
|
|
padding: 4px;
|
|
}
|
|
|
|
[data-theme='dark'] .an-select__content {
|
|
background: var(--an-surface, #111827);
|
|
color: var(--an-text, #f8fafc);
|
|
}
|
|
|
|
.an-select__item {
|
|
background: transparent;
|
|
min-height: 30px;
|
|
max-width: 100%;
|
|
border-radius: 4px;
|
|
padding: 6px 28px 6px 8px;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
align-items: center;
|
|
cursor: pointer;
|
|
outline: none;
|
|
line-height: 1.25;
|
|
white-space: normal;
|
|
position: relative;
|
|
}
|
|
|
|
.an-select__item span:first-child {
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
overflow: visible;
|
|
text-overflow: clip;
|
|
white-space: normal;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.an-select__indicator {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 8px;
|
|
display: inline-flex;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.an-select__item[data-highlighted] {
|
|
background: var(--an-row-hover);
|
|
}
|
|
|
|
.an-badge,
|
|
.an-status-pill {
|
|
height: 24px;
|
|
width: max-content;
|
|
min-width: 74px;
|
|
max-width: min(220px, 100%);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 5px;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 6px;
|
|
padding: 0 8px;
|
|
background: var(--an-surface-alt);
|
|
color: var(--an-text);
|
|
font-size: 12px;
|
|
font-weight: 650;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.an-status-pill i {
|
|
flex: 0 0 auto;
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 999px;
|
|
background: currentColor;
|
|
}
|
|
|
|
.an-badge--green {
|
|
border-color: color-mix(in srgb, var(--an-success) 34%, var(--an-border));
|
|
background: color-mix(in srgb, var(--an-success) 12%, var(--an-surface-alt));
|
|
color: var(--an-success);
|
|
}
|
|
|
|
.an-badge--amber {
|
|
border-color: color-mix(in srgb, var(--an-warning) 34%, var(--an-border));
|
|
background: color-mix(in srgb, var(--an-warning) 12%, var(--an-surface-alt));
|
|
color: var(--an-warning);
|
|
}
|
|
|
|
.an-badge--red {
|
|
border-color: color-mix(in srgb, var(--an-danger) 34%, var(--an-border));
|
|
background: color-mix(in srgb, var(--an-danger) 12%, var(--an-surface-alt));
|
|
color: var(--an-danger);
|
|
}
|
|
|
|
.an-badge--blue,
|
|
.an-badge--cyan {
|
|
border-color: color-mix(in srgb, var(--an-info) 34%, var(--an-border));
|
|
background: color-mix(in srgb, var(--an-info) 12%, var(--an-surface-alt));
|
|
color: var(--an-info);
|
|
}
|
|
|
|
.an-badge--purple {
|
|
border-color: color-mix(in srgb, #7c3aed 34%, var(--an-border));
|
|
background: color-mix(in srgb, #7c3aed 12%, var(--an-surface-alt));
|
|
color: #7c3aed;
|
|
}
|
|
|
|
.an-badge--slate {
|
|
border-color: color-mix(in srgb, var(--an-muted) 28%, var(--an-border));
|
|
background: color-mix(in srgb, var(--an-muted) 10%, var(--an-surface-alt));
|
|
color: var(--an-muted);
|
|
}
|
|
|
|
.an-status-pill--success {
|
|
color: var(--an-success);
|
|
}
|
|
|
|
.an-status-pill--warning {
|
|
color: var(--an-warning);
|
|
}
|
|
|
|
.an-status-pill--danger {
|
|
color: var(--an-danger);
|
|
}
|
|
|
|
.an-status-pill--info,
|
|
.an-status-pill--running {
|
|
color: var(--an-info);
|
|
}
|
|
|
|
.an-status-pill--ai {
|
|
color: #7c3aed;
|
|
}
|
|
|
|
.an-status-pill--neutral {
|
|
color: var(--an-muted);
|
|
}
|
|
|
|
.an-toolbar .an-badge {
|
|
align-self: stretch;
|
|
height: 34px;
|
|
padding: 0 12px;
|
|
border-radius: 7px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.an-data-table {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
display: grid;
|
|
grid-template-rows: minmax(0, 1fr) auto;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
background: var(--an-surface);
|
|
}
|
|
|
|
.an-data-table__scroll,
|
|
.an-data-table__viewport {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
.an-data-table__viewport {
|
|
height: 100%;
|
|
overflow: auto;
|
|
scrollbar-width: none;
|
|
-ms-overflow-style: none;
|
|
}
|
|
|
|
.an-data-table__viewport::-webkit-scrollbar {
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.an-data-table__table {
|
|
width: 100%;
|
|
min-width: 860px;
|
|
border-collapse: separate;
|
|
border-spacing: 0;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.an-data-table th,
|
|
.an-data-table td {
|
|
height: 42px;
|
|
padding: 0 12px;
|
|
border-bottom: 1px solid var(--an-border);
|
|
background: var(--an-surface);
|
|
text-align: left;
|
|
vertical-align: middle;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.an-data-table th.an-data-table__selection-cell,
|
|
.an-data-table td.an-data-table__selection-cell {
|
|
width: 40px;
|
|
min-width: 40px;
|
|
max-width: 40px;
|
|
padding: 0;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.an-data-table__selection-cell input[type='checkbox'] {
|
|
position: relative;
|
|
box-sizing: border-box;
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
display: block;
|
|
width: 16px;
|
|
height: 16px;
|
|
margin: 0 auto;
|
|
border: 1.5px solid color-mix(in srgb, var(--an-muted) 56%, var(--an-border));
|
|
border-radius: 4px;
|
|
background: var(--an-surface);
|
|
cursor: pointer;
|
|
transition: border-color 0.14s ease, background 0.14s ease;
|
|
}
|
|
|
|
.an-data-table__selection-cell input[type='checkbox']:hover:not(:disabled) {
|
|
border-color: var(--an-accent);
|
|
}
|
|
|
|
.an-data-table__selection-cell input[type='checkbox']:checked,
|
|
.an-data-table__selection-cell input[type='checkbox']:indeterminate {
|
|
border-color: var(--an-accent);
|
|
background: var(--an-accent);
|
|
}
|
|
|
|
.an-data-table__selection-cell input[type='checkbox']:checked::after {
|
|
content: '';
|
|
position: absolute;
|
|
box-sizing: border-box;
|
|
left: 4px;
|
|
top: 1px;
|
|
width: 5px;
|
|
height: 9px;
|
|
border: solid #ffffff;
|
|
border-width: 0 2px 2px 0;
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
.an-data-table__selection-cell input[type='checkbox']:indeterminate::after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 3px;
|
|
top: 5.5px;
|
|
width: 7px;
|
|
height: 2px;
|
|
border-radius: 1px;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.an-data-table__selection-cell input[type='checkbox']:focus-visible {
|
|
outline: 2px solid color-mix(in srgb, var(--an-accent) 78%, white);
|
|
outline-offset: 0;
|
|
}
|
|
|
|
.an-data-table__selection-cell input[type='checkbox']:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.45;
|
|
}
|
|
|
|
.an-data-table th {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 2;
|
|
height: 38px;
|
|
background: var(--an-surface-alt);
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.an-data-table tr:hover td {
|
|
background: var(--an-row-hover);
|
|
}
|
|
|
|
.an-data-table th:first-child,
|
|
.an-data-table td:first-child {
|
|
position: sticky;
|
|
left: 0;
|
|
z-index: 1;
|
|
}
|
|
|
|
.an-data-table th:first-child {
|
|
z-index: 3;
|
|
}
|
|
|
|
.an-data-table th[data-sticky-end='true'],
|
|
.an-data-table td[data-sticky-end='true'] {
|
|
position: sticky;
|
|
right: 0;
|
|
z-index: 1;
|
|
box-shadow: -1px 0 0 var(--an-border);
|
|
}
|
|
|
|
.an-data-table th[data-sticky-end='true'] {
|
|
z-index: 3;
|
|
}
|
|
|
|
.an-data-table tr[data-clickable='true'] {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.an-data-table tr.is-selected td {
|
|
background: var(--an-row-hover);
|
|
}
|
|
|
|
.an-data-table tr.an-data-table-row-hit td {
|
|
background: color-mix(in srgb, var(--an-accent) 16%, var(--an-surface));
|
|
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--an-accent) 42%, var(--an-border));
|
|
}
|
|
|
|
.an-data-table__sort {
|
|
width: 100%;
|
|
border: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
padding: 0;
|
|
font: inherit;
|
|
font-weight: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.an-data-table__sort:focus-visible {
|
|
outline: 2px solid color-mix(in srgb, var(--an-accent) 78%, white);
|
|
outline-offset: -2px;
|
|
}
|
|
|
|
.an-data-table__state {
|
|
min-height: 180px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
color: var(--an-muted);
|
|
}
|
|
|
|
.an-data-table__footer,
|
|
.an-data-table__pager {
|
|
border-top: 1px solid var(--an-border);
|
|
background: var(--an-surface);
|
|
}
|
|
|
|
.an-data-table__pager {
|
|
min-height: 42px;
|
|
padding: 6px 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
color: var(--an-muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.an-data-table__pager-actions,
|
|
.an-row-actions,
|
|
.an-inline-list {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.an-table-link,
|
|
.an-table-name {
|
|
border: 0;
|
|
padding: 0;
|
|
background: transparent;
|
|
color: var(--an-text);
|
|
font-weight: 650;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
}
|
|
|
|
.an-table-link:hover {
|
|
color: var(--an-accent);
|
|
}
|
|
|
|
.an-empty-state,
|
|
.an-empty,
|
|
.an-loading {
|
|
min-height: 160px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
color: var(--an-muted);
|
|
text-align: center;
|
|
padding: 20px;
|
|
}
|
|
|
|
.an-empty-state strong {
|
|
color: var(--an-text);
|
|
}
|
|
|
|
.an-spinner {
|
|
width: 16px;
|
|
height: 16px;
|
|
border-radius: 999px;
|
|
border: 2px solid var(--an-border);
|
|
border-top-color: var(--an-accent);
|
|
animation: an-spin 0.8s linear infinite;
|
|
}
|
|
|
|
.an-spinner--inline {
|
|
width: 13px;
|
|
height: 13px;
|
|
}
|
|
|
|
@keyframes an-spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
.an-alert {
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 6px;
|
|
padding: 10px 12px;
|
|
background: var(--an-surface);
|
|
}
|
|
|
|
.an-alert--error {
|
|
color: var(--an-danger);
|
|
border-color: color-mix(in srgb, var(--an-danger) 35%, var(--an-border));
|
|
}
|
|
|
|
.an-alert--success {
|
|
color: var(--an-success);
|
|
border-color: color-mix(in srgb, var(--an-success) 35%, var(--an-border));
|
|
}
|
|
|
|
.an-alert--info {
|
|
color: var(--an-info);
|
|
border-color: color-mix(in srgb, var(--an-info) 35%, var(--an-border));
|
|
}
|
|
|
|
.an-kpi-grid {
|
|
align-self: start;
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: var(--an-section-gap);
|
|
}
|
|
|
|
.an-kpi .an-card__content,
|
|
.an-alert-card .an-card__content {
|
|
min-height: 92px;
|
|
display: grid;
|
|
align-content: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.an-kpi .an-card__content {
|
|
min-height: 104px;
|
|
align-content: start;
|
|
}
|
|
|
|
.an-kpi__icon {
|
|
color: var(--an-accent);
|
|
}
|
|
|
|
.an-kpi__label,
|
|
.an-alert-card span {
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.an-kpi strong,
|
|
.an-alert-card strong {
|
|
font-size: 22px;
|
|
}
|
|
|
|
.an-dashboard-grid {
|
|
align-self: start;
|
|
min-height: 0;
|
|
display: grid;
|
|
grid-template-columns: 2fr repeat(3, 1fr);
|
|
gap: var(--an-section-gap);
|
|
}
|
|
|
|
.an-dashboard-page {
|
|
min-height: 100%;
|
|
height: auto;
|
|
grid-template-rows: auto auto auto auto;
|
|
align-content: start;
|
|
}
|
|
|
|
.an-page__footer-note {
|
|
align-self: start;
|
|
color: var(--an-muted);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.an-restart {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.an-restart__meta {
|
|
display: grid;
|
|
gap: 5px;
|
|
color: var(--an-muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.an-form {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.an-field {
|
|
display: grid;
|
|
gap: 6px;
|
|
color: var(--an-text);
|
|
font-size: 13px;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.an-field em {
|
|
color: var(--an-danger);
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.an-field-label-help {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
width: fit-content;
|
|
}
|
|
|
|
.an-field-label-help svg {
|
|
color: var(--an-muted);
|
|
}
|
|
|
|
.an-checkbox-list {
|
|
display: grid;
|
|
gap: 8px;
|
|
padding: 10px;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 6px;
|
|
background: var(--an-surface, #ffffff);
|
|
}
|
|
|
|
.an-checkbox-list label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.an-checkbox-row {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--an-text);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.an-dialog__overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 180;
|
|
background: rgba(15, 23, 42, 0.46);
|
|
backdrop-filter: none;
|
|
}
|
|
|
|
.an-dialog {
|
|
position: fixed;
|
|
z-index: 181;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: min(640px, calc(100vw - 32px));
|
|
max-height: min(760px, calc(100vh - 32px));
|
|
transform: translate(-50%, -50%);
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr) auto;
|
|
background: var(--an-surface, #fff);
|
|
border: 1px solid var(--an-border);
|
|
color: var(--an-text);
|
|
border-radius: 8px;
|
|
box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.admin-theme-root[data-theme='dark'] .an-dialog {
|
|
background: var(--an-surface);
|
|
color: var(--an-text);
|
|
box-shadow: 0 20px 54px rgba(0, 0, 0, 0.42);
|
|
}
|
|
|
|
.an-dialog__header,
|
|
.an-dialog__footer {
|
|
padding: 12px 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
border-bottom: 1px solid var(--an-border);
|
|
}
|
|
|
|
.an-dialog__footer {
|
|
border-top: 1px solid var(--an-border);
|
|
border-bottom: 0;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.an-dialog__title {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
color: var(--an-text);
|
|
}
|
|
|
|
.an-dialog__description {
|
|
margin: 4px 0 0;
|
|
color: var(--an-muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.an-dialog__body {
|
|
min-height: 0;
|
|
padding: 14px;
|
|
background: var(--an-surface, #fff);
|
|
color: var(--an-text);
|
|
}
|
|
|
|
.an-dialog__footer .tui-button {
|
|
height: 34px;
|
|
border-radius: 7px;
|
|
}
|
|
|
|
.an-guide-modal {
|
|
position: fixed;
|
|
z-index: 72;
|
|
top: 88px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: min(760px, calc(100vw - 32px));
|
|
max-height: min(720px, calc(100vh - 32px));
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
background: var(--an-surface, #fff);
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 8px;
|
|
box-shadow: 0 18px 46px rgba(15, 23, 42, 0.2);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.an-guide-modal__busy {
|
|
position: absolute;
|
|
inset: 58px 0 0;
|
|
z-index: 3;
|
|
display: grid;
|
|
place-content: center;
|
|
justify-items: center;
|
|
gap: 8px;
|
|
padding: 24px;
|
|
background: rgba(248, 250, 252, 0.78);
|
|
color: var(--an-text);
|
|
text-align: center;
|
|
}
|
|
|
|
.admin-theme-root[data-theme='dark'] .an-guide-modal__busy {
|
|
background: rgba(15, 23, 42, 0.78);
|
|
}
|
|
|
|
.an-guide-modal__busy span {
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.an-guide-modal__spinner {
|
|
width: 34px;
|
|
height: 34px;
|
|
border-radius: 999px;
|
|
border: 3px solid rgba(148, 163, 184, 0.28);
|
|
border-top-color: var(--an-primary, #2563eb);
|
|
animation: an-spin 0.76s linear infinite;
|
|
}
|
|
|
|
.admin-theme-root[data-theme='dark'] .an-guide-modal {
|
|
background: var(--an-surface);
|
|
box-shadow: 0 18px 48px rgba(0, 0, 0, 0.48);
|
|
}
|
|
|
|
.an-guide-modal__header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
min-height: 58px;
|
|
padding: 10px 12px 10px 16px;
|
|
border-bottom: 1px solid var(--an-border);
|
|
background: var(--an-surface);
|
|
}
|
|
|
|
.an-guide-modal__drag {
|
|
min-width: 0;
|
|
flex: 1;
|
|
cursor: grab;
|
|
user-select: none;
|
|
touch-action: none;
|
|
}
|
|
|
|
.an-guide-modal__drag:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.an-guide-modal__drag h2 {
|
|
margin: 0;
|
|
color: var(--an-text);
|
|
font-size: 16px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.an-guide-modal__drag p {
|
|
margin: 3px 0 0;
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.an-guide-modal__body {
|
|
min-height: 0;
|
|
}
|
|
|
|
.an-guide-modal__body > .tui-scrollbar__viewport {
|
|
max-height: min(660px, calc(100vh - 96px));
|
|
padding: 14px 16px 18px;
|
|
}
|
|
|
|
.an-guide-alert {
|
|
margin-bottom: 12px;
|
|
padding: 10px 12px;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 7px;
|
|
background: var(--an-bg-subtle);
|
|
color: var(--an-text);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.an-guide-alert p {
|
|
margin: 4px 0 0;
|
|
color: var(--an-muted);
|
|
}
|
|
|
|
.an-guide-alert--warning {
|
|
border-color: rgba(217, 119, 6, 0.32);
|
|
background: rgba(251, 191, 36, 0.1);
|
|
}
|
|
|
|
.an-guide-empty {
|
|
min-height: 320px;
|
|
display: grid;
|
|
place-content: center;
|
|
justify-items: center;
|
|
gap: 10px;
|
|
padding: 36px 18px;
|
|
color: var(--an-muted);
|
|
text-align: center;
|
|
}
|
|
|
|
.an-guide-empty svg {
|
|
color: var(--an-primary);
|
|
}
|
|
|
|
.an-guide-empty h3 {
|
|
margin: 4px 0 0;
|
|
color: var(--an-text);
|
|
font-size: 18px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.an-guide-empty p {
|
|
max-width: 460px;
|
|
margin: 0;
|
|
font-size: 13px;
|
|
line-height: 1.65;
|
|
}
|
|
|
|
.an-guide-empty span {
|
|
max-width: 520px;
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.an-guide-markdown {
|
|
color: var(--an-text);
|
|
}
|
|
|
|
.an-guide-markdown .markdown-renderer {
|
|
font-size: 14px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.an-guide-markdown .markdown-renderer > :first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.an-guide-sources {
|
|
margin-top: 14px;
|
|
padding-top: 12px;
|
|
border-top: 1px solid var(--an-border);
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.an-guide-sources h3 {
|
|
margin: 0 0 2px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.an-guide-sources a,
|
|
.an-guide-sources span {
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.an-toast__viewport {
|
|
position: fixed;
|
|
right: 16px;
|
|
bottom: 16px;
|
|
z-index: 100;
|
|
display: grid;
|
|
gap: 8px;
|
|
width: min(360px, calc(100vw - 32px));
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
outline: none;
|
|
}
|
|
|
|
.an-toast {
|
|
background: var(--an-surface);
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 8px;
|
|
padding: 12px 40px 12px 12px;
|
|
box-shadow: var(--an-shadow);
|
|
position: relative;
|
|
}
|
|
|
|
.an-toast::marker {
|
|
content: '';
|
|
}
|
|
|
|
.an-toast__title {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.an-toast__description {
|
|
margin-top: 4px;
|
|
color: var(--an-muted);
|
|
font-size: 13px;
|
|
line-height: 1.45;
|
|
overflow-wrap: anywhere;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.an-toast__close {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 8px;
|
|
width: 24px;
|
|
height: 24px;
|
|
border: 1px solid transparent;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
color: var(--an-muted);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.an-toast__close:hover,
|
|
.an-toast__close:focus-visible {
|
|
background: var(--an-soft);
|
|
border-color: var(--an-border);
|
|
color: var(--an-text);
|
|
outline: none;
|
|
}
|
|
|
|
.an-data-page {
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
}
|
|
|
|
.an-data-layout {
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
display: grid;
|
|
grid-template-columns: var(--an-data-summary-width, 320px) 14px minmax(0, 1fr);
|
|
gap: 0;
|
|
}
|
|
|
|
.an-data-summary,
|
|
.an-data-table-card {
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.an-data-summary {
|
|
margin-right: 6px;
|
|
}
|
|
|
|
.an-data-table-card {
|
|
margin-left: 6px;
|
|
}
|
|
|
|
.an-data-table-card {
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
}
|
|
|
|
.an-data-table-card .an-card__content {
|
|
min-height: 0;
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
gap: 10px;
|
|
}
|
|
|
|
.an-data-table-card__header {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.an-filter-grid {
|
|
display: grid;
|
|
grid-template-columns: 170px 160px 170px minmax(180px, 1fr);
|
|
gap: 8px;
|
|
}
|
|
|
|
.an-filter-grid--datasources {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.an-filter-grid--datasources > .an-segmented--counted {
|
|
flex: 0 0 auto;
|
|
max-width: 100%;
|
|
height: var(--an-control-sm);
|
|
}
|
|
|
|
.an-filter-grid--datasources > .an-field--inline-filter {
|
|
flex: 1 1 116px;
|
|
min-width: 116px;
|
|
}
|
|
|
|
.an-filter-grid--datasources > .tui-button,
|
|
.an-filter-grid--datasources > .tui-button.tui-button--tactile {
|
|
flex: 0 0 auto;
|
|
width: var(--an-control-sm);
|
|
height: var(--an-control-sm);
|
|
border-radius: var(--an-control-radius);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.an-segmented--counted button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 5px;
|
|
}
|
|
|
|
.an-segmented__count {
|
|
font-variant-numeric: tabular-nums;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: color-mix(in srgb, var(--an-text) 56%, var(--an-muted));
|
|
}
|
|
|
|
.an-segmented--counted button.is-active .an-segmented__count {
|
|
color: var(--an-accent);
|
|
font-weight: 650;
|
|
}
|
|
|
|
.an-batch-bar {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.an-batch-bar__count {
|
|
display: inline-flex;
|
|
align-items: baseline;
|
|
gap: 4px;
|
|
padding-right: 4px;
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.an-batch-bar__count strong {
|
|
color: var(--an-text);
|
|
font-size: 14px;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.an-batch-bar__num {
|
|
font-variant-numeric: tabular-nums;
|
|
opacity: 0.72;
|
|
}
|
|
|
|
.an-table-switch,
|
|
.an-table-actions,
|
|
.an-inline-switch {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.an-table-switch {
|
|
justify-content: center;
|
|
}
|
|
|
|
.an-table-actions {
|
|
gap: 2px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.an-table-actions .tui-button--icon {
|
|
width: var(--an-control-xs);
|
|
height: var(--an-control-xs);
|
|
border-radius: var(--an-control-radius);
|
|
color: var(--an-muted);
|
|
}
|
|
|
|
.an-table-actions .tui-button--icon:hover:not(:disabled) {
|
|
color: var(--an-text);
|
|
}
|
|
|
|
.an-table-actions .tui-button--danger {
|
|
color: #fff;
|
|
}
|
|
|
|
.an-table-actions .an-table-action--danger:hover:not(:disabled),
|
|
.an-table-actions .an-table-action--danger:focus-visible {
|
|
color: var(--an-danger);
|
|
background: color-mix(in srgb, var(--an-danger) 12%, transparent);
|
|
}
|
|
|
|
.an-inline-switch {
|
|
gap: 6px;
|
|
height: 32px;
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.an-data-table tr.is-filter-stale td {
|
|
opacity: 0.48;
|
|
}
|
|
|
|
.an-data-table--datasources .an-data-table__table {
|
|
min-width: 730px;
|
|
}
|
|
|
|
.an-data-table--datasources th,
|
|
.an-data-table--datasources td {
|
|
padding: 0 10px;
|
|
}
|
|
|
|
.an-data-table--datasources th.an-data-table__selection-cell,
|
|
.an-data-table--datasources td.an-data-table__selection-cell {
|
|
width: 40px;
|
|
min-width: 40px;
|
|
max-width: 40px;
|
|
padding: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.an-data-table--datasources th[data-column-id='schedule'],
|
|
.an-data-table--datasources td[data-column-id='schedule'] {
|
|
text-align: center;
|
|
}
|
|
|
|
.an-data-table--datasources th[data-column-id='schedule'] .an-data-table__sort {
|
|
justify-content: center;
|
|
cursor: default;
|
|
}
|
|
|
|
.an-data-table--datasources th[data-sticky-end='true'],
|
|
.an-data-table--datasources td[data-sticky-end='true'] {
|
|
padding: 0 8px;
|
|
text-align: center;
|
|
}
|
|
|
|
.an-data-table--datasources th[data-sticky-end='true'] .an-data-table__sort {
|
|
justify-content: center;
|
|
cursor: default;
|
|
}
|
|
|
|
.an-data-table--datasources .an-table-link {
|
|
max-width: 148px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.an-field--inline-filter .an-input {
|
|
width: 100%;
|
|
}
|
|
|
|
.an-search-box {
|
|
height: 32px;
|
|
min-width: min(320px, 100%);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 0 6px 0 10px;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 6px;
|
|
background: var(--an-surface);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
|
|
}
|
|
|
|
.an-search-box:focus-within {
|
|
border-color: var(--an-accent);
|
|
}
|
|
|
|
.an-search-box svg {
|
|
color: var(--an-muted);
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.an-search-box .an-input {
|
|
height: 28px;
|
|
min-width: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.an-json-editor {
|
|
min-height: 320px;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
}
|
|
|
|
.an-confirm-dialog__body {
|
|
color: var(--an-muted);
|
|
line-height: 1.65;
|
|
}
|
|
|
|
.an-logs-page .an-page__body {
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
gap: var(--an-section-gap);
|
|
}
|
|
|
|
.an-logs-layout {
|
|
min-height: 0;
|
|
height: 100%;
|
|
display: grid;
|
|
grid-template-columns: 280px minmax(0, 1fr);
|
|
gap: var(--an-section-gap);
|
|
}
|
|
|
|
.an-logs-sidebar,
|
|
.an-logs-main {
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.an-logs-sidebar,
|
|
.an-logs-main,
|
|
.an-logs-main .an-panel-body {
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
}
|
|
|
|
.an-logs-source-list {
|
|
min-height: 0;
|
|
height: 100%;
|
|
padding: 10px;
|
|
}
|
|
|
|
.an-logs-source {
|
|
width: 100%;
|
|
display: grid;
|
|
gap: 4px;
|
|
justify-items: start;
|
|
padding: 10px;
|
|
border: 1px solid transparent;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
color: var(--an-text);
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.an-logs-source:hover,
|
|
.an-logs-source.is-active {
|
|
border-color: var(--an-border-strong);
|
|
background: var(--an-surface-alt);
|
|
}
|
|
|
|
.an-logs-source:focus-visible {
|
|
outline: 2px solid color-mix(in srgb, var(--an-accent) 78%, white);
|
|
outline-offset: -2px;
|
|
}
|
|
|
|
.an-logs-source > span:not(.an-status-pill) {
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.an-logs-filters {
|
|
display: grid;
|
|
grid-template-columns: 96px 130px 140px 140px minmax(180px, 1fr);
|
|
grid-auto-flow: column;
|
|
grid-auto-columns: max-content;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.an-log-reader {
|
|
min-height: 0;
|
|
height: 100%;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 6px;
|
|
background: #0f172a;
|
|
overflow: hidden;
|
|
}
|
|
|
|
[data-theme='dark'] .an-log-reader {
|
|
background: #020617;
|
|
}
|
|
|
|
.an-log-reader__scroll {
|
|
height: 100%;
|
|
min-height: 0;
|
|
}
|
|
|
|
.an-log-reader pre {
|
|
min-width: max-content;
|
|
margin: 0;
|
|
padding: 12px;
|
|
color: #dbeafe;
|
|
font-size: 12px;
|
|
line-height: 1.6;
|
|
white-space: pre;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
}
|
|
|
|
.an-log-group-detail {
|
|
display: grid;
|
|
gap: 10px;
|
|
padding: 10px;
|
|
color: #dbeafe;
|
|
}
|
|
|
|
.an-log-group-summary,
|
|
.an-log-occurrence {
|
|
border: 1px solid rgba(148, 163, 184, 0.28);
|
|
border-radius: 8px;
|
|
background: rgba(15, 23, 42, 0.72);
|
|
padding: 10px;
|
|
}
|
|
|
|
.an-log-group-summary {
|
|
display: grid;
|
|
gap: 4px;
|
|
}
|
|
|
|
.an-log-group-summary span,
|
|
.an-log-occurrence p {
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.an-log-occurrence {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.an-log-occurrence > div {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.an-log-occurrence pre {
|
|
min-width: 0;
|
|
border-radius: 6px;
|
|
background: rgba(2, 6, 23, 0.82);
|
|
padding: 10px;
|
|
max-height: 220px;
|
|
overflow: auto;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.an-playground {
|
|
min-height: 0;
|
|
height: 100%;
|
|
display: grid;
|
|
grid-template-columns: 320px minmax(0, 1fr);
|
|
gap: var(--an-section-gap);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.an-playground__settings,
|
|
.an-playground__chat {
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
}
|
|
|
|
.an-playground__settings .an-panel-body {
|
|
min-height: 0;
|
|
overflow: auto;
|
|
}
|
|
|
|
.an-playground__chat .an-panel-body {
|
|
min-height: 0;
|
|
height: 100%;
|
|
display: grid;
|
|
grid-template-rows: minmax(0, 1fr) auto;
|
|
gap: 12px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.an-playground__messages {
|
|
min-height: 0;
|
|
height: 100%;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 6px;
|
|
background: var(--an-surface-alt);
|
|
}
|
|
|
|
.an-playground__messages .tui-scrollbar__viewport {
|
|
padding: 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.an-playground-message {
|
|
width: auto;
|
|
min-width: min(240px, 100%);
|
|
max-width: min(820px, 82%);
|
|
display: grid;
|
|
gap: 8px;
|
|
padding: 10px 12px;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 10px;
|
|
background: var(--an-surface);
|
|
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
|
|
}
|
|
|
|
.an-playground-message + .an-playground-message {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.an-playground-message header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
}
|
|
|
|
.an-playground-message pre {
|
|
margin: 0;
|
|
color: var(--an-text);
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
font: inherit;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.an-playground-markdown.markdown-renderer {
|
|
padding: 0;
|
|
background: transparent;
|
|
border: 0;
|
|
box-shadow: none;
|
|
color: var(--an-text);
|
|
font-size: 14px;
|
|
line-height: 1.72;
|
|
}
|
|
|
|
.an-playground-markdown.markdown-renderer h1,
|
|
.an-playground-markdown.markdown-renderer h2,
|
|
.an-playground-markdown.markdown-renderer h3 {
|
|
margin: 1.05em 0 0.55em;
|
|
color: var(--an-text);
|
|
font-weight: 800;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.an-playground-markdown.markdown-renderer h1 {
|
|
padding-bottom: 8px;
|
|
border-bottom: 1px solid var(--an-border);
|
|
font-size: 20px;
|
|
}
|
|
|
|
.an-playground-markdown.markdown-renderer h2 {
|
|
padding-bottom: 6px;
|
|
border-bottom: 1px solid var(--an-border);
|
|
font-size: 17px;
|
|
}
|
|
|
|
.an-playground-markdown.markdown-renderer h3 {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.an-playground-markdown.markdown-renderer > :first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.an-playground-markdown.markdown-renderer > :last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.an-playground-markdown.markdown-renderer p {
|
|
margin: 0.55em 0;
|
|
}
|
|
|
|
.an-playground-markdown.markdown-renderer ul,
|
|
.an-playground-markdown.markdown-renderer ol {
|
|
margin: 0.55em 0 0.75em;
|
|
padding-left: 1.35em;
|
|
}
|
|
|
|
.an-playground-markdown.markdown-renderer li {
|
|
margin: 0.28em 0;
|
|
}
|
|
|
|
.an-playground-markdown.markdown-renderer blockquote {
|
|
margin: 0.75em 0;
|
|
padding: 8px 10px;
|
|
border-left: 3px solid var(--an-accent);
|
|
border-radius: 0 6px 6px 0;
|
|
background: var(--an-bg-subtle);
|
|
color: var(--an-muted);
|
|
}
|
|
|
|
.an-playground-markdown.markdown-renderer hr {
|
|
margin: 0.9em 0;
|
|
border: 0;
|
|
border-top: 1px solid var(--an-border);
|
|
}
|
|
|
|
.an-playground-markdown.markdown-renderer :not(pre) > code {
|
|
padding: 2px 5px;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 5px;
|
|
background: var(--an-bg-subtle);
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.an-playground-markdown.markdown-renderer .markdown-renderer__code-block {
|
|
margin: 10px 0;
|
|
overflow: hidden;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 8px;
|
|
background: #0f172a;
|
|
}
|
|
|
|
.an-playground-markdown.markdown-renderer .markdown-renderer__code-toolbar {
|
|
position: relative;
|
|
z-index: 1;
|
|
min-height: 40px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 7px 9px;
|
|
border-bottom: 1px solid rgba(148, 163, 184, 0.22);
|
|
color: #cbd5e1;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.an-playground-markdown.markdown-renderer .markdown-renderer__code-copy {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 26px;
|
|
height: 26px;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
background: rgba(148, 163, 184, 0.16);
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.an-playground-markdown.markdown-renderer .markdown-renderer__code-block pre {
|
|
margin: 0;
|
|
padding: 12px;
|
|
color: #e5e7eb;
|
|
font-size: 12px;
|
|
line-height: 1.65;
|
|
}
|
|
|
|
.an-playground-markdown.markdown-renderer .markdown-renderer__code-scroll {
|
|
display: block;
|
|
flex: none;
|
|
}
|
|
|
|
.an-playground-markdown.markdown-renderer .markdown-renderer__code-scroll > .tui-scrollbar__viewport {
|
|
height: auto;
|
|
}
|
|
|
|
.an-playground-markdown.markdown-renderer .markdown-renderer__code-content {
|
|
display: block;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
}
|
|
|
|
.an-playground-markdown.markdown-renderer .markdown-renderer__table-wrap {
|
|
max-width: 100%;
|
|
margin: 10px 0;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.an-playground-markdown.markdown-renderer table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.an-playground-markdown.markdown-renderer th,
|
|
.an-playground-markdown.markdown-renderer td {
|
|
padding: 7px 9px;
|
|
border-right: 1px solid var(--an-border);
|
|
border-bottom: 1px solid var(--an-border);
|
|
text-align: left;
|
|
}
|
|
|
|
.an-playground-markdown.markdown-renderer th {
|
|
background: var(--an-bg-subtle);
|
|
font-weight: 800;
|
|
}
|
|
|
|
.an-playground-message--user {
|
|
align-self: flex-end;
|
|
border-top-right-radius: 4px;
|
|
background: color-mix(in srgb, var(--an-accent) 8%, var(--an-surface));
|
|
border-color: color-mix(in srgb, var(--an-accent) 24%, var(--an-border));
|
|
}
|
|
|
|
.an-playground-message--assistant {
|
|
align-self: flex-start;
|
|
max-width: min(880px, 86%);
|
|
border-top-left-radius: 4px;
|
|
border-color: color-mix(in srgb, var(--an-accent) 18%, var(--an-border));
|
|
}
|
|
|
|
.an-playground-message--system {
|
|
align-self: center;
|
|
max-width: min(680px, 88%);
|
|
background: var(--an-surface);
|
|
}
|
|
|
|
.an-playground-edit {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.an-playground-composer {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 8px;
|
|
align-items: end;
|
|
padding-top: 2px;
|
|
}
|
|
|
|
.an-playground-composer .an-textarea {
|
|
min-height: 54px;
|
|
max-height: 120px;
|
|
}
|
|
|
|
.an-segmented {
|
|
height: 30px;
|
|
display: inline-flex;
|
|
align-items: stretch;
|
|
gap: 2px;
|
|
border: 1px solid var(--an-border);
|
|
border-radius: var(--an-control-radius);
|
|
padding: 2px;
|
|
background: color-mix(in srgb, var(--an-border) 34%, var(--an-surface-alt));
|
|
}
|
|
|
|
.admin-theme-root[data-theme='dark'] .an-segmented {
|
|
background: color-mix(in srgb, #000 28%, var(--an-surface-alt));
|
|
}
|
|
|
|
.an-segmented button {
|
|
min-width: 0;
|
|
border: 1px solid transparent;
|
|
background: transparent;
|
|
color: color-mix(in srgb, var(--an-text) 68%, var(--an-muted));
|
|
border-radius: 4px;
|
|
padding: 0 10px;
|
|
font: inherit;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
|
|
}
|
|
|
|
.an-segmented button:hover:not(:disabled):not(.is-active) {
|
|
color: var(--an-text);
|
|
}
|
|
|
|
.an-segmented button.is-active {
|
|
background: var(--an-surface);
|
|
color: var(--an-text);
|
|
font-weight: 600;
|
|
border-color: color-mix(in srgb, var(--an-border) 88%, transparent);
|
|
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
|
|
}
|
|
|
|
.admin-theme-root[data-theme='dark'] .an-segmented button.is-active {
|
|
background: color-mix(in srgb, var(--an-surface) 92%, #ffffff);
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
.an-segmented button:focus-visible {
|
|
outline: 2px solid color-mix(in srgb, var(--an-accent) 78%, white);
|
|
outline-offset: -2px;
|
|
}
|
|
|
|
.an-segmented button:disabled {
|
|
opacity: 0.45;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.an-summary-kpis {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 8px;
|
|
}
|
|
|
|
.an-summary-kpis div {
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 6px;
|
|
padding: 9px;
|
|
}
|
|
|
|
.an-summary-kpis span {
|
|
display: block;
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.an-summary-kpis strong {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.an-distribution-chart {
|
|
width: 100%;
|
|
height: 240px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.an-detail {
|
|
display: grid;
|
|
gap: 14px;
|
|
}
|
|
|
|
.an-detail__hero {
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.an-detail__hero span,
|
|
.an-detail__section h3 {
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.an-detail__hero h2 {
|
|
margin: 3px 0 0;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.an-detail__section {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.an-detail__section h3 {
|
|
margin: 0;
|
|
color: var(--an-text);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.an-detail__grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
border: 1px solid var(--an-border);
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.an-detail__grid > div {
|
|
min-width: 0;
|
|
padding: 8px 10px;
|
|
border-bottom: 1px solid var(--an-border);
|
|
}
|
|
|
|
.an-detail__grid span {
|
|
display: block;
|
|
color: var(--an-muted);
|
|
font-size: 12px;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.an-detail__grid strong {
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.an-detail__grid .is-block {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
@media (max-width: 1100px) {
|
|
.an-resource-layout,
|
|
.an-data-layout,
|
|
.an-dashboard-grid,
|
|
.an-logs-layout,
|
|
.an-playground {
|
|
grid-template-columns: 1fr;
|
|
gap: var(--an-section-gap);
|
|
}
|
|
|
|
.an-logs-layout {
|
|
height: auto;
|
|
}
|
|
|
|
.an-logs-sidebar {
|
|
max-height: 240px;
|
|
}
|
|
|
|
.an-logs-main {
|
|
min-height: min(620px, calc(100vh - 220px));
|
|
}
|
|
|
|
.an-log-reader {
|
|
height: min(560px, calc(100vh - 300px));
|
|
min-height: 320px;
|
|
}
|
|
|
|
.an-detail-resizer {
|
|
display: none;
|
|
}
|
|
|
|
.an-data-summary,
|
|
.an-data-table-card {
|
|
margin: 0;
|
|
}
|
|
|
|
.an-resource-side {
|
|
grid-template-rows: auto auto;
|
|
}
|
|
|
|
.an-kpi-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.an-tv-edit-layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.an-filter-grid--datasources > .an-segmented--counted {
|
|
flex: 1 0 100%;
|
|
}
|
|
|
|
.an-segmented--counted button {
|
|
flex: 1 1 0;
|
|
}
|
|
}
|
|
|
|
@media (900px < width <= 1100px) {
|
|
.an-resource-layout--datasources .an-resource-side,
|
|
.an-resource-layout--datasources.is-mobile-detail-open .an-resource-main {
|
|
display: none;
|
|
}
|
|
|
|
.an-resource-layout--datasources.is-mobile-detail-open .an-resource-side {
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
}
|
|
|
|
.an-resource-layout--datasources .an-mobile-detail-bar {
|
|
display: flex;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.an-resource-layout,
|
|
.an-hierarchy-layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.an-resource-layout .an-resource-side,
|
|
.an-hierarchy-layout .an-hierarchy-detail {
|
|
display: none;
|
|
}
|
|
|
|
.an-resource-layout.is-mobile-detail-open .an-resource-main,
|
|
.an-hierarchy-layout.is-mobile-detail-open .an-hierarchy-list {
|
|
display: none;
|
|
}
|
|
|
|
.an-resource-layout.is-mobile-detail-open .an-resource-side,
|
|
.an-hierarchy-layout.is-mobile-detail-open .an-hierarchy-detail {
|
|
display: grid;
|
|
}
|
|
|
|
.an-resource-layout.is-mobile-detail-open .an-resource-side {
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
}
|
|
|
|
.an-resource-layout.is-mobile-detail-open .an-detail-panel {
|
|
min-height: 0;
|
|
}
|
|
|
|
.an-hierarchy-layout.is-mobile-detail-open .an-hierarchy-detail {
|
|
grid-template-rows: auto auto minmax(0, 1fr);
|
|
}
|
|
|
|
.an-mobile-detail-bar {
|
|
display: flex;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.admin {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.admin__sider {
|
|
display: none;
|
|
}
|
|
|
|
.admin__mobile-menu.tui-button {
|
|
display: inline-flex;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.admin__mobile-nav {
|
|
display: block;
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 80;
|
|
}
|
|
|
|
.admin__mobile-nav-panel {
|
|
position: absolute;
|
|
inset: 0 auto 0 0;
|
|
width: min(300px, 86vw);
|
|
background: var(--an-surface);
|
|
border-right: 1px solid var(--an-border);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.admin__mobile-nav-backdrop {
|
|
position: absolute;
|
|
inset: 0 0 0 min(300px, 86vw);
|
|
border: 0;
|
|
background: rgba(15, 23, 42, 0.35);
|
|
}
|
|
|
|
.admin__content {
|
|
height: 100%;
|
|
}
|
|
|
|
.admin__topbar {
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.admin__search {
|
|
flex: 1;
|
|
width: auto;
|
|
min-width: 0;
|
|
}
|
|
|
|
.admin__search-results {
|
|
width: min(440px, calc(100vw - 24px));
|
|
}
|
|
|
|
.admin__content-inner {
|
|
padding: 12px;
|
|
}
|
|
|
|
.an-page {
|
|
gap: 8px;
|
|
}
|
|
|
|
.an-page__header {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.an-page__header h1 {
|
|
font-size: 19px;
|
|
}
|
|
|
|
.an-page-grid,
|
|
.an-resource-page .an-page__body {
|
|
gap: 8px;
|
|
}
|
|
|
|
.an-toolbar {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.an-summary-strip {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 6px;
|
|
}
|
|
|
|
.an-summary-strip .an-stat-cell {
|
|
padding: 8px 10px;
|
|
gap: 2px;
|
|
}
|
|
|
|
.an-summary-strip .an-stat-cell strong {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.an-summary-strip .an-stat-cell span,
|
|
.an-summary-strip .an-stat-cell small {
|
|
font-size: 11px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.an-panel-heading {
|
|
min-height: 40px;
|
|
padding: 8px 12px;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.an-panel-body {
|
|
padding: 8px;
|
|
}
|
|
|
|
.an-batch-bar {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.an-kpi-grid,
|
|
.an-summary-kpis,
|
|
.an-detail-list,
|
|
.an-detail__grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.an-detail-list div:nth-child(odd) {
|
|
border-right: 0;
|
|
}
|
|
|
|
.an-filter-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.an-filter-grid--datasources {
|
|
gap: 6px;
|
|
}
|
|
|
|
.an-filter-grid--datasources > .an-field--inline-filter {
|
|
flex: 1 1 calc(42% - 6px);
|
|
min-width: 0;
|
|
}
|
|
|
|
.an-collection-queue__bar {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.an-collection-queue-popover {
|
|
position: fixed;
|
|
top: 92px;
|
|
right: 12px;
|
|
left: 12px;
|
|
width: auto;
|
|
}
|
|
|
|
.an-collection-queue__panel {
|
|
grid-template-columns: 1fr;
|
|
max-height: 46vh;
|
|
}
|
|
|
|
.an-task-summary dl {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.an-task-summary dt:nth-last-child(-n+4),
|
|
.an-task-summary dd:nth-last-child(-n+4) {
|
|
border-bottom: 1px solid var(--an-border);
|
|
}
|
|
|
|
.an-task-summary dt:nth-last-child(-n+2),
|
|
.an-task-summary dd:nth-last-child(-n+2) {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.an-data-table--datasources th[data-sticky-end='true'],
|
|
.an-data-table--datasources td[data-sticky-end='true'] {
|
|
position: static;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.an-logs-filters {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.an-logs-filters .an-search-box {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.an-logs-sidebar {
|
|
max-height: none;
|
|
}
|
|
|
|
.an-logs-source-list {
|
|
height: auto;
|
|
padding: 8px;
|
|
}
|
|
|
|
.an-logs-source-list > .tui-scrollbar__viewport {
|
|
display: flex;
|
|
gap: 8px;
|
|
padding-bottom: 2px;
|
|
}
|
|
|
|
.an-logs-source {
|
|
flex: 0 0 min(220px, 74vw);
|
|
min-height: 88px;
|
|
align-content: start;
|
|
}
|
|
|
|
.an-logs-main {
|
|
min-height: calc(100vh - 320px);
|
|
}
|
|
|
|
.an-log-reader {
|
|
height: calc(100vh - 430px);
|
|
min-height: 280px;
|
|
}
|
|
|
|
.an-playground-composer {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.an-field-cluster__heading {
|
|
display: grid;
|
|
align-items: start;
|
|
}
|
|
|
|
.an-field-cluster__heading p {
|
|
text-align: left;
|
|
}
|
|
|
|
.an-field-cluster--compact .an-field-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|