Files
planet/frontend/src/index.css
T

3779 lines
69 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body, #root {
width: 100%;
height: 100%;
overflow: hidden;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
.app-route-loading {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.login-container {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.login-box {
background: white;
padding: 40px;
border-radius: 8px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
width: 400px;
}
.dashboard-layout {
height: 100vh;
}
.dashboard-layout .ant-layout,
.dashboard-layout .ant-layout-content {
min-width: 0;
min-height: 0;
}
.dashboard-layout > .ant-layout {
height: 100%;
}
.dashboard-sider {
background: #001529 !important;
}
.dashboard-sider.ant-layout-sider-has-trigger {
padding-bottom: 0 !important;
}
.dashboard-sider-inner {
height: 100%;
display: flex;
flex-direction: column;
min-height: 0;
}
.dashboard-sider-main {
flex: 1 1 auto;
min-height: 0;
display: flex;
flex-direction: column;
overflow: hidden;
}
.dashboard-sider-menu-scroll {
flex: 1 1 auto;
min-height: 0;
}
.dashboard-sider-menu-scroll .scrollbar__viewport > .ant-menu {
width: 100%;
min-width: 0;
}
.scrollbar {
position: relative;
flex: 1 1 auto;
min-height: 0;
overflow: hidden;
}
.scrollbar__viewport {
height: 100%;
overflow: auto;
scrollbar-width: none;
-ms-overflow-style: none;
}
.scrollbar__viewport::-webkit-scrollbar {
width: 0;
height: 0;
}
.scrollbar__track {
position: absolute;
z-index: 2;
pointer-events: none;
overflow: visible;
}
.scrollbar__track--y {
top: 0;
right: 0;
width: 12px;
height: 100%;
}
.scrollbar__track--x {
left: 0;
bottom: 0;
width: 100%;
height: 12px;
}
.scrollbar__track--y.scrollbar__track--has-corner {
height: calc(100% - 12px);
}
.scrollbar__track--x.scrollbar__track--has-corner {
width: calc(100% - 12px);
}
.scrollbar__thumb {
position: absolute;
border-radius: 999px;
background: rgba(196, 208, 224, 0.46);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
opacity: 0;
cursor: pointer;
pointer-events: auto;
outline: none;
transition: opacity 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.scrollbar__thumb::after {
content: "";
position: absolute;
}
.scrollbar__thumb--y {
top: 8px;
right: 3px;
width: 4px;
min-width: 4px;
min-height: 28px;
}
.scrollbar__thumb--y::after {
inset: 0 -4px;
}
.scrollbar__thumb--x {
left: 8px;
bottom: 3px;
height: 4px;
min-height: 4px;
min-width: 28px;
}
.scrollbar__thumb--x::after {
inset: -4px 0;
}
.scrollbar:hover .scrollbar__track--visible .scrollbar__thumb,
.scrollbar:focus-within .scrollbar__track--visible .scrollbar__thumb,
.scrollbar__track--visible .scrollbar__thumb,
.scrollbar__track--dragging .scrollbar__thumb {
opacity: 1;
}
.scrollbar__track--visible {
pointer-events: auto;
}
.scrollbar__thumb:hover,
.scrollbar__thumb:focus-visible {
background: rgba(125, 146, 174, 0.82);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.scrollbar__track--dragging .scrollbar__thumb {
background: rgba(92, 115, 146, 0.9);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.dashboard-brand {
position: relative;
height: 64px;
display: flex;
align-items: center;
justify-content: center;
padding-left: 12px;
padding-right: 40px;
}
.dashboard-brand .ant-typography {
margin-right: auto;
padding-left: 24px;
transform: none;
}
.dashboard-brand--collapsed {
cursor: pointer;
}
.dashboard-sider-toggle {
position: absolute;
top: 50%;
right: 10px;
width: 32px;
height: 32px;
min-width: 32px;
padding: 0;
display: inline-flex;
align-items: center;
justify-content: center;
transform: translateY(-50%);
color: rgba(255, 255, 255, 0.88) !important;
}
.dashboard-sider-toggle--collapsed {
left: 50%;
right: auto;
width: 32px;
transform: translate(-50%, -50%);
justify-content: center;
}
.dashboard-sider-banner {
flex: 0 0 auto;
margin: 12px 12px 0;
padding: 14px 12px;
border-radius: 14px;
background: rgba(255, 255, 255, 0.08);
border: 1px solid rgba(255, 255, 255, 0.08);
}
.dashboard-sider-banner-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.dashboard-sider-banner-label {
color: rgba(255, 255, 255, 0.62);
font-size: 12px;
white-space: nowrap;
}
.dashboard-sider-banner-value {
color: white !important;
font-size: 14px;
text-align: right;
}
.dashboard-sider-logout {
width: 100%;
color: #ff7875 !important;
}
.ant-layout-sider-trigger {
display: none !important;
}
.dashboard-content {
padding: 24px;
background: #f0f2f5;
height: 100%;
min-height: 0;
min-width: 0;
display: flex;
flex-direction: column;
overflow: hidden;
}
.dashboard-content-inner {
flex: 1 1 auto;
min-width: 0;
min-height: 0;
display: flex;
flex-direction: column;
}
.dashboard-content-inner > * {
min-width: 0;
min-height: 0;
}
.page-shell {
flex: 1 1 auto;
min-width: 0;
min-height: 0;
display: flex;
flex-direction: column;
gap: 16px;
}
.page-shell__header {
flex: 0 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
}
.page-shell__body {
flex: 1 1 auto;
min-width: 0;
min-height: 0;
display: flex;
flex-direction: column;
overflow: hidden;
}
.page-shell__body > * {
min-width: 0;
min-height: 0;
}
.playground-page {
height: 100%;
min-height: 0;
}
.playground-page__grid {
flex: 1 1 auto;
min-height: 0;
overflow: hidden;
align-items: stretch;
}
.playground-page__body {
flex: 1 1 auto;
min-height: 0;
display: flex;
overflow: hidden;
}
.playground-shell {
flex: 1 1 auto;
height: 100%;
min-height: 0;
display: flex;
gap: 12px;
}
.playground-shell__sidebar {
flex: 0 0 340px;
min-width: 300px;
max-width: 360px;
min-height: 0;
overflow: hidden;
display: flex;
flex-direction: column;
gap: 12px;
}
.playground-card {
width: 100%;
min-height: 0;
display: flex;
flex-direction: column;
border-radius: 16px;
}
.playground-card .ant-card-head {
min-height: 56px;
padding: 0 20px;
flex: 0 0 auto;
}
.playground-card .ant-card-head-title {
padding: 14px 0;
}
.playground-card__icon-button {
color: #64748b;
}
.playground-chat__service-btn {
display: none;
}
.playground-card__icon-button:hover {
color: #1677ff !important;
background: rgba(22, 119, 255, 0.08) !important;
}
.playground-card .ant-card-body {
flex: 1 1 auto;
min-height: 0;
padding: 16px 20px 14px;
}
.playground-card__scroll {
height: 100%;
}
.playground-card__scroll .scrollbar__viewport {
height: 100%;
overflow: auto;
}
.playground-card__scroll::-webkit-scrollbar,
.playground-result__content::-webkit-scrollbar,
.playground-result__blocks-scroll::-webkit-scrollbar {
width: 8px;
height: 8px;
}
.playground-card__scroll::-webkit-scrollbar-thumb,
.playground-result__content::-webkit-scrollbar-thumb,
.playground-result__blocks-scroll::-webkit-scrollbar-thumb {
background: rgba(148, 163, 184, 0.82);
border-radius: 999px;
border: 2px solid transparent;
background-clip: padding-box;
}
.playground-card__scroll::-webkit-scrollbar-thumb:hover,
.playground-result__content::-webkit-scrollbar-thumb:hover,
.playground-result__blocks-scroll::-webkit-scrollbar-thumb:hover {
background: rgba(100, 116, 139, 0.9);
background-clip: padding-box;
}
.playground-card__scroll::-webkit-scrollbar-track,
.playground-result__content::-webkit-scrollbar-track,
.playground-result__blocks-scroll::-webkit-scrollbar-track {
background: transparent;
}
.playground-card--provider {
flex: 1 1 auto;
min-height: 180px;
}
.playground-card--provider .ant-card-body {
overflow: hidden;
}
.playground-card--help {
flex: 1 1 auto;
}
.playground-card--workspace {
flex: 1 1 auto;
height: 100%;
}
.playground-card--workspace .ant-card-body,
.playground-card--result .ant-card-body {
overflow: hidden;
}
.playground-chat {
flex: 1 1 auto;
min-height: 0;
}
.playground-chat .ant-card-body {
display: flex;
flex-direction: column;
gap: 14px;
padding: 16px 18px 18px;
min-height: 0;
overflow: hidden;
}
.playground-chat__messages {
flex: 1 1 auto;
min-height: 0;
height: 100%;
overflow: auto;
display: flex;
flex-direction: column;
gap: 14px;
padding-right: 4px;
overscroll-behavior: contain;
}
.playground-chat__messages-shell {
position: relative;
flex: 1 1 auto;
min-height: 0;
display: flex;
flex-direction: column;
overflow: hidden;
}
.playground-chat__scroll-bottom.ant-btn {
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 12px;
width: 38px;
height: 38px;
border-radius: 999px;
border: 1px solid rgba(15, 23, 42, 0.1);
background: rgba(255, 255, 255, 0.94);
color: #0f172a;
box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
backdrop-filter: blur(8px);
}
.playground-chat__scroll-bottom.ant-btn:hover,
.playground-chat__scroll-bottom.ant-btn:focus {
background: #ffffff !important;
color: #0f766e !important;
border-color: rgba(15, 118, 110, 0.2) !important;
}
.playground-chat__composer {
flex: 0 0 auto;
border-top: 1px solid rgba(148, 163, 184, 0.18);
padding-top: 14px;
}
.playground-chat__input-wrap {
border-radius: 18px;
border: 1px solid rgba(148, 163, 184, 0.22);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.98));
box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
padding: 12px;
}
.playground-chat__input-row {
display: flex;
align-items: center;
gap: 8px;
}
.playground-chat__input-row .playground-chat__input.ant-input {
flex: 1 1 auto;
min-width: 0;
}
.playground-chat__input-wrap--expanded .playground-chat__input-row .playground-chat__send-button.ant-btn {
flex: 0 0 auto;
}
.playground-chat__input.ant-input {
border: 0;
box-shadow: none;
padding: 6px 2px 2px;
resize: none;
background: transparent;
margin-top: 10px;
}
.playground-chat__input-wrap--expanded .playground-chat__input.ant-input {
margin-top: 10px;
}
.playground-chat__input-wrap:not(.playground-chat__input-wrap--expanded) .playground-chat__input.ant-input {
margin-top: 0;
padding: 4px 2px;
}
.playground-chat__input.ant-input:focus,
.playground-chat__input.ant-input-focused {
box-shadow: none;
}
.playground-chat__actions {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-top: 10px;
padding-top: 10px;
border-top: 1px solid rgba(148, 163, 184, 0.16);
}
.playground-chat__hints {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.playground-chat__send-button.ant-btn {
width: 40px;
height: 40px;
border-radius: 999px;
border: 1px solid rgba(15, 23, 42, 0.12);
background: #0f172a;
color: #f8fafc;
box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}
.playground-chat__send-button.ant-btn:hover,
.playground-chat__send-button.ant-btn:focus {
background: #111827 !important;
color: #ffffff !important;
border-color: transparent !important;
}
.playground-chat__send-button--stop.ant-btn {
background: #7f1d1d;
}
.playground-chat__send-button--stop.ant-btn:hover,
.playground-chat__send-button--stop.ant-btn:focus {
background: #991b1b !important;
}
.playground-message {
display: flex;
align-items: flex-end;
gap: 10px;
}
.playground-message--system,
.playground-message--assistant {
justify-content: flex-start;
}
.playground-message--user {
flex-direction: row-reverse;
}
.playground-message__avatar {
flex: 0 0 auto;
}
.playground-message__body {
display: flex;
flex-direction: column;
min-width: 0;
max-width: min(100%, 760px);
}
.playground-message__body--editing {
width: min(100%, 760px);
flex: 0 1 min(100%, 760px);
}
.playground-message__avatar-inner {
box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}
.playground-message__avatar-inner--assistant,
.playground-message__avatar-inner--system {
background: linear-gradient(135deg, #0f766e, #14b8a6) !important;
color: #f8fafc !important;
}
.playground-message__avatar-inner--user {
background: linear-gradient(135deg, #0f172a, #334155) !important;
color: #f8fafc !important;
}
.playground-message__bubble {
width: 100%;
border-radius: 18px;
padding: 14px 16px;
box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
border: 1px solid rgba(148, 163, 184, 0.18);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.98));
}
.playground-message--assistant .playground-message__bubble {
background:
linear-gradient(180deg, rgba(232, 244, 255, 0.95), rgba(240, 249, 255, 0.98));
border-color: rgba(56, 189, 248, 0.26);
}
.playground-message--system .playground-message__bubble {
background:
linear-gradient(180deg, rgba(255, 250, 235, 0.98), rgba(254, 249, 195, 0.72));
border-color: rgba(245, 158, 11, 0.24);
}
.playground-message--user .playground-message__bubble {
background:
linear-gradient(180deg, rgba(15, 118, 110, 0.94), rgba(13, 148, 136, 0.96));
border-color: rgba(15, 118, 110, 0.28);
color: #f8fafc;
}
.playground-message__bubble--loading {
display: inline-flex;
align-items: center;
gap: 10px;
}
.playground-message__head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
margin-bottom: 10px;
}
.playground-message__head .ant-tag {
margin-inline-end: 0;
}
.playground-message__phase {
margin-bottom: 8px;
}
.playground-message__phase .ant-typography {
font-size: 12px;
color: #64748b;
}
.playground-message__thinking {
margin-bottom: 10px;
padding: 10px 12px;
border-radius: 12px;
border: 1px dashed rgba(148, 163, 184, 0.35);
background: rgba(255, 255, 255, 0.45);
}
.playground-message__thinking .ant-typography {
display: block;
margin-bottom: 6px;
font-size: 12px;
}
.playground-message--user .playground-message__head .ant-typography,
.playground-message--user .playground-message__content {
color: #f8fafc;
}
.playground-message__content {
margin: 0;
white-space: pre-wrap;
word-break: break-word;
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
font-size: 12px;
line-height: 1.65;
}
.playground-message__editor {
display: flex;
flex-direction: column;
gap: 10px;
width: 100%;
}
.playground-message__editor-input,
.playground-message__editor-input.ant-input,
.playground-message__editor-input.ant-input-affix-wrapper,
.playground-message__editor .ant-input-textarea,
.playground-message__editor .ant-input-textarea-show-count {
display: block;
width: 100%;
min-width: 0;
}
.playground-message__editor-input.ant-input,
.playground-message__editor .ant-input-textarea textarea.ant-input {
border-radius: 14px;
padding: 10px 12px;
background: rgba(255, 255, 255, 0.94);
color: #0f172a;
width: 100% !important;
min-width: 0;
}
.playground-message__editor-actions {
display: flex;
align-items: center;
gap: 10px;
width: 100%;
}
.playground-message__editor-meta {
display: flex;
flex-wrap: wrap;
gap: 8px;
min-width: 0;
justify-content: flex-start;
flex: 1 1 auto;
}
.playground-message__editor-meta .ant-tag {
margin-inline-end: 0;
}
.playground-message__editor-buttons {
display: flex;
justify-content: flex-end;
gap: 8px;
flex: 0 0 auto;
margin-left: auto;
}
.playground-message__editor-buttons .ant-btn {
border-radius: 999px;
padding-inline: 12px;
font-size: 12px;
line-height: 1;
min-width: 56px;
}
.playground-message__editor-buttons .ant-btn-default {
border-color: rgba(148, 163, 184, 0.3);
color: #475569;
background: rgba(255, 255, 255, 0.82);
}
.playground-message__editor-buttons .ant-btn-default:hover,
.playground-message__editor-buttons .ant-btn-default:focus {
color: #0f172a !important;
border-color: rgba(100, 116, 139, 0.34) !important;
background: rgba(255, 255, 255, 0.92) !important;
}
.playground-message__editor-buttons .ant-btn-primary {
border-color: transparent;
background: linear-gradient(135deg, #0f172a, #334155);
box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
}
.playground-message__editor-buttons .ant-btn-primary:hover,
.playground-message__editor-buttons .ant-btn-primary:focus {
background: linear-gradient(135deg, #020617, #1e293b) !important;
border-color: transparent !important;
}
.playground-message__markdown {
font-size: 13px;
line-height: 1.7;
}
.playground-message__markdown .markdown-renderer {
color: inherit;
}
.playground-message__markdown .markdown-renderer > :last-child {
margin-bottom: 0;
}
.playground-message__markdown .markdown-renderer code {
background: rgba(15, 23, 42, 0.08);
}
.playground-message--assistant .playground-message__markdown .markdown-renderer blockquote {
background: rgba(255, 255, 255, 0.42);
}
.playground-message__meta {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 12px;
}
.playground-message__detail-action {
margin-top: 8px;
}
.playground-message__detail-action .ant-btn {
padding-inline: 0;
}
.playground-message__actions {
display: flex;
align-items: center;
gap: 2px;
margin-top: 6px;
padding-inline: 6px;
}
.playground-message__actions .ant-btn {
color: #64748b;
}
.playground-message__actions .ant-btn:hover {
color: #0f172a !important;
background: rgba(148, 163, 184, 0.12) !important;
}
.playground-tabs,
.playground-tabs .ant-tabs-content-holder,
.playground-tabs .ant-tabs-content,
.playground-tabs .ant-tabs-tabpane {
height: 100%;
min-height: 0;
}
.playground-tabs {
display: flex;
flex-direction: column;
}
.playground-tabs .ant-tabs-nav {
flex: 0 0 auto;
margin-bottom: 12px;
}
.playground-tabs .ant-tabs-content-holder {
flex: 1 1 auto;
overflow: hidden;
}
.playground-tabpane {
height: 100%;
min-height: 0;
overflow: auto;
padding-right: 2px;
scrollbar-width: thin;
scrollbar-color: rgba(148, 163, 184, 0.88) transparent;
}
.playground-tabpane::-webkit-scrollbar {
width: 8px;
height: 8px;
}
.playground-tabpane::-webkit-scrollbar-thumb {
background: rgba(148, 163, 184, 0.82);
border-radius: 999px;
border: 2px solid transparent;
background-clip: padding-box;
}
.playground-tabpane::-webkit-scrollbar-thumb:hover {
background: rgba(100, 116, 139, 0.9);
background-clip: padding-box;
}
.playground-tabpane::-webkit-scrollbar-track {
background: transparent;
}
.playground-form__grid {
display: grid;
gap: 12px;
}
.playground-form__grid--bottom {
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.playground-form__grid .ant-form-item {
min-width: 0;
}
.playground-tabpane .ant-form {
padding-bottom: 4px;
}
.playground-preset-strip {
display: flex;
flex-direction: column;
gap: 10px;
margin-bottom: 16px;
padding: 12px;
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 14px;
background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.playground-preset-strip__actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.playground-preset-strip--chat {
gap: 8px;
margin-bottom: 14px;
}
.playground-preset-strip__actions .ant-tag-checkable {
margin-inline-end: 0;
margin-bottom: 4px;
border-radius: 999px;
padding: 4px 12px;
}
.playground-preset-strip__actions .ant-tag-checkable-checked {
background: linear-gradient(135deg, #0f766e, #14b8a6);
color: #f8fafc;
border-color: transparent;
}
.playground-preset-strip__actions .ant-tag-checkable:not(.ant-tag-checkable-checked) {
background: rgba(15, 118, 110, 0.08);
border-color: rgba(15, 118, 110, 0.16);
color: #0f766e;
}
.playground-form__actions {
display: flex;
gap: 12px;
}
.playground-card--request .ant-form-item {
margin-bottom: 8px;
}
.playground-card--request .ant-form-item-label {
padding-bottom: 4px;
}
.playground-card--request .ant-form-item-label > label {
font-size: 13px;
}
.playground-card--result {
flex: 1 1 auto;
display: flex;
flex-direction: column;
min-height: 0;
}
.playground-card--result .ant-card-body {
flex: 1 1 auto;
min-height: 0;
display: flex;
flex-direction: column;
}
.playground-provider-panel {
display: flex;
flex-direction: column;
gap: 10px;
min-width: 0;
}
.playground-kv {
display: grid;
grid-template-columns: 88px minmax(0, 1fr);
align-items: start;
column-gap: 14px;
row-gap: 4px;
}
.playground-kv > .ant-typography:first-child {
flex: 0 0 auto;
white-space: nowrap;
}
.playground-kv > .ant-typography:last-child,
.playground-kv .playground-status-tags {
min-width: 0;
justify-self: end;
text-align: right;
}
.playground-card--provider .ant-card-body {
padding-top: 18px;
padding-bottom: 16px;
}
.playground-card--provider .playground-kv + .playground-kv {
margin-top: 2px;
}
.playground-kv--top {
align-items: start;
}
.playground-status-tags {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
gap: 8px;
}
.playground-code-block {
white-space: pre-wrap;
word-break: break-all;
}
.playground-note {
border-radius: 12px;
}
.playground-help {
flex: 0 0 auto;
min-height: 0;
border-radius: 16px;
overflow: hidden;
}
.playground-help--collapsed {
flex: 0 0 auto;
}
.playground-help--expanded {
flex: 0 0 auto;
}
.playground-help.ant-collapse {
display: flex;
flex-direction: column;
}
.playground-help > .ant-collapse-item {
display: flex;
flex-direction: column;
min-height: 0;
}
.playground-help .ant-collapse-header {
padding: 14px 20px !important;
align-items: center !important;
flex: 0 0 auto;
}
.playground-help .ant-collapse-content {
flex: 0 0 auto;
min-height: 0;
overflow: visible;
}
.playground-help .ant-collapse-content-box {
height: auto;
overflow: visible;
padding: 12px 16px 16px !important;
}
.playground-help__content {
display: flex;
flex-direction: column;
gap: 12px;
}
.playground-service-modal__body {
display: grid;
gap: 12px;
}
.playground-note.ant-alert {
padding: 10px 12px;
}
.playground-note .ant-alert-icon {
margin-inline-end: 10px;
font-size: 16px;
}
.playground-note .ant-alert-message {
font-size: 13px;
font-weight: 600;
line-height: 1.5;
}
.playground-note .ant-alert-description {
font-size: 12px;
margin-top: 6px;
line-height: 1.5;
}
.playground-result__loading {
flex: 1 1 auto;
min-height: 180px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 12px;
}
.playground-result__stack {
flex: 1 1 auto;
min-height: 0;
}
.playground-result__meta {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 8px;
}
.playground-result__meta-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.playground-result__descriptions .ant-descriptions-view {
border-radius: 14px;
overflow: hidden;
}
.playground-result__content,
.playground-result__blocks .ant-card {
border-radius: 14px;
background: #0f172a;
color: #e2e8f0;
}
.playground-result__content {
flex: 1 1 auto;
min-height: 0;
padding: 16px;
overflow: auto;
scrollbar-width: thin;
scrollbar-color: rgba(148, 163, 184, 0.88) transparent;
}
.playground-result__content pre,
.playground-result__blocks pre {
margin: 0;
white-space: pre-wrap;
word-break: break-word;
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
line-height: 1.6;
}
.playground-result__blocks {
flex: 0 0 auto;
display: flex;
flex-direction: column;
gap: 12px;
}
.playground-chat__messages::-webkit-scrollbar {
width: 8px;
}
.playground-chat__messages::-webkit-scrollbar-thumb {
background: rgba(148, 163, 184, 0.82);
border-radius: 999px;
border: 2px solid transparent;
background-clip: padding-box;
}
.playground-chat__messages::-webkit-scrollbar-track {
background: transparent;
}
.playground-result__blocks-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.playground-result__blocks-scroll {
max-height: 180px;
overflow: auto;
display: flex;
flex-direction: column;
gap: 12px;
scrollbar-width: thin;
scrollbar-color: rgba(148, 163, 184, 0.88) transparent;
}
.playground-result__blocks-scroll--raw {
max-height: 240px;
}
.playground-result-modal .ant-modal-content {
overflow: hidden;
}
.playground-result-modal__body {
display: flex;
flex-direction: column;
gap: 14px;
height: min(76vh, 760px);
min-height: 0;
}
.playground-result-modal__head {
flex: 0 0 auto;
display: grid;
gap: 12px;
}
.playground-result-modal__content {
flex: 1 1 auto;
min-height: 0;
padding-right: 6px;
}
.playground-result-modal__content .scrollbar__viewport {
height: 100%;
overflow: auto;
}
.playground-result__blocks-scroll .scrollbar__viewport {
height: 100%;
overflow: auto;
}
.playground-result__blocks-scroll.scrollbar {
min-height: 0;
}
@media (max-width: 1200px) {
.playground-page__header {
align-items: flex-start;
}
.playground-form__grid--bottom {
grid-template-columns: 1fr;
}
.playground-shell {
flex-direction: column;
}
.playground-chat__service-btn {
display: inline-flex;
}
.playground-shell__sidebar {
display: none;
}
.playground-result__meta,
.playground-result__blocks-head {
align-items: stretch;
flex-direction: column;
}
.playground-chat__actions {
align-items: center;
flex-direction: row;
justify-content: space-between;
gap: 10px;
}
.playground-chat__hints {
flex: 1 1 auto;
min-width: 0;
}
.playground-chat__send-button.ant-btn {
margin-left: auto;
flex: 0 0 auto;
}
}
.data-source-tabs-shell,
.data-source-tabs,
.data-source-tabs .ant-tabs-content-holder,
.data-source-tabs .ant-tabs-content,
.data-source-tabs .ant-tabs-tabpane {
min-width: 0;
min-height: 0;
height: 100%;
}
.data-source-tabs-shell {
flex: 1 1 auto;
display: flex;
flex-direction: column;
}
.data-source-tabs {
flex: 1 1 auto;
display: flex;
flex-direction: column;
}
.data-source-tabs .ant-tabs-nav {
flex: 0 0 auto;
margin-bottom: 12px;
}
.data-source-tabs .ant-tabs-content-holder {
flex: 1 1 auto;
display: flex;
flex-direction: column;
overflow: hidden;
}
.data-source-tabs .ant-tabs-content {
flex: 1 1 auto;
display: flex;
flex-direction: column;
}
.data-source-tabs .ant-tabs-tabpane {
display: flex;
flex-direction: column;
overflow: hidden;
}
.data-source-tabs .ant-tabs-tabpane-hidden {
display: none !important;
}
.data-source-custom-tab {
gap: 12px;
}
.data-source-builtin-tab {
gap: 12px;
}
.data-source-custom-toolbar {
flex: 0 0 auto;
display: flex;
justify-content: flex-end;
}
.data-source-bulk-toolbar {
flex: 0 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 14px 16px;
border-radius: 14px;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 247, 250, 0.96) 100%);
border: 1px solid rgba(5, 5, 5, 0.08);
box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}
.data-source-bulk-toolbar__meta {
flex: 1 1 auto;
min-width: 0;
display: flex;
flex-direction: column;
gap: 8px;
}
.data-source-bulk-toolbar__title {
font-size: 15px;
font-weight: 600;
color: #1f1f1f;
}
.data-source-bulk-toolbar__stats {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.data-source-bulk-toolbar__stat-pill {
display: inline-flex;
align-items: baseline;
gap: 8px;
padding: 6px 10px;
border: 1px solid #e5e7eb;
border-radius: 999px;
background: #ffffff;
color: #475467;
line-height: 1;
}
.data-source-bulk-toolbar__stat-pill strong {
color: #111827;
font-size: 13px;
font-weight: 700;
}
.data-source-bulk-toolbar__stat-label {
font-size: 12px;
color: #667085;
}
.data-source-bulk-toolbar__stat-pill--success {
border-color: #b7eb8f;
background: #f6ffed;
}
.data-source-bulk-toolbar__stat-pill--success strong {
color: #237804;
}
.data-source-bulk-toolbar__stat-pill--danger {
border-color: #ffccc7;
background: #fff2f0;
}
.data-source-bulk-toolbar__stat-pill--danger strong {
color: #cf1322;
}
.data-source-bulk-toolbar__progress {
display: flex;
flex-direction: column;
gap: 8px;
max-width: 520px;
}
.data-source-bulk-toolbar__progress-copy {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 12px;
color: #595959;
font-size: 13px;
}
.data-source-bulk-toolbar__progress-copy strong {
color: #1677ff;
font-size: 18px;
line-height: 1;
}
.data-source-table-region {
flex: 1 1 auto;
min-height: 0;
overflow: hidden;
}
.data-source-table-region .ant-table-wrapper,
.data-source-table-region .ant-spin-nested-loading,
.data-source-table-region .ant-spin-container,
.data-source-table-region .ant-table,
.data-source-table-region .ant-table-container,
.data-source-table-region .ant-table-body {
height: 100%;
min-height: 0;
}
/* users table: flex-fill approach so overlay x-track aligns with table bottom */
.users-table-region .ant-table-container {
display: flex;
flex-direction: column;
height: 100%;
min-height: 0;
}
.users-table-region .ant-table-header {
flex: 0 0 auto;
}
.users-table-region .ant-table-body {
flex: 1 1 auto;
min-height: 0;
height: 0 !important;
max-height: none !important;
}
.data-source-table-region .ant-table-wrapper,
.data-source-table-region .ant-spin-nested-loading,
.data-source-table-region .ant-spin-container {
display: flex;
flex-direction: column;
}
.data-source-empty-state {
flex: 1 1 auto;
min-height: 0;
display: flex;
align-items: center;
justify-content: center;
background: white;
border-radius: 12px;
}
.data-source-drawer-collapse {
margin-bottom: 12px;
}
.data-source-drawer-collapse:last-of-type {
margin-bottom: 0;
}
.stat-card {
background: white;
padding: 24px;
border-radius: 8px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.stat-card h3 {
color: #8c8c8c;
font-size: 14px;
margin-bottom: 8px;
}
.stat-card .value {
color: #262626;
font-size: 32px;
font-weight: 600;
}
.stat-card .trend {
font-size: 12px;
margin-top: 8px;
}
.stat-card .trend.up {
color: #52c41a;
}
.stat-card .trend.down {
color: #ff4d4f;
}
/* Table cell fixed width */
.ant-table-wrapper .ant-table-tbody > tr > td {
max-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.ant-table-wrapper {
width: 100%;
}
.ant-table-wrapper .ant-table-container,
.ant-table-wrapper .ant-table-content,
.ant-table-wrapper .ant-table-body {
overflow-x: auto !important;
}
.table-scroll-region {
position: relative;
width: 100%;
max-width: 100%;
min-width: 0;
overflow: hidden;
}
.table-scroll-region .ant-table-wrapper {
width: 100%;
min-width: 0;
}
.table-scroll-region .ant-table {
min-width: 100%;
}
.table-scroll-region .ant-table-thead > tr > th,
.table-scroll-region .ant-table-tbody > tr > td {
padding: 10px 12px !important;
}
.table-scroll-region .ant-table-body,
.table-scroll-region .ant-table-content {
scrollbar-width: none;
-ms-overflow-style: none;
}
.table-scroll-region .ant-table-body::-webkit-scrollbar,
.table-scroll-region .ant-table-content::-webkit-scrollbar {
width: 0;
height: 0;
}
.scrollbar--overlay {
position: absolute;
inset: 0;
z-index: 3;
pointer-events: none;
}
.scrollbar--overlay .scrollbar__track--y {
right: 2px;
}
.scrollbar--overlay .scrollbar__track--x {
bottom: 2px;
}
.bgp-page {
min-height: 0;
}
.bgp-page__header {
align-items: flex-start;
}
.bgp-page__body {
gap: 10px;
}
.bgp-page__body > .ant-space,
.bgp-page__stack {
flex: 1 1 auto;
display: flex;
flex-direction: column;
overflow: hidden;
min-width: 0;
min-height: 0;
}
.bgp-page__stack > .ant-space-item:first-child,
.bgp-page__stack > .ant-space-item:nth-child(2) {
flex: 0 0 auto;
}
.bgp-page__stack > .ant-space-item:last-child {
flex: 1 1 auto;
min-width: 0;
min-height: 0;
display: flex;
}
.bgp-page__alert .ant-alert {
padding: 8px 12px;
}
.bgp-page__alert .ant-alert-message {
font-size: 13px;
}
.bgp-page__brief-tabpane {
width: 100%;
height: 100%;
min-height: 0;
overflow: auto;
padding-right: 4px;
scrollbar-width: thin;
scrollbar-color: rgba(148, 163, 184, 0.88) transparent;
}
.bgp-page__brief-tabpane::-webkit-scrollbar {
width: 8px;
}
.bgp-page__brief-tabpane::-webkit-scrollbar-thumb {
border-radius: 999px;
background: rgba(148, 163, 184, 0.88);
}
.bgp-page__brief-tabpane::-webkit-scrollbar-track {
background: transparent;
}
.bgp-page__brief-card {
display: block;
}
.bgp-page__brief-body {
display: grid;
gap: 12px;
}
.bgp-page__brief-head {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
}
.bgp-page__brief-actions {
display: flex;
align-items: center;
gap: 12px;
margin-left: auto;
min-width: 0;
}
.bgp-page__brief-select {
width: 320px;
min-width: 240px;
}
.bgp-page__brief-buttons {
display: flex;
align-items: center;
flex: 0 0 auto;
gap: 12px;
}
.bgp-page__brief-subtitle {
margin-top: 4px;
color: rgba(0, 0, 0, 0.45);
font-size: 13px;
line-height: 1.5;
}
.alerts-page__body {
overflow: hidden;
}
.alerts-page__tabs,
.alerts-page__tabs .ant-tabs-content-holder,
.alerts-page__tabs .ant-tabs-content,
.alerts-page__tabs .ant-tabs-tabpane {
min-width: 0;
min-height: 0;
width: 100%;
height: 100%;
}
.alerts-page__tabs {
display: flex;
flex-direction: column;
}
.alerts-page__tabs .ant-tabs-nav {
flex: 0 0 auto;
margin-bottom: 8px;
}
.alerts-page__tabs .ant-tabs-content-holder {
flex: 1 1 auto;
overflow: hidden;
}
.alerts-page__tabs .ant-tabs-tabpane {
display: flex;
flex-direction: column;
overflow: hidden;
}
.alerts-tab-panel {
flex: 1 1 auto;
min-width: 0;
min-height: 0;
height: 100%;
display: flex;
flex-direction: column;
overflow: hidden;
padding-right: 4px;
scrollbar-width: thin;
scrollbar-color: rgba(148, 163, 184, 0.88) transparent;
}
.alerts-tab-panel__head {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
}
.alerts-tab-panel__subtitle {
margin-top: 4px;
color: rgba(0, 0, 0, 0.45);
font-size: 13px;
line-height: 1.5;
}
@media (max-width: 960px) {
.alerts-tab-panel__head {
flex-direction: column;
align-items: stretch;
}
.bgp-page__brief-head {
flex-direction: column;
}
.bgp-page__brief-actions {
width: 100%;
margin-left: 0;
}
.bgp-page__brief-select {
flex: 1 1 auto;
width: auto;
}
}
.bgp-page__brief-loading,
.bgp-page__brief-empty {
min-height: 72px;
display: flex;
align-items: center;
gap: 12px;
}
.bgp-page__brief-card > * + * {
margin-top: 14px;
}
.bgp-page__brief-facts {
display: grid;
gap: 8px;
}
.bgp-page__brief-fact-list {
display: grid;
gap: 8px;
}
.bgp-page__brief-fact-item {
display: flex;
align-items: flex-start;
gap: 8px;
}
.bgp-page__brief-meta .ant-descriptions-view {
background: #f7f8fa;
border-radius: 12px;
padding: 8px 12px;
}
.bgp-page__brief-modal-body {
display: grid;
gap: 14px;
max-height: calc(100vh - 180px);
padding-right: 6px;
}
.bgp-page__brief-modal-body .scrollbar__viewport {
overflow: auto;
}
.bgp-page__brief-evidence {
display: grid;
gap: 12px;
}
.bgp-page__brief-evidence-card {
border-radius: 12px;
}
.alerts-brief-drawer {
display: flex;
flex-direction: column;
gap: 12px;
}
.alerts-brief-drawer .scrollbar__viewport {
overflow: auto;
}
.alerts-brief-drawer__loading {
min-height: 160px;
display: flex;
align-items: center;
justify-content: center;
}
.alerts-brief-fact {
display: flex;
align-items: flex-start;
gap: 8px;
}
.alerts-brief-content {
white-space: pre-wrap;
margin-bottom: 0 !important;
}
.system-alerts-page__body,
.bgp-alerts-page__body,
.situational-alerts-page__body {
overflow: hidden;
}
.system-alerts-page__stack,
.bgp-alerts-page__stack,
.situational-alerts-page__stack {
flex: 1 1 auto;
min-width: 0;
min-height: 0;
width: 100%;
display: flex;
flex-direction: column;
overflow: hidden;
}
.alerts-tab-panel > .ant-space-item,
.system-alerts-page__stack > .ant-space-item,
.bgp-alerts-page__stack > .ant-space-item,
.situational-alerts-page__stack > .ant-space-item {
min-width: 0;
}
.alerts-tab-panel > .ant-space-item:last-child,
.system-alerts-page__stack > .ant-space-item:last-child,
.bgp-alerts-page__stack > .ant-space-item:last-child,
.situational-alerts-page__stack > .ant-space-item:last-child {
flex: 1 1 auto;
min-height: 0;
}
.system-alerts-page__table-card,
.bgp-alerts-page__table-card {
flex: 1 1 auto;
min-width: 0;
min-height: 0;
}
.system-alerts-page__table-card .ant-card-body,
.bgp-alerts-page__table-card .ant-card-body {
min-width: 0;
min-height: 0;
height: 100%;
display: flex;
flex-direction: column;
overflow: hidden;
}
.system-alerts-page__table-region,
.bgp-alerts-page__table-region {
flex: 1 1 auto;
min-width: 0;
min-height: 0;
}
.bgp-alerts-page__tabs {
min-width: 0;
min-height: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
}
.bgp-alerts-page__tabs .ant-tabs-content-holder {
flex: 1 1 auto;
min-width: 0;
min-height: 0;
overflow: hidden;
}
.bgp-alerts-page__tabs .ant-tabs-content,
.bgp-alerts-page__tabs .ant-tabs-tabpane {
min-width: 0;
min-height: 0;
width: 100%;
height: 100%;
}
.bgp-page__brief-modal {
max-width: min(920px, calc(100vw - 32px));
}
.bgp-page__brief-modal .ant-modal-content {
max-height: calc(100vh - 48px);
overflow: hidden;
}
.bgp-page__brief-modal .ant-modal-body {
overflow: hidden;
}
.bgp-page__brief-modal-body::-webkit-scrollbar {
width: 8px;
}
.bgp-page__brief-modal-body::-webkit-scrollbar-thumb {
border-radius: 999px;
background: rgba(148, 163, 184, 0.88);
}
.bgp-page__brief-modal-body::-webkit-scrollbar-track {
background: transparent;
}
@media (max-width: 768px) {
.bgp-page__brief-modal {
max-width: calc(100vw - 20px);
}
.bgp-page__brief-modal .ant-modal-content {
max-height: calc(100vh - 20px);
}
.bgp-page__brief-modal-body {
max-height: calc(100vh - 156px);
}
}
.markdown-renderer {
color: #262626;
font-size: 13px;
line-height: 1.7;
}
.markdown-renderer > :first-child {
margin-top: 0;
}
.markdown-renderer > :last-child {
margin-bottom: 0;
}
.markdown-renderer h1,
.markdown-renderer h2,
.markdown-renderer h3,
.markdown-renderer h4 {
margin: 1.2em 0 0.5em;
color: #111827;
font-weight: 600;
line-height: 1.4;
}
.markdown-renderer h1 {
font-size: 24px;
}
.markdown-renderer h2 {
font-size: 19px;
}
.markdown-renderer h3 {
font-size: 16px;
}
.markdown-renderer p,
.markdown-renderer ul,
.markdown-renderer ol,
.markdown-renderer blockquote,
.markdown-renderer pre,
.markdown-renderer hr,
.markdown-renderer__table-wrap {
margin: 0 0 0.9em;
}
.markdown-renderer ul,
.markdown-renderer ol {
padding-left: 1.4em;
}
.markdown-renderer li + li {
margin-top: 0.25em;
}
.markdown-renderer blockquote {
padding: 10px 14px;
border-left: 3px solid #91caff;
border-radius: 0 10px 10px 0;
background: rgba(230, 244, 255, 0.8);
color: #1f2937;
}
.markdown-renderer pre {
overflow: auto;
padding: 12px 14px;
border-radius: 10px;
background: #0f172a;
color: #e2e8f0;
}
.markdown-renderer hr {
border: 0;
border-top: 1px solid rgba(15, 23, 42, 0.12);
}
.markdown-renderer__table-wrap {
overflow-x: auto;
}
.markdown-renderer__table {
width: 100%;
border-collapse: collapse;
min-width: 520px;
font-size: 13px;
background: rgba(255, 255, 255, 0.96);
border: 1px solid rgba(15, 23, 42, 0.08);
border-radius: 10px;
}
.markdown-renderer__table th,
.markdown-renderer__table td {
padding: 10px 12px;
text-align: left;
vertical-align: top;
border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.markdown-renderer__table th {
font-weight: 600;
color: #111827;
background: rgba(248, 250, 252, 0.95);
}
.markdown-renderer__table tbody tr:last-child td {
border-bottom: 0;
}
.markdown-renderer code {
padding: 0.08em 0.32em;
border-radius: 6px;
background: rgba(15, 23, 42, 0.08);
font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
font-size: 0.92em;
}
.markdown-renderer pre code {
padding: 0;
background: transparent;
color: inherit;
}
.markdown-renderer a {
color: #1677ff;
text-decoration: none;
}
.markdown-renderer a:hover {
text-decoration: underline;
}
.bgp-page__summary-card .ant-card-body {
padding: 10px 12px;
}
.bgp-page__summary-item {
min-height: 64px;
padding: 8px 10px;
border-radius: 10px;
background: #f7f8fa;
border: 1px solid #eef1f5;
}
.bgp-page__summary-label {
margin-bottom: 4px;
color: rgba(0, 0, 0, 0.45);
font-size: 12px;
line-height: 1.2;
}
.bgp-page__summary-stat.ant-statistic {
line-height: 1;
}
.bgp-page__summary-stat .ant-statistic-content {
font-size: 24px;
line-height: 1.1;
}
.bgp-page__summary-stat .ant-statistic-content-value {
line-height: 1;
}
.bgp-page__summary-scroll.scrollbar,
.alerts-summary-scroll.scrollbar {
overflow: hidden;
}
.bgp-page__summary-scroll .scrollbar__viewport,
.alerts-summary-scroll .scrollbar__viewport {
overflow-x: auto;
overflow-y: hidden;
padding-bottom: 4px;
}
.bgp-page__summary-grid,
.alerts-summary-grid {
display: flex;
flex-wrap: nowrap !important;
min-width: max-content;
}
.bgp-page__summary-cell,
.alerts-summary-cell {
flex: 0 0 auto;
}
.situational-alerts-page__summary-grid {
display: flex;
flex-wrap: nowrap;
min-width: max-content;
}
.situational-alerts-page__panels-grid {
display: flex;
min-width: max-content;
}
.situational-alerts-page__panels-scroll .scrollbar__viewport {
overflow-x: auto;
overflow-y: hidden;
padding-bottom: 4px;
}
@media (max-width: 1200px) {
.situational-alerts-page__summary-grid {
display: grid;
grid-template-columns: repeat(2, minmax(220px, 1fr));
min-width: 0;
width: 100%;
}
.situational-alerts-page__summary-grid .alerts-summary-cell {
width: auto !important;
}
}
@media (max-width: 560px) {
.situational-alerts-page__summary-grid {
display: flex;
flex-wrap: nowrap;
width: auto;
min-width: max-content;
}
.situational-alerts-page__summary-grid .alerts-summary-cell {
width: 220px !important;
}
}
.bgp-page__table-card,
.bgp-page__table-card .ant-card-body {
min-width: 0;
min-height: 0;
width: 100%;
height: 100%;
}
.bgp-page__table-card {
flex: 1 1 55%;
min-height: 55%;
}
.bgp-page__table-card .ant-card-body {
display: flex;
flex-direction: column;
padding: 10px 12px;
overflow: hidden;
}
.bgp-page__table-region {
flex: 1 1 auto;
min-width: 0;
min-height: 0;
width: 100%;
height: 100%;
}
.bgp-page__tabs,
.bgp-page__tabs .ant-tabs-content-holder,
.bgp-page__tabs .ant-tabs-content,
.bgp-page__tabs .ant-tabs-tabpane {
min-width: 0;
min-height: 0;
width: 100%;
height: 100%;
}
.bgp-page__tabs {
display: flex;
flex-direction: column;
}
.bgp-page__tabs .ant-tabs-nav {
flex: 0 0 auto;
margin-bottom: 8px;
}
.bgp-page__tabs .ant-tabs-content-holder {
flex: 1 1 auto;
overflow: hidden;
}
.bgp-page__tabs .ant-tabs-tabpane {
display: flex;
flex-direction: column;
overflow: hidden;
}
.bgp-page__tabs .ant-tabs-tabpane-hidden {
display: none;
}
.bgp-page__tabs .ant-table-wrapper {
flex: 1 1 auto;
min-width: 0;
min-height: 0;
width: 100%;
}
.bgp-page__tabs .ant-spin-nested-loading,
.bgp-page__tabs .ant-spin-container,
.bgp-page__tabs .ant-table,
.bgp-page__tabs .ant-table-container {
display: flex;
flex-direction: column;
flex: 1 1 auto;
min-width: 0;
min-height: 0;
width: 100%;
height: 100%;
}
.bgp-page__tabs .ant-table-container,
.bgp-page__tabs .ant-table-content,
.bgp-page__tabs .ant-table-body {
overflow-x: auto !important;
}
.bgp-page__tabs .ant-table-header {
flex: 0 0 auto;
}
.bgp-page__tabs .ant-table-body {
flex: 1 1 auto;
min-height: 0;
height: 0 !important;
max-height: none !important;
}
.bgp-page--compact .page-shell__body {
gap: 8px;
}
.bgp-page--compact .bgp-page__alert .ant-alert {
padding: 6px 10px;
}
.bgp-page--compact .bgp-page__alert .ant-alert-message {
font-size: 12px;
}
.bgp-page--compact .bgp-page__summary-card .ant-card-body {
padding: 10px 12px;
}
.bgp-page--compact .bgp-page__brief-head {
flex-direction: column;
align-items: stretch;
}
.bgp-page--compact .bgp-page__brief-actions,
.bgp-page--compact .bgp-page__brief-select {
width: 100%;
}
.bgp-page--compact .bgp-page__summary-item {
min-height: 64px;
padding: 8px 10px;
}
.bgp-page--compact .bgp-page__summary-label {
margin-bottom: 4px;
font-size: 12px;
}
.bgp-page--compact .bgp-page__summary-stat .ant-statistic-content {
font-size: 24px;
}
.bgp-page--compact .bgp-page__table-card .ant-card-body {
padding: 8px 10px;
}
.bgp-page--compact .bgp-page__tabs .ant-tabs-nav {
margin-bottom: 6px;
}
.bgp-page--compact .bgp-page__tabs .ant-tabs-tab {
padding-top: 6px;
padding-bottom: 6px;
}
.bgp-page--compact .bgp-page__tabs .ant-table-thead > tr > th {
font-size: 12px;
line-height: 1.2;
}
.bgp-page--compact .table-scroll-region .ant-table-thead > tr > th,
.bgp-page--compact .table-scroll-region .ant-table-tbody > tr > td {
padding: 6px 8px !important;
}
.data-list-controls-shell {
scrollbar-width: thin;
scrollbar-color: rgba(148, 163, 184, 0.82) transparent;
}
.data-list-controls-shell::-webkit-scrollbar {
width: 8px;
height: 8px;
}
.data-list-controls-shell::-webkit-scrollbar-thumb {
background: rgba(148, 163, 184, 0.82);
border-radius: 999px;
border: 2px solid transparent;
background-clip: padding-box;
}
.data-list-controls-shell::-webkit-scrollbar-thumb:hover {
background: rgba(100, 116, 139, 0.9);
background-clip: padding-box;
}
.data-list-controls-shell::-webkit-scrollbar-track {
background: transparent;
}
.settings-shell,
.settings-tabs-shell,
.settings-tabs,
.settings-tabs .ant-tabs-content-holder,
.settings-tabs .ant-tabs-content,
.settings-tabs .ant-tabs-tabpane {
min-width: 0;
min-height: 0;
height: 100%;
}
.settings-tabs-shell {
overflow: hidden;
}
.settings-tabs {
display: flex;
flex-direction: column;
}
.settings-tabs .ant-tabs-nav {
flex: 0 0 auto;
margin-bottom: 12px;
}
.settings-tabs .ant-tabs-content-holder,
.settings-tabs .ant-tabs-content,
.settings-tabs .ant-tabs-tabpane {
display: flex;
flex-direction: column;
overflow: hidden;
}
.settings-tabs .ant-tabs-tabpane-hidden {
display: none !important;
}
.settings-pane {
flex: 1 1 auto;
min-width: 0;
min-height: 0;
height: 100%;
display: flex;
flex-direction: column;
}
.settings-panel-card,
.settings-panel-card .ant-card-body {
min-width: 0;
min-height: 0;
height: 100%;
}
.settings-panel-card {
flex: 1 1 auto;
}
.settings-panel-card .ant-card-body {
display: flex;
flex-direction: column;
overflow: hidden;
}
.settings-panel-scroll {
flex: 1 1 auto;
min-height: 0;
padding-right: 6px;
}
.settings-panel-scroll.scrollbar {
overflow: hidden;
}
.settings-panel-scroll .scrollbar__viewport {
overflow-y: auto;
overflow-x: hidden;
scrollbar-gutter: stable;
}
.settings-panel-scroll .scrollbar__viewport > * {
min-width: 0;
}
.settings-pane .data-source-table-region .ant-table-container {
display: flex;
flex-direction: column;
height: 100%;
min-height: 0;
}
.settings-pane .data-source-table-region .ant-table-header {
flex: 0 0 auto;
}
.settings-pane .data-source-table-region .ant-table-body {
flex: 1 1 auto;
min-height: 0;
height: 0 !important;
max-height: none !important;
}
.settings-tv-edit-modal .ant-modal-content {
overflow: hidden;
}
.settings-tv-edit-modal__body {
display: flex;
flex-direction: column;
height: min(80vh, 640px);
min-height: 0;
padding: 16px 0 0 24px;
}
.settings-tv-edit-modal__scroll {
flex: 1 1 auto;
min-height: 0;
padding-right: 20px;
}
.data-list-workspace {
min-height: 0;
display: flex;
flex-direction: column;
gap: 12px;
overflow: hidden;
}
.data-list-topbar {
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
flex: 0 0 auto;
}
.data-list-controls-shell {
flex: 1 1 auto;
min-height: 0;
}
.data-list-split-layout {
height: 100%;
min-height: 0;
display: grid;
grid-template-columns: minmax(280px, 0.95fr) 12px minmax(0, 1fr);
gap: 0;
}
.data-list-summary-card,
.data-list-table-shell {
min-width: 0;
min-height: 0;
}
.data-list-summary-card--panel,
.data-list-summary-card--panel .ant-card-body {
height: 100%;
}
.data-list-summary-card--panel .ant-card-body {
overflow-y: auto;
overflow-x: hidden;
scrollbar-gutter: stable;
scrollbar-width: thin;
scrollbar-color: rgba(148, 163, 184, 0.82) transparent;
}
.data-list-summary-card .ant-card-head,
.data-list-table-shell .ant-card-head {
padding-inline: 16px;
}
.data-list-summary-card .ant-card-body {
overflow: auto;
}
.data-list-summary-card-inner {
min-height: 100%;
display: flex;
flex-direction: column;
gap: 12px;
}
.data-list-summary-kpis {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.data-list-summary-kpi {
display: flex;
flex-direction: column;
gap: 8px;
min-width: 0;
padding: 12px;
border-radius: 14px;
background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
border: 1px solid rgba(148, 163, 184, 0.22);
}
.data-list-summary-kpi__head,
.data-list-summary-section-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
min-width: 0;
}
.data-list-summary-section-head {
margin-top: 4px;
}
.data-list-right-column {
min-width: 0;
min-height: 0;
height: 100%;
display: flex;
flex-direction: column;
}
.data-list-summary-treemap {
--data-list-treemap-tile-padding: 12px;
--data-list-treemap-label-size: 12px;
--data-list-treemap-value-size: 16px;
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
grid-auto-rows: minmax(56px, 1fr);
grid-auto-flow: dense;
gap: 10px;
}
.data-list-treemap-tile {
min-width: 0;
min-height: 0;
display: flex;
flex-direction: column;
justify-content: flex-start;
gap: 6px;
padding: var(--data-list-treemap-tile-padding);
border-radius: 16px;
border: 1px solid rgba(255, 255, 255, 0.55);
color: #0f172a;
overflow: hidden;
}
.data-list-treemap-tile--compact {
align-items: center;
justify-content: center;
gap: 8px;
text-align: center;
}
.data-list-treemap-tile--compact .data-list-treemap-head {
justify-content: center;
}
.data-list-treemap-tile--compact .data-list-treemap-body {
margin-top: 0;
align-items: center;
}
.data-list-treemap-tile--ocean {
background: linear-gradient(135deg, #dbeafe 0%, #93c5fd 100%);
}
.data-list-treemap-tile--sky {
background: linear-gradient(135deg, #e0f2fe 0%, #7dd3fc 100%);
}
.data-list-treemap-tile--mint {
background: linear-gradient(135deg, #dcfce7 0%, #86efac 100%);
}
.data-list-treemap-tile--amber {
background: linear-gradient(135deg, #fef3c7 0%, #fcd34d 100%);
}
.data-list-treemap-tile--rose {
background: linear-gradient(135deg, #ffe4e6 0%, #fda4af 100%);
}
.data-list-treemap-tile--violet {
background: linear-gradient(135deg, #ede9fe 0%, #c4b5fd 100%);
}
.data-list-treemap-tile--slate {
background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 100%);
}
.data-list-treemap-head {
display: flex;
align-items: center;
gap: 6px;
min-width: 0;
flex: 0 0 auto;
}
.data-list-treemap-label {
min-width: 0;
font-size: var(--data-list-treemap-label-size);
line-height: 1.2;
color: rgba(15, 23, 42, 0.78);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.data-list-treemap-body {
display: flex;
flex-direction: column;
gap: 2px;
margin-top: auto;
min-height: 0;
flex: 0 0 auto;
}
.data-list-summary-tile-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 22px;
height: 22px;
border-radius: 8px;
background: rgba(255, 255, 255, 0.55);
color: #0f172a;
flex: 0 0 auto;
}
.data-list-summary-tile-value {
font-size: var(--data-list-treemap-value-size);
line-height: 1.1;
color: #0f172a;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.data-list-treemap-meta {
color: rgba(15, 23, 42, 0.72) !important;
}
.data-list-summary-empty {
grid-column: 1 / -1;
display: flex;
align-items: center;
justify-content: center;
min-height: 140px;
border-radius: 14px;
background: rgba(248, 250, 252, 0.8);
border: 1px dashed rgba(148, 163, 184, 0.35);
}
.data-list-summary-card--panel .ant-card-body::-webkit-scrollbar {
width: 8px;
height: 8px;
}
.data-list-summary-card--panel .ant-card-body::-webkit-scrollbar-thumb {
background: rgba(148, 163, 184, 0.82);
border-radius: 999px;
border: 2px solid transparent;
background-clip: padding-box;
}
.data-list-summary-card--panel .ant-card-body::-webkit-scrollbar-track {
background: transparent;
}
.data-list-filter-grid {
min-width: 0;
display: flex;
flex-wrap: nowrap;
gap: 10px;
align-items: flex-start;
}
.data-list-filter-grid--balanced > * {
flex: 1 1 0;
min-width: 0;
}
.data-list-filter-grid--header {
padding-bottom: 4px;
}
.data-list-table-shell {
min-height: 0;
display: flex;
flex-direction: column;
}
.data-list-table-shell .ant-card-body {
min-height: 0;
height: 100%;
display: flex;
flex-direction: column;
}
.data-list-table-header {
padding: 12px 14px 0 14px;
flex: 0 0 auto;
}
.data-list-table-header--with-filters {
display: flex;
flex-direction: column;
gap: 10px;
}
.data-list-table-header-main {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.data-list-table-region {
flex: 1 1 auto;
min-height: 0;
overflow: visible;
}
.data-list-table-region .ant-table-wrapper,
.data-list-table-region .ant-spin-nested-loading,
.data-list-table-region .ant-spin-container {
height: 100%;
min-height: 0;
}
.data-list-table-region .ant-table-wrapper {
display: flex;
flex-direction: column;
}
.data-list-table-region .ant-spin-nested-loading,
.data-list-table-region .ant-spin-container {
display: flex;
flex-direction: column;
}
.data-list-table-region .ant-table {
flex: 1 1 auto;
}
.data-list-table-region .ant-table-pagination {
flex: 0 0 auto;
margin: 12px 0 0;
}
.data-list-name-link {
max-width: 100%;
display: inline-flex;
align-items: center;
justify-content: flex-start;
padding-inline: 0 !important;
}
.data-list-name-marquee {
display: block;
max-width: 100%;
overflow: hidden;
white-space: nowrap;
}
.data-list-name-marquee--overflow {
width: 100%;
}
.data-list-name-marquee__text {
display: inline-block;
max-width: 100%;
white-space: nowrap;
transform: translateX(0);
will-change: transform;
}
.data-list-name-link:hover .data-list-name-marquee--overflow .data-list-name-marquee__text {
animation: data-list-name-marquee 8s linear infinite;
}
@keyframes data-list-name-marquee {
from {
transform: translateX(0);
}
to {
transform: translateX(-100%);
}
}
.data-list-resize-handle {
position: relative;
display: flex;
align-items: center;
justify-content: center;
user-select: none;
touch-action: none;
}
.data-list-resize-handle::before {
content: '';
display: block;
border-radius: 999px;
background: #d0d7e2;
transition: background-color 0.2s ease, transform 0.2s ease;
}
.data-list-resize-handle:hover::before {
background: #8fb4ff;
}
.data-list-resize-handle--vertical {
cursor: col-resize;
}
.data-list-resize-handle--vertical::before {
width: 4px;
height: 56px;
}
.data-list-resize-handle--horizontal {
cursor: row-resize;
}
.data-list-resize-handle--horizontal::before {
width: 56px;
height: 4px;
}
@media (min-width: 1201px) and (orientation: landscape) {
.data-list-summary-treemap {
grid-auto-rows: minmax(48px, 1fr);
}
.data-list-treemap-tile {
padding: 10px 12px;
}
.data-list-summary-tile-value {
font-size: 15px;
}
}
@media (max-width: 1200px) {
.data-list-summary-treemap {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.data-list-split-layout {
grid-template-columns: minmax(240px, 0.9fr) 12px minmax(0, 1fr);
}
}
@media (max-width: 992px) {
.dashboard-content {
padding: 12px;
}
.bgp-page__body {
gap: 10px;
}
.bgp-page__summary-card .ant-card-body {
padding: 8px 10px;
}
.bgp-page__summary-item {
min-height: 54px;
}
.bgp-page__table-card .ant-card-body {
padding: 8px 10px;
}
.data-list-workspace {
gap: 10px;
}
.data-list-controls-shell {
overflow-y: auto;
overflow-x: hidden;
min-height: 0;
scrollbar-gutter: stable;
}
.data-list-topbar {
align-items: flex-start;
flex-direction: column;
gap: 8px;
}
.data-list-split-layout {
grid-template-columns: 1fr;
gap: 10px;
height: auto;
}
.data-list-right-column {
grid-template-rows: auto auto;
gap: 10px;
height: auto;
}
.data-list-summary-card--panel,
.data-list-summary-card--panel .ant-card-body,
.data-list-table-shell,
.data-list-table-shell .ant-card-body {
height: auto;
}
.data-list-summary-treemap {
grid-template-columns: repeat(2, minmax(0, 1fr));
grid-auto-rows: minmax(88px, 1fr);
}
.data-list-summary-kpis {
grid-template-columns: 1fr;
}
.data-list-filter-grid {
flex-wrap: wrap;
}
.data-list-filter-grid--balanced > * {
flex: 1 1 180px;
min-width: 160px;
}
}
@media (max-width: 640px) {
.bgp-page__header {
align-items: flex-start;
flex-direction: column;
gap: 8px;
}
.bgp-page__stats-row {
margin-bottom: 0 !important;
}
.bgp-page__summary-label {
font-size: 11px;
}
.bgp-page__summary-stat .ant-statistic-content {
font-size: 18px;
}
.bgp-page__tabs .ant-tabs-tab {
padding-left: 8px;
padding-right: 8px;
}
.data-list-summary-treemap {
grid-template-columns: 1fr;
}
.data-list-filter-grid {
flex-wrap: wrap;
}
.data-list-filter-grid--balanced > * {
flex-basis: 100%;
min-width: 100%;
}
.data-list-summary-section-head {
align-items: flex-start;
flex-direction: column;
}
}
.data-list-detail-modal {
display: flex;
flex-direction: column;
gap: 16px;
}
.data-list-detail-section {
display: flex;
flex-direction: column;
gap: 10px;
min-width: 0;
}
.data-list-detail-section__title {
font-size: 14px;
}
.data-list-detail-hero {
padding: 14px 16px;
border-radius: 12px;
background: #f7f8fa;
border: 1px solid #eef1f5;
}
.data-list-detail-hero__label {
display: block;
margin-bottom: 6px;
color: #6b7280;
font-size: 12px;
}
.data-list-detail-hero__title.ant-typography {
margin: 0;
overflow-wrap: anywhere;
}
.data-list-detail-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 12px;
}
.data-list-detail-cell {
min-width: 0;
padding: 12px 14px;
border-radius: 12px;
border: 1px solid #eef1f5;
background: #fff;
}
.data-list-detail-cell--block {
grid-column: 1 / -1;
}
.data-list-detail-cell__label {
display: block;
margin-bottom: 8px;
color: #6b7280;
font-size: 12px;
}
.data-list-detail-cell__value {
color: #111827;
line-height: 1.6;
white-space: pre-wrap;
overflow-wrap: anywhere;
word-break: break-word;
}
.data-list-detail-code {
margin: 0;
padding: 12px;
max-height: 240px;
overflow: auto;
border-radius: 10px;
background: #111827;
color: #e5eef9;
font-size: 12px;
line-height: 1.6;
white-space: pre-wrap;
overflow-wrap: anywhere;
word-break: break-word;
}
.data-list-detail-code--raw {
max-height: 320px;
}
.data-list-tag-cell {
min-width: 140px;
}
.data-list-tag-cell .ant-tag {
display: inline-block;
max-width: 100%;
white-space: normal;
overflow-wrap: anywhere;
word-break: break-word;
line-height: 1.4;
}
.data-list-filter-select {
max-width: 220px;
}
.data-list-filter-select .ant-select-selector {
height: auto !important;
min-height: 32px;
max-height: 72px;
align-items: flex-start !important;
overflow-y: auto;
overflow-x: hidden;
scrollbar-width: thin;
}
.data-list-filter-select .ant-select-selection-overflow {
flex-wrap: wrap !important;
}
.data-list-filter-select .ant-select-selection-overflow-item {
max-width: 100%;
}
.data-list-filter-select .ant-select-selection-item {
max-width: 100%;
}
.dashboard-page {
display: flex;
flex-direction: column;
gap: 16px;
}
.dashboard-page__header {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 12px;
flex-wrap: wrap;
}
.dashboard-page__actions {
align-items: center;
}
.dashboard-quick-entry {
width: 100%;
align-items: center;
text-align: center;
}
.dashboard-quick-entry__copy {
display: flex;
flex-direction: column;
gap: 4px;
align-items: center;
}
.dashboard-quick-entry__title.ant-typography {
margin: 0;
}
.dashboard-quick-entry__link {
display: inline-flex;
justify-content: center;
}
.dashboard-status-tag {
margin-inline-end: 0 !important;
padding-inline: 10px;
border-radius: 999px;
line-height: 24px;
}
.dashboard-action-button.ant-btn {
height: 26px;
padding-inline: 12px;
border-radius: 999px;
border-color: #d9d9d9;
background: #ffffff;
color: rgba(0, 0, 0, 0.88);
box-shadow: none;
font-size: 12px;
font-weight: 600;
line-height: 24px;
}
.dashboard-action-button.ant-btn:hover,
.dashboard-action-button.ant-btn:focus {
border-color: #bfbfbf;
background: #ffffff;
color: rgba(0, 0, 0, 0.88);
}
.dashboard-restart-modal {
display: flex;
flex-direction: column;
gap: 16px;
}
.dashboard-restart-section {
display: flex;
flex-direction: column;
gap: 8px;
}
.dashboard-restart-toolbar {
display: flex;
flex-direction: column;
gap: 12px;
padding: 14px;
border: 1px solid #f0f0f0;
border-radius: 12px;
background: #fafafa;
}
.dashboard-restart-toolbar__field {
display: flex;
flex-direction: column;
gap: 8px;
}
.dashboard-restart-toolbar__meta {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
}
.dashboard-restart-toolbar__item {
display: flex;
flex-direction: column;
gap: 4px;
}
.dashboard-restart-section__label {
font-size: 12px;
font-weight: 600;
color: rgba(0, 0, 0, 0.45);
letter-spacing: 0.02em;
}
.dashboard-restart-log {
max-height: 180px;
padding: 10px 12px;
border-radius: 12px;
background: #0f172a;
color: #e2e8f0;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
font-size: 12px;
line-height: 1.6;
}
.dashboard-restart-log .scrollbar__viewport {
overflow-y: auto;
max-height: 180px;
}
.system-log-console {
flex: 1 1 auto;
min-height: 0;
height: 100%;
position: relative;
border-radius: 16px;
background: #020617;
border: 1px solid rgba(148, 163, 184, 0.18);
overflow: hidden;
}
.system-log-console__actions {
position: absolute;
top: 12px;
right: 12px;
z-index: 2;
display: inline-flex;
align-items: center;
gap: 2px;
padding-inline: 6px;
}
.system-log-console__actions .ant-btn {
color: rgba(226, 232, 240, 0.78) !important;
}
.system-log-console__actions .ant-btn:hover {
color: #f8fafc !important;
background: rgba(148, 163, 184, 0.16) !important;
}
.system-log-console__scroll,
.system-log-console__scroll .scrollbar__viewport {
height: 100%;
}
.system-log-console__scroll,
.system-log-console__scroll .scrollbar__viewport,
.system-log-console__content,
.system-log-console__placeholder {
min-height: 100%;
}
.system-log-console__content {
margin: 0;
padding: 18px 124px 18px 20px;
color: #e2e8f0;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
font-size: 12px;
line-height: 1.65;
white-space: pre-wrap;
word-break: break-word;
}
.system-log-console__placeholder {
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
}
.logs-page {
--logs-filter-toggle-size: 32px;
height: 100%;
min-height: 0;
gap: 10px;
}
.logs-page__header-copy {
min-width: 0;
}
.logs-page .page-shell__header {
gap: 8px;
}
.logs-page__header-desc {
line-height: 1.4;
}
.logs-page__card {
flex: 1 1 auto;
min-height: 0;
display: flex;
flex-direction: column;
}
.logs-page__card .ant-card-body {
flex: 1 1 auto;
min-height: 0;
display: flex;
flex-direction: column;
padding: 14px;
}
.logs-page__card-body {
flex: 1 1 auto;
min-height: 0;
display: flex;
flex-direction: column;
gap: 12px;
overflow: hidden;
}
.logs-page__console-shell {
flex: 1 1 auto;
min-height: 0;
display: flex;
flex-direction: column;
}
.logs-page__toolbar {
flex: 0 0 auto;
display: flex;
flex-direction: column;
gap: 8px;
padding: 10px 12px;
border-radius: 16px;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 249, 252, 0.98) 100%);
border: 1px solid rgba(5, 5, 5, 0.07);
box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}
.logs-page__toolbar-row {
display: flex;
align-items: center;
gap: 10px;
min-width: 0;
flex-wrap: wrap;
}
.logs-page__toolbar-row--primary {
display: grid;
grid-template-columns: minmax(180px, 220px) minmax(220px, 280px) minmax(280px, 1fr) var(--logs-filter-toggle-size);
align-items: center;
}
.logs-page__source-select {
width: 240px;
min-width: 220px;
}
.logs-page__search-input {
width: 100%;
min-width: 240px;
}
.logs-page__level-select {
width: 100%;
min-width: 220px;
}
.logs-page__date-range {
width: 248px;
}
.logs-page__line-limit-select {
width: 156px;
}
.logs-page__filter-toggle {
display: inline-flex;
justify-content: center;
align-items: center;
align-self: center;
width: var(--logs-filter-toggle-size);
height: var(--logs-filter-toggle-size);
padding: 0;
border: 1px solid rgba(5, 5, 5, 0.08);
border-radius: 8px;
background: transparent;
color: rgba(0, 0, 0, 0.65);
cursor: pointer;
transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.logs-page__filter-toggle:hover {
color: rgba(0, 0, 0, 0.88);
border-color: rgba(5, 5, 5, 0.16);
background: rgba(0, 0, 0, 0.02);
}
.logs-page__filter-toggle.is-expanded {
color: #1677ff;
border-color: rgba(22, 119, 255, 0.28);
background: rgba(22, 119, 255, 0.06);
}
.logs-page__filters-panel {
border-top: 1px solid rgba(5, 5, 5, 0.06);
padding-top: 8px;
}
.logs-page__toolbar-row--secondary {
display: grid;
grid-template-columns: 156px minmax(260px, 320px) minmax(0, 1fr);
align-items: start;
}
.logs-page__preset-group {
display: flex;
align-self: center;
align-items: center;
flex-wrap: wrap;
justify-content: flex-start;
}
.logs-page__preset-group .ant-space-item {
display: flex;
align-items: center;
}
.logs-page__preset-group .ant-btn {
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 999px;
}
.logs-page__calendar-cell {
position: relative;
width: 100%;
height: 100%;
}
.logs-page__calendar-cell .ant-picker-cell-inner {
position: relative;
transition: background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}
.logs-page__calendar-cell--error .ant-picker-cell-inner {
background: rgba(239, 68, 68, 0.12);
box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.16);
}
.logs-page__calendar-cell--warning .ant-picker-cell-inner {
background: rgba(245, 158, 11, 0.12);
box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.16);
}
.logs-page__calendar-cell--info .ant-picker-cell-inner {
background: rgba(34, 197, 94, 0.12);
box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.16);
}
.logs-page__calendar-cell--debug .ant-picker-cell-inner {
background: rgba(148, 163, 184, 0.12);
box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.16);
}
.logs-page__calendar-cell:hover .ant-picker-cell-inner {
filter: saturate(1.04);
}
.logs-page__line-limit-customizer {
display: flex;
flex-direction: column;
gap: 8px;
padding: 10px 12px 12px;
border-top: 1px solid rgba(5, 5, 5, 0.06);
}
@media (max-width: 1440px), (max-height: 900px) {
.logs-page {
gap: 8px;
}
.logs-page__header-desc {
display: none;
}
.logs-page__card .ant-card-body {
padding: 12px;
}
.logs-page__toolbar {
padding: 8px 10px;
gap: 6px;
}
.logs-page__toolbar-row--primary {
grid-template-columns: minmax(160px, 200px) minmax(180px, 220px) minmax(0, 1fr) var(--logs-filter-toggle-size);
grid-template-areas:
"source level search toggle";
row-gap: 8px;
}
.logs-page__source-select,
.logs-page__line-limit-select,
.logs-page__level-select,
.logs-page__search-input {
width: 100%;
min-width: 0;
}
.logs-page__source-select {
grid-area: source;
}
.logs-page__level-select {
grid-area: level;
}
.logs-page__search-input {
grid-area: search;
}
.logs-page__filter-toggle {
grid-area: toggle;
}
.logs-page__toolbar-row--secondary {
grid-template-columns: 140px minmax(240px, 280px) minmax(0, 1fr);
gap: 8px;
}
.logs-page__date-range {
width: 100%;
min-width: 0;
}
.logs-page__console-shell {
min-height: clamp(340px, 58vh, 760px);
}
.system-log-console__content {
padding: 16px 112px 16px 16px;
}
}
@media (max-width: 768px) {
.dashboard-restart-toolbar__meta {
grid-template-columns: 1fr;
}
.logs-page__toolbar {
flex-direction: column;
align-items: stretch;
}
.logs-page__card .ant-card-body {
padding: 10px;
}
.logs-page__toolbar-row--primary,
.logs-page__toolbar-row--secondary {
grid-template-columns: 1fr;
align-items: stretch;
}
.logs-page__source-select,
.logs-page__search-input,
.logs-page__level-select,
.logs-page__date-range,
.logs-page__line-limit-select {
width: 100%;
}
.logs-page__console-shell {
min-height: clamp(280px, 50vh, 620px);
}
}