WebOrbiton
v1.0.0.0

StocketBase

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