2951 lines
67 KiB
CSS
2951 lines
67 KiB
CSS
:root {
|
|
--app-mobile-header-height: 36px;
|
|
--app-theme-accent: #2563eb;
|
|
--app-theme-accent-strong: #1d4ed8;
|
|
--app-theme-soft: rgba(219, 234, 254, 0.84);
|
|
--app-theme-soft-strong: rgba(191, 219, 254, 0.96);
|
|
--app-theme-glow: rgba(37, 99, 235, 0.2);
|
|
--app-theme-prompt: #0f766e;
|
|
--app-theme-prompt-soft: rgba(153, 246, 228, 0.72);
|
|
--app-theme-prompt-selected: rgba(204, 251, 241, 0.92);
|
|
--app-theme-prompt-border: rgba(13, 148, 136, 0.52);
|
|
}
|
|
|
|
:root[data-app-theme='sunset'] {
|
|
--app-theme-accent: #ea580c;
|
|
--app-theme-accent-strong: #c2410c;
|
|
--app-theme-soft: rgba(254, 215, 170, 0.84);
|
|
--app-theme-soft-strong: rgba(254, 215, 170, 0.96);
|
|
--app-theme-glow: rgba(234, 88, 12, 0.2);
|
|
--app-theme-prompt: #be185d;
|
|
--app-theme-prompt-soft: rgba(251, 207, 232, 0.82);
|
|
--app-theme-prompt-selected: rgba(251, 207, 232, 0.96);
|
|
--app-theme-prompt-border: rgba(225, 29, 72, 0.4);
|
|
}
|
|
|
|
:root[data-app-theme='forest'] {
|
|
--app-theme-accent: #0f766e;
|
|
--app-theme-accent-strong: #0f766e;
|
|
--app-theme-soft: rgba(167, 243, 208, 0.84);
|
|
--app-theme-soft-strong: rgba(153, 246, 228, 0.96);
|
|
--app-theme-glow: rgba(15, 118, 110, 0.18);
|
|
--app-theme-prompt: #047857;
|
|
--app-theme-prompt-soft: rgba(167, 243, 208, 0.8);
|
|
--app-theme-prompt-selected: rgba(209, 250, 229, 0.96);
|
|
--app-theme-prompt-border: rgba(5, 150, 105, 0.4);
|
|
}
|
|
|
|
.app-shell {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: var(--app-viewport-height);
|
|
min-height: var(--app-viewport-height);
|
|
max-height: var(--app-viewport-height);
|
|
width: 100%;
|
|
overflow: hidden;
|
|
background: transparent;
|
|
}
|
|
|
|
.app-shell__body.ant-layout {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-shell--docs-api {
|
|
background:
|
|
radial-gradient(circle at top left, rgba(22, 93, 255, 0.12), transparent 26%),
|
|
linear-gradient(180deg, #f8fbff 0%, #eff5ff 45%, #ffffff 100%);
|
|
}
|
|
|
|
.app-shell--preview-runtime {
|
|
background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
|
|
}
|
|
|
|
.app-header {
|
|
--app-header-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.86) 100%);
|
|
--app-header-border: rgba(148, 163, 184, 0.16);
|
|
--app-header-shadow: rgba(148, 163, 184, 0.08);
|
|
--app-header-base-height: var(--app-desktop-header-height, 60px);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 20;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: calc(var(--app-header-base-height) + env(safe-area-inset-top, 0px));
|
|
padding: env(safe-area-inset-top, 0px) 18px 0;
|
|
background: var(--app-header-bg);
|
|
border-bottom: 1px solid var(--app-header-border);
|
|
box-shadow: inset 0 -1px 0 var(--app-header-shadow);
|
|
backdrop-filter: blur(18px);
|
|
}
|
|
|
|
.app-header.app-header--test {
|
|
--app-header-bg: linear-gradient(135deg, rgba(236, 253, 245, 0.94) 0%, rgba(220, 252, 231, 0.9) 100%);
|
|
--app-header-border: rgba(74, 222, 128, 0.28);
|
|
--app-header-shadow: rgba(34, 197, 94, 0.14);
|
|
}
|
|
|
|
.app-header.app-header--rel {
|
|
--app-header-bg: linear-gradient(135deg, rgba(255, 247, 237, 0.95) 0%, rgba(254, 215, 170, 0.78) 100%);
|
|
--app-header-border: rgba(251, 146, 60, 0.28);
|
|
--app-header-shadow: rgba(249, 115, 22, 0.12);
|
|
}
|
|
|
|
.app-header.app-header--preview {
|
|
--app-header-bg: linear-gradient(135deg, rgba(239, 246, 255, 0.95) 0%, rgba(219, 234, 254, 0.9) 100%);
|
|
--app-header-border: rgba(96, 165, 250, 0.28);
|
|
--app-header-shadow: rgba(59, 130, 246, 0.12);
|
|
}
|
|
|
|
.app-header.app-header--prod {
|
|
--app-header-bg: linear-gradient(135deg, rgba(250, 245, 255, 0.95) 0%, rgba(243, 232, 255, 0.88) 100%);
|
|
--app-header-border: rgba(168, 85, 247, 0.24);
|
|
--app-header-shadow: rgba(147, 51, 234, 0.12);
|
|
}
|
|
|
|
.app-header.app-header--local {
|
|
--app-header-bg: linear-gradient(135deg, rgba(241, 245, 249, 0.96) 0%, rgba(226, 232, 240, 0.92) 100%);
|
|
--app-header-border: rgba(100, 116, 139, 0.24);
|
|
--app-header-shadow: rgba(71, 85, 105, 0.12);
|
|
}
|
|
|
|
.app-header__row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
min-height: var(--app-header-base-height);
|
|
min-width: 0;
|
|
}
|
|
|
|
.app-header__menu-side {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.app-header__actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.app-header__row .ant-btn {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.app-header__row .ant-btn:hover,
|
|
.app-header__row .ant-btn:focus-visible {
|
|
color: var(--app-theme-accent-strong);
|
|
background: color-mix(in srgb, var(--app-theme-soft-strong) 70%, white);
|
|
}
|
|
|
|
.app-header__connection-indicator {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
overflow: visible;
|
|
width: 36px;
|
|
height: 36px;
|
|
padding: 0;
|
|
border: 1px solid rgba(148, 163, 184, 0.16);
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.9);
|
|
color: #182230;
|
|
font: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.app-header__connection-indicator--labelled {
|
|
justify-content: flex-start;
|
|
gap: 8px;
|
|
width: auto;
|
|
min-width: 124px;
|
|
padding: 0 12px 0 10px;
|
|
}
|
|
|
|
.app-header__connection-indicator:hover {
|
|
background: #f3f7ff;
|
|
}
|
|
|
|
.app-header__connection-indicator--connected {
|
|
border-color: rgba(22, 163, 74, 0.2);
|
|
}
|
|
|
|
.app-header__connection-indicator--connecting {
|
|
border-color: rgba(37, 99, 235, 0.24);
|
|
background: rgba(239, 246, 255, 0.92);
|
|
}
|
|
|
|
.app-header__connection-indicator--disconnected {
|
|
border-color: rgba(220, 38, 38, 0.22);
|
|
background: rgba(254, 242, 242, 0.92);
|
|
}
|
|
|
|
.app-header__connection-indicator--busy {
|
|
box-shadow: 0 10px 24px rgba(37, 99, 235, 0.16);
|
|
}
|
|
|
|
.app-header__connection-count-badge {
|
|
position: absolute;
|
|
top: 2px;
|
|
right: 2px;
|
|
min-width: 18px;
|
|
height: 18px;
|
|
padding: 0 5px;
|
|
border: 2px solid #ffffff;
|
|
border-radius: 999px;
|
|
background: #2563eb;
|
|
color: #ffffff;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 2;
|
|
pointer-events: none;
|
|
box-shadow: 0 6px 16px rgba(37, 99, 235, 0.24);
|
|
}
|
|
|
|
.app-header__connection-indicator--busy .app-header__connection-count-badge {
|
|
animation: app-header-connection-badge-pulse 1.8s ease-in-out infinite;
|
|
}
|
|
|
|
.app-header__connection-count-badge--connecting {
|
|
background: #2563eb;
|
|
}
|
|
|
|
.app-header__connection-count-badge--disconnected {
|
|
background: #dc2626;
|
|
box-shadow: 0 6px 16px rgba(220, 38, 38, 0.22);
|
|
}
|
|
|
|
.app-header__connection-copy {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 1px;
|
|
min-width: 0;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.app-header__connection-title {
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
color: #182230;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.app-header__connection-meta {
|
|
font-size: 11px;
|
|
color: #64748b;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
@keyframes app-header-connection-badge-pulse {
|
|
0%,
|
|
100% {
|
|
transform: scale(1);
|
|
box-shadow: 0 6px 16px rgba(37, 99, 235, 0.24);
|
|
}
|
|
|
|
50% {
|
|
transform: scale(1.08);
|
|
box-shadow: 0 10px 22px rgba(37, 99, 235, 0.34);
|
|
}
|
|
}
|
|
|
|
.app-header__settings-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-width: 132px;
|
|
max-width: min(100%, 240px);
|
|
padding: 10px 12px;
|
|
border: 0;
|
|
border-radius: 14px;
|
|
background: #ffffff;
|
|
color: #182230;
|
|
font: inherit;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.app-header__settings-menu {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.app-header__settings-theme-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
padding: 6px;
|
|
border: 1px solid rgba(148, 163, 184, 0.16);
|
|
border-radius: 16px;
|
|
background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.98));
|
|
}
|
|
|
|
.app-header__settings-theme-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
padding: 2px 4px 0;
|
|
}
|
|
|
|
.app-header__settings-theme-title {
|
|
color: #0f172a;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.app-header__settings-theme-meta {
|
|
color: #64748b;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.app-header__settings-theme-options {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.app-header__theme-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 24;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.app-header__theme-overlay-backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
border: 0;
|
|
background: linear-gradient(180deg, rgba(241, 245, 249, 0.12), rgba(15, 23, 42, 0.08));
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.app-header__theme-overlay-layer {
|
|
position: absolute;
|
|
top: calc(var(--app-header-base-height) + env(safe-area-inset-top, 0px) + 14px);
|
|
right: 18px;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
width: min(100vw - 36px, 420px);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.app-header__theme-trigger.ant-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 36px;
|
|
min-width: 36px;
|
|
height: 36px;
|
|
padding: 0;
|
|
border: 1px solid rgba(148, 163, 184, 0.18);
|
|
border-radius: 12px;
|
|
background:
|
|
linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.92)),
|
|
radial-gradient(circle at top left, var(--app-theme-soft), transparent 70%);
|
|
box-shadow: 0 12px 28px rgba(148, 163, 184, 0.14);
|
|
}
|
|
|
|
.app-header__theme-trigger.ant-btn:hover,
|
|
.app-header__theme-trigger.ant-btn:focus-visible,
|
|
.app-header__theme-trigger--open.ant-btn {
|
|
color: inherit;
|
|
border-color: color-mix(in srgb, var(--app-theme-accent) 42%, white);
|
|
background:
|
|
linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98)),
|
|
radial-gradient(circle at top left, var(--app-theme-soft-strong), transparent 68%);
|
|
box-shadow: 0 16px 34px var(--app-theme-glow);
|
|
}
|
|
|
|
.app-header__theme-trigger-copy {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 1px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.app-header__theme-trigger-label {
|
|
color: #64748b;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.app-header__theme-trigger-value {
|
|
color: #0f172a;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.app-header__theme-menu {
|
|
display: flex;
|
|
min-width: min(400px, calc(100vw - 36px));
|
|
max-width: min(400px, calc(100vw - 36px));
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
padding: 14px;
|
|
border: 1px solid rgba(148, 163, 184, 0.16);
|
|
border-radius: 24px;
|
|
background:
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96)),
|
|
radial-gradient(circle at top left, var(--app-theme-soft), transparent 70%);
|
|
box-shadow:
|
|
0 30px 60px rgba(15, 23, 42, 0.16),
|
|
0 16px 28px var(--app-theme-glow);
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.app-header__theme-menu-header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
padding: 2px 4px 0;
|
|
}
|
|
|
|
.app-header__theme-menu-title {
|
|
color: #0f172a;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.app-header__theme-menu-meta {
|
|
color: #64748b;
|
|
font-size: 11px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.app-header__theme-menu-options {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 8px;
|
|
}
|
|
|
|
.app-header__theme-height-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
padding: 10px 12px 12px;
|
|
border: 1px solid rgba(148, 163, 184, 0.16);
|
|
border-radius: 16px;
|
|
background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.98));
|
|
}
|
|
|
|
.app-header__theme-height-copy {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
}
|
|
|
|
.app-header__theme-height-label {
|
|
color: #0f172a;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.app-header__theme-height-meta {
|
|
color: #64748b;
|
|
font-size: 11px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.app-header__theme-height-controls {
|
|
display: grid;
|
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.app-header__theme-height-step.ant-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 58px;
|
|
height: 34px;
|
|
padding-inline: 10px;
|
|
border: 1px solid rgba(148, 163, 184, 0.2);
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.88);
|
|
color: #334155;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.app-header__theme-height-step.ant-btn:hover,
|
|
.app-header__theme-height-step.ant-btn:focus-visible {
|
|
color: var(--app-theme-accent-strong);
|
|
border-color: color-mix(in srgb, var(--app-theme-accent) 34%, white);
|
|
background: color-mix(in srgb, var(--app-theme-soft-strong) 78%, white);
|
|
}
|
|
|
|
.app-header__theme-height-input.ant-input-number {
|
|
width: 100%;
|
|
}
|
|
|
|
.app-header__theme-height-input.ant-input-number .ant-input-number-input {
|
|
font-weight: 700;
|
|
text-align: center;
|
|
}
|
|
|
|
.app-header__theme-option {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
width: 100%;
|
|
min-height: 154px;
|
|
padding: 14px;
|
|
border: 1px solid rgba(148, 163, 184, 0.2);
|
|
border-radius: 20px;
|
|
background:
|
|
linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96)),
|
|
radial-gradient(circle at top left, var(--app-theme-soft), transparent 65%);
|
|
color: #0f172a;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
transition:
|
|
transform 0.16s ease,
|
|
border-color 0.16s ease,
|
|
box-shadow 0.16s ease;
|
|
}
|
|
|
|
.app-header__theme-option:hover,
|
|
.app-header__theme-option:focus-visible {
|
|
border-color: color-mix(in srgb, var(--app-theme-accent) 38%, white);
|
|
box-shadow: 0 14px 28px var(--app-theme-glow);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.app-header__theme-option--active {
|
|
border-color: color-mix(in srgb, var(--app-theme-accent) 54%, white);
|
|
box-shadow:
|
|
inset 0 0 0 1px color-mix(in srgb, var(--app-theme-accent) 28%, white),
|
|
0 14px 28px var(--app-theme-glow);
|
|
}
|
|
|
|
.app-header__theme-option--compact {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-height: 0;
|
|
padding: 10px 11px;
|
|
border-radius: 14px;
|
|
}
|
|
|
|
.app-header__theme-option-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 42px;
|
|
min-width: 42px;
|
|
height: 42px;
|
|
border-radius: 14px;
|
|
background: linear-gradient(135deg, var(--app-theme-soft-strong), rgba(255, 255, 255, 0.9));
|
|
color: var(--app-theme-accent-strong);
|
|
font-size: 18px;
|
|
}
|
|
|
|
.app-header__theme-option-copy {
|
|
display: flex;
|
|
min-width: 0;
|
|
width: 100%;
|
|
flex: 1 1 auto;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.app-header__theme-option-label {
|
|
color: #0f172a;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.app-header__theme-option-description {
|
|
color: #64748b;
|
|
font-size: 11px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.app-header__theme-option-state {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 56px;
|
|
padding: 4px 8px;
|
|
border-radius: 999px;
|
|
background: color-mix(in srgb, var(--app-theme-soft-strong) 88%, white);
|
|
color: var(--app-theme-accent-strong);
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.app-header__settings-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.app-header__settings-item:hover {
|
|
background: #f3f7ff;
|
|
}
|
|
|
|
.app-header__settings-item--nested {
|
|
margin-left: 12px;
|
|
min-width: 0;
|
|
padding-left: 14px;
|
|
background: #f8fbff;
|
|
}
|
|
|
|
.app-header__settings-icon {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 20px;
|
|
height: 20px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.app-header__status-dot {
|
|
position: absolute;
|
|
right: -1px;
|
|
bottom: -1px;
|
|
width: 8px;
|
|
height: 8px;
|
|
border: 2px solid #ffffff;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.app-header__status-dot--active {
|
|
background: #16a34a;
|
|
}
|
|
|
|
.app-header__status-dot--inactive {
|
|
background: #dc2626;
|
|
}
|
|
|
|
.app-header__status-dot--warning {
|
|
background: #f59e0b;
|
|
}
|
|
|
|
.app-header__status-dot--progress {
|
|
background: #2563eb;
|
|
}
|
|
|
|
.app-header__server-version-indicator {
|
|
display: inline-flex;
|
|
width: 12px;
|
|
height: 12px;
|
|
border: 2px solid #ffffff;
|
|
border-radius: 999px;
|
|
box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
|
|
}
|
|
|
|
.app-header__server-version-indicator--latest {
|
|
color: #2563eb;
|
|
background: #2563eb;
|
|
}
|
|
|
|
.app-header__server-version-indicator--unknown {
|
|
background: #94a3b8;
|
|
}
|
|
|
|
.app-header__server-version-indicator--update-available {
|
|
background: #f59e0b;
|
|
}
|
|
|
|
.app-header__server-version-indicator--build-required {
|
|
background: #dc2626;
|
|
}
|
|
|
|
.app-header__settings-label {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
flex: 1;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.app-header__settings-copy {
|
|
display: flex;
|
|
min-width: 0;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 1px;
|
|
}
|
|
|
|
.app-header__settings-meta {
|
|
display: block;
|
|
min-width: 0;
|
|
color: #64748b;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
line-height: 1.25;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.app-header__restart-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1100;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 24px;
|
|
background:
|
|
radial-gradient(circle at top, rgba(59, 130, 246, 0.2), transparent 28%),
|
|
linear-gradient(135deg, rgba(2, 6, 23, 0.84), rgba(15, 23, 42, 0.92));
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.app-header__restart-overlay-card {
|
|
width: min(100%, 420px);
|
|
padding: 24px 22px;
|
|
border: 1px solid rgba(96, 165, 250, 0.2);
|
|
border-radius: 26px;
|
|
background:
|
|
linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.98)),
|
|
rgba(15, 23, 42, 0.96);
|
|
box-shadow:
|
|
0 26px 60px rgba(15, 23, 42, 0.42),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.app-header__restart-overlay-eyebrow {
|
|
display: inline-flex;
|
|
margin-bottom: 10px;
|
|
color: rgba(147, 197, 253, 0.88);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.18em;
|
|
}
|
|
|
|
.app-header__restart-overlay-title {
|
|
display: block;
|
|
margin-bottom: 14px;
|
|
color: #f8fafc;
|
|
font-size: clamp(22px, 4vw, 28px);
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.app-header__restart-overlay-status {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
color: #bfdbfe;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.app-header__restart-overlay-detail {
|
|
margin: 0 0 16px;
|
|
color: #cbd5e1;
|
|
font-size: 13px;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.app-header__restart-overlay-steps {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.app-header__restart-overlay-step {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 11px 12px;
|
|
border: 1px solid rgba(148, 163, 184, 0.16);
|
|
border-radius: 14px;
|
|
background: rgba(15, 23, 42, 0.52);
|
|
color: #94a3b8;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.app-header__restart-overlay-step-dot {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 999px;
|
|
background: currentColor;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.app-header__restart-overlay-step--done {
|
|
color: #38bdf8;
|
|
}
|
|
|
|
.app-header__restart-overlay-step--active {
|
|
color: #f8fafc;
|
|
border-color: rgba(96, 165, 250, 0.28);
|
|
background: rgba(30, 41, 59, 0.86);
|
|
box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.14);
|
|
}
|
|
|
|
.app-header__restart-overlay-step--pending {
|
|
color: #64748b;
|
|
}
|
|
|
|
.app-header__settings-group-arrow {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 16px;
|
|
color: #64748b;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.app-header__update-progress {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
padding: 12px 14px;
|
|
border: 1px solid rgba(37, 99, 235, 0.16);
|
|
border-radius: 16px;
|
|
background:
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 245, 255, 0.96)),
|
|
rgba(255, 255, 255, 0.96);
|
|
}
|
|
|
|
.app-header__update-progress-copy {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.app-header__update-progress-task {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 8px 10px;
|
|
border-radius: 12px;
|
|
background: rgba(37, 99, 235, 0.08);
|
|
}
|
|
|
|
.app-header__update-progress .ant-progress {
|
|
margin: 0;
|
|
}
|
|
|
|
.app-header__runtime-summary {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
|
|
.app-header__runtime-summary-card {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 8px 12px;
|
|
border: 1px solid rgba(148, 163, 184, 0.16);
|
|
border-radius: 999px;
|
|
background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(239, 245, 255, 0.92));
|
|
}
|
|
|
|
.app-header__runtime-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.app-header__runtime-list-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
padding: 10px 12px;
|
|
border-radius: 12px;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.app-header__runtime-list-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.app-header__runtime-list-copy {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.app-header__runtime-list-copy .ant-typography {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.app-header__runtime-summary-text.ant-typography {
|
|
color: #475467;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.app-header__runtime-meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.app-header__runtime-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 2px 8px;
|
|
border-radius: 999px;
|
|
background: rgba(37, 99, 235, 0.08);
|
|
color: #1d4ed8;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.app-header__menu-side .ant-segmented {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.app-header__top-menu.ant-segmented {
|
|
padding: 4px;
|
|
border: 1px solid rgba(148, 163, 184, 0.16);
|
|
border-radius: 18px;
|
|
isolation: isolate;
|
|
background:
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.88)),
|
|
radial-gradient(circle at top left, color-mix(in srgb, var(--app-theme-soft-strong) 30%, transparent), transparent 62%);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.72),
|
|
0 10px 26px rgba(15, 23, 42, 0.08);
|
|
}
|
|
|
|
.app-header__top-menu.ant-segmented .ant-segmented-thumb {
|
|
opacity: 0 !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.app-header__top-menu .ant-segmented-item {
|
|
min-height: 34px;
|
|
padding-inline: 6px;
|
|
border-radius: 14px;
|
|
transition:
|
|
background 0.18s ease,
|
|
box-shadow 0.18s ease;
|
|
}
|
|
|
|
.app-header__top-menu .ant-segmented-item:hover .app-header__menu-option-label,
|
|
.app-header__top-menu .ant-segmented-item:hover .app-header__menu-option-icon {
|
|
color: var(--app-theme-accent-strong);
|
|
}
|
|
|
|
.app-header__top-menu .ant-segmented-item-selected {
|
|
background:
|
|
linear-gradient(135deg, var(--app-theme-accent) 0%, var(--app-theme-accent-strong) 100%) !important;
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.22),
|
|
0 12px 24px var(--app-theme-glow);
|
|
}
|
|
|
|
.app-header__top-menu .ant-segmented-item-selected .app-header__menu-option-label,
|
|
.app-header__top-menu .ant-segmented-item-selected .app-header__menu-option-icon {
|
|
color: #ffffff;
|
|
}
|
|
|
|
.app-header__top-menu .ant-segmented-item-selected:hover .app-header__menu-option-label,
|
|
.app-header__top-menu .ant-segmented-item-selected:hover .app-header__menu-option-icon {
|
|
color: #ffffff;
|
|
}
|
|
|
|
.app-header__menu-option {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-height: 34px;
|
|
}
|
|
|
|
.app-header__menu-option-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 26px;
|
|
height: 26px;
|
|
border-radius: 10px;
|
|
background: color-mix(in srgb, var(--app-theme-soft-strong) 78%, white);
|
|
color: var(--app-theme-accent-strong);
|
|
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--app-theme-soft-strong) 48%, rgba(148, 163, 184, 0.16));
|
|
font-size: 14px;
|
|
transition:
|
|
transform 0.16s ease,
|
|
background-color 0.16s ease,
|
|
box-shadow 0.16s ease,
|
|
color 0.16s ease;
|
|
}
|
|
|
|
.app-header__menu-option-label {
|
|
color: #0f172a;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.01em;
|
|
transition: color 0.16s ease;
|
|
}
|
|
|
|
.app-header__top-menu .ant-segmented-item-selected .app-header__menu-option-icon {
|
|
background: rgba(255, 255, 255, 0.18);
|
|
box-shadow:
|
|
inset 0 0 0 1px rgba(255, 255, 255, 0.22),
|
|
0 8px 18px color-mix(in srgb, var(--app-theme-glow) 70%, rgba(15, 23, 42, 0.12));
|
|
transform: scale(1.02);
|
|
}
|
|
|
|
.app-sider.ant-layout-sider {
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
background: rgba(255, 255, 255, 0.72);
|
|
border-right: 1px solid rgba(148, 163, 184, 0.14);
|
|
}
|
|
|
|
.app-sider--mobile.ant-layout-sider {
|
|
position: fixed;
|
|
inset: 72px 0 0;
|
|
z-index: 40;
|
|
width: 100vw !important;
|
|
min-width: 100vw !important;
|
|
max-width: 100vw;
|
|
flex: 0 0 100vw !important;
|
|
height: calc(var(--app-viewport-height) - 72px);
|
|
border-right: 0;
|
|
background: rgba(255, 255, 255, 0.98);
|
|
transition: none !important;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-sider--mobile-inline.ant-layout-sider {
|
|
width: 100% !important;
|
|
max-width: 100%;
|
|
flex: 0 0 auto !important;
|
|
border-right: 0;
|
|
border-bottom: 1px solid rgba(148, 163, 184, 0.14);
|
|
background: rgba(255, 255, 255, 0.92);
|
|
}
|
|
|
|
.app-sider__inner {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
height: 100%;
|
|
padding: 12px 10px;
|
|
overflow-y: auto;
|
|
overscroll-behavior: contain;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
.app-sider__intro {
|
|
width: 100%;
|
|
padding: 0 4px;
|
|
}
|
|
|
|
.app-main-content.ant-layout-content {
|
|
position: relative;
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
height: 100%;
|
|
max-height: 100%;
|
|
width: 100%;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-main-content--under-sidebar-overlay.ant-layout-content {
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.app-main-content--expanded.ant-layout-content {
|
|
position: relative;
|
|
display: flex;
|
|
min-height: var(--app-viewport-height);
|
|
padding: 20px;
|
|
}
|
|
|
|
.app-main-panel {
|
|
display: flex;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.app-main-panel--play {
|
|
min-height: 100%;
|
|
overflow: hidden;
|
|
overscroll-behavior: none;
|
|
}
|
|
|
|
.app-main-panel--play-saved {
|
|
height: 100%;
|
|
min-height: calc(var(--app-viewport-height) - 60px);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-main-panel--play > * {
|
|
min-width: 0;
|
|
min-height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
.app-main-panel--widget-preview {
|
|
flex: 1 1 auto;
|
|
height: 100%;
|
|
min-height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-main-layout:has(.app-main-panel--play-saved) {
|
|
padding: 0;
|
|
gap: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-main-content--expanded.ant-layout-content:has(.app-main-panel--play-saved) {
|
|
min-height: calc(var(--app-viewport-height) - 60px);
|
|
padding: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-main-panel:has(.app-chat-panel) {
|
|
flex: 1 1 auto;
|
|
height: 100%;
|
|
min-height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-main-layout:has(.app-chat-panel) {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
min-height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-main-layout {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
|
|
gap: 16px;
|
|
flex: 1;
|
|
min-height: 0;
|
|
min-width: 0;
|
|
height: 100%;
|
|
max-height: 100%;
|
|
padding: 16px;
|
|
width: 100%;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
overscroll-behavior: contain;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
.app-main-layout:has(.chat-type-management-page) {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
gap: 12px;
|
|
padding: 4px 12px 12px;
|
|
}
|
|
|
|
.app-main-panel:has(.board-page),
|
|
.app-main-panel:has(.history-page),
|
|
.app-main-panel:has(.chat-source-changes-page),
|
|
.app-main-panel:has(.docs-page) {
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-main-layout:has(.board-page),
|
|
.app-main-layout:has(.history-page),
|
|
.app-main-layout:has(.chat-source-changes-page),
|
|
.app-main-layout:has(.docs-page) {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
gap: 12px;
|
|
padding: 4px 12px 12px;
|
|
height: 100%;
|
|
min-height: 0;
|
|
}
|
|
|
|
.app-main-layout:has(.docs-page) {
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.docs-page {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
.docs-page__card,
|
|
.docs-page__card.ant-card,
|
|
.docs-page__card.ant-card .ant-card-body {
|
|
width: 100%;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
.docs-page__card.ant-card {
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|
|
|
|
.docs-page__card.ant-card .ant-card-body {
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.docs-page__scroll {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
overscroll-behavior: contain;
|
|
-webkit-overflow-scrolling: touch;
|
|
padding: 0 0 calc(16px + env(safe-area-inset-bottom, 0px));
|
|
}
|
|
|
|
.docs-page__stack {
|
|
min-width: 0;
|
|
}
|
|
|
|
.app-main-panel:has(.resource-management-page) {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1 1 auto;
|
|
height: 100%;
|
|
min-height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-main-panel:has(.resource-management-page) > .resource-management-page {
|
|
flex: 1 1 0;
|
|
min-height: 0;
|
|
height: 100%;
|
|
}
|
|
|
|
.app-main-layout:has(.resource-management-page) {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
gap: 12px;
|
|
padding: 4px 12px 12px;
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-main-panel:has(.plan-board-page),
|
|
.app-main-panel:has(.plan-schedule-page),
|
|
.app-main-panel:has(.release-review-page),
|
|
.app-main-panel:has(.server-command-page),
|
|
.app-main-panel:has(.test-play-app),
|
|
.app-main-panel:has(.layout-draw-page),
|
|
.app-main-panel:has(.layout-playground__editor-card) {
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-main-layout:has(.plan-board-page),
|
|
.app-main-layout:has(.plan-schedule-page),
|
|
.app-main-layout:has(.release-review-page),
|
|
.app-main-layout:has(.server-command-page),
|
|
.app-main-layout:has(.test-play-app),
|
|
.app-main-layout:has(.layout-draw-page),
|
|
.app-main-layout:has(.layout-playground__editor-card) {
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-main-layout:has(.layout-draw-page) {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
gap: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.app-main-panel--play:has(.test-play-app) {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-main-panel--play:has(.layout-draw-page) {
|
|
overflow: hidden;
|
|
overscroll-behavior: none;
|
|
overscroll-behavior-x: none;
|
|
}
|
|
|
|
.app-main-panel--play:has(.apps-library),
|
|
.app-main-panel--play:has(.photo-puzzle-app),
|
|
.app-main-panel--play:has(.e-reader),
|
|
.app-main-panel--play:has(.photoprism-app),
|
|
.app-main-panel--play:has(.the-quest),
|
|
.app-main-panel--play:has(.tetris-app),
|
|
.app-main-panel--play:has(.cbt-play-app) {
|
|
overflow: hidden;
|
|
overscroll-behavior: none;
|
|
}
|
|
|
|
.app-main-layout:has(.apps-library),
|
|
.app-main-layout:has(.photo-puzzle-app),
|
|
.app-main-layout:has(.e-reader),
|
|
.app-main-layout:has(.photoprism-app),
|
|
.app-main-layout:has(.the-quest),
|
|
.app-main-layout:has(.tetris-app),
|
|
.app-main-layout:has(.cbt-play-app) {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
gap: 0;
|
|
padding: 0;
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
overscroll-behavior: none;
|
|
}
|
|
|
|
.app-main-panel--play:has(.layout-playground__editor-card) {
|
|
overflow: auto;
|
|
overscroll-behavior: contain;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
html,
|
|
body,
|
|
#root {
|
|
height: var(--app-viewport-height);
|
|
overflow-x: hidden;
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
html:has(.chat-type-management-page),
|
|
body:has(.chat-type-management-page),
|
|
#root:has(.chat-type-management-page) {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-shell,
|
|
.app-main-content.ant-layout-content,
|
|
.app-main-panel,
|
|
.app-main-layout {
|
|
height: 100%;
|
|
min-height: 0;
|
|
}
|
|
|
|
.app-shell,
|
|
.app-main-content.ant-layout-content {
|
|
overflow-x: hidden;
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
.app-main-panel,
|
|
.app-main-layout {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-main-layout {
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.app-main-panel:has(.app-chat-panel),
|
|
.app-main-layout:has(.app-chat-panel) {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-shell:has(.chat-type-management-page),
|
|
.app-shell:has(.chat-type-management-page) > .ant-layout {
|
|
width: 100%;
|
|
min-width: 100%;
|
|
max-width: 100%;
|
|
height: var(--app-viewport-height);
|
|
min-height: var(--app-viewport-height);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-main-content.ant-layout-content:has(.chat-type-management-page),
|
|
.app-main-panel:has(.chat-type-management-page),
|
|
.app-main-layout:has(.chat-type-management-page),
|
|
.app-main-content.ant-layout-content:has(.shared-resource-management-page),
|
|
.app-main-panel:has(.shared-resource-management-page),
|
|
.app-main-layout:has(.shared-resource-management-page),
|
|
.chat-type-management-page,
|
|
.chat-type-management-page__card,
|
|
.shared-resource-management-page,
|
|
.shared-resource-management-page__card,
|
|
.shared-chat-management-page,
|
|
.shared-chat-management-page__card {
|
|
width: 100%;
|
|
min-width: 100%;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.app-main-content.ant-layout-content:has(.chat-type-management-page),
|
|
.app-main-panel:has(.chat-type-management-page),
|
|
.app-main-layout:has(.chat-type-management-page),
|
|
.app-main-content.ant-layout-content:has(.shared-resource-management-page),
|
|
.app-main-panel:has(.shared-resource-management-page),
|
|
.app-main-layout:has(.shared-resource-management-page),
|
|
.app-main-content.ant-layout-content:has(.shared-chat-management-page),
|
|
.app-main-panel:has(.shared-chat-management-page),
|
|
.app-main-layout:has(.shared-chat-management-page) {
|
|
height: calc(var(--app-viewport-height) - var(--app-mobile-header-height));
|
|
min-height: calc(var(--app-viewport-height) - var(--app-mobile-header-height));
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-shell:has(.shared-chat-management-page),
|
|
.app-shell:has(.shared-chat-management-page) > .ant-layout {
|
|
width: 100%;
|
|
min-width: 100%;
|
|
max-width: 100%;
|
|
height: var(--app-viewport-height);
|
|
min-height: var(--app-viewport-height);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-shell:has(.shared-resource-management-page),
|
|
.app-shell:has(.shared-resource-management-page) > .ant-layout {
|
|
width: 100%;
|
|
min-width: 100%;
|
|
max-width: 100%;
|
|
height: var(--app-viewport-height);
|
|
min-height: var(--app-viewport-height);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-shell:has(.resource-management-page),
|
|
.app-shell:has(.resource-management-page) > .ant-layout {
|
|
width: 100%;
|
|
min-width: 100%;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.app-shell:has(.resource-management-page),
|
|
.app-shell:has(.resource-management-page) > .ant-layout {
|
|
height: var(--app-viewport-height);
|
|
min-height: var(--app-viewport-height);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-main-content.ant-layout-content:has(.resource-management-page),
|
|
.app-main-panel:has(.resource-management-page),
|
|
.app-main-layout:has(.resource-management-page) {
|
|
height: calc(var(--app-viewport-height) - var(--app-mobile-header-height));
|
|
min-height: calc(var(--app-viewport-height) - var(--app-mobile-header-height));
|
|
max-height: calc(var(--app-viewport-height) - var(--app-mobile-header-height));
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-main-layout:has(.resource-management-page) {
|
|
gap: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.app-shell:has(.chat-type-management-page) > .ant-layout,
|
|
.app-main-content.ant-layout-content:has(.chat-type-management-page),
|
|
.app-main-panel:has(.chat-type-management-page),
|
|
.app-main-layout:has(.chat-type-management-page),
|
|
.app-shell:has(.shared-chat-management-page) > .ant-layout,
|
|
.app-main-content.ant-layout-content:has(.shared-chat-management-page),
|
|
.app-main-panel:has(.shared-chat-management-page),
|
|
.app-main-layout:has(.shared-chat-management-page) {
|
|
width: 100%;
|
|
}
|
|
|
|
.app-shell:has(.board-page),
|
|
.app-shell:has(.board-page) > .ant-layout,
|
|
.app-main-content.ant-layout-content:has(.board-page),
|
|
.app-main-panel:has(.board-page),
|
|
.app-main-layout:has(.board-page),
|
|
.app-shell:has(.history-page),
|
|
.app-shell:has(.history-page) > .ant-layout,
|
|
.app-main-content.ant-layout-content:has(.history-page),
|
|
.app-main-panel:has(.history-page),
|
|
.app-main-layout:has(.history-page),
|
|
.app-shell:has(.chat-source-changes-page),
|
|
.app-shell:has(.chat-source-changes-page) > .ant-layout,
|
|
.app-main-content.ant-layout-content:has(.chat-source-changes-page),
|
|
.app-main-panel:has(.chat-source-changes-page),
|
|
.app-main-layout:has(.chat-source-changes-page),
|
|
.app-shell:has(.docs-page),
|
|
.app-shell:has(.docs-page) > .ant-layout,
|
|
.app-main-content.ant-layout-content:has(.docs-page),
|
|
.app-main-panel:has(.docs-page),
|
|
.app-main-layout:has(.docs-page) {
|
|
height: 100%;
|
|
min-height: 0;
|
|
}
|
|
|
|
.app-shell:has(.docs-page),
|
|
.app-shell:has(.docs-page) > .ant-layout,
|
|
.app-main-content.ant-layout-content:has(.docs-page),
|
|
.app-main-panel:has(.docs-page) {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-main-layout:has(.docs-page) {
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.app-shell:has(.plan-board-page),
|
|
.app-shell:has(.plan-board-page) > .ant-layout,
|
|
.app-main-content.ant-layout-content:has(.plan-board-page),
|
|
.app-main-panel:has(.plan-board-page),
|
|
.app-main-layout:has(.plan-board-page),
|
|
.app-shell:has(.plan-schedule-page),
|
|
.app-shell:has(.plan-schedule-page) > .ant-layout,
|
|
.app-main-content.ant-layout-content:has(.plan-schedule-page),
|
|
.app-main-panel:has(.plan-schedule-page),
|
|
.app-main-layout:has(.plan-schedule-page),
|
|
.app-shell:has(.release-review-page),
|
|
.app-shell:has(.release-review-page) > .ant-layout,
|
|
.app-main-content.ant-layout-content:has(.release-review-page),
|
|
.app-main-panel:has(.release-review-page),
|
|
.app-main-layout:has(.release-review-page),
|
|
.app-shell:has(.server-command-page),
|
|
.app-shell:has(.server-command-page) > .ant-layout,
|
|
.app-main-content.ant-layout-content:has(.server-command-page),
|
|
.app-main-panel:has(.server-command-page),
|
|
.app-main-layout:has(.server-command-page),
|
|
.app-shell:has(.test-play-app),
|
|
.app-shell:has(.test-play-app) > .ant-layout,
|
|
.app-main-content.ant-layout-content:has(.test-play-app),
|
|
.app-main-panel:has(.test-play-app),
|
|
.app-main-layout:has(.test-play-app),
|
|
.app-shell:has(.layout-draw-page),
|
|
.app-shell:has(.layout-draw-page) > .ant-layout,
|
|
.app-main-content.ant-layout-content:has(.layout-draw-page),
|
|
.app-main-panel:has(.layout-draw-page),
|
|
.app-main-layout:has(.layout-draw-page),
|
|
.app-shell:has(.layout-playground__editor-card),
|
|
.app-shell:has(.layout-playground__editor-card) > .ant-layout,
|
|
.app-main-content.ant-layout-content:has(.layout-playground__editor-card),
|
|
.app-main-panel:has(.layout-playground__editor-card),
|
|
.app-main-layout:has(.layout-playground__editor-card) {
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-shell:has(.app-main-panel--play-saved),
|
|
.app-shell:has(.app-main-panel--play-saved) > .ant-layout,
|
|
.app-main-content.ant-layout-content:has(.app-main-panel--play-saved),
|
|
.app-main-layout:has(.app-main-panel--play-saved),
|
|
.app-main-panel--play-saved {
|
|
height: calc(var(--app-viewport-height) - var(--app-mobile-header-height));
|
|
min-height: calc(var(--app-viewport-height) - var(--app-mobile-header-height));
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-header {
|
|
padding-inline: 8px;
|
|
}
|
|
|
|
.app-header__row {
|
|
gap: 8px;
|
|
}
|
|
|
|
.app-header__actions {
|
|
gap: 4px;
|
|
}
|
|
|
|
.app-main-layout {
|
|
gap: 0;
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
.app-main-layout > * {
|
|
min-width: 0;
|
|
}
|
|
|
|
.app-main-layout--single {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.app-main-content--expanded .app-main-panel,
|
|
.app-main-content--expanded .app-main-card {
|
|
min-height: 100%;
|
|
}
|
|
|
|
.app-main-content__restore.ant-btn {
|
|
position: fixed;
|
|
top: 16px;
|
|
right: 16px;
|
|
z-index: 30;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.88);
|
|
border: 1px solid rgba(148, 163, 184, 0.24);
|
|
backdrop-filter: blur(16px);
|
|
}
|
|
|
|
.app-main-card {
|
|
border-radius: 20px;
|
|
width: 100%;
|
|
}
|
|
|
|
.app-main-card.ant-card,
|
|
.app-chat-panel.ant-card {
|
|
border: 0;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.app-main-card.ant-card {
|
|
min-height: 100%;
|
|
}
|
|
|
|
.app-main-card.ant-card {
|
|
background: rgba(255, 255, 255, 0.72);
|
|
}
|
|
|
|
.app-main-card.ant-card .ant-card-head {
|
|
min-height: auto;
|
|
padding: 16px 20px 0;
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.app-main-card.ant-card .ant-card-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: auto;
|
|
min-width: 0;
|
|
padding: 12px 20px 20px;
|
|
}
|
|
|
|
.app-main-card--widget-preview.ant-card {
|
|
flex: 1 1 auto;
|
|
height: 100%;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.app-main-card--widget-preview.ant-card .ant-card-head {
|
|
min-height: 34px;
|
|
padding: 4px 10px 0;
|
|
}
|
|
|
|
.app-main-card--widget-preview.ant-card .ant-card-head-title {
|
|
padding: 4px 0;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.app-main-card--widget-preview.ant-card .ant-card-body {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-main-copy.ant-typography {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.app-main-window-layer {
|
|
position: absolute;
|
|
inset: 16px;
|
|
z-index: 25;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.app-main-preview-layer {
|
|
position: static;
|
|
inset: 0;
|
|
z-index: 30;
|
|
overflow: visible;
|
|
}
|
|
|
|
.app-main-play-app-layer {
|
|
position: static;
|
|
inset: 0;
|
|
z-index: 32;
|
|
overflow: visible;
|
|
}
|
|
|
|
.app-main-window-layer__stage {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: calc(var(--app-viewport-height) - 92px);
|
|
overflow: hidden;
|
|
border-radius: 24px;
|
|
}
|
|
|
|
.app-main-window-layer__window {
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.app-main-window-layer__window--widget-preview {
|
|
border-radius: 0;
|
|
}
|
|
|
|
.app-main-window-layer__body {
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
flex-direction: column;
|
|
gap: 0;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
padding: 0 !important;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-main-window-layer__fallback {
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
min-height: 0;
|
|
}
|
|
|
|
.app-main-window-layer__sample {
|
|
display: flex;
|
|
flex: 1;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
}
|
|
|
|
.app-main-window-layer__sample > * {
|
|
flex: 1;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
.app-main-window-layer__sample--intrinsic {
|
|
display: block;
|
|
flex: 0 0 auto;
|
|
overflow: visible;
|
|
padding: 20px;
|
|
}
|
|
|
|
.app-main-window-layer__sample--intrinsic > * {
|
|
flex: 0 0 auto;
|
|
min-height: auto;
|
|
}
|
|
|
|
.app-main-window-layer__sample--fill {
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
}
|
|
|
|
.app-main-window-layer__sample--fill > * {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
.app-main-window-layer__keywords {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
body.play-app-overlay-open {
|
|
overflow: hidden;
|
|
}
|
|
|
|
body.play-app-e-reader-immersive .app-header,
|
|
body.play-app-e-reader-immersive .app-sider.ant-layout-sider {
|
|
display: none;
|
|
}
|
|
|
|
body.play-app-e-reader-immersive .app-shell__body.ant-layout,
|
|
body.play-app-e-reader-immersive .app-main-layout,
|
|
body.play-app-e-reader-immersive .app-main-content.ant-layout-content,
|
|
body.play-app-e-reader-immersive .app-main-panel,
|
|
body.play-app-e-reader-immersive .app-main-panel--play,
|
|
body.play-app-e-reader-immersive .app-main-panel--play > * {
|
|
height: 100%;
|
|
min-height: 0;
|
|
}
|
|
|
|
body.play-app-e-reader-immersive .app-main-layout,
|
|
body.play-app-e-reader-immersive .app-main-content.ant-layout-content {
|
|
padding: 0;
|
|
gap: 0;
|
|
}
|
|
|
|
.play-app-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1250;
|
|
display: flex;
|
|
align-items: stretch;
|
|
justify-content: stretch;
|
|
padding: 18px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.play-app-overlay__backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
border: 0;
|
|
background: rgba(15, 23, 42, 0.42);
|
|
backdrop-filter: blur(8px);
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.play-app-overlay__surface {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(148, 163, 184, 0.18);
|
|
border-radius: 28px;
|
|
background: rgba(255, 255, 255, 0.96);
|
|
box-shadow: 0 32px 80px rgba(15, 23, 42, 0.24);
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.play-app-overlay__viewport {
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.play-app-overlay__viewport > * {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
.play-app-overlay__close.ant-btn {
|
|
position: absolute;
|
|
top: 16px;
|
|
right: 16px;
|
|
z-index: 3;
|
|
width: 40px;
|
|
min-width: 40px;
|
|
height: 40px;
|
|
border: 1px solid rgba(148, 163, 184, 0.22);
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.88);
|
|
color: #334155;
|
|
box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
|
|
}
|
|
|
|
.play-app-overlay__close.ant-btn:hover,
|
|
.play-app-overlay__close.ant-btn:focus-visible {
|
|
color: #0f172a;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.preview-app-window {
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
align-items: stretch;
|
|
justify-content: stretch;
|
|
width: 100%;
|
|
height: 100%;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
background: #ffffff;
|
|
overscroll-behavior: contain;
|
|
}
|
|
|
|
.preview-app-window__viewport {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.preview-app-window__viewport--desktop {
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.preview-app-window__viewport--mobile {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 0;
|
|
border: 0;
|
|
background: #ffffff;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.preview-app-window__frame {
|
|
width: 100%;
|
|
height: 100%;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
border: 0;
|
|
display: block;
|
|
background: #fff;
|
|
}
|
|
|
|
body.preview-app-overlay-open {
|
|
overflow: hidden;
|
|
}
|
|
|
|
body.preview-app-overlay-console-dragging {
|
|
overscroll-behavior: none;
|
|
}
|
|
|
|
.preview-app-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
background:
|
|
linear-gradient(180deg, rgba(244, 247, 251, 0.98) 0%, rgba(231, 238, 248, 0.96) 100%);
|
|
z-index: 2000;
|
|
overscroll-behavior: none;
|
|
}
|
|
|
|
.preview-app-overlay--minimized {
|
|
inset: auto;
|
|
width: 168px;
|
|
height: 44px;
|
|
border-radius: 999px;
|
|
overflow: visible;
|
|
box-shadow: 0 18px 36px rgba(15, 23, 42, 0.2);
|
|
touch-action: none;
|
|
}
|
|
|
|
.preview-app-overlay--mobile-shell {
|
|
inset: auto;
|
|
width: min(430px, calc(100vw - 24px));
|
|
height: min(860px, calc(100vh - 24px));
|
|
border-radius: 40px;
|
|
overflow: visible;
|
|
background: transparent;
|
|
touch-action: none;
|
|
}
|
|
|
|
.preview-app-overlay__header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex: 0 0 44px;
|
|
min-height: 44px;
|
|
padding: 0 max(10px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px));
|
|
background:
|
|
linear-gradient(135deg, rgba(231, 242, 255, 0.98) 0%, rgba(255, 244, 230, 0.98) 52%, rgba(255, 236, 214, 0.98) 100%);
|
|
color: #172554;
|
|
border-bottom: 1px solid rgba(96, 165, 250, 0.2);
|
|
box-shadow:
|
|
0 10px 28px rgba(37, 99, 235, 0.08),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.78);
|
|
user-select: none;
|
|
width: 100%;
|
|
}
|
|
|
|
.preview-app-overlay--mobile-shell .preview-app-overlay__header {
|
|
border: 1px solid rgba(148, 163, 184, 0.18);
|
|
border-bottom: 0;
|
|
border-radius: 40px 40px 0 0;
|
|
box-shadow:
|
|
0 18px 42px rgba(15, 23, 42, 0.14),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.82);
|
|
cursor: grab;
|
|
}
|
|
|
|
.preview-app-overlay--mobile-shell .preview-app-overlay__header:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.preview-app-overlay--minimized .preview-app-overlay__header {
|
|
border: 1px solid rgba(96, 165, 250, 0.26);
|
|
border-radius: 999px;
|
|
background:
|
|
linear-gradient(135deg, rgba(222, 239, 255, 0.98) 0%, rgba(255, 248, 238, 0.98) 46%, rgba(255, 233, 211, 0.98) 100%);
|
|
box-shadow:
|
|
0 20px 40px rgba(15, 23, 42, 0.16),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.82);
|
|
cursor: grab;
|
|
}
|
|
|
|
.preview-app-overlay--minimized .preview-app-overlay__header:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.preview-app-overlay__title {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.preview-app-overlay__title--minimized {
|
|
flex: 0 1 auto;
|
|
}
|
|
|
|
.preview-app-overlay__title-badge {
|
|
width: 12px;
|
|
height: 12px;
|
|
flex: 0 0 12px;
|
|
border-radius: 999px;
|
|
background:
|
|
radial-gradient(circle at 32% 32%, #ffffff 0%, #bfdbfe 24%, #60a5fa 58%, #1d4ed8 100%);
|
|
box-shadow:
|
|
0 0 0 4px rgba(191, 219, 254, 0.42),
|
|
0 4px 10px rgba(37, 99, 235, 0.2);
|
|
}
|
|
|
|
.preview-app-overlay__title-copy {
|
|
display: inline-flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
line-height: 1.05;
|
|
}
|
|
|
|
.preview-app-overlay__title-copy strong {
|
|
color: #172554;
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
.preview-app-overlay__title-copy span {
|
|
overflow: hidden;
|
|
color: #475569;
|
|
font-size: 11px;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.preview-app-overlay__actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
flex: 0 0 auto;
|
|
margin-left: auto;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.preview-app-overlay__actions .ant-btn {
|
|
width: 32px;
|
|
min-width: 32px;
|
|
height: 32px;
|
|
color: inherit;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.preview-app-overlay__actions .ant-btn:hover {
|
|
background: rgba(226, 232, 240, 0.68);
|
|
}
|
|
|
|
.preview-app-overlay__console-toggle {
|
|
position: relative;
|
|
width: auto !important;
|
|
min-width: 0 !important;
|
|
padding: 0 12px !important;
|
|
gap: 6px;
|
|
border: 1px solid rgba(148, 163, 184, 0.34);
|
|
background:
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(226, 232, 240, 0.92) 100%);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.86),
|
|
0 1px 2px rgba(15, 23, 42, 0.1);
|
|
color: #0f172a;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
.preview-app-overlay__console-toggle .ant-btn-icon {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.preview-app-overlay__console-toggle:hover {
|
|
border-color: rgba(59, 130, 246, 0.28);
|
|
background:
|
|
linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(219, 234, 254, 0.96) 100%) !important;
|
|
}
|
|
|
|
.preview-app-overlay__console-toggle:focus-visible {
|
|
outline: 2px solid rgba(59, 130, 246, 0.34);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.preview-app-overlay__console-toggle--active {
|
|
border-color: rgba(59, 130, 246, 0.42);
|
|
background:
|
|
linear-gradient(180deg, rgba(239, 246, 255, 0.98) 0%, rgba(219, 234, 254, 0.98) 100%);
|
|
}
|
|
|
|
.preview-app-overlay__console-toggle--active::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 6px;
|
|
right: 6px;
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 999px;
|
|
background: #f97316;
|
|
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.92);
|
|
}
|
|
|
|
.preview-app-overlay__minimized-content {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
padding-left: 8px;
|
|
color: #0f172a;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
.preview-app-overlay__minimized-dot {
|
|
width: 10px;
|
|
height: 10px;
|
|
flex: 0 0 10px;
|
|
border-radius: 999px;
|
|
background:
|
|
radial-gradient(circle at 35% 35%, #fef3c7 0%, #f59e0b 45%, #ea580c 100%);
|
|
box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.16);
|
|
}
|
|
|
|
.preview-app-overlay__minimized-label {
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.preview-app-overlay__body {
|
|
position: relative;
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.preview-app-overlay__console-panel {
|
|
position: absolute;
|
|
inset: auto 12px 12px 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: min(34vh, 320px);
|
|
min-height: 180px;
|
|
border: 1px solid rgba(15, 23, 42, 0.16);
|
|
border-radius: 20px;
|
|
overflow: hidden;
|
|
background: rgba(2, 6, 23, 0.94);
|
|
box-shadow: 0 24px 48px rgba(15, 23, 42, 0.28);
|
|
backdrop-filter: blur(12px);
|
|
}
|
|
|
|
.preview-app-overlay__console-panel--detached {
|
|
position: fixed;
|
|
inset: auto;
|
|
width: min(460px, calc(100vw - 24px));
|
|
height: min(340px, calc(100vh - 24px));
|
|
z-index: 1400;
|
|
border-radius: 18px;
|
|
overscroll-behavior: contain;
|
|
box-shadow:
|
|
0 28px 60px rgba(15, 23, 42, 0.38),
|
|
0 0 0 1px rgba(148, 163, 184, 0.16);
|
|
}
|
|
|
|
.preview-app-overlay__console-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 12px 14px;
|
|
background: rgba(15, 23, 42, 0.88);
|
|
border-bottom: 1px solid rgba(148, 163, 184, 0.18);
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.preview-app-overlay__console-head--detached {
|
|
cursor: grab;
|
|
touch-action: none;
|
|
user-select: none;
|
|
-webkit-user-select: none;
|
|
background:
|
|
linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.9) 100%);
|
|
}
|
|
|
|
.preview-app-overlay__console-head--detached:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.preview-app-overlay__console-head-copy {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.preview-app-overlay__console-summary {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
color: #94a3b8;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.preview-app-overlay__console-location {
|
|
overflow: hidden;
|
|
color: #cbd5e1;
|
|
font-size: 11px;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.preview-app-overlay__console-head-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
flex: 0 0 auto;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.preview-app-overlay__console-head .ant-btn {
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
.preview-app-overlay__console-head--detached .ant-btn:hover {
|
|
background: rgba(51, 65, 85, 0.72);
|
|
}
|
|
|
|
.preview-app-overlay__console-filters {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
padding: 8px 10px;
|
|
background: rgba(15, 23, 42, 0.82);
|
|
border-bottom: 1px solid rgba(148, 163, 184, 0.12);
|
|
}
|
|
|
|
.preview-app-overlay__console-filter.ant-btn {
|
|
position: relative;
|
|
isolation: isolate;
|
|
height: 26px;
|
|
padding: 0 10px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(148, 163, 184, 0.18);
|
|
background: rgba(30, 41, 59, 0.66);
|
|
color: #cbd5e1;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
text-shadow: 0 1px 1px rgba(15, 23, 42, 0.26);
|
|
transition:
|
|
color 160ms ease,
|
|
background-color 160ms ease,
|
|
border-color 160ms ease,
|
|
box-shadow 160ms ease,
|
|
transform 160ms ease;
|
|
}
|
|
|
|
.preview-app-overlay__console-filter.ant-btn > span {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.preview-app-overlay__console-filter.ant-btn:hover {
|
|
color: #f8fafc;
|
|
border-color: rgba(148, 163, 184, 0.34);
|
|
background: rgba(51, 65, 85, 0.78);
|
|
}
|
|
|
|
.preview-app-overlay__console-filter.ant-btn.is-active {
|
|
color: #f8fafc;
|
|
border-color: rgba(96, 165, 250, 0.45);
|
|
background: rgba(37, 99, 235, 0.28);
|
|
}
|
|
|
|
.preview-app-overlay__console-panel--detached .preview-app-overlay__console-filter.ant-btn {
|
|
border-color: rgba(148, 163, 184, 0.24);
|
|
background: rgba(15, 23, 42, 0.92);
|
|
color: rgba(226, 232, 240, 0.9);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
|
|
}
|
|
|
|
.preview-app-overlay__console-panel--detached .preview-app-overlay__console-filter.ant-btn:hover {
|
|
color: #ffffff;
|
|
border-color: rgba(148, 163, 184, 0.4);
|
|
background: rgba(51, 65, 85, 0.92);
|
|
}
|
|
|
|
.preview-app-overlay__console-panel--detached .preview-app-overlay__console-filter.ant-btn.is-active {
|
|
color: #eff6ff;
|
|
border-color: rgba(147, 197, 253, 0.92);
|
|
background: linear-gradient(135deg, rgba(37, 99, 235, 0.98), rgba(29, 78, 216, 0.98));
|
|
text-shadow: 0 1px 2px rgba(15, 23, 42, 0.42);
|
|
transform: translateY(-1px);
|
|
box-shadow:
|
|
inset 0 0 0 1px rgba(191, 219, 254, 0.34),
|
|
0 10px 22px rgba(37, 99, 235, 0.3);
|
|
}
|
|
|
|
.preview-app-overlay__console-panel--detached .preview-app-overlay__console-filter.ant-btn.is-active::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: -3px;
|
|
z-index: 0;
|
|
border: 1px solid rgba(191, 219, 254, 0.36);
|
|
border-radius: inherit;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.preview-app-overlay__console-filter--warn.ant-btn.is-active {
|
|
border-color: rgba(251, 191, 36, 0.5);
|
|
background: rgba(180, 83, 9, 0.38);
|
|
}
|
|
|
|
.preview-app-overlay__console-panel--detached .preview-app-overlay__console-filter--warn.ant-btn.is-active {
|
|
color: #fff7ed;
|
|
border-color: rgba(253, 186, 116, 0.94);
|
|
background: linear-gradient(135deg, rgba(217, 119, 6, 0.98), rgba(180, 83, 9, 0.98));
|
|
box-shadow:
|
|
inset 0 0 0 1px rgba(254, 215, 170, 0.34),
|
|
0 10px 22px rgba(217, 119, 6, 0.24);
|
|
}
|
|
|
|
.preview-app-overlay__console-panel--detached .preview-app-overlay__console-filter--warn.ant-btn.is-active::after {
|
|
border-color: rgba(254, 215, 170, 0.34);
|
|
}
|
|
|
|
.preview-app-overlay__console-filter--error.ant-btn.is-active {
|
|
border-color: rgba(248, 113, 113, 0.48);
|
|
background: rgba(153, 27, 27, 0.46);
|
|
}
|
|
|
|
.preview-app-overlay__console-panel--detached .preview-app-overlay__console-filter--error.ant-btn.is-active {
|
|
color: #fef2f2;
|
|
border-color: rgba(252, 165, 165, 0.92);
|
|
background: linear-gradient(135deg, rgba(220, 38, 38, 0.98), rgba(153, 27, 27, 0.98));
|
|
box-shadow:
|
|
inset 0 0 0 1px rgba(254, 202, 202, 0.32),
|
|
0 10px 22px rgba(220, 38, 38, 0.24);
|
|
}
|
|
|
|
.preview-app-overlay__console-panel--detached .preview-app-overlay__console-filter--error.ant-btn.is-active::after {
|
|
border-color: rgba(254, 202, 202, 0.32);
|
|
}
|
|
|
|
.preview-app-overlay__console-filter--debug.ant-btn.is-active {
|
|
border-color: rgba(125, 211, 252, 0.42);
|
|
background: rgba(30, 41, 59, 0.9);
|
|
}
|
|
|
|
.preview-app-overlay__console-panel--detached .preview-app-overlay__console-filter--debug.ant-btn.is-active {
|
|
color: #ecfeff;
|
|
border-color: rgba(103, 232, 249, 0.84);
|
|
background: linear-gradient(135deg, rgba(14, 116, 144, 0.98), rgba(8, 47, 73, 0.98));
|
|
box-shadow:
|
|
inset 0 0 0 1px rgba(165, 243, 252, 0.28),
|
|
0 10px 22px rgba(14, 116, 144, 0.24);
|
|
}
|
|
|
|
.preview-app-overlay__console-panel--detached .preview-app-overlay__console-filter--debug.ant-btn.is-active::after {
|
|
border-color: rgba(165, 243, 252, 0.28);
|
|
}
|
|
|
|
.preview-app-overlay__console-body {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
padding: 10px;
|
|
font-family: 'SFMono-Regular', 'SF Mono', Consolas, 'Liberation Mono', Menlo, monospace;
|
|
}
|
|
|
|
.preview-app-overlay__console-resize-handle {
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 0;
|
|
width: 22px;
|
|
height: 22px;
|
|
cursor: nwse-resize;
|
|
touch-action: none;
|
|
}
|
|
|
|
.preview-app-overlay__console-resize-handle::before {
|
|
content: '';
|
|
position: absolute;
|
|
right: 5px;
|
|
bottom: 5px;
|
|
width: 10px;
|
|
height: 10px;
|
|
border-right: 2px solid rgba(148, 163, 184, 0.85);
|
|
border-bottom: 2px solid rgba(148, 163, 184, 0.85);
|
|
border-bottom-right-radius: 4px;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.preview-app-overlay__console-entry {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
padding: 10px 12px;
|
|
border-radius: 14px;
|
|
background: rgba(15, 23, 42, 0.58);
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.preview-app-overlay__console-entry + .preview-app-overlay__console-entry {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.preview-app-overlay__console-entry--warn {
|
|
background: rgba(120, 53, 15, 0.72);
|
|
color: #ffedd5;
|
|
}
|
|
|
|
.preview-app-overlay__console-entry--error {
|
|
background: rgba(127, 29, 29, 0.78);
|
|
color: #fee2e2;
|
|
}
|
|
|
|
.preview-app-overlay__console-entry--debug {
|
|
background: rgba(30, 41, 59, 0.72);
|
|
color: #dbeafe;
|
|
}
|
|
|
|
.preview-app-overlay__console-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.06em;
|
|
}
|
|
|
|
.preview-app-overlay__console-meta-copy {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.preview-app-overlay__console-entry-copy.ant-btn {
|
|
color: inherit;
|
|
opacity: 0.72;
|
|
}
|
|
|
|
.preview-app-overlay__console-entry-copy.ant-btn:hover,
|
|
.preview-app-overlay__console-entry-copy.ant-btn:focus {
|
|
color: #f8fafc;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
opacity: 1;
|
|
}
|
|
|
|
.preview-app-overlay__console-entry pre {
|
|
margin: 0;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
font: inherit;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.preview-app-overlay__console-empty {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 100%;
|
|
padding: 20px;
|
|
color: #94a3b8;
|
|
text-align: center;
|
|
}
|
|
|
|
.preview-app-overlay--mobile-shell .preview-app-overlay__body {
|
|
height: calc(100% - 44px);
|
|
border: 1px solid rgba(148, 163, 184, 0.18);
|
|
border-top: 0;
|
|
border-radius: 0 0 40px 40px;
|
|
box-shadow:
|
|
0 28px 64px rgba(15, 23, 42, 0.18),
|
|
0 0 0 1px rgba(255, 255, 255, 0.52);
|
|
}
|
|
|
|
.preview-app-overlay--mobile-shell .preview-app-window {
|
|
padding: 0;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.preview-app-overlay--mobile-shell .preview-app-window__viewport--mobile {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 0 0 40px 40px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.preview-app-overlay--mobile-shell .preview-app-overlay__console-panel {
|
|
inset: auto 10px 10px 10px;
|
|
height: min(38vh, 360px);
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.preview-app-window__viewport--desktop {
|
|
border-radius: 0;
|
|
}
|
|
|
|
.preview-app-window__viewport--mobile {
|
|
border-radius: 0;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.preview-app-overlay--mobile-shell {
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 0;
|
|
overflow: hidden;
|
|
background:
|
|
linear-gradient(180deg, rgba(244, 247, 251, 0.98) 0%, rgba(231, 238, 248, 0.96) 100%);
|
|
}
|
|
|
|
.preview-app-overlay--mobile-shell .preview-app-overlay__header,
|
|
.preview-app-overlay--mobile-shell .preview-app-overlay__body,
|
|
.preview-app-overlay--mobile-shell .preview-app-window__viewport--mobile {
|
|
border-radius: 0;
|
|
}
|
|
|
|
.preview-app-overlay--mobile-shell .preview-app-overlay__header,
|
|
.preview-app-overlay--mobile-shell .preview-app-overlay__body {
|
|
border: 0;
|
|
box-shadow: none;
|
|
cursor: default;
|
|
}
|
|
|
|
.preview-app-overlay__console-panel {
|
|
inset: auto 8px 8px 8px;
|
|
height: min(44vh, 360px);
|
|
border-radius: 18px;
|
|
}
|
|
|
|
.preview-app-overlay__console-toggle {
|
|
padding: 0 10px !important;
|
|
}
|
|
|
|
.preview-app-overlay__console-toggle span:not(.ant-btn-icon) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.preview-app-overlay__body--hidden {
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.app-main-stack {
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
@media (max-width: 1080px) {
|
|
.app-main-layout {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1180px) {
|
|
.app-main-panel:has(.app-chat-panel) {
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-main-layout:has(.app-chat-panel) {
|
|
height: 100%;
|
|
min-height: 0;
|
|
padding: 0;
|
|
gap: 0;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.app-header {
|
|
--app-header-base-height: var(--app-mobile-header-height, 36px);
|
|
height: calc(var(--app-header-base-height) + env(safe-area-inset-top, 0px));
|
|
min-height: calc(var(--app-header-base-height) + env(safe-area-inset-top, 0px));
|
|
padding: env(safe-area-inset-top, 0px) 10px 0;
|
|
}
|
|
|
|
.app-header__row {
|
|
gap: 6px;
|
|
column-gap: 6px !important;
|
|
}
|
|
|
|
.app-header__menu-side {
|
|
flex: 1 1 auto;
|
|
gap: 6px;
|
|
column-gap: 6px !important;
|
|
}
|
|
|
|
.app-header__actions {
|
|
gap: 6px;
|
|
}
|
|
|
|
.app-header__top-menu.ant-segmented {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
min-height: 32px;
|
|
padding: 0;
|
|
}
|
|
|
|
.app-header__top-menu .ant-segmented-item {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 32px;
|
|
padding-inline: 4px;
|
|
}
|
|
|
|
.app-header__row .ant-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
min-width: 32px;
|
|
padding: 0;
|
|
border-radius: 10px;
|
|
line-height: 1;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.app-header__menu-side > .ant-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 34px;
|
|
height: 34px;
|
|
min-width: 34px;
|
|
padding: 0;
|
|
border-radius: 11px;
|
|
}
|
|
|
|
.app-header__menu-side > .ant-btn .anticon {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.app-header__menu-side > .ant-btn > span,
|
|
.app-header__row .ant-space-item,
|
|
.app-header__actions .ant-btn > span,
|
|
.app-header__row .ant-btn .ant-btn-icon,
|
|
.app-header__row .ant-btn .anticon,
|
|
.app-header__top-menu .ant-segmented-group,
|
|
.app-header__top-menu .ant-segmented-item,
|
|
.app-header__top-menu .ant-segmented-item-label,
|
|
.app-header__top-menu .ant-segmented-item-label .anticon,
|
|
.app-header__connection-indicator,
|
|
.app-header__settings-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
line-height: 1;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.app-header__top-menu .ant-segmented-item-label .anticon {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.app-header__menu-option {
|
|
gap: 0;
|
|
}
|
|
|
|
.app-header__menu-option-icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 9px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.app-header__theme-menu {
|
|
min-width: min(320px, calc(100vw - 20px));
|
|
max-width: min(320px, calc(100vw - 20px));
|
|
}
|
|
|
|
.app-header__theme-option {
|
|
padding: 11px 12px;
|
|
}
|
|
|
|
.app-header__theme-option--compact {
|
|
padding: 10px 11px;
|
|
}
|
|
|
|
.app-header__theme-height-panel {
|
|
padding: 10px;
|
|
}
|
|
|
|
.app-header__theme-height-controls {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.app-header__theme-height-step.ant-btn,
|
|
.app-header__theme-height-input.ant-input-number {
|
|
width: 100%;
|
|
}
|
|
|
|
.app-header__theme-overlay-layer {
|
|
right: 10px;
|
|
width: min(100vw - 20px, 360px);
|
|
}
|
|
|
|
.app-header__theme-trigger-copy {
|
|
display: none;
|
|
}
|
|
|
|
.app-header__actions .ant-btn,
|
|
.app-header__connection-indicator--labelled {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 31px;
|
|
height: 31px;
|
|
min-width: 31px;
|
|
padding: 0;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.app-header__actions .ant-btn .anticon,
|
|
.app-header__connection-indicator .anticon {
|
|
font-size: 17px;
|
|
}
|
|
|
|
.app-header__settings-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
font-size: 17px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.app-header__connection-indicator--labelled {
|
|
padding: 0;
|
|
justify-content: center;
|
|
}
|
|
|
|
.app-header__connection-count-badge {
|
|
top: -1px;
|
|
right: -1px;
|
|
min-width: 15px;
|
|
height: 15px;
|
|
padding: 0 4px;
|
|
font-size: 9px;
|
|
border-width: 1.5px;
|
|
}
|
|
|
|
.app-header__status-dot {
|
|
right: 0;
|
|
bottom: 0;
|
|
width: 7px;
|
|
height: 7px;
|
|
border-width: 1.5px;
|
|
}
|
|
|
|
.app-header__connection-copy {
|
|
display: none;
|
|
}
|
|
|
|
.app-header__runtime-summary {
|
|
gap: 8px;
|
|
}
|
|
|
|
.app-sider.ant-layout-sider {
|
|
position: static;
|
|
}
|
|
|
|
.app-sider--mobile.ant-layout-sider {
|
|
position: fixed;
|
|
inset: var(--app-mobile-header-height) 0 0;
|
|
height: calc(var(--app-viewport-height) - var(--app-mobile-header-height));
|
|
}
|
|
|
|
.app-sider--mobile-inline.ant-layout-sider {
|
|
position: static;
|
|
height: auto;
|
|
}
|
|
|
|
.app-main-content.ant-layout-content {
|
|
padding: 0;
|
|
}
|
|
|
|
.app-main-layout,
|
|
.app-main-layout:has(.chat-type-management-page),
|
|
.app-main-layout:has(.docs-page),
|
|
.app-main-layout:has(.resource-management-page),
|
|
.app-main-layout:has(.board-page),
|
|
.app-main-layout:has(.history-page),
|
|
.app-main-layout:has(.chat-source-changes-page),
|
|
.app-main-layout:has(.plan-board-page),
|
|
.app-main-layout:has(.plan-schedule-page),
|
|
.app-main-layout:has(.release-review-page),
|
|
.app-main-layout:has(.server-command-page),
|
|
.app-main-layout:has(.test-play-app),
|
|
.app-main-layout:has(.layout-playground__editor-card),
|
|
.app-main-layout:has(.app-main-panel--play-saved) {
|
|
width: 100%;
|
|
padding: 0;
|
|
gap: 0;
|
|
}
|
|
|
|
.app-main-panel--play-saved {
|
|
min-height: calc(var(--app-viewport-height) - var(--app-mobile-header-height));
|
|
}
|
|
|
|
.app-main-layout:has(.app-main-panel--play-saved) {
|
|
min-height: calc(var(--app-viewport-height) - var(--app-mobile-header-height));
|
|
}
|
|
|
|
.app-main-layout:has(.chat-type-management-page) {
|
|
padding: 0;
|
|
gap: 0;
|
|
}
|
|
|
|
.app-main-layout:has(.shared-chat-management-page) {
|
|
padding: 0;
|
|
gap: 0;
|
|
}
|
|
|
|
.app-main-layout:has(.docs-page) {
|
|
padding: 0;
|
|
gap: 0;
|
|
}
|
|
|
|
.app-main-window-layer {
|
|
inset: 8px;
|
|
}
|
|
|
|
.app-main-preview-layer {
|
|
inset: 0;
|
|
}
|
|
|
|
.app-main-play-app-layer {
|
|
inset: 0;
|
|
}
|
|
|
|
.app-main-window-layer__stage {
|
|
min-height: calc(var(--app-viewport-height) - 68px);
|
|
border-radius: 18px;
|
|
}
|
|
|
|
.play-app-overlay {
|
|
padding: 10px;
|
|
}
|
|
|
|
.play-app-overlay__surface {
|
|
border-radius: 22px;
|
|
}
|
|
|
|
.app-main-card {
|
|
border-radius: 16px;
|
|
}
|
|
|
|
.app-main-card.ant-card {
|
|
background: rgba(255, 255, 255, 0.82);
|
|
}
|
|
|
|
.app-main-card.ant-card .ant-card-head {
|
|
padding: 14px 16px 0;
|
|
}
|
|
|
|
.app-main-card.ant-card .ant-card-head-title {
|
|
white-space: normal;
|
|
}
|
|
|
|
.app-main-card.ant-card .ant-card-body {
|
|
padding: 10px 16px 16px;
|
|
}
|
|
|
|
.docs-page__scroll {
|
|
padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
|
|
}
|
|
|
|
.app-main-panel:has(.app-chat-panel) {
|
|
height: 100%;
|
|
min-height: 0;
|
|
}
|
|
|
|
.app-main-layout:has(.plan-board-page),
|
|
.app-main-layout:has(.plan-schedule-page),
|
|
.app-main-layout:has(.release-review-page),
|
|
.app-main-layout:has(.server-command-page),
|
|
.app-main-layout:has(.test-play-app),
|
|
.app-main-layout:has(.layout-playground__editor-card) {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-main-panel:has(.test-play-app) {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-main-panel:has(.layout-playground__editor-card) {
|
|
overflow-y: auto;
|
|
overscroll-behavior: contain;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.play-app-overlay {
|
|
padding: 0;
|
|
}
|
|
|
|
.play-app-overlay__surface {
|
|
border-width: 0;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.play-app-overlay__close.ant-btn {
|
|
top: 12px;
|
|
right: 12px;
|
|
}
|
|
}
|