You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

993 lines
18KB

  1. :root {
  2. --page-background: #f4efe7;
  3. --surface: rgba(255, 252, 247, 0.88);
  4. --surface-strong: #fffdf8;
  5. --surface-border: rgba(26, 72, 64, 0.12);
  6. --text-primary: #143631;
  7. --text-secondary: #4f655f;
  8. --accent: #1d7a6d;
  9. --accent-strong: #135c52;
  10. --accent-soft: #daf1ec;
  11. --highlight: #ef7c4d;
  12. --shadow-soft: 0 18px 50px rgba(20, 54, 49, 0.1);
  13. --shadow-card: 0 20px 40px rgba(20, 54, 49, 0.08);
  14. }
  15. * {
  16. box-sizing: border-box;
  17. }
  18. [x-cloak] {
  19. display: none !important;
  20. }
  21. html {
  22. scroll-behavior: smooth;
  23. }
  24. body {
  25. margin: 0;
  26. min-height: 100vh;
  27. font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  28. color: var(--text-primary);
  29. background:
  30. radial-gradient(circle at top left, rgba(239, 124, 77, 0.18), transparent 28%),
  31. radial-gradient(circle at top right, rgba(29, 122, 109, 0.18), transparent 32%),
  32. linear-gradient(180deg, #f8f2e8 0%, var(--page-background) 48%, #efe6da 100%);
  33. }
  34. a {
  35. color: inherit;
  36. }
  37. code {
  38. font-family: Consolas, "Courier New", monospace;
  39. }
  40. .page-shell {
  41. min-height: 100vh;
  42. display: flex;
  43. flex-direction: column;
  44. }
  45. .container {
  46. width: min(1120px, calc(100% - 2rem));
  47. margin: 0 auto;
  48. }
  49. .site-header {
  50. position: sticky;
  51. top: 0;
  52. z-index: 20;
  53. backdrop-filter: blur(14px);
  54. background: rgba(248, 242, 232, 0.78);
  55. border-bottom: 1px solid rgba(20, 54, 49, 0.08);
  56. }
  57. .header-inner {
  58. display: flex;
  59. align-items: center;
  60. justify-content: space-between;
  61. gap: 1rem;
  62. padding: 1rem 0;
  63. }
  64. .brand {
  65. display: inline-flex;
  66. align-items: center;
  67. gap: 0.85rem;
  68. text-decoration: none;
  69. }
  70. .brand-mark {
  71. display: inline-flex;
  72. align-items: center;
  73. justify-content: center;
  74. width: 2.75rem;
  75. height: 2.75rem;
  76. border-radius: 0.95rem;
  77. background: linear-gradient(135deg, var(--accent), var(--highlight));
  78. color: #fff;
  79. font-weight: 700;
  80. letter-spacing: 0.08em;
  81. box-shadow: var(--shadow-soft);
  82. }
  83. .brand-copy {
  84. display: flex;
  85. flex-direction: column;
  86. line-height: 1.1;
  87. }
  88. .brand-copy strong {
  89. font-size: 1rem;
  90. }
  91. .brand-copy small {
  92. color: var(--text-secondary);
  93. font-size: 0.75rem;
  94. text-transform: uppercase;
  95. letter-spacing: 0.14em;
  96. }
  97. .site-nav {
  98. display: flex;
  99. align-items: center;
  100. gap: 0.6rem;
  101. flex-wrap: wrap;
  102. }
  103. .nav-user {
  104. padding: 0 0.4rem;
  105. color: var(--text-secondary);
  106. font-size: 0.88rem;
  107. font-weight: 600;
  108. }
  109. .nav-logout-form {
  110. display: contents;
  111. }
  112. .nav-link {
  113. text-decoration: none;
  114. color: var(--text-secondary);
  115. font-weight: 600;
  116. padding: 0.7rem 1rem;
  117. border-radius: 999px;
  118. transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
  119. }
  120. .nav-link:hover,
  121. .nav-link:focus-visible,
  122. .nav-link.is-active {
  123. color: var(--accent-strong);
  124. background: rgba(29, 122, 109, 0.12);
  125. transform: translateY(-1px);
  126. }
  127. .page-content {
  128. flex: 1;
  129. padding: 3.5rem 0 4rem;
  130. }
  131. .content-stack {
  132. display: grid;
  133. gap: 1.5rem;
  134. }
  135. .section-heading {
  136. max-width: 46rem;
  137. }
  138. .section-heading h1 {
  139. margin: 0.3rem 0 0.8rem;
  140. font-size: clamp(2.4rem, 5vw, 4rem);
  141. line-height: 1;
  142. letter-spacing: -0.04em;
  143. }
  144. .section-heading p {
  145. margin: 0;
  146. color: var(--text-secondary);
  147. line-height: 1.8;
  148. font-size: 1.05rem;
  149. }
  150. .hero {
  151. display: grid;
  152. grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  153. gap: 1.5rem;
  154. align-items: stretch;
  155. }
  156. .hero-copy,
  157. .hero-panel,
  158. .feature-card,
  159. .section-panel,
  160. .alert,
  161. .empty-state {
  162. background: var(--surface);
  163. border: 1px solid var(--surface-border);
  164. box-shadow: var(--shadow-card);
  165. }
  166. .hero-copy {
  167. padding: 3rem;
  168. border-radius: 2rem;
  169. }
  170. .eyebrow {
  171. display: inline-block;
  172. margin-bottom: 1rem;
  173. padding: 0.4rem 0.75rem;
  174. border-radius: 999px;
  175. background: var(--accent-soft);
  176. color: var(--accent-strong);
  177. font-size: 0.78rem;
  178. font-weight: 700;
  179. text-transform: uppercase;
  180. letter-spacing: 0.14em;
  181. }
  182. .hero h1 {
  183. margin: 0;
  184. font-size: clamp(2.8rem, 6vw, 4.8rem);
  185. line-height: 0.98;
  186. letter-spacing: -0.04em;
  187. }
  188. .hero-text {
  189. max-width: 44rem;
  190. margin: 1.25rem 0 0;
  191. font-size: 1.12rem;
  192. line-height: 1.8;
  193. color: var(--text-secondary);
  194. }
  195. .hero-actions {
  196. display: flex;
  197. flex-wrap: wrap;
  198. gap: 0.85rem;
  199. margin-top: 2rem;
  200. }
  201. .button {
  202. display: inline-flex;
  203. align-items: center;
  204. justify-content: center;
  205. padding: 0.9rem 1.35rem;
  206. border-radius: 999px;
  207. text-decoration: none;
  208. font-weight: 700;
  209. }
  210. .button-primary {
  211. background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  212. color: #fff;
  213. box-shadow: 0 18px 30px rgba(19, 92, 82, 0.25);
  214. }
  215. .button-secondary {
  216. background: rgba(29, 122, 109, 0.08);
  217. color: var(--accent-strong);
  218. }
  219. .hero-panel {
  220. display: flex;
  221. flex-direction: column;
  222. justify-content: space-between;
  223. padding: 2rem;
  224. border-radius: 1.8rem;
  225. }
  226. .panel-label {
  227. margin: 0 0 1rem;
  228. font-size: 0.78rem;
  229. font-weight: 700;
  230. letter-spacing: 0.16em;
  231. text-transform: uppercase;
  232. color: var(--text-secondary);
  233. }
  234. .hero-panel code {
  235. display: block;
  236. padding: 1rem 1.1rem;
  237. border-radius: 1.2rem;
  238. background: #173d37;
  239. color: #eefbf6;
  240. line-height: 1.7;
  241. white-space: normal;
  242. }
  243. .route-callout {
  244. margin-top: 1.5rem;
  245. padding: 1rem 1.1rem;
  246. border-radius: 1.2rem;
  247. background: var(--surface-strong);
  248. }
  249. .route-callout span {
  250. display: block;
  251. margin-bottom: 0.45rem;
  252. color: var(--text-secondary);
  253. font-size: 0.92rem;
  254. }
  255. .route-callout a {
  256. color: var(--highlight);
  257. font-weight: 700;
  258. text-decoration: none;
  259. }
  260. .feature-grid {
  261. display: grid;
  262. grid-template-columns: repeat(3, minmax(0, 1fr));
  263. gap: 1.25rem;
  264. margin-top: 1.5rem;
  265. }
  266. .feature-card {
  267. padding: 1.75rem;
  268. border-radius: 1.6rem;
  269. }
  270. .feature-card h2 {
  271. margin-top: 0;
  272. margin-bottom: 0.8rem;
  273. font-size: 1.25rem;
  274. }
  275. .feature-card p {
  276. margin: 0;
  277. color: var(--text-secondary);
  278. line-height: 1.7;
  279. }
  280. .controls-panel,
  281. .table-shell {
  282. overflow: hidden;
  283. background:
  284. linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 242, 232, 0.88)),
  285. var(--surface);
  286. }
  287. .controls-header {
  288. display: flex;
  289. align-items: flex-start;
  290. justify-content: space-between;
  291. gap: 1rem;
  292. }
  293. .search-row {
  294. display: grid;
  295. grid-template-columns: minmax(0, 1fr);
  296. }
  297. .field-full {
  298. width: 100%;
  299. }
  300. .section-panel {
  301. padding: 1.75rem;
  302. border-radius: 1.8rem;
  303. }
  304. .panel-header {
  305. display: flex;
  306. align-items: flex-start;
  307. justify-content: space-between;
  308. gap: 1rem;
  309. flex-wrap: wrap;
  310. margin-bottom: 1.5rem;
  311. }
  312. .panel-actions {
  313. display: flex;
  314. align-items: center;
  315. gap: 0.5rem;
  316. flex-wrap: wrap;
  317. }
  318. .panel-header h2 {
  319. margin: 0 0 0.45rem;
  320. font-size: 1.45rem;
  321. }
  322. .panel-header p {
  323. margin: 0;
  324. color: var(--text-secondary);
  325. line-height: 1.7;
  326. }
  327. .job-type-table-stack {
  328. display: grid;
  329. gap: 1.5rem;
  330. }
  331. .job-type-table-group {
  332. display: grid;
  333. gap: 0.85rem;
  334. padding-top: 1.25rem;
  335. border-top: 1px solid rgba(20, 54, 49, 0.1);
  336. }
  337. .job-type-table-group:first-child {
  338. padding-top: 0;
  339. border-top: 0;
  340. }
  341. .job-type-table-heading {
  342. display: flex;
  343. align-items: center;
  344. justify-content: space-between;
  345. gap: 1rem;
  346. flex-wrap: wrap;
  347. }
  348. .job-type-table-heading h3 {
  349. margin: 0;
  350. font-size: 1.08rem;
  351. }
  352. .job-type-table-heading span {
  353. color: var(--text-secondary);
  354. font-size: 0.86rem;
  355. font-weight: 700;
  356. }
  357. .form-grid {
  358. display: grid;
  359. grid-template-columns: repeat(2, minmax(0, 1fr));
  360. gap: 1rem;
  361. }
  362. /* Campaign jobs table — horizontal scroll inside the panel */
  363. #campaign-jobs-page-table {
  364. overflow-x: auto;
  365. width: 100%;
  366. }
  367. .import-tabs {
  368. display: flex;
  369. gap: 0.25rem;
  370. margin-bottom: 1.25rem;
  371. border-bottom: 1px solid var(--surface-border);
  372. padding-bottom: 0;
  373. }
  374. .import-tab {
  375. padding: 0.55rem 1.1rem;
  376. border: none;
  377. background: none;
  378. cursor: pointer;
  379. font: inherit;
  380. font-weight: 600;
  381. color: var(--text-secondary);
  382. border-bottom: 2px solid transparent;
  383. margin-bottom: -1px;
  384. border-radius: 0;
  385. transition: color 120ms, border-color 120ms;
  386. }
  387. .import-tab:hover { color: var(--accent); }
  388. .import-tab.is-active { color: var(--accent-strong); border-bottom-color: var(--accent-strong); }
  389. .import-grid {
  390. display: grid;
  391. grid-template-columns: minmax(260px, 1.4fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr);
  392. gap: 1rem;
  393. }
  394. .import-actions {
  395. margin-top: 1rem;
  396. flex-wrap: wrap;
  397. }
  398. .field {
  399. display: grid;
  400. gap: 0.45rem;
  401. font-weight: 600;
  402. }
  403. .field span {
  404. font-size: 0.96rem;
  405. }
  406. .input {
  407. width: 100%;
  408. padding: 0.95rem 1rem;
  409. border: 1px solid rgba(20, 54, 49, 0.16);
  410. border-radius: 1rem;
  411. background: rgba(255, 255, 255, 0.92);
  412. color: var(--text-primary);
  413. font: inherit;
  414. }
  415. .input:focus {
  416. outline: 2px solid rgba(29, 122, 109, 0.22);
  417. border-color: rgba(29, 122, 109, 0.45);
  418. }
  419. .field-error {
  420. color: #a43d1f;
  421. font-size: 0.88rem;
  422. font-weight: 600;
  423. }
  424. .form-actions {
  425. display: flex;
  426. justify-content: flex-start;
  427. align-items: center;
  428. gap: 0.85rem;
  429. }
  430. .button {
  431. border: 0;
  432. cursor: pointer;
  433. }
  434. .htmx-indicator {
  435. display: none;
  436. }
  437. .htmx-request .htmx-indicator,
  438. .htmx-request.htmx-indicator {
  439. display: inline-flex;
  440. }
  441. .inline-indicator {
  442. color: var(--text-secondary);
  443. font-size: 0.9rem;
  444. font-weight: 600;
  445. }
  446. .alert,
  447. .empty-state {
  448. padding: 1rem 1.15rem;
  449. border-radius: 1.2rem;
  450. }
  451. .alert-success {
  452. background: rgba(218, 241, 236, 0.92);
  453. color: var(--accent-strong);
  454. }
  455. .alert-error {
  456. background: rgba(239, 124, 77, 0.14);
  457. color: #8f3518;
  458. }
  459. .empty-state p {
  460. margin: 0;
  461. color: var(--text-secondary);
  462. line-height: 1.7;
  463. }
  464. .empty-state p + p {
  465. margin-top: 0.45rem;
  466. }
  467. .stats-grid {
  468. display: grid;
  469. grid-template-columns: repeat(3, minmax(0, 1fr));
  470. gap: 0.9rem;
  471. }
  472. .stat-card {
  473. padding: 1rem;
  474. border-radius: 1.3rem;
  475. background: rgba(255, 255, 255, 0.72);
  476. border: 1px solid rgba(20, 54, 49, 0.08);
  477. }
  478. .stat-card span {
  479. display: block;
  480. color: var(--text-secondary);
  481. font-size: 0.82rem;
  482. text-transform: uppercase;
  483. letter-spacing: 0.08em;
  484. }
  485. .stat-card strong {
  486. display: block;
  487. margin-top: 0.45rem;
  488. font-size: 1.7rem;
  489. line-height: 1;
  490. }
  491. .summary-feature {
  492. margin-top: 1rem;
  493. padding: 1.15rem;
  494. border-radius: 1.3rem;
  495. background: linear-gradient(135deg, rgba(29, 122, 109, 0.12), rgba(239, 124, 77, 0.12));
  496. }
  497. .summary-label {
  498. display: block;
  499. color: var(--text-secondary);
  500. font-size: 0.82rem;
  501. text-transform: uppercase;
  502. letter-spacing: 0.08em;
  503. }
  504. .summary-feature h3 {
  505. margin: 0.55rem 0 0.3rem;
  506. font-size: 1.35rem;
  507. }
  508. .summary-feature p {
  509. margin: 0;
  510. color: var(--text-secondary);
  511. }
  512. .table-toolbar {
  513. display: flex;
  514. align-items: center;
  515. justify-content: space-between;
  516. gap: 1rem;
  517. margin-bottom: 1rem;
  518. flex-wrap: wrap;
  519. padding: 0.9rem 1rem;
  520. border: 1px solid rgba(20, 54, 49, 0.08);
  521. border-radius: 1rem;
  522. background: rgba(255, 255, 255, 0.58);
  523. }
  524. .table-pill {
  525. display: inline-flex;
  526. align-items: center;
  527. padding: 0.5rem 0.8rem;
  528. border-radius: 999px;
  529. background: rgba(29, 122, 109, 0.12);
  530. color: var(--accent-strong);
  531. font-size: 0.82rem;
  532. font-weight: 700;
  533. letter-spacing: 0.04em;
  534. }
  535. .table-caption {
  536. color: var(--text-secondary);
  537. font-size: 0.92rem;
  538. }
  539. .directory-panel .tabulator-host {
  540. min-height: 38rem;
  541. }
  542. .tabulator-host .tabulator {
  543. border: 1px solid var(--surface-border);
  544. border-radius: 1.35rem;
  545. overflow: hidden;
  546. background: rgba(255, 255, 255, 0.82);
  547. box-shadow:
  548. inset 0 1px 0 rgba(255, 255, 255, 0.5),
  549. 0 18px 35px rgba(20, 54, 49, 0.08);
  550. }
  551. .tabulator-host .tabulator-header {
  552. border-bottom: 1px solid rgba(20, 54, 49, 0.08);
  553. background: linear-gradient(180deg, rgba(29, 122, 109, 0.14), rgba(29, 122, 109, 0.08));
  554. }
  555. .tabulator-host .tabulator-header .tabulator-col {
  556. min-height: 3.25rem;
  557. background: transparent;
  558. border-right: 1px solid rgba(20, 54, 49, 0.06);
  559. }
  560. .tabulator-host .tabulator-header .tabulator-col:last-child {
  561. border-right: 0;
  562. }
  563. .tabulator-host .tabulator-header .tabulator-col .tabulator-col-content {
  564. padding: 0.9rem 0.95rem 0.85rem;
  565. }
  566. .tabulator-host .tabulator-header .tabulator-col .tabulator-col-title {
  567. font-size: 0.78rem;
  568. font-weight: 800;
  569. letter-spacing: 0.08em;
  570. text-transform: uppercase;
  571. color: var(--accent-strong);
  572. }
  573. .tabulator-host .tabulator-col,
  574. .tabulator-host .tabulator-cell {
  575. border-right: 1px solid rgba(20, 54, 49, 0.06);
  576. }
  577. .tabulator-host .tabulator-row .tabulator-cell:last-child {
  578. border-right: 0;
  579. }
  580. .tabulator-host .tabulator-row {
  581. background: rgba(255, 255, 255, 0.96);
  582. border-bottom: 1px solid rgba(20, 54, 49, 0.06);
  583. transition: background-color 160ms ease, transform 160ms ease;
  584. }
  585. .tabulator-host .tabulator-row:nth-child(even) {
  586. background: rgba(248, 242, 232, 0.82);
  587. }
  588. .tabulator-host .tabulator-row:hover {
  589. background: rgba(218, 241, 236, 0.72);
  590. }
  591. .tabulator-host .tabulator-row.tabulator-selected {
  592. background: rgba(29, 122, 109, 0.18);
  593. }
  594. .tabulator-host .tabulator-cell {
  595. padding: 0.95rem 0.95rem;
  596. font-size: 0.96rem;
  597. line-height: 1.4;
  598. }
  599. .tabulator-host .tabulator-row .tabulator-cell:first-child {
  600. font-weight: 700;
  601. color: var(--text-primary);
  602. }
  603. .tabulator-host .tabulator-footer {
  604. padding: 0.55rem 0.7rem;
  605. background: rgba(255, 255, 255, 0.88);
  606. border-top: 1px solid rgba(20, 54, 49, 0.08);
  607. }
  608. .tabulator-host .tabulator-footer .tabulator-paginator {
  609. font-family: inherit;
  610. }
  611. .tabulator-host .tabulator-footer .tabulator-page {
  612. margin: 0 0.2rem;
  613. padding: 0.45rem 0.7rem;
  614. border: 1px solid rgba(20, 54, 49, 0.1);
  615. border-radius: 0.8rem;
  616. background: rgba(255, 255, 255, 0.9);
  617. color: var(--text-secondary);
  618. font-weight: 700;
  619. }
  620. .tabulator-host .tabulator-footer .tabulator-page.active,
  621. .tabulator-host .tabulator-footer .tabulator-page:hover {
  622. background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  623. border-color: transparent;
  624. color: #fff;
  625. }
  626. .tabulator-host .tabulator-footer .tabulator-page:disabled {
  627. opacity: 0.45;
  628. }
  629. .tabulator-host .tabulator-placeholder {
  630. padding: 2.5rem 1rem;
  631. color: var(--text-secondary);
  632. font-size: 1rem;
  633. font-weight: 600;
  634. }
  635. .site-footer {
  636. margin-top: auto;
  637. border-top: 1px solid rgba(20, 54, 49, 0.08);
  638. background: rgba(255, 252, 247, 0.72);
  639. }
  640. .footer-inner {
  641. display: flex;
  642. justify-content: space-between;
  643. gap: 1rem;
  644. padding: 1.25rem 0 2rem;
  645. color: var(--text-secondary);
  646. font-size: 0.95rem;
  647. }
  648. .footer-inner p {
  649. margin: 0;
  650. }
  651. @media (max-width: 860px) {
  652. .header-inner,
  653. .footer-inner {
  654. flex-direction: column;
  655. align-items: flex-start;
  656. }
  657. .hero,
  658. .feature-grid {
  659. grid-template-columns: 1fr;
  660. }
  661. .controls-header,
  662. .table-toolbar {
  663. flex-direction: column;
  664. align-items: flex-start;
  665. }
  666. .hero-copy,
  667. .hero-panel {
  668. padding: 2rem;
  669. }
  670. .form-grid {
  671. grid-template-columns: 1fr;
  672. }
  673. .import-grid {
  674. grid-template-columns: 1fr;
  675. }
  676. .stats-grid {
  677. grid-template-columns: 1fr;
  678. }
  679. .page-content {
  680. padding-top: 2rem;
  681. }
  682. }
  683. @media (max-width: 560px) {
  684. .container {
  685. width: min(100% - 1.25rem, 1120px);
  686. }
  687. .site-nav {
  688. width: 100%;
  689. }
  690. .nav-link {
  691. width: 100%;
  692. text-align: center;
  693. }
  694. .hero h1 {
  695. font-size: 2.5rem;
  696. }
  697. }
  698. /* ── Campaign Types ─────────────────────────────────────────────────── */
  699. .page-toolbar {
  700. display: flex;
  701. align-items: flex-start;
  702. justify-content: space-between;
  703. gap: 1.5rem;
  704. flex-wrap: wrap;
  705. }
  706. .page-toolbar .section-heading {
  707. margin: 0;
  708. }
  709. .page-toolbar .section-heading h1 {
  710. margin: 0 0 0.4rem;
  711. }
  712. .button-danger {
  713. background: linear-gradient(135deg, #c0392b, #962d22);
  714. color: #fff;
  715. box-shadow: 0 8px 20px rgba(192, 57, 43, 0.28);
  716. border: none;
  717. cursor: pointer;
  718. }
  719. .button-danger:hover,
  720. .button-danger:focus-visible {
  721. background: linear-gradient(135deg, #d44637, #c0392b);
  722. }
  723. .button-sm {
  724. padding: 0.4rem 0.85rem;
  725. font-size: 0.82rem;
  726. border-radius: 999px;
  727. border: none;
  728. cursor: pointer;
  729. }
  730. .ct-form {
  731. display: grid;
  732. gap: 2rem;
  733. }
  734. .form-section {
  735. display: grid;
  736. gap: 1rem;
  737. }
  738. .form-section h3 {
  739. margin: 0;
  740. font-size: 1.05rem;
  741. }
  742. .attributes-header {
  743. display: flex;
  744. flex-direction: column;
  745. gap: 0.25rem;
  746. }
  747. .attributes-hint {
  748. margin: 0;
  749. color: var(--text-secondary);
  750. font-size: 0.9rem;
  751. }
  752. .attribute-list {
  753. display: grid;
  754. gap: 0.6rem;
  755. }
  756. .attribute-row {
  757. display: flex;
  758. align-items: flex-end;
  759. gap: 0.75rem;
  760. flex-wrap: wrap;
  761. }
  762. .attr-drag-handle {
  763. cursor: grab;
  764. padding: 0 0.3rem;
  765. color: var(--text-secondary);
  766. font-size: 1.25rem;
  767. user-select: none;
  768. align-self: flex-end;
  769. padding-bottom: 0.6rem;
  770. line-height: 1;
  771. }
  772. .attr-drag-handle:active {
  773. cursor: grabbing;
  774. }
  775. .attribute-row.is-dragging {
  776. opacity: 0.35;
  777. }
  778. .attribute-row.is-drag-over {
  779. outline: 2px dashed var(--accent);
  780. border-radius: 0.8rem;
  781. background: var(--accent-soft);
  782. }
  783. .attribute-order-field {
  784. flex: 0 0 5rem;
  785. min-width: 5rem;
  786. }
  787. .attribute-order-field .input {
  788. text-align: center;
  789. }
  790. .attribute-name-field {
  791. flex: 2;
  792. min-width: 160px;
  793. }
  794. .attribute-type-field {
  795. flex: 1;
  796. min-width: 110px;
  797. }
  798. .attribute-remove {
  799. padding-bottom: 0.1rem;
  800. }
  801. .field-full {
  802. width: 100%;
  803. }
  804. .input-error {
  805. border-color: #c0392b !important;
  806. }
  807. .required-mark {
  808. color: #c0392b;
  809. }
  810. .delete-zone {
  811. margin-top: 2.5rem;
  812. padding-top: 1.5rem;
  813. border-top: 1px solid rgba(192, 57, 43, 0.2);
  814. }
  815. .delete-zone h4 {
  816. margin: 0 0 0.35rem;
  817. color: #c0392b;
  818. font-size: 0.95rem;
  819. }
  820. .delete-zone p {
  821. margin: 0 0 1rem;
  822. color: var(--text-secondary);
  823. font-size: 0.88rem;
  824. }
  825. .attr-summary {
  826. color: var(--text-secondary);
  827. font-size: 0.88rem;
  828. }
  829. .attr-empty {
  830. color: var(--text-secondary);
  831. opacity: 0.45;
  832. }

Powered by TurnKey Linux.