studio.css 55 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356
  1. .studio-body {
  2. height: 100vh;
  3. overflow: hidden;
  4. background: var(--paper-2);
  5. }
  6. .studio-topbar {
  7. height: 68px;
  8. display: grid;
  9. grid-template-columns: minmax(260px, auto) 1fr auto;
  10. align-items: center;
  11. gap: 20px;
  12. padding: 0 18px 0 20px;
  13. background: var(--white);
  14. border-bottom: 1px solid var(--line);
  15. position: relative;
  16. z-index: 70;
  17. }
  18. .studio-brand { display: flex; align-items: center; gap: 20px; min-width: 0; }
  19. .studio-brand .logo-mark { width: 32px; height: 32px; border-radius: 9px; }
  20. .studio-brand .logo-type b { font-size: 15px; }
  21. .studio-brand .logo-type span { font-size: 7px; }
  22. .studio-title-wrap { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-left: 20px; border-left: 1px solid var(--line); }
  23. .studio-title-wrap input {
  24. border: 0;
  25. background: transparent;
  26. font-size: 13px;
  27. font-weight: 650;
  28. width: 150px;
  29. padding: 2px 4px;
  30. margin-left: -4px;
  31. border-radius: 5px;
  32. outline: none;
  33. }
  34. .studio-title-wrap input:hover { background: var(--paper); }
  35. .studio-title-wrap input:focus { background: var(--paper); box-shadow: 0 0 0 1.5px var(--accent); }
  36. .studio-title-wrap span { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 230px; }
  37. .studio-steps { display: flex; align-items: center; justify-content: center; gap: 10px; }
  38. .studio-steps .step {
  39. display: inline-flex;
  40. align-items: center;
  41. gap: 7px;
  42. height: 34px;
  43. padding: 0 12px;
  44. border-radius: 999px;
  45. font-size: 11.5px;
  46. color: var(--muted);
  47. transition: background 0.2s, color 0.2s;
  48. }
  49. .studio-steps .step i {
  50. width: 21px;
  51. height: 21px;
  52. border-radius: 50%;
  53. border: 1px solid var(--line-2);
  54. display: grid;
  55. place-items: center;
  56. font-style: normal;
  57. font-family: var(--font-mono);
  58. font-size: 9px;
  59. }
  60. .studio-steps .step:hover { background: var(--paper); color: var(--ink); }
  61. .studio-steps .step.done i { background: var(--lime); border-color: var(--lime); color: var(--ink); }
  62. .studio-steps .step.active { background: var(--ink); color: var(--paper-2); }
  63. .studio-steps .step.active i { background: var(--accent); border-color: var(--accent); color: #fff; }
  64. .studio-steps .sep { width: 18px; height: 1px; background: var(--line); }
  65. .studio-actions { display: flex; align-items: center; gap: 8px; justify-self: end; }
  66. .studio-actions .orders-link {
  67. font-size: 11.5px; font-weight: 600; color: var(--muted); text-decoration: none;
  68. border: 1px solid var(--line-2); border-radius: 8px; padding: 7px 11px; background: var(--paper);
  69. }
  70. .studio-actions .orders-link:hover { color: var(--ink); border-color: var(--line); }
  71. .save-state {
  72. display: inline-flex;
  73. align-items: center;
  74. gap: 6px;
  75. font-size: 10.5px;
  76. color: var(--muted);
  77. margin-right: 4px;
  78. white-space: nowrap;
  79. }
  80. .save-state i { width: 6px; height: 6px; border-radius: 50%; background: #7aab66; }
  81. .save-state.saving i { background: var(--accent); animation: pulse 1s infinite; }
  82. .undo-group { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
  83. .undo-group button {
  84. width: 32px;
  85. height: 32px;
  86. display: grid;
  87. place-items: center;
  88. color: var(--ink-2);
  89. transition: background 0.2s;
  90. }
  91. .undo-group button + button { border-left: 1px solid var(--line); }
  92. .undo-group button:hover { background: var(--paper); }
  93. .undo-group button:disabled { opacity: 0.3; pointer-events: none; }
  94. .undo-group .icon { width: 15px; height: 15px; }
  95. .design-view {
  96. position: relative;
  97. display: grid;
  98. grid-template-columns: 76px 284px minmax(0, 1fr) 290px;
  99. height: calc(100vh - 68px);
  100. overflow: hidden;
  101. }
  102. .design-view[hidden], .settings-view[hidden], .summary-view[hidden] { display: none; }
  103. .tool-rail {
  104. background: var(--white);
  105. border-right: 1px solid var(--line);
  106. display: flex;
  107. flex-direction: column;
  108. align-items: stretch;
  109. padding: 12px 8px;
  110. gap: 2px;
  111. overflow-y: auto;
  112. }
  113. .tool-rail button {
  114. position: relative;
  115. display: flex;
  116. flex-direction: column;
  117. align-items: center;
  118. gap: 5px;
  119. padding: 11px 2px 9px;
  120. border-radius: 10px;
  121. font-size: 9.5px;
  122. color: var(--muted);
  123. transition: background 0.2s, color 0.2s;
  124. }
  125. .tool-rail button .icon { width: 19px; height: 19px; }
  126. .tool-rail button:hover { background: var(--paper); color: var(--ink); }
  127. .tool-rail button.active { background: var(--ink); color: var(--paper-2); }
  128. .tool-rail button.active::before {
  129. content: "";
  130. position: absolute;
  131. left: -8px;
  132. top: 50%;
  133. transform: translateY(-50%);
  134. width: 3px;
  135. height: 20px;
  136. border-radius: 0 3px 3px 0;
  137. background: var(--accent);
  138. }
  139. .tool-rail .rail-sep { height: 1px; background: var(--line); margin: 7px 4px; }
  140. .tool-panel {
  141. background: var(--white);
  142. border-right: 1px solid var(--line);
  143. display: flex;
  144. flex-direction: column;
  145. min-height: 0;
  146. }
  147. .tool-panel-head {
  148. position: relative;
  149. padding: 20px 20px 15px;
  150. border-bottom: 1px solid var(--line);
  151. }
  152. .tool-panel-close { display: none; position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; border-radius: 50%; color: var(--muted); font-size: 13px; }
  153. .tool-panel-close:hover { background: var(--paper); color: var(--ink); }
  154. .tool-panel-head .kicker {
  155. font-family: var(--font-mono);
  156. font-size: 9px;
  157. letter-spacing: 0.16em;
  158. color: var(--accent);
  159. text-transform: uppercase;
  160. }
  161. .tool-panel-head h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; margin-top: 5px; }
  162. .tool-panel-head p { margin-top: 5px; font-size: 11px; color: var(--muted); line-height: 1.55; }
  163. .tool-body { flex: 1; overflow-y: auto; padding: 16px 20px 30px; }
  164. .tool-section { margin-bottom: 22px; }
  165. .tool-section:last-child { margin-bottom: 0; }
  166. .tool-section-title {
  167. display: flex;
  168. align-items: center;
  169. justify-content: space-between;
  170. font-size: 10px;
  171. font-family: var(--font-mono);
  172. letter-spacing: 0.12em;
  173. color: var(--muted);
  174. text-transform: uppercase;
  175. margin-bottom: 10px;
  176. }
  177. .tool-section-title span { font-family: var(--font); letter-spacing: 0; text-transform: none; font-size: 10px; color: var(--muted-2); }
  178. .workspace {
  179. display: flex;
  180. flex-direction: column;
  181. min-width: 0;
  182. min-height: 0;
  183. background: #f1ede4;
  184. }
  185. .workspace-tools {
  186. height: auto;
  187. min-height: 54px;
  188. display: flex;
  189. align-items: center;
  190. justify-content: space-between;
  191. flex-wrap: wrap;
  192. padding: 8px 18px;
  193. border-bottom: 1px solid var(--line);
  194. background: rgba(255, 253, 248, 0.72);
  195. gap: 16px;
  196. row-gap: 8px;
  197. }
  198. .side-switch {
  199. display: flex;
  200. padding: 3px;
  201. background: var(--paper-3);
  202. border-radius: 999px;
  203. gap: 2px;
  204. flex: none;
  205. }
  206. .side-switch button {
  207. height: 28px;
  208. padding: 0 16px;
  209. border-radius: 999px;
  210. font-size: 11.5px;
  211. font-weight: 600;
  212. color: var(--muted);
  213. white-space: nowrap;
  214. transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  215. }
  216. .side-switch button.on { background: var(--white); color: var(--ink); box-shadow: 0 2px 8px rgba(30, 22, 10, 0.08); }
  217. .view-actions { display: flex; align-items: center; gap: 16px; row-gap: 8px; flex-wrap: wrap; justify-content: flex-end; flex: none; margin-left: auto; }
  218. .switch { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; color: var(--muted); cursor: pointer; user-select: none; white-space: nowrap; flex: none; }
  219. .switch input { display: none; }
  220. .switch span {
  221. width: 28px;
  222. height: 16px;
  223. border-radius: 99px;
  224. background: var(--line-2);
  225. position: relative;
  226. transition: background 0.2s;
  227. }
  228. .switch span::after {
  229. content: "";
  230. position: absolute;
  231. width: 12px;
  232. height: 12px;
  233. border-radius: 50%;
  234. background: #fff;
  235. top: 2px;
  236. left: 2px;
  237. transition: transform 0.2s var(--ease);
  238. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  239. }
  240. .switch input:checked + span { background: var(--ink); }
  241. .switch input:checked + span::after { transform: translateX(12px); }
  242. .zoom-control {
  243. display: flex;
  244. align-items: center;
  245. border: 1px solid var(--line);
  246. border-radius: 8px;
  247. background: var(--white);
  248. overflow: hidden;
  249. height: 30px;
  250. flex: none;
  251. }
  252. .zoom-control button {
  253. width: 28px;
  254. height: 100%;
  255. display: grid;
  256. place-items: center;
  257. font-size: 14px;
  258. color: var(--muted);
  259. transition: background 0.2s;
  260. }
  261. .zoom-control button:hover { background: var(--paper); color: var(--ink); }
  262. .zoom-control span { font-family: var(--font-mono); font-size: 9.5px; padding: 0 8px; color: var(--ink-2); min-width: 42px; text-align: center; border-left: 1px solid var(--line); border-right: 1px solid var(--line); height: 100%; display: grid; place-items: center; }
  263. .zoom-control button.zoom-fit { width: auto; min-width: 40px; padding: 0 9px; font-size: 10.5px; letter-spacing: 0.02em; }
  264. .zoom-control button.zoom-fit + button { border-left: 1px solid var(--line); }
  265. .canvas-shell {
  266. flex: 1;
  267. min-height: 0;
  268. overflow: auto;
  269. position: relative;
  270. display: flex;
  271. align-items: flex-start;
  272. justify-content: flex-start;
  273. padding: 26px 34px;
  274. background-image: radial-gradient(rgba(60, 48, 30, 0.12) 0.7px, transparent 0.7px);
  275. background-size: 18px 18px;
  276. background-position: center;
  277. }
  278. .canvas-stage {
  279. position: relative;
  280. flex: none;
  281. margin: auto;
  282. filter: drop-shadow(0 22px 35px rgba(45, 32, 14, 0.13));
  283. transition: width 0.2s, height 0.2s;
  284. }
  285. .canvas-stage svg { width: 100%; height: 100%; display: block; overflow: visible; }
  286. .canvas-stage .el { cursor: move; }
  287. .canvas-stage .el:hover > rect[fill="transparent"] { stroke: rgba(255, 92, 43, 0.35); stroke-width: 0.6; stroke-dasharray: 2 2; }
  288. .canvas-stage [data-handle] { cursor: pointer; }
  289. .canvas-stage [data-handle="nw"], .canvas-stage [data-handle="se"] { cursor: nwse-resize; }
  290. .canvas-stage [data-handle="ne"], .canvas-stage [data-handle="sw"] { cursor: nesw-resize; }
  291. .canvas-stage [data-handle="w"], .canvas-stage [data-handle="e"] { cursor: ew-resize; }
  292. .canvas-stage [data-handle="rot"] { cursor: grab; }
  293. .canvas-empty[hidden] { display: none; }
  294. .canvas-empty {
  295. position: absolute;
  296. left: 50%;
  297. bottom: 34px;
  298. transform: translateX(-50%);
  299. display: flex;
  300. align-items: center;
  301. gap: 10px;
  302. padding: 10px 14px;
  303. background: rgba(255, 253, 248, 0.92);
  304. border: 1px solid var(--line);
  305. border-radius: 999px;
  306. font-size: 11px;
  307. color: var(--muted);
  308. box-shadow: var(--shadow-s);
  309. z-index: 5;
  310. white-space: nowrap;
  311. }
  312. .canvas-empty b { color: var(--ink); font-weight: 650; }
  313. .canvas-empty button { color: var(--accent); font-weight: 650; }
  314. .canvas-empty button:hover { text-decoration: underline; }
  315. .workspace-foot {
  316. height: 38px;
  317. display: flex;
  318. align-items: center;
  319. gap: 18px;
  320. padding: 0 18px;
  321. border-top: 1px solid var(--line);
  322. background: var(--white);
  323. font-family: var(--font-mono);
  324. font-size: 9.5px;
  325. color: var(--muted);
  326. }
  327. .workspace-foot .spacer { flex: 1; }
  328. .workspace-foot button { color: var(--ink-2); font-family: var(--font); font-size: 10.5px; font-weight: 600; display: flex; align-items: center; gap: 5px; }
  329. .workspace-foot button:hover { color: var(--accent); }
  330. .props-panel {
  331. background: var(--white);
  332. border-left: 1px solid var(--line);
  333. overflow-y: auto;
  334. display: flex;
  335. flex-direction: column;
  336. }
  337. .props-head {
  338. padding: 18px 18px 14px;
  339. border-bottom: 1px solid var(--line);
  340. display: flex;
  341. align-items: center;
  342. justify-content: space-between;
  343. gap: 8px;
  344. }
  345. .props-head h3 { font-size: 13px; font-weight: 700; }
  346. .props-close {
  347. display: none;
  348. width: 24px; height: 24px; border: 1px solid var(--line-2); border-radius: 50%;
  349. background: var(--white); color: var(--muted); font-size: 15px; line-height: 1;
  350. place-items: center; cursor: pointer;
  351. }
  352. .props-close:hover { color: var(--ink); border-color: var(--ink-2); }
  353. .props-head .type-chip {
  354. font-family: var(--font-mono);
  355. font-size: 8.5px;
  356. letter-spacing: 0.08em;
  357. color: var(--muted);
  358. border: 1px solid var(--line);
  359. border-radius: 99px;
  360. padding: 3px 8px;
  361. }
  362. .props-body { padding: 16px 18px 30px; }
  363. .props-empty { padding: 30px 20px; text-align: center; color: var(--muted); font-size: 11.5px; line-height: 1.7; }
  364. .props-empty .icon-box {
  365. width: 54px;
  366. height: 54px;
  367. margin: 0 auto 14px;
  368. border-radius: 14px;
  369. border: 1px dashed var(--line-2);
  370. background: var(--paper);
  371. display: grid;
  372. place-items: center;
  373. color: var(--muted-2);
  374. }
  375. .props-empty b { display: block; color: var(--ink); font-size: 13px; margin-bottom: 4px; }
  376. .p-section { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
  377. .p-section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
  378. .p-section-title {
  379. font-size: 9px;
  380. font-family: var(--font-mono);
  381. letter-spacing: 0.13em;
  382. color: var(--muted);
  383. text-transform: uppercase;
  384. margin-bottom: 12px;
  385. display: flex;
  386. justify-content: space-between;
  387. align-items: center;
  388. }
  389. .p-section-title button { font-family: var(--font); letter-spacing: 0; text-transform: none; color: var(--accent); font-size: 10px; }
  390. .p-row { display: flex; gap: 8px; margin-bottom: 9px; }
  391. .p-row:last-child { margin-bottom: 0; }
  392. .p-field { flex: 1; min-width: 0; }
  393. .p-field label { display: block; font-size: 9.5px; color: var(--muted); margin-bottom: 5px; }
  394. .p-input, .p-select, .p-textarea {
  395. width: 100%;
  396. height: 32px;
  397. border: 1px solid var(--line);
  398. border-radius: 7px;
  399. background: var(--paper-2);
  400. padding: 0 9px;
  401. font-size: 11.5px;
  402. outline: none;
  403. transition: border-color 0.2s, background 0.2s;
  404. }
  405. .p-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%237d7466' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; padding-right: 24px; }
  406. .p-input:focus, .p-select:focus, .p-textarea:focus { border-color: var(--ink); background: #fff; }
  407. .p-textarea { height: auto; min-height: 76px; padding: 8px 9px; resize: vertical; line-height: 1.5; }
  408. .p-color {
  409. display: flex;
  410. align-items: center;
  411. gap: 8px;
  412. height: 32px;
  413. border: 1px solid var(--line);
  414. border-radius: 7px;
  415. background: var(--paper-2);
  416. padding: 0 8px;
  417. }
  418. .p-color input[type="color"] { width: 20px; height: 20px; border: 0; padding: 0; background: none; border-radius: 5px; overflow: hidden; cursor: pointer; }
  419. .p-color input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
  420. .p-color input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 4px; }
  421. /* antd ColorPicker 与面板输入框体系统一:同高 32px、色块垂直居中、满宽 */
  422. .p-field .ant-color-picker-trigger {
  423. width: 100%;
  424. height: 32px;
  425. padding: 0 8px;
  426. border-radius: 7px;
  427. border-color: var(--line);
  428. background: var(--paper-2);
  429. transition: border-color 0.2s, background 0.2s;
  430. }
  431. .p-field .ant-color-picker-trigger:hover { border-color: var(--ink); background: #fff; }
  432. .p-field .ant-color-picker-trigger .ant-color-picker-color {
  433. inset-inline-start: 8px;
  434. inset-block-start: 50%;
  435. transform: translateY(-50%);
  436. width: 20px;
  437. height: 20px;
  438. border-radius: 5px;
  439. padding: 0;
  440. }
  441. .p-field .ant-color-picker-trigger .ant-color-picker-color .ant-color-picker-clear {
  442. inset: 0;
  443. border-radius: 5px;
  444. }
  445. .p-field .ant-color-picker-trigger .ant-color-picker-input {
  446. height: 100%;
  447. margin-inline-start: 32px;
  448. display: flex;
  449. align-items: center;
  450. }
  451. .p-field .ant-color-picker-trigger .ant-color-picker-input input {
  452. font-family: var(--font-mono);
  453. font-size: 9.5px;
  454. color: var(--muted);
  455. text-transform: uppercase;
  456. height: auto;
  457. line-height: 32px;
  458. padding: 0;
  459. border: 0;
  460. background: none;
  461. }
  462. .p-color span { font-family: var(--font-mono); font-size: 9.5px; color: var(--muted); text-transform: uppercase; }
  463. .p-swatches { display: flex; flex-wrap: wrap; gap: 7px; }
  464. .p-swatch {
  465. width: 23px;
  466. height: 23px;
  467. border-radius: 50%;
  468. border: 1.5px solid transparent;
  469. box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  470. position: relative;
  471. transition: transform 0.15s;
  472. }
  473. .p-swatch:hover { transform: scale(1.12); }
  474. .p-swatch.on::after {
  475. content: "";
  476. position: absolute;
  477. inset: -4px;
  478. border: 1.5px solid var(--ink);
  479. border-radius: 50%;
  480. }
  481. .p-seg { display: flex; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: var(--paper-2); }
  482. .p-seg button { flex: 1; height: 30px; font-size: 11px; color: var(--muted); display: grid; place-items: center; transition: background 0.2s, color 0.2s; }
  483. .p-seg button + button { border-left: 1px solid var(--line); }
  484. .p-seg button.on { background: var(--ink); color: var(--paper-2); }
  485. .p-seg button:hover:not(.on) { background: var(--paper-3); color: var(--ink); }
  486. .p-check { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--ink-2); padding: 3px 0; }
  487. .p-check input { width: 15px; height: 15px; accent-color: var(--accent); }
  488. .p-range { display: flex; align-items: center; gap: 9px; }
  489. .p-range input { flex: 1; accent-color: var(--accent); height: 3px; }
  490. .p-range span { font-family: var(--font-mono); font-size: 9px; color: var(--muted); width: 34px; text-align: right; }
  491. .p-actions { display: flex; gap: 7px; }
  492. .p-actions button {
  493. flex: 1;
  494. height: 32px;
  495. border: 1px solid var(--line);
  496. border-radius: 7px;
  497. font-size: 10.5px;
  498. color: var(--ink-2);
  499. display: flex;
  500. align-items: center;
  501. justify-content: center;
  502. gap: 5px;
  503. transition: background 0.2s, border-color 0.2s;
  504. }
  505. .p-actions button:hover { background: var(--paper); border-color: var(--line-2); }
  506. .p-actions button.danger:hover { background: #fff0ec; border-color: #ffc3b2; color: #d63d13; }
  507. .p-layer-actions { display: flex; justify-content: space-between; gap: 5px; margin-top: 4px; }
  508. .p-hint { font-size: 9.5px; color: var(--muted-2); line-height: 1.55; margin-top: 7px; }
  509. .p-price-card { background: var(--paper); border-radius: 10px; padding: 12px; }
  510. .p-price-line { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted); margin-bottom: 6px; }
  511. .p-price-line:last-child { margin-bottom: 0; padding-top: 8px; border-top: 1px dashed var(--line-2); font-size: 12px; color: var(--ink); font-weight: 650; }
  512. .p-price-line b { color: var(--ink); }
  513. .template-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  514. .template-mini {
  515. border: 1px solid var(--line);
  516. border-radius: 9px;
  517. overflow: hidden;
  518. text-align: left;
  519. transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  520. background: var(--white);
  521. }
  522. .template-mini:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-s); }
  523. .template-mini .thumb { height: 108px; display: flex; align-items: center; justify-content: center; }
  524. .template-mini .thumb svg { width: 70%; max-height: 100px; filter: drop-shadow(0 7px 9px rgba(40, 28, 12, 0.15)); }
  525. .template-mini .name { padding: 7px 9px 8px; font-size: 10.5px; font-weight: 600; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 5px; align-items: center; }
  526. .template-mini .name span { font-size: 8px; color: var(--muted); font-weight: 400; }
  527. .upload-zone {
  528. border: 1.5px dashed var(--line-2);
  529. border-radius: 12px;
  530. padding: 22px 14px;
  531. text-align: center;
  532. background: var(--paper-2);
  533. cursor: pointer;
  534. transition: border-color 0.2s, background 0.2s;
  535. }
  536. .upload-zone:hover, .upload-zone.drag { border-color: var(--accent); background: #fff8f3; }
  537. .upload-zone .icon-box { width: 42px; height: 42px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; margin: 0 auto 10px; color: var(--accent); }
  538. .upload-zone b { display: block; font-size: 11.5px; font-weight: 650; }
  539. .upload-zone span { display: block; font-size: 9.5px; color: var(--muted); margin-top: 3px; }
  540. .uploaded-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 10px; }
  541. .uploaded-item { position: relative; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--paper); }
  542. .uploaded-item img { width: 100%; height: 100%; object-fit: cover; }
  543. .uploaded-item button { position: absolute; right: 3px; top: 3px; width: 17px; height: 17px; border-radius: 50%; background: rgba(23, 20, 15, 0.72); color: #fff; display: grid; place-items: center; font-size: 10px; opacity: 0; transition: opacity 0.2s; }
  544. .uploaded-item:hover button { opacity: 1; }
  545. .text-preset {
  546. width: 100%;
  547. text-align: left;
  548. padding: 11px 12px;
  549. border: 1px solid var(--line);
  550. border-radius: 9px;
  551. background: var(--white);
  552. margin-bottom: 7px;
  553. transition: border-color 0.2s, background 0.2s;
  554. display: flex;
  555. align-items: center;
  556. justify-content: space-between;
  557. gap: 8px;
  558. }
  559. .text-preset:hover { border-color: var(--ink); background: var(--paper-2); }
  560. .text-preset b { display: block; font-weight: 700; }
  561. .text-preset span { font-size: 9.5px; color: var(--muted); }
  562. .text-preset .t-label { font-size: 20px; line-height: 1; color: var(--ink); }
  563. .shape-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
  564. .shape-btn {
  565. aspect-ratio: 1;
  566. border: 1px solid var(--line);
  567. border-radius: 8px;
  568. background: var(--white);
  569. display: grid;
  570. place-items: center;
  571. transition: border-color 0.2s, background 0.2s, transform 0.2s;
  572. }
  573. .shape-btn:hover { border-color: var(--ink); transform: translateY(-2px); }
  574. .shape-btn .shape-ico { width: 24px; height: 24px; border: 1.5px solid var(--ink); }
  575. .shape-btn .shape-ico.circle { border-radius: 50%; }
  576. .shape-btn .shape-ico.line { height: 0; border-width: 1.5px 0 0; }
  577. .shape-btn .shape-ico.star { border: 0; background: var(--ink); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
  578. .shape-btn .shape-ico.badge { border-radius: 50%; border-style: dashed; }
  579. .shape-btn .shape-ico.triangle { border: 0; background: var(--ink); clip-path: polygon(50% 4%, 96% 94%, 4% 94%); }
  580. .asset-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
  581. .asset-btn {
  582. aspect-ratio: 1;
  583. border: 1px solid var(--line);
  584. border-radius: 8px;
  585. background: var(--white);
  586. display: grid;
  587. place-items: center;
  588. padding: 7px;
  589. transition: border-color 0.2s, transform 0.2s;
  590. }
  591. .asset-btn:hover { border-color: var(--ink); transform: translateY(-2px); }
  592. .asset-btn svg { width: 100%; height: 100%; display: block; }
  593. .plan-save { display: flex; gap: 6px; align-items: center; margin-bottom: 10px; }
  594. .plan-save .ant-input { font-size: 11.5px; }
  595. .plan-list { display: flex; flex-direction: column; gap: 7px; }
  596. .plan-item { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 9px; padding: 6px; background: var(--white); }
  597. .plan-thumb { width: 42px; height: 54px; flex: none; border-radius: 5px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
  598. .plan-thumb svg { width: 100%; height: 100%; display: block; }
  599. .plan-meta { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
  600. .plan-meta b { font-size: 11px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  601. .plan-meta span { font-size: 9px; color: var(--muted); }
  602. .plan-actions { display: flex; flex-direction: column; gap: 3px; }
  603. .plan-actions button { font-size: 9.5px; padding: 3px 7px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); color: var(--ink-2); font-family: inherit; }
  604. .plan-actions button:hover { border-color: var(--ink); color: var(--ink); }
  605. .plan-actions button.del:hover { border-color: #ffc3b2; color: #d63d13; background: #fff0ec; }
  606. .sticker-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
  607. .sticker-btn {
  608. aspect-ratio: 1;
  609. border: 1px solid var(--line);
  610. border-radius: 8px;
  611. background: var(--white);
  612. display: grid;
  613. place-items: center;
  614. transition: border-color 0.2s, transform 0.2s;
  615. }
  616. .sticker-btn:hover { border-color: var(--ink); transform: translateY(-2px); }
  617. .sticker-btn svg { width: 26px; height: 26px; }
  618. .layer-list { display: flex; flex-direction: column; gap: 5px; }
  619. .layer-item {
  620. display: flex;
  621. align-items: center;
  622. gap: 8px;
  623. padding: 7px 8px;
  624. border: 1px solid transparent;
  625. border-radius: 7px;
  626. cursor: pointer;
  627. transition: background 0.15s, border-color 0.15s;
  628. }
  629. .layer-item:hover { background: var(--paper); }
  630. .layer-item.on { background: var(--paper); border-color: var(--line-2); }
  631. .layer-icon {
  632. width: 26px;
  633. height: 26px;
  634. border-radius: 5px;
  635. background: var(--white);
  636. border: 1px solid var(--line);
  637. display: grid;
  638. place-items: center;
  639. color: var(--ink-2);
  640. flex: none;
  641. }
  642. .layer-icon .icon { width: 13px; height: 13px; }
  643. .layer-name { flex: 1; min-width: 0; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  644. .layer-name small { display: block; font-size: 8.5px; color: var(--muted-2); }
  645. .layer-eye { width: 22px; height: 22px; display: grid; place-items: center; color: var(--muted); border-radius: 4px; }
  646. .layer-eye:hover { background: var(--paper-3); color: var(--ink); }
  647. .layer-eye .icon { width: 13px; height: 13px; }
  648. .rail-extra { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
  649. .settings-view {
  650. display: grid;
  651. grid-template-columns: 320px minmax(0, 1fr) 318px;
  652. height: calc(100vh - 68px);
  653. overflow: hidden;
  654. background: var(--paper-2);
  655. }
  656. .settings-side {
  657. border-right: 1px solid var(--line);
  658. padding: 24px 22px 30px;
  659. overflow-y: auto;
  660. background: var(--white);
  661. }
  662. .settings-side .step-kicker { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em; color: var(--accent); }
  663. .settings-side h1 { font-size: 22px; font-weight: 750; letter-spacing: -0.03em; margin-top: 6px; }
  664. .settings-side > p { font-size: 11px; color: var(--muted); margin-top: 5px; line-height: 1.6; }
  665. .field-block { margin-top: 22px; }
  666. .field-label { display: flex; align-items: center; justify-content: space-between; font-size: 10px; font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
  667. .field-label span { font-family: var(--font); letter-spacing: 0; text-transform: none; font-size: 9.5px; color: var(--muted-2); }
  668. .product-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
  669. .product-choice {
  670. border: 1px solid var(--line);
  671. border-radius: 9px;
  672. padding: 8px 5px 7px;
  673. background: var(--white);
  674. display: flex;
  675. flex-direction: column;
  676. align-items: center;
  677. gap: 4px;
  678. transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  679. position: relative;
  680. }
  681. .product-choice:hover { border-color: var(--line-2); background: var(--paper-2); }
  682. .product-choice.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); background: var(--paper-2); }
  683. .product-choice .thumb { height: 58px; width: 100%; display: flex; align-items: center; justify-content: center; }
  684. .product-choice .thumb svg { height: 56px; width: auto; max-width: 88%; filter: drop-shadow(0 4px 5px rgba(40, 28, 12, 0.14)); }
  685. .product-choice b { font-size: 10px; font-weight: 600; }
  686. .product-choice em { font-style: normal; font-size: 8px; color: var(--muted); }
  687. .product-choice .on-dot { position: absolute; top: 5px; right: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-size: 8px; opacity: 0; }
  688. .product-choice.on .on-dot { opacity: 1; }
  689. .choice-list { display: flex; flex-direction: column; gap: 5px; }
  690. .choice-item {
  691. display: flex;
  692. align-items: center;
  693. gap: 9px;
  694. padding: 8px 10px;
  695. border: 1px solid var(--line);
  696. border-radius: 8px;
  697. background: var(--white);
  698. text-align: left;
  699. transition: border-color 0.2s;
  700. }
  701. .choice-item:hover { border-color: var(--line-2); }
  702. .choice-item.on { border-color: var(--ink); }
  703. .choice-item .radio { width: 13px; height: 13px; border-radius: 50%; border: 1.2px solid var(--line-2); flex: none; position: relative; }
  704. .choice-item.on .radio { border-color: var(--ink); }
  705. .choice-item.on .radio::after { content: ""; position: absolute; inset: 2.5px; background: var(--ink); border-radius: 50%; }
  706. .choice-item b { font-size: 10.5px; font-weight: 600; }
  707. .choice-item span { margin-left: auto; font-size: 9px; color: var(--muted); font-family: var(--font-mono); }
  708. .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  709. .two-col label { font-size: 9px; color: var(--muted); display: block; margin-bottom: 5px; }
  710. .two-col select { width: 100%; height: 32px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper-2); padding: 0 8px; font-size: 10.5px; outline: none; }
  711. .qty-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  712. .qty-chip { height: 34px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); font-size: 10.5px; font-weight: 600; }
  713. .qty-chip span { display: block; font-size: 7.5px; color: var(--muted); font-weight: 400; }
  714. .qty-chip.on { border-color: var(--ink); background: var(--ink); color: var(--paper-2); }
  715. .qty-chip.on span { color: rgba(255, 253, 248, 0.6); }
  716. .settings-main {
  717. display: flex;
  718. flex-direction: column;
  719. min-width: 0;
  720. background: #f1ede4;
  721. position: relative;
  722. overflow: hidden;
  723. }
  724. .settings-stage-head {
  725. height: 54px;
  726. display: flex;
  727. align-items: center;
  728. justify-content: space-between;
  729. padding: 0 22px;
  730. border-bottom: 1px solid var(--line);
  731. background: rgba(255, 253, 248, 0.7);
  732. }
  733. .settings-stage-head b { font-size: 12px; font-weight: 650; }
  734. .settings-stage-head span { font-size: 10px; color: var(--muted); }
  735. .settings-preview { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 18px; position: relative; background-image: radial-gradient(rgba(60, 48, 30, 0.11) 0.7px, transparent 0.7px); background-size: 18px 18px; }
  736. .settings-preview .bag-wrap { width: min(480px, 76%); max-height: 100%; filter: drop-shadow(0 28px 36px rgba(45, 32, 14, 0.18)); }
  737. .settings-preview svg { width: 100%; height: auto; max-height: calc(100vh - 300px); }
  738. .settings-colorbar { height: 62px; border-top: 1px solid var(--line); background: rgba(255, 253, 248, 0.8); display: flex; align-items: center; gap: 16px; padding: 0 22px; flex-wrap: wrap; }
  739. .settings-colorbar span { font-size: 10px; font-family: var(--font-mono); letter-spacing: 0.08em; color: var(--muted); }
  740. .color-dots { display: flex; gap: 7px; }
  741. .color-dot { width: 23px; height: 23px; border-radius: 50%; border: 1.5px solid transparent; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
  742. .color-dot.on { border-color: var(--ink); }
  743. .settings-order { border-left: 1px solid var(--line); padding: 24px 20px; background: var(--white); overflow-y: auto; }
  744. .order-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
  745. .order-card .eyebrow { font-size: 9px; }
  746. .order-card h2 { font-size: 18px; font-weight: 750; letter-spacing: -0.02em; margin-top: 6px; }
  747. .order-lines { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
  748. .order-line { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted); padding: 4px 0; }
  749. .order-line b { color: var(--ink-2); font-weight: 600; }
  750. .order-total { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); }
  751. .order-total span { font-size: 10px; color: var(--muted); }
  752. .order-total b { font-size: 26px; letter-spacing: -0.04em; font-weight: 750; }
  753. .order-total b small { font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
  754. .order-card .btn { width: 100%; margin-top: 15px; }
  755. .micro { font-size: 9px; color: var(--muted-2); text-align: center; line-height: 1.6; margin-top: 10px; }
  756. .mini-guarantees { margin-top: 16px; display: flex; flex-direction: column; gap: 9px; }
  757. .mini-guarantee { display: flex; gap: 8px; align-items: flex-start; font-size: 10px; color: var(--muted); line-height: 1.5; }
  758. .mini-guarantee .icon { width: 13px; height: 13px; color: var(--accent); margin-top: 1px; }
  759. .settings-note { margin-top: 18px; background: var(--lime); border-radius: 10px; padding: 12px 14px; font-size: 10px; line-height: 1.6; color: var(--ink); }
  760. .settings-note b { display: block; margin-bottom: 2px; }
  761. .summary-view {
  762. height: calc(100vh - 68px);
  763. overflow-y: auto;
  764. background: var(--paper);
  765. }
  766. .summary-inner {
  767. width: min(1180px, calc(100% - 64px));
  768. margin: 0 auto;
  769. padding: 44px 0 70px;
  770. display: grid;
  771. grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  772. gap: 54px;
  773. align-items: start;
  774. }
  775. .summary-head h1 { font-size: 40px; letter-spacing: -0.045em; font-weight: 800; margin-top: 12px; }
  776. .summary-head p { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
  777. .summary-preview {
  778. margin-top: 24px;
  779. border: 1px solid var(--line);
  780. border-radius: 20px;
  781. background: #f1ede4;
  782. display: flex;
  783. align-items: center;
  784. justify-content: center;
  785. padding: 26px;
  786. min-height: 600px;
  787. position: relative;
  788. background-image: radial-gradient(rgba(60, 48, 30, 0.11) 0.7px, transparent 0.7px);
  789. background-size: 18px 18px;
  790. }
  791. .summary-preview #summaryPreview { width: 100%; display: flex; align-items: center; justify-content: center; }
  792. .summary-preview .bag-wrap { width: min(388px, 84%); filter: drop-shadow(0 26px 34px rgba(45, 32, 14, 0.17)); }
  793. .summary-preview svg { width: 100%; }
  794. .summary-side-switch { position: absolute; top: 14px; left: 14px; }
  795. .summary-thumbs { display: flex; gap: 10px; margin-top: 12px; }
  796. .summary-thumb { width: 86px; height: 74px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper-2); display: flex; align-items: center; justify-content: center; padding: 5px; }
  797. .summary-thumb.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
  798. .summary-thumb svg { width: 100%; height: 100%; }
  799. .summary-actions { display: flex; gap: 16px; margin-top: 18px; align-items: center; }
  800. .summary-actions button { font-size: 11.5px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
  801. .summary-actions button:hover { color: var(--accent); }
  802. .summary-right { position: sticky; top: 20px; }
  803. .summary-right .order-card { background: var(--white); padding: 24px; }
  804. .summary-right .order-card h2 { margin-bottom: 14px; }
  805. .summary-specs { border-top: 1px dashed var(--line-2); padding-top: 12px; margin-top: 12px; }
  806. .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
  807. .form-grid input, .form-grid textarea {
  808. width: 100%;
  809. border: 1px solid var(--line);
  810. border-radius: 8px;
  811. background: var(--paper-2);
  812. height: 38px;
  813. padding: 0 11px;
  814. font-size: 11px;
  815. outline: none;
  816. }
  817. .form-grid textarea { grid-column: 1 / -1; height: 72px; padding: 9px 11px; resize: none; line-height: 1.5; }
  818. .form-grid input:focus, .form-grid textarea:focus { border-color: var(--ink); background: #fff; }
  819. .summary-right .btn { width: 100%; margin-top: 12px; }
  820. .modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
  821. .modal[hidden] { display: none; }
  822. .modal-backdrop { position: absolute; inset: 0; background: rgba(23, 20, 15, 0.62); backdrop-filter: blur(8px); }
  823. .modal-panel {
  824. position: relative;
  825. width: min(880px, 100%);
  826. max-height: calc(100vh - 48px);
  827. background: var(--paper-2);
  828. border-radius: 20px;
  829. overflow: hidden;
  830. box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
  831. display: flex;
  832. flex-direction: column;
  833. }
  834. .modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
  835. .modal-head h3 { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
  836. .modal-head h3 span { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.1em; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 3px 7px; }
  837. .modal-close { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); font-size: 16px; }
  838. .modal-close:hover { background: var(--paper); color: var(--ink); }
  839. .scene {
  840. flex: 1;
  841. min-height: 440px;
  842. background: radial-gradient(ellipse at 50% 40%, #fffdf8, #efe9dc 70%);
  843. display: flex;
  844. align-items: center;
  845. justify-content: center;
  846. perspective: 1500px;
  847. overflow: hidden;
  848. position: relative;
  849. cursor: grab;
  850. touch-action: none;
  851. }
  852. .scene:active { cursor: grabbing; }
  853. .scene::after {
  854. content: "";
  855. position: absolute;
  856. left: 50%;
  857. bottom: 15%;
  858. transform: translateX(-50%);
  859. width: 400px;
  860. height: 54px;
  861. border-radius: 50%;
  862. background: radial-gradient(ellipse at center, rgba(35, 24, 10, 0.34), rgba(35, 24, 10, 0.16) 55%, transparent 75%);
  863. filter: blur(16px);
  864. }
  865. .pouch3d {
  866. position: relative;
  867. width: 280px;
  868. height: 400px;
  869. transform-style: preserve-3d;
  870. transform: rotateX(4deg) rotateY(-18deg);
  871. transition: transform 0.15s linear;
  872. z-index: 2;
  873. animation: bagFloat 6s ease-in-out infinite;
  874. }
  875. @keyframes bagFloat {
  876. 0%, 100% { translate: 0 0; }
  877. 50% { translate: 0 -10px; }
  878. }
  879. .pouch3d .face3d {
  880. position: absolute;
  881. inset: 0;
  882. backface-visibility: hidden;
  883. overflow: hidden;
  884. /* 正/背面:设计主体完整,仅顶部两角圆切与侧肩封合贴合 + 底部圆角 */
  885. clip-path: url(#pouchFrontClip);
  886. }
  887. .pouch3d .face3d svg { width: 100%; height: 100%; }
  888. .pouch3d .face3d.front {
  889. /* 充填形态:顶部封口贴合(Z 小),底部内容物撑开(Z 大)→ rotateX 微倾实现 */
  890. transform: rotateX(-4.5deg) translateZ(20px);
  891. transform-origin: 50% 0%;
  892. }
  893. .pouch3d .face3d.back {
  894. transform: rotateY(180deg) rotateX(-4.5deg) translateZ(20px);
  895. transform-origin: 50% 0%;
  896. background: var(--paper-3);
  897. }
  898. /* 顶部横向热封压痕:细平行条纹压纹(高约7%,哑光),压纹风格前后统一 */
  899. .pouch3d .face3d.front::after,
  900. .pouch3d .face3d.back::after {
  901. content: "";
  902. position: absolute;
  903. top: 0; left: 0; right: 0;
  904. height: 7.5%;
  905. background:
  906. linear-gradient(180deg, rgba(255,255,255,0.34), rgba(0,0,0,0.05) 85%, rgba(0,0,0,0.16)),
  907. repeating-linear-gradient(180deg, rgba(0,0,0,0.10) 0 1px, transparent 1px 3.2px);
  908. border-bottom: 1px solid rgba(0,0,0,0.22);
  909. pointer-events: none;
  910. z-index: 5;
  911. }
  912. /* 易撕口:封边右上 V 形冲切缺口 */
  913. .pouch3d .face3d.front::before,
  914. .pouch3d .face3d.back::before {
  915. content: "";
  916. position: absolute;
  917. top: 0; right: 9%;
  918. width: 12px; height: 5.4%;
  919. background: inherit;
  920. z-index: 6;
  921. pointer-events: none;
  922. clip-path: polygon(0 0, 100% 0, 50% 100%);
  923. filter: brightness(1.35) saturate(0.9);
  924. box-shadow: 0 1.5px 0 rgba(0,0,0,0.18);
  925. }
  926. .pouch3d .face3d.side {
  927. width: 44px;
  928. left: 50%;
  929. margin-left: -22px;
  930. transform: rotateY(90deg) translateZ(140px);
  931. background: linear-gradient(90deg, #b9ac97, #efe7d6 45%, #a99b85);
  932. backface-visibility: visible;
  933. /* 侧面:水滴形(封口 fin 极薄→中下膨鼓→底部满宽),不影响正反面 */
  934. clip-path: url(#pouchSideClip);
  935. width: 72px;
  936. margin-left: -36px;
  937. /* 体积兜底(JS 按袋色重建:顶部薄暗哑光、中下鼓面亮、底部承重微暗) */
  938. background:
  939. radial-gradient(ellipse 120% 60% at 50% 74%, rgba(255,255,255,0.30), transparent 58%),
  940. linear-gradient(180deg, rgba(0,0,0,0.34) 0%, rgba(0,0,0,0.08) 22%, transparent 42%, rgba(0,0,0,0.10) 92%),
  941. linear-gradient(90deg, rgba(0,0,0,0.30), rgba(255,255,255,0.16) 46%, rgba(0,0,0,0.34));
  942. }
  943. /* 放射状斜褶:从封口窄点向下发散 + 底部轻微堆积感 */
  944. .pouch3d .face3d.side::before {
  945. content: "";
  946. position: absolute;
  947. inset: 0;
  948. background:
  949. repeating-linear-gradient(168deg, transparent 0 5px, rgba(0,0,0,0.045) 5px 6.2px),
  950. repeating-linear-gradient(12deg, transparent 0 5px, rgba(0,0,0,0.045) 5px 6.2px);
  951. pointer-events: none;
  952. }
  953. .pouch3d .face3d.side::after {
  954. content: "";
  955. position: absolute;
  956. left: 0; right: 0; bottom: 0;
  957. height: 16%;
  958. background:
  959. repeating-linear-gradient(180deg, transparent 0 3.5px, rgba(0,0,0,0.05) 3.5px 4.4px),
  960. linear-gradient(180deg, transparent, rgba(0,0,0,0.10));
  961. border-top: 1px solid rgba(0,0,0,0.14);
  962. pointer-events: none;
  963. }
  964. .modal-controls {
  965. display: flex;
  966. align-items: center;
  967. gap: 18px;
  968. padding: 14px 20px;
  969. border-top: 1px solid var(--line);
  970. background: var(--white);
  971. }
  972. .modal-controls .hint { font-size: 10px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
  973. .modal-controls input[type="range"] { flex: 1; accent-color: var(--accent); }
  974. .modal-controls .side-switch button { padding: 0 12px; height: 26px; font-size: 10.5px; }
  975. .inline-text-editor {
  976. position: fixed;
  977. z-index: 150;
  978. width: 300px;
  979. background: var(--white);
  980. border: 1px solid var(--line-2);
  981. border-radius: 12px;
  982. box-shadow: 0 18px 50px rgba(23, 20, 15, 0.22);
  983. padding: 10px;
  984. }
  985. .inline-text-editor[hidden] { display: none; }
  986. .inline-text-editor textarea {
  987. width: 100%;
  988. border: 0;
  989. background: var(--paper-2);
  990. border-radius: 7px;
  991. padding: 9px 10px;
  992. font-size: 12px;
  993. resize: vertical;
  994. min-height: 78px;
  995. outline: none;
  996. line-height: 1.5;
  997. }
  998. .inline-text-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
  999. .inline-text-actions span { font-size: 9px; color: var(--muted-2); font-family: var(--font-mono); }
  1000. .inline-text-actions button { height: 28px; padding: 0 13px; border-radius: 6px; background: var(--ink); color: var(--paper-2); font-size: 10.5px; }
  1001. .success-view {
  1002. position: fixed;
  1003. inset: 0;
  1004. z-index: 220;
  1005. background: rgba(23, 20, 15, 0.55);
  1006. backdrop-filter: blur(6px);
  1007. display: grid;
  1008. place-items: center;
  1009. padding: 24px;
  1010. }
  1011. .success-view[hidden] { display: none; }
  1012. .success-card {
  1013. width: min(460px, 100%);
  1014. background: var(--paper-2);
  1015. border-radius: 22px;
  1016. padding: 38px 34px 30px;
  1017. text-align: center;
  1018. box-shadow: var(--shadow-l);
  1019. }
  1020. .success-icon { width: 62px; height: 62px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; margin: 0 auto 20px; }
  1021. .success-icon .icon { width: 28px; height: 28px; color: var(--ink); }
  1022. .success-card h2 { font-size: 24px; letter-spacing: -0.03em; font-weight: 750; }
  1023. .success-card p { font-size: 11.5px; color: var(--muted); line-height: 1.7; margin-top: 9px; }
  1024. .success-order { background: var(--paper); border: 1px dashed var(--line-2); border-radius: 10px; padding: 13px; margin: 18px 0; font-family: var(--font-mono); font-size: 10px; color: var(--muted); }
  1025. .success-order b { display: block; font-size: 16px; color: var(--ink); letter-spacing: 0.04em; margin-top: 3px; }
  1026. .success-card #successTip { color: #e0a83a; }
  1027. .success-actions { display: flex; gap: 10px; }
  1028. .success-actions .btn { flex: 1; }
  1029. .success-actions .btn:last-child { flex: 0 0 auto; width: auto; padding-inline: 18px; }
  1030. @media (max-width: 1240px) {
  1031. .design-view { grid-template-columns: 72px 260px minmax(0, 1fr) 264px; }
  1032. .settings-view { grid-template-columns: 296px minmax(0, 1fr) 290px; }
  1033. }
  1034. @media (max-width: 1100px) {
  1035. .design-view { grid-template-columns: 68px 240px minmax(0, 1fr); }
  1036. .props-panel { display: none; }
  1037. /* 窄屏下选中元素时以浮层抽屉展示属性,避免属性面板被隐藏后无法编辑 */
  1038. body.props-open .props-panel {
  1039. display: flex;
  1040. position: fixed;
  1041. top: 70px;
  1042. right: 12px;
  1043. bottom: 12px;
  1044. width: 286px;
  1045. max-width: calc(100vw - 24px);
  1046. z-index: 70;
  1047. border: 1px solid var(--line);
  1048. border-radius: 16px;
  1049. box-shadow: 0 20px 55px rgba(40, 30, 10, 0.18);
  1050. }
  1051. body.props-open .props-close { display: grid; }
  1052. .studio-title-wrap { display: none; }
  1053. .summary-inner { grid-template-columns: 1fr; gap: 30px; }
  1054. .summary-right { position: static; }
  1055. .summary-preview { min-height: 380px; }
  1056. }
  1057. @media (max-width: 900px) {
  1058. .settings-view { grid-template-columns: 280px minmax(0, 1fr); }
  1059. .settings-order { display: none; }
  1060. .studio-steps .step span { display: none; }
  1061. .studio-actions .save-state, .undo-group { display: none; }
  1062. }
  1063. @media (max-width: 760px) {
  1064. .studio-topbar { grid-template-columns: auto 1fr auto; height: 60px; padding: 0 12px; }
  1065. .studio-brand .logo-type { display: none; }
  1066. .studio-steps { gap: 4px; }
  1067. .studio-steps .sep { display: none; }
  1068. .studio-actions .btn-ghost { display: none; }
  1069. .design-view { grid-template-columns: 1fr; grid-template-rows: 1fr 58px; height: calc(100vh - 60px); }
  1070. .tool-rail { order: 2; flex-direction: row; padding: 6px 8px; overflow-x: auto; border-right: 0; border-top: 1px solid var(--line); }
  1071. .tool-rail button { flex: 1; min-width: 52px; flex-direction: row; justify-content: center; gap: 5px; padding: 8px 4px; }
  1072. .tool-rail button .icon { width: 15px; height: 15px; }
  1073. .tool-rail button.active::before { left: 50%; top: auto; bottom: -6px; transform: translateX(-50%); width: 18px; height: 3px; border-radius: 3px 3px 0 0; }
  1074. .tool-rail .rail-sep, .rail-extra { display: none; }
  1075. .tool-panel-close { display: grid; place-items: center; }
  1076. .tool-panel { position: absolute; left: 0; bottom: 58px; top: auto; height: min(360px, 50vh); width: 100%; z-index: 30; border-right: 0; border-top: 1px solid var(--line); border-radius: 18px 18px 0 0; box-shadow: 0 -18px 40px rgba(20, 14, 6, 0.18); transform: translateY(calc(100% + 70px)); transition: transform 0.35s var(--ease); }
  1077. .design-view.panel-open .tool-panel { transform: translateY(0); }
  1078. .workspace { order: 1; }
  1079. .workspace-tools { padding: 0 12px; }
  1080. .view-actions { gap: 10px; }
  1081. .view-actions .switch { display: none; }
  1082. .canvas-shell { padding: 16px; }
  1083. .settings-view { display: block; height: calc(100vh - 60px); overflow-y: auto; }
  1084. .settings-side { border-right: 0; overflow: visible; padding-bottom: 8px; }
  1085. .settings-main { min-height: 540px; }
  1086. .settings-preview { padding: 14px; }
  1087. .settings-preview svg { width: auto; max-width: 100%; max-height: 380px; }
  1088. .settings-colorbar { height: auto; padding: 12px 16px; }
  1089. .summary-inner { width: calc(100% - 32px); padding-top: 24px; }
  1090. .summary-head h1 { font-size: 28px; }
  1091. .summary-preview { min-height: 300px; padding: 16px; flex-direction: column; align-items: stretch; justify-content: flex-start; }
  1092. .summary-side-switch { position: static; align-self: flex-start; margin-bottom: 12px; }
  1093. .modal-panel { max-height: calc(100vh - 24px); }
  1094. .scene { min-height: 340px; }
  1095. .pouch3d { width: 200px; height: 290px; }
  1096. .pouch3d .face3d.side { transform: rotateY(90deg) translateZ(100px); }
  1097. .modal-controls { flex-wrap: wrap; gap: 10px; }
  1098. .modal-controls input[type="range"] { min-width: 120px; }
  1099. }
  1100. /* ---------- custom size & quantity ---------- */
  1101. .s-custom-size {
  1102. margin-top: 10px;
  1103. padding: 10px 12px;
  1104. border: 1px dashed var(--line-2);
  1105. border-radius: 9px;
  1106. background: var(--paper-2);
  1107. transition: border-color 0.2s, background 0.2s;
  1108. }
  1109. .s-custom-size.on { border-color: var(--accent); background: #fff8f3; }
  1110. .s-custom-title { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
  1111. .s-custom-title span { font-family: var(--font-mono); font-size: 9px; color: var(--muted-2); }
  1112. .s-custom-inputs { display: flex; align-items: flex-end; gap: 7px; }
  1113. .s-inline-field { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
  1114. .s-inline-field label { font-size: 9.5px; color: var(--muted-2); }
  1115. .s-inline-input {
  1116. width: 100%;
  1117. height: 32px;
  1118. border: 1px solid var(--line-2);
  1119. border-radius: 7px;
  1120. background: var(--white);
  1121. padding: 0 8px;
  1122. font-size: 12px;
  1123. color: var(--ink);
  1124. outline: none;
  1125. transition: border-color 0.2s;
  1126. }
  1127. .s-inline-input:focus { border-color: var(--ink); }
  1128. .s-times { font-size: 11px; color: var(--muted-2); padding-bottom: 9px; }
  1129. .s-qty-custom { display: flex; align-items: center; gap: 7px; margin-top: 9px; }
  1130. .s-qty-custom label { font-size: 10px; color: var(--muted-2); white-space: nowrap; }
  1131. .s-qty-custom .s-inline-input { width: 104px; flex: none; }
  1132. .s-qty-custom span { font-size: 9.5px; color: var(--muted-2); white-space: nowrap; }
  1133. /* ---------- layer actions ---------- */
  1134. .layer-del { width: 20px; height: 20px; border-radius: 4px; color: var(--muted-2); display: grid; place-items: center; font-size: 10px; flex: none; }
  1135. .layer-del:hover { background: #fff0ec; color: #d63d13; }
  1136. /* ---------- collapse / expand animation ---------- */
  1137. .design-view { transition: grid-template-columns 0.32s var(--ease); }
  1138. .tool-panel { min-width: 0; transition: transform 0.32s var(--ease), opacity 0.28s var(--ease); }
  1139. @media (min-width: 1101px) {
  1140. .tool-panel-close { display: grid; place-items: center; }
  1141. .design-view.panel-collapsed { grid-template-columns: 76px 0 minmax(0, 1fr) 290px; }
  1142. .design-view.panel-collapsed .tool-panel { transform: translateX(-18px); opacity: 0; pointer-events: none; }
  1143. }
  1144. @keyframes plSlideInLeft { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
  1145. @keyframes plSlideInRight { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
  1146. @keyframes plFadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  1147. .design-view:not([hidden]) .tool-panel { animation: plSlideInLeft 0.34s var(--ease); }
  1148. .design-view:not([hidden]) .props-panel { animation: plSlideInRight 0.34s var(--ease); }
  1149. .design-view:not([hidden]) .workspace { animation: plFadeUp 0.3s var(--ease); }
  1150. .settings-view:not([hidden]) { animation: plFadeUp 0.32s var(--ease); }
  1151. .summary-view:not([hidden]) { animation: plFadeUp 0.32s var(--ease); }
  1152. .tool-panel { overflow: hidden; }
  1153. /* 图层顺序操作 */
  1154. .p-actions.order-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
  1155. .layer-row .layer-order {
  1156. border: none;
  1157. background: none;
  1158. cursor: pointer;
  1159. font-size: 12px;
  1160. color: #8a8478;
  1161. padding: 4px 5px;
  1162. flex: none;
  1163. }
  1164. .layer-row .layer-order:hover { color: #c2451f; }
  1165. /* 图层拖拽排序 */
  1166. .layer-row { touch-action: none; }
  1167. .layer-row.dragging { opacity: 0.35; }
  1168. .layer-row.drop-above { box-shadow: inset 0 2.5px 0 #c2451f; }
  1169. .layer-row.drop-below { box-shadow: inset 0 -2.5px 0 #c2451f; }
  1170. /* AI 交互式排版 */
  1171. #plAiFab {
  1172. position: fixed; right: 26px; bottom: 30px; z-index: 60;
  1173. display: inline-flex; align-items: center; gap: 7px;
  1174. border: 0; cursor: pointer; font-family: inherit;
  1175. background: linear-gradient(135deg, #ff5c2b, #e64718); color: #fff;
  1176. border-radius: 999px; padding: 11px 18px; font-size: 13px; font-weight: 700;
  1177. box-shadow: 0 12px 30px rgba(255, 92, 43, 0.35);
  1178. transition: transform 0.15s;
  1179. }
  1180. #plAiFab:hover { transform: translateY(-2px); }
  1181. .pl-ai-panel {
  1182. position: fixed; right: 26px; bottom: 84px; z-index: 60; width: 320px;
  1183. background: var(--paper, #fffdf8); border: 1px solid var(--line-2, #e2dacb);
  1184. border-radius: 14px; padding: 14px; box-shadow: 0 24px 60px rgba(23,20,15,0.18);
  1185. }
  1186. .pl-ai-panel[hidden] { display: none; }
  1187. .pl-ai-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; cursor: move; user-select: none; touch-action: none; }
  1188. .pl-ai-head b { font-size: 14px; }
  1189. .pl-ai-quota { font-size: 11px; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 2px 8px; }
  1190. .pl-ai-close { margin-left: auto; border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 13px; }
  1191. .pl-ai-sides { display: flex; gap: 6px; margin-bottom: 8px; }
  1192. .pl-ai-sides button {
  1193. flex: 1; border: 1px solid var(--line-2); background: var(--paper); border-radius: 8px;
  1194. padding: 6px 0; font-size: 12px; cursor: pointer; color: var(--muted); font-family: inherit;
  1195. }
  1196. .pl-ai-sides button.on { border-color: var(--accent, #ff5c2b); color: var(--accent, #ff5c2b); background: #fff3ec; }
  1197. .pl-ai-panel textarea {
  1198. width: 100%; box-sizing: border-box; border: 1px solid var(--line-2); border-radius: 10px;
  1199. padding: 9px; font-size: 12.5px; min-height: 96px; resize: vertical; font-family: inherit;
  1200. background: #fff; color: var(--ink);
  1201. }
  1202. .pl-ai-actions { display: flex; gap: 8px; margin-top: 8px; }
  1203. .pl-ai-actions .btn { flex: 1; }
  1204. .pl-ai-clear { border: 1px solid var(--line-2); background: var(--paper); border-radius: 9px; padding: 8px; cursor: pointer; font-size: 12.5px; color: var(--muted); font-family: inherit; }
  1205. .pl-ai-tip { font-size: 10.5px; color: var(--muted); margin: 8px 0 0; line-height: 1.5; }
  1206. #plAiGen[disabled] { opacity: 0.55; cursor: not-allowed; }
  1207. /* 参考潘通色(防侵权叫法:不称潘通色;实际以打样效果为准) */
  1208. .pms-title { font-size: 11px; font-weight: 700; color: #4c473f; margin: 12px 0 7px; }
  1209. .pms-grid { display: flex; flex-wrap: wrap; gap: 6px; }
  1210. .pms-dot {
  1211. width: 21px; height: 21px; border-radius: 50%;
  1212. border: 1.5px solid rgba(0,0,0,.10); cursor: pointer; padding: 0;
  1213. transition: transform .15s;
  1214. }
  1215. .pms-dot:hover { transform: scale(1.15); }
  1216. .pms-dot.on { outline: 2px solid #c2451f; outline-offset: 1.5px; }
  1217. .pms-note { font-size: 10px; color: #a79d8d; line-height: 1.5; margin-top: 8px; }
  1218. /* ===== 面板对齐统一(宽度/高度输入 = 32px 基准体系) ===== */
  1219. /* 1. 自定义底色取色器:与其他输入框同高同圆角,色块垂直居中 */
  1220. .props-panel .p-field .ant-color-picker-trigger,
  1221. .props-panel .p-field .ant-color-picker-trigger.ant-color-picker-trigger,
  1222. .p-field .ant-color-picker-trigger,
  1223. .p-field .ant-color-picker-trigger.ant-color-picker-trigger {
  1224. height: 32px !important;
  1225. min-height: 32px !important;
  1226. max-height: 32px !important;
  1227. width: 100% !important;
  1228. padding: 0 8px !important;
  1229. border-radius: 7px !important;
  1230. border-color: var(--line) !important;
  1231. background: var(--paper-2) !important;
  1232. }
  1233. .props-panel .p-field .ant-color-picker-trigger:hover {
  1234. border-color: var(--ink) !important;
  1235. background: #fff !important;
  1236. }
  1237. .p-field .ant-color-picker-trigger .ant-color-picker-color,
  1238. /* flex 垂直居中:不依赖 top/translate,无取整误差 */
  1239. .props-panel .p-field .ant-color-picker-trigger,
  1240. .p-field .ant-color-picker-trigger {
  1241. display: flex !important;
  1242. align-items: center !important;
  1243. padding: 0 8px !important;
  1244. }
  1245. .props-panel .p-field .ant-color-picker-trigger .ant-color-picker-color,
  1246. .p-field .ant-color-picker-trigger .ant-color-picker-color {
  1247. position: static !important;
  1248. transform: none !important;
  1249. inset: auto !important;
  1250. inset-inline-start: auto !important;
  1251. inset-block-start: auto !important;
  1252. width: 20px !important;
  1253. height: 20px !important;
  1254. flex: none !important;
  1255. border-radius: 5px !important;
  1256. padding: 0 !important;
  1257. margin: 0 !important;
  1258. }
  1259. .props-panel .p-field .ant-color-picker-trigger .ant-color-picker-color .ant-color-picker-clear {
  1260. inset: 0 !important;
  1261. border-radius: 5px !important;
  1262. }
  1263. .p-field .ant-color-picker-trigger .ant-color-picker-input,
  1264. .props-panel .p-field .ant-color-picker-trigger .ant-color-picker-input,
  1265. .p-field .ant-color-picker-trigger .ant-color-picker-input {
  1266. position: static !important;
  1267. flex: 1 1 auto !important;
  1268. height: auto !important;
  1269. margin: 0 0 0 9px !important;
  1270. display: flex !important;
  1271. align-items: center !important;
  1272. }
  1273. .props-panel .p-field .ant-color-picker-trigger .ant-color-picker-input input {
  1274. font-family: var(--font-mono) !important;
  1275. font-size: 10px !important;
  1276. color: #4c473f !important;
  1277. text-transform: uppercase !important;
  1278. height: auto !important;
  1279. line-height: 32px !important;
  1280. padding: 0 !important;
  1281. border: 0 !important;
  1282. background: none !important;
  1283. box-shadow: none !important;
  1284. }
  1285. /* 2. 当前面分段:与输入框同高,字号统一 */
  1286. .props-panel .p-field .ant-segmented { height: 32px !important; width: 100% !important; }
  1287. .props-panel .p-field .ant-segmented .ant-segmented-group { height: 100% !important; }
  1288. .props-panel .p-field .ant-segmented .ant-segmented-item {
  1289. height: 100% !important;
  1290. display: flex !important;
  1291. align-items: center !important;
  1292. }
  1293. .props-panel .p-field .ant-segmented .ant-segmented-item-label {
  1294. font-size: 12px !important;
  1295. line-height: 30px !important;
  1296. min-height: 30px !important;
  1297. display: flex !important;
  1298. align-items: center !important;
  1299. justify-content: center !important;
  1300. }
  1301. /* 3. 字段标签统一 11px */
  1302. .props-panel .p-field > label,
  1303. .props-panel .p-field label {
  1304. font-size: 11px !important;
  1305. font-weight: 600 !important;
  1306. color: #4c473f !important;
  1307. margin-bottom: 5px !important;
  1308. line-height: 1.3 !important;
  1309. }
  1310. .props-panel .p-section-title {
  1311. font-size: 12px !important;
  1312. font-weight: 800 !important;
  1313. color: #26211a !important;
  1314. margin-bottom: 10px !important;
  1315. }
  1316. /* 4. 两组色板统一 22px */
  1317. .props-panel .p-swatch { width: 22px !important; height: 22px !important; }
  1318. .props-panel .pms-dot { width: 22px !important; height: 22px !important; }