| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272 |
- page {
- --page-bg: #f6f8fb;
- --text-main: #111827;
- --accent: #0f8f87;
- --accent-dark: #08746e;
- --accent-soft: #e8f6f5;
- --danger: #c2410c;
- --shadow-soft: 0 10rpx 28rpx rgba(15, 23, 42, 0.05);
- height: 100vh;
- display: flex;
- flex-direction: column;
- font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
- background: var(--page-bg);
- color: var(--text-main);
- }
- .scrollarea {
- flex: 1;
- overflow-y: auto;
- }
- .scrollarea--subpage .page-shell {
- padding-top: 14rpx;
- }
- .scrollarea--generic .page-shell {
- padding-top: 0;
- }
- .page-shell {
- min-height: 100%;
- padding: 24rpx 24rpx 52rpx;
- box-sizing: border-box;
- }
- .theme-dark {
- --page-bg: #111827;
- --text-main: #e5e7eb;
- --accent: #14b8a6;
- --accent-dark: #5eead4;
- --accent-soft: #123d3b;
- --danger: #fb923c;
- --shadow-soft: 0 10rpx 28rpx rgba(0, 0, 0, 0.22);
- background: var(--page-bg);
- color: var(--text-main);
- }
- .page-toast {
- position: fixed;
- z-index: 70;
- top: calc(env(safe-area-inset-top) + 108rpx);
- left: 24rpx;
- right: 24rpx;
- min-height: 68rpx;
- padding: 16rpx 22rpx;
- border: 1rpx solid #d9edeb;
- border-radius: 14rpx;
- background: rgba(244, 251, 250, 0.98);
- color: var(--accent-dark);
- box-shadow: 0 12rpx 32rpx rgba(15, 23, 42, 0.16);
- font-size: 25rpx;
- line-height: 1.35;
- font-weight: 700;
- text-align: center;
- word-break: break-all;
- box-sizing: border-box;
- }
- .page-toast--error {
- border-color: #ffd4bf;
- background: rgba(255, 247, 237, 0.98);
- color: var(--danger);
- }
- .page-toast.theme-dark {
- border-color: #174e49;
- background: rgba(18, 61, 59, 0.98);
- color: #99f6e4;
- box-shadow: 0 12rpx 34rpx rgba(0, 0, 0, 0.32);
- }
- .page-toast--error.theme-dark {
- border-color: #7c2d12;
- background: rgba(67, 33, 20, 0.98);
- color: #fed7aa;
- }
- .theme-dark .panel,
- .theme-dark .connected-panel,
- .theme-dark .device-card,
- .theme-dark .empty-state {
- border-color: #263241;
- background: #17202c;
- box-shadow: var(--shadow-soft);
- }
- .theme-dark .panel-title,
- .theme-dark .subpage-page-title,
- .theme-dark .connected-name,
- .theme-dark .device-name,
- .theme-dark .empty-title,
- .theme-dark .param-name,
- .theme-dark .picker-value,
- .theme-dark .generated-title,
- .theme-dark .generated-value,
- .theme-dark .log-payload,
- .theme-dark .control-name,
- .theme-dark .upgrade-value {
- color: #e5e7eb;
- }
- .theme-dark .meta-label,
- .theme-dark .meta-value,
- .theme-dark .device-id,
- .theme-dark .device-service,
- .theme-dark .protocol-label,
- .theme-dark .empty-text,
- .theme-dark .param-meta,
- .theme-dark .log-time,
- .theme-dark .traffic-badge,
- .theme-dark .upgrade-label {
- color: #94a3b8;
- }
- .theme-dark .panel-action-button,
- .theme-dark .protocol-input,
- .theme-dark .value-input,
- .theme-dark .hex-input,
- .theme-dark .control-button,
- .theme-dark .subpage-back {
- border-color: #334155;
- background: #111827;
- color: #cbd5e1;
- box-shadow: none;
- }
- .theme-dark .protocol-picker {
- background: transparent;
- border-color: transparent;
- color: #cbd5e1;
- }
- .theme-dark .subpage-back-icon {
- border-color: #94a3b8;
- }
- .theme-dark .entry-chevron {
- border-color: #64748b;
- }
- .theme-dark .control-button {
- background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
- color: #e5e7eb;
- }
- .theme-dark .panel-action-button {
- background: #17202c;
- color: #99f6e4;
- }
- .theme-dark .panel-action-button.is-active {
- border-color: #5eead4;
- background: #0f766e;
- color: #ecfeff;
- }
- .theme-dark .value-input:focus,
- .theme-dark .protocol-input:focus,
- .theme-dark .hex-input:focus {
- border-color: #2dd4bf;
- background: #102f2e;
- }
- .theme-dark .rssi {
- background: #1f2937;
- color: #cbd5e1;
- }
- .theme-dark .connect-state {
- background: #123d3b;
- color: #5eead4;
- }
- .theme-dark .connect-state.connected,
- .theme-dark .device-card--connected {
- border-color: #0f766e;
- background: #102f2e;
- color: #99f6e4;
- }
- .theme-dark .meta-item,
- .theme-dark .protocol-row,
- .theme-dark .upgrade-row,
- .theme-dark .param-row,
- .theme-dark .params-section-title,
- .theme-dark .protection-field,
- .theme-dark .log-scroll,
- .theme-dark .log-row {
- border-color: #263241;
- }
- .theme-dark .params-section-title {
- background: #111827;
- color: #94a3b8;
- }
- .theme-dark .driver-summary-chip,
- .theme-dark .driver-summary-checksum,
- .theme-dark .driver-summary-model {
- color: #e5e7eb;
- }
- .theme-dark .device-filter {
- border-color: #334155;
- background: #111827;
- }
- .theme-dark .device-filter-item {
- color: #94a3b8;
- }
- .theme-dark .device-filter-item.is-active {
- background: #1f2937;
- color: #5eead4;
- box-shadow: none;
- }
- .theme-dark .upgrade-status,
- .theme-dark .generated-frame {
- border-color: #174e49;
- background: #111827;
- color: #94a3b8;
- }
- .theme-dark .generic-dialog {
- border-color: #263241;
- background: #17202c;
- box-shadow: 0 18rpx 44rpx rgba(0, 0, 0, 0.38);
- }
- .theme-dark .generic-dialog-header,
- .theme-dark .generic-draft-actions,
- .theme-dark .generic-info-row {
- border-color: #263241;
- }
- .theme-dark .generic-dialog-title,
- .theme-dark .generic-info-value,
- .theme-dark .generic-register-name,
- .theme-dark .crc-file-name {
- color: #e5e7eb;
- }
- .theme-dark .generic-dialog-close,
- .theme-dark .generic-info-label {
- color: #94a3b8;
- }
- .theme-dark .generic-value-input,
- .theme-dark .crc-data-input,
- .theme-dark .generic-struct-input {
- border-color: #334155;
- background: #111827;
- color: #e5e7eb;
- }
- .theme-dark .generic-picker-value {
- color: #e5e7eb;
- }
- .theme-dark .generic-register-row,
- .theme-dark .generic-config-row,
- .theme-dark .generic-struct-section {
- border-color: #263241;
- }
- .theme-dark .generic-register-row.is-drag-armed {
- background: rgba(45, 212, 191, 0.06);
- }
- .theme-dark .generic-register-row.is-dragging {
- border-color: rgba(45, 212, 191, 0.32);
- background: linear-gradient(180deg, rgba(17, 94, 89, 0.68), rgba(15, 118, 110, 0.42));
- box-shadow: 0 16rpx 42rpx rgba(2, 6, 23, 0.5);
- }
- .theme-dark .generic-register-drag-bar {
- background: #64748b;
- }
- .theme-dark .generic-register-drag-handle.is-drag-armed {
- background: rgba(45, 212, 191, 0.1);
- }
- .theme-dark .generic-register-drag-handle.is-dragging {
- background: rgba(45, 212, 191, 0.16);
- }
- .theme-dark .generic-register-drag-handle.is-drag-armed .generic-register-drag-bar,
- .theme-dark .generic-register-drag-handle.is-dragging .generic-register-drag-bar {
- background: #5eead4;
- }
- .theme-dark .generic-readonly-value,
- .theme-dark .generic-register-unit {
- color: #5eead4;
- }
- .theme-dark .value-input--dirty {
- border-color: #f59e0b;
- background: #2b1d0e;
- color: #fed7aa;
- }
- .theme-dark .upgrade-status--ready {
- background: #123d3b;
- color: #5eead4;
- }
- .panel {
- margin-top: 24rpx;
- border: 1rpx solid #e6ebf2;
- border-radius: 18rpx;
- background: #ffffff;
- box-shadow: var(--shadow-soft);
- box-sizing: border-box;
- overflow: hidden;
- }
- .panel:first-child {
- margin-top: 0;
- }
- .panel-header {
- position: relative;
- display: flex;
- align-items: center;
- gap: 14rpx;
- padding: 24rpx 24rpx 8rpx;
- }
- .subpage-fixed-header {
- flex: none;
- padding: 16rpx 24rpx 12rpx;
- background: var(--page-bg);
- box-sizing: border-box;
- }
- .subpage-fixed-header--generic {
- padding: 8rpx 24rpx 4rpx;
- }
- .subpage-fixed-header--generic .subpage-page-header {
- min-height: 52rpx;
- }
- .subpage-page-header {
- display: flex;
- align-items: center;
- gap: 14rpx;
- min-height: 68rpx;
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- .subpage-page-title {
- min-width: 0;
- flex: 1;
- color: #111827;
- font-size: 36rpx;
- line-height: 1.35;
- font-weight: 900;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .subpage-actions {
- margin-left: 0;
- }
- .param-entry-panel .panel-title {
- flex: 1;
- white-space: nowrap;
- word-break: keep-all;
- }
- .subpage-back {
- flex: none;
- display: flex;
- align-items: center;
- justify-content: center;
- width: 52rpx;
- height: 52rpx;
- border: 1rpx solid #d8e2ea;
- border-radius: 12rpx;
- background: #f8fafc;
- box-sizing: border-box;
- }
- .subpage-back:active,
- .param-entry-panel:active {
- opacity: 0.72;
- }
- .subpage-back-icon {
- width: 16rpx;
- height: 16rpx;
- border-left: 4rpx solid #64748b;
- border-bottom: 4rpx solid #64748b;
- transform: rotate(45deg);
- margin-left: 6rpx;
- box-sizing: border-box;
- }
- .param-entry-panel .panel-header {
- padding-bottom: 24rpx;
- }
- .driver-summary-panel {
- padding: 18rpx 24rpx 16rpx;
- box-sizing: border-box;
- }
- .driver-summary-row {
- display: flex;
- align-items: center;
- gap: 16rpx;
- }
- .driver-summary-row--top {
- justify-content: space-between;
- }
- .driver-summary-row--model {
- margin-top: 10rpx;
- }
- .driver-summary-chip,
- .driver-summary-checksum,
- .driver-summary-model {
- min-width: 0;
- color: #111827;
- line-height: 1.35;
- font-weight: 800;
- word-break: break-all;
- }
- .driver-summary-chip {
- flex: 1;
- text-align: left;
- font-size: 28rpx;
- }
- .driver-summary-checksum {
- flex: none;
- text-align: right;
- font-size: 24rpx;
- font-family: Menlo, Monaco, Consolas, monospace;
- }
- .driver-summary-model {
- flex: 1;
- font-size: 26rpx;
- }
- .entry-chevron {
- flex: none;
- width: 18rpx;
- height: 18rpx;
- border-right: 4rpx solid #94a3b8;
- border-bottom: 4rpx solid #94a3b8;
- transform: rotate(-45deg);
- box-sizing: border-box;
- }
- .params-section-title {
- padding: 18rpx 24rpx;
- border-bottom: 1rpx solid #edf2f7;
- background: #f8fafc;
- color: #475569;
- font-size: 24rpx;
- line-height: 1.35;
- font-weight: 800;
- box-sizing: border-box;
- }
- .params-section-title + .param-row {
- border-top: 0;
- }
- .protection-field-row {
- display: flex;
- flex-wrap: wrap;
- gap: 0 12rpx;
- padding: 0 24rpx;
- box-sizing: border-box;
- }
- .params-section-title + .protection-field-row .protection-field {
- border-top: 0;
- }
- .protection-field {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 18rpx;
- min-height: 96rpx;
- padding: 14rpx 0;
- border-top: 1rpx solid #edf2f7;
- box-sizing: border-box;
- }
- .protection-field--switch {
- flex: 1 1 240rpx;
- min-width: 240rpx;
- }
- .protection-field--input {
- flex: 1 1 100%;
- min-width: 100%;
- }
- .protection-field-main {
- min-width: 0;
- flex: 1;
- }
- .outside-header {
- padding: 0;
- margin-bottom: 16rpx;
- }
- .panel-icon {
- flex: none;
- position: relative;
- width: 38rpx;
- height: 38rpx;
- border-radius: 12rpx;
- background:
- radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.12) 22%, rgba(255, 255, 255, 0) 50%),
- linear-gradient(180deg, var(--icon-start, #129a91) 0%, var(--icon-end, #08746e) 100%);
- border: 1rpx solid rgba(255, 255, 255, 0.12);
- box-shadow: 0 8rpx 16rpx rgba(15, 143, 135, 0.18);
- overflow: hidden;
- }
- .panel-title {
- min-width: 0;
- color: #111827;
- font-size: 31rpx;
- line-height: 1.35;
- font-weight: 800;
- word-break: break-all;
- }
- .panel-header--with-actions {
- padding-right: 18rpx;
- }
- .panel-heading-toggle {
- min-width: 0;
- flex: 1;
- display: flex;
- align-items: center;
- gap: 14rpx;
- }
- .panel-heading-toggle:active {
- opacity: 0.72;
- }
- .panel-header--with-actions .panel-title {
- flex: 1;
- white-space: nowrap;
- word-break: keep-all;
- }
- .collapse-indicator {
- flex: none;
- position: relative;
- width: 28rpx;
- height: 28rpx;
- }
- .collapse-indicator::before {
- content: "";
- position: absolute;
- left: 8rpx;
- top: 6rpx;
- width: 10rpx;
- height: 10rpx;
- border-right: 3rpx solid #94a3b8;
- border-bottom: 3rpx solid #94a3b8;
- transform: rotate(45deg);
- transform-origin: center;
- transition: transform 0.16s ease;
- }
- .collapse-toggle.is-collapsed .collapse-indicator::before {
- top: 9rpx;
- transform: rotate(-45deg);
- }
- .collapse-toggle {
- flex: none;
- display: flex;
- align-items: center;
- justify-content: center;
- width: 34rpx;
- height: 50rpx;
- }
- .collapse-toggle:active {
- opacity: 0.72;
- }
- .panel--collapsed .panel-header {
- padding-bottom: 24rpx;
- }
- .panel-actions {
- flex: none;
- display: flex;
- align-items: center;
- gap: 8rpx;
- margin-left: auto;
- }
- .panel-actions--three {
- gap: 6rpx;
- }
- .panel-actions--status {
- gap: 8rpx;
- }
- .panel-action-button {
- flex: none;
- display: flex;
- align-items: center;
- justify-content: center;
- width: 86rpx;
- min-width: 0;
- height: 50rpx;
- min-height: 0;
- margin: 0;
- padding: 0;
- border: 1rpx solid #b9d8d1;
- border-radius: 10rpx;
- background: #ffffff;
- color: var(--accent-dark);
- font-size: 22rpx;
- line-height: 1.3;
- font-weight: 800;
- box-sizing: border-box;
- }
- .panel-action-button::after {
- border: 0;
- }
- .panel-action-button:active {
- opacity: 0.72;
- }
- .panel-action-button.is-disabled {
- background: #eef1f5;
- color: #94a3b8;
- box-shadow: none;
- }
- .panel-action-button.is-active {
- border-color: var(--accent-dark);
- background: var(--accent);
- color: #ffffff;
- }
- .theme-dark .panel-action-button.is-disabled {
- border-color: #263241;
- background: #1f2937;
- background-color: #1f2937;
- color: #64748b;
- }
- .theme-dark button[disabled].control-button,
- .theme-dark button.control-button[disabled] {
- border-color: #263241;
- background: #1f2937;
- background-color: #1f2937;
- background-image: none;
- color: #64748b;
- box-shadow: none;
- }
- .theme-dark button[disabled].control-button .control-name,
- .theme-dark button.control-button[disabled] .control-name {
- color: #64748b;
- }
- .panel-icon::before,
- .panel-icon::after {
- content: "";
- position: absolute;
- box-sizing: border-box;
- }
- .panel-icon::before {
- display: none;
- left: 7rpx;
- top: 7rpx;
- width: 24rpx;
- height: 24rpx;
- }
- .panel-icon::after {
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- border-radius: inherit;
- box-shadow: inset 0 1rpx 0 rgba(255, 255, 255, 0.2);
- }
- .icon-chip {
- --icon-start: #5a86a6;
- --icon-end: #2f5e7c;
- }
- .icon-control {
- --icon-start: #18a58b;
- --icon-end: #0e746f;
- }
- .icon-bluetooth {
- --icon-start: #16a8cf;
- --icon-end: #0f7a9a;
- }
- .icon-radar {
- --icon-start: #23b0d7;
- --icon-end: #137e8f;
- }
- .icon-terminal {
- --icon-start: #63758f;
- --icon-end: #324056;
- }
- .icon-send {
- --icon-start: #39bdf0;
- --icon-end: #1684c5;
- }
- .icon-history {
- --icon-start: #64748b;
- --icon-end: #475569;
- }
- .icon-status {
- --icon-start: #14a79a;
- --icon-end: #2563eb;
- }
- .icon-bars {
- --icon-start: #148f85;
- --icon-end: #105f8b;
- }
- .icon-tune {
- --icon-start: #17a59f;
- --icon-end: #0d7280;
- }
- .icon-speed {
- --icon-start: #f7a623;
- --icon-end: #d97f0c;
- }
- .icon-target {
- --icon-start: #21a37e;
- --icon-end: #0f766e;
- }
- .icon-shield-check {
- --icon-start: #16a34a;
- --icon-end: #0f766e;
- }
- .icon-crc {
- --icon-start: #2563eb;
- --icon-end: #0f766e;
- }
- .icon-filter {
- --icon-start: #f59e0b;
- --icon-end: #d97706;
- }
- .icon-reactance {
- --icon-start: #0ea5e9;
- --icon-end: #0f766e;
- }
- .icon-smd {
- --icon-start: #64748b;
- --icon-end: #334155;
- }
- .icon-snow {
- --icon-start: #38bdf8;
- --icon-end: #2563eb;
- }
- .icon-three-phase {
- --icon-start: #7c3aed;
- --icon-end: #2563eb;
- }
- .param-row {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 18rpx;
- min-height: 96rpx;
- padding: 0 24rpx;
- border-top: 1rpx solid #edf2f7;
- box-sizing: border-box;
- }
- .panel-header + .param-row,
- .panel-header + view .param-row:first-child {
- border-top: 0;
- }
- .param-row:first-child {
- border-top: 0;
- }
- .input-row {
- min-height: 106rpx;
- }
- .param-main {
- min-width: 0;
- flex: 1;
- }
- .param-name {
- min-width: 0;
- color: #111827;
- font-size: 28rpx;
- line-height: 1.35;
- font-weight: 700;
- word-break: break-all;
- }
- .param-meta {
- margin-top: 7rpx;
- color: #6b7280;
- font-size: 22rpx;
- line-height: 1.35;
- word-break: break-all;
- }
- .param-meta--dirty {
- color: #d97706;
- font-weight: 800;
- }
- .param-value {
- flex: none;
- max-width: 320rpx;
- color: #0f8f87;
- font-size: 30rpx;
- line-height: 1.35;
- font-weight: 800;
- text-align: right;
- word-break: break-all;
- }
- .input-wrap {
- flex: none;
- display: flex;
- align-items: center;
- gap: 10rpx;
- }
- .value-input {
- width: 300rpx;
- height: 70rpx;
- padding: 0 18rpx;
- border: 1rpx solid #e7edf3;
- border-radius: 10rpx;
- background: #fafbfd;
- color: #111827;
- font-size: 28rpx;
- line-height: 70rpx;
- text-align: right;
- box-sizing: border-box;
- }
- .value-input--with-unit {
- width: 300rpx;
- }
- .value-input:focus {
- border-color: #0f8f87;
- background: #f4fbfa;
- }
- .value-input--dirty {
- border-color: #fbbf24;
- background: #fffbeb;
- color: #92400e;
- }
- .generic-dialog-mask {
- position: fixed;
- z-index: 60;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 24rpx 24rpx calc(32rpx + env(safe-area-inset-bottom));
- background: rgba(15, 23, 42, 0.28);
- box-sizing: border-box;
- }
- .generic-dialog {
- width: 100%;
- max-height: 84vh;
- overflow: hidden;
- border: 1rpx solid #e5edf4;
- border-radius: 20rpx;
- background: #ffffff;
- box-shadow: 0 18rpx 48rpx rgba(15, 23, 42, 0.2);
- box-sizing: border-box;
- }
- .generic-dialog-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- min-height: 84rpx;
- padding: 0 24rpx;
- border-bottom: 1rpx solid #edf2f7;
- box-sizing: border-box;
- }
- .generic-dialog-title {
- color: #111827;
- font-size: 30rpx;
- line-height: 1.3;
- font-weight: 900;
- }
- .generic-dialog-close {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 56rpx;
- height: 56rpx;
- color: #64748b;
- font-size: 38rpx;
- line-height: 1;
- font-weight: 500;
- }
- .generic-dialog-body {
- max-height: 62vh;
- overflow-y: auto;
- }
- .generic-config-row {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 18rpx;
- min-height: 96rpx;
- padding: 14rpx 24rpx;
- border-top: 1rpx solid #edf2f7;
- box-sizing: border-box;
- }
- .generic-config-row:first-of-type {
- border-top: 0;
- }
- .generic-picker-value {
- width: 300rpx;
- min-width: 300rpx;
- max-width: 300rpx;
- height: 70rpx;
- padding: 0;
- border: 0;
- background: transparent;
- color: #111827;
- font-size: 28rpx;
- line-height: 70rpx;
- font-weight: 800;
- text-align: right;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- box-sizing: border-box;
- }
- .generic-value-input {
- width: 300rpx;
- height: 70rpx;
- line-height: 70rpx;
- font-size: 28rpx;
- }
- .generic-struct-section {
- padding: 16rpx 24rpx 22rpx;
- border-top: 1rpx solid #edf2f7;
- box-sizing: border-box;
- }
- .generic-struct-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 18rpx;
- margin-bottom: 14rpx;
- }
- .generic-struct-input {
- width: 100%;
- min-height: 220rpx;
- max-height: 360rpx;
- padding: 16rpx 18rpx;
- border: 1rpx solid #dbe5ee;
- border-radius: 12rpx;
- background: #f8fafc;
- color: #111827;
- font-family: Menlo, Monaco, Consolas, monospace;
- font-size: 22rpx;
- line-height: 1.45;
- box-sizing: border-box;
- }
- .generic-draft-actions {
- display: flex;
- justify-content: flex-end;
- gap: 12rpx;
- padding: 18rpx 24rpx 22rpx;
- border-top: 1rpx solid #edf2f7;
- box-sizing: border-box;
- }
- .generic-empty-state {
- margin-top: 8rpx;
- }
- .generic-info-stack {
- padding: 0 24rpx;
- box-sizing: border-box;
- }
- .generic-info-row {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 18rpx;
- min-height: 88rpx;
- border-top: 1rpx solid #edf2f7;
- box-sizing: border-box;
- }
- .generic-info-row:first-child {
- border-top: 0;
- }
- .generic-info-label {
- flex: none;
- width: 116rpx;
- color: #64748b;
- font-size: 23rpx;
- line-height: 1.3;
- font-weight: 800;
- }
- .generic-info-value {
- min-width: 0;
- flex: 1;
- color: #111827;
- font-size: 26rpx;
- line-height: 1.35;
- font-weight: 800;
- text-align: right;
- word-break: break-all;
- }
- .panel-action-button--icon {
- min-width: 58rpx;
- width: 58rpx;
- padding: 0;
- font-size: 34rpx;
- line-height: 50rpx;
- }
- .generic-group-shell {
- position: relative;
- margin-top: 12rpx;
- }
- .generic-group-shell:first-child {
- margin-top: 0;
- }
- .generic-delete-action {
- position: absolute;
- left: 0;
- top: 0;
- z-index: 0;
- display: flex;
- align-items: center;
- justify-content: center;
- width: 76rpx;
- height: 100%;
- min-height: 74rpx;
- border-radius: 18rpx 0 0 18rpx;
- background: #dc2626;
- color: #ffffff;
- font-size: 44rpx;
- line-height: 1;
- font-weight: 900;
- box-sizing: border-box;
- }
- .generic-group-panel {
- position: relative;
- z-index: 1;
- margin-top: 0;
- overflow: hidden;
- transition: transform 0.16s ease;
- }
- .generic-group-shell.is-delete-visible .generic-group-panel {
- transform: translateX(76rpx);
- }
- .generic-group-title-wrap {
- min-width: 0;
- flex: 1;
- }
- .generic-group-panel .panel-header,
- .generic-group-panel.panel--collapsed .panel-header {
- padding: 14rpx 18rpx;
- }
- .generic-group-panel .panel-icon {
- width: 34rpx;
- height: 34rpx;
- border-radius: 10rpx;
- }
- .generic-group-title-wrap .panel-title {
- font-size: 27rpx;
- line-height: 1.22;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .generic-group-meta {
- margin-top: 2rpx;
- font-size: 20rpx;
- line-height: 1.25;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: keep-all;
- }
- .generic-group-actions {
- flex: none;
- gap: 6rpx;
- }
- .generic-group-actions .panel-action-button {
- width: 76rpx;
- height: 46rpx;
- font-size: 21rpx;
- border-radius: 9rpx;
- }
- .generic-group-actions .entry-chevron {
- margin-left: 4rpx;
- transform: rotate(-45deg);
- }
- .generic-register-row {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 10rpx;
- min-height: 112rpx;
- padding: 12rpx 18rpx;
- border-top: 1rpx solid #edf2f7;
- border-radius: 18rpx;
- box-sizing: border-box;
- transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
- transform-origin: center center;
- will-change: transform;
- }
- .generic-register-row.is-drag-armed {
- background: rgba(15, 143, 135, 0.04);
- }
- .generic-register-row.is-dragging {
- position: relative;
- border-color: rgba(15, 143, 135, 0.28);
- background: linear-gradient(180deg, rgba(15, 143, 135, 0.12), rgba(15, 143, 135, 0.08));
- box-shadow: 0 14rpx 38rpx rgba(15, 23, 42, 0.18);
- }
- .generic-register-row.is-shift-up,
- .generic-register-row.is-shift-down {
- z-index: 1;
- }
- .generic-register-drag-handle {
- flex: none;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- gap: 5rpx;
- width: 34rpx;
- min-height: 72rpx;
- margin-left: -4rpx;
- border-radius: 14rpx;
- transition: background-color 0.18s ease, transform 0.18s ease;
- }
- .generic-register-layout-spacer {
- flex: none;
- width: 12rpx;
- min-height: 72rpx;
- }
- .generic-register-drag-handle.is-drag-armed {
- background: rgba(15, 143, 135, 0.08);
- }
- .generic-register-drag-handle.is-dragging {
- background: rgba(15, 143, 135, 0.14);
- transform: scale(1.04);
- }
- .generic-register-drag-bar {
- width: 20rpx;
- height: 3rpx;
- border-radius: 999rpx;
- background: #94a3b8;
- transition: background-color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
- }
- .generic-register-drag-handle.is-drag-armed .generic-register-drag-bar,
- .generic-register-drag-handle.is-dragging .generic-register-drag-bar {
- background: #0f8f87;
- }
- .generic-register-drag-handle.is-dragging .generic-register-drag-bar:nth-child(1) {
- transform: translateX(-2rpx);
- }
- .generic-register-drag-handle.is-dragging .generic-register-drag-bar:nth-child(3) {
- transform: translateX(2rpx);
- }
- .generic-register-main {
- min-width: 0;
- flex: 1;
- display: flex;
- flex-direction: column;
- gap: 6rpx;
- }
- .generic-register-name {
- color: #111827;
- font-size: 26rpx;
- line-height: 1.35;
- font-weight: 800;
- word-break: break-all;
- }
- .generic-register-meta {
- display: flex;
- align-items: center;
- flex-wrap: wrap;
- gap: 14rpx;
- margin-top: 6rpx;
- color: #64748b;
- font-family: Menlo, Monaco, Consolas, monospace;
- font-size: 21rpx;
- line-height: 1.35;
- font-weight: 700;
- }
- .generic-register-input-wrap {
- flex: none;
- position: relative;
- width: 210rpx;
- min-width: 168rpx;
- max-width: 40%;
- box-sizing: border-box;
- }
- .generic-register-value {
- width: 100%;
- min-width: 0;
- max-width: 100%;
- }
- .generic-register-unit {
- position: absolute;
- right: 18rpx;
- top: 50%;
- transform: translateY(-50%);
- pointer-events: none;
- color: #0f8f87;
- font-size: 24rpx;
- line-height: 1.35;
- font-weight: 900;
- }
- .generic-register-input-wrap--unit .generic-register-value {
- padding-right: 64rpx;
- }
- .generic-readonly-value {
- width: 210rpx;
- max-width: 40%;
- font-family: Menlo, Monaco, Consolas, monospace;
- font-size: 25rpx;
- }
- .generic-group-detail-panel {
- overflow: hidden;
- }
- .generic-group-detail-meta {
- padding: 14rpx 18rpx;
- border-bottom: 1rpx solid #edf2f7;
- color: #64748b;
- font-family: Menlo, Monaco, Consolas, monospace;
- font-size: 21rpx;
- line-height: 1.35;
- font-weight: 800;
- box-sizing: border-box;
- }
- .crc-picker-value {
- min-width: 300rpx;
- max-width: 300rpx;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .crc-algorithm-panel {
- overflow: hidden;
- }
- .crc-algorithm-panel > .param-row {
- min-height: 92rpx;
- }
- .crc-algorithm-picker {
- min-width: 0;
- flex: 1;
- display: block;
- width: 100%;
- }
- .crc-algorithm-picker-content {
- min-width: 0;
- width: 100%;
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 18rpx;
- }
- .crc-algorithm-picker-content .param-main {
- flex: 1;
- min-width: 0;
- }
- .crc-algorithm-panel .crc-picker-value {
- flex: none;
- width: auto;
- min-width: 0;
- max-width: 430rpx;
- font-size: 24rpx;
- }
- .crc-data-card-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 12rpx;
- min-height: 76rpx;
- padding: 12rpx 18rpx 12rpx 24rpx;
- }
- .crc-data-title {
- min-width: 0;
- flex: 1;
- text-align: left;
- }
- .crc-data-header-actions {
- flex: none;
- display: flex;
- align-items: center;
- justify-content: flex-end;
- gap: 6rpx;
- }
- .crc-data-type-picker {
- flex: none;
- margin-right: 8rpx;
- }
- .crc-data-type-value {
- width: 108rpx;
- height: 50rpx;
- color: #111827;
- font-size: 22rpx;
- line-height: 50rpx;
- font-weight: 900;
- text-align: right;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .crc-data-header-actions .panel-action-button {
- width: 78rpx;
- }
- .theme-dark .crc-data-type-value {
- color: #e5e7eb;
- }
- .crc-algorithm-fields {
- border-top: 1rpx solid #edf2f7;
- }
- .theme-dark .crc-algorithm-fields {
- border-color: #263241;
- }
- .crc-config-input {
- width: 300rpx;
- font-family: Menlo, Monaco, Consolas, monospace;
- }
- .crc-switch-row {
- display: flex;
- gap: 12rpx;
- padding: 0 24rpx;
- border-top: 1rpx solid #edf2f7;
- box-sizing: border-box;
- }
- .theme-dark .crc-switch-row {
- border-color: #263241;
- }
- .crc-switch-field {
- flex: 1;
- min-width: 0;
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 12rpx;
- min-height: 96rpx;
- }
- .crc-data-wrap {
- padding: 18rpx 24rpx 22rpx;
- box-sizing: border-box;
- }
- .crc-data-input {
- width: 100%;
- min-height: 230rpx;
- padding: 18rpx;
- border: 1rpx solid #e7edf3;
- border-radius: 12rpx;
- background: #fafbfd;
- color: #111827;
- font-family: Menlo, Monaco, Consolas, monospace;
- font-size: 24rpx;
- line-height: 1.45;
- box-sizing: border-box;
- }
- .crc-file-name,
- .crc-error-value {
- min-width: 0;
- max-width: 430rpx;
- text-align: right;
- word-break: break-all;
- }
- .crc-file-name {
- color: #111827;
- font-size: 24rpx;
- line-height: 1.35;
- font-weight: 800;
- }
- .crc-result-bin-line {
- display: block;
- white-space: nowrap;
- }
- .crc-error-value {
- color: var(--danger);
- font-size: 24rpx;
- line-height: 1.35;
- font-weight: 800;
- }
- .filter-input-wrap {
- flex: none;
- display: flex;
- align-items: center;
- justify-content: flex-end;
- gap: 8rpx;
- }
- .filter-value-input {
- width: 210rpx;
- min-width: 0;
- max-width: 210rpx;
- }
- .filter-value-input--computed {
- border-color: #9bd6cf;
- background: #f0fdfa;
- color: #0f766e;
- font-weight: 900;
- }
- .filter-unit-picker {
- flex: none;
- width: 92rpx;
- }
- .filter-unit-value {
- width: 92rpx;
- height: 70rpx;
- color: #111827;
- font-size: 25rpx;
- line-height: 70rpx;
- font-weight: 900;
- text-align: right;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- box-sizing: border-box;
- }
- .filter-section-title,
- .filter-diagram-title {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 16rpx;
- }
- .filter-section-title-text {
- min-width: 0;
- flex: 1;
- }
- .filter-mode-actions {
- flex: none;
- display: flex;
- align-items: center;
- gap: 8rpx;
- }
- .filter-mode-button {
- flex: none;
- min-width: 78rpx;
- height: 46rpx;
- padding: 0 16rpx;
- border: 1rpx solid #b9d8d1;
- border-radius: 10rpx;
- background: #ffffff;
- color: var(--accent-dark);
- font-size: 22rpx;
- line-height: 44rpx;
- font-weight: 900;
- text-align: center;
- box-sizing: border-box;
- }
- .filter-mode-button:active {
- opacity: 0.72;
- }
- .filter-error-inline {
- padding: 0 24rpx 18rpx;
- color: var(--danger);
- font-size: 24rpx;
- line-height: 1.35;
- font-weight: 800;
- text-align: right;
- box-sizing: border-box;
- }
- .filter-diagram-mode {
- min-width: 0;
- flex: none;
- max-width: 260rpx;
- color: #0f8f87;
- font-size: 23rpx;
- line-height: 1.35;
- font-weight: 900;
- text-align: right;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .filter-diagram {
- position: relative;
- min-height: 320rpx;
- padding: 30rpx 0 30rpx;
- border-top: 1rpx solid #edf2f7;
- background: #ffffff;
- box-sizing: border-box;
- }
- .filter-schematic {
- position: relative;
- width: 560rpx;
- height: 260rpx;
- margin: 0 auto;
- color: #111827;
- }
- .filter-schematic-label {
- position: absolute;
- color: #111827;
- font-size: 32rpx;
- line-height: 1;
- font-weight: 900;
- font-style: italic;
- letter-spacing: 0;
- }
- .filter-schematic-label--input {
- left: 0;
- top: 122rpx;
- }
- .filter-schematic-label--output {
- left: 426rpx;
- top: 118rpx;
- }
- .filter-schematic-wire,
- .filter-schematic-dot {
- position: absolute;
- background: #111827;
- }
- .filter-schematic-wire {
- height: 4rpx;
- border-radius: 999rpx;
- }
- .filter-schematic-dot {
- z-index: 3;
- width: 18rpx;
- height: 18rpx;
- border-radius: 50%;
- }
- .filter-schematic-dot--input-top {
- left: 38rpx;
- top: 58rpx;
- }
- .filter-schematic-dot--input-bottom {
- left: 38rpx;
- top: 206rpx;
- }
- .filter-schematic-dot--node-top {
- left: 358rpx;
- top: 58rpx;
- }
- .filter-schematic-dot--node-bottom {
- left: 358rpx;
- top: 206rpx;
- }
- .filter-schematic-dot--output-top {
- left: 514rpx;
- top: 58rpx;
- }
- .filter-schematic-dot--output-bottom {
- left: 514rpx;
- top: 206rpx;
- }
- .filter-schematic-wire--top-input {
- left: 56rpx;
- top: 65rpx;
- width: 100rpx;
- }
- .filter-schematic-wire--top-middle {
- left: 268rpx;
- top: 65rpx;
- width: 98rpx;
- }
- .filter-schematic-wire--top-output {
- left: 366rpx;
- top: 65rpx;
- width: 148rpx;
- }
- .filter-schematic-wire--bottom-input {
- left: 56rpx;
- top: 213rpx;
- width: 310rpx;
- }
- .filter-schematic-wire--bottom-output {
- left: 366rpx;
- top: 213rpx;
- width: 148rpx;
- }
- .filter-schematic-wire--branch-top {
- left: 365rpx;
- top: 76rpx;
- width: 4rpx;
- height: 40rpx;
- }
- .filter-schematic-wire--branch-bottom {
- left: 365rpx;
- top: 208rpx;
- width: 4rpx;
- height: 8rpx;
- }
- .filter-schematic-component {
- position: absolute;
- z-index: 2;
- display: flex;
- align-items: center;
- justify-content: center;
- box-sizing: border-box;
- }
- .filter-schematic-component--series {
- left: 156rpx;
- top: 40rpx;
- width: 112rpx;
- height: 54rpx;
- }
- .filter-schematic-component--shunt {
- left: 342rpx;
- top: 116rpx;
- width: 50rpx;
- height: 96rpx;
- }
- .filter-schematic-symbol {
- display: block;
- width: 100%;
- height: 100%;
- }
- .filter-schematic-symbol--vertical {
- width: 104rpx;
- height: 48rpx;
- transform: rotate(90deg);
- }
- .filter-schematic-mark {
- position: absolute;
- z-index: 4;
- color: #111827;
- font-size: 34rpx;
- line-height: 1;
- font-weight: 700;
- font-style: italic;
- }
- .filter-schematic-mark--series {
- left: 202rpx;
- top: 0;
- }
- .filter-schematic-mark--shunt {
- left: 305rpx;
- top: 142rpx;
- }
- .theme-dark .filter-unit-value {
- color: #e5e7eb;
- }
- .theme-dark .filter-value-input--computed {
- border-color: #0f766e;
- background: #0f2f2d;
- color: #5eead4;
- }
- .theme-dark .filter-mode-button {
- border-color: #334155;
- background: #111827;
- color: #99f6e4;
- }
- .theme-dark .filter-diagram {
- border-color: #edf2f7;
- background: #ffffff;
- }
- .theme-dark .filter-schematic,
- .theme-dark .filter-schematic-label,
- .theme-dark .filter-schematic-mark {
- color: #1f2937;
- }
- .theme-dark .filter-diagram-mode {
- color: #5eead4;
- }
- .theme-dark .filter-schematic-wire,
- .theme-dark .filter-schematic-dot {
- background: #111827;
- }
- .smd-section-title {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 16rpx;
- }
- .smd-section-title-text {
- min-width: 0;
- flex: 1;
- }
- .smd-mode-actions,
- .smd-format-row {
- display: flex;
- align-items: center;
- }
- .smd-mode-actions {
- flex: none;
- gap: 8rpx;
- }
- .smd-format-row {
- gap: 10rpx;
- padding: 18rpx 24rpx 22rpx;
- border-top: 1rpx solid #edf2f7;
- box-sizing: border-box;
- }
- .smd-mode-button,
- .smd-format-button {
- flex: none;
- display: flex;
- align-items: center;
- justify-content: center;
- height: 46rpx;
- border: 1rpx solid #d7e2ea;
- border-radius: 10rpx;
- background: #ffffff;
- color: #64748b;
- font-size: 22rpx;
- line-height: 1.25;
- font-weight: 900;
- box-sizing: border-box;
- }
- .smd-mode-button {
- min-width: 78rpx;
- padding: 0 16rpx;
- }
- .smd-format-button {
- flex: 1;
- min-width: 0;
- padding: 0 10rpx;
- }
- .smd-mode-button.is-active,
- .smd-format-button.is-active {
- border-color: var(--accent-dark);
- background: var(--accent-soft);
- color: var(--accent-dark);
- }
- .smd-mode-button:active,
- .smd-format-button:active {
- opacity: 0.72;
- }
- .smd-code-input {
- width: 300rpx;
- font-family: Menlo, Monaco, Consolas, monospace;
- }
- .smd-result-row {
- min-height: 94rpx;
- }
- .smd-result-value {
- flex: none;
- max-width: 320rpx;
- color: #0f8f87;
- font-family: Menlo, Monaco, Consolas, monospace;
- font-size: 30rpx;
- line-height: 1.25;
- font-weight: 900;
- text-align: right;
- word-break: break-all;
- }
- .smd-result-value--error {
- color: var(--danger);
- font-family: inherit;
- font-size: 25rpx;
- }
- .theme-dark .smd-format-row {
- border-color: #263241;
- }
- .theme-dark .smd-mode-button,
- .theme-dark .smd-format-button {
- border-color: #334155;
- background: #111827;
- color: #94a3b8;
- }
- .theme-dark .smd-mode-button.is-active,
- .theme-dark .smd-format-button.is-active {
- border-color: #5eead4;
- background: #123d3b;
- color: #99f6e4;
- }
- .theme-dark .smd-result-value {
- color: #5eead4;
- }
- .theme-dark .smd-result-value--error {
- color: var(--danger);
- }
- .crc-calc-result-row {
- align-items: stretch;
- min-height: 0;
- padding-top: 16rpx;
- padding-bottom: 16rpx;
- }
- .crc-calc-result-main {
- width: 100%;
- display: flex;
- flex-direction: column;
- align-items: stretch;
- }
- .crc-calc-result-value {
- display: block;
- width: 100%;
- max-width: none;
- margin-top: 10rpx;
- padding: 14rpx 16rpx;
- border-radius: 10rpx;
- background: #f4fbfa;
- color: #0f8f87;
- font-family: Menlo, Monaco, Consolas, monospace;
- font-size: 24rpx;
- line-height: 1.35;
- font-weight: 800;
- text-align: right;
- word-break: break-all;
- white-space: normal;
- box-sizing: border-box;
- }
- .crc-calc-result-value:active {
- opacity: 0.72;
- }
- .crc-calc-result-value--bin {
- display: flex;
- flex-direction: column;
- align-items: flex-end;
- gap: 3rpx;
- max-width: none;
- text-align: right;
- }
- .crc-calc-result-row .param-name {
- word-break: keep-all;
- }
- .theme-dark .crc-calc-result-value {
- background: #0f2f2d;
- color: #5eead4;
- }
- .theme-dark .crc-calc-result-value--bin {
- background: #0f2f2d;
- color: #5eead4;
- }
- .theme-dark .crc-calc-result-value--error {
- background: #432114;
- color: #fed7aa;
- }
- .refrigeration-mode-picker {
- flex: none;
- }
- .refrigeration-title-row {
- min-height: 76rpx;
- padding-top: 12rpx;
- padding-bottom: 12rpx;
- }
- .refrigeration-picker-value {
- width: 240rpx;
- min-width: 240rpx;
- max-width: 240rpx;
- height: 46rpx;
- font-size: 24rpx;
- line-height: 46rpx;
- }
- .refrigeration-formula-row {
- justify-content: flex-end;
- }
- .refrigeration-formula-text {
- min-width: 0;
- flex: 1;
- color: #64748b;
- font-size: 24rpx;
- line-height: 1.35;
- font-weight: 800;
- text-align: right;
- word-break: break-all;
- }
- .refrigeration-input {
- width: 260rpx;
- }
- .three-phase-input {
- width: 260rpx;
- }
- .theme-dark .refrigeration-formula-text {
- color: #94a3b8;
- }
- .subpage-fixed-header .panel-actions {
- flex-shrink: 0;
- }
- .subpage-fixed-header .panel-action-button {
- width: 86rpx;
- }
- .auto-read-button {
- margin-left: 2rpx;
- }
- @media (max-width: 360px) {
- .panel-title {
- font-size: 28rpx;
- }
- .param-name {
- font-size: 26rpx;
- }
- .param-meta {
- font-size: 21rpx;
- }
- .value-input {
- width: 260rpx;
- }
- .value-input--with-unit {
- width: 260rpx;
- }
- .generic-picker-value,
- .generic-value-input {
- width: 260rpx;
- min-width: 260rpx;
- max-width: 260rpx;
- }
- .generic-register-input-wrap {
- width: 180rpx;
- min-width: 150rpx;
- max-width: 38%;
- }
- .generic-register-value {
- width: 100%;
- min-width: 0;
- max-width: 100%;
- }
- .generic-readonly-value {
- width: 180rpx;
- max-width: 38%;
- }
- .crc-config-input {
- width: 230rpx;
- min-width: 230rpx;
- max-width: 230rpx;
- }
- .crc-algorithm-panel .crc-picker-value {
- width: auto;
- min-width: 0;
- max-width: 330rpx;
- font-size: 22rpx;
- }
- .crc-data-card-header {
- gap: 8rpx;
- padding-right: 14rpx;
- }
- .crc-data-header-actions {
- gap: 4rpx;
- }
- .crc-data-type-value {
- width: 86rpx;
- font-size: 20rpx;
- }
- .crc-data-type-picker {
- margin-right: 6rpx;
- }
- .crc-data-header-actions .panel-action-button {
- width: 70rpx;
- font-size: 20rpx;
- }
- .crc-file-name,
- .crc-error-value {
- max-width: 360rpx;
- }
- .filter-value-input {
- width: 180rpx;
- min-width: 0;
- max-width: 180rpx;
- }
- .filter-unit-picker,
- .filter-unit-value {
- width: 84rpx;
- }
- .filter-mode-button {
- min-width: 68rpx;
- padding: 0 12rpx;
- font-size: 22rpx;
- }
- .filter-diagram {
- padding-left: 4rpx;
- padding-right: 4rpx;
- }
- .filter-schematic {
- transform: scale(0.94);
- transform-origin: center center;
- }
- .smd-code-input {
- width: 240rpx;
- }
- .smd-result-value {
- max-width: 260rpx;
- font-size: 26rpx;
- }
- .crc-calc-result-value {
- width: 100%;
- max-width: none;
- font-size: 23rpx;
- }
- .crc-calc-result-value--bin {
- max-width: none;
- font-size: 21rpx;
- }
- .smd-mode-button {
- min-width: 68rpx;
- padding: 0 12rpx;
- }
- .smd-format-row {
- gap: 8rpx;
- padding-left: 18rpx;
- padding-right: 18rpx;
- }
- .smd-format-button {
- font-size: 20rpx;
- }
- .refrigeration-picker-value {
- width: 210rpx;
- min-width: 210rpx;
- max-width: 210rpx;
- font-size: 22rpx;
- }
- .refrigeration-input {
- width: 220rpx;
- }
- .three-phase-input {
- width: 220rpx;
- }
- }
|