1
0

app.wxss 43 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524
  1. page {
  2. --page-bg: #f6f8fb;
  3. --text-main: #111827;
  4. --accent: #0f8f87;
  5. --accent-dark: #08746e;
  6. --accent-soft: #e8f6f5;
  7. --danger: #c2410c;
  8. --shadow-soft: 0 10rpx 28rpx rgba(15, 23, 42, 0.05);
  9. height: 100vh;
  10. display: flex;
  11. flex-direction: column;
  12. font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  13. background: var(--page-bg);
  14. color: var(--text-main);
  15. }
  16. .scrollarea {
  17. flex: 1;
  18. overflow-y: auto;
  19. }
  20. .scrollarea--subpage .page-shell {
  21. padding-top: 14rpx;
  22. }
  23. .scrollarea--generic .page-shell {
  24. padding-top: 0;
  25. }
  26. .page-shell {
  27. min-height: 100%;
  28. padding: 24rpx 24rpx 52rpx;
  29. box-sizing: border-box;
  30. }
  31. .theme-dark {
  32. --page-bg: #111827;
  33. --text-main: #e5e7eb;
  34. --accent: #14b8a6;
  35. --accent-dark: #5eead4;
  36. --accent-soft: #123d3b;
  37. --danger: #fb923c;
  38. --shadow-soft: 0 10rpx 28rpx rgba(0, 0, 0, 0.22);
  39. background: var(--page-bg);
  40. color: var(--text-main);
  41. }
  42. .page-toast {
  43. position: fixed;
  44. z-index: 70;
  45. top: calc(env(safe-area-inset-top) + 108rpx);
  46. left: 24rpx;
  47. right: 24rpx;
  48. min-height: 68rpx;
  49. padding: 16rpx 22rpx;
  50. border: 1rpx solid #d9edeb;
  51. border-radius: 14rpx;
  52. background: rgba(244, 251, 250, 0.98);
  53. color: var(--accent-dark);
  54. box-shadow: 0 12rpx 32rpx rgba(15, 23, 42, 0.16);
  55. font-size: 25rpx;
  56. line-height: 1.35;
  57. font-weight: 700;
  58. text-align: center;
  59. word-break: break-all;
  60. box-sizing: border-box;
  61. }
  62. .page-toast--error {
  63. border-color: #ffd4bf;
  64. background: rgba(255, 247, 237, 0.98);
  65. color: var(--danger);
  66. }
  67. .page-toast.theme-dark {
  68. border-color: #174e49;
  69. background: rgba(18, 61, 59, 0.98);
  70. color: #99f6e4;
  71. box-shadow: 0 12rpx 34rpx rgba(0, 0, 0, 0.32);
  72. }
  73. .page-toast--error.theme-dark {
  74. border-color: #7c2d12;
  75. background: rgba(67, 33, 20, 0.98);
  76. color: #fed7aa;
  77. }
  78. .theme-dark .panel,
  79. .theme-dark .connected-panel,
  80. .theme-dark .device-card,
  81. .theme-dark .empty-state {
  82. border-color: #263241;
  83. background: #17202c;
  84. box-shadow: var(--shadow-soft);
  85. }
  86. .theme-dark .panel-title,
  87. .theme-dark .subpage-page-title,
  88. .theme-dark .connected-name,
  89. .theme-dark .device-name,
  90. .theme-dark .empty-title,
  91. .theme-dark .param-name,
  92. .theme-dark .picker-value,
  93. .theme-dark .generated-title,
  94. .theme-dark .generated-value,
  95. .theme-dark .log-payload,
  96. .theme-dark .control-name,
  97. .theme-dark .upgrade-value {
  98. color: #e5e7eb;
  99. }
  100. .theme-dark .meta-label,
  101. .theme-dark .meta-value,
  102. .theme-dark .device-id,
  103. .theme-dark .device-service,
  104. .theme-dark .protocol-label,
  105. .theme-dark .empty-text,
  106. .theme-dark .param-meta,
  107. .theme-dark .log-time,
  108. .theme-dark .traffic-badge,
  109. .theme-dark .upgrade-label {
  110. color: #94a3b8;
  111. }
  112. .theme-dark .panel-action-button,
  113. .theme-dark .protocol-input,
  114. .theme-dark .value-input,
  115. .theme-dark .hex-input,
  116. .theme-dark .control-button,
  117. .theme-dark .subpage-back {
  118. border-color: #334155;
  119. background: #111827;
  120. color: #cbd5e1;
  121. box-shadow: none;
  122. }
  123. .theme-dark .protocol-picker {
  124. background: transparent;
  125. border-color: transparent;
  126. color: #cbd5e1;
  127. }
  128. .theme-dark .subpage-back-icon {
  129. border-color: #94a3b8;
  130. }
  131. .theme-dark .entry-chevron {
  132. border-color: #64748b;
  133. }
  134. .theme-dark .control-button {
  135. background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
  136. color: #e5e7eb;
  137. }
  138. .theme-dark .panel-action-button {
  139. background: #17202c;
  140. color: #99f6e4;
  141. }
  142. .theme-dark .panel-action-button.is-active {
  143. border-color: #5eead4;
  144. background: #0f766e;
  145. color: #ecfeff;
  146. }
  147. .theme-dark .value-input:focus,
  148. .theme-dark .protocol-input:focus,
  149. .theme-dark .hex-input:focus {
  150. border-color: #2dd4bf;
  151. background: #102f2e;
  152. }
  153. .theme-dark .rssi {
  154. background: #1f2937;
  155. color: #cbd5e1;
  156. }
  157. .theme-dark .connect-state {
  158. background: #123d3b;
  159. color: #5eead4;
  160. }
  161. .theme-dark .connect-state.connected,
  162. .theme-dark .device-card--connected {
  163. border-color: #0f766e;
  164. background: #102f2e;
  165. color: #99f6e4;
  166. }
  167. .theme-dark .meta-item,
  168. .theme-dark .protocol-row,
  169. .theme-dark .upgrade-row,
  170. .theme-dark .param-row,
  171. .theme-dark .params-section-title,
  172. .theme-dark .protection-field,
  173. .theme-dark .log-scroll,
  174. .theme-dark .log-row {
  175. border-color: #263241;
  176. }
  177. .theme-dark .params-section-title {
  178. background: #111827;
  179. color: #94a3b8;
  180. }
  181. .theme-dark .driver-summary-chip,
  182. .theme-dark .driver-summary-checksum,
  183. .theme-dark .driver-summary-model {
  184. color: #e5e7eb;
  185. }
  186. .theme-dark .device-filter {
  187. border-color: #334155;
  188. background: #111827;
  189. }
  190. .theme-dark .device-filter-item {
  191. color: #94a3b8;
  192. }
  193. .theme-dark .device-filter-item.is-active {
  194. background: #1f2937;
  195. color: #5eead4;
  196. box-shadow: none;
  197. }
  198. .theme-dark .upgrade-status,
  199. .theme-dark .generated-frame {
  200. border-color: #174e49;
  201. background: #111827;
  202. color: #94a3b8;
  203. }
  204. .theme-dark .generic-dialog {
  205. border-color: #263241;
  206. background: #17202c;
  207. box-shadow: 0 18rpx 44rpx rgba(0, 0, 0, 0.38);
  208. }
  209. .theme-dark .generic-dialog-header,
  210. .theme-dark .generic-draft-actions,
  211. .theme-dark .generic-info-row {
  212. border-color: #263241;
  213. }
  214. .theme-dark .generic-dialog-title,
  215. .theme-dark .generic-info-value,
  216. .theme-dark .generic-register-name,
  217. .theme-dark .crc-file-name {
  218. color: #e5e7eb;
  219. }
  220. .theme-dark .generic-dialog-close,
  221. .theme-dark .generic-info-label {
  222. color: #94a3b8;
  223. }
  224. .theme-dark .generic-value-input,
  225. .theme-dark .crc-data-input,
  226. .theme-dark .generic-struct-input {
  227. border-color: #334155;
  228. background: #111827;
  229. color: #e5e7eb;
  230. }
  231. .theme-dark .generic-picker-value {
  232. color: #e5e7eb;
  233. }
  234. .theme-dark .generic-register-row,
  235. .theme-dark .generic-config-row,
  236. .theme-dark .generic-struct-section,
  237. .theme-dark .generic-group-inline-registers,
  238. .theme-dark .storage-code-info-inline {
  239. border-color: #263241;
  240. }
  241. .theme-dark .generic-register-row.is-drag-armed {
  242. background: rgba(45, 212, 191, 0.06);
  243. }
  244. .theme-dark .generic-register-row.is-dragging {
  245. border-color: rgba(45, 212, 191, 0.32);
  246. background: linear-gradient(180deg, rgba(17, 94, 89, 0.68), rgba(15, 118, 110, 0.42));
  247. box-shadow: 0 16rpx 42rpx rgba(2, 6, 23, 0.5);
  248. }
  249. .theme-dark .generic-register-drag-bar {
  250. background: #64748b;
  251. }
  252. .theme-dark .generic-register-drag-handle.is-drag-armed {
  253. background: rgba(45, 212, 191, 0.1);
  254. }
  255. .theme-dark .generic-register-drag-handle.is-dragging {
  256. background: rgba(45, 212, 191, 0.16);
  257. }
  258. .theme-dark .generic-register-drag-handle.is-drag-armed .generic-register-drag-bar,
  259. .theme-dark .generic-register-drag-handle.is-dragging .generic-register-drag-bar {
  260. background: #5eead4;
  261. }
  262. .theme-dark .generic-readonly-value,
  263. .theme-dark .generic-register-unit,
  264. .theme-dark .generic-scalar-value,
  265. .theme-dark .storage-code-info-model {
  266. color: #5eead4;
  267. }
  268. .theme-dark .storage-code-info-chip,
  269. .theme-dark .storage-code-info-metric,
  270. .theme-dark .generic-register-display-meta {
  271. color: #94a3b8;
  272. }
  273. .theme-dark .value-input--dirty {
  274. border-color: #f59e0b;
  275. background: #2b1d0e;
  276. color: #fed7aa;
  277. }
  278. .theme-dark .upgrade-status--ready {
  279. background: #123d3b;
  280. color: #5eead4;
  281. }
  282. .panel {
  283. margin-top: 24rpx;
  284. border: 1rpx solid #e6ebf2;
  285. border-radius: 18rpx;
  286. background: #ffffff;
  287. box-shadow: var(--shadow-soft);
  288. box-sizing: border-box;
  289. overflow: hidden;
  290. }
  291. .panel:first-child {
  292. margin-top: 0;
  293. }
  294. .panel-header {
  295. position: relative;
  296. display: flex;
  297. align-items: center;
  298. gap: 14rpx;
  299. padding: 24rpx 24rpx 8rpx;
  300. }
  301. .subpage-fixed-header {
  302. flex: none;
  303. padding: 16rpx 24rpx 12rpx;
  304. background: var(--page-bg);
  305. box-sizing: border-box;
  306. }
  307. .subpage-fixed-header--generic {
  308. padding: 8rpx 24rpx 4rpx;
  309. }
  310. .subpage-fixed-header--generic .subpage-page-header {
  311. min-height: 52rpx;
  312. }
  313. .subpage-page-header {
  314. display: flex;
  315. align-items: center;
  316. gap: 14rpx;
  317. min-height: 68rpx;
  318. margin: 0;
  319. padding: 0;
  320. box-sizing: border-box;
  321. }
  322. .subpage-page-title {
  323. min-width: 0;
  324. flex: 1;
  325. color: #111827;
  326. font-size: 36rpx;
  327. line-height: 1.35;
  328. font-weight: 900;
  329. white-space: nowrap;
  330. overflow: hidden;
  331. text-overflow: ellipsis;
  332. }
  333. .subpage-actions {
  334. margin-left: 0;
  335. }
  336. .generic-protocol-actions {
  337. flex: 1;
  338. flex-wrap: wrap;
  339. justify-content: flex-end;
  340. gap: 8rpx;
  341. }
  342. .param-entry-panel .panel-title {
  343. flex: 1;
  344. white-space: nowrap;
  345. word-break: keep-all;
  346. }
  347. .subpage-back {
  348. flex: none;
  349. display: flex;
  350. align-items: center;
  351. justify-content: center;
  352. width: 52rpx;
  353. height: 52rpx;
  354. border: 1rpx solid #d8e2ea;
  355. border-radius: 12rpx;
  356. background: #f8fafc;
  357. box-sizing: border-box;
  358. }
  359. .subpage-back:active,
  360. .param-entry-panel:active {
  361. opacity: 0.72;
  362. }
  363. .subpage-back-icon {
  364. width: 16rpx;
  365. height: 16rpx;
  366. border-left: 4rpx solid #64748b;
  367. border-bottom: 4rpx solid #64748b;
  368. transform: rotate(45deg);
  369. margin-left: 6rpx;
  370. box-sizing: border-box;
  371. }
  372. .param-entry-panel .panel-header {
  373. padding-bottom: 24rpx;
  374. }
  375. .driver-summary-panel {
  376. padding: 18rpx 24rpx 16rpx;
  377. box-sizing: border-box;
  378. }
  379. .driver-summary-row {
  380. display: flex;
  381. align-items: center;
  382. gap: 16rpx;
  383. }
  384. .driver-summary-row--top {
  385. justify-content: space-between;
  386. }
  387. .driver-summary-row--model {
  388. margin-top: 10rpx;
  389. }
  390. .driver-summary-chip,
  391. .driver-summary-checksum,
  392. .driver-summary-model {
  393. min-width: 0;
  394. color: #111827;
  395. line-height: 1.35;
  396. font-weight: 800;
  397. word-break: break-all;
  398. }
  399. .driver-summary-chip {
  400. flex: 1;
  401. text-align: left;
  402. font-size: 28rpx;
  403. }
  404. .driver-summary-checksum {
  405. flex: none;
  406. text-align: right;
  407. font-size: 24rpx;
  408. font-family: Menlo, Monaco, Consolas, monospace;
  409. }
  410. .driver-summary-model {
  411. flex: 1;
  412. font-size: 26rpx;
  413. }
  414. .entry-chevron {
  415. flex: none;
  416. width: 18rpx;
  417. height: 18rpx;
  418. border-right: 4rpx solid #94a3b8;
  419. border-bottom: 4rpx solid #94a3b8;
  420. transform: rotate(-45deg);
  421. box-sizing: border-box;
  422. }
  423. .params-section-title {
  424. padding: 18rpx 24rpx;
  425. border-bottom: 1rpx solid #edf2f7;
  426. background: #f8fafc;
  427. color: #475569;
  428. font-size: 24rpx;
  429. line-height: 1.35;
  430. font-weight: 800;
  431. box-sizing: border-box;
  432. }
  433. .params-section-title + .param-row {
  434. border-top: 0;
  435. }
  436. .protection-field-row {
  437. display: flex;
  438. flex-wrap: wrap;
  439. gap: 0 12rpx;
  440. padding: 0 24rpx;
  441. box-sizing: border-box;
  442. }
  443. .params-section-title + .protection-field-row .protection-field {
  444. border-top: 0;
  445. }
  446. .protection-field {
  447. display: flex;
  448. align-items: center;
  449. justify-content: space-between;
  450. gap: 18rpx;
  451. min-height: 96rpx;
  452. padding: 14rpx 0;
  453. border-top: 1rpx solid #edf2f7;
  454. box-sizing: border-box;
  455. }
  456. .protection-field--switch {
  457. flex: 1 1 240rpx;
  458. min-width: 240rpx;
  459. }
  460. .protection-field--input {
  461. flex: 1 1 100%;
  462. min-width: 100%;
  463. }
  464. .protection-field-main {
  465. min-width: 0;
  466. flex: 1;
  467. }
  468. .outside-header {
  469. padding: 0;
  470. margin-bottom: 16rpx;
  471. }
  472. .panel-icon {
  473. flex: none;
  474. position: relative;
  475. width: 38rpx;
  476. height: 38rpx;
  477. border-radius: 12rpx;
  478. background:
  479. 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%),
  480. linear-gradient(180deg, var(--icon-start, #129a91) 0%, var(--icon-end, #08746e) 100%);
  481. border: 1rpx solid rgba(255, 255, 255, 0.12);
  482. box-shadow: 0 8rpx 16rpx rgba(15, 143, 135, 0.18);
  483. overflow: hidden;
  484. }
  485. .panel-title {
  486. min-width: 0;
  487. color: #111827;
  488. font-size: 31rpx;
  489. line-height: 1.35;
  490. font-weight: 800;
  491. word-break: break-all;
  492. }
  493. .panel-header--with-actions {
  494. padding-right: 18rpx;
  495. }
  496. .panel-heading-toggle {
  497. min-width: 0;
  498. flex: 1;
  499. display: flex;
  500. align-items: center;
  501. gap: 14rpx;
  502. }
  503. .panel-heading-toggle:active {
  504. opacity: 0.72;
  505. }
  506. .panel-header--with-actions .panel-title {
  507. flex: 1;
  508. white-space: nowrap;
  509. word-break: keep-all;
  510. }
  511. .collapse-indicator {
  512. flex: none;
  513. position: relative;
  514. width: 28rpx;
  515. height: 28rpx;
  516. }
  517. .collapse-indicator::before {
  518. content: "";
  519. position: absolute;
  520. left: 8rpx;
  521. top: 6rpx;
  522. width: 10rpx;
  523. height: 10rpx;
  524. border-right: 3rpx solid #94a3b8;
  525. border-bottom: 3rpx solid #94a3b8;
  526. transform: rotate(45deg);
  527. transform-origin: center;
  528. transition: transform 0.16s ease;
  529. }
  530. .collapse-toggle.is-collapsed .collapse-indicator::before {
  531. top: 9rpx;
  532. transform: rotate(-45deg);
  533. }
  534. .collapse-toggle {
  535. flex: none;
  536. display: flex;
  537. align-items: center;
  538. justify-content: center;
  539. width: 34rpx;
  540. height: 50rpx;
  541. }
  542. .collapse-toggle:active {
  543. opacity: 0.72;
  544. }
  545. .panel--collapsed .panel-header {
  546. padding-bottom: 24rpx;
  547. }
  548. .panel-actions {
  549. flex: none;
  550. display: flex;
  551. align-items: center;
  552. gap: 8rpx;
  553. margin-left: auto;
  554. }
  555. .panel-actions--three {
  556. gap: 6rpx;
  557. }
  558. .panel-actions--status {
  559. gap: 8rpx;
  560. }
  561. .panel-action-button {
  562. flex: none;
  563. display: flex;
  564. align-items: center;
  565. justify-content: center;
  566. width: 86rpx;
  567. min-width: 0;
  568. height: 50rpx;
  569. min-height: 0;
  570. margin: 0;
  571. padding: 0;
  572. border: 1rpx solid #b9d8d1;
  573. border-radius: 10rpx;
  574. background: #ffffff;
  575. color: var(--accent-dark);
  576. font-size: 22rpx;
  577. line-height: 1.3;
  578. font-weight: 800;
  579. box-sizing: border-box;
  580. }
  581. .panel-action-button::after {
  582. border: 0;
  583. }
  584. .panel-action-button:active {
  585. opacity: 0.72;
  586. }
  587. .panel-action-button.is-disabled {
  588. background: #eef1f5;
  589. color: #94a3b8;
  590. box-shadow: none;
  591. }
  592. .panel-action-button.is-active {
  593. border-color: var(--accent-dark);
  594. background: var(--accent);
  595. color: #ffffff;
  596. }
  597. .theme-dark .panel-action-button.is-disabled {
  598. border-color: #263241;
  599. background: #1f2937;
  600. background-color: #1f2937;
  601. color: #64748b;
  602. }
  603. .theme-dark button[disabled].control-button,
  604. .theme-dark button.control-button[disabled] {
  605. border-color: #263241;
  606. background: #1f2937;
  607. background-color: #1f2937;
  608. background-image: none;
  609. color: #64748b;
  610. box-shadow: none;
  611. }
  612. .theme-dark button[disabled].control-button .control-name,
  613. .theme-dark button.control-button[disabled] .control-name {
  614. color: #64748b;
  615. }
  616. .panel-icon::before,
  617. .panel-icon::after {
  618. content: "";
  619. position: absolute;
  620. box-sizing: border-box;
  621. }
  622. .panel-icon::before {
  623. display: none;
  624. left: 7rpx;
  625. top: 7rpx;
  626. width: 24rpx;
  627. height: 24rpx;
  628. z-index: 1;
  629. background-position: center;
  630. background-repeat: no-repeat;
  631. background-size: contain;
  632. opacity: 0.96;
  633. }
  634. .panel-icon-image {
  635. position: absolute;
  636. z-index: 2;
  637. left: 7rpx;
  638. top: 7rpx;
  639. width: 24rpx;
  640. height: 24rpx;
  641. pointer-events: none;
  642. }
  643. .panel-icon::after {
  644. left: 0;
  645. top: 0;
  646. width: 100%;
  647. height: 100%;
  648. border-radius: inherit;
  649. box-shadow: inset 0 1rpx 0 rgba(255, 255, 255, 0.2);
  650. }
  651. .icon-chip {
  652. --icon-start: #5a86a6;
  653. --icon-end: #2f5e7c;
  654. }
  655. .icon-chip::before {
  656. background-image: url("/assets/icons/chip-white.png");
  657. }
  658. .icon-control {
  659. --icon-start: #18a58b;
  660. --icon-end: #0e746f;
  661. }
  662. .icon-control::before {
  663. background-image: url("/assets/icons/control-white.png");
  664. }
  665. .icon-bluetooth {
  666. --icon-start: #16a8cf;
  667. --icon-end: #0f7a9a;
  668. }
  669. .icon-bluetooth::before {
  670. background-image: url("/assets/icons/bluetooth-connected-white.png");
  671. }
  672. .icon-radar {
  673. --icon-start: #23b0d7;
  674. --icon-end: #137e8f;
  675. }
  676. .icon-radar::before {
  677. background-image: url("/assets/icons/radar-white.png");
  678. }
  679. .icon-terminal {
  680. --icon-start: #63758f;
  681. --icon-end: #324056;
  682. }
  683. .icon-terminal::before {
  684. background-image: url("/assets/icons/terminal-white.png");
  685. }
  686. .icon-send {
  687. --icon-start: #39bdf0;
  688. --icon-end: #1684c5;
  689. }
  690. .icon-send::before {
  691. background-image: url("/assets/icons/send-white.png");
  692. }
  693. .icon-history {
  694. --icon-start: #64748b;
  695. --icon-end: #475569;
  696. }
  697. .icon-history::before {
  698. background-image: url("/assets/icons/history-white.png");
  699. }
  700. .icon-status {
  701. --icon-start: #14a79a;
  702. --icon-end: #2563eb;
  703. }
  704. .icon-status::before {
  705. background-image: url("/assets/icons/status-white.png");
  706. }
  707. .icon-bars {
  708. --icon-start: #148f85;
  709. --icon-end: #105f8b;
  710. }
  711. .icon-bars::before {
  712. background-image: url("/assets/icons/sliders-white.png");
  713. }
  714. .icon-tune {
  715. --icon-start: #17a59f;
  716. --icon-end: #0d7280;
  717. }
  718. .icon-tune::before {
  719. background-image: url("/assets/icons/sliders-white.png");
  720. }
  721. .icon-speed {
  722. --icon-start: #f7a623;
  723. --icon-end: #d97f0c;
  724. }
  725. .icon-speed::before {
  726. background-image: url("/assets/icons/speed-white.png");
  727. }
  728. .icon-target {
  729. --icon-start: #21a37e;
  730. --icon-end: #0f766e;
  731. }
  732. .icon-target::before {
  733. background-image: url("/assets/icons/target-white.png");
  734. }
  735. .icon-shield-check {
  736. --icon-start: #16a34a;
  737. --icon-end: #0f766e;
  738. }
  739. .icon-shield-check::before {
  740. background-image: url("/assets/icons/shield-check-white.png");
  741. }
  742. .icon-crc {
  743. --icon-start: #2563eb;
  744. --icon-end: #0f766e;
  745. }
  746. .icon-crc::before {
  747. background-image: url("/assets/icons/hash-white.png");
  748. }
  749. .icon-filter {
  750. --icon-start: #f59e0b;
  751. --icon-end: #d97706;
  752. }
  753. .icon-filter::before {
  754. background-image: url("/assets/icons/funnel-white.png");
  755. }
  756. .icon-reactance {
  757. --icon-start: #0ea5e9;
  758. --icon-end: #0f766e;
  759. }
  760. .icon-reactance::before {
  761. background-image: url("/assets/icons/audio-waveform-white.png");
  762. }
  763. .icon-smd {
  764. --icon-start: #64748b;
  765. --icon-end: #334155;
  766. }
  767. .icon-smd::before {
  768. background-image: url("/assets/icons/microchip-white.png");
  769. }
  770. .icon-snow {
  771. --icon-start: #38bdf8;
  772. --icon-end: #2563eb;
  773. }
  774. .icon-snow::before {
  775. background-image: url("/assets/icons/snowflake-white.png");
  776. }
  777. .icon-three-phase {
  778. --icon-start: #7c3aed;
  779. --icon-end: #2563eb;
  780. }
  781. .icon-three-phase::before {
  782. background-image: url("/assets/icons/zap-white.png");
  783. }
  784. .param-row {
  785. display: flex;
  786. align-items: center;
  787. justify-content: space-between;
  788. gap: 18rpx;
  789. min-height: 96rpx;
  790. padding: 0 24rpx;
  791. border-top: 1rpx solid #edf2f7;
  792. box-sizing: border-box;
  793. }
  794. .panel-header + .param-row,
  795. .panel-header + view .param-row:first-child {
  796. border-top: 0;
  797. }
  798. .param-row:first-child {
  799. border-top: 0;
  800. }
  801. .input-row {
  802. min-height: 106rpx;
  803. }
  804. .param-main {
  805. min-width: 0;
  806. flex: 1;
  807. }
  808. .param-name {
  809. min-width: 0;
  810. color: #111827;
  811. font-size: 28rpx;
  812. line-height: 1.35;
  813. font-weight: 700;
  814. word-break: break-all;
  815. }
  816. .param-meta {
  817. margin-top: 7rpx;
  818. color: #6b7280;
  819. font-size: 22rpx;
  820. line-height: 1.35;
  821. word-break: break-all;
  822. }
  823. .param-meta--dirty {
  824. color: #d97706;
  825. font-weight: 800;
  826. }
  827. .param-value {
  828. flex: none;
  829. max-width: 320rpx;
  830. color: #0f8f87;
  831. font-size: 30rpx;
  832. line-height: 1.35;
  833. font-weight: 800;
  834. text-align: right;
  835. word-break: break-all;
  836. }
  837. .input-wrap {
  838. flex: none;
  839. display: flex;
  840. align-items: center;
  841. gap: 10rpx;
  842. }
  843. .value-input {
  844. width: 300rpx;
  845. height: 70rpx;
  846. padding: 0 18rpx;
  847. border: 1rpx solid #e7edf3;
  848. border-radius: 10rpx;
  849. background: #fafbfd;
  850. color: #111827;
  851. font-size: 28rpx;
  852. line-height: 70rpx;
  853. text-align: right;
  854. box-sizing: border-box;
  855. }
  856. .value-input--with-unit {
  857. width: 300rpx;
  858. }
  859. .value-input:focus {
  860. border-color: #0f8f87;
  861. background: #f4fbfa;
  862. }
  863. .value-input--dirty {
  864. border-color: #fbbf24;
  865. background: #fffbeb;
  866. color: #92400e;
  867. }
  868. .generic-dialog-mask {
  869. position: fixed;
  870. z-index: 60;
  871. left: 0;
  872. right: 0;
  873. top: 0;
  874. bottom: 0;
  875. display: flex;
  876. align-items: center;
  877. justify-content: center;
  878. padding: 24rpx 24rpx calc(32rpx + env(safe-area-inset-bottom));
  879. background: rgba(15, 23, 42, 0.28);
  880. box-sizing: border-box;
  881. }
  882. .generic-dialog {
  883. width: 100%;
  884. max-height: 84vh;
  885. overflow: hidden;
  886. border: 1rpx solid #e5edf4;
  887. border-radius: 20rpx;
  888. background: #ffffff;
  889. box-shadow: 0 18rpx 48rpx rgba(15, 23, 42, 0.2);
  890. box-sizing: border-box;
  891. }
  892. .generic-dialog-header {
  893. display: flex;
  894. align-items: center;
  895. justify-content: space-between;
  896. min-height: 84rpx;
  897. padding: 0 24rpx;
  898. border-bottom: 1rpx solid #edf2f7;
  899. box-sizing: border-box;
  900. }
  901. .generic-dialog-title {
  902. color: #111827;
  903. font-size: 30rpx;
  904. line-height: 1.3;
  905. font-weight: 900;
  906. }
  907. .generic-dialog-close {
  908. display: flex;
  909. align-items: center;
  910. justify-content: center;
  911. width: 56rpx;
  912. height: 56rpx;
  913. color: #64748b;
  914. font-size: 38rpx;
  915. line-height: 1;
  916. font-weight: 500;
  917. }
  918. .generic-dialog-body {
  919. max-height: 62vh;
  920. overflow-y: auto;
  921. }
  922. .generic-config-row {
  923. display: flex;
  924. align-items: center;
  925. justify-content: space-between;
  926. gap: 18rpx;
  927. min-height: 96rpx;
  928. padding: 14rpx 24rpx;
  929. border-top: 1rpx solid #edf2f7;
  930. box-sizing: border-box;
  931. }
  932. .generic-config-row:first-of-type {
  933. border-top: 0;
  934. }
  935. .generic-picker-value {
  936. width: 300rpx;
  937. min-width: 300rpx;
  938. max-width: 300rpx;
  939. height: 70rpx;
  940. padding: 0;
  941. border: 0;
  942. background: transparent;
  943. color: #111827;
  944. font-size: 28rpx;
  945. line-height: 70rpx;
  946. font-weight: 800;
  947. text-align: right;
  948. overflow: hidden;
  949. text-overflow: ellipsis;
  950. white-space: nowrap;
  951. box-sizing: border-box;
  952. }
  953. .generic-value-input {
  954. width: 300rpx;
  955. height: 70rpx;
  956. line-height: 70rpx;
  957. font-size: 28rpx;
  958. }
  959. .generic-struct-section {
  960. padding: 16rpx 24rpx 22rpx;
  961. border-top: 1rpx solid #edf2f7;
  962. box-sizing: border-box;
  963. }
  964. .generic-struct-header {
  965. display: flex;
  966. align-items: center;
  967. justify-content: space-between;
  968. gap: 18rpx;
  969. margin-bottom: 14rpx;
  970. }
  971. .generic-struct-input {
  972. width: 100%;
  973. min-height: 220rpx;
  974. max-height: 360rpx;
  975. padding: 16rpx 18rpx;
  976. border: 1rpx solid #dbe5ee;
  977. border-radius: 12rpx;
  978. background: #f8fafc;
  979. color: #111827;
  980. font-family: Menlo, Monaco, Consolas, monospace;
  981. font-size: 22rpx;
  982. line-height: 1.45;
  983. box-sizing: border-box;
  984. }
  985. .generic-draft-actions {
  986. display: flex;
  987. justify-content: flex-end;
  988. gap: 12rpx;
  989. padding: 18rpx 24rpx 22rpx;
  990. border-top: 1rpx solid #edf2f7;
  991. box-sizing: border-box;
  992. }
  993. .generic-empty-state {
  994. margin-top: 8rpx;
  995. }
  996. .generic-info-stack {
  997. padding: 0 24rpx;
  998. box-sizing: border-box;
  999. }
  1000. .generic-info-row {
  1001. display: flex;
  1002. align-items: center;
  1003. justify-content: space-between;
  1004. gap: 18rpx;
  1005. min-height: 88rpx;
  1006. border-top: 1rpx solid #edf2f7;
  1007. box-sizing: border-box;
  1008. }
  1009. .generic-info-row:first-child {
  1010. border-top: 0;
  1011. }
  1012. .generic-info-label {
  1013. flex: none;
  1014. width: 116rpx;
  1015. color: #64748b;
  1016. font-size: 23rpx;
  1017. line-height: 1.3;
  1018. font-weight: 800;
  1019. }
  1020. .generic-info-value {
  1021. min-width: 0;
  1022. flex: 1;
  1023. color: #111827;
  1024. font-size: 26rpx;
  1025. line-height: 1.35;
  1026. font-weight: 800;
  1027. text-align: right;
  1028. word-break: break-all;
  1029. }
  1030. .panel-action-button--icon {
  1031. min-width: 58rpx;
  1032. width: 58rpx;
  1033. padding: 0;
  1034. font-size: 34rpx;
  1035. line-height: 50rpx;
  1036. }
  1037. .generic-group-shell {
  1038. position: relative;
  1039. margin-top: 12rpx;
  1040. }
  1041. .generic-group-shell:first-child {
  1042. margin-top: 0;
  1043. }
  1044. .generic-delete-action {
  1045. position: absolute;
  1046. left: 0;
  1047. top: 0;
  1048. z-index: 0;
  1049. display: flex;
  1050. align-items: center;
  1051. justify-content: center;
  1052. width: 76rpx;
  1053. height: 100%;
  1054. min-height: 74rpx;
  1055. border-radius: 18rpx 0 0 18rpx;
  1056. background: #dc2626;
  1057. color: #ffffff;
  1058. font-size: 44rpx;
  1059. line-height: 1;
  1060. font-weight: 900;
  1061. box-sizing: border-box;
  1062. }
  1063. .generic-group-panel {
  1064. position: relative;
  1065. z-index: 1;
  1066. margin-top: 0;
  1067. overflow: hidden;
  1068. transition: transform 0.16s ease;
  1069. }
  1070. .generic-group-shell.is-delete-visible .generic-group-panel {
  1071. transform: translateX(76rpx);
  1072. }
  1073. .generic-group-title-wrap {
  1074. min-width: 0;
  1075. flex: 1;
  1076. }
  1077. .generic-group-panel .panel-header,
  1078. .generic-group-panel.panel--collapsed .panel-header {
  1079. padding: 14rpx 18rpx;
  1080. }
  1081. .generic-group-panel .panel-icon {
  1082. width: 34rpx;
  1083. height: 34rpx;
  1084. border-radius: 10rpx;
  1085. }
  1086. .generic-group-title-wrap .panel-title {
  1087. font-size: 27rpx;
  1088. line-height: 1.22;
  1089. overflow: hidden;
  1090. text-overflow: ellipsis;
  1091. }
  1092. .generic-group-meta {
  1093. margin-top: 2rpx;
  1094. font-size: 20rpx;
  1095. line-height: 1.25;
  1096. white-space: nowrap;
  1097. overflow: hidden;
  1098. text-overflow: ellipsis;
  1099. word-break: keep-all;
  1100. }
  1101. .generic-group-actions {
  1102. flex: none;
  1103. gap: 6rpx;
  1104. }
  1105. .generic-group-actions .panel-action-button {
  1106. width: 76rpx;
  1107. height: 46rpx;
  1108. font-size: 21rpx;
  1109. border-radius: 9rpx;
  1110. }
  1111. .generic-group-actions .entry-chevron {
  1112. margin-left: 4rpx;
  1113. transform: rotate(-45deg);
  1114. }
  1115. .generic-scalar-heading {
  1116. min-width: 0;
  1117. flex: 1;
  1118. }
  1119. .generic-scalar-value {
  1120. flex: none;
  1121. min-width: 96rpx;
  1122. max-width: 220rpx;
  1123. color: #0f8f87;
  1124. font-family: Menlo, Monaco, Consolas, monospace;
  1125. font-size: 25rpx;
  1126. line-height: 1.25;
  1127. font-weight: 900;
  1128. text-align: right;
  1129. overflow: hidden;
  1130. text-overflow: ellipsis;
  1131. white-space: nowrap;
  1132. }
  1133. .generic-group-inline-registers {
  1134. border-top: 1rpx solid #edf2f7;
  1135. }
  1136. .generic-group-inline-registers .generic-register-row {
  1137. border-top: 0;
  1138. border-radius: 0;
  1139. }
  1140. .storage-code-info-inline {
  1141. display: flex;
  1142. flex-direction: column;
  1143. align-items: stretch;
  1144. gap: 8rpx;
  1145. padding: 16rpx 18rpx;
  1146. border: 1rpx solid #edf2f7;
  1147. border-radius: 14rpx;
  1148. background: rgba(15, 143, 135, 0.04);
  1149. box-sizing: border-box;
  1150. }
  1151. .storage-code-info-top,
  1152. .storage-code-info-bottom {
  1153. display: flex;
  1154. align-items: center;
  1155. min-width: 0;
  1156. }
  1157. .storage-code-info-top {
  1158. justify-content: flex-start;
  1159. }
  1160. .storage-code-info-bottom {
  1161. justify-content: space-between;
  1162. gap: 14rpx;
  1163. }
  1164. .storage-code-info-model {
  1165. width: 100%;
  1166. min-width: 0;
  1167. color: #0f8f87;
  1168. font-size: 28rpx;
  1169. line-height: 1.25;
  1170. font-weight: 900;
  1171. overflow: hidden;
  1172. text-overflow: ellipsis;
  1173. white-space: nowrap;
  1174. }
  1175. .storage-code-info-chip {
  1176. flex: 1;
  1177. min-width: 120rpx;
  1178. color: #64748b;
  1179. font-size: 22rpx;
  1180. line-height: 1.25;
  1181. font-weight: 800;
  1182. overflow: hidden;
  1183. text-overflow: ellipsis;
  1184. white-space: nowrap;
  1185. }
  1186. .storage-code-info-metrics {
  1187. flex: 2;
  1188. min-width: 0;
  1189. display: flex;
  1190. align-items: center;
  1191. justify-content: flex-end;
  1192. flex-wrap: wrap;
  1193. gap: 8rpx;
  1194. }
  1195. .storage-code-info-metric {
  1196. color: #64748b;
  1197. font-family: Menlo, Monaco, Consolas, monospace;
  1198. font-size: 20rpx;
  1199. line-height: 1.25;
  1200. font-weight: 900;
  1201. }
  1202. .generic-register-row {
  1203. display: flex;
  1204. align-items: center;
  1205. justify-content: space-between;
  1206. gap: 8rpx;
  1207. min-height: 80rpx;
  1208. padding: 6rpx 16rpx;
  1209. border-top: 1rpx solid #edf2f7;
  1210. border-radius: 16rpx;
  1211. box-sizing: border-box;
  1212. transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
  1213. transform-origin: center center;
  1214. will-change: transform;
  1215. }
  1216. .generic-register-row.is-drag-armed {
  1217. background: rgba(15, 143, 135, 0.04);
  1218. }
  1219. .generic-register-row.is-dragging {
  1220. position: relative;
  1221. border-color: rgba(15, 143, 135, 0.28);
  1222. background: linear-gradient(180deg, rgba(15, 143, 135, 0.12), rgba(15, 143, 135, 0.08));
  1223. box-shadow: 0 14rpx 38rpx rgba(15, 23, 42, 0.18);
  1224. }
  1225. .generic-register-row.is-shift-up,
  1226. .generic-register-row.is-shift-down {
  1227. z-index: 1;
  1228. }
  1229. .generic-register-drag-handle {
  1230. flex: none;
  1231. display: flex;
  1232. flex-direction: column;
  1233. align-items: center;
  1234. justify-content: center;
  1235. gap: 4rpx;
  1236. width: 30rpx;
  1237. min-height: 50rpx;
  1238. margin-left: -4rpx;
  1239. border-radius: 12rpx;
  1240. transition: background-color 0.18s ease, transform 0.18s ease;
  1241. }
  1242. .generic-register-layout-spacer {
  1243. flex: none;
  1244. width: 12rpx;
  1245. min-height: 50rpx;
  1246. }
  1247. .generic-register-drag-handle.is-drag-armed {
  1248. background: rgba(15, 143, 135, 0.08);
  1249. }
  1250. .generic-register-drag-handle.is-dragging {
  1251. background: rgba(15, 143, 135, 0.14);
  1252. transform: scale(1.04);
  1253. }
  1254. .generic-register-drag-bar {
  1255. width: 18rpx;
  1256. height: 3rpx;
  1257. border-radius: 999rpx;
  1258. background: #94a3b8;
  1259. transition: background-color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
  1260. }
  1261. .generic-register-drag-handle.is-drag-armed .generic-register-drag-bar,
  1262. .generic-register-drag-handle.is-dragging .generic-register-drag-bar {
  1263. background: #0f8f87;
  1264. }
  1265. .generic-register-drag-handle.is-dragging .generic-register-drag-bar:nth-child(1) {
  1266. transform: translateX(-2rpx);
  1267. }
  1268. .generic-register-drag-handle.is-dragging .generic-register-drag-bar:nth-child(3) {
  1269. transform: translateX(2rpx);
  1270. }
  1271. .generic-register-main {
  1272. min-width: 0;
  1273. flex: 1;
  1274. display: flex;
  1275. flex-direction: column;
  1276. gap: 2rpx;
  1277. }
  1278. .generic-register-name {
  1279. color: #111827;
  1280. font-size: 24rpx;
  1281. line-height: 1.25;
  1282. font-weight: 800;
  1283. word-break: break-all;
  1284. }
  1285. .generic-register-meta {
  1286. display: flex;
  1287. align-items: center;
  1288. flex-wrap: wrap;
  1289. gap: 10rpx;
  1290. margin-top: 0;
  1291. color: #64748b;
  1292. font-family: Menlo, Monaco, Consolas, monospace;
  1293. font-size: 20rpx;
  1294. line-height: 1.25;
  1295. font-weight: 700;
  1296. }
  1297. .generic-register-input-wrap {
  1298. flex: none;
  1299. position: relative;
  1300. width: 210rpx;
  1301. min-width: 168rpx;
  1302. max-width: 40%;
  1303. box-sizing: border-box;
  1304. }
  1305. .generic-register-display-meta {
  1306. margin-top: 3rpx;
  1307. color: #64748b;
  1308. font-family: Menlo, Monaco, Consolas, monospace;
  1309. font-size: 19rpx;
  1310. line-height: 1.25;
  1311. font-weight: 700;
  1312. text-align: right;
  1313. }
  1314. .generic-register-value {
  1315. width: 100%;
  1316. min-width: 0;
  1317. max-width: 100%;
  1318. }
  1319. .generic-register-unit {
  1320. position: absolute;
  1321. right: 18rpx;
  1322. top: 50%;
  1323. transform: translateY(-50%);
  1324. pointer-events: none;
  1325. color: #0f8f87;
  1326. font-size: 24rpx;
  1327. line-height: 1.35;
  1328. font-weight: 900;
  1329. }
  1330. .generic-register-input-wrap--unit .generic-register-value {
  1331. padding-right: 64rpx;
  1332. }
  1333. .generic-readonly-value {
  1334. width: 210rpx;
  1335. max-width: 40%;
  1336. font-family: Menlo, Monaco, Consolas, monospace;
  1337. font-size: 24rpx;
  1338. }
  1339. .generic-group-detail-panel {
  1340. overflow: hidden;
  1341. }
  1342. .generic-group-detail-header {
  1343. padding: 18rpx 18rpx 8rpx;
  1344. box-sizing: border-box;
  1345. }
  1346. .generic-group-detail-header .panel-title {
  1347. font-size: 30rpx;
  1348. line-height: 1.25;
  1349. }
  1350. .generic-group-detail-meta {
  1351. padding: 0 18rpx 14rpx;
  1352. border-bottom: 1rpx solid #edf2f7;
  1353. color: #64748b;
  1354. font-family: Menlo, Monaco, Consolas, monospace;
  1355. font-size: 21rpx;
  1356. line-height: 1.35;
  1357. font-weight: 800;
  1358. box-sizing: border-box;
  1359. }
  1360. .crc-picker-value {
  1361. min-width: 300rpx;
  1362. max-width: 300rpx;
  1363. overflow: hidden;
  1364. text-overflow: ellipsis;
  1365. white-space: nowrap;
  1366. }
  1367. .crc-algorithm-panel {
  1368. overflow: hidden;
  1369. }
  1370. .crc-algorithm-panel > .param-row {
  1371. min-height: 92rpx;
  1372. }
  1373. .crc-algorithm-picker {
  1374. min-width: 0;
  1375. flex: 1;
  1376. display: block;
  1377. width: 100%;
  1378. }
  1379. .crc-algorithm-picker-content {
  1380. min-width: 0;
  1381. width: 100%;
  1382. display: flex;
  1383. align-items: center;
  1384. justify-content: space-between;
  1385. gap: 18rpx;
  1386. }
  1387. .crc-algorithm-picker-content .param-main {
  1388. flex: 1;
  1389. min-width: 0;
  1390. }
  1391. .crc-algorithm-panel .crc-picker-value {
  1392. flex: none;
  1393. width: auto;
  1394. min-width: 0;
  1395. max-width: 430rpx;
  1396. font-size: 24rpx;
  1397. }
  1398. .crc-data-card-header {
  1399. display: flex;
  1400. align-items: center;
  1401. justify-content: space-between;
  1402. gap: 12rpx;
  1403. min-height: 76rpx;
  1404. padding: 12rpx 18rpx 12rpx 24rpx;
  1405. }
  1406. .crc-data-title {
  1407. min-width: 0;
  1408. flex: 1;
  1409. text-align: left;
  1410. }
  1411. .crc-data-header-actions {
  1412. flex: none;
  1413. display: flex;
  1414. align-items: center;
  1415. justify-content: flex-end;
  1416. gap: 6rpx;
  1417. }
  1418. .crc-data-type-picker {
  1419. flex: none;
  1420. margin-right: 8rpx;
  1421. }
  1422. .crc-data-type-value {
  1423. width: 108rpx;
  1424. height: 50rpx;
  1425. color: #111827;
  1426. font-size: 22rpx;
  1427. line-height: 50rpx;
  1428. font-weight: 900;
  1429. text-align: right;
  1430. overflow: hidden;
  1431. text-overflow: ellipsis;
  1432. white-space: nowrap;
  1433. }
  1434. .crc-data-header-actions .panel-action-button {
  1435. width: 78rpx;
  1436. }
  1437. .theme-dark .crc-data-type-value {
  1438. color: #e5e7eb;
  1439. }
  1440. .crc-algorithm-fields {
  1441. border-top: 1rpx solid #edf2f7;
  1442. }
  1443. .theme-dark .crc-algorithm-fields {
  1444. border-color: #263241;
  1445. }
  1446. .crc-config-input {
  1447. width: 300rpx;
  1448. font-family: Menlo, Monaco, Consolas, monospace;
  1449. }
  1450. .crc-switch-row {
  1451. display: flex;
  1452. gap: 12rpx;
  1453. padding: 0 24rpx;
  1454. border-top: 1rpx solid #edf2f7;
  1455. box-sizing: border-box;
  1456. }
  1457. .theme-dark .crc-switch-row {
  1458. border-color: #263241;
  1459. }
  1460. .crc-switch-field {
  1461. flex: 1;
  1462. min-width: 0;
  1463. display: flex;
  1464. align-items: center;
  1465. justify-content: space-between;
  1466. gap: 12rpx;
  1467. min-height: 96rpx;
  1468. }
  1469. .crc-data-wrap {
  1470. padding: 18rpx 24rpx 22rpx;
  1471. box-sizing: border-box;
  1472. }
  1473. .crc-data-input {
  1474. width: 100%;
  1475. min-height: 230rpx;
  1476. padding: 18rpx;
  1477. border: 1rpx solid #e7edf3;
  1478. border-radius: 12rpx;
  1479. background: #fafbfd;
  1480. color: #111827;
  1481. font-family: Menlo, Monaco, Consolas, monospace;
  1482. font-size: 24rpx;
  1483. line-height: 1.45;
  1484. box-sizing: border-box;
  1485. }
  1486. .crc-file-name,
  1487. .crc-error-value {
  1488. min-width: 0;
  1489. max-width: 430rpx;
  1490. text-align: right;
  1491. word-break: break-all;
  1492. }
  1493. .crc-file-name {
  1494. color: #111827;
  1495. font-size: 24rpx;
  1496. line-height: 1.35;
  1497. font-weight: 800;
  1498. }
  1499. .crc-result-bin-line {
  1500. display: block;
  1501. white-space: nowrap;
  1502. }
  1503. .crc-error-value {
  1504. color: var(--danger);
  1505. font-size: 24rpx;
  1506. line-height: 1.35;
  1507. font-weight: 800;
  1508. }
  1509. .filter-input-wrap {
  1510. flex: none;
  1511. display: flex;
  1512. align-items: center;
  1513. justify-content: flex-end;
  1514. gap: 8rpx;
  1515. }
  1516. .filter-value-input {
  1517. width: 210rpx;
  1518. min-width: 0;
  1519. max-width: 210rpx;
  1520. }
  1521. .filter-value-input--computed {
  1522. border-color: #9bd6cf;
  1523. background: #f0fdfa;
  1524. color: #0f766e;
  1525. font-weight: 900;
  1526. }
  1527. .filter-unit-picker {
  1528. flex: none;
  1529. width: 92rpx;
  1530. }
  1531. .filter-unit-value {
  1532. width: 92rpx;
  1533. height: 70rpx;
  1534. color: #111827;
  1535. font-size: 25rpx;
  1536. line-height: 70rpx;
  1537. font-weight: 900;
  1538. text-align: right;
  1539. overflow: hidden;
  1540. text-overflow: ellipsis;
  1541. white-space: nowrap;
  1542. box-sizing: border-box;
  1543. }
  1544. .filter-section-title,
  1545. .filter-diagram-title {
  1546. display: flex;
  1547. align-items: center;
  1548. justify-content: space-between;
  1549. gap: 16rpx;
  1550. }
  1551. .filter-section-title-text {
  1552. min-width: 0;
  1553. flex: 1;
  1554. }
  1555. .filter-mode-actions {
  1556. flex: none;
  1557. display: flex;
  1558. align-items: center;
  1559. gap: 8rpx;
  1560. }
  1561. .filter-mode-button {
  1562. flex: none;
  1563. min-width: 78rpx;
  1564. height: 46rpx;
  1565. padding: 0 16rpx;
  1566. border: 1rpx solid #b9d8d1;
  1567. border-radius: 10rpx;
  1568. background: #ffffff;
  1569. color: var(--accent-dark);
  1570. font-size: 22rpx;
  1571. line-height: 44rpx;
  1572. font-weight: 900;
  1573. text-align: center;
  1574. box-sizing: border-box;
  1575. }
  1576. .filter-mode-button:active {
  1577. opacity: 0.72;
  1578. }
  1579. .filter-error-inline {
  1580. padding: 0 24rpx 18rpx;
  1581. color: var(--danger);
  1582. font-size: 24rpx;
  1583. line-height: 1.35;
  1584. font-weight: 800;
  1585. text-align: right;
  1586. box-sizing: border-box;
  1587. }
  1588. .filter-diagram-mode {
  1589. min-width: 0;
  1590. flex: none;
  1591. max-width: 260rpx;
  1592. color: #0f8f87;
  1593. font-size: 23rpx;
  1594. line-height: 1.35;
  1595. font-weight: 900;
  1596. text-align: right;
  1597. white-space: nowrap;
  1598. overflow: hidden;
  1599. text-overflow: ellipsis;
  1600. }
  1601. .filter-diagram {
  1602. position: relative;
  1603. min-height: 320rpx;
  1604. padding: 30rpx 0 30rpx;
  1605. border-top: 1rpx solid #edf2f7;
  1606. background: #ffffff;
  1607. box-sizing: border-box;
  1608. }
  1609. .filter-schematic {
  1610. position: relative;
  1611. width: 560rpx;
  1612. height: 260rpx;
  1613. margin: 0 auto;
  1614. color: #111827;
  1615. }
  1616. .filter-schematic-label {
  1617. position: absolute;
  1618. color: #111827;
  1619. font-size: 32rpx;
  1620. line-height: 1;
  1621. font-weight: 900;
  1622. font-style: italic;
  1623. letter-spacing: 0;
  1624. }
  1625. .filter-schematic-label--input {
  1626. left: 0;
  1627. top: 122rpx;
  1628. }
  1629. .filter-schematic-label--output {
  1630. left: 426rpx;
  1631. top: 118rpx;
  1632. }
  1633. .filter-schematic-wire,
  1634. .filter-schematic-dot {
  1635. position: absolute;
  1636. background: #111827;
  1637. }
  1638. .filter-schematic-wire {
  1639. height: 4rpx;
  1640. border-radius: 999rpx;
  1641. }
  1642. .filter-schematic-dot {
  1643. z-index: 3;
  1644. width: 18rpx;
  1645. height: 18rpx;
  1646. border-radius: 50%;
  1647. }
  1648. .filter-schematic-dot--input-top {
  1649. left: 38rpx;
  1650. top: 58rpx;
  1651. }
  1652. .filter-schematic-dot--input-bottom {
  1653. left: 38rpx;
  1654. top: 206rpx;
  1655. }
  1656. .filter-schematic-dot--node-top {
  1657. left: 358rpx;
  1658. top: 58rpx;
  1659. }
  1660. .filter-schematic-dot--node-bottom {
  1661. left: 358rpx;
  1662. top: 206rpx;
  1663. }
  1664. .filter-schematic-dot--output-top {
  1665. left: 514rpx;
  1666. top: 58rpx;
  1667. }
  1668. .filter-schematic-dot--output-bottom {
  1669. left: 514rpx;
  1670. top: 206rpx;
  1671. }
  1672. .filter-schematic-wire--top-input {
  1673. left: 56rpx;
  1674. top: 65rpx;
  1675. width: 100rpx;
  1676. }
  1677. .filter-schematic-wire--top-middle {
  1678. left: 268rpx;
  1679. top: 65rpx;
  1680. width: 98rpx;
  1681. }
  1682. .filter-schematic-wire--top-output {
  1683. left: 366rpx;
  1684. top: 65rpx;
  1685. width: 148rpx;
  1686. }
  1687. .filter-schematic-wire--bottom-input {
  1688. left: 56rpx;
  1689. top: 213rpx;
  1690. width: 310rpx;
  1691. }
  1692. .filter-schematic-wire--bottom-output {
  1693. left: 366rpx;
  1694. top: 213rpx;
  1695. width: 148rpx;
  1696. }
  1697. .filter-schematic-wire--branch-top {
  1698. left: 365rpx;
  1699. top: 76rpx;
  1700. width: 4rpx;
  1701. height: 40rpx;
  1702. }
  1703. .filter-schematic-wire--branch-bottom {
  1704. left: 365rpx;
  1705. top: 208rpx;
  1706. width: 4rpx;
  1707. height: 8rpx;
  1708. }
  1709. .filter-schematic-component {
  1710. position: absolute;
  1711. z-index: 2;
  1712. display: flex;
  1713. align-items: center;
  1714. justify-content: center;
  1715. box-sizing: border-box;
  1716. }
  1717. .filter-schematic-component--series {
  1718. left: 156rpx;
  1719. top: 40rpx;
  1720. width: 112rpx;
  1721. height: 54rpx;
  1722. }
  1723. .filter-schematic-component--shunt {
  1724. left: 342rpx;
  1725. top: 116rpx;
  1726. width: 50rpx;
  1727. height: 96rpx;
  1728. }
  1729. .filter-schematic-symbol {
  1730. display: block;
  1731. width: 100%;
  1732. height: 100%;
  1733. }
  1734. .filter-schematic-symbol--vertical {
  1735. width: 104rpx;
  1736. height: 48rpx;
  1737. transform: rotate(90deg);
  1738. }
  1739. .filter-schematic-mark {
  1740. position: absolute;
  1741. z-index: 4;
  1742. color: #111827;
  1743. font-size: 34rpx;
  1744. line-height: 1;
  1745. font-weight: 700;
  1746. font-style: italic;
  1747. }
  1748. .filter-schematic-mark--series {
  1749. left: 202rpx;
  1750. top: 0;
  1751. }
  1752. .filter-schematic-mark--shunt {
  1753. left: 305rpx;
  1754. top: 142rpx;
  1755. }
  1756. .theme-dark .filter-unit-value {
  1757. color: #e5e7eb;
  1758. }
  1759. .theme-dark .filter-value-input--computed {
  1760. border-color: #0f766e;
  1761. background: #0f2f2d;
  1762. color: #5eead4;
  1763. }
  1764. .theme-dark .filter-mode-button {
  1765. border-color: #334155;
  1766. background: #111827;
  1767. color: #99f6e4;
  1768. }
  1769. .theme-dark .filter-diagram {
  1770. border-color: #edf2f7;
  1771. background: #ffffff;
  1772. }
  1773. .theme-dark .filter-schematic,
  1774. .theme-dark .filter-schematic-label,
  1775. .theme-dark .filter-schematic-mark {
  1776. color: #1f2937;
  1777. }
  1778. .theme-dark .filter-diagram-mode {
  1779. color: #5eead4;
  1780. }
  1781. .theme-dark .filter-schematic-wire,
  1782. .theme-dark .filter-schematic-dot {
  1783. background: #111827;
  1784. }
  1785. .smd-section-title {
  1786. display: flex;
  1787. align-items: center;
  1788. justify-content: space-between;
  1789. gap: 16rpx;
  1790. }
  1791. .smd-section-title-text {
  1792. min-width: 0;
  1793. flex: 1;
  1794. }
  1795. .smd-mode-actions,
  1796. .smd-format-row {
  1797. display: flex;
  1798. align-items: center;
  1799. }
  1800. .smd-mode-actions {
  1801. flex: none;
  1802. gap: 8rpx;
  1803. }
  1804. .smd-format-row {
  1805. gap: 10rpx;
  1806. padding: 18rpx 24rpx 22rpx;
  1807. border-top: 1rpx solid #edf2f7;
  1808. box-sizing: border-box;
  1809. }
  1810. .smd-mode-button,
  1811. .smd-format-button {
  1812. flex: none;
  1813. display: flex;
  1814. align-items: center;
  1815. justify-content: center;
  1816. height: 46rpx;
  1817. border: 1rpx solid #d7e2ea;
  1818. border-radius: 10rpx;
  1819. background: #ffffff;
  1820. color: #64748b;
  1821. font-size: 22rpx;
  1822. line-height: 1.25;
  1823. font-weight: 900;
  1824. box-sizing: border-box;
  1825. }
  1826. .smd-mode-button {
  1827. min-width: 78rpx;
  1828. padding: 0 16rpx;
  1829. }
  1830. .smd-format-button {
  1831. flex: 1;
  1832. min-width: 0;
  1833. padding: 0 10rpx;
  1834. }
  1835. .smd-mode-button.is-active,
  1836. .smd-format-button.is-active {
  1837. border-color: var(--accent-dark);
  1838. background: var(--accent-soft);
  1839. color: var(--accent-dark);
  1840. }
  1841. .smd-mode-button:active,
  1842. .smd-format-button:active {
  1843. opacity: 0.72;
  1844. }
  1845. .smd-code-input {
  1846. width: 300rpx;
  1847. font-family: Menlo, Monaco, Consolas, monospace;
  1848. }
  1849. .smd-result-row {
  1850. min-height: 94rpx;
  1851. }
  1852. .smd-result-value {
  1853. flex: none;
  1854. max-width: 320rpx;
  1855. color: #0f8f87;
  1856. font-family: Menlo, Monaco, Consolas, monospace;
  1857. font-size: 30rpx;
  1858. line-height: 1.25;
  1859. font-weight: 900;
  1860. text-align: right;
  1861. word-break: break-all;
  1862. }
  1863. .smd-result-value--error {
  1864. color: var(--danger);
  1865. font-family: inherit;
  1866. font-size: 25rpx;
  1867. }
  1868. .theme-dark .smd-format-row {
  1869. border-color: #263241;
  1870. }
  1871. .theme-dark .smd-mode-button,
  1872. .theme-dark .smd-format-button {
  1873. border-color: #334155;
  1874. background: #111827;
  1875. color: #94a3b8;
  1876. }
  1877. .theme-dark .smd-mode-button.is-active,
  1878. .theme-dark .smd-format-button.is-active {
  1879. border-color: #5eead4;
  1880. background: #123d3b;
  1881. color: #99f6e4;
  1882. }
  1883. .theme-dark .smd-result-value {
  1884. color: #5eead4;
  1885. }
  1886. .theme-dark .smd-result-value--error {
  1887. color: var(--danger);
  1888. }
  1889. .ascii-code-input {
  1890. width: 360rpx;
  1891. }
  1892. .ascii-code-result-value {
  1893. max-width: 390rpx;
  1894. }
  1895. .crc-calc-result-row {
  1896. align-items: stretch;
  1897. min-height: 0;
  1898. padding-top: 16rpx;
  1899. padding-bottom: 16rpx;
  1900. }
  1901. .crc-calc-result-main {
  1902. width: 100%;
  1903. display: flex;
  1904. flex-direction: column;
  1905. align-items: stretch;
  1906. }
  1907. .crc-calc-result-value {
  1908. display: block;
  1909. width: 100%;
  1910. max-width: none;
  1911. margin-top: 10rpx;
  1912. padding: 14rpx 16rpx;
  1913. border-radius: 10rpx;
  1914. background: #f4fbfa;
  1915. color: #0f8f87;
  1916. font-family: Menlo, Monaco, Consolas, monospace;
  1917. font-size: 24rpx;
  1918. line-height: 1.35;
  1919. font-weight: 800;
  1920. text-align: right;
  1921. word-break: break-all;
  1922. white-space: normal;
  1923. box-sizing: border-box;
  1924. }
  1925. .crc-calc-result-value:active {
  1926. opacity: 0.72;
  1927. }
  1928. .crc-calc-result-value--bin {
  1929. display: flex;
  1930. flex-direction: column;
  1931. align-items: flex-end;
  1932. gap: 3rpx;
  1933. max-width: none;
  1934. text-align: right;
  1935. }
  1936. .crc-calc-result-row .param-name {
  1937. word-break: keep-all;
  1938. }
  1939. .theme-dark .crc-calc-result-value {
  1940. background: #0f2f2d;
  1941. color: #5eead4;
  1942. }
  1943. .theme-dark .crc-calc-result-value--bin {
  1944. background: #0f2f2d;
  1945. color: #5eead4;
  1946. }
  1947. .theme-dark .crc-calc-result-value--error {
  1948. background: #432114;
  1949. color: #fed7aa;
  1950. }
  1951. .refrigeration-mode-picker {
  1952. flex: none;
  1953. }
  1954. .refrigeration-title-row {
  1955. min-height: 76rpx;
  1956. padding-top: 12rpx;
  1957. padding-bottom: 12rpx;
  1958. }
  1959. .refrigeration-picker-value {
  1960. width: 240rpx;
  1961. min-width: 240rpx;
  1962. max-width: 240rpx;
  1963. height: 46rpx;
  1964. font-size: 24rpx;
  1965. line-height: 46rpx;
  1966. }
  1967. .refrigeration-formula-row {
  1968. justify-content: flex-end;
  1969. }
  1970. .refrigeration-formula-text {
  1971. min-width: 0;
  1972. flex: 1;
  1973. color: #64748b;
  1974. font-size: 24rpx;
  1975. line-height: 1.35;
  1976. font-weight: 800;
  1977. text-align: right;
  1978. word-break: break-all;
  1979. }
  1980. .refrigeration-input {
  1981. width: 260rpx;
  1982. }
  1983. .three-phase-input {
  1984. width: 260rpx;
  1985. }
  1986. .theme-dark .refrigeration-formula-text {
  1987. color: #94a3b8;
  1988. }
  1989. .subpage-fixed-header .panel-actions {
  1990. flex-shrink: 0;
  1991. }
  1992. .subpage-fixed-header .panel-action-button {
  1993. width: 86rpx;
  1994. }
  1995. .subpage-fixed-header--generic .generic-protocol-actions {
  1996. flex: 1 1 auto;
  1997. flex-wrap: wrap;
  1998. justify-content: flex-end;
  1999. gap: 8rpx;
  2000. margin-left: 0;
  2001. }
  2002. .auto-read-button {
  2003. margin-left: 2rpx;
  2004. }
  2005. @media (max-width: 360px) {
  2006. .panel-title {
  2007. font-size: 28rpx;
  2008. }
  2009. .param-name {
  2010. font-size: 26rpx;
  2011. }
  2012. .param-meta {
  2013. font-size: 21rpx;
  2014. }
  2015. .value-input {
  2016. width: 260rpx;
  2017. }
  2018. .value-input--with-unit {
  2019. width: 260rpx;
  2020. }
  2021. .generic-picker-value,
  2022. .generic-value-input {
  2023. width: 260rpx;
  2024. min-width: 260rpx;
  2025. max-width: 260rpx;
  2026. }
  2027. .generic-register-input-wrap {
  2028. width: 180rpx;
  2029. min-width: 150rpx;
  2030. max-width: 38%;
  2031. }
  2032. .generic-register-value {
  2033. width: 100%;
  2034. min-width: 0;
  2035. max-width: 100%;
  2036. }
  2037. .generic-readonly-value {
  2038. width: 180rpx;
  2039. max-width: 38%;
  2040. font-size: 23rpx;
  2041. }
  2042. .crc-config-input {
  2043. width: 230rpx;
  2044. min-width: 230rpx;
  2045. max-width: 230rpx;
  2046. }
  2047. .crc-algorithm-panel .crc-picker-value {
  2048. width: auto;
  2049. min-width: 0;
  2050. max-width: 330rpx;
  2051. font-size: 22rpx;
  2052. }
  2053. .crc-data-card-header {
  2054. gap: 8rpx;
  2055. padding-right: 14rpx;
  2056. }
  2057. .crc-data-header-actions {
  2058. gap: 4rpx;
  2059. }
  2060. .crc-data-type-value {
  2061. width: 86rpx;
  2062. font-size: 20rpx;
  2063. }
  2064. .crc-data-type-picker {
  2065. margin-right: 6rpx;
  2066. }
  2067. .crc-data-header-actions .panel-action-button {
  2068. width: 70rpx;
  2069. font-size: 20rpx;
  2070. }
  2071. .crc-file-name,
  2072. .crc-error-value {
  2073. max-width: 360rpx;
  2074. }
  2075. .filter-value-input {
  2076. width: 180rpx;
  2077. min-width: 0;
  2078. max-width: 180rpx;
  2079. }
  2080. .filter-unit-picker,
  2081. .filter-unit-value {
  2082. width: 84rpx;
  2083. }
  2084. .filter-mode-button {
  2085. min-width: 68rpx;
  2086. padding: 0 12rpx;
  2087. font-size: 22rpx;
  2088. }
  2089. .filter-diagram {
  2090. padding-left: 4rpx;
  2091. padding-right: 4rpx;
  2092. }
  2093. .filter-schematic {
  2094. transform: scale(0.94);
  2095. transform-origin: center center;
  2096. }
  2097. .smd-code-input {
  2098. width: 240rpx;
  2099. }
  2100. .smd-result-value {
  2101. max-width: 260rpx;
  2102. font-size: 26rpx;
  2103. }
  2104. .ascii-code-input {
  2105. width: 260rpx;
  2106. }
  2107. .ascii-code-result-value {
  2108. max-width: 260rpx;
  2109. }
  2110. .crc-calc-result-value {
  2111. width: 100%;
  2112. max-width: none;
  2113. font-size: 23rpx;
  2114. }
  2115. .crc-calc-result-value--bin {
  2116. max-width: none;
  2117. font-size: 21rpx;
  2118. }
  2119. .smd-mode-button {
  2120. min-width: 68rpx;
  2121. padding: 0 12rpx;
  2122. }
  2123. .smd-format-row {
  2124. gap: 8rpx;
  2125. padding-left: 18rpx;
  2126. padding-right: 18rpx;
  2127. }
  2128. .smd-format-button {
  2129. font-size: 20rpx;
  2130. }
  2131. .refrigeration-picker-value {
  2132. width: 210rpx;
  2133. min-width: 210rpx;
  2134. max-width: 210rpx;
  2135. font-size: 22rpx;
  2136. }
  2137. .refrigeration-input {
  2138. width: 220rpx;
  2139. }
  2140. .three-phase-input {
  2141. width: 220rpx;
  2142. }
  2143. }