2026-02-09 16:33:52 +08:00
|
|
|
#root {
|
2026-02-15 15:28:48 +08:00
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
2026-02-15 15:28:48 +08:00
|
|
|
/* Main layout */
|
2026-02-11 22:15:16 +08:00
|
|
|
.app-layout {
|
2026-02-15 15:28:48 +08:00
|
|
|
min-height: 100vh;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2026-02-09 16:33:52 +08:00
|
|
|
}
|
|
|
|
|
|
2026-02-15 15:28:48 +08:00
|
|
|
/* Header */
|
2026-02-11 22:15:16 +08:00
|
|
|
.app-header {
|
2026-02-15 15:28:48 +08:00
|
|
|
padding: 0 24px;
|
2026-02-16 13:19:15 +08:00
|
|
|
background: var(--md-surface-container-lowest);
|
2026-02-15 15:28:48 +08:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
box-shadow: var(--md-elevation-1);
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
height: 64px;
|
|
|
|
|
line-height: 64px;
|
|
|
|
|
z-index: 10;
|
|
|
|
|
border-bottom: 1px solid var(--md-outline-variant);
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
2026-02-15 15:28:48 +08:00
|
|
|
.app-header {
|
|
|
|
|
padding: 0 12px;
|
|
|
|
|
height: 56px;
|
|
|
|
|
line-height: 56px;
|
|
|
|
|
}
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
2026-02-15 15:28:48 +08:00
|
|
|
/* Sidebar */
|
2026-02-11 22:15:16 +08:00
|
|
|
.app-sider {
|
2026-02-15 15:28:48 +08:00
|
|
|
background: var(--md-surface-container-low) !important;
|
|
|
|
|
border-right: 1px solid var(--md-outline-variant);
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-sider .ant-menu {
|
2026-02-15 15:28:48 +08:00
|
|
|
border-right: 0;
|
|
|
|
|
background: transparent;
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
2026-02-15 15:28:48 +08:00
|
|
|
/* Content area */
|
2026-02-11 22:15:16 +08:00
|
|
|
.app-content {
|
2026-02-15 15:28:48 +08:00
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
flex: 1;
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
2026-02-15 15:28:48 +08:00
|
|
|
/* Device list page */
|
2026-02-11 22:15:16 +08:00
|
|
|
.device-list-page {
|
2026-02-15 15:28:48 +08:00
|
|
|
padding: 20px;
|
|
|
|
|
background: var(--md-surface);
|
|
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
min-height: 0;
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
2026-02-15 15:28:48 +08:00
|
|
|
.device-list-page {
|
|
|
|
|
padding: 12px;
|
|
|
|
|
}
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.device-list-card {
|
2026-02-15 15:28:48 +08:00
|
|
|
background: var(--md-surface-container-lowest);
|
2026-02-16 13:19:15 +08:00
|
|
|
border-radius: var(--md-shape-lg);
|
2026-02-15 15:28:48 +08:00
|
|
|
padding: 20px;
|
|
|
|
|
box-shadow: var(--md-elevation-1);
|
|
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
min-height: 0;
|
|
|
|
|
border: 1px solid var(--md-outline-variant);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Filter bar */
|
2026-02-11 22:15:16 +08:00
|
|
|
.device-filter-bar {
|
2026-02-15 15:28:48 +08:00
|
|
|
background: var(--md-surface-container-low);
|
|
|
|
|
border-radius: var(--md-shape-sm);
|
|
|
|
|
padding: 12px 16px;
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
border: 1px solid var(--md-outline-variant);
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.device-filter-bar .ant-form-inline {
|
2026-02-15 15:28:48 +08:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
flex-wrap: wrap;
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 1200px) {
|
2026-02-15 15:28:48 +08:00
|
|
|
.device-filter-bar .ant-form-inline .ant-form-item {
|
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
}
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
2026-02-15 15:28:48 +08:00
|
|
|
/* Empty state */
|
2026-02-11 22:15:16 +08:00
|
|
|
.device-empty-state {
|
2026-02-15 15:28:48 +08:00
|
|
|
text-align: center;
|
|
|
|
|
padding: 60px 20px;
|
|
|
|
|
color: var(--md-on-surface-variant);
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
2026-02-15 15:28:48 +08:00
|
|
|
/* Standalone control page */
|
2026-02-11 22:15:16 +08:00
|
|
|
.standalone-control-page {
|
2026-02-15 15:28:48 +08:00
|
|
|
width: 100vw;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
background: var(--md-surface);
|
|
|
|
|
overflow: hidden;
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
2026-02-15 15:28:48 +08:00
|
|
|
/* Control screen area */
|
2026-02-11 22:15:16 +08:00
|
|
|
.control-screen-area {
|
2026-02-15 15:28:48 +08:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
height: 100%;
|
|
|
|
|
border-right: 1px solid var(--md-outline-variant);
|
|
|
|
|
background: var(--md-surface-container-lowest);
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
overflow: hidden;
|
2026-02-09 16:33:52 +08:00
|
|
|
}
|
2026-02-11 22:15:16 +08:00
|
|
|
|
2026-02-15 15:28:48 +08:00
|
|
|
/* Toolbar */
|
2026-02-11 22:15:16 +08:00
|
|
|
.control-toolbar {
|
2026-02-15 15:28:48 +08:00
|
|
|
padding: 6px 12px;
|
|
|
|
|
border-bottom: 1px solid var(--md-outline-variant);
|
|
|
|
|
background: var(--md-surface-container-low);
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
min-height: 40px;
|
2026-02-09 16:33:52 +08:00
|
|
|
}
|
2026-02-11 22:15:16 +08:00
|
|
|
|
|
|
|
|
.control-toolbar .ant-btn {
|
2026-02-15 15:28:48 +08:00
|
|
|
font-size: 12px;
|
2026-02-09 16:33:52 +08:00
|
|
|
}
|
|
|
|
|
|
2026-02-11 22:15:16 +08:00
|
|
|
@media (max-width: 1200px) {
|
2026-02-15 15:28:48 +08:00
|
|
|
.control-toolbar {
|
|
|
|
|
padding: 4px 8px;
|
|
|
|
|
}
|
|
|
|
|
.control-toolbar .ant-btn {
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
padding: 0 6px;
|
|
|
|
|
}
|
2026-02-09 16:33:52 +08:00
|
|
|
}
|
|
|
|
|
|
2026-02-15 15:28:48 +08:00
|
|
|
/* Screen + reader horizontal layout */
|
2026-02-11 22:15:16 +08:00
|
|
|
.screen-reader-row {
|
2026-02-15 15:28:48 +08:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
flex: 1;
|
|
|
|
|
min-height: 0;
|
|
|
|
|
overflow: hidden;
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.screen-reader-panel {
|
2026-02-15 15:28:48 +08:00
|
|
|
width: 50%;
|
|
|
|
|
border-right: 1px solid var(--md-outline-variant);
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
background: var(--md-surface-container-low);
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.device-screen-panel {
|
2026-02-15 15:28:48 +08:00
|
|
|
width: 50%;
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
background: var(--md-surface-container);
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
2026-02-15 15:28:48 +08:00
|
|
|
/* Text input bar */
|
2026-02-11 22:15:16 +08:00
|
|
|
.text-input-bar {
|
2026-02-15 15:28:48 +08:00
|
|
|
height: 44px;
|
|
|
|
|
border-top: 1px solid var(--md-outline-variant);
|
|
|
|
|
background: var(--md-surface-container-lowest);
|
|
|
|
|
padding: 6px 12px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
flex-shrink: 0;
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.text-input-bar input {
|
2026-02-15 15:28:48 +08:00
|
|
|
flex: 1;
|
|
|
|
|
height: 32px;
|
|
|
|
|
padding: 0 12px;
|
|
|
|
|
border: 1px solid var(--md-outline-variant);
|
|
|
|
|
border-radius: var(--md-shape-full);
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
outline: none;
|
|
|
|
|
background: var(--md-surface-container-low);
|
|
|
|
|
color: var(--md-on-surface);
|
|
|
|
|
transition: border-color 0.2s, box-shadow 0.2s;
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.text-input-bar input:focus {
|
2026-02-15 15:28:48 +08:00
|
|
|
border-color: var(--md-primary);
|
2026-02-16 13:19:15 +08:00
|
|
|
box-shadow: 0 0 0 2px rgba(212, 160, 168, 0.15);
|
2026-02-15 15:28:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.text-input-bar input::placeholder {
|
|
|
|
|
color: var(--md-on-surface-variant);
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.text-input-bar button {
|
2026-02-15 15:28:48 +08:00
|
|
|
height: 32px;
|
|
|
|
|
padding: 0 16px;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: var(--md-shape-full);
|
|
|
|
|
background: var(--md-primary);
|
|
|
|
|
color: var(--md-on-primary);
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
transition: background 0.2s, box-shadow 0.2s;
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.text-input-bar button:hover:not(:disabled) {
|
2026-02-15 15:28:48 +08:00
|
|
|
box-shadow: var(--md-elevation-1);
|
2026-02-16 13:19:15 +08:00
|
|
|
filter: brightness(1.05);
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.text-input-bar button:disabled {
|
2026-02-15 15:28:48 +08:00
|
|
|
background: var(--md-surface-container-highest);
|
|
|
|
|
color: var(--md-outline);
|
|
|
|
|
cursor: not-allowed;
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
2026-02-15 15:28:48 +08:00
|
|
|
/* System keys bar */
|
2026-02-11 22:15:16 +08:00
|
|
|
.system-keys-bar {
|
2026-02-15 15:28:48 +08:00
|
|
|
padding: 8px 12px;
|
|
|
|
|
border-top: 1px solid var(--md-outline-variant);
|
|
|
|
|
background: var(--md-surface-container-lowest);
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
gap: 10px;
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.system-keys-bar .ant-btn {
|
2026-02-15 15:28:48 +08:00
|
|
|
min-width: 72px;
|
|
|
|
|
height: 34px;
|
|
|
|
|
border-radius: var(--md-shape-full);
|
|
|
|
|
font-size: 13px;
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
2026-02-15 15:28:48 +08:00
|
|
|
/* Right control panel */
|
2026-02-11 22:15:16 +08:00
|
|
|
.control-panel-area {
|
2026-02-15 15:28:48 +08:00
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
background: var(--md-surface-container-lowest);
|
|
|
|
|
min-width: 0;
|
|
|
|
|
overflow: hidden;
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.control-panel-header {
|
2026-02-15 15:28:48 +08:00
|
|
|
padding: 10px 16px;
|
|
|
|
|
border-bottom: 1px solid var(--md-outline-variant);
|
|
|
|
|
background: var(--md-surface-container-low);
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
color: var(--md-on-surface);
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.control-panel-body {
|
2026-02-15 15:28:48 +08:00
|
|
|
flex: 1;
|
|
|
|
|
overflow: auto;
|
|
|
|
|
padding: 0;
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
2026-02-15 15:28:48 +08:00
|
|
|
/* Bottom status bar */
|
2026-02-11 22:15:16 +08:00
|
|
|
.screen-reader-status-bar {
|
2026-02-15 15:28:48 +08:00
|
|
|
padding: 3px 12px;
|
|
|
|
|
border-top: 1px solid var(--md-outline-variant);
|
|
|
|
|
background: var(--md-surface-container-low);
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
color: var(--md-on-surface-variant);
|
|
|
|
|
text-align: center;
|
|
|
|
|
flex-shrink: 0;
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
2026-02-15 15:28:48 +08:00
|
|
|
/* Mobile overlay */
|
2026-02-11 22:15:16 +08:00
|
|
|
.mobile-overlay {
|
2026-02-15 15:28:48 +08:00
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100vw;
|
|
|
|
|
height: 100vh;
|
2026-02-16 13:19:15 +08:00
|
|
|
background: rgba(0, 0, 0, 0.25);
|
2026-02-15 15:28:48 +08:00
|
|
|
z-index: 999;
|
|
|
|
|
animation: fadeIn 0.2s ease;
|
2026-02-11 22:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
2026-02-15 15:28:48 +08:00
|
|
|
/* Mobile sidebar */
|
2026-02-11 22:15:16 +08:00
|
|
|
@media (max-width: 768px) {
|
2026-02-15 15:28:48 +08:00
|
|
|
.ant-layout-sider {
|
|
|
|
|
position: fixed !important;
|
|
|
|
|
height: 100vh !important;
|
|
|
|
|
z-index: 1000 !important;
|
|
|
|
|
}
|
|
|
|
|
.ant-layout-header {
|
|
|
|
|
padding: 0 12px !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Table responsive */
|
2026-02-11 22:15:16 +08:00
|
|
|
.ant-table-wrapper {
|
2026-02-15 15:28:48 +08:00
|
|
|
overflow-x: auto;
|
2026-02-09 16:33:52 +08:00
|
|
|
}
|
|
|
|
|
|
2026-02-11 22:15:16 +08:00
|
|
|
.ant-table {
|
2026-02-15 15:28:48 +08:00
|
|
|
font-size: 13px;
|
2026-02-09 16:33:52 +08:00
|
|
|
}
|