settings.wxss 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  1. .settings-section-panel {
  2. overflow: hidden;
  3. }
  4. .settings-row {
  5. display: flex;
  6. align-items: center;
  7. justify-content: space-between;
  8. gap: 18rpx;
  9. min-height: 104rpx;
  10. padding: 0 24rpx;
  11. border-top: 1rpx solid #edf2f7;
  12. box-sizing: border-box;
  13. }
  14. .settings-row:first-of-type {
  15. border-top: 0;
  16. }
  17. .settings-row-main {
  18. min-width: 0;
  19. flex: 1;
  20. }
  21. .settings-tool-row {
  22. min-height: 92rpx;
  23. }
  24. .settings-tool-row:active {
  25. opacity: 0.72;
  26. }
  27. .storage-protocol-guide-panel {
  28. padding: 24rpx;
  29. }
  30. .storage-protocol-guide-kicker {
  31. color: var(--accent-dark);
  32. font-size: 22rpx;
  33. line-height: 1.35;
  34. font-weight: 900;
  35. }
  36. .storage-protocol-guide-title {
  37. margin-top: 8rpx;
  38. color: #111827;
  39. font-size: 34rpx;
  40. line-height: 1.28;
  41. font-weight: 900;
  42. }
  43. .storage-protocol-guide-text {
  44. margin-top: 14rpx;
  45. color: #475569;
  46. font-size: 25rpx;
  47. line-height: 1.58;
  48. word-break: break-all;
  49. }
  50. .storage-protocol-guide-points {
  51. margin-top: 18rpx;
  52. }
  53. .storage-protocol-guide-point {
  54. position: relative;
  55. padding: 14rpx 0 14rpx 30rpx;
  56. border-top: 1rpx solid #edf2f7;
  57. color: #334155;
  58. font-size: 24rpx;
  59. line-height: 1.5;
  60. word-break: break-all;
  61. }
  62. .storage-protocol-guide-point::before {
  63. content: "";
  64. position: absolute;
  65. left: 4rpx;
  66. top: 28rpx;
  67. width: 10rpx;
  68. height: 10rpx;
  69. border-radius: 50%;
  70. background: var(--accent);
  71. }
  72. .storage-protocol-file-row.is-active {
  73. background: #effaf8;
  74. }
  75. .storage-protocol-file-row:active {
  76. opacity: 0.72;
  77. }
  78. .storage-protocol-file-head {
  79. display: flex;
  80. align-items: center;
  81. gap: 12rpx;
  82. }
  83. .storage-protocol-file-badge {
  84. flex: none;
  85. height: 34rpx;
  86. padding: 0 12rpx;
  87. border-radius: 999rpx;
  88. background: #e8f6f5;
  89. color: var(--accent-dark);
  90. font-size: 20rpx;
  91. line-height: 34rpx;
  92. font-weight: 900;
  93. }
  94. .storage-protocol-copy-button {
  95. flex: none;
  96. height: 50rpx;
  97. padding: 0 18rpx;
  98. border: 1rpx solid #d9edeb;
  99. border-radius: 999rpx;
  100. background: #f4fbfa;
  101. color: var(--accent-dark);
  102. font-size: 22rpx;
  103. line-height: 50rpx;
  104. font-weight: 900;
  105. }
  106. .storage-protocol-copy-button:active {
  107. opacity: 0.72;
  108. }
  109. .storage-protocol-detail-title {
  110. display: flex;
  111. align-items: center;
  112. justify-content: space-between;
  113. gap: 16rpx;
  114. }
  115. .storage-protocol-detail-name {
  116. min-width: 0;
  117. flex: 1;
  118. color: #111827;
  119. font-size: 26rpx;
  120. line-height: 1.35;
  121. font-weight: 900;
  122. word-break: break-all;
  123. }
  124. .storage-protocol-detail-role {
  125. flex: none;
  126. color: #64748b;
  127. font-size: 22rpx;
  128. line-height: 1.35;
  129. font-weight: 800;
  130. }
  131. .storage-protocol-detail-body {
  132. padding: 22rpx 24rpx 24rpx;
  133. }
  134. .storage-protocol-file-location {
  135. padding: 14rpx 16rpx;
  136. border-radius: 12rpx;
  137. background: #f8fafc;
  138. color: #0f766e;
  139. font-family: Menlo, Monaco, Consolas, monospace;
  140. font-size: 22rpx;
  141. line-height: 1.45;
  142. word-break: break-all;
  143. }
  144. .storage-protocol-copy-card {
  145. display: flex;
  146. align-items: center;
  147. justify-content: space-between;
  148. gap: 16rpx;
  149. margin-top: 16rpx;
  150. }
  151. .storage-protocol-copy-meta {
  152. min-width: 0;
  153. flex: 1;
  154. color: #64748b;
  155. font-size: 23rpx;
  156. line-height: 1.35;
  157. font-weight: 800;
  158. }
  159. .storage-protocol-copy-action {
  160. flex: none;
  161. width: auto;
  162. min-width: 170rpx;
  163. padding: 0 18rpx;
  164. }
  165. .storage-protocol-file-summary {
  166. margin-top: 18rpx;
  167. color: #334155;
  168. font-size: 25rpx;
  169. line-height: 1.55;
  170. word-break: break-all;
  171. }
  172. .storage-protocol-detail-list {
  173. margin-top: 16rpx;
  174. }
  175. .storage-protocol-detail-item {
  176. position: relative;
  177. padding: 10rpx 0 10rpx 28rpx;
  178. color: #475569;
  179. font-size: 24rpx;
  180. line-height: 1.5;
  181. word-break: break-all;
  182. }
  183. .storage-protocol-detail-item::before {
  184. content: "";
  185. position: absolute;
  186. left: 4rpx;
  187. top: 25rpx;
  188. width: 8rpx;
  189. height: 8rpx;
  190. border-radius: 50%;
  191. background: #94a3b8;
  192. }
  193. .settings-tool-main {
  194. min-width: 0;
  195. flex: 1;
  196. display: flex;
  197. align-items: center;
  198. gap: 14rpx;
  199. }
  200. .settings-tool-icon-frame {
  201. flex: none;
  202. position: relative;
  203. width: 34rpx;
  204. height: 34rpx;
  205. border-radius: 10rpx;
  206. background:
  207. radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.1) 24%, rgba(255, 255, 255, 0) 54%),
  208. linear-gradient(180deg, var(--icon-start, #129a91) 0%, var(--icon-end, #08746e) 100%);
  209. border: 1rpx solid rgba(255, 255, 255, 0.12);
  210. box-shadow: 0 8rpx 16rpx rgba(15, 143, 135, 0.14);
  211. overflow: hidden;
  212. box-sizing: border-box;
  213. }
  214. .settings-tool-icon-image {
  215. position: absolute;
  216. left: 6rpx;
  217. top: 6rpx;
  218. width: 22rpx;
  219. height: 22rpx;
  220. }
  221. .settings-tool-title {
  222. flex: 1;
  223. white-space: nowrap;
  224. word-break: keep-all;
  225. overflow: hidden;
  226. text-overflow: ellipsis;
  227. }
  228. .settings-input-wrap {
  229. flex: none;
  230. display: flex;
  231. align-items: center;
  232. gap: 10rpx;
  233. }
  234. .settings-input-wrap--unit {
  235. position: relative;
  236. }
  237. .settings-picker-value {
  238. width: 300rpx;
  239. min-width: 300rpx;
  240. max-width: 300rpx;
  241. height: 70rpx;
  242. color: #111827;
  243. font-size: 28rpx;
  244. line-height: 70rpx;
  245. font-weight: 800;
  246. text-align: right;
  247. overflow: hidden;
  248. text-overflow: ellipsis;
  249. white-space: nowrap;
  250. box-sizing: border-box;
  251. }
  252. .settings-value-input {
  253. width: 300rpx;
  254. }
  255. .settings-value-input--hex {
  256. width: 300rpx;
  257. }
  258. .settings-value-input--unit {
  259. padding-right: 62rpx;
  260. }
  261. .settings-unit {
  262. flex: none;
  263. color: #64748b;
  264. font-size: 23rpx;
  265. line-height: 1.35;
  266. font-weight: 700;
  267. }
  268. .settings-unit--inside {
  269. position: absolute;
  270. right: 18rpx;
  271. top: 50%;
  272. transform: translateY(-50%);
  273. pointer-events: none;
  274. }
  275. .theme-dark .settings-row {
  276. border-color: #263241;
  277. }
  278. .theme-dark .storage-protocol-guide-title,
  279. .theme-dark .storage-protocol-detail-name {
  280. color: #e5e7eb;
  281. }
  282. .theme-dark .storage-protocol-guide-text,
  283. .theme-dark .storage-protocol-guide-point,
  284. .theme-dark .storage-protocol-file-summary,
  285. .theme-dark .storage-protocol-detail-item {
  286. color: #cbd5e1;
  287. }
  288. .theme-dark .storage-protocol-guide-point {
  289. border-color: #263241;
  290. }
  291. .theme-dark .storage-protocol-file-row.is-active {
  292. background: #102f2e;
  293. }
  294. .theme-dark .storage-protocol-file-badge {
  295. background: #123d3b;
  296. color: #5eead4;
  297. }
  298. .theme-dark .storage-protocol-copy-button {
  299. border-color: #174e49;
  300. background: #123d3b;
  301. color: #99f6e4;
  302. }
  303. .theme-dark .storage-protocol-detail-role {
  304. color: #94a3b8;
  305. }
  306. .theme-dark .storage-protocol-file-location {
  307. background: #111827;
  308. color: #5eead4;
  309. }
  310. .theme-dark .storage-protocol-copy-meta {
  311. color: #94a3b8;
  312. }
  313. .theme-dark .settings-unit {
  314. color: #94a3b8;
  315. }
  316. .theme-dark .settings-picker-value {
  317. color: #e5e7eb;
  318. }
  319. @media (max-width: 360px) {
  320. .settings-picker-value {
  321. width: 260rpx;
  322. min-width: 260rpx;
  323. max-width: 260rpx;
  324. }
  325. .settings-value-input {
  326. width: 260rpx;
  327. }
  328. .settings-value-input--hex {
  329. width: 260rpx;
  330. }
  331. }