| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378 |
- 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;
- }
- .generic-protocol-actions {
- flex: 1;
- flex-wrap: wrap;
- justify-content: flex-end;
- gap: 8rpx;
- }
- .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;
- z-index: 1;
- background-position: center;
- background-repeat: no-repeat;
- background-size: contain;
- opacity: 0.96;
- }
- .panel-icon-image {
- position: absolute;
- z-index: 2;
- left: 7rpx;
- top: 7rpx;
- width: 24rpx;
- height: 24rpx;
- pointer-events: none;
- }
- .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-chip::before {
- background-image: url("/assets/icons/chip-white.png");
- }
- .icon-control {
- --icon-start: #18a58b;
- --icon-end: #0e746f;
- }
- .icon-control::before {
- background-image: url("/assets/icons/control-white.png");
- }
- .icon-bluetooth {
- --icon-start: #16a8cf;
- --icon-end: #0f7a9a;
- }
- .icon-bluetooth::before {
- background-image: url("/assets/icons/bluetooth-connected-white.png");
- }
- .icon-radar {
- --icon-start: #23b0d7;
- --icon-end: #137e8f;
- }
- .icon-radar::before {
- background-image: url("/assets/icons/radar-white.png");
- }
- .icon-terminal {
- --icon-start: #63758f;
- --icon-end: #324056;
- }
- .icon-terminal::before {
- background-image: url("/assets/icons/terminal-white.png");
- }
- .icon-send {
- --icon-start: #39bdf0;
- --icon-end: #1684c5;
- }
- .icon-send::before {
- background-image: url("/assets/icons/send-white.png");
- }
- .icon-history {
- --icon-start: #64748b;
- --icon-end: #475569;
- }
- .icon-history::before {
- background-image: url("/assets/icons/history-white.png");
- }
- .icon-status {
- --icon-start: #14a79a;
- --icon-end: #2563eb;
- }
- .icon-status::before {
- background-image: url("/assets/icons/status-white.png");
- }
- .icon-bars {
- --icon-start: #148f85;
- --icon-end: #105f8b;
- }
- .icon-bars::before {
- background-image: url("/assets/icons/sliders-white.png");
- }
- .icon-tune {
- --icon-start: #17a59f;
- --icon-end: #0d7280;
- }
- .icon-tune::before {
- background-image: url("/assets/icons/sliders-white.png");
- }
- .icon-speed {
- --icon-start: #f7a623;
- --icon-end: #d97f0c;
- }
- .icon-speed::before {
- background-image: url("/assets/icons/speed-white.png");
- }
- .icon-target {
- --icon-start: #21a37e;
- --icon-end: #0f766e;
- }
- .icon-target::before {
- background-image: url("/assets/icons/target-white.png");
- }
- .icon-shield-check {
- --icon-start: #16a34a;
- --icon-end: #0f766e;
- }
- .icon-shield-check::before {
- background-image: url("/assets/icons/shield-check-white.png");
- }
- .icon-crc {
- --icon-start: #2563eb;
- --icon-end: #0f766e;
- }
- .icon-crc::before {
- background-image: url("/assets/icons/hash-white.png");
- }
- .icon-filter {
- --icon-start: #f59e0b;
- --icon-end: #d97706;
- }
- .icon-filter::before {
- background-image: url("/assets/icons/funnel-white.png");
- }
- .icon-reactance {
- --icon-start: #0ea5e9;
- --icon-end: #0f766e;
- }
- .icon-reactance::before {
- background-image: url("/assets/icons/audio-waveform-white.png");
- }
- .icon-smd {
- --icon-start: #64748b;
- --icon-end: #334155;
- }
- .icon-smd::before {
- background-image: url("/assets/icons/microchip-white.png");
- }
- .icon-snow {
- --icon-start: #38bdf8;
- --icon-end: #2563eb;
- }
- .icon-snow::before {
- background-image: url("/assets/icons/snowflake-white.png");
- }
- .icon-three-phase {
- --icon-start: #7c3aed;
- --icon-end: #2563eb;
- }
- .icon-three-phase::before {
- background-image: url("/assets/icons/zap-white.png");
- }
- .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;
- }
- .subpage-fixed-header--generic .generic-protocol-actions {
- flex: 1 1 auto;
- flex-wrap: wrap;
- justify-content: flex-end;
- gap: 8rpx;
- margin-left: 0;
- }
- .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;
- }
- }
|