style(webui): apply strict modular ui redesign
This commit is contained in:
1 parent
cc4caef6e1
commit
dbf9b14fac
10 files changed
+2056
-363
No files matched your search
@@ -21,6 +21,8 @@
|
||||
"fansclub_join_red_ratio_threshold",
|
||||
"fansclub_manual_wait_seconds",
|
||||
"fudai_click_wait_seconds",
|
||||
"fudai_detail_body_bluepurple_threshold",
|
||||
"fudai_detail_body_dark_threshold",
|
||||
"fudai_detail_ocr_button_enabled",
|
||||
"fudai_detail_ocr_content_enabled",
|
||||
"fudai_detail_ocr_countdown_enabled",
|
||||
@@ -66,6 +68,7 @@
|
||||
"fudai_quiet_end_hour",
|
||||
"fudai_quiet_hours_enabled",
|
||||
"fudai_quiet_start_hour",
|
||||
"fudai_task_status_template_threshold",
|
||||
"fudai_template_match_enabled",
|
||||
"fudai_template_match_threshold",
|
||||
"gui.theme",
|
||||
@@ -125,6 +128,7 @@
|
||||
"pixel_regions.lottery_result.pixel",
|
||||
"pixel_regions.shopping_redpacket",
|
||||
"reenter_live_entry_mode",
|
||||
"region_coords_edit_enabled",
|
||||
"reservation_back_swipe_delay",
|
||||
"reservation_back_verify_enabled",
|
||||
"reservation_back_verify_wait_seconds",
|
||||
@@ -212,6 +216,8 @@
|
||||
"fansclub_join_red_ratio_threshold",
|
||||
"fansclub_manual_wait_seconds",
|
||||
"fudai_click_wait_seconds",
|
||||
"fudai_detail_body_bluepurple_threshold",
|
||||
"fudai_detail_body_dark_threshold",
|
||||
"fudai_detail_ocr_button_enabled",
|
||||
"fudai_detail_ocr_content_enabled",
|
||||
"fudai_detail_ocr_countdown_enabled",
|
||||
@@ -257,6 +263,7 @@
|
||||
"fudai_quiet_end_hour",
|
||||
"fudai_quiet_hours_enabled",
|
||||
"fudai_quiet_start_hour",
|
||||
"fudai_task_status_template_threshold",
|
||||
"fudai_template_match_enabled",
|
||||
"fudai_template_match_threshold",
|
||||
"gui.theme",
|
||||
@@ -319,6 +326,7 @@
|
||||
"pixel_regions.lottery_result.pixel",
|
||||
"pixel_regions.shopping_redpacket",
|
||||
"reenter_live_entry_mode",
|
||||
"region_coords_edit_enabled",
|
||||
"reservation_back_swipe_delay",
|
||||
"reservation_back_verify_enabled",
|
||||
"reservation_back_verify_wait_seconds",
|
||||
@@ -396,6 +404,8 @@
|
||||
"fansclub_join_red_ratio_threshold",
|
||||
"fansclub_manual_wait_seconds",
|
||||
"fudai_click_wait_seconds",
|
||||
"fudai_detail_body_bluepurple_threshold",
|
||||
"fudai_detail_body_dark_threshold",
|
||||
"fudai_detail_ocr_button_enabled",
|
||||
"fudai_detail_ocr_content_enabled",
|
||||
"fudai_detail_ocr_countdown_enabled",
|
||||
@@ -441,6 +451,7 @@
|
||||
"fudai_quiet_end_hour",
|
||||
"fudai_quiet_hours_enabled",
|
||||
"fudai_quiet_start_hour",
|
||||
"fudai_task_status_template_threshold",
|
||||
"fudai_template_match_enabled",
|
||||
"fudai_template_match_threshold",
|
||||
"gui.realtime_status.refresh_interval_ms",
|
||||
@@ -505,6 +516,7 @@
|
||||
"pixel_regions.lottery_result.pixel",
|
||||
"pixel_regions.shopping_redpacket",
|
||||
"reenter_live_entry_mode",
|
||||
"region_coords_edit_enabled",
|
||||
"reservation_back_swipe_delay",
|
||||
"reservation_back_verify_enabled",
|
||||
"reservation_back_verify_wait_seconds",
|
||||
@@ -582,6 +594,8 @@
|
||||
"fansclub_join_red_ratio_threshold",
|
||||
"fansclub_manual_wait_seconds",
|
||||
"fudai_click_wait_seconds",
|
||||
"fudai_detail_body_bluepurple_threshold",
|
||||
"fudai_detail_body_dark_threshold",
|
||||
"fudai_detail_ocr_button_enabled",
|
||||
"fudai_detail_ocr_content_enabled",
|
||||
"fudai_detail_ocr_countdown_enabled",
|
||||
@@ -627,6 +641,7 @@
|
||||
"fudai_quiet_end_hour",
|
||||
"fudai_quiet_hours_enabled",
|
||||
"fudai_quiet_start_hour",
|
||||
"fudai_task_status_template_threshold",
|
||||
"fudai_template_match_enabled",
|
||||
"fudai_template_match_threshold",
|
||||
"gui.realtime_status.refresh_interval_ms",
|
||||
@@ -691,6 +706,7 @@
|
||||
"pixel_regions.lottery_result.pixel",
|
||||
"pixel_regions.shopping_redpacket",
|
||||
"reenter_live_entry_mode",
|
||||
"region_coords_edit_enabled",
|
||||
"reservation_back_swipe_delay",
|
||||
"reservation_back_verify_enabled",
|
||||
"reservation_back_verify_wait_seconds",
|
||||
|
||||
@@ -0,0 +1,388 @@
|
||||
/* Strict UI image2 fidelity refinements. */
|
||||
/* Round 2 fidelity pass: match the generated full-suite UI more closely. */
|
||||
:root {
|
||||
--strict-rail: 236px;
|
||||
--strict-top: 78px;
|
||||
--strict-status: 152px;
|
||||
}
|
||||
|
||||
:root .brandBlock {
|
||||
padding: 0 28px !important;
|
||||
}
|
||||
|
||||
:root .title {
|
||||
font-size: 25px !important;
|
||||
letter-spacing: 0 !important;
|
||||
}
|
||||
|
||||
:root .header-actions {
|
||||
gap: 14px !important;
|
||||
padding: 0 28px !important;
|
||||
}
|
||||
|
||||
:root .overview,
|
||||
:root:not([data-premium-panel="device"]) .overview {
|
||||
gap: 18px !important;
|
||||
padding: 18px 22px 16px !important;
|
||||
}
|
||||
|
||||
:root .overviewCard {
|
||||
display: grid !important;
|
||||
grid-template-columns: 64px minmax(0, 1fr) !important;
|
||||
grid-template-rows: auto auto auto !important;
|
||||
align-items: center !important;
|
||||
justify-items: start !important;
|
||||
min-height: 118px !important;
|
||||
padding: 18px 22px !important;
|
||||
text-align: left !important;
|
||||
}
|
||||
|
||||
:root .premiumMetricIcon {
|
||||
position: static !important;
|
||||
left: auto !important;
|
||||
right: auto !important;
|
||||
top: auto !important;
|
||||
bottom: auto !important;
|
||||
grid-column: 1 !important;
|
||||
grid-row: 1 / span 3 !important;
|
||||
width: 54px !important;
|
||||
height: 54px !important;
|
||||
margin: 0 !important;
|
||||
align-self: center !important;
|
||||
justify-self: start !important;
|
||||
opacity: 1 !important;
|
||||
transform: none !important;
|
||||
}
|
||||
|
||||
:root .premiumMetricIcon::before {
|
||||
width: 25px !important;
|
||||
height: 25px !important;
|
||||
}
|
||||
|
||||
:root .overviewLabel,
|
||||
:root .overviewValue,
|
||||
:root .overviewMeta {
|
||||
grid-column: 2 !important;
|
||||
min-width: 0 !important;
|
||||
max-width: 100% !important;
|
||||
text-align: left !important;
|
||||
}
|
||||
|
||||
:root .overviewLabel {
|
||||
align-self: end !important;
|
||||
color: #111827 !important;
|
||||
font-size: 20px !important;
|
||||
font-weight: 850 !important;
|
||||
}
|
||||
|
||||
:root .overviewValue {
|
||||
margin: 2px 0 0 !important;
|
||||
color: #64748b !important;
|
||||
font-size: 15px !important;
|
||||
font-weight: 650 !important;
|
||||
}
|
||||
|
||||
:root .overviewMeta {
|
||||
margin: 3px 0 0 !important;
|
||||
color: var(--strict-teal) !important;
|
||||
font-size: 16px !important;
|
||||
font-weight: 780 !important;
|
||||
}
|
||||
|
||||
:root .configWorkspace,
|
||||
:root:not([data-premium-panel="device"]) .configWorkspace {
|
||||
height: calc(100vh - var(--strict-top) - var(--strict-status) - 38px) !important;
|
||||
padding: 12px 32px 30px !important;
|
||||
}
|
||||
|
||||
:root .panel,
|
||||
:root .card[data-panel] {
|
||||
padding: 28px 32px !important;
|
||||
border-color: #dce4ee !important;
|
||||
}
|
||||
|
||||
:root .panel > .sectionTitle,
|
||||
:root .cardTitle,
|
||||
:root .logTitle {
|
||||
font-size: 23px !important;
|
||||
line-height: 1.2 !important;
|
||||
}
|
||||
|
||||
:root .panel > .sectionTitle:not(:first-child) {
|
||||
margin-top: 30px !important;
|
||||
}
|
||||
|
||||
:root .row {
|
||||
grid-template-columns: minmax(150px, 0.22fr) minmax(0, 1fr) !important;
|
||||
gap: 12px 26px !important;
|
||||
}
|
||||
|
||||
:root .row.grid2 {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
|
||||
}
|
||||
|
||||
:root .row.grid3 {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
|
||||
}
|
||||
|
||||
:root .row.grid4 {
|
||||
display: grid !important;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
|
||||
align-items: start !important;
|
||||
gap: 14px 18px !important;
|
||||
}
|
||||
|
||||
:root .row.grid2 > div,
|
||||
:root .row.grid3 > div,
|
||||
:root .row.grid4 > div {
|
||||
min-width: 0 !important;
|
||||
}
|
||||
|
||||
:root .row.grid4 .label {
|
||||
display: block !important;
|
||||
margin-bottom: 7px !important;
|
||||
white-space: nowrap !important;
|
||||
}
|
||||
|
||||
:root .row.grid4 .input {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
:root .input,
|
||||
:root .small,
|
||||
:root .logSearchBox,
|
||||
:root input[type="text"],
|
||||
:root input[type="number"],
|
||||
:root input[type="search"],
|
||||
:root select,
|
||||
:root textarea {
|
||||
min-height: 40px !important;
|
||||
border-color: #cbd6e2 !important;
|
||||
}
|
||||
|
||||
:root .btnGroup .btn:first-child,
|
||||
:root .rowActions .btnPrimary,
|
||||
:root #btnWifiEnable,
|
||||
:root #btnRunLogSearch,
|
||||
:root #btnActionsRefresh {
|
||||
color: #ffffff !important;
|
||||
border-color: var(--strict-primary) !important;
|
||||
background: var(--strict-primary) !important;
|
||||
}
|
||||
|
||||
:root #btnWifiDisconnect {
|
||||
color: var(--strict-danger) !important;
|
||||
border-color: #fecdd3 !important;
|
||||
background: #ffffff !important;
|
||||
}
|
||||
|
||||
:root #wifiScanResults {
|
||||
min-height: 118px !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
:root[data-premium-panel="debug"] .panel[data-panel="debug"] {
|
||||
padding-top: 24px !important;
|
||||
}
|
||||
|
||||
:root[data-premium-panel="debug"] .panel[data-panel="debug"] > .sectionTitle {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
min-height: 44px !important;
|
||||
margin: 18px 0 0 !important;
|
||||
padding: 0 14px !important;
|
||||
border: 1px solid #dce4ee !important;
|
||||
border-radius: var(--strict-radius) var(--strict-radius) 0 0 !important;
|
||||
background: linear-gradient(90deg, #f7fbff, #ffffff) !important;
|
||||
font-size: 18px !important;
|
||||
}
|
||||
|
||||
:root[data-premium-panel="debug"] .panel[data-panel="debug"] > .sectionTitle:first-child {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
:root[data-premium-panel="debug"] .panel[data-panel="debug"] > .row {
|
||||
padding: 12px 14px !important;
|
||||
border-right: 1px solid #dce4ee !important;
|
||||
border-left: 1px solid #dce4ee !important;
|
||||
background: #ffffff !important;
|
||||
}
|
||||
|
||||
:root[data-premium-panel="debug"] .panel[data-panel="debug"] > .row + .row {
|
||||
border-top: 1px solid #eef2f7 !important;
|
||||
}
|
||||
|
||||
:root[data-premium-panel="debug"] .panel[data-panel="debug"] > .row:has(+ .sectionTitle),
|
||||
:root[data-premium-panel="debug"] .panel[data-panel="debug"] > .row:last-child {
|
||||
border-bottom: 1px solid #dce4ee !important;
|
||||
border-radius: 0 0 var(--strict-radius) var(--strict-radius) !important;
|
||||
}
|
||||
|
||||
:root .cardReservations,
|
||||
:root .cardLog,
|
||||
:root .cardShot {
|
||||
padding: 28px 32px !important;
|
||||
}
|
||||
|
||||
:root .reservationsContent {
|
||||
min-height: 260px !important;
|
||||
}
|
||||
|
||||
:root .reservationsContent > .hint:only-child {
|
||||
display: grid !important;
|
||||
place-items: center !important;
|
||||
min-height: 220px !important;
|
||||
color: #6b7280 !important;
|
||||
font-size: 17px !important;
|
||||
}
|
||||
|
||||
:root .reservationsList {
|
||||
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
|
||||
}
|
||||
|
||||
:root .logHeader {
|
||||
grid-template-columns: minmax(110px, auto) minmax(0, 1fr) !important;
|
||||
min-height: 70px !important;
|
||||
}
|
||||
|
||||
:root .logHeaderActions {
|
||||
flex-wrap: nowrap !important;
|
||||
}
|
||||
|
||||
:root .log {
|
||||
min-height: clamp(480px, 58vh, 690px) !important;
|
||||
max-height: clamp(480px, 58vh, 690px) !important;
|
||||
}
|
||||
|
||||
@media (max-width: 1180px) {
|
||||
:root {
|
||||
--strict-rail: 78px;
|
||||
--strict-status: 220px;
|
||||
}
|
||||
|
||||
:root .brandBlock {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
:root .title {
|
||||
font-size: 0 !important;
|
||||
}
|
||||
|
||||
:root .overviewCard {
|
||||
min-height: 96px !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 820px) {
|
||||
:root {
|
||||
--strict-top: auto;
|
||||
--strict-status: auto;
|
||||
}
|
||||
|
||||
:root .header-actions {
|
||||
padding: 10px !important;
|
||||
}
|
||||
|
||||
:root .overview,
|
||||
:root:not([data-premium-panel="device"]) .overview {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
|
||||
gap: 8px !important;
|
||||
padding: 10px !important;
|
||||
}
|
||||
|
||||
:root .overviewCard {
|
||||
grid-template-columns: 1fr !important;
|
||||
grid-template-rows: auto auto auto !important;
|
||||
min-height: 78px !important;
|
||||
padding: 10px 12px !important;
|
||||
}
|
||||
|
||||
:root .premiumMetricIcon {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
:root .overviewLabel,
|
||||
:root .overviewValue,
|
||||
:root .overviewMeta {
|
||||
grid-column: 1 !important;
|
||||
}
|
||||
|
||||
:root .overviewLabel {
|
||||
font-size: 14px !important;
|
||||
}
|
||||
|
||||
:root .overviewValue,
|
||||
:root .overviewMeta {
|
||||
font-size: 12px !important;
|
||||
white-space: normal !important;
|
||||
overflow-wrap: anywhere !important;
|
||||
}
|
||||
|
||||
:root .configWorkspace,
|
||||
:root:not([data-premium-panel="device"]) .configWorkspace {
|
||||
padding: 10px !important;
|
||||
}
|
||||
|
||||
:root .panel,
|
||||
:root .card[data-panel],
|
||||
:root .cardReservations,
|
||||
:root .cardLog,
|
||||
:root .cardShot {
|
||||
padding: 14px !important;
|
||||
}
|
||||
|
||||
:root .panel > .sectionTitle,
|
||||
:root .cardTitle,
|
||||
:root .logTitle {
|
||||
font-size: 18px !important;
|
||||
}
|
||||
|
||||
:root .row,
|
||||
:root .row.grid2,
|
||||
:root .row.grid3,
|
||||
:root .row.grid4,
|
||||
:root .panel[data-panel="license"] .row {
|
||||
grid-template-columns: 1fr !important;
|
||||
gap: 8px !important;
|
||||
}
|
||||
|
||||
:root[data-premium-panel="debug"] .panel[data-panel="debug"] > .sectionTitle {
|
||||
min-height: 38px !important;
|
||||
padding: 0 10px !important;
|
||||
font-size: 15px !important;
|
||||
}
|
||||
|
||||
:root[data-premium-panel="debug"] .panel[data-panel="debug"] > .row {
|
||||
padding: 10px !important;
|
||||
}
|
||||
|
||||
:root .logHeader {
|
||||
grid-template-columns: 1fr !important;
|
||||
}
|
||||
|
||||
:root .logHeaderActions {
|
||||
display: grid !important;
|
||||
grid-template-columns: 1fr 1fr !important;
|
||||
flex-wrap: initial !important;
|
||||
}
|
||||
|
||||
:root .logHeaderActions .logSearchBox {
|
||||
grid-column: 1 / -1 !important;
|
||||
}
|
||||
|
||||
:root .log {
|
||||
min-height: 380px !important;
|
||||
max-height: 520px !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 430px) {
|
||||
:root .overview,
|
||||
:root:not([data-premium-panel="device"]) .overview {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
|
||||
}
|
||||
|
||||
:root .overviewCard {
|
||||
min-height: 76px !important;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,299 @@
|
||||
/* Strict UI panel cards, form controls, rows, stats, and tables. */
|
||||
.panel,
|
||||
.card[data-panel],
|
||||
.card {
|
||||
border: 1px solid var(--strict-border);
|
||||
border-radius: var(--strict-radius);
|
||||
background: var(--strict-surface);
|
||||
box-shadow: var(--strict-shadow-soft);
|
||||
}
|
||||
|
||||
.panel,
|
||||
.card[data-panel] {
|
||||
width: 100%;
|
||||
padding: 24px 28px;
|
||||
}
|
||||
|
||||
.panel[hidden],
|
||||
.card[data-panel][hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.panel.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.sectionTitle,
|
||||
.cardTitle,
|
||||
.logTitle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
min-width: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
color: var(--strict-text);
|
||||
font-size: 22px;
|
||||
font-weight: 800;
|
||||
line-height: 1.22;
|
||||
}
|
||||
|
||||
.sectionTitle {
|
||||
margin: 0 0 24px;
|
||||
}
|
||||
|
||||
.sectionTitle:not(:first-child) {
|
||||
margin-top: 30px;
|
||||
padding-top: 24px;
|
||||
border-top: 1px solid var(--strict-border);
|
||||
}
|
||||
|
||||
.sectionIcon {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.row {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(190px, 0.28fr) minmax(0, 1fr);
|
||||
align-items: center;
|
||||
gap: 16px 28px;
|
||||
margin: 0;
|
||||
padding: 10px 0;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.row + .row {
|
||||
border-top: 1px solid #eef2f7;
|
||||
}
|
||||
|
||||
.row.grid2 {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 18px 36px;
|
||||
}
|
||||
|
||||
.row.grid3 {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 18px 28px;
|
||||
}
|
||||
|
||||
.row.grid2 > div,
|
||||
.row.grid3 > div {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.row.grid2 .label,
|
||||
.row.grid3 .label {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.label {
|
||||
color: #263241;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.hint {
|
||||
color: var(--strict-muted);
|
||||
font-size: 13px;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.input,
|
||||
.small,
|
||||
.logSearchBox,
|
||||
input[type="text"],
|
||||
input[type="number"],
|
||||
input[type="search"],
|
||||
select,
|
||||
textarea {
|
||||
min-width: 0;
|
||||
min-height: 38px;
|
||||
border: 1px solid var(--strict-border-strong);
|
||||
border-radius: 6px;
|
||||
color: var(--strict-text);
|
||||
background: #ffffff;
|
||||
box-shadow: none;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.input,
|
||||
.logSearchBox,
|
||||
input[type="text"],
|
||||
input[type="number"],
|
||||
input[type="search"],
|
||||
select {
|
||||
padding: 0 12px;
|
||||
}
|
||||
|
||||
.textarea,
|
||||
textarea {
|
||||
min-height: 110px;
|
||||
padding: 12px;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.check {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
min-width: 0;
|
||||
color: #334155;
|
||||
font-size: 14px;
|
||||
font-weight: 650;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.check input[type="checkbox"] {
|
||||
appearance: none;
|
||||
position: relative;
|
||||
width: 42px;
|
||||
height: 24px;
|
||||
flex: 0 0 42px;
|
||||
border: 0;
|
||||
border-radius: 999px;
|
||||
background: #cbd5e1;
|
||||
cursor: pointer;
|
||||
transition: background 140ms ease;
|
||||
}
|
||||
|
||||
.check input[type="checkbox"]::after {
|
||||
position: absolute;
|
||||
left: 3px;
|
||||
top: 3px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
content: "";
|
||||
border-radius: 50%;
|
||||
background: #ffffff;
|
||||
box-shadow: 0 1px 3px rgba(15, 23, 42, 0.25);
|
||||
transition: transform 140ms ease;
|
||||
}
|
||||
|
||||
.check input[type="checkbox"]:checked {
|
||||
background: var(--strict-teal);
|
||||
}
|
||||
|
||||
.check input[type="checkbox"]:checked::after {
|
||||
transform: translateX(18px);
|
||||
}
|
||||
|
||||
.inline2 {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.inline2:not(:has(span)) {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.rowActions {
|
||||
margin: 16px 0 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.btnGroup {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.btnGroup .btn:first-child,
|
||||
.rowActions .btnPrimary {
|
||||
color: #ffffff;
|
||||
border-color: var(--strict-primary);
|
||||
background: var(--strict-primary);
|
||||
}
|
||||
|
||||
#btnWifiDisconnect {
|
||||
color: var(--strict-danger);
|
||||
border-color: #fecdd3;
|
||||
}
|
||||
|
||||
#wifiStatus {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
#wifiScanResults {
|
||||
display: block;
|
||||
min-height: 112px;
|
||||
margin-top: 22px !important;
|
||||
padding: 42px 16px;
|
||||
border: 1px solid var(--strict-border);
|
||||
border-radius: var(--strict-radius);
|
||||
color: var(--strict-muted);
|
||||
text-align: center;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.statsGrid,
|
||||
.chartsGrid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 18px 22px;
|
||||
}
|
||||
|
||||
.statsGridHero {
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.stat,
|
||||
.chartBlock,
|
||||
.table {
|
||||
border: 1px solid var(--strict-border);
|
||||
border-radius: var(--strict-radius);
|
||||
background: var(--strict-surface);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.stat {
|
||||
min-height: 86px;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.statLabel {
|
||||
color: var(--strict-muted);
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.statValue {
|
||||
margin-top: 8px;
|
||||
color: var(--strict-text);
|
||||
font-size: 24px;
|
||||
font-weight: 850;
|
||||
}
|
||||
|
||||
.statHint {
|
||||
color: var(--strict-muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.chartBlock {
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.chartTitle {
|
||||
color: var(--strict-text);
|
||||
font-size: 16px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.chart {
|
||||
min-height: 220px;
|
||||
}
|
||||
|
||||
.table {
|
||||
min-height: 180px;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.tableRow {
|
||||
border-color: #eef2f7;
|
||||
}
|
||||
@@ -0,0 +1,403 @@
|
||||
/* Strict UI app shell, header, overview, and navigation layout. */
|
||||
.app {
|
||||
display: grid;
|
||||
grid-template-columns: var(--strict-rail) minmax(0, 1fr);
|
||||
grid-template-rows: var(--strict-top) var(--strict-status) minmax(0, 1fr) 38px;
|
||||
grid-template-areas:
|
||||
"top top"
|
||||
"rail overview"
|
||||
"rail workspace"
|
||||
"rail footer";
|
||||
gap: 0;
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
min-height: 100vh;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
animation: none;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#topTemplatesMount {
|
||||
display: contents;
|
||||
}
|
||||
|
||||
.header {
|
||||
grid-area: top;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 40;
|
||||
display: grid;
|
||||
grid-template-columns: var(--strict-rail) minmax(0, 1fr);
|
||||
gap: 0;
|
||||
min-width: 0;
|
||||
height: var(--strict-top);
|
||||
padding: 0;
|
||||
border: 0;
|
||||
border-bottom: 1px solid var(--strict-border);
|
||||
border-radius: 0;
|
||||
background: rgba(255, 255, 255, 0.95);
|
||||
box-shadow: none;
|
||||
backdrop-filter: blur(16px) saturate(1.05);
|
||||
}
|
||||
|
||||
.brandBlock {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
height: var(--strict-top);
|
||||
padding: 0 26px;
|
||||
border-right: 1px solid var(--strict-border);
|
||||
}
|
||||
|
||||
.title {
|
||||
color: #0f172a;
|
||||
font-size: 24px;
|
||||
font-weight: 800;
|
||||
line-height: 1;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.header-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 12px;
|
||||
min-width: 0;
|
||||
margin: 0;
|
||||
padding: 0 24px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.actionGroup {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
gap: 10px;
|
||||
min-width: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.secondaryActions {
|
||||
flex: 0 1 auto;
|
||||
}
|
||||
|
||||
.primaryActions {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.btn {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
min-height: 42px;
|
||||
min-width: 0;
|
||||
padding: 0 16px;
|
||||
border: 1px solid var(--strict-border-strong);
|
||||
border-radius: var(--strict-radius);
|
||||
color: var(--strict-text);
|
||||
background: var(--strict-surface);
|
||||
box-shadow: none;
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
line-height: 1;
|
||||
white-space: nowrap;
|
||||
transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
transform: translateY(-1px);
|
||||
border-color: #b8c6d6;
|
||||
background: #f8fbff;
|
||||
box-shadow: var(--strict-shadow-soft);
|
||||
}
|
||||
|
||||
.btn:focus-visible,
|
||||
.input:focus-visible,
|
||||
.small:focus-visible,
|
||||
.logSearchBox:focus-visible,
|
||||
textarea:focus-visible,
|
||||
select:focus-visible,
|
||||
input:focus-visible {
|
||||
outline: none;
|
||||
border-color: var(--strict-primary);
|
||||
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
|
||||
}
|
||||
|
||||
.btnIcon,
|
||||
.btnIcon svg {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
flex: 0 0 18px;
|
||||
}
|
||||
|
||||
.btnPrimary,
|
||||
#btnStart {
|
||||
color: #ffffff;
|
||||
border-color: var(--strict-primary);
|
||||
background: var(--strict-primary);
|
||||
}
|
||||
|
||||
.btnPrimary:hover,
|
||||
#btnStart:hover {
|
||||
border-color: var(--strict-primary-hover);
|
||||
background: var(--strict-primary-hover);
|
||||
}
|
||||
|
||||
.btnDanger,
|
||||
.btnDangerSoft,
|
||||
#btnStop,
|
||||
#btnForceStop {
|
||||
color: var(--strict-danger);
|
||||
border-color: #fecdd3;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
#btnForceStop {
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.btnSoft,
|
||||
.btnGhost {
|
||||
color: #1f2937;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.btnIconOnly,
|
||||
#btnTheme {
|
||||
width: 42px;
|
||||
min-width: 42px;
|
||||
padding: 0;
|
||||
color: #111827;
|
||||
}
|
||||
|
||||
.overview {
|
||||
grid-area: overview;
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 22px;
|
||||
height: var(--strict-status);
|
||||
margin: 0;
|
||||
padding: 22px 28px 16px;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.overviewCard {
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: 58px minmax(0, 1fr);
|
||||
grid-template-rows: auto auto;
|
||||
column-gap: 16px;
|
||||
row-gap: 6px;
|
||||
min-width: 0;
|
||||
min-height: 92px;
|
||||
padding: 18px 22px;
|
||||
border: 1px solid var(--strict-border);
|
||||
border-radius: var(--strict-radius);
|
||||
background: var(--strict-surface);
|
||||
box-shadow: var(--strict-shadow-soft);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.overviewCard:hover {
|
||||
border-color: var(--strict-border-strong);
|
||||
box-shadow: var(--strict-shadow);
|
||||
}
|
||||
|
||||
.premiumMetricIcon {
|
||||
grid-row: 1 / span 2;
|
||||
grid-column: 1;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
align-self: center;
|
||||
border-radius: 50%;
|
||||
background: linear-gradient(135deg, #15b8a6, #0f9f8e);
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.premiumMetricIcon::before {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
content: "";
|
||||
background: currentColor;
|
||||
mask: var(--metric-mask) center / contain no-repeat;
|
||||
}
|
||||
|
||||
.premiumMetricIcon[data-tone="run"] {
|
||||
--metric-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 13h3l2-7 4 14 2-7h3v2h-4.5l-.5 1.75L10 2.75 8.5 15H5z'/%3E%3C/svg%3E");
|
||||
}
|
||||
|
||||
.premiumMetricIcon[data-tone="device"] {
|
||||
--metric-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h10a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2m0 3v14h10V5zm4 15h2v1h-2z'/%3E%3C/svg%3E");
|
||||
}
|
||||
|
||||
.premiumMetricIcon[data-tone="gift"] {
|
||||
--metric-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 7h-2.2A3 3 0 0 0 12 5.8 3 3 0 0 0 6.2 7H4v6h1v8h14v-8h1zM9 5a1 1 0 0 1 1 1v1H9a1 1 0 0 1 0-2m6 0a1 1 0 0 1 0 2h-1V6a1 1 0 0 1 1-1M6 9h5v2H6zm7 0h5v2h-5zM7 13h4v6H7zm6 0h4v6h-4z'/%3E%3C/svg%3E");
|
||||
}
|
||||
|
||||
.premiumMetricIcon[data-tone="log"] {
|
||||
--metric-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 2h9l5 5v15H6zm8 2v4h4M8 12h8v2H8zm0 4h8v2H8z'/%3E%3C/svg%3E");
|
||||
}
|
||||
|
||||
.overviewLabel,
|
||||
.overviewValue,
|
||||
.overviewMeta {
|
||||
grid-column: 2;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.overviewLabel {
|
||||
align-self: end;
|
||||
color: var(--strict-text);
|
||||
font-size: 17px;
|
||||
font-weight: 800;
|
||||
line-height: 1.15;
|
||||
}
|
||||
|
||||
.overviewValue {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
max-width: 100%;
|
||||
color: var(--strict-muted);
|
||||
font-size: 14px;
|
||||
font-weight: 650;
|
||||
line-height: 1.2;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.overviewMeta {
|
||||
color: var(--strict-teal);
|
||||
font-size: 15px;
|
||||
font-weight: 750;
|
||||
line-height: 1.2;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.statusDot {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
flex: 0 0 8px;
|
||||
background: var(--strict-teal);
|
||||
box-shadow: 0 0 0 4px rgba(15, 159, 142, 0.13);
|
||||
}
|
||||
|
||||
.overviewSpark {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.workspaceShell {
|
||||
display: contents;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.configRail {
|
||||
grid-area: rail;
|
||||
position: sticky;
|
||||
top: var(--strict-top);
|
||||
z-index: 20;
|
||||
align-self: stretch;
|
||||
width: var(--strict-rail);
|
||||
max-height: none;
|
||||
height: calc(100vh - var(--strict-top));
|
||||
padding: 22px 14px;
|
||||
border: 0;
|
||||
border-right: 1px solid var(--strict-border);
|
||||
border-radius: 0;
|
||||
background: rgba(255, 255, 255, 0.82);
|
||||
box-shadow: none;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.sideNav {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.sideNav::before,
|
||||
.sideNav::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.tabBtn {
|
||||
display: grid;
|
||||
grid-template-columns: 28px minmax(0, 1fr);
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
width: 100%;
|
||||
min-height: 48px;
|
||||
padding: 0 13px;
|
||||
border: 1px solid transparent;
|
||||
border-radius: var(--strict-radius);
|
||||
color: #334155;
|
||||
background: transparent;
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
text-align: left;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.tabBtn:hover {
|
||||
color: var(--strict-primary);
|
||||
background: #f5f8ff;
|
||||
border-color: #e5edff;
|
||||
}
|
||||
|
||||
.tabBtn.active,
|
||||
.tabBtn[aria-selected="true"] {
|
||||
color: var(--strict-primary);
|
||||
border-color: #dce7ff;
|
||||
background: linear-gradient(90deg, #eef4ff, #f4f7ff);
|
||||
}
|
||||
|
||||
.tabIcon {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.tabIcon svg {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
stroke-width: 2.1;
|
||||
}
|
||||
|
||||
.tabText {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.configWorkspace {
|
||||
grid-area: workspace;
|
||||
min-width: 0;
|
||||
height: calc(100vh - var(--strict-top) - var(--strict-status) - 38px);
|
||||
padding: 0 28px 26px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.panels {
|
||||
display: block;
|
||||
min-width: 0;
|
||||
}
|
||||
@@ -0,0 +1,434 @@
|
||||
/* Strict UI high-priority overrides and fidelity pass. */
|
||||
/* Final overrides for the previous premium layer. Keep these last. */
|
||||
.header .btn {
|
||||
width: auto !important;
|
||||
min-width: 0 !important;
|
||||
min-height: 42px !important;
|
||||
padding: 0 16px !important;
|
||||
border-radius: var(--strict-radius) !important;
|
||||
font-size: 15px !important;
|
||||
gap: 8px !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
.header .btnIconOnly,
|
||||
.header #btnTheme {
|
||||
width: 42px !important;
|
||||
min-width: 42px !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.header .btnDanger,
|
||||
.header .btnDangerSoft,
|
||||
.header .btnSoft,
|
||||
.header .btnGhost {
|
||||
color: #1f2937 !important;
|
||||
background: #ffffff !important;
|
||||
}
|
||||
|
||||
.header #btnStop,
|
||||
.header #btnForceStop {
|
||||
color: var(--strict-danger) !important;
|
||||
border-color: #fecdd3 !important;
|
||||
}
|
||||
|
||||
.header .btnPrimary,
|
||||
.header #btnStart {
|
||||
color: #ffffff !important;
|
||||
border-color: var(--strict-primary) !important;
|
||||
background: var(--strict-primary) !important;
|
||||
}
|
||||
|
||||
.header .btnIcon,
|
||||
.header .btnIcon svg {
|
||||
width: 18px !important;
|
||||
height: 18px !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.btn[data-kbd]::after,
|
||||
.sectionTitle::before,
|
||||
.sectionTitle::after,
|
||||
.cardTitle::after,
|
||||
.row::before,
|
||||
.overviewCard::before,
|
||||
.overviewCard::after,
|
||||
.tabBtn::before,
|
||||
.tabBtn::after {
|
||||
display: none !important;
|
||||
content: none !important;
|
||||
}
|
||||
|
||||
.workspaceShell .configRail,
|
||||
.configRail {
|
||||
position: sticky !important;
|
||||
top: var(--strict-top) !important;
|
||||
height: calc(100vh - var(--strict-top)) !important;
|
||||
max-height: none !important;
|
||||
padding: 22px 14px !important;
|
||||
border: 0 !important;
|
||||
border-right: 1px solid var(--strict-border) !important;
|
||||
border-radius: 0 !important;
|
||||
background: rgba(255, 255, 255, 0.82) !important;
|
||||
box-shadow: none !important;
|
||||
overflow: auto !important;
|
||||
}
|
||||
|
||||
.configRail .cardTitle {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.sideNav,
|
||||
:root:not([data-premium-panel="device"]) .sideNav {
|
||||
display: flex !important;
|
||||
flex-direction: column !important;
|
||||
align-items: stretch !important;
|
||||
justify-content: flex-start !important;
|
||||
gap: 6px !important;
|
||||
width: 100% !important;
|
||||
height: auto !important;
|
||||
min-height: 0 !important;
|
||||
max-height: none !important;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
border: 0 !important;
|
||||
border-radius: 0 !important;
|
||||
background: transparent !important;
|
||||
box-shadow: none !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
.sideNav .tabBtn,
|
||||
.tabBtn {
|
||||
position: relative !important;
|
||||
display: grid !important;
|
||||
grid-template-columns: 28px minmax(0, 1fr) !important;
|
||||
align-items: center !important;
|
||||
justify-content: stretch !important;
|
||||
gap: 10px !important;
|
||||
width: 100% !important;
|
||||
min-width: 0 !important;
|
||||
min-height: 48px !important;
|
||||
height: 48px !important;
|
||||
padding: 0 13px !important;
|
||||
border: 1px solid transparent !important;
|
||||
border-radius: var(--strict-radius) !important;
|
||||
color: #334155 !important;
|
||||
background: transparent !important;
|
||||
box-shadow: none !important;
|
||||
text-align: left !important;
|
||||
}
|
||||
|
||||
.sideNav .tabBtn:hover,
|
||||
.sideNav .tabBtn.active,
|
||||
.tabBtn.active,
|
||||
.tabBtn[aria-selected="true"] {
|
||||
color: var(--strict-primary) !important;
|
||||
border-color: #dce7ff !important;
|
||||
background: linear-gradient(90deg, #eef4ff, #f4f7ff) !important;
|
||||
}
|
||||
|
||||
.sideNav .tabText,
|
||||
.tabText {
|
||||
display: inline !important;
|
||||
min-width: 0 !important;
|
||||
max-width: 100% !important;
|
||||
overflow: hidden !important;
|
||||
text-overflow: ellipsis !important;
|
||||
white-space: nowrap !important;
|
||||
font-size: 15px !important;
|
||||
line-height: 1 !important;
|
||||
}
|
||||
|
||||
.sideNav .tabIcon,
|
||||
.tabIcon {
|
||||
display: grid !important;
|
||||
place-items: center !important;
|
||||
width: 24px !important;
|
||||
height: 24px !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.sideNav .tabIcon svg,
|
||||
.tabIcon svg {
|
||||
width: 22px !important;
|
||||
height: 22px !important;
|
||||
}
|
||||
|
||||
.workspaceHeader {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
:root .app {
|
||||
display: grid !important;
|
||||
grid-template-columns: var(--strict-rail) minmax(0, 1fr) !important;
|
||||
grid-template-rows: var(--strict-top) var(--strict-status) minmax(0, 1fr) 38px !important;
|
||||
grid-template-areas:
|
||||
"top top"
|
||||
"rail overview"
|
||||
"rail workspace"
|
||||
"rail footer" !important;
|
||||
width: 100% !important;
|
||||
max-width: none !important;
|
||||
min-height: 100vh !important;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
gap: 0 !important;
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
:root .header {
|
||||
grid-area: top !important;
|
||||
display: grid !important;
|
||||
grid-template-columns: var(--strict-rail) minmax(0, 1fr) !important;
|
||||
width: 100% !important;
|
||||
height: var(--strict-top) !important;
|
||||
}
|
||||
|
||||
:root .overview,
|
||||
:root:not([data-premium-panel="device"]) .overview {
|
||||
grid-area: overview !important;
|
||||
position: relative !important;
|
||||
left: auto !important;
|
||||
top: auto !important;
|
||||
width: auto !important;
|
||||
height: var(--strict-status) !important;
|
||||
margin: 0 !important;
|
||||
padding: 22px 28px 16px !important;
|
||||
}
|
||||
|
||||
:root .configWorkspace,
|
||||
:root:not([data-premium-panel="device"]) .configWorkspace {
|
||||
grid-area: workspace !important;
|
||||
position: static !important;
|
||||
width: auto !important;
|
||||
height: calc(100vh - var(--strict-top) - var(--strict-status) - 38px) !important;
|
||||
max-height: none !important;
|
||||
padding: 0 28px 26px !important;
|
||||
overflow: auto !important;
|
||||
}
|
||||
|
||||
:root .appFooter {
|
||||
grid-area: footer !important;
|
||||
width: auto !important;
|
||||
height: 38px !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
:root .panels {
|
||||
display: block !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
:root .panel[hidden],
|
||||
:root .card[data-panel][hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
:root .panel.active,
|
||||
:root .panel:not([hidden])[data-panel] {
|
||||
display: block !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
:root:not([data-premium-panel="device"]) .overview,
|
||||
.overview {
|
||||
display: grid !important;
|
||||
}
|
||||
|
||||
:root:not([data-premium-panel="device"]) .configWorkspace,
|
||||
.configWorkspace {
|
||||
max-height: none !important;
|
||||
overflow: auto !important;
|
||||
}
|
||||
|
||||
.panel > .sectionTitle,
|
||||
.panel > .row,
|
||||
.panel > .rowActions {
|
||||
opacity: 1 !important;
|
||||
transform: none !important;
|
||||
}
|
||||
|
||||
:root .panel > .sectionTitle,
|
||||
:root .cardTitle,
|
||||
:root .logTitle {
|
||||
min-height: 0 !important;
|
||||
padding: 0 !important;
|
||||
border: 0 !important;
|
||||
border-radius: 0 !important;
|
||||
color: var(--strict-text) !important;
|
||||
background: transparent !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
:root .panel > .sectionTitle {
|
||||
margin: 0 0 24px !important;
|
||||
}
|
||||
|
||||
:root .panel > .sectionTitle:not(:first-child) {
|
||||
margin-top: 30px !important;
|
||||
padding-top: 24px !important;
|
||||
border-top: 1px solid var(--strict-border) !important;
|
||||
}
|
||||
|
||||
:root .panel > .row {
|
||||
min-height: 0 !important;
|
||||
margin: 0 !important;
|
||||
padding: 10px 0 !important;
|
||||
border: 0 !important;
|
||||
border-radius: 0 !important;
|
||||
background: transparent !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
:root .panel > .row + .row {
|
||||
border-top: 1px solid #eef2f7 !important;
|
||||
}
|
||||
|
||||
:root .panel > .rowActions {
|
||||
margin: 16px 0 0 !important;
|
||||
padding: 0 !important;
|
||||
border: 0 !important;
|
||||
background: transparent !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
:root .check {
|
||||
border: 0 !important;
|
||||
background: transparent !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
:root .input,
|
||||
:root .small,
|
||||
:root .logSearchBox,
|
||||
:root input[type="text"],
|
||||
:root input[type="number"],
|
||||
:root input[type="search"],
|
||||
:root select,
|
||||
:root textarea {
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
@media (max-width: 1180px) {
|
||||
.workspaceShell .configRail,
|
||||
.configRail {
|
||||
width: var(--strict-rail) !important;
|
||||
padding: 22px 10px !important;
|
||||
}
|
||||
|
||||
.sideNav .tabBtn,
|
||||
.tabBtn {
|
||||
grid-template-columns: 1fr !important;
|
||||
justify-items: center !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.sideNav .tabText,
|
||||
.tabText {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 820px) {
|
||||
:root .app {
|
||||
display: block !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
:root .header {
|
||||
display: block !important;
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
.header-actions {
|
||||
display: grid !important;
|
||||
grid-template-columns: 1fr !important;
|
||||
gap: 8px !important;
|
||||
align-items: stretch !important;
|
||||
justify-content: stretch !important;
|
||||
padding: 10px !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
.primaryActions {
|
||||
display: grid !important;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
|
||||
gap: 8px !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.secondaryActions {
|
||||
display: grid !important;
|
||||
grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
|
||||
gap: 8px !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.header .btn {
|
||||
width: 100% !important;
|
||||
min-width: 0 !important;
|
||||
min-height: 40px !important;
|
||||
padding: 0 8px !important;
|
||||
font-size: 13px !important;
|
||||
}
|
||||
|
||||
.secondaryActions .btn,
|
||||
.secondaryActions #btnLoad,
|
||||
.secondaryActions #btnSave,
|
||||
.secondaryActions #btnTheme {
|
||||
width: 100% !important;
|
||||
min-width: 0 !important;
|
||||
padding: 0 !important;
|
||||
font-size: 0 !important;
|
||||
gap: 0 !important;
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
.secondaryActions .btn .btnIcon {
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
:root .overview,
|
||||
:root:not([data-premium-panel="device"]) .overview {
|
||||
height: auto !important;
|
||||
padding: 12px !important;
|
||||
}
|
||||
|
||||
:root .configWorkspace,
|
||||
:root:not([data-premium-panel="device"]) .configWorkspace {
|
||||
height: auto !important;
|
||||
padding: 12px !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
.workspaceShell .configRail,
|
||||
.configRail {
|
||||
position: sticky !important;
|
||||
top: 62px !important;
|
||||
width: 100% !important;
|
||||
height: auto !important;
|
||||
padding: 8px 12px !important;
|
||||
border-right: 0 !important;
|
||||
border-bottom: 1px solid var(--strict-border) !important;
|
||||
overflow-x: auto !important;
|
||||
overflow-y: hidden !important;
|
||||
}
|
||||
|
||||
.sideNav,
|
||||
:root:not([data-premium-panel="device"]) .sideNav {
|
||||
flex-direction: row !important;
|
||||
width: max-content !important;
|
||||
min-width: max-content !important;
|
||||
height: auto !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
.sideNav .tabBtn,
|
||||
.tabBtn {
|
||||
width: 54px !important;
|
||||
min-width: 54px !important;
|
||||
height: 44px !important;
|
||||
min-height: 44px !important;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,263 @@
|
||||
/* Strict UI feature panel special cases, logs, footer, and motion. */
|
||||
.panel[data-panel="keywords"] .row {
|
||||
display: block;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.panel[data-panel="keywords"] .row + .row {
|
||||
margin-top: 26px;
|
||||
}
|
||||
|
||||
.panel[data-panel="keywords"] .textarea {
|
||||
min-height: 205px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.panel[data-panel="license"] {
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
.panel[data-panel="license"] .row {
|
||||
grid-template-columns: minmax(170px, 0.3fr) minmax(320px, 0.7fr);
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.panel[data-panel="license"] .rowActions {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.monitorPanel,
|
||||
.panel[data-panel="monitor"] {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.monitorPanel[hidden],
|
||||
.panel[data-panel="monitor"][hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.cardShot {
|
||||
padding: 24px 28px;
|
||||
}
|
||||
|
||||
.cardShot .cardTitle {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.preview {
|
||||
width: min(360px, 100%);
|
||||
min-height: 610px;
|
||||
max-height: none;
|
||||
margin: 0 auto;
|
||||
border: 1px solid var(--strict-border);
|
||||
border-radius: var(--strict-radius);
|
||||
background: #0f172a;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.preview img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.previewFullscreen {
|
||||
position: static;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
width: auto;
|
||||
min-width: 124px;
|
||||
height: 40px;
|
||||
margin: 16px auto 0;
|
||||
padding: 0 16px;
|
||||
border: 1px solid var(--strict-primary);
|
||||
border-radius: 6px;
|
||||
color: var(--strict-primary);
|
||||
background: #ffffff;
|
||||
font-size: 0;
|
||||
box-shadow: none;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.previewFullscreen::after {
|
||||
content: "全屏查看";
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
#liveShotStatus {
|
||||
margin-top: 18px;
|
||||
padding-top: 16px;
|
||||
border-top: 1px solid var(--strict-border);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.cardReservations {
|
||||
padding: 28px;
|
||||
}
|
||||
|
||||
.cardReservations > .cardTitle,
|
||||
.cardLog > .cardTitle {
|
||||
padding: 0;
|
||||
margin: 0 0 22px;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.reservationsContent {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
min-height: 190px;
|
||||
border: 1px solid var(--strict-border);
|
||||
border-radius: var(--strict-radius);
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.reservationsContent .hint {
|
||||
color: var(--strict-muted);
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.divider {
|
||||
height: 22px;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
details > summary.sectionTitle {
|
||||
align-items: center;
|
||||
margin: 0 0 14px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.summaryActions {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.summaryActions .btn {
|
||||
min-height: 36px;
|
||||
padding: 0 14px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.cardLog {
|
||||
padding: 28px;
|
||||
}
|
||||
|
||||
.singleLogSection {
|
||||
border: 1px solid var(--strict-border);
|
||||
border-radius: var(--strict-radius);
|
||||
background: #ffffff;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.logHeader {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(120px, auto) minmax(0, 1fr);
|
||||
align-items: center;
|
||||
gap: 18px;
|
||||
padding: 18px;
|
||||
border-bottom: 1px solid var(--strict-border);
|
||||
}
|
||||
|
||||
.logHeaderActions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.logHeaderActions .small {
|
||||
width: 108px;
|
||||
}
|
||||
|
||||
.logSearchBox {
|
||||
width: min(100%, 520px);
|
||||
}
|
||||
|
||||
.logHeaderActions .btn.small {
|
||||
min-height: 38px;
|
||||
padding: 0 18px;
|
||||
}
|
||||
|
||||
#btnRunLogSearch,
|
||||
#btnActionsRefresh {
|
||||
color: #ffffff;
|
||||
border-color: var(--strict-primary);
|
||||
background: var(--strict-primary);
|
||||
}
|
||||
|
||||
.log {
|
||||
min-height: clamp(430px, 54vh, 640px);
|
||||
max-height: clamp(430px, 54vh, 640px);
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
color: #d6e3ec;
|
||||
background: #101820;
|
||||
font-family: "Consolas", "Cascadia Mono", "Microsoft YaHei", monospace;
|
||||
font-size: 13px;
|
||||
line-height: 1.55;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
#actionsLog {
|
||||
color: #111827;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.appFooter {
|
||||
grid-area: footer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
height: 38px;
|
||||
margin: 0;
|
||||
padding: 0 28px;
|
||||
border-top: 1px solid var(--strict-border);
|
||||
color: var(--strict-muted);
|
||||
background: rgba(255, 255, 255, 0.78);
|
||||
font-family: "Consolas", "Microsoft YaHei", monospace;
|
||||
font-size: 12px;
|
||||
letter-spacing: 0;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
.appFooterLeft {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.premiumReveal {
|
||||
animation: strictReveal 240ms ease both;
|
||||
animation-delay: calc(var(--stagger, 0) * 18ms);
|
||||
}
|
||||
|
||||
.panel.isPremiumPulse {
|
||||
animation: strictPulse 420ms ease both;
|
||||
}
|
||||
|
||||
@keyframes strictReveal {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(4px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes strictPulse {
|
||||
0% {
|
||||
box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.18);
|
||||
}
|
||||
100% {
|
||||
box-shadow: var(--strict-shadow-soft);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,146 @@
|
||||
/* Strict UI responsive rules. */
|
||||
@media (max-width: 1180px) {
|
||||
:root {
|
||||
--strict-rail: 74px;
|
||||
}
|
||||
|
||||
.brandBlock {
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
.title::before {
|
||||
content: "抖";
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.tabBtn {
|
||||
grid-template-columns: 1fr;
|
||||
justify-items: center;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.tabText {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.header-actions {
|
||||
justify-content: flex-start;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.overview {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.configWorkspace {
|
||||
height: calc(100vh - var(--strict-top) - 220px - 38px);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 820px) {
|
||||
.app {
|
||||
display: block;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.header {
|
||||
position: sticky;
|
||||
display: block;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.brandBlock {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.header-actions {
|
||||
justify-content: flex-start;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.overview {
|
||||
grid-template-columns: 1fr;
|
||||
height: auto;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.configRail {
|
||||
position: sticky;
|
||||
top: 62px;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
max-height: none;
|
||||
padding: 8px 12px;
|
||||
border-right: 0;
|
||||
border-bottom: 1px solid var(--strict-border);
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.sideNav {
|
||||
flex-direction: row;
|
||||
min-width: max-content;
|
||||
}
|
||||
|
||||
.tabBtn {
|
||||
width: 54px;
|
||||
min-height: 44px;
|
||||
}
|
||||
|
||||
.configWorkspace {
|
||||
height: auto;
|
||||
padding: 12px;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.row,
|
||||
.row.grid2,
|
||||
.row.grid3,
|
||||
.panel[data-panel="license"] .row {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.statsGrid,
|
||||
.statsGridHero,
|
||||
.chartsGrid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.logHeader {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.logHeaderActions {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
justify-content: stretch;
|
||||
}
|
||||
|
||||
.logHeaderActions .logSearchBox {
|
||||
grid-column: 1 / -1;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.panel,
|
||||
.card[data-panel],
|
||||
.cardLog,
|
||||
.cardReservations,
|
||||
.cardShot {
|
||||
padding: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.premiumReveal,
|
||||
.panel.isPremiumPulse,
|
||||
.btn:hover {
|
||||
animation: none;
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
/* Strict UI tokens, base reset, and global cleanup. */
|
||||
/* Strict UI layer: visual-only redesign based on the current WebUI feature set. */
|
||||
:root {
|
||||
--strict-bg: #f6f8fb;
|
||||
--strict-bg-soft: #eef3f7;
|
||||
--strict-surface: #ffffff;
|
||||
--strict-surface-soft: #f9fbfd;
|
||||
--strict-border: #dfe6ee;
|
||||
--strict-border-strong: #cbd6e2;
|
||||
--strict-text: #111827;
|
||||
--strict-muted: #64748b;
|
||||
--strict-muted-soft: #94a3b8;
|
||||
--strict-primary: #2563eb;
|
||||
--strict-primary-hover: #1d4ed8;
|
||||
--strict-primary-soft: #eef4ff;
|
||||
--strict-teal: #0f9f8e;
|
||||
--strict-teal-soft: #e7f8f5;
|
||||
--strict-danger: #dc2626;
|
||||
--strict-danger-soft: #fff1f2;
|
||||
--strict-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
|
||||
--strict-shadow-soft: 0 4px 14px rgba(15, 23, 42, 0.05);
|
||||
--strict-radius: 8px;
|
||||
--strict-rail: 188px;
|
||||
--strict-top: 74px;
|
||||
--strict-status: 130px;
|
||||
--strict-font: "Microsoft YaHei", "Segoe UI", "PingFang SC", "Noto Sans SC", sans-serif;
|
||||
color-scheme: light;
|
||||
}
|
||||
|
||||
:root[data-theme="dark"] {
|
||||
--strict-bg: #f3f6fa;
|
||||
--strict-bg-soft: #eaf0f6;
|
||||
--strict-surface: #ffffff;
|
||||
--strict-surface-soft: #f8fbfd;
|
||||
--strict-border: #dce5ee;
|
||||
--strict-border-strong: #c7d3df;
|
||||
--strict-text: #111827;
|
||||
--strict-muted: #5f7186;
|
||||
--strict-muted-soft: #8ca0b4;
|
||||
--strict-primary: #2563eb;
|
||||
--strict-primary-hover: #1d4ed8;
|
||||
--strict-primary-soft: #eef4ff;
|
||||
--strict-teal: #0f9f8e;
|
||||
--strict-teal-soft: #e7f8f5;
|
||||
--strict-danger: #dc2626;
|
||||
--strict-danger-soft: #fff1f2;
|
||||
color-scheme: light;
|
||||
}
|
||||
|
||||
html,
|
||||
body,
|
||||
button,
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
font-family: var(--strict-font);
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
html {
|
||||
background: var(--strict-bg);
|
||||
}
|
||||
|
||||
body {
|
||||
min-width: 0;
|
||||
color: var(--strict-text);
|
||||
background:
|
||||
linear-gradient(180deg, rgba(37, 99, 235, 0.025), transparent 280px),
|
||||
linear-gradient(90deg, rgba(15, 159, 142, 0.02), transparent 520px),
|
||||
var(--strict-bg);
|
||||
}
|
||||
|
||||
body::before,
|
||||
body::after,
|
||||
.header::before,
|
||||
.header::after,
|
||||
.card::before,
|
||||
.workspaceHeader,
|
||||
.configRail > .cardTitle,
|
||||
.brandMark,
|
||||
.subtitle,
|
||||
.secondaryActions::before,
|
||||
.workspaceSearchKbd,
|
||||
.previewBracket,
|
||||
.previewRec,
|
||||
.previewTs,
|
||||
.appFooterRight,
|
||||
.appFooterDivider,
|
||||
.scrollTopBtn {
|
||||
display: none !important;
|
||||
}
|
||||
@@ -18,6 +18,13 @@
|
||||
<link rel="stylesheet" href="css/charts.css?v=console-20260531-split-css-3" />
|
||||
<link rel="stylesheet" href="styles.css?v=console-20260531-split-css-3" />
|
||||
<link rel="stylesheet" href="css/premium.css?v=console-20260601-gui-align-font-1" />
|
||||
<link rel="stylesheet" href="css/strict_ui_tokens.css?v=console-20260618-strict-ui-2" />
|
||||
<link rel="stylesheet" href="css/strict_ui_layout.css?v=console-20260618-strict-ui-2" />
|
||||
<link rel="stylesheet" href="css/strict_ui_forms.css?v=console-20260618-strict-ui-2" />
|
||||
<link rel="stylesheet" href="css/strict_ui_panels.css?v=console-20260618-strict-ui-2" />
|
||||
<link rel="stylesheet" href="css/strict_ui_responsive.css?v=console-20260618-strict-ui-2" />
|
||||
<link rel="stylesheet" href="css/strict_ui_overrides.css?v=console-20260618-strict-ui-2" />
|
||||
<link rel="stylesheet" href="css/strict_ui_fidelity.css?v=console-20260618-strict-ui-2" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="app">
|
||||
|
||||
+9
-363
@@ -12,7 +12,6 @@
|
||||
syncActivePanelState();
|
||||
enhanceMetricCards();
|
||||
addRevealStagger();
|
||||
bindSpotlights();
|
||||
bindPanelPulse();
|
||||
observeDynamicCards();
|
||||
});
|
||||
@@ -21,68 +20,21 @@
|
||||
const groups = [
|
||||
".overviewCard",
|
||||
".configRail",
|
||||
".workspaceHeader",
|
||||
".panel.active",
|
||||
".card[data-panel]",
|
||||
".statsGrid .stat",
|
||||
".stat",
|
||||
".chartBlock",
|
||||
".premiumConfigCard",
|
||||
];
|
||||
let index = 0;
|
||||
root.querySelectorAll(groups.join(",")).forEach((el) => {
|
||||
if (el.dataset.premiumReveal === "1") return;
|
||||
el.dataset.premiumReveal = "1";
|
||||
el.style.setProperty("--stagger", String(Math.min(index, 12)));
|
||||
el.style.setProperty("--stagger", String(Math.min(index, 10)));
|
||||
el.classList.add("premiumReveal");
|
||||
index += 1;
|
||||
});
|
||||
}
|
||||
|
||||
function bindSpotlights(root = document) {
|
||||
const selector = [
|
||||
".header",
|
||||
".overviewCard",
|
||||
".card",
|
||||
".panel",
|
||||
".workspaceHeader",
|
||||
".chartBlock",
|
||||
".stat",
|
||||
".reservationItem",
|
||||
".btn",
|
||||
".tabBtn",
|
||||
".premiumConfigCard",
|
||||
".premiumField",
|
||||
].join(",");
|
||||
|
||||
root.querySelectorAll(selector).forEach((el) => {
|
||||
if (el.dataset.premiumSpotlight === "1") return;
|
||||
el.dataset.premiumSpotlight = "1";
|
||||
let raf = 0;
|
||||
let lastEvent = null;
|
||||
const update = () => {
|
||||
raf = 0;
|
||||
if (!lastEvent) return;
|
||||
const rect = el.getBoundingClientRect();
|
||||
const x = ((lastEvent.clientX - rect.left) / Math.max(rect.width, 1)) * 100;
|
||||
const y = ((lastEvent.clientY - rect.top) / Math.max(rect.height, 1)) * 100;
|
||||
el.style.setProperty("--mx", `${Math.max(0, Math.min(100, x)).toFixed(2)}%`);
|
||||
el.style.setProperty("--my", `${Math.max(0, Math.min(100, y)).toFixed(2)}%`);
|
||||
};
|
||||
el.addEventListener("pointermove", (event) => {
|
||||
if (window.matchMedia && window.matchMedia("(pointer: coarse)").matches) return;
|
||||
lastEvent = event;
|
||||
if (!raf) raf = requestAnimationFrame(update);
|
||||
}, { passive: true });
|
||||
el.addEventListener("pointerleave", () => {
|
||||
lastEvent = null;
|
||||
if (raf) cancelAnimationFrame(raf);
|
||||
raf = 0;
|
||||
el.style.removeProperty("--mx");
|
||||
el.style.removeProperty("--my");
|
||||
}, { passive: true });
|
||||
});
|
||||
}
|
||||
|
||||
function bindPanelPulse() {
|
||||
document.querySelectorAll(".tabBtn[data-target]").forEach((btn) => {
|
||||
if (btn.dataset.premiumTabBound === "1") return;
|
||||
@@ -90,15 +42,13 @@
|
||||
btn.addEventListener("click", () => {
|
||||
syncActivePanelState(btn.dataset.target);
|
||||
window.requestAnimationFrame(() => {
|
||||
const target = btn.dataset.target;
|
||||
const panel = findPanelByTarget(target);
|
||||
const panel = findPanelByTarget(btn.dataset.target);
|
||||
if (!panel) return;
|
||||
panel.classList.remove("isPremiumPulse");
|
||||
void panel.offsetWidth;
|
||||
panel.classList.add("isPremiumPulse");
|
||||
setTimeout(() => panel.classList.remove("isPremiumPulse"), 620);
|
||||
setTimeout(() => panel.classList.remove("isPremiumPulse"), 420);
|
||||
addRevealStagger(panel);
|
||||
bindSpotlights(panel);
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -120,329 +70,25 @@
|
||||
|| document.querySelector(".tabBtn.active[data-target]")?.dataset.target
|
||||
|| "device";
|
||||
document.documentElement.dataset.premiumPanel = activeTarget;
|
||||
if (activeTarget === "device") {
|
||||
const workspace = document.querySelector(".configWorkspace");
|
||||
if (workspace) workspace.scrollTop = 0;
|
||||
}
|
||||
}
|
||||
|
||||
function ensureReferenceWorkspace() {
|
||||
const workspace = document.querySelector(".configWorkspace");
|
||||
if (!workspace || workspace.querySelector(".premiumReplica")) return;
|
||||
const replica = document.createElement("div");
|
||||
replica.className = "premiumReplica";
|
||||
replica.innerHTML = `
|
||||
<section class="premiumConfigCard">
|
||||
<div class="premiumConfigHead">
|
||||
<div><span class="premiumSectionIcon">▣</span><b>设备配置</b></div>
|
||||
<label class="premiumSwitch"><input type="checkbox" checked><span></span>启用</label>
|
||||
</div>
|
||||
<div class="premiumGrid2">
|
||||
<label class="premiumField"><span>设备分组</span><select><option>默认分组</option></select></label>
|
||||
<label class="premiumField"><span>设备选择</span><select data-premium-bind="#device"></select></label>
|
||||
</div>
|
||||
<div class="premiumGrid5 premiumConnectionGrid">
|
||||
<label class="premiumRadio"><input type="radio" checked><span>USB 连接</span></label>
|
||||
<label class="premiumRadio"><input type="radio"><span>无线连接</span></label>
|
||||
<label class="premiumField premiumWide"><span>ADB 路径</span><input value="D:\\Android\\platform-tools\\adb.exe"></label>
|
||||
<label class="premiumField"><span>设备超时(秒)</span><input type="number" value="15"></label>
|
||||
<label class="premiumField"><span>重连次数</span><input type="number" value="3"></label>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="premiumConfigCard">
|
||||
<div class="premiumConfigHead">
|
||||
<div><span class="premiumSectionIcon">⌘</span><b>运行参数</b></div>
|
||||
<label class="premiumSwitch"><input data-premium-bind="#needswitch" type="checkbox"><span></span>启用</label>
|
||||
</div>
|
||||
<div class="premiumGrid5">
|
||||
<label class="premiumField"><span>并发任务数</span><input type="number" value="6"></label>
|
||||
<label class="premiumField"><span>启动间隔(秒)</span><input data-premium-bind="#wait_minutes" type="number"></label>
|
||||
<label class="premiumField"><span>单任务运行时长(分钟)</span><input data-premium-bind="#fudai_find_max_attempts" type="number"></label>
|
||||
<label class="premiumField"><span>任务间隔(秒)</span><input data-premium-bind="#reset_after_swipes" type="number"></label>
|
||||
<label class="premiumField"><span>网络切换</span><select data-premium-bind="#reset_after_swipes_action"></select></label>
|
||||
</div>
|
||||
<div class="premiumChecks">
|
||||
<label><input data-premium-bind="#needswitch" type="checkbox">随机滑动</label>
|
||||
<label><input data-premium-bind="#infinite_loop_enabled" type="checkbox">随机停留</label>
|
||||
<label><input data-premium-bind="#reset_after_swipes_enabled" type="checkbox">随机点赞</label>
|
||||
<label><input data-premium-bind="#fudai_disable_content_recognition" type="checkbox">随机关注</label>
|
||||
<label><input data-premium-bind="#enable_back_on_misses" type="checkbox">观看直播</label>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="premiumConfigCard">
|
||||
<div class="premiumConfigHead">
|
||||
<div><span class="premiumSectionIcon">▽</span><b>筛选设置</b></div>
|
||||
<label class="premiumSwitch"><input data-premium-bind="#auto_join_fansclub" type="checkbox"><span></span>启用</label>
|
||||
</div>
|
||||
<div class="premiumGrid6">
|
||||
<label class="premiumField"><span>福袋类型</span><select><option>全部</option></select></label>
|
||||
<label class="premiumField"><span>福袋价值</span><input data-premium-bind="#min_prize_value_yuan" type="number"></label>
|
||||
<label class="premiumField"><span>参与人数</span><input data-premium-bind="#min_participants" type="number"></label>
|
||||
<label class="premiumField"><span>开奖倒计时(秒)</span><input data-premium-bind="#skip_if_countdown_lt_seconds" type="number"></label>
|
||||
<label class="premiumSwitch premiumInline"><input data-premium-bind="#auto_join_fansclub" type="checkbox"><span></span>过滤已参与</label>
|
||||
<button class="premiumGhostBtn" type="button">黑名单用户</button>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="premiumConfigCard">
|
||||
<div class="premiumConfigHead">
|
||||
<div><span class="premiumSectionIcon">▣</span><b>高价值福袋预约</b></div>
|
||||
<label class="premiumSwitch"><input data-premium-bind="#high_value_fudai_enabled" type="checkbox"><span></span>启用</label>
|
||||
</div>
|
||||
<div class="premiumGrid6">
|
||||
<label class="premiumSwitch premiumInline"><input data-premium-bind="#high_value_fudai_enabled" type="checkbox"><span></span>自动预约</label>
|
||||
<label class="premiumField"><span>预约门槛(抖币)</span><input data-premium-bind="#high_value_fudai_threshold_yuan" type="number"></label>
|
||||
<label class="premiumField"><span>提前预约(秒)</span><input data-premium-bind="#high_value_fudai_join_ahead_seconds" type="number"></label>
|
||||
<label class="premiumField"><span>同时预约数量</span><input data-premium-bind="#high_value_fudai_max_reservations" type="number"></label>
|
||||
<label class="premiumField"><span>预约失败重试</span><select data-premium-bind="#high_value_fudai_after_action"></select></label>
|
||||
<label class="premiumSwitch premiumInline"><input data-premium-bind="#high_value_room_revisit_only_current_run" type="checkbox"><span></span>仅预约未满</label>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="premiumConfigCard">
|
||||
<div class="premiumConfigHead">
|
||||
<div><span class="premiumSectionIcon">♙</span><b>养号设置</b></div>
|
||||
<label class="premiumSwitch"><input data-premium-bind="#yanghao_enabled" type="checkbox"><span></span>启用</label>
|
||||
</div>
|
||||
<div class="premiumGrid6">
|
||||
<label class="premiumField"><span>养号模式</span><select><option>智能养号</option></select></label>
|
||||
<label class="premiumField"><span>每日运行时长(小时)</span><input data-premium-bind="#yanghao_recommend_duration_seconds" type="number"></label>
|
||||
<label class="premiumField"><span>养号权重</span><select><option>中</option></select></label>
|
||||
<label class="premiumField"><span>互动概率</span><input data-premium-bind="#yanghao_like_prob" type="number"></label>
|
||||
<label class="premiumField"><span>内容偏好</span><select><option>随机推荐</option></select></label>
|
||||
<label class="premiumField"><span>账号轮换</span><select><option>按设备轮换</option></select></label>
|
||||
</div>
|
||||
<div class="premiumChecks">
|
||||
<label><input data-premium-bind="#yanghao_enable_actions" type="checkbox">观看视频</label>
|
||||
<label><input type="checkbox" checked>点赞</label>
|
||||
<label><input type="checkbox" checked>评论</label>
|
||||
<label><input type="checkbox" checked>关注</label>
|
||||
<label><input type="checkbox" checked>分享</label>
|
||||
<label><input data-premium-bind="#yanghao_step_screenshot" type="checkbox">直播互动</label>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div class="premiumConfigActions">
|
||||
<button class="premiumPrimaryBtn" type="button" data-premium-click="#btnSave">保存配置</button>
|
||||
<button class="premiumGhostBtn" type="button" data-premium-click="#btnLoad">另存为模板</button>
|
||||
<button class="premiumGhostBtn premiumResetBtn" type="button" data-premium-click="#btnRefresh">恢复默认</button>
|
||||
</div>
|
||||
`;
|
||||
const panels = workspace.querySelector(".panels");
|
||||
workspace.insertBefore(replica, panels || null);
|
||||
workspace.scrollTop = 0;
|
||||
}
|
||||
|
||||
function enhanceMetricCards() {
|
||||
const specs = [
|
||||
["运行", "run"],
|
||||
["设备", "device"],
|
||||
["福袋", "gift"],
|
||||
["日志", "log"],
|
||||
];
|
||||
const tones = ["run", "device", "gift", "log"];
|
||||
document.querySelectorAll(".overviewCard").forEach((card, index) => {
|
||||
if (card.querySelector(".premiumMetricIcon")) return;
|
||||
const [label, tone] = specs[index] || ["状态", "default"];
|
||||
const icon = document.createElement("span");
|
||||
icon.className = "premiumMetricIcon";
|
||||
icon.dataset.tone = tone;
|
||||
icon.textContent = label.slice(0, 1);
|
||||
card.appendChild(icon);
|
||||
icon.dataset.tone = tones[index] || "default";
|
||||
icon.setAttribute("aria-hidden", "true");
|
||||
card.insertBefore(icon, card.firstElementChild);
|
||||
});
|
||||
}
|
||||
|
||||
function bindReplicaBindings() {
|
||||
document.querySelectorAll("[data-premium-click]").forEach((btn) => {
|
||||
if (btn.dataset.premiumClickBound === "1") return;
|
||||
btn.dataset.premiumClickBound = "1";
|
||||
btn.addEventListener("click", () => {
|
||||
const target = document.querySelector(btn.dataset.premiumClick);
|
||||
if (target) target.click();
|
||||
});
|
||||
});
|
||||
|
||||
document.querySelectorAll("[data-premium-bind]").forEach((mirror) => {
|
||||
if (mirror.dataset.premiumBindBound === "1") return;
|
||||
mirror.dataset.premiumBindBound = "1";
|
||||
const applyToTarget = () => {
|
||||
const target = document.querySelector(mirror.dataset.premiumBind);
|
||||
if (!target) return;
|
||||
if (target.type === "checkbox") {
|
||||
target.checked = Boolean(mirror.checked);
|
||||
} else {
|
||||
target.value = mirror.value;
|
||||
}
|
||||
target.dispatchEvent(new Event("input", { bubbles: true }));
|
||||
target.dispatchEvent(new Event("change", { bubbles: true }));
|
||||
};
|
||||
mirror.addEventListener("input", applyToTarget);
|
||||
mirror.addEventListener("change", applyToTarget);
|
||||
});
|
||||
}
|
||||
|
||||
function updateReplicaBindings() {
|
||||
document.querySelectorAll("[data-premium-bind]").forEach((mirror) => {
|
||||
const target = document.querySelector(mirror.dataset.premiumBind);
|
||||
if (!target || mirror === document.activeElement) return;
|
||||
if (mirror.type === "checkbox" && target.type !== "checkbox") return;
|
||||
if (mirror.tagName === "SELECT" && target.tagName === "SELECT") {
|
||||
const source = Array.from(target.options).map((option) => ({
|
||||
value: option.value,
|
||||
text: option.textContent,
|
||||
}));
|
||||
const current = Array.from(mirror.options).map((option) => `${option.value}\n${option.textContent}`).join("\n");
|
||||
const next = source.map((option) => `${option.value}\n${option.text}`).join("\n");
|
||||
if (current !== next) {
|
||||
mirror.innerHTML = "";
|
||||
source.forEach((option) => {
|
||||
const el = document.createElement("option");
|
||||
el.value = option.value;
|
||||
el.textContent = option.text;
|
||||
mirror.appendChild(el);
|
||||
});
|
||||
}
|
||||
}
|
||||
if (target.type === "checkbox") {
|
||||
mirror.checked = Boolean(target.checked);
|
||||
} else if ("value" in target) {
|
||||
mirror.value = target.value;
|
||||
}
|
||||
mirror.disabled = Boolean(target.disabled);
|
||||
});
|
||||
}
|
||||
|
||||
function ensureDashboardRail() {
|
||||
const overview = document.querySelector(".overview");
|
||||
if (!overview || overview.querySelector(".premiumDashboard")) return;
|
||||
const rail = document.createElement("div");
|
||||
rail.className = "premiumDashboard";
|
||||
rail.innerHTML = `
|
||||
<section class="premiumDashCard premiumTrendCard">
|
||||
<div class="premiumDashHead">
|
||||
<div class="premiumDashTitle">收益趋势</div>
|
||||
<div class="premiumDashTools"><span>近7天</span><span>按小时</span></div>
|
||||
</div>
|
||||
<svg class="premiumTrendSvg" viewBox="0 0 520 190" preserveAspectRatio="none" aria-hidden="true">
|
||||
<defs>
|
||||
<linearGradient id="premiumTrendFill" x1="0" y1="0" x2="0" y2="1">
|
||||
<stop offset="0%" stop-color="#6d5dfc" stop-opacity="0.20"/>
|
||||
<stop offset="100%" stop-color="#6d5dfc" stop-opacity="0"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<path class="premiumTrendGrid" d="M38 30 H500 M38 70 H500 M38 110 H500 M38 150 H500 M38 30 V156 M142 30 V156 M246 30 V156 M350 30 V156 M454 30 V156"/>
|
||||
<text class="premiumTrendAxis" x="6" y="34">4,000</text>
|
||||
<text class="premiumTrendAxis" x="6" y="74">3,000</text>
|
||||
<text class="premiumTrendAxis" x="6" y="114">2,000</text>
|
||||
<text class="premiumTrendAxis" x="12" y="154">0</text>
|
||||
<path class="premiumTrendArea" d="M38 148 C72 146 85 135 112 136 C150 138 162 115 198 112 C242 107 260 82 300 76 C338 70 354 44 396 48 C432 52 450 72 500 68 L500 170 L38 170 Z"/>
|
||||
<path class="premiumTrendLine" d="M38 148 C72 146 85 135 112 136 C150 138 162 115 198 112 C242 107 260 82 300 76 C338 70 354 44 396 48 C432 52 450 72 500 68"/>
|
||||
<path class="premiumTrendGhost" d="M38 158 C88 150 112 150 150 142 C198 133 214 124 260 122 C312 118 348 94 396 96 C438 98 456 112 500 108"/>
|
||||
<circle class="premiumTrendPoint" cx="198" cy="112" r="3.5"/>
|
||||
<circle class="premiumTrendPoint" cx="300" cy="76" r="3.5"/>
|
||||
<circle class="premiumTrendPoint premiumTrendPointHot" cx="396" cy="48" r="4.5"/>
|
||||
<text class="premiumTrendTick" x="38" y="184">00:00</text>
|
||||
<text class="premiumTrendTick" x="246" y="184">12:00</text>
|
||||
<text class="premiumTrendTick" x="470" y="184">24:00</text>
|
||||
</svg>
|
||||
</section>
|
||||
<section class="premiumDashCard">
|
||||
<div class="premiumDashHead">
|
||||
<div class="premiumDashTitle">设备状态</div>
|
||||
<span class="premiumDashCount" id="premiumDeviceCount">0</span>
|
||||
</div>
|
||||
<div class="premiumDeviceTable" id="premiumDeviceTable"></div>
|
||||
</section>
|
||||
<section class="premiumDashCard">
|
||||
<div class="premiumDashHead">
|
||||
<div class="premiumDashTitle">最新日志</div>
|
||||
<button class="premiumLinkBtn" type="button" data-premium-jump="runLogs">更多日志</button>
|
||||
</div>
|
||||
<div class="premiumLatestLogs" id="premiumLatestLogs"></div>
|
||||
</section>
|
||||
`;
|
||||
overview.appendChild(rail);
|
||||
rail.querySelectorAll("[data-premium-jump]").forEach((btn) => {
|
||||
btn.addEventListener("click", () => {
|
||||
const target = btn.dataset.premiumJump;
|
||||
const tab = document.querySelector(`.tabBtn[data-target="${target}"]`);
|
||||
if (tab) tab.click();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
function updateDashboardRail() {
|
||||
const deviceTable = document.getElementById("premiumDeviceTable");
|
||||
const latestLogs = document.getElementById("premiumLatestLogs");
|
||||
if (!deviceTable || !latestLogs) return;
|
||||
|
||||
const deviceSelect = document.getElementById("device");
|
||||
const selectedDevice = deviceSelect?.selectedOptions?.[0]?.textContent?.trim()
|
||||
|| deviceSelect?.value
|
||||
|| "自动选择";
|
||||
const runState = textOf("topRunState") || "等待启动";
|
||||
const adbState = textOf("topAdbState") || textOf("adbStatus") || "ADB 状态待检测";
|
||||
const runMeta = textOf("topRunMeta") || "-";
|
||||
const deviceCount = document.getElementById("premiumDeviceCount");
|
||||
if (deviceCount) deviceCount.textContent = (textOf("topDeviceState").match(/\d+/) || ["1"])[0];
|
||||
|
||||
deviceTable.innerHTML = "";
|
||||
[
|
||||
["设备名称", "状态摘要", "状态"],
|
||||
["当前设备", selectedDevice, runState],
|
||||
["连接状态", adbState, "在线"],
|
||||
["运行信息", runMeta, "同步"],
|
||||
["策略队列", "预约 / 福袋 / 养号", "就绪"],
|
||||
["日志链路", "运行日志 + 行为日志", "正常"],
|
||||
].forEach((row, index) => {
|
||||
const item = document.createElement("div");
|
||||
item.className = index === 0 ? "premiumDeviceRow premiumDeviceHead" : "premiumDeviceRow";
|
||||
item.innerHTML = `<span>${escapeSmall(row[0])}</span><b>${escapeSmall(row[1])}</b><em>${escapeSmall(row[2])}</em>`;
|
||||
deviceTable.appendChild(item);
|
||||
});
|
||||
|
||||
latestLogs.innerHTML = "";
|
||||
const lines = String(document.getElementById("runLog")?.textContent || "")
|
||||
.split(/\r?\n/)
|
||||
.map((line) => line.trim())
|
||||
.filter(Boolean)
|
||||
.slice(-6)
|
||||
.reverse();
|
||||
const shown = lines.length ? lines : ["等待运行日志写入"];
|
||||
shown.forEach((line) => {
|
||||
const item = document.createElement("div");
|
||||
item.className = "premiumLogRow";
|
||||
item.textContent = line.length > 110 ? `${line.slice(0, 110)}...` : line;
|
||||
latestLogs.appendChild(item);
|
||||
});
|
||||
}
|
||||
|
||||
function textOf(id) {
|
||||
return String(document.getElementById(id)?.textContent || "").trim();
|
||||
}
|
||||
|
||||
function escapeSmall(value) {
|
||||
return String(value ?? "")
|
||||
.replace(/&/g, "&")
|
||||
.replace(/</g, "<")
|
||||
.replace(/>/g, ">")
|
||||
.replace(/"/g, """);
|
||||
}
|
||||
|
||||
function observeDynamicCards() {
|
||||
if (!("MutationObserver" in window)) return;
|
||||
const observer = new MutationObserver((records) => {
|
||||
let shouldRefresh = false;
|
||||
for (const record of records) {
|
||||
if (record.addedNodes && record.addedNodes.length) {
|
||||
shouldRefresh = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!shouldRefresh) return;
|
||||
if (!records.some((record) => record.addedNodes && record.addedNodes.length)) return;
|
||||
addRevealStagger();
|
||||
bindSpotlights();
|
||||
});
|
||||
observer.observe(document.body, { childList: true, subtree: true });
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user