WebOrbiton
v1.0.0.1

StocketBase

4,090 lines · 80.7 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-list-row,
  1427. .be-checklist-row {
  1428. display: flex;
  1429. gap: 8px;
  1430. margin-bottom: 6px;
  1431. align-items: center;
  1432. }
  1433. ​
  1434. .be-table-scroll {
  1435. max-width: 100%;
  1436. overflow-x: auto;
  1437. margin-top: 8px;
  1438. border-radius: var(--radius-sm);
  1439. }
  1440. ​
  1441. .be-table {
  1442. width: 100%;
  1443. border-collapse: collapse;
  1444. }
  1445. ​
  1446. .be-table td {
  1447. border: 1px solid var(--border);
  1448. padding: 4px;
  1449. }
  1450. ​
  1451. .be-table-controls {
  1452. display: flex;
  1453. gap: 8px;
  1454. margin-top: 8px;
  1455. }
  1456. ​
  1457. .settings-tabs {
  1458. display: flex;
  1459. gap: 4px;
  1460. border-bottom: 1px solid var(--border);
  1461. margin-bottom: 24px;
  1462. }
  1463. ​
  1464. .settings-tabs a {
  1465. display: inline-flex;
  1466. align-items: center;
  1467. gap: 7px;
  1468. padding: 10px 16px;
  1469. color: var(--muted);
  1470. text-decoration: none;
  1471. font-size: 13px;
  1472. font-weight: 600;
  1473. border-bottom: 2px solid transparent;
  1474. }
  1475. ​
  1476. .settings-tabs a.active {
  1477. color: var(--text);
  1478. border-bottom-color: var(--accent);
  1479. }
  1480. ​
  1481. .settings-section {
  1482. max-width: 640px;
  1483. }
  1484. ​
  1485. .settings-section + .settings-section {
  1486. margin-top: 36px;
  1487. padding-top: 32px;
  1488. border-top: 1px solid var(--border);
  1489. }
  1490. ​
  1491. .settings-grid {
  1492. display: grid;
  1493. grid-template-columns: repeat(2, minmax(0, 1fr));
  1494. gap: 12px;
  1495. }
  1496. ​
  1497. .settings-grid > div {
  1498. min-width: 0;
  1499. }
  1500. ​
  1501. .share-settings-platform {
  1502. display: inline-flex !important;
  1503. align-items: center;
  1504. gap: 6px;
  1505. }
  1506. ​
  1507. .share-settings-platform-icon {
  1508. width: 16px;
  1509. height: 16px;
  1510. display: inline-flex;
  1511. }
  1512. ​
  1513. .share-settings-platform-icon svg {
  1514. width: 100%;
  1515. height: 100%;
  1516. fill: currentColor;
  1517. }
  1518. ​
  1519. .lang-row {
  1520. display: flex;
  1521. gap: 12px;
  1522. align-items: center;
  1523. margin-bottom: 8px;
  1524. }
  1525. ​
  1526. .lang-row-key {
  1527. width: 220px;
  1528. font-size: 12px;
  1529. color: var(--muted);
  1530. flex-shrink: 0;
  1531. }
  1532. ​
  1533. .dash-mobile-topbar {
  1534. display: none;
  1535. }
  1536. ​
  1537. .dash-nav-more-btn {
  1538. display: none;
  1539. }
  1540. ​
  1541. .dash-nav-sheet-backdrop {
  1542. display: none;
  1543. }
  1544. ​
  1545. @media (max-width: 860px) {
  1546. .dash-main {
  1547. padding: 20px 16px 84px;
  1548. max-width: 100%;
  1549. flex: 1 0 auto;
  1550. width: 100%;
  1551. box-sizing: border-box;
  1552. background: var(--panel);
  1553. border: none;
  1554. border-top: 1px solid var(--border);
  1555. border-radius: 24px 24px 0 0;
  1556. box-shadow: var(--inset-hairline);
  1557. }
  1558. ​
  1559. .dash-header-row {
  1560. flex-wrap: wrap;
  1561. }
  1562. ​
  1563. .dash-header-row .dash-btn,
  1564. .dash-header-row .dash-btn-primary {
  1565. flex: 1;
  1566. }
  1567. ​
  1568. .dash-title {
  1569. font-size: 18px;
  1570. }
  1571. ​
  1572. .dash-cards {
  1573. flex-wrap: nowrap;
  1574. overflow-x: auto;
  1575. -webkit-overflow-scrolling: touch;
  1576. scroll-snap-type: x mandatory;
  1577. margin: 0 -16px 24px;
  1578. padding: 0 16px 4px;
  1579. }
  1580. ​
  1581. .dash-card {
  1582. min-width: 150px;
  1583. scroll-snap-align: start;
  1584. }
  1585. ​
  1586. .dash-table,
  1587. .dash-table thead,
  1588. .dash-table tbody,
  1589. .dash-table th,
  1590. .dash-table td,
  1591. .dash-table tr {
  1592. display: block;
  1593. }
  1594. ​
  1595. .dash-table thead {
  1596. display: none;
  1597. }
  1598. ​
  1599. .dash-table tbody tr {
  1600. border-bottom: 1px solid var(--border);
  1601. padding: 12px 14px;
  1602. }
  1603. ​
  1604. .dash-table tbody tr:last-child {
  1605. border-bottom: none;
  1606. }
  1607. ​
  1608. .dash-table td {
  1609. border-bottom: none;
  1610. padding: 5px 0;
  1611. display: flex;
  1612. justify-content: space-between;
  1613. align-items: center;
  1614. gap: 10px;
  1615. text-align: right;
  1616. }
  1617. ​
  1618. .dash-table td::before {
  1619. content: attr(data-label);
  1620. color: var(--muted);
  1621. font-size: 11.5px;
  1622. font-weight: 600;
  1623. text-transform: uppercase;
  1624. letter-spacing: 0.03em;
  1625. text-align: left;
  1626. flex-shrink: 0;
  1627. }
  1628. ​
  1629. .dash-table td:empty {
  1630. display: none;
  1631. }
  1632. ​
  1633. .dash-table-actions {
  1634. justify-content: flex-end;
  1635. flex-wrap: wrap;
  1636. }
  1637. ​
  1638. .article-form-grid,
  1639. .two-col {
  1640. flex-direction: column;
  1641. gap: 16px;
  1642. }
  1643. ​
  1644. .article-form-sidebar {
  1645. width: 100%;
  1646. }
  1647. ​
  1648. .settings-tabs {
  1649. overflow-x: auto;
  1650. -webkit-overflow-scrolling: touch;
  1651. flex-wrap: nowrap;
  1652. white-space: nowrap;
  1653. }
  1654. ​
  1655. .lang-row {
  1656. flex-wrap: wrap;
  1657. }
  1658. ​
  1659. .lang-row-key {
  1660. width: 100%;
  1661. }
  1662. ​
  1663. .dash-shell {
  1664. flex-direction: column;
  1665. gap: 0;
  1666. padding: 0;
  1667. }
  1668. ​
  1669. .dash-mobile-topbar {
  1670. display: flex;
  1671. align-items: center;
  1672. justify-content: space-between;
  1673. position: sticky;
  1674. top: 0;
  1675. z-index: 50;
  1676. background: var(--bg);
  1677. border-bottom: none;
  1678. padding: 12px 16px;
  1679. }
  1680. ​
  1681. .dash-mobile-topbar::after {
  1682. content: '';
  1683. position: absolute;
  1684. left: 0;
  1685. right: 0;
  1686. top: 100%;
  1687. height: 24px;
  1688. pointer-events: none;
  1689. background:
  1690. radial-gradient(circle at 100% 100%, transparent 23.5px, var(--bg) 24.5px) left top / 24px 24px no-repeat,
  1691. radial-gradient(circle at 0 100%, transparent 23.5px, var(--bg) 24.5px) right top / 24px 24px no-repeat;
  1692. }
  1693. ​
  1694. .dash-mobile-topbar .dash-brand {
  1695. font-size: 14px;
  1696. }
  1697. ​
  1698. .dash-mobile-topbar-right {
  1699. display: flex;
  1700. align-items: center;
  1701. gap: 8px;
  1702. }
  1703. ​
  1704. .dash-mobile-topbar .dash-user-avatar {
  1705. width: 28px;
  1706. height: 28px;
  1707. font-size: 11px;
  1708. }
  1709. ​
  1710. .dash-sidebar {
  1711. position: fixed;
  1712. top: auto;
  1713. bottom: 0;
  1714. left: 0;
  1715. right: 0;
  1716. width: 100%;
  1717. height: auto;
  1718. flex-direction: row;
  1719. align-items: center;
  1720. padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  1721. border: none;
  1722. border-top: 1px solid var(--border-strong, var(--border));
  1723. border-radius: 24px 24px 0 0;
  1724. box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
  1725. z-index: 60;
  1726. }
  1727. ​
  1728. .dash-brand-row,
  1729. .dash-user {
  1730. display: none;
  1731. }
  1732. ​
  1733. .dash-nav {
  1734. flex-direction: row;
  1735. align-items: center;
  1736. justify-content: space-around;
  1737. gap: 0;
  1738. width: 100%;
  1739. }
  1740. ​
  1741. .dash-nav-divider {
  1742. display: none;
  1743. }
  1744. ​
  1745. .dash-nav a {
  1746. flex-direction: column;
  1747. gap: 3px;
  1748. padding: 6px 4px;
  1749. font-size: 10px;
  1750. font-weight: 600;
  1751. border-radius: var(--radius-sm);
  1752. flex: 1;
  1753. text-align: center;
  1754. }
  1755. ​
  1756. .dash-nav a .icon {
  1757. width: 20px;
  1758. height: 20px;
  1759. }
  1760. ​
  1761. .dash-nav.has-overflow a.dash-nav-overflow-item {
  1762. display: none;
  1763. }
  1764. ​
  1765. .dash-nav-more-btn {
  1766. display: flex;
  1767. flex-direction: column;
  1768. align-items: center;
  1769. gap: 3px;
  1770. padding: 6px 4px;
  1771. background: none;
  1772. border: none;
  1773. color: var(--muted);
  1774. font-size: 10px;
  1775. font-weight: 600;
  1776. font-family: inherit;
  1777. cursor: pointer;
  1778. flex: 1;
  1779. border-radius: var(--radius-sm);
  1780. }
  1781. ​
  1782. .dash-nav-more-btn .icon {
  1783. width: 20px;
  1784. height: 20px;
  1785. }
  1786. ​
  1787. .dash-nav-more-btn.open {
  1788. color: var(--accent);
  1789. }
  1790. ​
  1791. .dash-nav-sheet-backdrop {
  1792. display: none;
  1793. position: fixed;
  1794. inset: 0;
  1795. background: rgba(0, 0, 0, 0.45);
  1796. z-index: 70;
  1797. }
  1798. ​
  1799. .dash-nav-sheet-backdrop.open {
  1800. display: block;
  1801. }
  1802. ​
  1803. .dash-nav-sheet {
  1804. display: none;
  1805. position: fixed;
  1806. left: 0;
  1807. right: 0;
  1808. bottom: 0;
  1809. background: var(--panel);
  1810. border-top: 1px solid var(--border);
  1811. border-radius: 16px 16px 0 0;
  1812. padding: 8px 10px calc(14px + env(safe-area-inset-bottom));
  1813. z-index: 71;
  1814. box-shadow: var(--shadow-md);
  1815. max-height: 70vh;
  1816. overflow-y: auto;
  1817. }
  1818. ​
  1819. .dash-nav-sheet.open {
  1820. display: block;
  1821. animation: dashSheetIn .18s ease-out;
  1822. }
  1823. ​
  1824. @keyframes dashSheetIn {
  1825. from {
  1826. transform: translateY(12px);
  1827. opacity: 0;
  1828. }
  1829. ​
  1830. to {
  1831. transform: translateY(0);
  1832. opacity: 1;
  1833. }
  1834. }
  1835. ​
  1836. .dash-nav-sheet-handle {
  1837. width: 36px;
  1838. height: 4px;
  1839. border-radius: 999px;
  1840. background: var(--border-strong);
  1841. margin: 6px auto 12px;
  1842. }
  1843. ​
  1844. .dash-nav-sheet a {
  1845. display: flex;
  1846. align-items: center;
  1847. gap: 12px;
  1848. padding: 12px 10px;
  1849. color: var(--text);
  1850. text-decoration: none;
  1851. font-size: 14px;
  1852. font-weight: 500;
  1853. border-radius: var(--radius-sm);
  1854. }
  1855. ​
  1856. .dash-nav-sheet a:active {
  1857. background: var(--panel-alt);
  1858. }
  1859. ​
  1860. .dash-nav-sheet a.active {
  1861. color: var(--accent);
  1862. background: var(--accent-dim);
  1863. }
  1864. }
  1865. ​
  1866. @media (min-width: 861px) {
  1867. ​
  1868. .dash-nav-sheet,
  1869. .dash-nav-sheet-backdrop {
  1870. display: none !important;
  1871. }
  1872. }
  1873. ​
  1874. .updater-card {
  1875. display: flex;
  1876. align-items: center;
  1877. justify-content: space-between;
  1878. gap: 16px;
  1879. flex-wrap: wrap;
  1880. max-width: 640px;
  1881. margin-bottom: 24px;
  1882. }
  1883. ​
  1884. .updater-card-info {
  1885. display: flex;
  1886. align-items: center;
  1887. gap: 12px;
  1888. min-width: 0;
  1889. }
  1890. ​
  1891. .updater-card-info .icon {
  1892. color: var(--accent);
  1893. }
  1894. ​
  1895. .updater-card-title {
  1896. font-weight: 600;
  1897. font-size: 14px;
  1898. }
  1899. ​
  1900. .updater-card-version {
  1901. color: var(--muted);
  1902. font-size: 12.5px;
  1903. }
  1904. ​
  1905. .updater-note {
  1906. display: flex;
  1907. align-items: center;
  1908. gap: 8px;
  1909. color: var(--muted);
  1910. font-size: 12.5px;
  1911. margin: 14px 0 0;
  1912. }
  1913. ​
  1914. .contact-topic-list {
  1915. display: grid;
  1916. gap: 8px;
  1917. margin: 0 0 10px;
  1918. }
  1919. ​
  1920. .contact-topic-row {
  1921. display: grid;
  1922. grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  1923. gap: 8px;
  1924. align-items: center;
  1925. }
  1926. ​
  1927. .contact-topic-row input {
  1928. margin: 0;
  1929. }
  1930. ​
  1931. @media (max-width: 640px) {
  1932. .contact-topic-row {
  1933. grid-template-columns: 1fr auto;
  1934. }
  1935. ​
  1936. .contact-topic-row input[type="email"] {
  1937. grid-column: 1 / 2;
  1938. }
  1939. }
  1940. ​
  1941. .be-block-menu-item-disabled,
  1942. .be-block-menu-item:disabled {
  1943. opacity: .45;
  1944. cursor: not-allowed;
  1945. }
  1946. ​
  1947. .be-contact-note {
  1948. display: flex;
  1949. align-items: flex-start;
  1950. gap: 8px;
  1951. padding: 10px 12px;
  1952. border: 1px dashed var(--border-strong);
  1953. border-radius: var(--radius-sm);
  1954. background: var(--panel-alt);
  1955. color: var(--muted);
  1956. font-size: 12.5px;
  1957. line-height: 1.5;
  1958. }
  1959. ​
  1960. .be-contact-note .icon {
  1961. flex-shrink: 0;
  1962. margin-top: 2px;
  1963. }
  1964. ​
  1965. .be-block-system {
  1966. border-left: 3px solid var(--accent);
  1967. }
  1968. ​
  1969. .be-hero-toggle {
  1970. display: flex;
  1971. align-items: center;
  1972. gap: 6px;
  1973. margin-top: 8px;
  1974. font-size: 13px;
  1975. color: var(--muted);
  1976. }
  1977. ​
  1978. .page-row-home td:first-child {
  1979. font-weight: 600;
  1980. }
  1981. ​
  1982. .dash-dialog {
  1983. max-width: 520px;
  1984. width: calc(100% - 32px);
  1985. padding: 24px;
  1986. border: 1px solid var(--border);
  1987. border-radius: var(--radius);
  1988. background: var(--panel);
  1989. color: var(--text);
  1990. box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  1991. }
  1992. ​
  1993. .dash-dialog::backdrop {
  1994. background: rgba(0, 0, 0, 0.55);
  1995. }
  1996. ​
  1997. .dash-dialog-title {
  1998. display: flex;
  1999. align-items: center;
  2000. gap: 8px;
  2001. margin: 0 0 12px;
  2002. font-size: 17px;
  2003. }
  2004. ​
  2005. .dash-dialog-text {
  2006. margin: 0 0 10px;
  2007. font-size: 13.5px;
  2008. line-height: 1.55;
  2009. }
  2010. ​
  2011. .dash-dialog-list {
  2012. margin: 0 0 18px;
  2013. padding-left: 18px;
  2014. font-size: 13px;
  2015. line-height: 1.55;
  2016. color: var(--muted);
  2017. }
  2018. ​
  2019. .dash-dialog-list li + li {
  2020. margin-top: 6px;
  2021. }
  2022. ​
  2023. .dash-dialog-actions {
  2024. display: flex;
  2025. flex-wrap: wrap;
  2026. justify-content: flex-end;
  2027. gap: 8px;
  2028. }
  2029. ​
  2030. .files-toolbar {
  2031. display: flex;
  2032. flex-wrap: wrap;
  2033. align-items: flex-end;
  2034. gap: 12px;
  2035. margin: 0 0 16px;
  2036. }
  2037. ​
  2038. .files-toolbar label {
  2039. margin: 0 0 6px;
  2040. }
  2041. ​
  2042. .files-inline-form {
  2043. display: flex;
  2044. gap: 6px;
  2045. align-items: center;
  2046. }
  2047. ​
  2048. .files-inline-form input[type="text"],
  2049. .files-inline-form select {
  2050. min-width: 0;
  2051. padding: 5px 8px;
  2052. font-size: 12.5px;
  2053. }
  2054. ​
  2055. .files-name-cell {
  2056. min-width: 260px;
  2057. }
  2058. ​
  2059. .files-name-cell .files-inline-form {
  2060. flex-wrap: wrap;
  2061. }
  2062. ​
  2063. .files-name-cell .files-inline-form input[type="text"] {
  2064. flex: 1 1 160px;
  2065. }
  2066. ​
  2067. .files-name-cell small {
  2068. display: block;
  2069. color: var(--muted);
  2070. font-size: 11.5px;
  2071. }
  2072. ​
  2073. .product-files-hint {
  2074. font-size: 12px;
  2075. color: var(--muted);
  2076. margin: 0 0 10px;
  2077. line-height: 1.5;
  2078. }
  2079. ​
  2080. .product-files-hint:last-child {
  2081. margin: 10px 0 0;
  2082. }
  2083. ​
  2084. .product-files-list {
  2085. list-style: none;
  2086. margin: 0 0 12px;
  2087. padding: 0;
  2088. display: grid;
  2089. gap: 8px;
  2090. }
  2091. ​
  2092. .product-files-list li {
  2093. display: flex;
  2094. flex-direction: column;
  2095. gap: 8px;
  2096. padding: 8px 10px;
  2097. border: 1px solid var(--border);
  2098. border-radius: var(--radius-sm);
  2099. background: var(--panel-alt);
  2100. }
  2101. ​
  2102. .product-files-row {
  2103. display: flex;
  2104. align-items: center;
  2105. justify-content: space-between;
  2106. gap: 10px;
  2107. }
  2108. ​
  2109. .product-files-list input[type="text"] {
  2110. width: 100%;
  2111. margin: 0;
  2112. padding: 6px 9px;
  2113. font-size: 12.5px;
  2114. }
  2115. ​
  2116. .product-files-name {
  2117. display: flex;
  2118. flex-direction: column;
  2119. min-width: 0;
  2120. font-size: 13px;
  2121. word-break: break-all;
  2122. }
  2123. ​
  2124. .product-files-name small {
  2125. color: var(--muted);
  2126. font-size: 11.5px;
  2127. }
  2128. ​
  2129. #product-files input[type="file"] {
  2130. width: 100%;
  2131. margin-bottom: 8px;
  2132. font-size: 12.5px;
  2133. }
  2134. ​
  2135. .updater-auto-warning {
  2136. margin: 0 0 18px;
  2137. padding: 16px 20px;
  2138. border: 1px solid var(--danger);
  2139. border-left-width: 4px;
  2140. border-radius: var(--radius);
  2141. background: var(--danger-dim);
  2142. color: var(--text);
  2143. font-size: 13.5px;
  2144. line-height: 1.55;
  2145. }
  2146. ​
  2147. .updater-auto-warning strong:first-child {
  2148. display: flex;
  2149. align-items: center;
  2150. gap: 8px;
  2151. color: var(--danger);
  2152. font-size: 14.5px;
  2153. }
  2154. ​
  2155. .updater-auto-warning ul {
  2156. margin: 10px 0;
  2157. padding-left: 20px;
  2158. }
  2159. ​
  2160. .updater-auto-warning li + li {
  2161. margin-top: 4px;
  2162. }
  2163. ​
  2164. .updater-auto-warning p {
  2165. margin: 0;
  2166. color: var(--muted);
  2167. }
  2168. ​
  2169. .updater-changelog {
  2170. margin: 0;
  2171. padding-left: 20px;
  2172. font-size: 13.5px;
  2173. line-height: 1.7;
  2174. }
  2175. ​
  2176. .updater-file {
  2177. border: 1px solid var(--border);
  2178. border-radius: var(--radius-sm);
  2179. background: var(--panel);
  2180. margin-bottom: 8px;
  2181. overflow: hidden;
  2182. }
  2183. ​
  2184. .updater-file summary {
  2185. display: flex;
  2186. align-items: center;
  2187. gap: 10px;
  2188. padding: 10px 14px;
  2189. cursor: pointer;
  2190. font-size: 13px;
  2191. list-style: none;
  2192. }
  2193. ​
  2194. .updater-file summary::-webkit-details-marker {
  2195. display: none;
  2196. }
  2197. ​
  2198. .updater-file summary:hover {
  2199. background: var(--panel-alt);
  2200. }
  2201. ​
  2202. .updater-file-path {
  2203. flex: 1;
  2204. min-width: 0;
  2205. font-family: "SF Mono", Consolas, monospace;
  2206. overflow-wrap: anywhere;
  2207. }
  2208. ​
  2209. .updater-file-stats {
  2210. display: flex;
  2211. gap: 8px;
  2212. font-size: 12px;
  2213. font-weight: 600;
  2214. flex-shrink: 0;
  2215. }
  2216. ​
  2217. .updater-stat-add {
  2218. color: var(--success);
  2219. }
  2220. ​
  2221. .updater-stat-del {
  2222. color: var(--danger);
  2223. }
  2224. ​
  2225. .updater-stat-move {
  2226. color: var(--info);
  2227. }
  2228. ​
  2229. .updater-file .updater-note {
  2230. padding: 0 14px 12px;
  2231. margin: 0;
  2232. }
  2233. ​
  2234. .updater-diff {
  2235. border-top: 1px solid var(--border);
  2236. overflow-x: auto;
  2237. font-family: "SF Mono", Consolas, monospace;
  2238. font-size: 12px;
  2239. line-height: 1.55;
  2240. }
  2241. ​
  2242. .updater-line {
  2243. display: flex;
  2244. min-width: max-content;
  2245. width: 100%;
  2246. }
  2247. ​
  2248. .updater-ln {
  2249. width: 44px;
  2250. padding: 0 8px;
  2251. text-align: right;
  2252. color: var(--muted-dim);
  2253. flex-shrink: 0;
  2254. user-select: none;
  2255. }
  2256. ​
  2257. .updater-marker {
  2258. width: 20px;
  2259. text-align: center;
  2260. flex-shrink: 0;
  2261. user-select: none;
  2262. }
  2263. ​
  2264. .updater-code {
  2265. white-space: pre;
  2266. padding-right: 14px;
  2267. }
  2268. ​
  2269. .updater-line-add {
  2270. background: var(--success-dim);
  2271. }
  2272. ​
  2273. .updater-line-add .updater-marker {
  2274. color: var(--success);
  2275. }
  2276. ​
  2277. .updater-line-del {
  2278. background: var(--danger-dim);
  2279. }
  2280. ​
  2281. .updater-line-del .updater-marker {
  2282. color: var(--danger);
  2283. }
  2284. ​
  2285. .updater-line-move {
  2286. background: var(--info-dim);
  2287. color: var(--muted);
  2288. }
  2289. ​
  2290. .updater-line-move .updater-marker {
  2291. color: var(--info);
  2292. }
  2293. ​
  2294. .updater-gap {
  2295. padding: 2px 14px;
  2296. color: var(--muted-dim);
  2297. background: var(--panel-alt);
  2298. text-align: center;
  2299. }
  2300. ​
  2301. .ai-fab {
  2302. position: fixed;
  2303. right: 24px;
  2304. bottom: 24px;
  2305. z-index: 90;
  2306. display: inline-flex;
  2307. align-items: center;
  2308. gap: 8px;
  2309. padding: 12px 18px;
  2310. border: 1px solid var(--accent);
  2311. border-radius: 999px;
  2312. background: linear-gradient(155deg, var(--accent-hover), var(--accent));
  2313. color: #fff;
  2314. font: inherit;
  2315. font-size: 13px;
  2316. font-weight: 700;
  2317. cursor: pointer;
  2318. box-shadow: var(--shadow-md);
  2319. transition: transform .16s, box-shadow .16s;
  2320. }
  2321. ​
  2322. .ai-fab:hover {
  2323. transform: translateY(-2px);
  2324. }
  2325. ​
  2326. .ai-fab.is-hidden {
  2327. display: none;
  2328. }
  2329. ​
  2330. .ai-panel {
  2331. position: fixed;
  2332. right: 24px;
  2333. bottom: 24px;
  2334. z-index: 95;
  2335. display: none;
  2336. flex-direction: column;
  2337. width: 400px;
  2338. max-width: calc(100vw - 32px);
  2339. height: min(640px, calc(100vh - 48px));
  2340. background: var(--panel);
  2341. border: 1px solid var(--border-strong);
  2342. border-radius: var(--radius);
  2343. box-shadow: var(--shadow-md), var(--inset-hairline);
  2344. overflow: hidden;
  2345. }
  2346. ​
  2347. .ai-panel.is-open {
  2348. display: flex;
  2349. }
  2350. ​
  2351. .ai-header {
  2352. display: flex;
  2353. align-items: center;
  2354. justify-content: space-between;
  2355. gap: 10px;
  2356. padding: 12px 14px;
  2357. border-bottom: 1px solid var(--border);
  2358. background: var(--panel-alt);
  2359. }
  2360. ​
  2361. .ai-header-title {
  2362. display: flex;
  2363. align-items: center;
  2364. gap: 10px;
  2365. min-width: 0;
  2366. color: var(--accent);
  2367. }
  2368. ​
  2369. .ai-title {
  2370. font-size: 14px;
  2371. font-weight: 700;
  2372. color: var(--text);
  2373. }
  2374. ​
  2375. .ai-subtitle {
  2376. font-size: 11.5px;
  2377. color: var(--muted);
  2378. overflow: hidden;
  2379. text-overflow: ellipsis;
  2380. white-space: nowrap;
  2381. }
  2382. ​
  2383. .ai-header-actions {
  2384. display: flex;
  2385. align-items: center;
  2386. gap: 6px;
  2387. flex-shrink: 0;
  2388. }
  2389. ​
  2390. .ai-header-actions .dash-btn-small:disabled {
  2391. opacity: .45;
  2392. cursor: not-allowed;
  2393. }
  2394. ​
  2395. .ai-icon-button {
  2396. display: inline-flex;
  2397. align-items: center;
  2398. justify-content: center;
  2399. width: 28px;
  2400. height: 28px;
  2401. border: none;
  2402. border-radius: var(--radius-sm);
  2403. background: none;
  2404. color: var(--muted);
  2405. cursor: pointer;
  2406. }
  2407. ​
  2408. .ai-icon-button:hover {
  2409. background: var(--panel-hover);
  2410. color: var(--text);
  2411. }
  2412. ​
  2413. .ai-messages {
  2414. flex: 1;
  2415. min-height: 0;
  2416. overflow-y: auto;
  2417. padding: 14px;
  2418. display: flex;
  2419. flex-direction: column;
  2420. gap: 10px;
  2421. }
  2422. ​
  2423. .ai-messages > * {
  2424. flex-shrink: 0;
  2425. }
  2426. ​
  2427. .ai-msg {
  2428. max-width: 92%;
  2429. padding: 9px 12px;
  2430. border-radius: 12px;
  2431. font-size: 13px;
  2432. line-height: 1.5;
  2433. white-space: pre-wrap;
  2434. overflow-wrap: anywhere;
  2435. }
  2436. ​
  2437. .ai-msg-user {
  2438. align-self: flex-end;
  2439. background: var(--accent);
  2440. color: #fff;
  2441. border-bottom-right-radius: 4px;
  2442. }
  2443. ​
  2444. .ai-msg-assistant {
  2445. align-self: flex-start;
  2446. background: var(--panel-alt);
  2447. border: 1px solid var(--border);
  2448. border-bottom-left-radius: 4px;
  2449. }
  2450. ​
  2451. .ai-msg-note {
  2452. align-self: center;
  2453. max-width: 100%;
  2454. padding: 4px 8px;
  2455. color: var(--muted);
  2456. font-size: 12px;
  2457. text-align: center;
  2458. }
  2459. ​
  2460. .ai-msg-error {
  2461. align-self: stretch;
  2462. max-width: 100%;
  2463. background: var(--danger-dim);
  2464. color: var(--danger);
  2465. }
  2466. ​
  2467. .ai-proposal {
  2468. border: 1px solid var(--border-strong);
  2469. border-radius: var(--radius-sm);
  2470. background: var(--bg);
  2471. overflow: hidden;
  2472. }
  2473. ​
  2474. .ai-change {
  2475. border-bottom: 1px solid var(--border);
  2476. font-size: 12.5px;
  2477. }
  2478. ​
  2479. .ai-change:last-child {
  2480. border-bottom: none;
  2481. }
  2482. ​
  2483. .ai-change summary {
  2484. display: flex;
  2485. flex-direction: column;
  2486. gap: 2px;
  2487. padding: 8px 12px;
  2488. cursor: pointer;
  2489. list-style: none;
  2490. }
  2491. ​
  2492. .ai-change summary::-webkit-details-marker {
  2493. display: none;
  2494. }
  2495. ​
  2496. .ai-change summary:hover {
  2497. background: var(--panel-alt);
  2498. }
  2499. ​
  2500. .ai-change-title {
  2501. font-weight: 600;
  2502. }
  2503. ​
  2504. .ai-change-note {
  2505. color: var(--muted);
  2506. }
  2507. ​
  2508. .ai-diff-label {
  2509. padding: 4px 12px 0;
  2510. font-size: 10.5px;
  2511. font-weight: 600;
  2512. letter-spacing: 0.04em;
  2513. text-transform: uppercase;
  2514. color: var(--muted-dim);
  2515. }
  2516. ​
  2517. .ai-diff {
  2518. margin: 4px 12px 8px;
  2519. padding: 8px 10px;
  2520. border-radius: 6px;
  2521. font: inherit;
  2522. font-size: 12px;
  2523. line-height: 1.5;
  2524. white-space: pre-wrap;
  2525. overflow-wrap: anywhere;
  2526. max-height: 160px;
  2527. overflow-y: auto;
  2528. }
  2529. ​
  2530. .ai-diff-before {
  2531. background: var(--danger-dim);
  2532. }
  2533. ​
  2534. .ai-diff-after {
  2535. background: var(--success-dim);
  2536. }
  2537. ​
  2538. .ai-proposal-note {
  2539. padding: 8px 12px;
  2540. border-top: 1px solid var(--border);
  2541. font-size: 12px;
  2542. color: var(--warning);
  2543. }
  2544. ​
  2545. .ai-proposal-actions {
  2546. display: flex;
  2547. flex-wrap: wrap;
  2548. align-items: center;
  2549. gap: 6px;
  2550. padding: 10px 12px;
  2551. border-bottom: 1px solid var(--border);
  2552. background: var(--panel-alt);
  2553. }
  2554. ​
  2555. .ai-proposal {
  2556. flex-shrink: 0;
  2557. }
  2558. ​
  2559. .ai-proposal-status {
  2560. font-size: 12px;
  2561. font-weight: 600;
  2562. color: var(--muted);
  2563. }
  2564. ​
  2565. .ai-quick {
  2566. display: flex;
  2567. flex-wrap: wrap;
  2568. gap: 6px;
  2569. padding: 8px 14px 0;
  2570. }
  2571. ​
  2572. .ai-chip {
  2573. padding: 5px 11px;
  2574. border: 1px solid var(--border);
  2575. border-radius: 999px;
  2576. background: var(--panel-alt);
  2577. color: var(--text);
  2578. font: inherit;
  2579. font-size: 12px;
  2580. font-weight: 600;
  2581. cursor: pointer;
  2582. transition: background .12s, border-color .12s;
  2583. }
  2584. ​
  2585. .ai-chip:hover {
  2586. background: var(--panel-hover);
  2587. border-color: var(--border-strong);
  2588. }
  2589. ​
  2590. .ai-scope {
  2591. display: flex;
  2592. align-items: center;
  2593. gap: 8px;
  2594. padding: 8px 14px 0;
  2595. }
  2596. ​
  2597. .ai-scope label {
  2598. margin: 0;
  2599. font-size: 12px;
  2600. }
  2601. ​
  2602. .ai-scope select {
  2603. width: auto;
  2604. padding: 5px 8px;
  2605. font-size: 12px;
  2606. }
  2607. ​
  2608. .ai-composer {
  2609. display: flex;
  2610. align-items: flex-end;
  2611. gap: 8px;
  2612. padding: 10px 14px 14px;
  2613. }
  2614. ​
  2615. .ai-composer textarea {
  2616. flex: 1;
  2617. resize: none;
  2618. min-height: 42px;
  2619. max-height: 120px;
  2620. }
  2621. ​
  2622. .ai-send {
  2623. padding: 10px 12px;
  2624. }
  2625. ​
  2626. @media (max-width: 860px) {
  2627. .ai-fab {
  2628. right: 16px;
  2629. bottom: 84px;
  2630. }
  2631. ​
  2632. .ai-panel {
  2633. right: 8px;
  2634. left: 8px;
  2635. bottom: 76px;
  2636. width: auto;
  2637. max-width: none;
  2638. height: min(560px, calc(100vh - 96px));
  2639. }
  2640. }
  2641. ​
  2642. .dash-user-avatar.has-image {
  2643. overflow: hidden;
  2644. background: transparent;
  2645. }
  2646. ​
  2647. .dash-user-avatar.has-image img {
  2648. display: block;
  2649. width: 100%;
  2650. height: 100%;
  2651. object-fit: cover;
  2652. }
  2653. ​
  2654. .dash-avatar-inline {
  2655. display: inline-flex;
  2656. align-items: center;
  2657. gap: 10px;
  2658. }
  2659. ​
  2660. .dash-avatar-inline .dash-user-avatar {
  2661. width: 28px;
  2662. height: 28px;
  2663. font-size: 11px;
  2664. }
  2665. ​
  2666. .avatar-edit-preview {
  2667. display: flex;
  2668. align-items: center;
  2669. gap: 12px;
  2670. margin-bottom: 8px;
  2671. }
  2672. ​
  2673. .avatar-edit-preview .dash-user-avatar {
  2674. width: 56px;
  2675. height: 56px;
  2676. font-size: 20px;
  2677. }
  2678. ​
  2679. .settings-tabs {
  2680. overflow-x: auto;
  2681. overflow-y: hidden;
  2682. flex-wrap: nowrap;
  2683. white-space: nowrap;
  2684. -webkit-overflow-scrolling: touch;
  2685. scrollbar-width: thin;
  2686. scrollbar-color: var(--border-strong) transparent;
  2687. }
  2688. ​
  2689. .settings-tabs::-webkit-scrollbar {
  2690. height: 6px;
  2691. }
  2692. ​
  2693. .settings-tabs::-webkit-scrollbar-thumb {
  2694. background: var(--border-strong);
  2695. border-radius: 3px;
  2696. }
  2697. ​
  2698. .settings-tabs a {
  2699. flex: 0 0 auto;
  2700. }
  2701. ​
  2702. .dash-btn,
  2703. .dash-btn-small {
  2704. opacity: 1;
  2705. line-height: 1.2;
  2706. white-space: nowrap;
  2707. -webkit-appearance: none;
  2708. appearance: none;
  2709. }
  2710. ​
  2711. .dash-btn:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success),
  2712. .dash-btn-small:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success) {
  2713. background: var(--panel-alt);
  2714. color: var(--text);
  2715. border-color: var(--border-strong);
  2716. }
  2717. ​
  2718. .dash-btn:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success):hover,
  2719. .dash-btn-small:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success):hover {
  2720. background: var(--panel-hover);
  2721. color: var(--text);
  2722. }
  2723. ​
  2724. .dash-btn .icon,
  2725. .dash-btn-small .icon {
  2726. flex: 0 0 auto;
  2727. color: currentColor;
  2728. }
  2729. ​
  2730. .dash-btn:focus-visible,
  2731. .dash-btn-small:focus-visible {
  2732. outline: 2px solid var(--accent);
  2733. outline-offset: 2px;
  2734. }
  2735. ​
  2736. .dash-btn:disabled,
  2737. .dash-btn-small:disabled {
  2738. opacity: .5;
  2739. cursor: not-allowed;
  2740. }
  2741. ​
  2742. .dash-btn-success:hover,
  2743. .dash-btn-small.dash-btn-success:hover {
  2744. background: color-mix(in srgb, var(--success) 88%, #fff);
  2745. border-color: var(--success);
  2746. color: #06231a;
  2747. }
  2748. ​
  2749. .dash-btn-danger:hover,
  2750. .dash-btn-small.dash-btn-danger:hover {
  2751. background: var(--danger-dim);
  2752. border-color: var(--danger);
  2753. color: var(--danger);
  2754. }
  2755. ​
  2756. .dash-card {
  2757. position: relative;
  2758. background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 92%, #fff) 0%, var(--panel) 100%);
  2759. border: 1px solid var(--border);
  2760. border-radius: 14px;
  2761. padding: 20px 22px;
  2762. box-shadow: var(--inset-hairline), 0 1px 2px rgba(0, 0, 0, 0.18), 0 12px 28px -12px rgba(0, 0, 0, 0.35);
  2763. overflow: hidden;
  2764. }
  2765. ​
  2766. .dash-card::after {
  2767. content: "";
  2768. position: absolute;
  2769. inset: 0 0 auto 0;
  2770. height: 1px;
  2771. background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 55%, transparent), transparent);
  2772. opacity: 0;
  2773. transition: opacity .2s;
  2774. }
  2775. ​
  2776. .dash-card:hover {
  2777. transform: none;
  2778. border-color: var(--border-strong);
  2779. }
  2780. ​
  2781. .dash-card:hover::after {
  2782. opacity: 1;
  2783. }
  2784. ​
  2785. .dash-card-value {
  2786. font-size: 30px;
  2787. font-weight: 600;
  2788. letter-spacing: -0.03em;
  2789. line-height: 1.1;
  2790. font-variant-numeric: tabular-nums;
  2791. }
  2792. ​
  2793. .dash-card-label {
  2794. font-size: 12.5px;
  2795. margin-top: 6px;
  2796. }
  2797. ​
  2798. .dash-table {
  2799. background: var(--panel);
  2800. border: 1px solid var(--border);
  2801. border-radius: 14px;
  2802. box-shadow: var(--inset-hairline), 0 1px 2px rgba(0, 0, 0, 0.18), 0 12px 28px -14px rgba(0, 0, 0, 0.35);
  2803. }
  2804. ​
  2805. .dash-table th {
  2806. background: color-mix(in srgb, var(--panel-alt) 60%, var(--panel));
  2807. color: var(--muted-dim);
  2808. font-size: 11px;
  2809. font-weight: 600;
  2810. letter-spacing: .07em;
  2811. padding: 13px 18px;
  2812. border-bottom: 1px solid var(--border);
  2813. }
  2814. ​
  2815. .dash-table th .icon {
  2816. opacity: .7;
  2817. }
  2818. ​
  2819. .dash-table td {
  2820. padding: 15px 18px;
  2821. border-bottom: 1px solid color-mix(in srgb, var(--border) 65%, transparent);
  2822. font-variant-numeric: tabular-nums;
  2823. }
  2824. ​
  2825. .dash-table tbody tr {
  2826. transition: background .15s, box-shadow .15s;
  2827. }
  2828. ​
  2829. .dash-table tbody tr:hover {
  2830. background: color-mix(in srgb, var(--panel-alt) 65%, transparent);
  2831. box-shadow: inset 2px 0 0 var(--accent);
  2832. }
  2833. ​
  2834. .dash-table td:first-child,
  2835. .dash-table td:first-child a {
  2836. font-weight: 600;
  2837. letter-spacing: -0.005em;
  2838. }
  2839. ​
  2840. .dash-table td:not(:first-child):not(:last-child) {
  2841. color: color-mix(in srgb, var(--text) 78%, var(--muted));
  2842. }
  2843. ​
  2844. .status-pill {
  2845. display: inline-flex;
  2846. align-items: center;
  2847. gap: 6px;
  2848. padding: 3px 10px 3px 8px;
  2849. border-radius: 999px;
  2850. font-size: 11.5px;
  2851. font-weight: 600;
  2852. box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 22%, transparent);
  2853. }
  2854. ​
  2855. .status-pill::before {
  2856. content: "";
  2857. width: 6px;
  2858. height: 6px;
  2859. border-radius: 50%;
  2860. background: currentColor;
  2861. flex: 0 0 auto;
  2862. }
  2863. ​
  2864. .dash-table-actions .dash-btn-small {
  2865. border-color: transparent;
  2866. background: transparent;
  2867. color: var(--muted);
  2868. box-shadow: none;
  2869. }
  2870. ​
  2871. .dash-table-actions .dash-btn-small:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success) {
  2872. background: transparent;
  2873. border-color: transparent;
  2874. color: var(--muted);
  2875. }
  2876. ​
  2877. .dash-table tbody tr:hover .dash-table-actions .dash-btn-small:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success),
  2878. .dash-table-actions .dash-btn-small:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success):hover {
  2879. background: var(--panel-alt);
  2880. border-color: var(--border-strong);
  2881. color: var(--text);
  2882. }
  2883. ​
  2884. .dash-table-actions .dash-btn-danger {
  2885. background: transparent;
  2886. border-color: transparent;
  2887. color: var(--muted);
  2888. }
  2889. ​
  2890. .dash-table tbody tr:hover .dash-table-actions .dash-btn-danger {
  2891. color: var(--danger);
  2892. border-color: color-mix(in srgb, var(--danger) 45%, transparent);
  2893. }
  2894. ​
  2895. .dash-table-actions .dash-btn-danger:hover {
  2896. background: var(--danger-dim);
  2897. border-color: var(--danger);
  2898. color: var(--danger);
  2899. }
  2900. ​
  2901. @media (max-width: 860px) {
  2902. .dash-table td {
  2903. padding: 5px 0;
  2904. }
  2905. ​
  2906. .dash-table tbody tr:hover {
  2907. box-shadow: none;
  2908. }
  2909. }
  2910. ​
  2911. :root {
  2912. --ease-out: cubic-bezier(.22, 1, .36, 1);
  2913. --ease-soft: cubic-bezier(.4, 0, .2, 1);
  2914. --dur-fast: .16s;
  2915. --dur: .28s;
  2916. }
  2917. ​
  2918. .dash-btn,
  2919. .dash-btn-small,
  2920. .dash-btn-primary,
  2921. .dash-nav a,
  2922. .dash-theme-toggle,
  2923. .dash-user-logout,
  2924. .settings-tabs a,
  2925. .ai-chip,
  2926. .ai-icon-button,
  2927. .be-block,
  2928. .be-block-toolbar button,
  2929. .updater-file summary {
  2930. transition:
  2931. background-color var(--dur) var(--ease-soft),
  2932. border-color var(--dur) var(--ease-soft),
  2933. color var(--dur) var(--ease-soft),
  2934. box-shadow var(--dur) var(--ease-soft),
  2935. transform var(--dur) var(--ease-out),
  2936. opacity var(--dur) var(--ease-soft);
  2937. }
  2938. ​
  2939. .dash-btn:active,
  2940. .dash-btn-small:active {
  2941. transform: scale(.97);
  2942. transition-duration: .08s;
  2943. }
  2944. ​
  2945. .dash-btn-primary:hover {
  2946. transform: translateY(-1px);
  2947. }
  2948. ​
  2949. .dash-btn-primary:active {
  2950. transform: translateY(0) scale(.98);
  2951. }
  2952. ​
  2953. .dash-nav a:hover {
  2954. transform: translateX(2px);
  2955. }
  2956. ​
  2957. .dash-nav a.active:hover {
  2958. transform: none;
  2959. }
  2960. ​
  2961. .settings-tabs a {
  2962. position: relative;
  2963. border-bottom-color: transparent;
  2964. }
  2965. ​
  2966. .settings-tabs a::after {
  2967. content: "";
  2968. position: absolute;
  2969. left: 16px;
  2970. right: 16px;
  2971. bottom: -1px;
  2972. height: 2px;
  2973. border-radius: 2px;
  2974. background: var(--accent);
  2975. transform: scaleX(0);
  2976. transform-origin: center;
  2977. transition: transform var(--dur) var(--ease-out);
  2978. }
  2979. ​
  2980. .settings-tabs a:hover {
  2981. color: var(--text);
  2982. }
  2983. ​
  2984. .settings-tabs a.active {
  2985. border-bottom-color: transparent;
  2986. }
  2987. ​
  2988. .settings-tabs a.active::after {
  2989. transform: scaleX(1);
  2990. }
  2991. ​
  2992. .dash-card {
  2993. transition:
  2994. border-color var(--dur) var(--ease-soft),
  2995. box-shadow var(--dur) var(--ease-soft),
  2996. transform var(--dur) var(--ease-out);
  2997. }
  2998. ​
  2999. .dash-card:hover {
  3000. transform: translateY(-2px);
  3001. }
  3002. ​
  3003. .dash-table tbody tr {
  3004. transition:
  3005. background-color var(--dur) var(--ease-soft),
  3006. box-shadow var(--dur) var(--ease-soft);
  3007. }
  3008. ​
  3009. .dash-table a,
  3010. .status-pill {
  3011. transition: color var(--dur) var(--ease-soft), background-color var(--dur) var(--ease-soft);
  3012. }
  3013. ​
  3014. .dash-main input:not([type="checkbox"]),
  3015. .dash-main select,
  3016. .dash-main textarea {
  3017. transition:
  3018. border-color var(--dur) var(--ease-soft),
  3019. box-shadow var(--dur) var(--ease-soft),
  3020. background-color var(--dur) var(--ease-soft);
  3021. }
  3022. ​
  3023. .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"]) {
  3024. transition: background-color var(--dur) var(--ease-soft), border-color var(--dur) var(--ease-soft);
  3025. }
  3026. ​
  3027. .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"])::before {
  3028. transition: transform var(--dur) var(--ease-out), background-color var(--dur) var(--ease-soft);
  3029. }
  3030. ​
  3031. .ai-panel.is-open {
  3032. animation: dashPop .32s var(--ease-out) backwards;
  3033. transform-origin: bottom right;
  3034. }
  3035. ​
  3036. .ai-fab {
  3037. transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-soft);
  3038. }
  3039. ​
  3040. .ai-msg {
  3041. animation: dashRise .3s var(--ease-out) backwards;
  3042. }
  3043. ​
  3044. .dash-nav-sheet.open {
  3045. animation: dashSheetUp .38s var(--ease-out) backwards;
  3046. }
  3047. ​
  3048. .dash-nav-sheet-backdrop.open {
  3049. animation: dashFade .3s var(--ease-soft) backwards;
  3050. }
  3051. ​
  3052. .be-block-toolbar {
  3053. transition: opacity var(--dur) var(--ease-soft), transform var(--dur) var(--ease-out);
  3054. transform: translateY(4px);
  3055. }
  3056. ​
  3057. .be-block:hover .be-block-toolbar,
  3058. .be-block:focus-within .be-block-toolbar {
  3059. transform: translateY(0);
  3060. }
  3061. ​
  3062. .be-inline-toolbar,
  3063. .be-color-popover,
  3064. .be-block-menu {
  3065. animation: dashPop .18s var(--ease-out) backwards;
  3066. transform-origin: top left;
  3067. }
  3068. ​
  3069. @keyframes dashRise {
  3070. from { opacity: 0; transform: translateY(10px); }
  3071. to { opacity: 1; transform: translateY(0); }
  3072. }
  3073. ​
  3074. @keyframes dashPop {
  3075. from { opacity: 0; transform: translateY(8px) scale(.97); }
  3076. to { opacity: 1; transform: translateY(0) scale(1); }
  3077. }
  3078. ​
  3079. @keyframes dashFade {
  3080. from { opacity: 0; }
  3081. to { opacity: 1; }
  3082. }
  3083. ​
  3084. @keyframes dashSheetUp {
  3085. from { opacity: 0; transform: translateY(24px); }
  3086. to { opacity: 1; transform: translateY(0); }
  3087. }
  3088. ​
  3089. @media (prefers-reduced-motion: reduce) {
  3090. *,
  3091. *::before,
  3092. *::after {
  3093. animation-duration: .01ms !important;
  3094. animation-delay: 0s !important;
  3095. animation-iteration-count: 1 !important;
  3096. transition-duration: .01ms !important;
  3097. scroll-behavior: auto !important;
  3098. }
  3099. }
  3100. ​
  3101. .dash-nav a,
  3102. .dash-nav a:hover,
  3103. .dash-nav a:active,
  3104. .dash-nav a.active,
  3105. .dash-nav-sheet a,
  3106. .dash-nav-more-btn {
  3107. transform: none;
  3108. transition: none;
  3109. }
  3110. ​
  3111. @media (max-width: 860px) {
  3112. .dash-sidebar {
  3113. left: 8px;
  3114. right: 8px;
  3115. bottom: calc(8px + env(safe-area-inset-bottom));
  3116. width: auto;
  3117. padding: 6px;
  3118. border: 1px solid var(--border-strong);
  3119. border-radius: 24px;
  3120. box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), var(--inset-hairline);
  3121. }
  3122. ​
  3123. .dash-nav a,
  3124. .dash-nav-more-btn {
  3125. border-radius: 18px;
  3126. }
  3127. ​
  3128. .dash-main {
  3129. padding-bottom: 104px;
  3130. border-radius: 24px 24px 0 0;
  3131. }
  3132. ​
  3133. .dash-nav-sheet {
  3134. left: 8px;
  3135. right: 8px;
  3136. bottom: calc(8px + env(safe-area-inset-bottom));
  3137. border: 1px solid var(--border-strong);
  3138. border-radius: 24px;
  3139. }
  3140. ​
  3141. .ai-fab {
  3142. bottom: calc(92px + env(safe-area-inset-bottom));
  3143. }
  3144. ​
  3145. .ai-panel {
  3146. bottom: calc(92px + env(safe-area-inset-bottom));
  3147. border-radius: 20px;
  3148. }
  3149. }
  3150. ​
  3151. input:not([type]),
  3152. input[type="url"],
  3153. input[type="search"],
  3154. input[type="tel"],
  3155. input[type="date"],
  3156. input[type="time"],
  3157. input[type="month"],
  3158. input[type="week"] {
  3159. width: 100%;
  3160. padding: 10px 12px;
  3161. border-radius: var(--radius-sm);
  3162. border: 1px solid var(--border);
  3163. background: var(--bg);
  3164. color: var(--text);
  3165. font-size: 13.5px;
  3166. font-family: inherit;
  3167. transition: border-color var(--dur) var(--ease-soft), box-shadow var(--dur) var(--ease-soft);
  3168. }
  3169. ​
  3170. input[type="url"]::placeholder,
  3171. input[type="search"]::placeholder,
  3172. input[type="tel"]::placeholder,
  3173. input:not([type])::placeholder,
  3174. input[type="text"]::placeholder,
  3175. input[type="email"]::placeholder,
  3176. input[type="password"]::placeholder,
  3177. input[type="number"]::placeholder,
  3178. textarea::placeholder {
  3179. color: var(--muted-dim);
  3180. opacity: 1;
  3181. }
  3182. ​
  3183. input[type="date"]::-webkit-calendar-picker-indicator,
  3184. input[type="time"]::-webkit-calendar-picker-indicator {
  3185. cursor: pointer;
  3186. filter: invert(1);
  3187. opacity: .7;
  3188. }
  3189. ​
  3190. body[data-theme="light"] input[type="date"]::-webkit-calendar-picker-indicator,
  3191. body[data-theme="light"] input[type="time"]::-webkit-calendar-picker-indicator {
  3192. filter: none;
  3193. }
  3194. ​
  3195. input[type="file"] {
  3196. width: 100%;
  3197. padding: 8px;
  3198. border-radius: var(--radius-sm);
  3199. border: 1px dashed var(--border-strong);
  3200. background: var(--bg);
  3201. color: var(--muted);
  3202. font-size: 12.5px;
  3203. font-family: inherit;
  3204. cursor: pointer;
  3205. }
  3206. ​
  3207. input[type="file"]::file-selector-button {
  3208. margin-right: 12px;
  3209. padding: 6px 12px;
  3210. border-radius: 6px;
  3211. border: 1px solid var(--border-strong);
  3212. background: var(--panel-alt);
  3213. color: var(--text);
  3214. font-family: inherit;
  3215. font-size: 12px;
  3216. font-weight: 600;
  3217. cursor: pointer;
  3218. }
  3219. ​
  3220. input[type="file"]::file-selector-button:hover {
  3221. background: var(--panel-hover);
  3222. }
  3223. ​
  3224. @media (max-width: 860px) {
  3225. .dash-mobile-topbar {
  3226. padding-top: calc(12px + env(safe-area-inset-top));
  3227. padding-left: calc(16px + env(safe-area-inset-left));
  3228. padding-right: calc(16px + env(safe-area-inset-right));
  3229. }
  3230. ​
  3231. .dash-main {
  3232. padding-left: calc(16px + env(safe-area-inset-left));
  3233. padding-right: calc(16px + env(safe-area-inset-right));
  3234. overflow-x: clip;
  3235. }
  3236. ​
  3237. .dash-cards {
  3238. margin-left: calc(-16px - env(safe-area-inset-left));
  3239. margin-right: calc(-16px - env(safe-area-inset-right));
  3240. padding-left: calc(16px + env(safe-area-inset-left));
  3241. padding-right: calc(16px + env(safe-area-inset-right));
  3242. scroll-padding-left: calc(16px + env(safe-area-inset-left));
  3243. scroll-padding-right: calc(16px + env(safe-area-inset-right));
  3244. padding-top: 2px;
  3245. padding-bottom: 6px;
  3246. }
  3247. ​
  3248. .dash-card {
  3249. flex: 0 0 auto;
  3250. width: min(220px, 72vw);
  3251. }
  3252. ​
  3253. .dash-sidebar {
  3254. left: calc(8px + env(safe-area-inset-left));
  3255. right: calc(8px + env(safe-area-inset-right));
  3256. }
  3257. ​
  3258. .dash-nav-sheet {
  3259. left: calc(8px + env(safe-area-inset-left));
  3260. right: calc(8px + env(safe-area-inset-right));
  3261. }
  3262. ​
  3263. .ai-fab {
  3264. right: calc(16px + env(safe-area-inset-right));
  3265. }
  3266. ​
  3267. .ai-panel {
  3268. left: calc(8px + env(safe-area-inset-left));
  3269. right: calc(8px + env(safe-area-inset-right));
  3270. }
  3271. }
  3272. ​
  3273. @media (max-width: 860px) {
  3274. .dash-cards {
  3275. padding-top: 12px;
  3276. padding-bottom: 22px;
  3277. margin-top: -12px;
  3278. margin-bottom: 2px;
  3279. }
  3280. ​
  3281. .dash-card,
  3282. .dash-card:hover {
  3283. transform: none;
  3284. overflow: hidden;
  3285. border-radius: 16px;
  3286. }
  3287. ​
  3288. .dash-mobile-topbar::after {
  3289. display: none;
  3290. }
  3291. }
  3292. ​
  3293. .dash-btn-primary,
  3294. .ai-fab {
  3295. background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 22%, transparent), color-mix(in srgb, var(--accent) 11%, transparent));
  3296. border-color: color-mix(in srgb, var(--accent) 34%, transparent);
  3297. color: var(--accent-hover);
  3298. box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 10%, transparent), var(--inset-hairline);
  3299. -webkit-backdrop-filter: blur(6px);
  3300. backdrop-filter: blur(6px);
  3301. }
  3302. ​
  3303. body[data-theme="light"] .dash-btn-primary,
  3304. body[data-theme="light"] .ai-fab {
  3305. color: var(--accent);
  3306. }
  3307. ​
  3308. .dash-btn-primary:hover,
  3309. .ai-fab:hover {
  3310. background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 32%, transparent), color-mix(in srgb, var(--accent) 18%, transparent));
  3311. border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  3312. color: var(--accent-hover);
  3313. 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);
  3314. }
  3315. ​
  3316. body[data-theme="light"] .dash-btn-primary:hover,
  3317. body[data-theme="light"] .ai-fab:hover {
  3318. color: var(--accent);
  3319. }
  3320. ​
  3321. .dash-btn-success,
  3322. .dash-btn-small.dash-btn-success {
  3323. background: linear-gradient(180deg, color-mix(in srgb, var(--success) 22%, transparent), color-mix(in srgb, var(--success) 10%, transparent));
  3324. border-color: color-mix(in srgb, var(--success) 34%, transparent);
  3325. color: var(--success);
  3326. box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--success) 10%, transparent), var(--inset-hairline);
  3327. }
  3328. ​
  3329. .dash-btn-success:hover,
  3330. .dash-btn-small.dash-btn-success:hover {
  3331. background: linear-gradient(180deg, color-mix(in srgb, var(--success) 32%, transparent), color-mix(in srgb, var(--success) 18%, transparent));
  3332. border-color: color-mix(in srgb, var(--success) 55%, transparent);
  3333. color: var(--success);
  3334. }
  3335. ​
  3336. .dash-btn-danger,
  3337. .dash-btn-small.dash-btn-danger {
  3338. background: linear-gradient(180deg, color-mix(in srgb, var(--danger) 14%, transparent), color-mix(in srgb, var(--danger) 6%, transparent));
  3339. border-color: color-mix(in srgb, var(--danger) 34%, transparent);
  3340. color: var(--danger);
  3341. box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--danger) 8%, transparent);
  3342. }
  3343. ​
  3344. .dash-btn-danger:hover,
  3345. .dash-btn-small.dash-btn-danger:hover {
  3346. background: linear-gradient(180deg, color-mix(in srgb, var(--danger) 26%, transparent), color-mix(in srgb, var(--danger) 14%, transparent));
  3347. border-color: color-mix(in srgb, var(--danger) 55%, transparent);
  3348. color: var(--danger);
  3349. }
  3350. ​
  3351. .dash-btn:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success),
  3352. .dash-btn-small:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success) {
  3353. background: linear-gradient(180deg, color-mix(in srgb, var(--panel-alt) 100%, #fff 3%), var(--panel-alt));
  3354. box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 3%, transparent), var(--inset-hairline);
  3355. }
  3356. ​
  3357. .dash-btn:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success):hover,
  3358. .dash-btn-small:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success):hover {
  3359. border-color: color-mix(in srgb, var(--accent) 40%, var(--border-strong));
  3360. }
  3361. ​
  3362. .ai-msg-user {
  3363. background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 26%, var(--panel)), color-mix(in srgb, var(--accent) 16%, var(--panel)));
  3364. border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  3365. color: var(--text);
  3366. }
  3367. ​
  3368. .be-inline-toolbar button:hover {
  3369. background: color-mix(in srgb, var(--accent) 22%, transparent);
  3370. color: var(--accent-hover);
  3371. }
  3372. ​
  3373. .be-block-menu {
  3374. padding: 6px;
  3375. gap: 2px;
  3376. }
  3377. ​
  3378. .be-block-menu button {
  3379. position: relative;
  3380. overflow: hidden;
  3381. border-radius: 9px;
  3382. padding: 9px 12px 9px 14px;
  3383. border: 1px solid transparent;
  3384. transition:
  3385. background-color var(--dur) var(--ease-soft),
  3386. border-color var(--dur) var(--ease-soft),
  3387. color var(--dur) var(--ease-soft),
  3388. padding-left var(--dur) var(--ease-out);
  3389. animation: dashMenuItem .34s var(--ease-out) backwards;
  3390. }
  3391. ​
  3392. .be-block-menu button::before {
  3393. content: "";
  3394. position: absolute;
  3395. left: 0;
  3396. top: 22%;
  3397. bottom: 22%;
  3398. width: 3px;
  3399. border-radius: 0 3px 3px 0;
  3400. background: var(--accent);
  3401. transform: scaleY(0);
  3402. transition: transform var(--dur) var(--ease-out);
  3403. }
  3404. ​
  3405. .be-block-menu button:hover,
  3406. .be-block-menu button:focus-visible,
  3407. .be-block-menu button.active,
  3408. .be-block-menu button.is-active,
  3409. .be-block-menu button[aria-selected="true"] {
  3410. background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 22%, transparent), color-mix(in srgb, var(--accent) 9%, transparent));
  3411. border-color: color-mix(in srgb, var(--accent) 28%, transparent);
  3412. color: var(--accent-hover);
  3413. padding-left: 18px;
  3414. outline: none;
  3415. }
  3416. ​
  3417. body[data-theme="light"] .be-block-menu button:hover,
  3418. body[data-theme="light"] .be-block-menu button.active {
  3419. color: var(--accent);
  3420. }
  3421. ​
  3422. .be-block-menu button:hover::before,
  3423. .be-block-menu button:focus-visible::before,
  3424. .be-block-menu button.active::before,
  3425. .be-block-menu button.is-active::before,
  3426. .be-block-menu button[aria-selected="true"]::before {
  3427. transform: scaleY(1);
  3428. }
  3429. ​
  3430. .be-block-menu button:nth-child(1) { animation-delay: .00s; }
  3431. .be-block-menu button:nth-child(2) { animation-delay: .02s; }
  3432. .be-block-menu button:nth-child(3) { animation-delay: .04s; }
  3433. .be-block-menu button:nth-child(4) { animation-delay: .06s; }
  3434. .be-block-menu button:nth-child(5) { animation-delay: .08s; }
  3435. .be-block-menu button:nth-child(6) { animation-delay: .10s; }
  3436. .be-block-menu button:nth-child(7) { animation-delay: .12s; }
  3437. .be-block-menu button:nth-child(8) { animation-delay: .14s; }
  3438. .be-block-menu button:nth-child(9) { animation-delay: .16s; }
  3439. .be-block-menu button:nth-child(n+10) { animation-delay: .18s; }
  3440. ​
  3441. @keyframes dashMenuItem {
  3442. from { opacity: 0; transform: translateX(-6px); }
  3443. to { opacity: 1; transform: translateX(0); }
  3444. }
  3445. ​
  3446. .dash-table tbody tr:hover {
  3447. box-shadow: none;
  3448. }
  3449. ​
  3450. .dash-card::after {
  3451. display: none;
  3452. }
  3453. ​
  3454. .be-block-menu button::before {
  3455. display: none;
  3456. }
  3457. ​
  3458. .be-block-menu button,
  3459. .be-block-menu button:hover,
  3460. .be-block-menu button:focus-visible {
  3461. padding: 9px 12px;
  3462. animation: none;
  3463. }
  3464. ​
  3465. .settings-tabs a::after {
  3466. display: none;
  3467. }
  3468. ​
  3469. .settings-tabs a.active {
  3470. border-bottom-color: var(--accent);
  3471. }
  3472. ​
  3473. @media (max-width: 860px) {
  3474. .dash-mobile-topbar::after {
  3475. display: block;
  3476. content: '';
  3477. position: absolute;
  3478. left: 0;
  3479. right: 0;
  3480. top: calc(100% - 1px);
  3481. height: 24px;
  3482. pointer-events: none;
  3483. z-index: 1;
  3484. background:
  3485. radial-gradient(circle at 100% 100%, transparent 23.5px, var(--bg) 24.5px) left top / 24px 24px no-repeat,
  3486. radial-gradient(circle at 0 100%, transparent 23.5px, var(--bg) 24.5px) right top / 24px 24px no-repeat;
  3487. }
  3488. }
  3489. ​
  3490. input[type="text"],
  3491. input[type="number"],
  3492. input[type="datetime-local"],
  3493. input[type="password"],
  3494. input[type="email"],
  3495. input:not([type]),
  3496. input[type="url"],
  3497. input[type="search"],
  3498. input[type="tel"],
  3499. input[type="date"],
  3500. input[type="time"],
  3501. input[type="month"],
  3502. input[type="week"],
  3503. select,
  3504. textarea {
  3505. background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 100%, #fff 2.5%), var(--bg));
  3506. border-color: color-mix(in srgb, var(--border-strong) 80%, transparent);
  3507. 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);
  3508. }
  3509. ​
  3510. input[type="text"]:hover,
  3511. input[type="number"]:hover,
  3512. input[type="datetime-local"]:hover,
  3513. input[type="password"]:hover,
  3514. input[type="email"]:hover,
  3515. input:not([type]):hover,
  3516. input[type="url"]:hover,
  3517. input[type="search"]:hover,
  3518. input[type="tel"]:hover,
  3519. input[type="date"]:hover,
  3520. input[type="time"]:hover,
  3521. select:hover,
  3522. textarea:hover {
  3523. border-color: color-mix(in srgb, var(--accent) 30%, var(--border-strong));
  3524. }
  3525. ​
  3526. input[type="text"]:focus,
  3527. input[type="number"]:focus,
  3528. input[type="datetime-local"]:focus,
  3529. input[type="password"]:focus,
  3530. input[type="email"]:focus,
  3531. input:not([type]):focus,
  3532. input[type="url"]:focus,
  3533. input[type="search"]:focus,
  3534. input[type="tel"]:focus,
  3535. input[type="date"]:focus,
  3536. input[type="time"]:focus,
  3537. select:focus,
  3538. textarea:focus {
  3539. background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, var(--bg)), color-mix(in srgb, var(--accent) 3%, var(--bg)));
  3540. border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  3541. 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);
  3542. }
  3543. ​
  3544. select {
  3545. cursor: pointer;
  3546. }
  3547. ​
  3548. .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"]) {
  3549. background: linear-gradient(180deg, color-mix(in srgb, var(--panel-alt) 100%, #fff 3%), var(--panel-alt));
  3550. border-color: color-mix(in srgb, var(--border-strong) 90%, transparent);
  3551. 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);
  3552. }
  3553. ​
  3554. .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"])::before {
  3555. background: linear-gradient(180deg, color-mix(in srgb, var(--muted) 100%, #fff 12%), var(--muted));
  3556. box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  3557. }
  3558. ​
  3559. .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"]):hover {
  3560. border-color: color-mix(in srgb, var(--accent) 35%, var(--border-strong));
  3561. }
  3562. ​
  3563. .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"]):checked {
  3564. background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 34%, transparent), color-mix(in srgb, var(--accent) 18%, transparent));
  3565. border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  3566. 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);
  3567. }
  3568. ​
  3569. .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"]):checked::before {
  3570. background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--accent-hover) 30%, #fff));
  3571. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  3572. }
  3573. ​
  3574. .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"]):focus-visible {
  3575. outline: none;
  3576. box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
  3577. }
  3578. ​
  3579. body[data-theme="light"] input[type="text"],
  3580. body[data-theme="light"] input[type="number"],
  3581. body[data-theme="light"] input[type="password"],
  3582. body[data-theme="light"] input[type="email"],
  3583. body[data-theme="light"] input[type="url"],
  3584. body[data-theme="light"] select,
  3585. body[data-theme="light"] textarea {
  3586. box-shadow: inset 0 1px 2px rgba(20, 20, 30, 0.06);
  3587. }
  3588. ​
  3589. .dash-flash {
  3590. animation: dashRise .4s var(--ease-out) backwards;
  3591. }
  3592. ​
  3593. .dash-cards .dash-card {
  3594. animation: dashRise .5s var(--ease-out) backwards;
  3595. }
  3596. ​
  3597. .dash-cards .dash-card:nth-child(2) { animation-delay: .05s; }
  3598. .dash-cards .dash-card:nth-child(3) { animation-delay: .1s; }
  3599. .dash-cards .dash-card:nth-child(4) { animation-delay: .15s; }
  3600. ​
  3601. .dash-table tbody tr {
  3602. animation: dashRise .45s var(--ease-out) backwards;
  3603. }
  3604. ​
  3605. .dash-table tbody tr:nth-child(2) { animation-delay: .03s; }
  3606. .dash-table tbody tr:nth-child(3) { animation-delay: .06s; }
  3607. .dash-table tbody tr:nth-child(4) { animation-delay: .09s; }
  3608. .dash-table tbody tr:nth-child(5) { animation-delay: .12s; }
  3609. .dash-table tbody tr:nth-child(6) { animation-delay: .15s; }
  3610. .dash-table tbody tr:nth-child(n+7) { animation-delay: .18s; }
  3611. ​
  3612. @media (max-width: 860px) {
  3613. .dash-cards .dash-card {
  3614. animation: dashFade .4s var(--ease-soft) backwards;
  3615. }
  3616. }
  3617. ​
  3618. .dash-main {
  3619. animation: none !important;
  3620. transform: none !important;
  3621. }
  3622. ​
  3623. @media (max-width: 860px) {
  3624. .dash-cards {
  3625. display: grid;
  3626. grid-template-columns: repeat(2, minmax(0, 1fr));
  3627. gap: 12px;
  3628. overflow: visible;
  3629. scroll-snap-type: none;
  3630. margin: 0 0 24px;
  3631. padding: 0;
  3632. }
  3633. ​
  3634. .dash-cards .dash-card {
  3635. width: auto;
  3636. min-width: 0;
  3637. flex: none;
  3638. padding: 16px 16px;
  3639. scroll-snap-align: none;
  3640. }
  3641. ​
  3642. .dash-card-value {
  3643. font-size: 26px;
  3644. }
  3645. ​
  3646. .dash-card-label {
  3647. overflow-wrap: anywhere;
  3648. }
  3649. }
  3650. ​
  3651. body[data-theme="dark"] {
  3652. color-scheme: dark;
  3653. }
  3654. ​
  3655. body[data-theme="light"] {
  3656. color-scheme: light;
  3657. }
  3658. ​
  3659. select option,
  3660. select optgroup {
  3661. background: var(--panel);
  3662. color: var(--text);
  3663. }
  3664. ​
  3665. select option:checked,
  3666. select option:hover {
  3667. background: var(--accent);
  3668. color: #fff;
  3669. }
  3670. ​
  3671. .image-upload-row {
  3672. display: flex;
  3673. align-items: stretch;
  3674. gap: 8px;
  3675. }
  3676. ​
  3677. .image-upload-row > input[type="text"] {
  3678. flex: 1 1 auto;
  3679. min-width: 0;
  3680. }
  3681. ​
  3682. .image-upload-button {
  3683. flex: 0 0 auto;
  3684. white-space: nowrap;
  3685. }
  3686. ​
  3687. .image-upload-status {
  3688. min-height: 0;
  3689. margin-top: 6px;
  3690. font-size: 12px;
  3691. color: var(--muted);
  3692. }
  3693. ​
  3694. .image-upload-status:empty {
  3695. display: none;
  3696. }
  3697. ​
  3698. @media (max-width: 480px) {
  3699. .image-upload-row {
  3700. flex-direction: column;
  3701. }
  3702. }
  3703. ​
  3704. [hidden] {
  3705. display: none !important;
  3706. }
  3707. ​
  3708. body.media-modal-open {
  3709. overflow: hidden;
  3710. }
  3711. ​
  3712. .media-modal-overlay {
  3713. position: fixed;
  3714. inset: 0;
  3715. z-index: 300;
  3716. display: flex;
  3717. align-items: center;
  3718. justify-content: center;
  3719. padding: 24px;
  3720. background: rgba(0, 0, 0, 0.6);
  3721. -webkit-backdrop-filter: blur(4px);
  3722. backdrop-filter: blur(4px);
  3723. }
  3724. ​
  3725. .media-modal {
  3726. display: flex;
  3727. flex-direction: column;
  3728. width: min(880px, 100%);
  3729. height: min(640px, 100%);
  3730. background: var(--panel);
  3731. border: 1px solid var(--border-strong);
  3732. border-radius: 16px;
  3733. box-shadow: var(--shadow-md), var(--inset-hairline);
  3734. overflow: hidden;
  3735. }
  3736. ​
  3737. .media-modal-header {
  3738. display: flex;
  3739. align-items: center;
  3740. justify-content: space-between;
  3741. gap: 12px;
  3742. padding: 10px 12px 10px 16px;
  3743. border-bottom: 1px solid var(--border);
  3744. background: var(--panel-alt);
  3745. }
  3746. ​
  3747. .media-modal-tabs {
  3748. display: flex;
  3749. gap: 4px;
  3750. padding: 4px;
  3751. border-radius: 10px;
  3752. background: var(--bg);
  3753. border: 1px solid var(--border);
  3754. }
  3755. ​
  3756. .media-modal-tab {
  3757. padding: 7px 16px;
  3758. border: 1px solid transparent;
  3759. border-radius: 8px;
  3760. background: transparent;
  3761. color: var(--muted);
  3762. font: inherit;
  3763. font-size: 13px;
  3764. font-weight: 600;
  3765. cursor: pointer;
  3766. transition: background-color .2s, color .2s, border-color .2s;
  3767. }
  3768. ​
  3769. .media-modal-tab:hover {
  3770. color: var(--text);
  3771. }
  3772. ​
  3773. .media-modal-tab.is-active {
  3774. background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 22%, transparent), color-mix(in srgb, var(--accent) 11%, transparent));
  3775. border-color: color-mix(in srgb, var(--accent) 34%, transparent);
  3776. color: var(--accent);
  3777. }
  3778. ​
  3779. .media-modal-close {
  3780. width: 32px;
  3781. height: 32px;
  3782. border: none;
  3783. border-radius: 8px;
  3784. background: transparent;
  3785. color: var(--muted);
  3786. font-size: 22px;
  3787. line-height: 1;
  3788. cursor: pointer;
  3789. transition: background-color .2s, color .2s;
  3790. }
  3791. ​
  3792. .media-modal-close:hover {
  3793. background: var(--panel-hover);
  3794. color: var(--text);
  3795. }
  3796. ​
  3797. .media-modal-body {
  3798. flex: 1 1 auto;
  3799. min-height: 0;
  3800. overflow-y: auto;
  3801. padding: 18px;
  3802. }
  3803. ​
  3804. .media-modal-pane {
  3805. min-height: 100%;
  3806. }
  3807. ​
  3808. .media-drop {
  3809. display: flex;
  3810. flex-direction: column;
  3811. align-items: center;
  3812. justify-content: center;
  3813. gap: 6px;
  3814. min-height: 260px;
  3815. margin: 0;
  3816. padding: 24px;
  3817. border: 1.5px dashed var(--border-strong);
  3818. border-radius: 14px;
  3819. background: var(--bg);
  3820. text-align: center;
  3821. cursor: pointer;
  3822. transition: border-color .2s, background-color .2s;
  3823. }
  3824. ​
  3825. .media-drop:hover,
  3826. .media-drop.is-over {
  3827. border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  3828. background: color-mix(in srgb, var(--accent) 6%, var(--bg));
  3829. }
  3830. ​
  3831. .media-drop.is-busy {
  3832. opacity: .6;
  3833. pointer-events: none;
  3834. }
  3835. ​
  3836. .media-drop-title {
  3837. font-size: 15px;
  3838. font-weight: 600;
  3839. color: var(--text);
  3840. }
  3841. ​
  3842. .media-drop-hint {
  3843. font-size: 12.5px;
  3844. font-weight: 500;
  3845. color: var(--muted);
  3846. }
  3847. ​
  3848. .media-status {
  3849. margin-top: 12px;
  3850. font-size: 12.5px;
  3851. color: var(--muted);
  3852. }
  3853. ​
  3854. .media-status:empty {
  3855. display: none;
  3856. }
  3857. ​
  3858. .media-grid {
  3859. display: grid;
  3860. grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  3861. gap: 10px;
  3862. margin-top: 12px;
  3863. }
  3864. ​
  3865. .media-tile {
  3866. position: relative;
  3867. padding: 0;
  3868. aspect-ratio: 1;
  3869. border: 1px solid var(--border);
  3870. border-radius: 10px;
  3871. background: var(--bg);
  3872. overflow: hidden;
  3873. cursor: pointer;
  3874. transition: border-color .2s, transform .15s;
  3875. }
  3876. ​
  3877. .media-tile:hover,
  3878. .media-tile:focus-visible {
  3879. border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  3880. outline: none;
  3881. transform: translateY(-2px);
  3882. }
  3883. ​
  3884. .media-tile img,
  3885. .media-tile video {
  3886. display: block;
  3887. width: 100%;
  3888. height: 100%;
  3889. object-fit: cover;
  3890. }
  3891. ​
  3892. @media (max-width: 600px) {
  3893. .media-modal-overlay {
  3894. padding: 0;
  3895. align-items: flex-end;
  3896. }
  3897. ​
  3898. .media-modal {
  3899. width: 100%;
  3900. height: 88vh;
  3901. border-radius: 16px 16px 0 0;
  3902. }
  3903. ​
  3904. .media-grid {
  3905. grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  3906. }
  3907. }
  3908. ​
  3909. .be-add-row {
  3910. margin-top: 8px;
  3911. padding-left: 0;
  3912. }
  3913. ​
  3914. .be-add-button {
  3915. display: inline-flex;
  3916. align-items: center;
  3917. gap: 6px;
  3918. }
  3919. ​
  3920. body.dash-no-glass {
  3921. --inset-hairline: none;
  3922. }
  3923. ​
  3924. body.dash-no-glass .dash-btn-primary,
  3925. body.dash-no-glass .ai-fab {
  3926. background: var(--accent);
  3927. border-color: var(--accent);
  3928. color: #fff;
  3929. box-shadow: none;
  3930. -webkit-backdrop-filter: none;
  3931. backdrop-filter: none;
  3932. }
  3933. ​
  3934. body.dash-no-glass .dash-btn-primary:hover,
  3935. body.dash-no-glass .ai-fab:hover {
  3936. background: var(--accent-hover);
  3937. border-color: var(--accent-hover);
  3938. color: #fff;
  3939. box-shadow: none;
  3940. }
  3941. ​
  3942. body.dash-no-glass[data-theme="light"] .dash-btn-primary,
  3943. body.dash-no-glass[data-theme="light"] .ai-fab,
  3944. body.dash-no-glass[data-theme="light"] .dash-btn-primary:hover,
  3945. body.dash-no-glass[data-theme="light"] .ai-fab:hover {
  3946. color: #fff;
  3947. }
  3948. ​
  3949. body.dash-no-glass .dash-btn-success,
  3950. body.dash-no-glass .dash-btn-small.dash-btn-success {
  3951. background: var(--success);
  3952. border-color: var(--success);
  3953. color: #06231a;
  3954. box-shadow: none;
  3955. }
  3956. ​
  3957. body.dash-no-glass .dash-btn-success:hover,
  3958. body.dash-no-glass .dash-btn-small.dash-btn-success:hover {
  3959. background: color-mix(in srgb, var(--success) 88%, #fff);
  3960. border-color: var(--success);
  3961. color: #06231a;
  3962. }
  3963. ​
  3964. body.dash-no-glass .dash-btn-danger,
  3965. body.dash-no-glass .dash-btn-small.dash-btn-danger {
  3966. background: transparent;
  3967. border-color: var(--danger);
  3968. color: var(--danger);
  3969. box-shadow: none;
  3970. }
  3971. ​
  3972. body.dash-no-glass .dash-btn-danger:hover,
  3973. body.dash-no-glass .dash-btn-small.dash-btn-danger:hover {
  3974. background: var(--danger-dim);
  3975. border-color: var(--danger);
  3976. color: var(--danger);
  3977. }
  3978. ​
  3979. body.dash-no-glass .dash-btn:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success),
  3980. body.dash-no-glass .dash-btn-small:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success) {
  3981. background: var(--panel-alt);
  3982. box-shadow: none;
  3983. }
  3984. ​
  3985. body.dash-no-glass .dash-btn:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success):hover,
  3986. body.dash-no-glass .dash-btn-small:not(.dash-btn-primary):not(.dash-btn-danger):not(.dash-btn-success):hover {
  3987. background: var(--panel-hover);
  3988. }
  3989. ​
  3990. body.dash-no-glass .dash-card {
  3991. background: var(--panel);
  3992. }
  3993. ​
  3994. body.dash-no-glass .ai-msg-user {
  3995. background: var(--accent);
  3996. border-color: var(--accent);
  3997. color: #fff;
  3998. }
  3999. ​
  4000. body.dash-no-glass .be-inline-toolbar button:hover {
  4001. background: var(--accent);
  4002. color: #fff;
  4003. }
  4004. ​
  4005. body.dash-no-glass .be-block-menu button:hover,
  4006. body.dash-no-glass .be-block-menu button:focus-visible,
  4007. body.dash-no-glass .be-block-menu button.active,
  4008. body.dash-no-glass .be-block-menu button.is-active,
  4009. body.dash-no-glass .be-block-menu button[aria-selected="true"] {
  4010. background: var(--accent-dim);
  4011. border-color: transparent;
  4012. }
  4013. ​
  4014. body.dash-no-glass .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"]):checked {
  4015. background: var(--accent);
  4016. border-color: var(--accent);
  4017. box-shadow: none;
  4018. }
  4019. ​
  4020. body.dash-no-glass .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"]):checked::before {
  4021. background: #fff;
  4022. }
  4023. ​
  4024. body.dash-no-glass .media-modal-tab.is-active {
  4025. background: var(--accent-dim);
  4026. border-color: transparent;
  4027. }
  4028. ​
  4029. body.dash-no-glass .media-modal-overlay {
  4030. -webkit-backdrop-filter: none;
  4031. backdrop-filter: none;
  4032. }
  4033. ​
  4034. body.dash-no-glass .dash-sidebar,
  4035. body.dash-no-glass .dash-mobile-topbar,
  4036. body.dash-no-glass .be-inline-toolbar,
  4037. body.dash-no-glass .be-color-popover,
  4038. body.dash-no-glass .be-block-menu,
  4039. body.dash-no-glass .ai-panel,
  4040. body.dash-no-glass .media-modal {
  4041. -webkit-backdrop-filter: none;
  4042. backdrop-filter: none;
  4043. }
  4044. ​
  4045. body.dash-minimal {
  4046. --shadow-sm: none;
  4047. --shadow-card: none;
  4048. }
  4049. ​
  4050. body.dash-minimal *,
  4051. body.dash-minimal *::before,
  4052. body.dash-minimal *::after {
  4053. transition: none !important;
  4054. animation: none !important;
  4055. }
  4056. ​
  4057. body.dash-minimal .dash-card,
  4058. body.dash-minimal .dash-table,
  4059. body.dash-minimal .dash-sidebar,
  4060. body.dash-minimal .dash-main,
  4061. body.dash-minimal .sidebar-box {
  4062. box-shadow: none;
  4063. }
  4064. ​
  4065. body.dash-minimal input[type="text"],
  4066. body.dash-minimal input[type="number"],
  4067. body.dash-minimal input[type="datetime-local"],
  4068. body.dash-minimal input[type="password"],
  4069. body.dash-minimal input[type="email"],
  4070. body.dash-minimal input:not([type]),
  4071. body.dash-minimal input[type="url"],
  4072. body.dash-minimal input[type="search"],
  4073. body.dash-minimal input[type="tel"],
  4074. body.dash-minimal input[type="date"],
  4075. body.dash-minimal input[type="time"],
  4076. body.dash-minimal select,
  4077. body.dash-minimal textarea {
  4078. background: var(--bg);
  4079. }
  4080. ​
  4081. body.dash-minimal .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"]) {
  4082. background: var(--panel-alt);
  4083. box-shadow: none;
  4084. }
  4085. ​
  4086. body.dash-minimal .dash-main input[type="checkbox"]:not(.be-block input[type="checkbox"])::before {
  4087. background: var(--muted);
  4088. box-shadow: none;
  4089. }
  4090. ​