WebOrbiton
v1.0.0.3

StocketBase

4,480 lines · 87.8 KB
  1. @font-face {
  2. font-family: "Space Grotesk";
  3. src: url("fonts/Space_Grotesk.ttf") format("truetype");
  4. font-display: swap;
  5. }
  6. ​
  7. @font-face {
  8. font-family: "Avatar Font";
  9. src: url("fonts/Noticia_Text.ttf") format("truetype");
  10. font-display: swap;
  11. }
  12. ​
  13. :root {
  14. --bg: #050506;
  15. --panel: #0c0c0f;
  16. --panel-alt: #131317;
  17. --panel-hover: #1a1a1f;
  18. --border: #232329;
  19. --border-strong: #303038;
  20. --text: #f8fafc;
  21. --muted: #8b8b97;
  22. --muted-dim: #5c5c68;
  23. --accent: #3862f5;
  24. --accent-hover: #5b82ff;
  25. --accent-dim: rgba(56, 98, 245, 0.18);
  26. --danger: #ef4444;
  27. --danger-dim: rgba(239, 68, 68, 0.14);
  28. --success: #10b981;
  29. --success-dim: rgba(16, 185, 129, 0.14);
  30. --warning: #f59e0b;
  31. --warning-dim: rgba(245, 158, 11, 0.14);
  32. --info: #0ea5e9;
  33. --info-dim: rgba(14, 165, 233, 0.14);
  34. --radius: 12px;
  35. --radius-sm: 8px;
  36. --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(0, 0, 0, 0.2);
  37. --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.28), 0 16px 40px rgba(0, 0, 0, 0.34);
  38. --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.2), 0 6px 16px rgba(0, 0, 0, 0.22);
  39. --inset-hairline: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  40. }
  41. ​
  42. body[data-theme="light"] {
  43. --bg: #f8fafc;
  44. --panel: #ffffff;
  45. --panel-alt: #f1f5f9;
  46. --panel-hover: #e2e8f0;
  47. --border: #e2e8f0;
  48. --border-strong: #cbd5e1;
  49. --text: #0f172a;
  50. --muted: #64748b;
  51. --muted-dim: #94a3b8;
  52. --accent: #2e4fe0;
  53. --accent-hover: #2440c0;
  54. --accent-dim: rgba(46, 79, 224, 0.1);
  55. --danger: #dc2626;
  56. --danger-dim: rgba(220, 38, 38, 0.1);
  57. --success: #059669;
  58. --success-dim: rgba(5, 150, 105, 0.1);
  59. --warning: #d97706;
  60. --warning-dim: rgba(217, 119, 6, 0.1);
  61. --info: #0284c7;
  62. --info-dim: rgba(2, 132, 199, 0.1);
  63. --shadow-sm: 0 1px 2px rgba(20, 20, 30, 0.05), 0 1px 1px rgba(20, 20, 30, 0.04);
  64. --shadow-md: 0 2px 6px rgba(20, 20, 30, 0.05), 0 16px 40px rgba(20, 20, 30, 0.08);
  65. --shadow-card: 0 1px 2px rgba(20, 20, 30, 0.04), 0 6px 16px rgba(20, 20, 30, 0.05);
  66. --inset-hairline: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  67. }
  68. ​
  69. * {
  70. box-sizing: border-box;
  71. }
  72. ​
  73. body {
  74. margin: 0;
  75. font-family: var(--dash-font-ui, "Space Grotesk"), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  76. background: var(--bg);
  77. color: var(--text);
  78. font-size: 14px;
  79. line-height: 1.5;
  80. -webkit-font-smoothing: antialiased;
  81. scrollbar-width: thin;
  82. scrollbar-color: var(--border-strong) transparent;
  83. }
  84. ​
  85. ::-webkit-scrollbar {
  86. width: 10px;
  87. height: 10px;
  88. }
  89. ​
  90. ::-webkit-scrollbar-track {
  91. background: transparent;
  92. }
  93. ​
  94. ::-webkit-scrollbar-thumb {
  95. background: var(--border-strong);
  96. border-radius: 999px;
  97. border: 2px solid var(--bg);
  98. background-clip: padding-box;
  99. }
  100. ​
  101. ::-webkit-scrollbar-thumb:hover {
  102. background: var(--muted-dim);
  103. background-clip: padding-box;
  104. }
  105. ​
  106. a,
  107. button,
  108. input,
  109. select,
  110. textarea,
  111. [role="button"] {
  112. -webkit-tap-highlight-color: transparent;
  113. }
  114. ​
  115. button {
  116. margin: 0;
  117. line-height: normal;
  118. }
  119. ​
  120. button::-moz-focus-inner {
  121. border: 0;
  122. padding: 0;
  123. }
  124. ​
  125. .icon {
  126. width: 18px;
  127. height: 18px;
  128. flex-shrink: 0;
  129. }
  130. ​
  131. .icon-sm {
  132. width: 15px;
  133. height: 15px;
  134. }
  135. ​
  136. .icon-lg {
  137. width: 22px;
  138. height: 22px;
  139. }
  140. ​
  141. .nav-icon-picker-row {
  142. display: flex;
  143. gap: 10px;
  144. align-items: center;
  145. }
  146. ​
  147. .nav-icon-picker-preview {
  148. display: flex;
  149. align-items: center;
  150. justify-content: center;
  151. width: 34px;
  152. height: 34px;
  153. border-radius: 8px;
  154. border: 1px solid var(--border);
  155. background: var(--panel-alt);
  156. flex-shrink: 0;
  157. }
  158. ​
  159. .nav-icon-picker-row select {
  160. flex: 1;
  161. }
  162. ​
  163. .nav-item-icon {
  164. display: inline-flex;
  165. width: 15px;
  166. height: 15px;
  167. vertical-align: middle;
  168. }
  169. ​
  170. .shop-icon-picker {
  171. display: flex;
  172. flex-wrap: wrap;
  173. gap: 10px;
  174. margin-bottom: 4px;
  175. }
  176. ​
  177. .shop-icon-option {
  178. display: flex;
  179. align-items: center;
  180. justify-content: center;
  181. width: 44px;
  182. height: 44px;
  183. margin: 0;
  184. border-radius: 10px;
  185. border: 1.5px solid var(--border);
  186. background: var(--panel-alt);
  187. color: var(--muted);
  188. cursor: pointer;
  189. transition: border-color .12s, color .12s, background .12s;
  190. }
  191. ​
  192. .shop-icon-option input {
  193. position: absolute;
  194. opacity: 0;
  195. width: 1px;
  196. height: 1px;
  197. }
  198. ​
  199. .shop-icon-option:hover {
  200. border-color: var(--border-strong);
  201. color: var(--text);
  202. }
  203. ​
  204. .shop-icon-option:has(input:checked) {
  205. border-color: var(--accent);
  206. background: var(--accent-dim);
  207. color: var(--accent);
  208. }
  209. ​
  210. .shop-icon-option .icon {
  211. width: 22px;
  212. height: 22px;
  213. }
  214. ​
  215. .shop-icon-custom-wrap {
  216. display: none;
  217. margin-top: 8px;
  218. }
  219. ​
  220. .shop-icon-picker:has(input[value="custom"]:checked) + .shop-icon-custom-wrap {
  221. display: block;
  222. }
  223. ​
  224. .nav-item-icon svg {
  225. width: 100%;
  226. height: 100%;
  227. display: block;
  228. }
  229. ​
  230. .dash-shell {
  231. display: flex;
  232. min-height: 100vh;
  233. gap: 14px;
  234. padding: 14px;
  235. box-sizing: border-box;
  236. }
  237. ​
  238. .dash-sidebar {
  239. width: 250px;
  240. background: var(--panel);
  241. border: 1px solid var(--border);
  242. border-radius: var(--radius);
  243. padding: 18px 14px;
  244. display: flex;
  245. flex-direction: column;
  246. position: sticky;
  247. top: 14px;
  248. height: calc(100vh - 28px);
  249. flex-shrink: 0;
  250. box-shadow: var(--shadow-card), var(--inset-hairline);
  251. }
  252. ​
  253. .dash-brand-row {
  254. display: flex;
  255. align-items: center;
  256. justify-content: space-between;
  257. padding: 6px 8px 18px;
  258. margin-bottom: 10px;
  259. border-bottom: 1px solid var(--border);
  260. }
  261. ​
  262. .dash-brand {
  263. font-weight: 700;
  264. font-size: 15px;
  265. letter-spacing: -0.01em;
  266. display: flex;
  267. align-items: center;
  268. gap: 8px;
  269. }
  270. ​
  271. .dash-brand-dot {
  272. width: 8px;
  273. height: 8px;
  274. border-radius: 50%;
  275. background: var(--accent);
  276. flex-shrink: 0;
  277. display: none;
  278. }
  279. ​
  280. .dash-theme-toggle {
  281. background: var(--panel-alt);
  282. border: 1px solid var(--border);
  283. border-radius: 999px;
  284. width: 30px;
  285. height: 30px;
  286. display: flex;
  287. align-items: center;
  288. justify-content: center;
  289. cursor: pointer;
  290. color: var(--muted);
  291. transition: background .12s, color .12s;
  292. }
  293. ​
  294. .dash-theme-toggle:hover {
  295. background: var(--panel-hover);
  296. color: var(--text);
  297. }
  298. ​
  299. body[data-theme="light"] .dash-theme-toggle .icon-moon {
  300. display: none;
  301. }
  302. ​
  303. body[data-theme="dark"] .dash-theme-toggle .icon-sun {
  304. display: none;
  305. }
  306. ​
  307. .dash-nav {
  308. display: flex;
  309. flex-direction: column;
  310. gap: 2px;
  311. flex: 1;
  312. }
  313. ​
  314. .dash-nav a {
  315. color: var(--muted);
  316. text-decoration: none;
  317. padding: 9px 12px;
  318. border-radius: var(--radius-sm);
  319. font-size: 13.5px;
  320. font-weight: 500;
  321. display: flex;
  322. align-items: center;
  323. gap: 10px;
  324. transition: background .15s ease, color .15s ease;
  325. }
  326. ​
  327. .dash-nav a:hover {
  328. background: var(--panel-alt);
  329. color: var(--text);
  330. }
  331. ​
  332. .dash-nav a.active {
  333. background: var(--accent-dim);
  334. color: var(--accent);
  335. font-weight: 600;
  336. box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent);
  337. }
  338. ​
  339. .dash-nav a.active .icon {
  340. color: var(--accent);
  341. }
  342. ​
  343. .dash-nav-divider {
  344. height: 1px;
  345. background: var(--border);
  346. margin: 10px 4px;
  347. }
  348. ​
  349. .dash-user {
  350. border-top: 1px solid var(--border);
  351. padding-top: 14px;
  352. margin-top: 10px;
  353. display: flex;
  354. align-items: center;
  355. gap: 10px;
  356. }
  357. ​
  358. .dash-user-avatar {
  359. width: 34px;
  360. height: 34px;
  361. border-radius: 50%;
  362. background: var(--accent-dim);
  363. color: var(--accent);
  364. display: flex;
  365. align-items: center;
  366. justify-content: center;
  367. font-weight: 700;
  368. font-size: 13px;
  369. flex-shrink: 0;
  370. font-family: "Avatar Font";
  371. }
  372. ​
  373. .dash-user-info {
  374. flex: 1;
  375. min-width: 0;
  376. }
  377. ​
  378. .dash-user-name {
  379. font-weight: 600;
  380. font-size: 13px;
  381. white-space: nowrap;
  382. overflow: hidden;
  383. text-overflow: ellipsis;
  384. }
  385. ​
  386. .dash-user-role {
  387. color: var(--muted-dim);
  388. font-size: 11.5px;
  389. }
  390. ​
  391. .dash-user-logout {
  392. color: var(--muted);
  393. display: flex;
  394. align-items: center;
  395. justify-content: center;
  396. width: 30px;
  397. height: 30px;
  398. border-radius: var(--radius-sm);
  399. flex-shrink: 0;
  400. transition: background .12s, color .12s;
  401. }
  402. ​
  403. .dash-user-logout:hover {
  404. background: var(--danger-dim);
  405. color: var(--danger);
  406. }
  407. ​
  408. .dash-main {
  409. flex: 1;
  410. padding: 30px 40px;
  411. max-width: 1240px;
  412. min-width: 0;
  413. margin: 0 auto;
  414. background: var(--panel);
  415. border: 1px solid var(--border);
  416. border-radius: var(--radius);
  417. box-shadow: var(--shadow-card), var(--inset-hairline);
  418. }
  419. ​
  420. .dash-title {
  421. display: flex;
  422. align-items: center;
  423. gap: 10px;
  424. font-size: 21px;
  425. font-weight: 700;
  426. margin: 0 0 6px;
  427. letter-spacing: -0.01em;
  428. }
  429. ​
  430. .dash-subtitle {
  431. display: flex;
  432. align-items: center;
  433. gap: 8px;
  434. font-size: 15px;
  435. font-weight: 600;
  436. margin: 30px 0 14px;
  437. color: var(--text);
  438. }
  439. ​
  440. .dash-header-row {
  441. display: flex;
  442. justify-content: space-between;
  443. align-items: center;
  444. margin-bottom: 22px;
  445. gap: 16px;
  446. }
  447. ​
  448. .dash-cards {
  449. display: flex;
  450. gap: 14px;
  451. margin-bottom: 28px;
  452. flex-wrap: wrap;
  453. }
  454. ​
  455. .dash-card {
  456. background: var(--panel);
  457. border: 1px solid var(--border);
  458. border-radius: var(--radius);
  459. padding: 18px 20px;
  460. min-width: 160px;
  461. flex: 1;
  462. box-shadow: var(--shadow-card), var(--inset-hairline);
  463. transition: border-color .16s, box-shadow .16s, transform .16s;
  464. }
  465. ​
  466. .dash-card:hover {
  467. border-color: var(--border-strong);
  468. transform: translateY(-1px);
  469. }
  470. ​
  471. .dash-card .icon {
  472. color: var(--accent);
  473. margin-bottom: 10px;
  474. }
  475. ​
  476. .dash-card-value {
  477. font-size: 26px;
  478. font-weight: 700;
  479. letter-spacing: -0.02em;
  480. }
  481. ​
  482. .dash-card-label {
  483. color: var(--muted);
  484. font-size: 12.5px;
  485. margin-top: 4px;
  486. }
  487. ​
  488. .dash-table {
  489. width: 100%;
  490. border-collapse: separate;
  491. border-spacing: 0;
  492. background: var(--panel);
  493. border: 1px solid var(--border);
  494. border-radius: var(--radius);
  495. overflow: hidden;
  496. box-shadow: var(--shadow-card);
  497. margin: 0 0 16px;
  498. }
  499. ​
  500. .dash-table th,
  501. .dash-table td {
  502. padding: 12px 16px;
  503. text-align: left;
  504. font-size: 13px;
  505. border-bottom: 1px solid var(--border);
  506. }
  507. ​
  508. .dash-table tr:last-child td {
  509. border-bottom: none;
  510. }
  511. ​
  512. .dash-table th {
  513. color: var(--muted);
  514. font-weight: 600;
  515. background: var(--panel-alt);
  516. font-size: 11.5px;
  517. text-transform: uppercase;
  518. letter-spacing: 0.04em;
  519. }
  520. ​
  521. .dash-table th:has(.icon) {
  522. display: table-cell;
  523. }
  524. ​
  525. .dash-table th .icon {
  526. vertical-align: -3px;
  527. margin-right: 6px;
  528. }
  529. ​
  530. .dash-table tbody tr {
  531. transition: background .1s;
  532. }
  533. ​
  534. .dash-table tbody tr:hover {
  535. background: var(--panel-alt);
  536. }
  537. ​
  538. .dash-table a {
  539. color: var(--text);
  540. text-decoration: none;
  541. font-weight: 500;
  542. }
  543. ​
  544. .dash-table a:hover {
  545. color: var(--accent);
  546. }
  547. ​
  548. .dash-table-actions {
  549. display: flex;
  550. gap: 6px;
  551. align-items: center;
  552. }
  553. ​
  554. .status-pill {
  555. padding: 3px 10px;
  556. border-radius: 999px;
  557. font-size: 11px;
  558. font-weight: 600;
  559. text-transform: capitalize;
  560. display: inline-block;
  561. }
  562. ​
  563. .status-draft {
  564. background: var(--panel-alt);
  565. color: var(--muted);
  566. }
  567. ​
  568. .status-pending_review {
  569. background: var(--warning-dim);
  570. color: var(--warning);
  571. }
  572. ​
  573. .status-scheduled {
  574. background: var(--info-dim);
  575. color: var(--info);
  576. }
  577. ​
  578. .status-published {
  579. background: var(--success-dim);
  580. color: var(--success);
  581. }
  582. ​
  583. .status-rejected {
  584. background: var(--danger-dim);
  585. color: var(--danger);
  586. }
  587. ​
  588. .status-archived {
  589. background: var(--panel-alt);
  590. color: var(--muted-dim);
  591. }
  592. ​
  593. .status-pending {
  594. background: var(--warning-dim);
  595. color: var(--warning);
  596. }
  597. ​
  598. .status-paid,
  599. .status-processing {
  600. background: var(--info-dim);
  601. color: var(--info);
  602. }
  603. ​
  604. .status-fulfilled,
  605. .status-shipped,
  606. .status-completed {
  607. background: var(--success-dim);
  608. color: var(--success);
  609. }
  610. ​
  611. .status-canceled,
  612. .status-refunded,
  613. .status-failed {
  614. background: var(--danger-dim);
  615. color: var(--danger);
  616. }
  617. ​
  618. .dash-btn,
  619. .dash-btn-small {
  620. display: inline-flex;
  621. align-items: center;
  622. justify-content: center;
  623. gap: 6px;
  624. border: 1px solid var(--border);
  625. background: var(--panel-alt);
  626. color: var(--text);
  627. padding: 9px 16px;
  628. border-radius: var(--radius-sm);
  629. font-size: 13px;
  630. font-weight: 600;
  631. cursor: pointer;
  632. text-decoration: none;
  633. font-family: inherit;
  634. transition: background .12s, border-color .12s;
  635. }
  636. ​
  637. .dash-btn:hover,
  638. .dash-btn-small:hover {
  639. background: var(--panel-hover);
  640. border-color: var(--border-strong);
  641. }
  642. ​
  643. .dash-btn-small {
  644. padding: 6px 11px;
  645. font-size: 12px;
  646. }
  647. ​
  648. .dash-btn-primary {
  649. background: linear-gradient(155deg, var(--accent-hover), var(--accent));
  650. border-color: var(--accent);
  651. color: #fff;
  652. box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), var(--inset-hairline);
  653. transition: background .12s, border-color .12s, box-shadow .16s, transform .16s;
  654. }
  655. ​
  656. .dash-btn-primary:hover {
  657. background: linear-gradient(155deg, var(--accent-hover), var(--accent-hover));
  658. border-color: var(--accent-hover);
  659. box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 40%, transparent), var(--inset-hairline);
  660. transform: translateY(-1px);
  661. }
  662. ​
  663. .dash-btn-success {
  664. background: var(--success);
  665. border-color: var(--success);
  666. color: #06231a;
  667. }
  668. ​
  669. .dash-btn-danger {
  670. background: transparent;
  671. border-color: var(--danger);
  672. color: var(--danger);
  673. }
  674. ​
  675. .dash-btn-danger:hover {
  676. background: var(--danger-dim);
  677. }
  678. ​
  679. .dash-flash {
  680. display: flex;
  681. align-items: center;
  682. gap: 8px;
  683. padding: 11px 16px;
  684. border-radius: var(--radius-sm);
  685. font-size: 13px;
  686. font-weight: 500;
  687. margin-bottom: 20px;
  688. }
  689. ​
  690. .dash-flash-success {
  691. background: var(--success-dim);
  692. color: var(--success);
  693. }
  694. ​
  695. .dash-flash-error {
  696. background: var(--danger-dim);
  697. color: var(--danger);
  698. }
  699. ​
  700. .article-form-grid {
  701. display: flex;
  702. gap: 24px;
  703. }
  704. ​
  705. .article-form-main {
  706. flex: 1;
  707. min-width: 0;
  708. }
  709. ​
  710. .article-form-sidebar {
  711. width: 300px;
  712. display: flex;
  713. flex-direction: column;
  714. gap: 20px;
  715. flex-shrink: 0;
  716. }
  717. ​
  718. .sidebar-box {
  719. background: var(--panel);
  720. border: 1px solid var(--border);
  721. border-radius: var(--radius);
  722. padding: 18px 20px;
  723. box-shadow: var(--shadow-card), var(--inset-hairline);
  724. }
  725. ​
  726. .sidebar-box label:first-child {
  727. margin-top: 0;
  728. }
  729. ​
  730. .article-form-main > label:first-child {
  731. margin-top: 0;
  732. }
  733. ​
  734. .dash-header-row + .article-form,
  735. .dash-header-row + form {
  736. margin-top: 4px;
  737. }
  738. ​
  739. label {
  740. display: block;
  741. font-size: 12.5px;
  742. font-weight: 600;
  743. color: var(--muted);
  744. margin: 14px 0 6px;
  745. }
  746. ​
  747. label:has(.icon) {
  748. display: flex;
  749. align-items: center;
  750. gap: 6px;
  751. }
  752. ​
  753. label:first-child {
  754. margin-top: 0;
  755. }
  756. ​
  757. input[type="text"],
  758. input[type="number"],
  759. input[type="datetime-local"],
  760. input[type="password"],
  761. input[type="email"],
  762. select,
  763. textarea {
  764. width: 100%;
  765. padding: 10px 12px;
  766. border-radius: var(--radius-sm);
  767. border: 1px solid var(--border);
  768. background: var(--bg);
  769. color: var(--text);
  770. font-size: 13.5px;
  771. font-family: inherit;
  772. transition: border-color .12s, box-shadow .12s;
  773. }
  774. ​
  775. input:focus,
  776. select:focus,
  777. textarea:focus {
  778. outline: none;
  779. border-color: var(--accent);
  780. box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
  781. }
  782. ​
  783. input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  784. cursor: pointer;
  785. border-radius: 4px;
  786. padding: 2px;
  787. filter: invert(1);
  788. opacity: .7;
  789. }
  790. ​
  791. input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover {
  792. opacity: 1;
  793. }
  794. ​
  795. body[data-theme="light"] input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  796. filter: none;
  797. }
  798. ​
  799. input[type="color"] {
  800. width: 100%;
  801. height: 42px;
  802. padding: 4px;
  803. border-radius: var(--radius-sm);
  804. border: 1px solid var(--border);
  805. background: var(--bg);
  806. cursor: pointer;
  807. transition: border-color .12s, box-shadow .12s;
  808. }
  809. ​
  810. input[type="color"]::-webkit-color-swatch-wrapper {
  811. padding: 0;
  812. }
  813. ​
  814. input[type="color"]::-webkit-color-swatch {
  815. border: none;
  816. border-radius: 6px;
  817. }
  818. ​
  819. input[type="color"]::-moz-color-swatch {
  820. border: none;
  821. border-radius: 6px;
  822. }
  823. ​
  824. input[type="color"]:focus {
  825. outline: none;
  826. border-color: var(--accent);
  827. box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
  828. }
  829. ​
  830. .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"]) {
  831. appearance: none;
  832. -webkit-appearance: none;
  833. width: 38px;
  834. height: 22px;
  835. border-radius: 999px;
  836. background: var(--panel-alt);
  837. border: 1px solid var(--border);
  838. position: relative;
  839. flex-shrink: 0;
  840. cursor: pointer;
  841. transition: background .15s, border-color .15s;
  842. vertical-align: middle;
  843. margin: 0;
  844. }
  845. ​
  846. .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"])::before {
  847. content: "";
  848. position: absolute;
  849. top: 2px;
  850. left: 2px;
  851. width: 16px;
  852. height: 16px;
  853. border-radius: 50%;
  854. background: var(--muted);
  855. transition: transform .15s, background .15s;
  856. }
  857. ​
  858. .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"]):checked {
  859. background: var(--accent);
  860. border-color: var(--accent);
  861. }
  862. ​
  863. .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"]):checked::before {
  864. transform: translateX(16px);
  865. background: #fff;
  866. }
  867. ​
  868. .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"]):focus-visible {
  869. outline: 2px solid var(--accent);
  870. outline-offset: 2px;
  871. }
  872. ​
  873. .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"]):disabled {
  874. opacity: .5;
  875. cursor: not-allowed;
  876. }
  877. ​
  878. .dash-main label:has(> input[type="checkbox"]) {
  879. display: flex;
  880. align-items: center;
  881. gap: 10px;
  882. cursor: pointer;
  883. }
  884. ​
  885. .dash-input-inline {
  886. width: auto;
  887. display: inline-block;
  888. margin-right: 8px;
  889. }
  890. ​
  891. .publish-actions {
  892. display: flex;
  893. flex-wrap: wrap;
  894. gap: 8px;
  895. margin-top: 16px;
  896. }
  897. ​
  898. .two-col {
  899. display: flex;
  900. gap: 28px;
  901. }
  902. ​
  903. .two-col>div {
  904. flex: 1;
  905. }
  906. ​
  907. #block-editor-root {
  908. border: 1px solid var(--border);
  909. border-radius: var(--radius);
  910. padding: 10px;
  911. background: var(--bg);
  912. max-width: 100%;
  913. }
  914. ​
  915. #block-editor-root:not(.be-hide-block-icons) {
  916. padding-left: 32px;
  917. }
  918. ​
  919. .be-stats-bar {
  920. display: flex;
  921. justify-content: space-between;
  922. align-items: center;
  923. gap: 10px;
  924. margin-top: 8px;
  925. padding: 0 2px;
  926. font-size: 11.5px;
  927. color: var(--muted-dim);
  928. }
  929. ​
  930. .be-focus-toggle-btn {
  931. background: var(--panel-alt);
  932. border: 1px solid var(--border);
  933. color: var(--text);
  934. padding: 5px 10px;
  935. border-radius: var(--radius-sm);
  936. font-size: 11.5px;
  937. font-weight: 600;
  938. cursor: pointer;
  939. font-family: inherit;
  940. transition: background .12s, border-color .12s;
  941. }
  942. ​
  943. .be-focus-toggle-btn:hover {
  944. background: var(--panel-hover);
  945. border-color: var(--border-strong);
  946. }
  947. ​
  948. .be-draft-banner {
  949. display: flex;
  950. align-items: center;
  951. gap: 10px;
  952. padding: 10px 14px;
  953. margin-bottom: 10px;
  954. background: var(--warning-dim);
  955. border: 1px solid var(--warning);
  956. border-radius: var(--radius-sm);
  957. font-size: 13px;
  958. color: var(--text);
  959. }
  960. ​
  961. .be-draft-banner span {
  962. flex: 1;
  963. }
  964. ​
  965. .be-draft-banner button {
  966. background: var(--panel-alt);
  967. border: 1px solid var(--border);
  968. color: var(--text);
  969. padding: 6px 12px;
  970. border-radius: var(--radius-sm);
  971. font-size: 12.5px;
  972. font-weight: 600;
  973. cursor: pointer;
  974. font-family: inherit;
  975. transition: background .12s;
  976. }
  977. ​
  978. .be-draft-banner button:hover {
  979. background: var(--panel-hover);
  980. }
  981. ​
  982. body.be-focus-mode .dash-sidebar,
  983. body.be-focus-mode .dash-header-row,
  984. body.be-focus-mode .article-form-sidebar {
  985. display: none;
  986. }
  987. ​
  988. body.be-focus-mode .article-form-grid {
  989. justify-content: center;
  990. }
  991. ​
  992. body.be-focus-mode .article-form-main {
  993. max-width: 820px;
  994. width: 100%;
  995. }
  996. ​
  997. body.be-focus-mode .article-form-main input[type="text"],
  998. body.be-focus-mode .article-form-main textarea {
  999. font-size: 15.5px;
  1000. }
  1001. ​
  1002. body.be-focus-mode .be-editable {
  1003. font-size: 16.5px;
  1004. line-height: 1.8;
  1005. }
  1006. ​
  1007. body.be-focus-mode .be-heading {
  1008. font-size: 22px;
  1009. }
  1010. ​
  1011. .be-block {
  1012. position: relative;
  1013. padding: 10px 8px;
  1014. border-radius: var(--radius-sm);
  1015. margin-bottom: 4px;
  1016. transition: background .12s;
  1017. max-width: 100%;
  1018. }
  1019. ​
  1020. .be-block:hover {
  1021. background: var(--panel-alt);
  1022. }
  1023. ​
  1024. .be-block-icon-badge {
  1025. position: absolute;
  1026. top: 10px;
  1027. left: -22px;
  1028. width: 18px;
  1029. height: 18px;
  1030. display: flex;
  1031. align-items: center;
  1032. justify-content: center;
  1033. color: var(--muted-dim);
  1034. }
  1035. ​
  1036. .be-block-icon-badge svg {
  1037. width: 15px;
  1038. height: 15px;
  1039. }
  1040. ​
  1041. .be-hide-block-icons .be-block-icon-badge {
  1042. display: none;
  1043. }
  1044. ​
  1045. .be-block-toolbar {
  1046. display: flex;
  1047. gap: 2px;
  1048. align-items: center;
  1049. opacity: 0;
  1050. transition: opacity .12s;
  1051. position: absolute;
  1052. top: -30px;
  1053. right: 4px;
  1054. background: var(--panel);
  1055. border: 1px solid var(--border);
  1056. border-radius: var(--radius-sm);
  1057. padding: 2px;
  1058. z-index: 5;
  1059. box-shadow: var(--shadow-sm), var(--inset-hairline);
  1060. }
  1061. ​
  1062. .be-block:hover .be-block-toolbar,
  1063. .be-block:focus-within .be-block-toolbar {
  1064. opacity: 1;
  1065. }
  1066. ​
  1067. .be-block-toolbar button {
  1068. background: none;
  1069. border: none;
  1070. color: var(--muted);
  1071. cursor: pointer;
  1072. padding: 5px;
  1073. border-radius: 5px;
  1074. display: flex;
  1075. align-items: center;
  1076. justify-content: center;
  1077. transition: background .12s, color .12s;
  1078. }
  1079. ​
  1080. .be-block-toolbar button:hover {
  1081. background: var(--panel-hover);
  1082. color: var(--text);
  1083. }
  1084. ​
  1085. .be-block-type {
  1086. font-size: 10px;
  1087. color: var(--muted-dim);
  1088. padding: 0 6px;
  1089. text-transform: uppercase;
  1090. font-weight: 600;
  1091. letter-spacing: 0.03em;
  1092. }
  1093. ​
  1094. .be-inline-toolbar {
  1095. position: absolute;
  1096. display: flex;
  1097. gap: 2px;
  1098. align-items: center;
  1099. background: var(--panel);
  1100. border: 1px solid var(--border);
  1101. border-radius: var(--radius-sm);
  1102. padding: 4px;
  1103. z-index: 200;
  1104. box-shadow: var(--shadow-md), var(--inset-hairline);
  1105. max-width: calc(100vw - 16px);
  1106. }
  1107. ​
  1108. .be-inline-toolbar button {
  1109. width: 26px;
  1110. height: 26px;
  1111. background: none;
  1112. border: none;
  1113. color: var(--text);
  1114. cursor: pointer;
  1115. border-radius: 5px;
  1116. font-size: 13px;
  1117. font-weight: 700;
  1118. display: flex;
  1119. align-items: center;
  1120. justify-content: center;
  1121. font-family: inherit;
  1122. transition: background .12s, color .12s;
  1123. flex-shrink: 0;
  1124. }
  1125. ​
  1126. .be-inline-toolbar button:hover {
  1127. background: var(--accent);
  1128. color: #fff;
  1129. }
  1130. ​
  1131. .be-inline-toolbar .be-clear-format-btn {
  1132. font-size: 11px;
  1133. margin-left: 2px;
  1134. }
  1135. ​
  1136. .be-color-trigger {
  1137. width: 26px;
  1138. height: 26px;
  1139. padding: 4px 0 6px;
  1140. border: none;
  1141. border-radius: 5px;
  1142. background: none;
  1143. color: var(--text);
  1144. cursor: pointer;
  1145. display: flex;
  1146. flex-direction: column;
  1147. align-items: center;
  1148. justify-content: center;
  1149. gap: 2px;
  1150. transition: background .12s;
  1151. }
  1152. ​
  1153. .be-color-trigger:hover {
  1154. background: var(--panel-hover);
  1155. }
  1156. ​
  1157. .be-color-trigger-letter {
  1158. font-size: 13px;
  1159. font-weight: 700;
  1160. line-height: 1;
  1161. }
  1162. ​
  1163. .be-color-trigger-bar {
  1164. width: 16px;
  1165. height: 3px;
  1166. border-radius: 2px;
  1167. flex-shrink: 0;
  1168. }
  1169. ​
  1170. .be-color-popover {
  1171. position: absolute;
  1172. display: flex;
  1173. flex-direction: column;
  1174. gap: 10px;
  1175. background: var(--panel);
  1176. border: 1px solid var(--border);
  1177. border-radius: var(--radius-sm);
  1178. padding: 12px;
  1179. z-index: 210;
  1180. box-shadow: var(--shadow-md), var(--inset-hairline);
  1181. width: 220px;
  1182. max-width: calc(100vw - 16px);
  1183. }
  1184. ​
  1185. .be-color-popover-row {
  1186. display: flex;
  1187. flex-direction: column;
  1188. gap: 6px;
  1189. }
  1190. ​
  1191. .be-color-popover-label {
  1192. font-size: 10.5px;
  1193. color: var(--muted-dim);
  1194. text-transform: uppercase;
  1195. font-weight: 600;
  1196. letter-spacing: 0.03em;
  1197. }
  1198. ​
  1199. .be-color-popover-swatches {
  1200. display: flex;
  1201. flex-wrap: wrap;
  1202. gap: 6px;
  1203. }
  1204. ​
  1205. .be-color-swatch {
  1206. width: 22px;
  1207. height: 22px;
  1208. border-radius: 6px;
  1209. border: 1px solid var(--border);
  1210. cursor: pointer;
  1211. padding: 0;
  1212. flex-shrink: 0;
  1213. transition: transform .1s, border-color .1s;
  1214. }
  1215. ​
  1216. .be-color-swatch:hover {
  1217. transform: scale(1.1);
  1218. border-color: var(--border-strong);
  1219. }
  1220. ​
  1221. .be-color-swatch-preview {
  1222. cursor: default;
  1223. width: 26px;
  1224. height: 26px;
  1225. }
  1226. ​
  1227. .be-color-swatch-preview:hover {
  1228. transform: none;
  1229. border-color: var(--border);
  1230. }
  1231. ​
  1232. .be-color-popover-hex-row {
  1233. display: flex;
  1234. align-items: center;
  1235. gap: 8px;
  1236. }
  1237. ​
  1238. input.be-color-hex-input {
  1239. flex: 1;
  1240. width: auto;
  1241. padding: 6px 8px;
  1242. font-size: 12.5px;
  1243. font-family: "SF Mono", Consolas, monospace;
  1244. text-transform: uppercase;
  1245. }
  1246. ​
  1247. .be-color-reset-btn {
  1248. background: var(--panel-alt);
  1249. border: 1px solid var(--border);
  1250. color: var(--text);
  1251. padding: 7px 10px;
  1252. border-radius: var(--radius-sm);
  1253. font-size: 12.5px;
  1254. font-weight: 600;
  1255. cursor: pointer;
  1256. font-family: inherit;
  1257. transition: background .12s, border-color .12s;
  1258. }
  1259. ​
  1260. .be-color-reset-btn:hover {
  1261. background: var(--panel-hover);
  1262. border-color: var(--border-strong);
  1263. }
  1264. ​
  1265. .be-color-swatch-custom {
  1266. background: conic-gradient(from 90deg, red, yellow, lime, cyan, blue, magenta, red);
  1267. }
  1268. ​
  1269. .be-color-custom-panel {
  1270. display: none;
  1271. flex-direction: column;
  1272. gap: 10px;
  1273. }
  1274. ​
  1275. .be-color-custom-panel.open {
  1276. display: flex;
  1277. }
  1278. ​
  1279. .be-color-sv-area {
  1280. position: relative;
  1281. width: 100%;
  1282. height: 130px;
  1283. border-radius: var(--radius-sm);
  1284. border: 1px solid var(--border);
  1285. cursor: crosshair;
  1286. touch-action: none;
  1287. }
  1288. ​
  1289. .be-color-sv-cursor {
  1290. position: absolute;
  1291. width: 14px;
  1292. height: 14px;
  1293. border-radius: 50%;
  1294. border: 2px solid #fff;
  1295. box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), var(--shadow-sm);
  1296. transform: translate(-50%, -50%);
  1297. pointer-events: none;
  1298. }
  1299. ​
  1300. .be-color-hue-slider {
  1301. position: relative;
  1302. width: 100%;
  1303. height: 12px;
  1304. border-radius: 999px;
  1305. border: 1px solid var(--border);
  1306. background: linear-gradient(to right, red, yellow, lime, cyan, blue, magenta, red);
  1307. cursor: pointer;
  1308. touch-action: none;
  1309. }
  1310. ​
  1311. .be-color-hue-handle {
  1312. position: absolute;
  1313. top: 50%;
  1314. width: 16px;
  1315. height: 16px;
  1316. border-radius: 50%;
  1317. border: 2px solid #fff;
  1318. box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), var(--shadow-sm);
  1319. transform: translate(-50%, -50%);
  1320. pointer-events: none;
  1321. background: var(--panel);
  1322. }
  1323. ​
  1324. .be-editable a {
  1325. color: var(--accent);
  1326. }
  1327. ​
  1328. .be-editable code {
  1329. background: var(--panel-alt);
  1330. padding: 1px 5px;
  1331. border-radius: 4px;
  1332. font-family: "SF Mono", Consolas, monospace;
  1333. font-size: 0.9em;
  1334. }
  1335. ​
  1336. .be-editable {
  1337. min-height: 1.4em;
  1338. outline: none;
  1339. font-size: 14.5px;
  1340. line-height: 1.65;
  1341. font-family: var(--dash-font-content, inherit);
  1342. overflow-wrap: break-word;
  1343. word-break: break-word;
  1344. }
  1345. ​
  1346. .be-heading {
  1347. font-size: 19px;
  1348. font-weight: 700;
  1349. }
  1350. ​
  1351. .be-block-menu {
  1352. position: absolute;
  1353. background: var(--panel);
  1354. border: 1px solid var(--border);
  1355. border-radius: var(--radius-sm);
  1356. padding: 4px;
  1357. display: flex;
  1358. flex-direction: column;
  1359. z-index: 100;
  1360. box-shadow: var(--shadow-md), var(--inset-hairline);
  1361. max-width: calc(100vw - 16px);
  1362. max-height: 60vh;
  1363. overflow-y: auto;
  1364. }
  1365. ​
  1366. .be-block-menu button {
  1367. background: none;
  1368. border: none;
  1369. color: var(--text);
  1370. text-align: left;
  1371. padding: 8px 12px;
  1372. cursor: pointer;
  1373. border-radius: 5px;
  1374. font-size: 13px;
  1375. font-family: inherit;
  1376. transition: background .12s, color .12s;
  1377. }
  1378. ​
  1379. .be-block-menu button:hover {
  1380. background: var(--accent);
  1381. color: #fff;
  1382. }
  1383. ​
  1384. .be-block-body {
  1385. display: flex;
  1386. flex-direction: column;
  1387. gap: 10px;
  1388. }
  1389. ​
  1390. .be-preview-image,
  1391. .be-preview-video {
  1392. max-width: 100%;
  1393. border-radius: var(--radius-sm);
  1394. }
  1395. ​
  1396. .be-upload-wrapper {
  1397. display: flex;
  1398. align-items: center;
  1399. gap: 10px;
  1400. }
  1401. ​
  1402. .be-upload-wrapper button {
  1403. background: var(--panel-alt);
  1404. border: 1px solid var(--border);
  1405. color: var(--text);
  1406. padding: 6px 12px;
  1407. border-radius: 6px;
  1408. font-size: 12px;
  1409. cursor: pointer;
  1410. font-family: inherit;
  1411. }
  1412. ​
  1413. .be-upload-status {
  1414. font-size: 12px;
  1415. color: var(--muted);
  1416. }
  1417. ​
  1418. .be-code {
  1419. width: 100%;
  1420. min-height: 100px;
  1421. font-family: "SF Mono", Consolas, monospace;
  1422. font-size: 13px;
  1423. background: var(--bg);
  1424. }
  1425. ​
  1426. .be-editable ul,
  1427. .be-editable ol {
  1428. margin: 6px 0;
  1429. padding-left: 26px;
  1430. }
  1431. ​
  1432. .be-editable li {
  1433. margin: 2px 0;
  1434. padding-left: 2px;
  1435. }
  1436. ​
  1437. .be-editable li::marker {
  1438. color: var(--accent);
  1439. }
  1440. ​
  1441. .be-editable ol li::marker {
  1442. font-weight: 600;
  1443. font-variant-numeric: tabular-nums;
  1444. }
  1445. ​
  1446. .be-editable ul ul {
  1447. list-style-type: circle;
  1448. }
  1449. ​
  1450. .be-inline-toolbar .be-list-format-btn svg {
  1451. display: block;
  1452. }
  1453. ​
  1454. .be-inline-toolbar .be-list-format-btn.is-active {
  1455. color: var(--accent);
  1456. background: color-mix(in srgb, var(--accent) 14%, transparent);
  1457. }
  1458. ​
  1459. .be-segmented {
  1460. display: inline-flex;
  1461. gap: 2px;
  1462. padding: 3px;
  1463. margin-bottom: 10px;
  1464. border: 1px solid var(--border);
  1465. border-radius: 10px;
  1466. background: var(--bg);
  1467. }
  1468. ​
  1469. .be-segmented-btn {
  1470. display: inline-flex;
  1471. align-items: center;
  1472. gap: 7px;
  1473. padding: 6px 12px;
  1474. border: 0;
  1475. border-radius: 7px;
  1476. background: transparent;
  1477. color: var(--muted);
  1478. font: inherit;
  1479. font-size: 12.5px;
  1480. font-weight: 600;
  1481. cursor: pointer;
  1482. transition: background .12s, color .12s;
  1483. }
  1484. ​
  1485. .be-segmented-btn:hover {
  1486. color: var(--text);
  1487. }
  1488. ​
  1489. .be-segmented-btn.is-active {
  1490. background: var(--panel);
  1491. color: var(--text);
  1492. box-shadow: 0 1px 2px rgba(0, 0, 0, .12), inset 0 0 0 1px var(--border);
  1493. }
  1494. ​
  1495. .be-segmented-mark {
  1496. min-width: 12px;
  1497. color: var(--accent);
  1498. font-weight: 700;
  1499. text-align: center;
  1500. }
  1501. ​
  1502. .be-items {
  1503. display: flex;
  1504. flex-direction: column;
  1505. gap: 2px;
  1506. }
  1507. ​
  1508. .be-item-row {
  1509. position: relative;
  1510. display: flex;
  1511. align-items: center;
  1512. gap: 6px;
  1513. padding: 2px 4px 2px 0;
  1514. border-radius: 8px;
  1515. transition: background .12s, opacity .12s;
  1516. }
  1517. ​
  1518. .be-item-row:hover,
  1519. .be-item-row:focus-within {
  1520. background: color-mix(in srgb, var(--text) 4%, transparent);
  1521. }
  1522. ​
  1523. .be-item-row.is-dragging {
  1524. opacity: .45;
  1525. }
  1526. ​
  1527. .be-drop-before {
  1528. box-shadow: inset 0 2px 0 var(--accent);
  1529. }
  1530. ​
  1531. .be-drop-after {
  1532. box-shadow: inset 0 -2px 0 var(--accent);
  1533. }
  1534. ​
  1535. .be-item-grip {
  1536. display: inline-flex;
  1537. align-items: center;
  1538. justify-content: center;
  1539. flex-shrink: 0;
  1540. width: 22px;
  1541. height: 28px;
  1542. padding: 0;
  1543. border: 0;
  1544. border-radius: 6px;
  1545. background: transparent;
  1546. color: var(--muted);
  1547. cursor: grab;
  1548. opacity: 0;
  1549. transition: opacity .12s, background .12s;
  1550. }
  1551. ​
  1552. .be-item-grip:active {
  1553. cursor: grabbing;
  1554. }
  1555. ​
  1556. .be-item-row:hover .be-item-grip,
  1557. .be-item-row:focus-within .be-item-grip,
  1558. .be-table-row:hover .be-item-grip,
  1559. .be-table-row:focus-within .be-item-grip {
  1560. opacity: .8;
  1561. }
  1562. ​
  1563. .be-item-grip:hover {
  1564. background: var(--panel-hover);
  1565. }
  1566. ​
  1567. .be-item-marker {
  1568. flex-shrink: 0;
  1569. min-width: 20px;
  1570. color: var(--accent);
  1571. font-size: 14px;
  1572. font-weight: 700;
  1573. font-variant-numeric: tabular-nums;
  1574. text-align: right;
  1575. }
  1576. ​
  1577. .be-items.is-bullets .be-item-marker {
  1578. font-size: 18px;
  1579. line-height: 1;
  1580. text-align: center;
  1581. }
  1582. ​
  1583. .be-block .be-item-check {
  1584. flex-shrink: 0;
  1585. width: 17px;
  1586. height: 17px;
  1587. margin: 0 2px;
  1588. accent-color: var(--accent);
  1589. cursor: pointer;
  1590. }
  1591. ​
  1592. .be-item-row.is-done .be-item-input {
  1593. color: var(--muted);
  1594. text-decoration: line-through;
  1595. }
  1596. ​
  1597. .be-block-body .be-item-input {
  1598. flex: 1;
  1599. min-width: 0;
  1600. padding: 7px 10px;
  1601. border-color: transparent;
  1602. background: transparent;
  1603. font-size: 14px;
  1604. }
  1605. ​
  1606. .be-block-body .be-item-input:hover {
  1607. border-color: var(--border);
  1608. }
  1609. ​
  1610. .be-block-body .be-item-input:focus {
  1611. background: var(--bg);
  1612. }
  1613. ​
  1614. .be-item-actions,
  1615. .be-table-tools {
  1616. display: inline-flex;
  1617. align-items: center;
  1618. gap: 2px;
  1619. flex-shrink: 0;
  1620. opacity: 0;
  1621. transition: opacity .12s;
  1622. }
  1623. ​
  1624. .be-item-row:hover .be-item-actions,
  1625. .be-item-row:focus-within .be-item-actions,
  1626. .be-table-row:hover .be-table-tools,
  1627. .be-table-row:focus-within .be-table-tools,
  1628. .be-table-colbar:hover .be-table-tools,
  1629. .be-table:focus-within .be-table-colbar .be-table-tools {
  1630. opacity: 1;
  1631. }
  1632. ​
  1633. .be-item-action {
  1634. display: inline-flex;
  1635. align-items: center;
  1636. justify-content: center;
  1637. width: 26px;
  1638. height: 26px;
  1639. padding: 0;
  1640. border: 1px solid transparent;
  1641. border-radius: 6px;
  1642. background: transparent;
  1643. color: var(--muted);
  1644. cursor: pointer;
  1645. transition: background .12s, color .12s, border-color .12s;
  1646. }
  1647. ​
  1648. .be-item-action svg {
  1649. display: block;
  1650. }
  1651. ​
  1652. .be-item-action:hover:not(:disabled) {
  1653. border-color: var(--border);
  1654. background: var(--panel);
  1655. color: var(--text);
  1656. }
  1657. ​
  1658. .be-item-action.be-item-remove:hover:not(:disabled) {
  1659. color: var(--danger, #e5484d);
  1660. }
  1661. ​
  1662. .be-item-action:disabled {
  1663. opacity: .3;
  1664. cursor: default;
  1665. }
  1666. ​
  1667. .be-rotate-left svg {
  1668. transform: rotate(-90deg);
  1669. }
  1670. ​
  1671. .be-add-item {
  1672. display: inline-flex;
  1673. align-items: center;
  1674. gap: 6px;
  1675. margin-top: 8px;
  1676. padding: 7px 12px;
  1677. border: 1px dashed var(--border-strong, var(--border));
  1678. border-radius: 8px;
  1679. background: transparent;
  1680. color: var(--muted);
  1681. font: inherit;
  1682. font-size: 12.5px;
  1683. font-weight: 600;
  1684. cursor: pointer;
  1685. transition: background .12s, color .12s, border-color .12s;
  1686. }
  1687. ​
  1688. .be-add-item:hover {
  1689. border-color: var(--accent);
  1690. background: color-mix(in srgb, var(--accent) 8%, transparent);
  1691. color: var(--accent);
  1692. }
  1693. ​
  1694. .be-add-item svg {
  1695. display: block;
  1696. }
  1697. ​
  1698. .be-items-hint {
  1699. margin: 8px 0 0;
  1700. color: var(--muted);
  1701. font-size: 11.5px;
  1702. opacity: 0;
  1703. transition: opacity .12s;
  1704. }
  1705. ​
  1706. .be-block:focus-within .be-items-hint {
  1707. opacity: .85;
  1708. }
  1709. ​
  1710. .be-table-scroll {
  1711. max-width: 100%;
  1712. overflow-x: auto;
  1713. margin-top: 4px;
  1714. }
  1715. ​
  1716. .be-table {
  1717. width: 100%;
  1718. border-collapse: separate;
  1719. border-spacing: 0;
  1720. }
  1721. ​
  1722. .be-table .be-table-colbar th {
  1723. padding: 0 4px 4px;
  1724. font-weight: 400;
  1725. text-align: center;
  1726. }
  1727. ​
  1728. .be-table .be-table-colbar .be-table-tools {
  1729. justify-content: center;
  1730. }
  1731. ​
  1732. .be-table td {
  1733. padding: 0;
  1734. border-right: 1px solid var(--border);
  1735. border-bottom: 1px solid var(--border);
  1736. }
  1737. ​
  1738. .be-table .be-table-row:first-of-type td,
  1739. .be-table .be-table-colbar + .be-table-row td {
  1740. border-top: 1px solid var(--border);
  1741. }
  1742. ​
  1743. .be-table .be-table-row td:nth-child(2) {
  1744. border-left: 1px solid var(--border);
  1745. }
  1746. ​
  1747. .be-table .be-table-colbar + .be-table-row td:nth-child(2) {
  1748. border-top-left-radius: 8px;
  1749. }
  1750. ​
  1751. .be-table .be-table-colbar + .be-table-row td:nth-last-child(2) {
  1752. border-top-right-radius: 8px;
  1753. }
  1754. ​
  1755. .be-table .be-table-row:last-child td:nth-child(2) {
  1756. border-bottom-left-radius: 8px;
  1757. }
  1758. ​
  1759. .be-table .be-table-row:last-child td:nth-last-child(2) {
  1760. border-bottom-right-radius: 8px;
  1761. }
  1762. ​
  1763. .be-table .be-table-grip-cell,
  1764. .be-table .be-table-row-actions {
  1765. width: 1%;
  1766. padding: 0 4px;
  1767. border: 0 !important;
  1768. background: transparent;
  1769. white-space: nowrap;
  1770. }
  1771. ​
  1772. .be-table .be-table-row.is-dragging {
  1773. opacity: .45;
  1774. }
  1775. ​
  1776. .be-block-body .be-table input {
  1777. min-width: 110px;
  1778. padding: 8px 10px;
  1779. border: 0;
  1780. border-radius: 0;
  1781. background: transparent;
  1782. font-size: 13.5px;
  1783. }
  1784. ​
  1785. .be-block-body .be-table input:focus {
  1786. background: var(--bg);
  1787. box-shadow: inset 0 0 0 2px var(--accent);
  1788. }
  1789. ​
  1790. .be-table-controls {
  1791. display: flex;
  1792. gap: 8px;
  1793. margin-top: 2px;
  1794. }
  1795. ​
  1796. .be-callout {
  1797. padding: 10px 12px 12px;
  1798. border: 1px solid var(--border);
  1799. border-left: 4px solid var(--callout-color, var(--accent));
  1800. border-radius: 10px;
  1801. background: color-mix(in srgb, var(--callout-color, var(--accent)) 7%, transparent);
  1802. }
  1803. ​
  1804. .be-callout-info {
  1805. --callout-color: #4fb2e8;
  1806. }
  1807. ​
  1808. .be-callout-warning {
  1809. --callout-color: #eab23d;
  1810. }
  1811. ​
  1812. .be-callout-success {
  1813. --callout-color: #34c48c;
  1814. }
  1815. ​
  1816. .be-callout-danger {
  1817. --callout-color: #f0546a;
  1818. }
  1819. ​
  1820. .be-block-body .be-callout-select {
  1821. width: auto;
  1822. margin-bottom: 8px;
  1823. padding: 5px 10px;
  1824. font-size: 12.5px;
  1825. font-weight: 600;
  1826. }
  1827. ​
  1828. .be-callout-text {
  1829. min-height: 1.6em;
  1830. }
  1831. ​
  1832. .be-block-body hr {
  1833. height: 0;
  1834. margin: 14px 0;
  1835. border: 0;
  1836. border-top: 2px dashed var(--border);
  1837. }
  1838. ​
  1839. @media (hover: none) {
  1840. .be-item-grip,
  1841. .be-item-actions,
  1842. .be-table-tools {
  1843. opacity: 1;
  1844. }
  1845. }
  1846. ​
  1847. .settings-tabs {
  1848. display: flex;
  1849. gap: 4px;
  1850. border-bottom: 1px solid var(--border);
  1851. margin-bottom: 24px;
  1852. }
  1853. ​
  1854. .settings-tabs a {
  1855. display: inline-flex;
  1856. align-items: center;
  1857. gap: 7px;
  1858. padding: 10px 16px;
  1859. color: var(--muted);
  1860. text-decoration: none;
  1861. font-size: 13px;
  1862. font-weight: 600;
  1863. border-bottom: 2px solid transparent;
  1864. }
  1865. ​
  1866. .settings-tabs a.active {
  1867. color: var(--text);
  1868. border-bottom-color: var(--accent);
  1869. }
  1870. ​
  1871. .settings-section {
  1872. max-width: 640px;
  1873. }
  1874. ​
  1875. .settings-section + .settings-section {
  1876. margin-top: 36px;
  1877. padding-top: 32px;
  1878. border-top: 1px solid var(--border);
  1879. }
  1880. ​
  1881. .settings-grid {
  1882. display: grid;
  1883. grid-template-columns: repeat(2, minmax(0, 1fr));
  1884. gap: 12px;
  1885. }
  1886. ​
  1887. .settings-grid > div {
  1888. min-width: 0;
  1889. }
  1890. ​
  1891. .share-settings-platform {
  1892. display: inline-flex !important;
  1893. align-items: center;
  1894. gap: 6px;
  1895. }
  1896. ​
  1897. .share-settings-platform-icon {
  1898. width: 16px;
  1899. height: 16px;
  1900. display: inline-flex;
  1901. }
  1902. ​
  1903. .share-settings-platform-icon svg {
  1904. width: 100%;
  1905. height: 100%;
  1906. fill: currentColor;
  1907. }
  1908. ​
  1909. .lang-row {
  1910. display: flex;
  1911. gap: 12px;
  1912. align-items: center;
  1913. margin-bottom: 8px;
  1914. }
  1915. ​
  1916. .lang-row-key {
  1917. width: 220px;
  1918. font-size: 12px;
  1919. color: var(--muted);
  1920. flex-shrink: 0;
  1921. }
  1922. ​
  1923. .dash-mobile-topbar {
  1924. display: none;
  1925. }
  1926. ​
  1927. .dash-nav-more-btn {
  1928. display: none;
  1929. }
  1930. ​
  1931. .dash-nav-sheet-backdrop {
  1932. display: none;
  1933. }
  1934. ​
  1935. @media (max-width: 860px) {
  1936. .dash-main {
  1937. padding: 20px 16px 84px;
  1938. max-width: 100%;
  1939. flex: 1 0 auto;
  1940. width: 100%;
  1941. box-sizing: border-box;
  1942. background: var(--panel);
  1943. border: none;
  1944. border-top: 1px solid var(--border);
  1945. border-radius: 24px 24px 0 0;
  1946. box-shadow: var(--inset-hairline);
  1947. }
  1948. ​
  1949. .dash-header-row {
  1950. flex-wrap: wrap;
  1951. }
  1952. ​
  1953. .dash-header-row .dash-btn,
  1954. .dash-header-row .dash-btn-primary {
  1955. flex: 1;
  1956. }
  1957. ​
  1958. .dash-title {
  1959. font-size: 18px;
  1960. }
  1961. ​
  1962. .dash-cards {
  1963. flex-wrap: nowrap;
  1964. overflow-x: auto;
  1965. -webkit-overflow-scrolling: touch;
  1966. scroll-snap-type: x mandatory;
  1967. margin: 0 -16px 24px;
  1968. padding: 0 16px 4px;
  1969. }
  1970. ​
  1971. .dash-card {
  1972. min-width: 150px;
  1973. scroll-snap-align: start;
  1974. }
  1975. ​
  1976. .dash-table,
  1977. .dash-table thead,
  1978. .dash-table tbody,
  1979. .dash-table th,
  1980. .dash-table td,
  1981. .dash-table tr {
  1982. display: block;
  1983. }
  1984. ​
  1985. .dash-table thead {
  1986. display: none;
  1987. }
  1988. ​
  1989. .dash-table tbody tr {
  1990. border-bottom: 1px solid var(--border);
  1991. padding: 12px 14px;
  1992. }
  1993. ​
  1994. .dash-table tbody tr:last-child {
  1995. border-bottom: none;
  1996. }
  1997. ​
  1998. .dash-table td {
  1999. border-bottom: none;
  2000. padding: 5px 0;
  2001. display: flex;
  2002. justify-content: space-between;
  2003. align-items: center;
  2004. gap: 10px;
  2005. text-align: right;
  2006. }
  2007. ​
  2008. .dash-table td::before {
  2009. content: attr(data-label);
  2010. color: var(--muted);
  2011. font-size: 11.5px;
  2012. font-weight: 600;
  2013. text-transform: uppercase;
  2014. letter-spacing: 0.03em;
  2015. text-align: left;
  2016. flex-shrink: 0;
  2017. }
  2018. ​
  2019. .dash-table td:empty {
  2020. display: none;
  2021. }
  2022. ​
  2023. .dash-table-actions {
  2024. justify-content: flex-end;
  2025. flex-wrap: wrap;
  2026. }
  2027. ​
  2028. .article-form-grid,
  2029. .two-col {
  2030. flex-direction: column;
  2031. gap: 16px;
  2032. }
  2033. ​
  2034. .article-form-sidebar {
  2035. width: 100%;
  2036. }
  2037. ​
  2038. .settings-tabs {
  2039. overflow-x: auto;
  2040. -webkit-overflow-scrolling: touch;
  2041. flex-wrap: nowrap;
  2042. white-space: nowrap;
  2043. }
  2044. ​
  2045. .lang-row {
  2046. flex-wrap: wrap;
  2047. }
  2048. ​
  2049. .lang-row-key {
  2050. width: 100%;
  2051. }
  2052. ​
  2053. .dash-shell {
  2054. flex-direction: column;
  2055. gap: 0;
  2056. padding: 0;
  2057. }
  2058. ​
  2059. .dash-mobile-topbar {
  2060. display: flex;
  2061. align-items: center;
  2062. justify-content: space-between;
  2063. position: sticky;
  2064. top: 0;
  2065. z-index: 50;
  2066. background: var(--bg);
  2067. border-bottom: none;
  2068. padding: 12px 16px;
  2069. }
  2070. ​
  2071. .dash-mobile-topbar::after {
  2072. content: '';
  2073. position: absolute;
  2074. left: 0;
  2075. right: 0;
  2076. top: 100%;
  2077. height: 24px;
  2078. pointer-events: none;
  2079. background:
  2080. radial-gradient(circle at 100% 100%, transparent 23.5px, var(--bg) 24.5px) left top / 24px 24px no-repeat,
  2081. radial-gradient(circle at 0 100%, transparent 23.5px, var(--bg) 24.5px) right top / 24px 24px no-repeat;
  2082. }
  2083. ​
  2084. .dash-mobile-topbar .dash-brand {
  2085. font-size: 14px;
  2086. }
  2087. ​
  2088. .dash-mobile-topbar-right {
  2089. display: flex;
  2090. align-items: center;
  2091. gap: 8px;
  2092. }
  2093. ​
  2094. .dash-mobile-topbar .dash-user-avatar {
  2095. width: 28px;
  2096. height: 28px;
  2097. font-size: 11px;
  2098. }
  2099. ​
  2100. .dash-sidebar {
  2101. position: fixed;
  2102. top: auto;
  2103. bottom: 0;
  2104. left: 0;
  2105. right: 0;
  2106. width: 100%;
  2107. height: auto;
  2108. flex-direction: row;
  2109. align-items: center;
  2110. padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  2111. border: none;
  2112. border-top: 1px solid var(--border-strong, var(--border));
  2113. border-radius: 24px 24px 0 0;
  2114. box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
  2115. z-index: 60;
  2116. }
  2117. ​
  2118. .dash-brand-row,
  2119. .dash-user {
  2120. display: none;
  2121. }
  2122. ​
  2123. .dash-nav {
  2124. flex-direction: row;
  2125. align-items: center;
  2126. justify-content: space-around;
  2127. gap: 0;
  2128. width: 100%;
  2129. }
  2130. ​
  2131. .dash-nav-divider {
  2132. display: none;
  2133. }
  2134. ​
  2135. .dash-nav a {
  2136. flex-direction: column;
  2137. gap: 3px;
  2138. padding: 6px 4px;
  2139. font-size: 10px;
  2140. font-weight: 600;
  2141. border-radius: var(--radius-sm);
  2142. flex: 1;
  2143. text-align: center;
  2144. }
  2145. ​
  2146. .dash-nav a .icon {
  2147. width: 20px;
  2148. height: 20px;
  2149. }
  2150. ​
  2151. .dash-nav.has-overflow a.dash-nav-overflow-item {
  2152. display: none;
  2153. }
  2154. ​
  2155. .dash-nav-more-btn {
  2156. display: flex;
  2157. flex-direction: column;
  2158. align-items: center;
  2159. gap: 3px;
  2160. padding: 6px 4px;
  2161. background: none;
  2162. border: none;
  2163. color: var(--muted);
  2164. font-size: 10px;
  2165. font-weight: 600;
  2166. font-family: inherit;
  2167. cursor: pointer;
  2168. flex: 1;
  2169. border-radius: var(--radius-sm);
  2170. }
  2171. ​
  2172. .dash-nav-more-btn .icon {
  2173. width: 20px;
  2174. height: 20px;
  2175. }
  2176. ​
  2177. .dash-nav-more-btn.open {
  2178. color: var(--accent);
  2179. }
  2180. ​
  2181. .dash-nav-sheet-backdrop {
  2182. display: none;
  2183. position: fixed;
  2184. inset: 0;
  2185. background: rgba(0, 0, 0, 0.45);
  2186. z-index: 70;
  2187. }
  2188. ​
  2189. .dash-nav-sheet-backdrop.open {
  2190. display: block;
  2191. }
  2192. ​
  2193. .dash-nav-sheet {
  2194. display: none;
  2195. position: fixed;
  2196. left: 0;
  2197. right: 0;
  2198. bottom: 0;
  2199. background: var(--panel);
  2200. border-top: 1px solid var(--border);
  2201. border-radius: 16px 16px 0 0;
  2202. padding: 8px 10px calc(14px + env(safe-area-inset-bottom));
  2203. z-index: 71;
  2204. box-shadow: var(--shadow-md);
  2205. max-height: 70vh;
  2206. overflow-y: auto;
  2207. }
  2208. ​
  2209. .dash-nav-sheet.open {
  2210. display: block;
  2211. animation: dashSheetIn .18s ease-out;
  2212. }
  2213. ​
  2214. @keyframes dashSheetIn {
  2215. from {
  2216. transform: translateY(12px);
  2217. opacity: 0;
  2218. }
  2219. ​
  2220. to {
  2221. transform: translateY(0);
  2222. opacity: 1;
  2223. }
  2224. }
  2225. ​
  2226. .dash-nav-sheet-handle {
  2227. width: 36px;
  2228. height: 4px;
  2229. border-radius: 999px;
  2230. background: var(--border-strong);
  2231. margin: 6px auto 12px;
  2232. }
  2233. ​
  2234. .dash-nav-sheet a {
  2235. display: flex;
  2236. align-items: center;
  2237. gap: 12px;
  2238. padding: 12px 10px;
  2239. color: var(--text);
  2240. text-decoration: none;
  2241. font-size: 14px;
  2242. font-weight: 500;
  2243. border-radius: var(--radius-sm);
  2244. }
  2245. ​
  2246. .dash-nav-sheet a:active {
  2247. background: var(--panel-alt);
  2248. }
  2249. ​
  2250. .dash-nav-sheet a.active {
  2251. color: var(--accent);
  2252. background: var(--accent-dim);
  2253. }
  2254. }
  2255. ​
  2256. @media (min-width: 861px) {
  2257. ​
  2258. .dash-nav-sheet,
  2259. .dash-nav-sheet-backdrop {
  2260. display: none !important;
  2261. }
  2262. }
  2263. ​
  2264. .updater-card {
  2265. display: flex;
  2266. align-items: center;
  2267. justify-content: space-between;
  2268. gap: 16px;
  2269. flex-wrap: wrap;
  2270. max-width: 640px;
  2271. margin-bottom: 24px;
  2272. }
  2273. ​
  2274. .updater-card-info {
  2275. display: flex;
  2276. align-items: center;
  2277. gap: 12px;
  2278. min-width: 0;
  2279. }
  2280. ​
  2281. .updater-card-info .icon {
  2282. color: var(--accent);
  2283. }
  2284. ​
  2285. .updater-card-title {
  2286. font-weight: 600;
  2287. font-size: 14px;
  2288. }
  2289. ​
  2290. .updater-card-version {
  2291. color: var(--muted);
  2292. font-size: 12.5px;
  2293. }
  2294. ​
  2295. .updater-note {
  2296. display: flex;
  2297. align-items: center;
  2298. gap: 8px;
  2299. color: var(--muted);
  2300. font-size: 12.5px;
  2301. margin: 14px 0 0;
  2302. }
  2303. ​
  2304. .contact-topic-list {
  2305. display: grid;
  2306. gap: 8px;
  2307. margin: 0 0 10px;
  2308. }
  2309. ​
  2310. .contact-topic-row {
  2311. display: grid;
  2312. grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  2313. gap: 8px;
  2314. align-items: center;
  2315. }
  2316. ​
  2317. .contact-topic-row input {
  2318. margin: 0;
  2319. }
  2320. ​
  2321. @media (max-width: 640px) {
  2322. .contact-topic-row {
  2323. grid-template-columns: 1fr auto;
  2324. }
  2325. ​
  2326. .contact-topic-row input[type="email"] {
  2327. grid-column: 1 / 2;
  2328. }
  2329. }
  2330. ​
  2331. .be-block-menu-item-disabled,
  2332. .be-block-menu-item:disabled {
  2333. opacity: .45;
  2334. cursor: not-allowed;
  2335. }
  2336. ​
  2337. .be-contact-note {
  2338. display: flex;
  2339. align-items: flex-start;
  2340. gap: 8px;
  2341. padding: 10px 12px;
  2342. border: 1px dashed var(--border-strong);
  2343. border-radius: var(--radius-sm);
  2344. background: var(--panel-alt);
  2345. color: var(--muted);
  2346. font-size: 12.5px;
  2347. line-height: 1.5;
  2348. }
  2349. ​
  2350. .be-contact-note .icon {
  2351. flex-shrink: 0;
  2352. margin-top: 2px;
  2353. }
  2354. ​
  2355. .be-block-system {
  2356. border-left: 3px solid var(--accent);
  2357. }
  2358. ​
  2359. .be-hero-toggle {
  2360. display: flex;
  2361. align-items: center;
  2362. gap: 6px;
  2363. margin-top: 8px;
  2364. font-size: 13px;
  2365. color: var(--muted);
  2366. }
  2367. ​
  2368. .page-row-home td:first-child {
  2369. font-weight: 600;
  2370. }
  2371. ​
  2372. .dash-dialog {
  2373. max-width: 520px;
  2374. width: calc(100% - 32px);
  2375. padding: 24px;
  2376. border: 1px solid var(--border);
  2377. border-radius: var(--radius);
  2378. background: var(--panel);
  2379. color: var(--text);
  2380. box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  2381. }
  2382. ​
  2383. .dash-dialog::backdrop {
  2384. background: rgba(0, 0, 0, 0.55);
  2385. }
  2386. ​
  2387. .dash-dialog-title {
  2388. display: flex;
  2389. align-items: center;
  2390. gap: 8px;
  2391. margin: 0 0 12px;
  2392. font-size: 17px;
  2393. }
  2394. ​
  2395. .dash-dialog-text {
  2396. margin: 0 0 10px;
  2397. font-size: 13.5px;
  2398. line-height: 1.55;
  2399. }
  2400. ​
  2401. .dash-dialog-list {
  2402. margin: 0 0 18px;
  2403. padding-left: 18px;
  2404. font-size: 13px;
  2405. line-height: 1.55;
  2406. color: var(--muted);
  2407. }
  2408. ​
  2409. .dash-dialog-list li + li {
  2410. margin-top: 6px;
  2411. }
  2412. ​
  2413. .dash-dialog-actions {
  2414. display: flex;
  2415. flex-wrap: wrap;
  2416. justify-content: flex-end;
  2417. gap: 8px;
  2418. }
  2419. ​
  2420. .files-toolbar {
  2421. display: flex;
  2422. flex-wrap: wrap;
  2423. align-items: flex-end;
  2424. gap: 12px;
  2425. margin: 0 0 16px;
  2426. }
  2427. ​
  2428. .files-toolbar label {
  2429. margin: 0 0 6px;
  2430. }
  2431. ​
  2432. .files-inline-form {
  2433. display: flex;
  2434. gap: 6px;
  2435. align-items: center;
  2436. }
  2437. ​
  2438. .files-inline-form input[type="text"],
  2439. .files-inline-form select {
  2440. min-width: 0;
  2441. padding: 5px 8px;
  2442. font-size: 12.5px;
  2443. }
  2444. ​
  2445. .files-name-cell {
  2446. min-width: 260px;
  2447. }
  2448. ​
  2449. .files-name-cell .files-inline-form {
  2450. flex-wrap: wrap;
  2451. }
  2452. ​
  2453. .files-name-cell .files-inline-form input[type="text"] {
  2454. flex: 1 1 160px;
  2455. }
  2456. ​
  2457. .files-name-cell small {
  2458. display: block;
  2459. color: var(--muted);
  2460. font-size: 11.5px;
  2461. }
  2462. ​
  2463. .product-files-hint {
  2464. font-size: 12px;
  2465. color: var(--muted);
  2466. margin: 0 0 10px;
  2467. line-height: 1.5;
  2468. }
  2469. ​
  2470. .product-files-hint:last-child {
  2471. margin: 10px 0 0;
  2472. }
  2473. ​
  2474. .product-files-list {
  2475. list-style: none;
  2476. margin: 0 0 12px;
  2477. padding: 0;
  2478. display: grid;
  2479. gap: 8px;
  2480. }
  2481. ​
  2482. .product-files-list li {
  2483. display: flex;
  2484. flex-direction: column;
  2485. gap: 8px;
  2486. padding: 8px 10px;
  2487. border: 1px solid var(--border);
  2488. border-radius: var(--radius-sm);
  2489. background: var(--panel-alt);
  2490. }
  2491. ​
  2492. .product-files-row {
  2493. display: flex;
  2494. align-items: center;
  2495. justify-content: space-between;
  2496. gap: 10px;
  2497. }
  2498. ​
  2499. .product-files-list input[type="text"] {
  2500. width: 100%;
  2501. margin: 0;
  2502. padding: 6px 9px;
  2503. font-size: 12.5px;
  2504. }
  2505. ​
  2506. .product-files-name {
  2507. display: flex;
  2508. flex-direction: column;
  2509. min-width: 0;
  2510. font-size: 13px;
  2511. word-break: break-all;
  2512. }
  2513. ​
  2514. .product-files-name small {
  2515. color: var(--muted);
  2516. font-size: 11.5px;
  2517. }
  2518. ​
  2519. #product-files input[type="file"] {
  2520. width: 100%;
  2521. margin-bottom: 8px;
  2522. font-size: 12.5px;
  2523. }
  2524. ​
  2525. .updater-auto-warning {
  2526. margin: 0 0 18px;
  2527. padding: 16px 20px;
  2528. border: 1px solid var(--danger);
  2529. border-left-width: 4px;
  2530. border-radius: var(--radius);
  2531. background: var(--danger-dim);
  2532. color: var(--text);
  2533. font-size: 13.5px;
  2534. line-height: 1.55;
  2535. }
  2536. ​
  2537. .updater-auto-warning strong:first-child {
  2538. display: flex;
  2539. align-items: center;
  2540. gap: 8px;
  2541. color: var(--danger);
  2542. font-size: 14.5px;
  2543. }
  2544. ​
  2545. .updater-auto-warning ul {
  2546. margin: 10px 0;
  2547. padding-left: 20px;
  2548. }
  2549. ​
  2550. .updater-auto-warning li + li {
  2551. margin-top: 4px;
  2552. }
  2553. ​
  2554. .updater-auto-warning p {
  2555. margin: 0;
  2556. color: var(--muted);
  2557. }
  2558. ​
  2559. .updater-changelog {
  2560. margin: 0;
  2561. padding-left: 20px;
  2562. font-size: 13.5px;
  2563. line-height: 1.7;
  2564. }
  2565. ​
  2566. .updater-file {
  2567. border: 1px solid var(--border);
  2568. border-radius: var(--radius-sm);
  2569. background: var(--panel);
  2570. margin-bottom: 8px;
  2571. overflow: hidden;
  2572. }
  2573. ​
  2574. .updater-file summary {
  2575. display: flex;
  2576. align-items: center;
  2577. gap: 10px;
  2578. padding: 10px 14px;
  2579. cursor: pointer;
  2580. font-size: 13px;
  2581. list-style: none;
  2582. }
  2583. ​
  2584. .updater-file summary::-webkit-details-marker {
  2585. display: none;
  2586. }
  2587. ​
  2588. .updater-file summary:hover {
  2589. background: var(--panel-alt);
  2590. }
  2591. ​
  2592. .updater-file-path {
  2593. flex: 1;
  2594. min-width: 0;
  2595. font-family: "SF Mono", Consolas, monospace;
  2596. overflow-wrap: anywhere;
  2597. }
  2598. ​
  2599. .updater-file-stats {
  2600. display: flex;
  2601. gap: 8px;
  2602. font-size: 12px;
  2603. font-weight: 600;
  2604. flex-shrink: 0;
  2605. }
  2606. ​
  2607. .updater-stat-add {
  2608. color: var(--success);
  2609. }
  2610. ​
  2611. .updater-stat-del {
  2612. color: var(--danger);
  2613. }
  2614. ​
  2615. .updater-stat-move {
  2616. color: var(--info);
  2617. }
  2618. ​
  2619. .updater-file .updater-note {
  2620. padding: 0 14px 12px;
  2621. margin: 0;
  2622. }
  2623. ​
  2624. .updater-diff {
  2625. border-top: 1px solid var(--border);
  2626. overflow-x: auto;
  2627. font-family: "SF Mono", Consolas, monospace;
  2628. font-size: 12px;
  2629. line-height: 1.55;
  2630. }
  2631. ​
  2632. .updater-line {
  2633. display: flex;
  2634. min-width: max-content;
  2635. width: 100%;
  2636. }
  2637. ​
  2638. .updater-ln {
  2639. width: 44px;
  2640. padding: 0 8px;
  2641. text-align: right;
  2642. color: var(--muted-dim);
  2643. flex-shrink: 0;
  2644. user-select: none;
  2645. }
  2646. ​
  2647. .updater-marker {
  2648. width: 20px;
  2649. text-align: center;
  2650. flex-shrink: 0;
  2651. user-select: none;
  2652. }
  2653. ​
  2654. .updater-code {
  2655. white-space: pre;
  2656. padding-right: 14px;
  2657. }
  2658. ​
  2659. .updater-line-add {
  2660. background: var(--success-dim);
  2661. }
  2662. ​
  2663. .updater-line-add .updater-marker {
  2664. color: var(--success);
  2665. }
  2666. ​
  2667. .updater-line-del {
  2668. background: var(--danger-dim);
  2669. }
  2670. ​
  2671. .updater-line-del .updater-marker {
  2672. color: var(--danger);
  2673. }
  2674. ​
  2675. .updater-line-move {
  2676. background: var(--info-dim);
  2677. color: var(--muted);
  2678. }
  2679. ​
  2680. .updater-line-move .updater-marker {
  2681. color: var(--info);
  2682. }
  2683. ​
  2684. .updater-gap {
  2685. padding: 2px 14px;
  2686. color: var(--muted-dim);
  2687. background: var(--panel-alt);
  2688. text-align: center;
  2689. }
  2690. ​
  2691. .ai-fab {
  2692. position: fixed;
  2693. right: 24px;
  2694. bottom: 24px;
  2695. z-index: 90;
  2696. display: inline-flex;
  2697. align-items: center;
  2698. gap: 8px;
  2699. padding: 12px 18px;
  2700. border: 1px solid var(--accent);
  2701. border-radius: 999px;
  2702. background: linear-gradient(155deg, var(--accent-hover), var(--accent));
  2703. color: #fff;
  2704. font: inherit;
  2705. font-size: 13px;
  2706. font-weight: 700;
  2707. cursor: pointer;
  2708. box-shadow: var(--shadow-md);
  2709. transition: transform .16s, box-shadow .16s;
  2710. }
  2711. ​
  2712. .ai-fab:hover {
  2713. transform: translateY(-2px);
  2714. }
  2715. ​
  2716. .ai-fab.is-hidden {
  2717. display: none;
  2718. }
  2719. ​
  2720. .ai-panel {
  2721. position: fixed;
  2722. right: 24px;
  2723. bottom: 24px;
  2724. z-index: 95;
  2725. display: none;
  2726. flex-direction: column;
  2727. width: 400px;
  2728. max-width: calc(100vw - 32px);
  2729. height: min(640px, calc(100vh - 48px));
  2730. background: var(--panel);
  2731. border: 1px solid var(--border-strong);
  2732. border-radius: var(--radius);
  2733. box-shadow: var(--shadow-md), var(--inset-hairline);
  2734. overflow: hidden;
  2735. }
  2736. ​
  2737. .ai-panel.is-open {
  2738. display: flex;
  2739. }
  2740. ​
  2741. .ai-header {
  2742. display: flex;
  2743. align-items: center;
  2744. justify-content: space-between;
  2745. gap: 10px;
  2746. padding: 12px 14px;
  2747. border-bottom: 1px solid var(--border);
  2748. background: var(--panel-alt);
  2749. }
  2750. ​
  2751. .ai-header-title {
  2752. display: flex;
  2753. align-items: center;
  2754. gap: 10px;
  2755. min-width: 0;
  2756. color: var(--accent);
  2757. }
  2758. ​
  2759. .ai-title {
  2760. font-size: 14px;
  2761. font-weight: 700;
  2762. color: var(--text);
  2763. }
  2764. ​
  2765. .ai-subtitle {
  2766. font-size: 11.5px;
  2767. color: var(--muted);
  2768. overflow: hidden;
  2769. text-overflow: ellipsis;
  2770. white-space: nowrap;
  2771. }
  2772. ​
  2773. .ai-header-actions {
  2774. display: flex;
  2775. align-items: center;
  2776. gap: 6px;
  2777. flex-shrink: 0;
  2778. }
  2779. ​
  2780. .ai-header-actions .dash-btn-small:disabled {
  2781. opacity: .45;
  2782. cursor: not-allowed;
  2783. }
  2784. ​
  2785. .ai-icon-button {
  2786. display: inline-flex;
  2787. align-items: center;
  2788. justify-content: center;
  2789. width: 28px;
  2790. height: 28px;
  2791. border: none;
  2792. border-radius: var(--radius-sm);
  2793. background: none;
  2794. color: var(--muted);
  2795. cursor: pointer;
  2796. }
  2797. ​
  2798. .ai-icon-button:hover {
  2799. background: var(--panel-hover);
  2800. color: var(--text);
  2801. }
  2802. ​
  2803. .ai-messages {
  2804. flex: 1;
  2805. min-height: 0;
  2806. overflow-y: auto;
  2807. padding: 14px;
  2808. display: flex;
  2809. flex-direction: column;
  2810. gap: 10px;
  2811. }
  2812. ​
  2813. .ai-messages > * {
  2814. flex-shrink: 0;
  2815. }
  2816. ​
  2817. .ai-msg {
  2818. max-width: 92%;
  2819. padding: 9px 12px;
  2820. border-radius: 12px;
  2821. font-size: 13px;
  2822. line-height: 1.5;
  2823. white-space: pre-wrap;
  2824. overflow-wrap: anywhere;
  2825. }
  2826. ​
  2827. .ai-msg-user {
  2828. align-self: flex-end;
  2829. background: var(--accent);
  2830. color: #fff;
  2831. border-bottom-right-radius: 4px;
  2832. }
  2833. ​
  2834. .ai-msg-assistant {
  2835. align-self: flex-start;
  2836. background: var(--panel-alt);
  2837. border: 1px solid var(--border);
  2838. border-bottom-left-radius: 4px;
  2839. }
  2840. ​
  2841. .ai-msg-note {
  2842. align-self: center;
  2843. max-width: 100%;
  2844. padding: 4px 8px;
  2845. color: var(--muted);
  2846. font-size: 12px;
  2847. text-align: center;
  2848. }
  2849. ​
  2850. .ai-msg-error {
  2851. align-self: stretch;
  2852. max-width: 100%;
  2853. background: var(--danger-dim);
  2854. color: var(--danger);
  2855. }
  2856. ​
  2857. .ai-proposal {
  2858. border: 1px solid var(--border-strong);
  2859. border-radius: var(--radius-sm);
  2860. background: var(--bg);
  2861. overflow: hidden;
  2862. }
  2863. ​
  2864. .ai-change {
  2865. border-bottom: 1px solid var(--border);
  2866. font-size: 12.5px;
  2867. }
  2868. ​
  2869. .ai-change:last-child {
  2870. border-bottom: none;
  2871. }
  2872. ​
  2873. .ai-change summary {
  2874. display: flex;
  2875. flex-direction: column;
  2876. gap: 2px;
  2877. padding: 8px 12px;
  2878. cursor: pointer;
  2879. list-style: none;
  2880. }
  2881. ​
  2882. .ai-change summary::-webkit-details-marker {
  2883. display: none;
  2884. }
  2885. ​
  2886. .ai-change summary:hover {
  2887. background: var(--panel-alt);
  2888. }
  2889. ​
  2890. .ai-change-title {
  2891. font-weight: 600;
  2892. }
  2893. ​
  2894. .ai-change-note {
  2895. color: var(--muted);
  2896. }
  2897. ​
  2898. .ai-diff-label {
  2899. padding: 4px 12px 0;
  2900. font-size: 10.5px;
  2901. font-weight: 600;
  2902. letter-spacing: 0.04em;
  2903. text-transform: uppercase;
  2904. color: var(--muted-dim);
  2905. }
  2906. ​
  2907. .ai-diff {
  2908. margin: 4px 12px 8px;
  2909. padding: 8px 10px;
  2910. border-radius: 6px;
  2911. font: inherit;
  2912. font-size: 12px;
  2913. line-height: 1.5;
  2914. white-space: pre-wrap;
  2915. overflow-wrap: anywhere;
  2916. max-height: 160px;
  2917. overflow-y: auto;
  2918. }
  2919. ​
  2920. .ai-diff-before {
  2921. background: var(--danger-dim);
  2922. }
  2923. ​
  2924. .ai-diff-after {
  2925. background: var(--success-dim);
  2926. }
  2927. ​
  2928. .ai-proposal-note {
  2929. padding: 8px 12px;
  2930. border-top: 1px solid var(--border);
  2931. font-size: 12px;
  2932. color: var(--warning);
  2933. }
  2934. ​
  2935. .ai-proposal-actions {
  2936. display: flex;
  2937. flex-wrap: wrap;
  2938. align-items: center;
  2939. gap: 6px;
  2940. padding: 10px 12px;
  2941. border-bottom: 1px solid var(--border);
  2942. background: var(--panel-alt);
  2943. }
  2944. ​
  2945. .ai-proposal {
  2946. flex-shrink: 0;
  2947. }
  2948. ​
  2949. .ai-proposal-status {
  2950. font-size: 12px;
  2951. font-weight: 600;
  2952. color: var(--muted);
  2953. }
  2954. ​
  2955. .ai-quick {
  2956. display: flex;
  2957. flex-wrap: wrap;
  2958. gap: 6px;
  2959. padding: 8px 14px 0;
  2960. }
  2961. ​
  2962. .ai-chip {
  2963. padding: 5px 11px;
  2964. border: 1px solid var(--border);
  2965. border-radius: 999px;
  2966. background: var(--panel-alt);
  2967. color: var(--text);
  2968. font: inherit;
  2969. font-size: 12px;
  2970. font-weight: 600;
  2971. cursor: pointer;
  2972. transition: background .12s, border-color .12s;
  2973. }
  2974. ​
  2975. .ai-chip:hover {
  2976. background: var(--panel-hover);
  2977. border-color: var(--border-strong);
  2978. }
  2979. ​
  2980. .ai-scope {
  2981. display: flex;
  2982. align-items: center;
  2983. gap: 8px;
  2984. padding: 8px 14px 0;
  2985. }
  2986. ​
  2987. .ai-scope label {
  2988. margin: 0;
  2989. font-size: 12px;
  2990. }
  2991. ​
  2992. .ai-scope select {
  2993. width: auto;
  2994. padding: 5px 8px;
  2995. font-size: 12px;
  2996. }
  2997. ​
  2998. .ai-composer {
  2999. display: flex;
  3000. align-items: flex-end;
  3001. gap: 8px;
  3002. padding: 10px 14px 14px;
  3003. }
  3004. ​
  3005. .ai-composer textarea {
  3006. flex: 1;
  3007. resize: none;
  3008. min-height: 42px;
  3009. max-height: 120px;
  3010. }
  3011. ​
  3012. .ai-send {
  3013. padding: 10px 12px;
  3014. }
  3015. ​
  3016. @media (max-width: 860px) {
  3017. .ai-fab {
  3018. right: 16px;
  3019. bottom: 84px;
  3020. }
  3021. ​
  3022. .ai-panel {
  3023. right: 8px;
  3024. left: 8px;
  3025. bottom: 76px;
  3026. width: auto;
  3027. max-width: none;
  3028. height: min(560px, calc(100vh - 96px));
  3029. }
  3030. }
  3031. ​
  3032. .dash-user-avatar.has-image {
  3033. overflow: hidden;
  3034. background: transparent;
  3035. }
  3036. ​
  3037. .dash-user-avatar.has-image img {
  3038. display: block;
  3039. width: 100%;
  3040. height: 100%;
  3041. object-fit: cover;
  3042. }
  3043. ​
  3044. .dash-avatar-inline {
  3045. display: inline-flex;
  3046. align-items: center;
  3047. gap: 10px;
  3048. }
  3049. ​
  3050. .dash-avatar-inline .dash-user-avatar {
  3051. width: 28px;
  3052. height: 28px;
  3053. font-size: 11px;
  3054. }
  3055. ​
  3056. .avatar-edit-preview {
  3057. display: flex;
  3058. align-items: center;
  3059. gap: 12px;
  3060. margin-bottom: 8px;
  3061. }
  3062. ​
  3063. .avatar-edit-preview .dash-user-avatar {
  3064. width: 56px;
  3065. height: 56px;
  3066. font-size: 20px;
  3067. }
  3068. ​
  3069. .settings-tabs {
  3070. overflow-x: auto;
  3071. overflow-y: hidden;
  3072. flex-wrap: nowrap;
  3073. white-space: nowrap;
  3074. -webkit-overflow-scrolling: touch;
  3075. scrollbar-width: thin;
  3076. scrollbar-color: var(--border-strong) transparent;
  3077. }
  3078. ​
  3079. .settings-tabs::-webkit-scrollbar {
  3080. height: 6px;
  3081. }
  3082. ​
  3083. .settings-tabs::-webkit-scrollbar-thumb {
  3084. background: var(--border-strong);
  3085. border-radius: 3px;
  3086. }
  3087. ​
  3088. .settings-tabs a {
  3089. flex: 0 0 auto;
  3090. }
  3091. ​
  3092. .dash-btn,
  3093. .dash-btn-small {
  3094. opacity: 1;
  3095. line-height: 1.2;
  3096. white-space: nowrap;
  3097. -webkit-appearance: none;
  3098. appearance: none;
  3099. }
  3100. ​
  3101. .dash-btn:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success),
  3102. .dash-btn-small:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success) {
  3103. background: var(--panel-alt);
  3104. color: var(--text);
  3105. border-color: var(--border-strong);
  3106. }
  3107. ​
  3108. .dash-btn:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success):hover,
  3109. .dash-btn-small:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success):hover {
  3110. background: var(--panel-hover);
  3111. color: var(--text);
  3112. }
  3113. ​
  3114. .dash-btn .icon,
  3115. .dash-btn-small .icon {
  3116. flex: 0 0 auto;
  3117. color: currentColor;
  3118. }
  3119. ​
  3120. .dash-btn:focus-visible,
  3121. .dash-btn-small:focus-visible {
  3122. outline: 2px solid var(--accent);
  3123. outline-offset: 2px;
  3124. }
  3125. ​
  3126. .dash-btn:disabled,
  3127. .dash-btn-small:disabled {
  3128. opacity: .5;
  3129. cursor: not-allowed;
  3130. }
  3131. ​
  3132. .dash-btn-success:hover,
  3133. .dash-btn-small.dash-btn-success:hover {
  3134. background: color-mix(in srgb, var(--success) 88%, #fff);
  3135. border-color: var(--success);
  3136. color: #06231a;
  3137. }
  3138. ​
  3139. .dash-btn-danger:hover,
  3140. .dash-btn-small.dash-btn-danger:hover {
  3141. background: var(--danger-dim);
  3142. border-color: var(--danger);
  3143. color: var(--danger);
  3144. }
  3145. ​
  3146. .dash-card {
  3147. position: relative;
  3148. background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 92%, #fff) 0%, var(--panel) 100%);
  3149. border: 1px solid var(--border);
  3150. border-radius: 14px;
  3151. padding: 20px 22px;
  3152. box-shadow: var(--inset-hairline), 0 1px 2px rgba(0, 0, 0, 0.18), 0 12px 28px -12px rgba(0, 0, 0, 0.35);
  3153. overflow: hidden;
  3154. }
  3155. ​
  3156. .dash-card::after {
  3157. content: "";
  3158. position: absolute;
  3159. inset: 0 0 auto 0;
  3160. height: 1px;
  3161. background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 55%, transparent), transparent);
  3162. opacity: 0;
  3163. transition: opacity .2s;
  3164. }
  3165. ​
  3166. .dash-card:hover {
  3167. transform: none;
  3168. border-color: var(--border-strong);
  3169. }
  3170. ​
  3171. .dash-card:hover::after {
  3172. opacity: 1;
  3173. }
  3174. ​
  3175. .dash-card-value {
  3176. font-size: 30px;
  3177. font-weight: 600;
  3178. letter-spacing: -0.03em;
  3179. line-height: 1.1;
  3180. font-variant-numeric: tabular-nums;
  3181. }
  3182. ​
  3183. .dash-card-label {
  3184. font-size: 12.5px;
  3185. margin-top: 6px;
  3186. }
  3187. ​
  3188. .dash-table {
  3189. background: var(--panel);
  3190. border: 1px solid var(--border);
  3191. border-radius: 14px;
  3192. box-shadow: var(--inset-hairline), 0 1px 2px rgba(0, 0, 0, 0.18), 0 12px 28px -14px rgba(0, 0, 0, 0.35);
  3193. }
  3194. ​
  3195. .dash-table th {
  3196. background: color-mix(in srgb, var(--panel-alt) 60%, var(--panel));
  3197. color: var(--muted-dim);
  3198. font-size: 11px;
  3199. font-weight: 600;
  3200. letter-spacing: .07em;
  3201. padding: 13px 18px;
  3202. border-bottom: 1px solid var(--border);
  3203. }
  3204. ​
  3205. .dash-table th .icon {
  3206. opacity: .7;
  3207. }
  3208. ​
  3209. .dash-table td {
  3210. padding: 15px 18px;
  3211. border-bottom: 1px solid color-mix(in srgb, var(--border) 65%, transparent);
  3212. font-variant-numeric: tabular-nums;
  3213. }
  3214. ​
  3215. .dash-table tbody tr {
  3216. transition: background .15s, box-shadow .15s;
  3217. }
  3218. ​
  3219. .dash-table tbody tr:hover {
  3220. background: color-mix(in srgb, var(--panel-alt) 65%, transparent);
  3221. box-shadow: inset 2px 0 0 var(--accent);
  3222. }
  3223. ​
  3224. .dash-table td:first-child,
  3225. .dash-table td:first-child a {
  3226. font-weight: 600;
  3227. letter-spacing: -0.005em;
  3228. }
  3229. ​
  3230. .dash-table td:not(:first-child):not(:last-child) {
  3231. color: color-mix(in srgb, var(--text) 78%, var(--muted));
  3232. }
  3233. ​
  3234. .status-pill {
  3235. display: inline-flex;
  3236. align-items: center;
  3237. gap: 6px;
  3238. padding: 3px 10px 3px 8px;
  3239. border-radius: 999px;
  3240. font-size: 11.5px;
  3241. font-weight: 600;
  3242. box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 22%, transparent);
  3243. }
  3244. ​
  3245. .status-pill::before {
  3246. content: "";
  3247. width: 6px;
  3248. height: 6px;
  3249. border-radius: 50%;
  3250. background: currentColor;
  3251. flex: 0 0 auto;
  3252. }
  3253. ​
  3254. .dash-table-actions .dash-btn-small {
  3255. border-color: transparent;
  3256. background: transparent;
  3257. color: var(--muted);
  3258. box-shadow: none;
  3259. }
  3260. ​
  3261. .dash-table-actions .dash-btn-small:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success) {
  3262. background: transparent;
  3263. border-color: transparent;
  3264. color: var(--muted);
  3265. }
  3266. ​
  3267. .dash-table tbody tr:hover .dash-table-actions .dash-btn-small:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success),
  3268. .dash-table-actions .dash-btn-small:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success):hover {
  3269. background: var(--panel-alt);
  3270. border-color: var(--border-strong);
  3271. color: var(--text);
  3272. }
  3273. ​
  3274. .dash-table-actions .dash-btn-danger {
  3275. background: transparent;
  3276. border-color: transparent;
  3277. color: var(--muted);
  3278. }
  3279. ​
  3280. .dash-table tbody tr:hover .dash-table-actions .dash-btn-danger {
  3281. color: var(--danger);
  3282. border-color: color-mix(in srgb, var(--danger) 45%, transparent);
  3283. }
  3284. ​
  3285. .dash-table-actions .dash-btn-danger:hover {
  3286. background: var(--danger-dim);
  3287. border-color: var(--danger);
  3288. color: var(--danger);
  3289. }
  3290. ​
  3291. @media (max-width: 860px) {
  3292. .dash-table td {
  3293. padding: 5px 0;
  3294. }
  3295. ​
  3296. .dash-table tbody tr:hover {
  3297. box-shadow: none;
  3298. }
  3299. }
  3300. ​
  3301. :root {
  3302. --ease-out: cubic-bezier(.22, 1, .36, 1);
  3303. --ease-soft: cubic-bezier(.4, 0, .2, 1);
  3304. --dur-fast: .16s;
  3305. --dur: .28s;
  3306. }
  3307. ​
  3308. .dash-btn,
  3309. .dash-btn-small,
  3310. .dash-btn-primary,
  3311. .dash-nav a,
  3312. .dash-theme-toggle,
  3313. .dash-user-logout,
  3314. .settings-tabs a,
  3315. .ai-chip,
  3316. .ai-icon-button,
  3317. .be-block,
  3318. .be-block-toolbar button,
  3319. .updater-file summary {
  3320. transition:
  3321. background-color var(--dur) var(--ease-soft),
  3322. border-color var(--dur) var(--ease-soft),
  3323. color var(--dur) var(--ease-soft),
  3324. box-shadow var(--dur) var(--ease-soft),
  3325. transform var(--dur) var(--ease-out),
  3326. opacity var(--dur) var(--ease-soft);
  3327. }
  3328. ​
  3329. .dash-btn:active,
  3330. .dash-btn-small:active {
  3331. transform: scale(.97);
  3332. transition-duration: .08s;
  3333. }
  3334. ​
  3335. .dash-btn-primary:hover {
  3336. transform: translateY(-1px);
  3337. }
  3338. ​
  3339. .dash-btn-primary:active {
  3340. transform: translateY(0) scale(.98);
  3341. }
  3342. ​
  3343. .dash-nav a:hover {
  3344. transform: translateX(2px);
  3345. }
  3346. ​
  3347. .dash-nav a.active:hover {
  3348. transform: none;
  3349. }
  3350. ​
  3351. .settings-tabs a {
  3352. position: relative;
  3353. border-bottom-color: transparent;
  3354. }
  3355. ​
  3356. .settings-tabs a::after {
  3357. content: "";
  3358. position: absolute;
  3359. left: 16px;
  3360. right: 16px;
  3361. bottom: -1px;
  3362. height: 2px;
  3363. border-radius: 2px;
  3364. background: var(--accent);
  3365. transform: scaleX(0);
  3366. transform-origin: center;
  3367. transition: transform var(--dur) var(--ease-out);
  3368. }
  3369. ​
  3370. .settings-tabs a:hover {
  3371. color: var(--text);
  3372. }
  3373. ​
  3374. .settings-tabs a.active {
  3375. border-bottom-color: transparent;
  3376. }
  3377. ​
  3378. .settings-tabs a.active::after {
  3379. transform: scaleX(1);
  3380. }
  3381. ​
  3382. .dash-card {
  3383. transition:
  3384. border-color var(--dur) var(--ease-soft),
  3385. box-shadow var(--dur) var(--ease-soft),
  3386. transform var(--dur) var(--ease-out);
  3387. }
  3388. ​
  3389. .dash-card:hover {
  3390. transform: translateY(-2px);
  3391. }
  3392. ​
  3393. .dash-table tbody tr {
  3394. transition:
  3395. background-color var(--dur) var(--ease-soft),
  3396. box-shadow var(--dur) var(--ease-soft);
  3397. }
  3398. ​
  3399. .dash-table a,
  3400. .status-pill {
  3401. transition: color var(--dur) var(--ease-soft), background-color var(--dur) var(--ease-soft);
  3402. }
  3403. ​
  3404. .dash-main input:not([type="checkbox"]),
  3405. .dash-main select,
  3406. .dash-main textarea {
  3407. transition:
  3408. border-color var(--dur) var(--ease-soft),
  3409. box-shadow var(--dur) var(--ease-soft),
  3410. background-color var(--dur) var(--ease-soft);
  3411. }
  3412. ​
  3413. .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"]) {
  3414. transition: background-color var(--dur) var(--ease-soft), border-color var(--dur) var(--ease-soft);
  3415. }
  3416. ​
  3417. .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"])::before {
  3418. transition: transform var(--dur) var(--ease-out), background-color var(--dur) var(--ease-soft);
  3419. }
  3420. ​
  3421. .ai-panel.is-open {
  3422. animation: dashPop .32s var(--ease-out) backwards;
  3423. transform-origin: bottom right;
  3424. }
  3425. ​
  3426. .ai-fab {
  3427. transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-soft);
  3428. }
  3429. ​
  3430. .ai-msg {
  3431. animation: dashRise .3s var(--ease-out) backwards;
  3432. }
  3433. ​
  3434. .dash-nav-sheet.open {
  3435. animation: dashSheetUp .38s var(--ease-out) backwards;
  3436. }
  3437. ​
  3438. .dash-nav-sheet-backdrop.open {
  3439. animation: dashFade .3s var(--ease-soft) backwards;
  3440. }
  3441. ​
  3442. .be-block-toolbar {
  3443. transition: opacity var(--dur) var(--ease-soft), transform var(--dur) var(--ease-out);
  3444. transform: translateY(4px);
  3445. }
  3446. ​
  3447. .be-block:hover .be-block-toolbar,
  3448. .be-block:focus-within .be-block-toolbar {
  3449. transform: translateY(0);
  3450. }
  3451. ​
  3452. .be-inline-toolbar,
  3453. .be-color-popover,
  3454. .be-block-menu {
  3455. animation: dashPop .18s var(--ease-out) backwards;
  3456. transform-origin: top left;
  3457. }
  3458. ​
  3459. @keyframes dashRise {
  3460. from { opacity: 0; transform: translateY(10px); }
  3461. to { opacity: 1; transform: translateY(0); }
  3462. }
  3463. ​
  3464. @keyframes dashPop {
  3465. from { opacity: 0; transform: translateY(8px) scale(.97); }
  3466. to { opacity: 1; transform: translateY(0) scale(1); }
  3467. }
  3468. ​
  3469. @keyframes dashFade {
  3470. from { opacity: 0; }
  3471. to { opacity: 1; }
  3472. }
  3473. ​
  3474. @keyframes dashSheetUp {
  3475. from { opacity: 0; transform: translateY(24px); }
  3476. to { opacity: 1; transform: translateY(0); }
  3477. }
  3478. ​
  3479. @media (prefers-reduced-motion: reduce) {
  3480. *,
  3481. *::before,
  3482. *::after {
  3483. animation-duration: .01ms !important;
  3484. animation-delay: 0s !important;
  3485. animation-iteration-count: 1 !important;
  3486. transition-duration: .01ms !important;
  3487. scroll-behavior: auto !important;
  3488. }
  3489. }
  3490. ​
  3491. .dash-nav a,
  3492. .dash-nav a:hover,
  3493. .dash-nav a:active,
  3494. .dash-nav a.active,
  3495. .dash-nav-sheet a,
  3496. .dash-nav-more-btn {
  3497. transform: none;
  3498. transition: none;
  3499. }
  3500. ​
  3501. @media (max-width: 860px) {
  3502. .dash-sidebar {
  3503. left: 8px;
  3504. right: 8px;
  3505. bottom: calc(8px + env(safe-area-inset-bottom));
  3506. width: auto;
  3507. padding: 6px;
  3508. border: 1px solid var(--border-strong);
  3509. border-radius: 24px;
  3510. box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), var(--inset-hairline);
  3511. }
  3512. ​
  3513. .dash-nav a,
  3514. .dash-nav-more-btn {
  3515. border-radius: 18px;
  3516. }
  3517. ​
  3518. .dash-main {
  3519. padding-bottom: 104px;
  3520. border-radius: 24px 24px 0 0;
  3521. }
  3522. ​
  3523. .dash-nav-sheet {
  3524. left: 8px;
  3525. right: 8px;
  3526. bottom: calc(8px + env(safe-area-inset-bottom));
  3527. border: 1px solid var(--border-strong);
  3528. border-radius: 24px;
  3529. }
  3530. ​
  3531. .ai-fab {
  3532. bottom: calc(92px + env(safe-area-inset-bottom));
  3533. }
  3534. ​
  3535. .ai-panel {
  3536. bottom: calc(92px + env(safe-area-inset-bottom));
  3537. border-radius: 20px;
  3538. }
  3539. }
  3540. ​
  3541. input:not([type]),
  3542. input[type="url"],
  3543. input[type="search"],
  3544. input[type="tel"],
  3545. input[type="date"],
  3546. input[type="time"],
  3547. input[type="month"],
  3548. input[type="week"] {
  3549. width: 100%;
  3550. padding: 10px 12px;
  3551. border-radius: var(--radius-sm);
  3552. border: 1px solid var(--border);
  3553. background: var(--bg);
  3554. color: var(--text);
  3555. font-size: 13.5px;
  3556. font-family: inherit;
  3557. transition: border-color var(--dur) var(--ease-soft), box-shadow var(--dur) var(--ease-soft);
  3558. }
  3559. ​
  3560. input[type="url"]::placeholder,
  3561. input[type="search"]::placeholder,
  3562. input[type="tel"]::placeholder,
  3563. input:not([type])::placeholder,
  3564. input[type="text"]::placeholder,
  3565. input[type="email"]::placeholder,
  3566. input[type="password"]::placeholder,
  3567. input[type="number"]::placeholder,
  3568. textarea::placeholder {
  3569. color: var(--muted-dim);
  3570. opacity: 1;
  3571. }
  3572. ​
  3573. input[type="date"]::-webkit-calendar-picker-indicator,
  3574. input[type="time"]::-webkit-calendar-picker-indicator {
  3575. cursor: pointer;
  3576. filter: invert(1);
  3577. opacity: .7;
  3578. }
  3579. ​
  3580. body[data-theme="light"] input[type="date"]::-webkit-calendar-picker-indicator,
  3581. body[data-theme="light"] input[type="time"]::-webkit-calendar-picker-indicator {
  3582. filter: none;
  3583. }
  3584. ​
  3585. input[type="file"] {
  3586. width: 100%;
  3587. padding: 8px;
  3588. border-radius: var(--radius-sm);
  3589. border: 1px dashed var(--border-strong);
  3590. background: var(--bg);
  3591. color: var(--muted);
  3592. font-size: 12.5px;
  3593. font-family: inherit;
  3594. cursor: pointer;
  3595. }
  3596. ​
  3597. input[type="file"]::file-selector-button {
  3598. margin-right: 12px;
  3599. padding: 6px 12px;
  3600. border-radius: 6px;
  3601. border: 1px solid var(--border-strong);
  3602. background: var(--panel-alt);
  3603. color: var(--text);
  3604. font-family: inherit;
  3605. font-size: 12px;
  3606. font-weight: 600;
  3607. cursor: pointer;
  3608. }
  3609. ​
  3610. input[type="file"]::file-selector-button:hover {
  3611. background: var(--panel-hover);
  3612. }
  3613. ​
  3614. @media (max-width: 860px) {
  3615. .dash-mobile-topbar {
  3616. padding-top: calc(12px + env(safe-area-inset-top));
  3617. padding-left: calc(16px + env(safe-area-inset-left));
  3618. padding-right: calc(16px + env(safe-area-inset-right));
  3619. }
  3620. ​
  3621. .dash-main {
  3622. padding-left: calc(16px + env(safe-area-inset-left));
  3623. padding-right: calc(16px + env(safe-area-inset-right));
  3624. overflow-x: clip;
  3625. }
  3626. ​
  3627. .dash-cards {
  3628. margin-left: calc(-16px - env(safe-area-inset-left));
  3629. margin-right: calc(-16px - env(safe-area-inset-right));
  3630. padding-left: calc(16px + env(safe-area-inset-left));
  3631. padding-right: calc(16px + env(safe-area-inset-right));
  3632. scroll-padding-left: calc(16px + env(safe-area-inset-left));
  3633. scroll-padding-right: calc(16px + env(safe-area-inset-right));
  3634. padding-top: 2px;
  3635. padding-bottom: 6px;
  3636. }
  3637. ​
  3638. .dash-card {
  3639. flex: 0 0 auto;
  3640. width: min(220px, 72vw);
  3641. }
  3642. ​
  3643. .dash-sidebar {
  3644. left: calc(8px + env(safe-area-inset-left));
  3645. right: calc(8px + env(safe-area-inset-right));
  3646. }
  3647. ​
  3648. .dash-nav-sheet {
  3649. left: calc(8px + env(safe-area-inset-left));
  3650. right: calc(8px + env(safe-area-inset-right));
  3651. }
  3652. ​
  3653. .ai-fab {
  3654. right: calc(16px + env(safe-area-inset-right));
  3655. }
  3656. ​
  3657. .ai-panel {
  3658. left: calc(8px + env(safe-area-inset-left));
  3659. right: calc(8px + env(safe-area-inset-right));
  3660. }
  3661. }
  3662. ​
  3663. @media (max-width: 860px) {
  3664. .dash-cards {
  3665. padding-top: 12px;
  3666. padding-bottom: 22px;
  3667. margin-top: -12px;
  3668. margin-bottom: 2px;
  3669. }
  3670. ​
  3671. .dash-card,
  3672. .dash-card:hover {
  3673. transform: none;
  3674. overflow: hidden;
  3675. border-radius: 16px;
  3676. }
  3677. ​
  3678. .dash-mobile-topbar::after {
  3679. display: none;
  3680. }
  3681. }
  3682. ​
  3683. .dash-btn-primary,
  3684. .ai-fab {
  3685. background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 22%, transparent), color-mix(in srgb, var(--accent) 11%, transparent));
  3686. border-color: color-mix(in srgb, var(--accent) 34%, transparent);
  3687. color: var(--accent-hover);
  3688. box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 10%, transparent), var(--inset-hairline);
  3689. -webkit-backdrop-filter: blur(6px);
  3690. backdrop-filter: blur(6px);
  3691. }
  3692. ​
  3693. body[data-theme="light"] .dash-btn-primary,
  3694. body[data-theme="light"] .ai-fab {
  3695. color: var(--accent);
  3696. }
  3697. ​
  3698. .dash-btn-primary:hover,
  3699. .ai-fab:hover {
  3700. background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 32%, transparent), color-mix(in srgb, var(--accent) 18%, transparent));
  3701. border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  3702. color: var(--accent-hover);
  3703. box-shadow: 0 6px 20px -6px color-mix(in srgb, var(--accent) 55%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--accent) 14%, transparent), var(--inset-hairline);
  3704. }
  3705. ​
  3706. body[data-theme="light"] .dash-btn-primary:hover,
  3707. body[data-theme="light"] .ai-fab:hover {
  3708. color: var(--accent);
  3709. }
  3710. ​
  3711. .dash-btn-success,
  3712. .dash-btn-small.dash-btn-success {
  3713. background: linear-gradient(180deg, color-mix(in srgb, var(--success) 22%, transparent), color-mix(in srgb, var(--success) 10%, transparent));
  3714. border-color: color-mix(in srgb, var(--success) 34%, transparent);
  3715. color: var(--success);
  3716. box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--success) 10%, transparent), var(--inset-hairline);
  3717. }
  3718. ​
  3719. .dash-btn-success:hover,
  3720. .dash-btn-small.dash-btn-success:hover {
  3721. background: linear-gradient(180deg, color-mix(in srgb, var(--success) 32%, transparent), color-mix(in srgb, var(--success) 18%, transparent));
  3722. border-color: color-mix(in srgb, var(--success) 55%, transparent);
  3723. color: var(--success);
  3724. }
  3725. ​
  3726. .dash-btn-danger,
  3727. .dash-btn-small.dash-btn-danger {
  3728. background: linear-gradient(180deg, color-mix(in srgb, var(--danger) 14%, transparent), color-mix(in srgb, var(--danger) 6%, transparent));
  3729. border-color: color-mix(in srgb, var(--danger) 34%, transparent);
  3730. color: var(--danger);
  3731. box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--danger) 8%, transparent);
  3732. }
  3733. ​
  3734. .dash-btn-danger:hover,
  3735. .dash-btn-small.dash-btn-danger:hover {
  3736. background: linear-gradient(180deg, color-mix(in srgb, var(--danger) 26%, transparent), color-mix(in srgb, var(--danger) 14%, transparent));
  3737. border-color: color-mix(in srgb, var(--danger) 55%, transparent);
  3738. color: var(--danger);
  3739. }
  3740. ​
  3741. .dash-btn:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success),
  3742. .dash-btn-small:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success) {
  3743. background: linear-gradient(180deg, color-mix(in srgb, var(--panel-alt) 100%, #fff 3%), var(--panel-alt));
  3744. box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 3%, transparent), var(--inset-hairline);
  3745. }
  3746. ​
  3747. .dash-btn:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success):hover,
  3748. .dash-btn-small:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success):hover {
  3749. border-color: color-mix(in srgb, var(--accent) 40%, var(--border-strong));
  3750. }
  3751. ​
  3752. .ai-msg-user {
  3753. background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 26%, var(--panel)), color-mix(in srgb, var(--accent) 16%, var(--panel)));
  3754. border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  3755. color: var(--text);
  3756. }
  3757. ​
  3758. .be-inline-toolbar button:hover {
  3759. background: color-mix(in srgb, var(--accent) 22%, transparent);
  3760. color: var(--accent-hover);
  3761. }
  3762. ​
  3763. .be-block-menu {
  3764. padding: 6px;
  3765. gap: 2px;
  3766. }
  3767. ​
  3768. .be-block-menu button {
  3769. position: relative;
  3770. overflow: hidden;
  3771. border-radius: 9px;
  3772. padding: 9px 12px 9px 14px;
  3773. border: 1px solid transparent;
  3774. transition:
  3775. background-color var(--dur) var(--ease-soft),
  3776. border-color var(--dur) var(--ease-soft),
  3777. color var(--dur) var(--ease-soft),
  3778. padding-left var(--dur) var(--ease-out);
  3779. animation: dashMenuItem .34s var(--ease-out) backwards;
  3780. }
  3781. ​
  3782. .be-block-menu button::before {
  3783. content: "";
  3784. position: absolute;
  3785. left: 0;
  3786. top: 22%;
  3787. bottom: 22%;
  3788. width: 3px;
  3789. border-radius: 0 3px 3px 0;
  3790. background: var(--accent);
  3791. transform: scaleY(0);
  3792. transition: transform var(--dur) var(--ease-out);
  3793. }
  3794. ​
  3795. .be-block-menu button:hover,
  3796. .be-block-menu button:focus-visible,
  3797. .be-block-menu button.active,
  3798. .be-block-menu button.is-active,
  3799. .be-block-menu button[aria-selected="true"] {
  3800. background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 22%, transparent), color-mix(in srgb, var(--accent) 9%, transparent));
  3801. border-color: color-mix(in srgb, var(--accent) 28%, transparent);
  3802. color: var(--accent-hover);
  3803. padding-left: 18px;
  3804. outline: none;
  3805. }
  3806. ​
  3807. body[data-theme="light"] .be-block-menu button:hover,
  3808. body[data-theme="light"] .be-block-menu button.active {
  3809. color: var(--accent);
  3810. }
  3811. ​
  3812. .be-block-menu button:hover::before,
  3813. .be-block-menu button:focus-visible::before,
  3814. .be-block-menu button.active::before,
  3815. .be-block-menu button.is-active::before,
  3816. .be-block-menu button[aria-selected="true"]::before {
  3817. transform: scaleY(1);
  3818. }
  3819. ​
  3820. .be-block-menu button:nth-child(1) { animation-delay: .00s; }
  3821. .be-block-menu button:nth-child(2) { animation-delay: .02s; }
  3822. .be-block-menu button:nth-child(3) { animation-delay: .04s; }
  3823. .be-block-menu button:nth-child(4) { animation-delay: .06s; }
  3824. .be-block-menu button:nth-child(5) { animation-delay: .08s; }
  3825. .be-block-menu button:nth-child(6) { animation-delay: .10s; }
  3826. .be-block-menu button:nth-child(7) { animation-delay: .12s; }
  3827. .be-block-menu button:nth-child(8) { animation-delay: .14s; }
  3828. .be-block-menu button:nth-child(9) { animation-delay: .16s; }
  3829. .be-block-menu button:nth-child(n+10) { animation-delay: .18s; }
  3830. ​
  3831. @keyframes dashMenuItem {
  3832. from { opacity: 0; transform: translateX(-6px); }
  3833. to { opacity: 1; transform: translateX(0); }
  3834. }
  3835. ​
  3836. .dash-table tbody tr:hover {
  3837. box-shadow: none;
  3838. }
  3839. ​
  3840. .dash-card::after {
  3841. display: none;
  3842. }
  3843. ​
  3844. .be-block-menu button::before {
  3845. display: none;
  3846. }
  3847. ​
  3848. .be-block-menu button,
  3849. .be-block-menu button:hover,
  3850. .be-block-menu button:focus-visible {
  3851. padding: 9px 12px;
  3852. animation: none;
  3853. }
  3854. ​
  3855. .settings-tabs a::after {
  3856. display: none;
  3857. }
  3858. ​
  3859. .settings-tabs a.active {
  3860. border-bottom-color: var(--accent);
  3861. }
  3862. ​
  3863. @media (max-width: 860px) {
  3864. .dash-mobile-topbar::after {
  3865. display: block;
  3866. content: '';
  3867. position: absolute;
  3868. left: 0;
  3869. right: 0;
  3870. top: calc(100% - 1px);
  3871. height: 24px;
  3872. pointer-events: none;
  3873. z-index: 1;
  3874. background:
  3875. radial-gradient(circle at 100% 100%, transparent 23.5px, var(--bg) 24.5px) left top / 24px 24px no-repeat,
  3876. radial-gradient(circle at 0 100%, transparent 23.5px, var(--bg) 24.5px) right top / 24px 24px no-repeat;
  3877. }
  3878. }
  3879. ​
  3880. input[type="text"],
  3881. input[type="number"],
  3882. input[type="datetime-local"],
  3883. input[type="password"],
  3884. input[type="email"],
  3885. input:not([type]),
  3886. input[type="url"],
  3887. input[type="search"],
  3888. input[type="tel"],
  3889. input[type="date"],
  3890. input[type="time"],
  3891. input[type="month"],
  3892. input[type="week"],
  3893. select,
  3894. textarea {
  3895. background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 100%, #fff 2.5%), var(--bg));
  3896. border-color: color-mix(in srgb, var(--border-strong) 80%, transparent);
  3897. box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.18), inset 0 0 0 1px color-mix(in srgb, var(--text) 2.5%, transparent);
  3898. }
  3899. ​
  3900. input[type="text"]:hover,
  3901. input[type="number"]:hover,
  3902. input[type="datetime-local"]:hover,
  3903. input[type="password"]:hover,
  3904. input[type="email"]:hover,
  3905. input:not([type]):hover,
  3906. input[type="url"]:hover,
  3907. input[type="search"]:hover,
  3908. input[type="tel"]:hover,
  3909. input[type="date"]:hover,
  3910. input[type="time"]:hover,
  3911. select:hover,
  3912. textarea:hover {
  3913. border-color: color-mix(in srgb, var(--accent) 30%, var(--border-strong));
  3914. }
  3915. ​
  3916. input[type="text"]:focus,
  3917. input[type="number"]:focus,
  3918. input[type="datetime-local"]:focus,
  3919. input[type="password"]:focus,
  3920. input[type="email"]:focus,
  3921. input:not([type]):focus,
  3922. input[type="url"]:focus,
  3923. input[type="search"]:focus,
  3924. input[type="tel"]:focus,
  3925. input[type="date"]:focus,
  3926. input[type="time"]:focus,
  3927. select:focus,
  3928. textarea:focus {
  3929. background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, var(--bg)), color-mix(in srgb, var(--accent) 3%, var(--bg)));
  3930. border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  3931. box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--accent) 10%, transparent);
  3932. }
  3933. ​
  3934. select {
  3935. cursor: pointer;
  3936. }
  3937. ​
  3938. .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"]) {
  3939. background: linear-gradient(180deg, color-mix(in srgb, var(--panel-alt) 100%, #fff 3%), var(--panel-alt));
  3940. border-color: color-mix(in srgb, var(--border-strong) 90%, transparent);
  3941. box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2), inset 0 0 0 1px color-mix(in srgb, var(--text) 3%, transparent);
  3942. }
  3943. ​
  3944. .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"])::before {
  3945. background: linear-gradient(180deg, color-mix(in srgb, var(--muted) 100%, #fff 12%), var(--muted));
  3946. box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  3947. }
  3948. ​
  3949. .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"]):hover {
  3950. border-color: color-mix(in srgb, var(--accent) 35%, var(--border-strong));
  3951. }
  3952. ​
  3953. .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"]):checked {
  3954. background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 34%, transparent), color-mix(in srgb, var(--accent) 18%, transparent));
  3955. border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  3956. box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 12%, transparent), 0 0 14px -4px color-mix(in srgb, var(--accent) 60%, transparent);
  3957. }
  3958. ​
  3959. .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"]):checked::before {
  3960. background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--accent-hover) 30%, #fff));
  3961. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  3962. }
  3963. ​
  3964. .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"]):focus-visible {
  3965. outline: none;
  3966. box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
  3967. }
  3968. ​
  3969. body[data-theme="light"] input[type="text"],
  3970. body[data-theme="light"] input[type="number"],
  3971. body[data-theme="light"] input[type="password"],
  3972. body[data-theme="light"] input[type="email"],
  3973. body[data-theme="light"] input[type="url"],
  3974. body[data-theme="light"] select,
  3975. body[data-theme="light"] textarea {
  3976. box-shadow: inset 0 1px 2px rgba(20, 20, 30, 0.06);
  3977. }
  3978. ​
  3979. .dash-flash {
  3980. animation: dashRise .4s var(--ease-out) backwards;
  3981. }
  3982. ​
  3983. .dash-cards .dash-card {
  3984. animation: dashRise .5s var(--ease-out) backwards;
  3985. }
  3986. ​
  3987. .dash-cards .dash-card:nth-child(2) { animation-delay: .05s; }
  3988. .dash-cards .dash-card:nth-child(3) { animation-delay: .1s; }
  3989. .dash-cards .dash-card:nth-child(4) { animation-delay: .15s; }
  3990. ​
  3991. .dash-table tbody tr {
  3992. animation: dashRise .45s var(--ease-out) backwards;
  3993. }
  3994. ​
  3995. .dash-table tbody tr:nth-child(2) { animation-delay: .03s; }
  3996. .dash-table tbody tr:nth-child(3) { animation-delay: .06s; }
  3997. .dash-table tbody tr:nth-child(4) { animation-delay: .09s; }
  3998. .dash-table tbody tr:nth-child(5) { animation-delay: .12s; }
  3999. .dash-table tbody tr:nth-child(6) { animation-delay: .15s; }
  4000. .dash-table tbody tr:nth-child(n+7) { animation-delay: .18s; }
  4001. ​
  4002. @media (max-width: 860px) {
  4003. .dash-cards .dash-card {
  4004. animation: dashFade .4s var(--ease-soft) backwards;
  4005. }
  4006. }
  4007. ​
  4008. .dash-main {
  4009. animation: none !important;
  4010. transform: none !important;
  4011. }
  4012. ​
  4013. @media (max-width: 860px) {
  4014. .dash-cards {
  4015. display: grid;
  4016. grid-template-columns: repeat(2, minmax(0, 1fr));
  4017. gap: 12px;
  4018. overflow: visible;
  4019. scroll-snap-type: none;
  4020. margin: 0 0 24px;
  4021. padding: 0;
  4022. }
  4023. ​
  4024. .dash-cards .dash-card {
  4025. width: auto;
  4026. min-width: 0;
  4027. flex: none;
  4028. padding: 16px 16px;
  4029. scroll-snap-align: none;
  4030. }
  4031. ​
  4032. .dash-card-value {
  4033. font-size: 26px;
  4034. }
  4035. ​
  4036. .dash-card-label {
  4037. overflow-wrap: anywhere;
  4038. }
  4039. }
  4040. ​
  4041. body[data-theme="dark"] {
  4042. color-scheme: dark;
  4043. }
  4044. ​
  4045. body[data-theme="light"] {
  4046. color-scheme: light;
  4047. }
  4048. ​
  4049. select option,
  4050. select optgroup {
  4051. background: var(--panel);
  4052. color: var(--text);
  4053. }
  4054. ​
  4055. select option:checked,
  4056. select option:hover {
  4057. background: var(--accent);
  4058. color: #fff;
  4059. }
  4060. ​
  4061. .image-upload-row {
  4062. display: flex;
  4063. align-items: stretch;
  4064. gap: 8px;
  4065. }
  4066. ​
  4067. .image-upload-row > input[type="text"] {
  4068. flex: 1 1 auto;
  4069. min-width: 0;
  4070. }
  4071. ​
  4072. .image-upload-button {
  4073. flex: 0 0 auto;
  4074. white-space: nowrap;
  4075. }
  4076. ​
  4077. .image-upload-status {
  4078. min-height: 0;
  4079. margin-top: 6px;
  4080. font-size: 12px;
  4081. color: var(--muted);
  4082. }
  4083. ​
  4084. .image-upload-status:empty {
  4085. display: none;
  4086. }
  4087. ​
  4088. @media (max-width: 480px) {
  4089. .image-upload-row {
  4090. flex-direction: column;
  4091. }
  4092. }
  4093. ​
  4094. [hidden] {
  4095. display: none !important;
  4096. }
  4097. ​
  4098. body.media-modal-open {
  4099. overflow: hidden;
  4100. }
  4101. ​
  4102. .media-modal-overlay {
  4103. position: fixed;
  4104. inset: 0;
  4105. z-index: 300;
  4106. display: flex;
  4107. align-items: center;
  4108. justify-content: center;
  4109. padding: 24px;
  4110. background: rgba(0, 0, 0, 0.6);
  4111. -webkit-backdrop-filter: blur(4px);
  4112. backdrop-filter: blur(4px);
  4113. }
  4114. ​
  4115. .media-modal {
  4116. display: flex;
  4117. flex-direction: column;
  4118. width: min(880px, 100%);
  4119. height: min(640px, 100%);
  4120. background: var(--panel);
  4121. border: 1px solid var(--border-strong);
  4122. border-radius: 16px;
  4123. box-shadow: var(--shadow-md), var(--inset-hairline);
  4124. overflow: hidden;
  4125. }
  4126. ​
  4127. .media-modal-header {
  4128. display: flex;
  4129. align-items: center;
  4130. justify-content: space-between;
  4131. gap: 12px;
  4132. padding: 10px 12px 10px 16px;
  4133. border-bottom: 1px solid var(--border);
  4134. background: var(--panel-alt);
  4135. }
  4136. ​
  4137. .media-modal-tabs {
  4138. display: flex;
  4139. gap: 4px;
  4140. padding: 4px;
  4141. border-radius: 10px;
  4142. background: var(--bg);
  4143. border: 1px solid var(--border);
  4144. }
  4145. ​
  4146. .media-modal-tab {
  4147. padding: 7px 16px;
  4148. border: 1px solid transparent;
  4149. border-radius: 8px;
  4150. background: transparent;
  4151. color: var(--muted);
  4152. font: inherit;
  4153. font-size: 13px;
  4154. font-weight: 600;
  4155. cursor: pointer;
  4156. transition: background-color .2s, color .2s, border-color .2s;
  4157. }
  4158. ​
  4159. .media-modal-tab:hover {
  4160. color: var(--text);
  4161. }
  4162. ​
  4163. .media-modal-tab.is-active {
  4164. background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 22%, transparent), color-mix(in srgb, var(--accent) 11%, transparent));
  4165. border-color: color-mix(in srgb, var(--accent) 34%, transparent);
  4166. color: var(--accent);
  4167. }
  4168. ​
  4169. .media-modal-close {
  4170. width: 32px;
  4171. height: 32px;
  4172. border: none;
  4173. border-radius: 8px;
  4174. background: transparent;
  4175. color: var(--muted);
  4176. font-size: 22px;
  4177. line-height: 1;
  4178. cursor: pointer;
  4179. transition: background-color .2s, color .2s;
  4180. }
  4181. ​
  4182. .media-modal-close:hover {
  4183. background: var(--panel-hover);
  4184. color: var(--text);
  4185. }
  4186. ​
  4187. .media-modal-body {
  4188. flex: 1 1 auto;
  4189. min-height: 0;
  4190. overflow-y: auto;
  4191. padding: 18px;
  4192. }
  4193. ​
  4194. .media-modal-pane {
  4195. min-height: 100%;
  4196. }
  4197. ​
  4198. .media-drop {
  4199. display: flex;
  4200. flex-direction: column;
  4201. align-items: center;
  4202. justify-content: center;
  4203. gap: 6px;
  4204. min-height: 260px;
  4205. margin: 0;
  4206. padding: 24px;
  4207. border: 1.5px dashed var(--border-strong);
  4208. border-radius: 14px;
  4209. background: var(--bg);
  4210. text-align: center;
  4211. cursor: pointer;
  4212. transition: border-color .2s, background-color .2s;
  4213. }
  4214. ​
  4215. .media-drop:hover,
  4216. .media-drop.is-over {
  4217. border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  4218. background: color-mix(in srgb, var(--accent) 6%, var(--bg));
  4219. }
  4220. ​
  4221. .media-drop.is-busy {
  4222. opacity: .6;
  4223. pointer-events: none;
  4224. }
  4225. ​
  4226. .media-drop-title {
  4227. font-size: 15px;
  4228. font-weight: 600;
  4229. color: var(--text);
  4230. }
  4231. ​
  4232. .media-drop-hint {
  4233. font-size: 12.5px;
  4234. font-weight: 500;
  4235. color: var(--muted);
  4236. }
  4237. ​
  4238. .media-status {
  4239. margin-top: 12px;
  4240. font-size: 12.5px;
  4241. color: var(--muted);
  4242. }
  4243. ​
  4244. .media-status:empty {
  4245. display: none;
  4246. }
  4247. ​
  4248. .media-grid {
  4249. display: grid;
  4250. grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  4251. gap: 10px;
  4252. margin-top: 12px;
  4253. }
  4254. ​
  4255. .media-tile {
  4256. position: relative;
  4257. padding: 0;
  4258. aspect-ratio: 1;
  4259. border: 1px solid var(--border);
  4260. border-radius: 10px;
  4261. background: var(--bg);
  4262. overflow: hidden;
  4263. cursor: pointer;
  4264. transition: border-color .2s, transform .15s;
  4265. }
  4266. ​
  4267. .media-tile:hover,
  4268. .media-tile:focus-visible {
  4269. border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  4270. outline: none;
  4271. transform: translateY(-2px);
  4272. }
  4273. ​
  4274. .media-tile img,
  4275. .media-tile video {
  4276. display: block;
  4277. width: 100%;
  4278. height: 100%;
  4279. object-fit: cover;
  4280. }
  4281. ​
  4282. @media (max-width: 600px) {
  4283. .media-modal-overlay {
  4284. padding: 0;
  4285. align-items: flex-end;
  4286. }
  4287. ​
  4288. .media-modal {
  4289. width: 100%;
  4290. height: 88vh;
  4291. border-radius: 16px 16px 0 0;
  4292. }
  4293. ​
  4294. .media-grid {
  4295. grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  4296. }
  4297. }
  4298. ​
  4299. .be-add-row {
  4300. margin-top: 8px;
  4301. padding-left: 0;
  4302. }
  4303. ​
  4304. .be-add-button {
  4305. display: inline-flex;
  4306. align-items: center;
  4307. gap: 6px;
  4308. }
  4309. ​
  4310. body.dash-no-glass {
  4311. --inset-hairline: none;
  4312. }
  4313. ​
  4314. body.dash-no-glass .dash-btn-primary,
  4315. body.dash-no-glass .ai-fab {
  4316. background: var(--accent);
  4317. border-color: var(--accent);
  4318. color: #fff;
  4319. box-shadow: none;
  4320. -webkit-backdrop-filter: none;
  4321. backdrop-filter: none;
  4322. }
  4323. ​
  4324. body.dash-no-glass .dash-btn-primary:hover,
  4325. body.dash-no-glass .ai-fab:hover {
  4326. background: var(--accent-hover);
  4327. border-color: var(--accent-hover);
  4328. color: #fff;
  4329. box-shadow: none;
  4330. }
  4331. ​
  4332. body.dash-no-glass[data-theme="light"] .dash-btn-primary,
  4333. body.dash-no-glass[data-theme="light"] .ai-fab,
  4334. body.dash-no-glass[data-theme="light"] .dash-btn-primary:hover,
  4335. body.dash-no-glass[data-theme="light"] .ai-fab:hover {
  4336. color: #fff;
  4337. }
  4338. ​
  4339. body.dash-no-glass .dash-btn-success,
  4340. body.dash-no-glass .dash-btn-small.dash-btn-success {
  4341. background: var(--success);
  4342. border-color: var(--success);
  4343. color: #06231a;
  4344. box-shadow: none;
  4345. }
  4346. ​
  4347. body.dash-no-glass .dash-btn-success:hover,
  4348. body.dash-no-glass .dash-btn-small.dash-btn-success:hover {
  4349. background: color-mix(in srgb, var(--success) 88%, #fff);
  4350. border-color: var(--success);
  4351. color: #06231a;
  4352. }
  4353. ​
  4354. body.dash-no-glass .dash-btn-danger,
  4355. body.dash-no-glass .dash-btn-small.dash-btn-danger {
  4356. background: transparent;
  4357. border-color: var(--danger);
  4358. color: var(--danger);
  4359. box-shadow: none;
  4360. }
  4361. ​
  4362. body.dash-no-glass .dash-btn-danger:hover,
  4363. body.dash-no-glass .dash-btn-small.dash-btn-danger:hover {
  4364. background: var(--danger-dim);
  4365. border-color: var(--danger);
  4366. color: var(--danger);
  4367. }
  4368. ​
  4369. body.dash-no-glass .dash-btn:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success),
  4370. body.dash-no-glass .dash-btn-small:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success) {
  4371. background: var(--panel-alt);
  4372. box-shadow: none;
  4373. }
  4374. ​
  4375. body.dash-no-glass .dash-btn:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success):hover,
  4376. body.dash-no-glass .dash-btn-small:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success):hover {
  4377. background: var(--panel-hover);
  4378. }
  4379. ​
  4380. body.dash-no-glass .dash-card {
  4381. background: var(--panel);
  4382. }
  4383. ​
  4384. body.dash-no-glass .ai-msg-user {
  4385. background: var(--accent);
  4386. border-color: var(--accent);
  4387. color: #fff;
  4388. }
  4389. ​
  4390. body.dash-no-glass .be-inline-toolbar button:hover {
  4391. background: var(--accent);
  4392. color: #fff;
  4393. }
  4394. ​
  4395. body.dash-no-glass .be-block-menu button:hover,
  4396. body.dash-no-glass .be-block-menu button:focus-visible,
  4397. body.dash-no-glass .be-block-menu button.active,
  4398. body.dash-no-glass .be-block-menu button.is-active,
  4399. body.dash-no-glass .be-block-menu button[aria-selected="true"] {
  4400. background: var(--accent-dim);
  4401. border-color: transparent;
  4402. }
  4403. ​
  4404. body.dash-no-glass .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"]):checked {
  4405. background: var(--accent);
  4406. border-color: var(--accent);
  4407. box-shadow: none;
  4408. }
  4409. ​
  4410. body.dash-no-glass .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"]):checked::before {
  4411. background: #fff;
  4412. }
  4413. ​
  4414. body.dash-no-glass .media-modal-tab.is-active {
  4415. background: var(--accent-dim);
  4416. border-color: transparent;
  4417. }
  4418. ​
  4419. body.dash-no-glass .media-modal-overlay {
  4420. -webkit-backdrop-filter: none;
  4421. backdrop-filter: none;
  4422. }
  4423. ​
  4424. body.dash-no-glass .dash-sidebar,
  4425. body.dash-no-glass .dash-mobile-topbar,
  4426. body.dash-no-glass .be-inline-toolbar,
  4427. body.dash-no-glass .be-color-popover,
  4428. body.dash-no-glass .be-block-menu,
  4429. body.dash-no-glass .ai-panel,
  4430. body.dash-no-glass .media-modal {
  4431. -webkit-backdrop-filter: none;
  4432. backdrop-filter: none;
  4433. }
  4434. ​
  4435. body.dash-minimal {
  4436. --shadow-sm: none;
  4437. --shadow-card: none;
  4438. }
  4439. ​
  4440. body.dash-minimal *,
  4441. body.dash-minimal *::before,
  4442. body.dash-minimal *::after {
  4443. transition: none !important;
  4444. animation: none !important;
  4445. }
  4446. ​
  4447. body.dash-minimal .dash-card,
  4448. body.dash-minimal .dash-table,
  4449. body.dash-minimal .dash-sidebar,
  4450. body.dash-minimal .dash-main,
  4451. body.dash-minimal .sidebar-box {
  4452. box-shadow: none;
  4453. }
  4454. ​
  4455. body.dash-minimal input[type="text"],
  4456. body.dash-minimal input[type="number"],
  4457. body.dash-minimal input[type="datetime-local"],
  4458. body.dash-minimal input[type="password"],
  4459. body.dash-minimal input[type="email"],
  4460. body.dash-minimal input:not([type]),
  4461. body.dash-minimal input[type="url"],
  4462. body.dash-minimal input[type="search"],
  4463. body.dash-minimal input[type="tel"],
  4464. body.dash-minimal input[type="date"],
  4465. body.dash-minimal input[type="time"],
  4466. body.dash-minimal select,
  4467. body.dash-minimal textarea {
  4468. background: var(--bg);
  4469. }
  4470. ​
  4471. body.dash-minimal .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"]) {
  4472. background: var(--panel-alt);
  4473. box-shadow: none;
  4474. }
  4475. ​
  4476. body.dash-minimal .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"])::before {
  4477. background: var(--muted);
  4478. box-shadow: none;
  4479. }
  4480. ​