index.css 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. .panels {
  2. display: grid;
  3. grid-template-columns: 1fr 1fr;
  4. gap: 20px;
  5. }
  6. .panel {
  7. background: #10172b;
  8. border: 1px solid #124966;
  9. border-radius: 10px;
  10. padding: 16px;
  11. box-sizing: border-box;
  12. }
  13. .pair {
  14. display: flex;
  15. justify-content: space-between;
  16. margin-bottom: 10px;
  17. }
  18. .cell {
  19. width: 48%;
  20. display: flex;
  21. justify-content: space-between;
  22. align-items: center;
  23. }
  24. .cell-label {
  25. font-size: 13px;
  26. color: #8b949e;
  27. }
  28. .cell-value {
  29. font-size: 15px;
  30. font-weight: bold;
  31. color: #e8ede7;
  32. }
  33. .ota {
  34. display: flex;
  35. flex-direction: column;
  36. gap: 20px;
  37. }
  38. .panel-title {
  39. font-size: 15px;
  40. font-weight: bold;
  41. color: #fff;
  42. padding-top: 8px;
  43. padding-bottom: 8px;
  44. border-bottom: 1px solid #124966;
  45. border-left: 3px solid #00edff;
  46. padding-left: 20px;
  47. margin-bottom: 20px;
  48. }
  49. .panel-row {
  50. display: flex;
  51. align-items: center;
  52. gap: 16px;
  53. }
  54. .panel-row.column {
  55. flex-direction: column;
  56. align-items: flex-start;
  57. }
  58. .label {
  59. font-size: 14px;
  60. color: #8b949e;
  61. }
  62. .version {
  63. font-size: 16px;
  64. font-weight: bold;
  65. color: #e8ede7;
  66. }
  67. .btn {
  68. display: inline-flex; /* 关键:横向排列 */
  69. align-items: center; /* 关键:图片和文字垂直居中,同一行 */
  70. justify-content: center;
  71. gap: 6px;
  72. height: 40px;
  73. line-height: 36px;
  74. padding: 0 22px;
  75. font-size: 15px;
  76. border-radius: 5px;
  77. cursor: pointer;
  78. color: #000;
  79. background: linear-gradient(180deg, rgba(0, 237, 255, 1) 0%, rgba(0, 237, 255, 1) 0%, rgba(14, 165, 233, 1) 99%, rgba(14, 165, 233, 1) 100%, rgba(14, 165, 233, 1) 100%);
  80. }
  81. /* 隐藏原生 input,用按钮触发 */
  82. .file-input {
  83. display: none;
  84. }
  85. .input {
  86. flex:1;
  87. border:1px solid rgba(42, 58, 79, 1);
  88. border-radius:4px;
  89. padding:10px 8px;
  90. font-size:14px;
  91. background: #000;
  92. color: #00e5ff;
  93. }
  94. .file-list {
  95. display: flex;
  96. flex-direction: column;
  97. gap: 4px;
  98. margin-top: 6px;
  99. }
  100. .file-item {
  101. font-size: 13px;
  102. color: #00edff;
  103. }
  104. .ota-img{
  105. height: 22px;
  106. margin-top: 6px;
  107. }
  108. .ota-arm {
  109. display: flex;
  110. flex-direction: row;
  111. height: 100%;
  112. gap: 20px;
  113. }
  114. .contentx {
  115. width: 78%;
  116. background-color: #fff;
  117. height: 99%;
  118. border-radius: 8px;
  119. margin-bottom: 20px;
  120. overflow: hidden;
  121. }
  122. .footer {
  123. flex: 1;
  124. width: 20%;
  125. }
  126. .line {
  127. margin-top: 20px;
  128. padding-left: 20px;
  129. display: flex;
  130. align-items: center;
  131. gap: 5px;
  132. }
  133. .item-logo {
  134. width: 20px;
  135. height: 20px;
  136. }
  137. .item-logox {
  138. width: 16px;
  139. height: 16px;
  140. }
  141. .item-line {
  142. width: 24rpx;
  143. height: 10rpx;
  144. }
  145. .item-font {
  146. font-size: 13px;
  147. color: #000 ;
  148. }
  149. .bottom-button {
  150. width: 15%;
  151. background: #00e5ff;
  152. color: #000;
  153. border-radius: 5px;
  154. height: 40px;
  155. line-height: 40px;
  156. font-size: 16px;
  157. border: none;
  158. position: absolute;
  159. bottom: 40px;
  160. }
  161. .bottom-button-nav {
  162. width: 15%;
  163. background: #00e5ff;
  164. color: #000;
  165. border-radius: 5px;
  166. height: 40px;
  167. line-height: 40px;
  168. font-size: 16px;
  169. border: none;
  170. position: absolute;
  171. bottom: 40px;
  172. }
  173. .rtitle {
  174. font-size: 15px;
  175. font-weight: bold;
  176. color: #fff;
  177. padding-top: 8px;
  178. padding-bottom: 8px;
  179. border-left: 3px solid #00edff;
  180. padding-left: 20px;
  181. margin-bottom: 20px;
  182. }
  183. .label-zb{
  184. color: #ffc83d;
  185. width: 70px;
  186. }
  187. /* 右上角坐标信息面板 */
  188. .pos-info-box {
  189. position: absolute;
  190. top: 266px;
  191. left: 240px;
  192. background: #0f141c;
  193. border-radius: 8px;
  194. padding: 10px 12px;
  195. border: 1px solid rgba(42, 58, 79, 1);
  196. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  197. z-index: 998;
  198. width:200px;
  199. }
  200. .info-row {
  201. display: flex;
  202. font-size: 13px;
  203. line-height: 24px;
  204. }
  205. .tool-right {
  206. position: relative;
  207. z-index: 999;
  208. }
  209. .nav-toolbar {
  210. flex-shrink: 0;
  211. display: flex;
  212. align-items: center;
  213. width: 77%;
  214. justify-content: space-between;
  215. margin-bottom: 14px;
  216. }
  217. .tool-left { display: flex; align-items: center; gap: 12px;
  218. border-left:3px solid #00edff;}
  219. .nav-btn-add {
  220. padding: 6px 16px; font-size: 14px; font-weight: 600; color: #e8ede7;
  221. border-radius: 6px; cursor: pointer;
  222. }
  223. .tool-center { display: flex; align-items: baseline; gap: 10px; }
  224. .map-name { font-size: 18px; font-weight: bold; color: #e8ede7; }
  225. .map-label { font-size: 13px; color: #8b949e; }
  226. .tool-right { display: flex; align-items: center; gap: 12px; }
  227. /* 按钮容器:抬高层级,遮罩盖不住;作为下拉的定位基准 */
  228. .nav-btn-switch {
  229. padding: 6px 14px; font-size: 13px; color: #00edff;
  230. background: #254d5e; border: 1px solid #00edff; border-radius: 6px; cursor: pointer;
  231. }
  232. .fixed-imagesx {
  233. width: 46px;
  234. position: absolute;
  235. right: 40px;
  236. top: 100px;
  237. background: #656565;
  238. padding:20px 6px;
  239. border-radius: 10px;
  240. display: flex;
  241. flex-direction: column;
  242. gap: 10px;
  243. align-items: center;
  244. justify-content: center;
  245. z-index: 999;
  246. }
  247. .fixed-imagex {
  248. width: 25px;
  249. height: 25px;
  250. }