app.wxss 44 KB

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