Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

795 строки
15KB

  1. :root {
  2. --page-background: #eef4ff;
  3. --surface: rgba(247, 251, 255, 0.88);
  4. --surface-strong: #f7fbff;
  5. --surface-border: rgba(19, 99, 223, 0.12);
  6. --text-primary: #1a2d4e;
  7. --text-secondary: #4a6080;
  8. --accent: #1363df;
  9. --accent-strong: #0e4fae;
  10. --accent-soft: #e7f0ff;
  11. --highlight: #3d96f5;
  12. --shadow-soft: 0 18px 50px rgba(16, 44, 90, 0.1);
  13. --shadow-card: 0 20px 40px rgba(16, 44, 90, 0.08);
  14. }
  15. * {
  16. box-sizing: border-box;
  17. }
  18. html {
  19. scroll-behavior: smooth;
  20. }
  21. body {
  22. margin: 0;
  23. min-height: 100vh;
  24. font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  25. color: var(--text-primary);
  26. background:
  27. radial-gradient(75rem 35rem at -12% -18%, #dae8ff 0%, transparent 44%),
  28. radial-gradient(68rem 32rem at 115% -16%, #d8f3ff 0%, transparent 40%),
  29. linear-gradient(180deg, #eef4ff 0%, #f4f8ff 58%, #f3f7ff 100%);
  30. }
  31. a {
  32. color: inherit;
  33. }
  34. code {
  35. font-family: Consolas, "Courier New", monospace;
  36. }
  37. .page-shell {
  38. min-height: 100vh;
  39. display: flex;
  40. flex-direction: column;
  41. }
  42. .container {
  43. width: min(1120px, calc(100% - 2rem));
  44. margin: 0 auto;
  45. }
  46. .site-header {
  47. position: sticky;
  48. top: 0;
  49. z-index: 20;
  50. backdrop-filter: blur(9px);
  51. background: linear-gradient(120deg, #102241 0%, #173a72 56%, #1c4c90 100%);
  52. border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  53. box-shadow: 0 8px 24px rgba(8, 20, 48, 0.26);
  54. }
  55. .header-inner {
  56. display: flex;
  57. align-items: center;
  58. justify-content: space-between;
  59. gap: 1rem;
  60. padding: 1rem 0;
  61. }
  62. .brand {
  63. display: inline-flex;
  64. align-items: center;
  65. gap: 0.85rem;
  66. text-decoration: none;
  67. color: #f4f8ff;
  68. }
  69. .brand-mark {
  70. display: inline-flex;
  71. align-items: center;
  72. justify-content: center;
  73. width: 2.75rem;
  74. height: 2.75rem;
  75. border-radius: 0.95rem;
  76. background: linear-gradient(135deg, #1363df, #0e4fae);
  77. color: #fff;
  78. font-weight: 700;
  79. letter-spacing: 0.08em;
  80. box-shadow: 0 4px 14px rgba(14, 79, 174, 0.4);
  81. }
  82. .brand-copy {
  83. display: flex;
  84. flex-direction: column;
  85. line-height: 1.1;
  86. }
  87. .brand-copy strong {
  88. font-size: 1rem;
  89. color: #f4f8ff;
  90. }
  91. .brand-copy small {
  92. color: rgba(235, 243, 255, 0.65);
  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-link {
  104. text-decoration: none;
  105. color: rgba(235, 243, 255, 0.82);
  106. font-weight: 600;
  107. padding: 0.7rem 1rem;
  108. border-radius: 999px;
  109. transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
  110. }
  111. .nav-link:hover,
  112. .nav-link:focus-visible,
  113. .nav-link.is-active {
  114. color: #fff;
  115. background: rgba(255, 255, 255, 0.16);
  116. transform: translateY(-1px);
  117. }
  118. .page-content {
  119. flex: 1;
  120. padding: 3.5rem 0 4rem;
  121. }
  122. .content-stack {
  123. display: grid;
  124. gap: 1.5rem;
  125. }
  126. .section-heading {
  127. max-width: 46rem;
  128. }
  129. .section-heading h1 {
  130. margin: 0.3rem 0 0.8rem;
  131. font-size: clamp(2.4rem, 5vw, 4rem);
  132. line-height: 1;
  133. letter-spacing: -0.04em;
  134. }
  135. .section-heading p {
  136. margin: 0;
  137. color: var(--text-secondary);
  138. line-height: 1.8;
  139. font-size: 1.05rem;
  140. }
  141. .hero {
  142. display: grid;
  143. grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  144. gap: 1.5rem;
  145. align-items: stretch;
  146. }
  147. .hero-copy,
  148. .hero-panel,
  149. .feature-card,
  150. .section-panel,
  151. .employee-card,
  152. .alert,
  153. .empty-state {
  154. background: var(--surface);
  155. border: 1px solid var(--surface-border);
  156. box-shadow: var(--shadow-card);
  157. }
  158. .hero-copy {
  159. padding: 3rem;
  160. border-radius: 2rem;
  161. }
  162. .eyebrow {
  163. display: inline-block;
  164. margin-bottom: 1rem;
  165. padding: 0.4rem 0.75rem;
  166. border-radius: 999px;
  167. background: var(--accent-soft);
  168. color: var(--accent-strong);
  169. font-size: 0.78rem;
  170. font-weight: 700;
  171. text-transform: uppercase;
  172. letter-spacing: 0.14em;
  173. }
  174. .hero h1 {
  175. margin: 0;
  176. font-size: clamp(2.8rem, 6vw, 4.8rem);
  177. line-height: 0.98;
  178. letter-spacing: -0.04em;
  179. }
  180. .hero-text {
  181. max-width: 44rem;
  182. margin: 1.25rem 0 0;
  183. font-size: 1.12rem;
  184. line-height: 1.8;
  185. color: var(--text-secondary);
  186. }
  187. .hero-actions {
  188. display: flex;
  189. flex-wrap: wrap;
  190. gap: 0.85rem;
  191. margin-top: 2rem;
  192. }
  193. .button {
  194. display: inline-flex;
  195. align-items: center;
  196. justify-content: center;
  197. padding: 0.9rem 1.35rem;
  198. border-radius: 999px;
  199. text-decoration: none;
  200. font-weight: 700;
  201. }
  202. .button-primary {
  203. background: linear-gradient(135deg, #1363df, #0e4fae);
  204. color: #fff;
  205. box-shadow: 0 18px 30px rgba(14, 79, 174, 0.28);
  206. }
  207. .button-secondary {
  208. background: rgba(19, 99, 223, 0.08);
  209. color: var(--accent-strong);
  210. }
  211. .hero-panel {
  212. display: flex;
  213. flex-direction: column;
  214. justify-content: space-between;
  215. padding: 2rem;
  216. border-radius: 1.8rem;
  217. }
  218. .panel-label {
  219. margin: 0 0 1rem;
  220. font-size: 0.78rem;
  221. font-weight: 700;
  222. letter-spacing: 0.16em;
  223. text-transform: uppercase;
  224. color: var(--text-secondary);
  225. }
  226. .hero-panel code {
  227. display: block;
  228. padding: 1rem 1.1rem;
  229. border-radius: 1.2rem;
  230. background: #102241;
  231. color: #d8ecff;
  232. line-height: 1.7;
  233. white-space: normal;
  234. }
  235. .route-callout {
  236. margin-top: 1.5rem;
  237. padding: 1rem 1.1rem;
  238. border-radius: 1.2rem;
  239. background: var(--surface-strong);
  240. }
  241. .route-callout span {
  242. display: block;
  243. margin-bottom: 0.45rem;
  244. color: var(--text-secondary);
  245. font-size: 0.92rem;
  246. }
  247. .route-callout a {
  248. color: var(--highlight);
  249. font-weight: 700;
  250. text-decoration: none;
  251. }
  252. .feature-grid {
  253. display: grid;
  254. grid-template-columns: repeat(3, minmax(0, 1fr));
  255. gap: 1.25rem;
  256. margin-top: 1.5rem;
  257. }
  258. .feature-card {
  259. padding: 1.75rem;
  260. border-radius: 1.6rem;
  261. }
  262. .feature-card h2 {
  263. margin-top: 0;
  264. margin-bottom: 0.8rem;
  265. font-size: 1.25rem;
  266. }
  267. .feature-card p {
  268. margin: 0;
  269. color: var(--text-secondary);
  270. line-height: 1.7;
  271. }
  272. .employee-layout {
  273. display: grid;
  274. grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.5fr);
  275. gap: 1.5rem;
  276. align-items: start;
  277. }
  278. .controls-panel,
  279. .table-shell {
  280. overflow: hidden;
  281. background:
  282. linear-gradient(180deg, rgba(247, 251, 255, 0.92), rgba(238, 244, 255, 0.88)),
  283. var(--surface);
  284. }
  285. .controls-header {
  286. display: flex;
  287. align-items: flex-start;
  288. justify-content: space-between;
  289. gap: 1rem;
  290. }
  291. .search-row {
  292. display: grid;
  293. grid-template-columns: minmax(0, 1fr);
  294. }
  295. .field-full {
  296. width: 100%;
  297. }
  298. .section-panel {
  299. padding: 1.75rem;
  300. border-radius: 1.8rem;
  301. }
  302. .panel-header {
  303. margin-bottom: 1.5rem;
  304. }
  305. .panel-header h2 {
  306. margin: 0 0 0.45rem;
  307. font-size: 1.45rem;
  308. }
  309. .panel-header p {
  310. margin: 0;
  311. color: var(--text-secondary);
  312. line-height: 1.7;
  313. }
  314. .employee-form {
  315. display: grid;
  316. gap: 1.25rem;
  317. }
  318. .form-grid {
  319. display: grid;
  320. grid-template-columns: repeat(2, minmax(0, 1fr));
  321. gap: 1rem;
  322. }
  323. .field {
  324. display: grid;
  325. gap: 0.45rem;
  326. font-weight: 600;
  327. }
  328. .field span {
  329. font-size: 0.96rem;
  330. }
  331. .input {
  332. width: 100%;
  333. padding: 0.95rem 1rem;
  334. border: 1px solid rgba(19, 99, 223, 0.16);
  335. border-radius: 1rem;
  336. background: rgba(255, 255, 255, 0.92);
  337. color: var(--text-primary);
  338. font: inherit;
  339. }
  340. .input:focus {
  341. outline: 2px solid rgba(19, 99, 223, 0.22);
  342. border-color: rgba(19, 99, 223, 0.45);
  343. }
  344. .field-error {
  345. color: #a43d1f;
  346. font-size: 0.88rem;
  347. font-weight: 600;
  348. }
  349. .form-actions {
  350. display: flex;
  351. justify-content: flex-start;
  352. align-items: center;
  353. gap: 0.85rem;
  354. }
  355. .button {
  356. border: 0;
  357. cursor: pointer;
  358. }
  359. .htmx-indicator {
  360. display: none;
  361. }
  362. .htmx-request .htmx-indicator,
  363. .htmx-request.htmx-indicator {
  364. display: inline-flex;
  365. }
  366. .inline-indicator {
  367. color: var(--text-secondary);
  368. font-size: 0.9rem;
  369. font-weight: 600;
  370. }
  371. .alert,
  372. .empty-state {
  373. padding: 1rem 1.15rem;
  374. border-radius: 1.2rem;
  375. }
  376. .alert-success {
  377. background: rgba(231, 240, 255, 0.92);
  378. color: var(--accent-strong);
  379. }
  380. .alert-error {
  381. background: rgba(239, 124, 77, 0.14);
  382. color: #8f3518;
  383. }
  384. .empty-state p {
  385. margin: 0;
  386. color: var(--text-secondary);
  387. line-height: 1.7;
  388. }
  389. .empty-state p + p {
  390. margin-top: 0.45rem;
  391. }
  392. .employee-cards {
  393. display: grid;
  394. gap: 1rem;
  395. }
  396. .employee-card {
  397. padding: 1.15rem;
  398. border-radius: 1.3rem;
  399. }
  400. .employee-card-top {
  401. display: flex;
  402. align-items: flex-start;
  403. justify-content: space-between;
  404. gap: 1rem;
  405. margin-bottom: 0.8rem;
  406. }
  407. .employee-card-top h3 {
  408. margin: 0;
  409. font-size: 1.05rem;
  410. }
  411. .employee-card-top span {
  412. padding: 0.4rem 0.7rem;
  413. border-radius: 999px;
  414. background: rgba(19, 99, 223, 0.09);
  415. color: var(--accent-strong);
  416. font-size: 0.78rem;
  417. font-weight: 700;
  418. }
  419. .employee-card p {
  420. margin: 0 0 1rem;
  421. color: var(--text-secondary);
  422. }
  423. .employee-meta {
  424. display: grid;
  425. gap: 0.75rem;
  426. margin: 0;
  427. }
  428. .employee-meta div {
  429. display: grid;
  430. gap: 0.2rem;
  431. }
  432. .employee-meta dt {
  433. color: var(--text-secondary);
  434. font-size: 0.82rem;
  435. text-transform: uppercase;
  436. letter-spacing: 0.08em;
  437. }
  438. .employee-meta dd {
  439. margin: 0;
  440. font-weight: 600;
  441. }
  442. .stats-grid {
  443. display: grid;
  444. grid-template-columns: repeat(3, minmax(0, 1fr));
  445. gap: 0.9rem;
  446. }
  447. .stat-card {
  448. padding: 1rem;
  449. border-radius: 1.3rem;
  450. background: rgba(255, 255, 255, 0.72);
  451. border: 1px solid rgba(19, 99, 223, 0.08);
  452. }
  453. .stat-card span {
  454. display: block;
  455. color: var(--text-secondary);
  456. font-size: 0.82rem;
  457. text-transform: uppercase;
  458. letter-spacing: 0.08em;
  459. }
  460. .stat-card strong {
  461. display: block;
  462. margin-top: 0.45rem;
  463. font-size: 1.7rem;
  464. line-height: 1;
  465. }
  466. .summary-feature {
  467. margin-top: 1rem;
  468. padding: 1.15rem;
  469. border-radius: 1.3rem;
  470. background: linear-gradient(135deg, rgba(19, 99, 223, 0.10), rgba(61, 150, 245, 0.10));
  471. }
  472. .summary-label {
  473. display: block;
  474. color: var(--text-secondary);
  475. font-size: 0.82rem;
  476. text-transform: uppercase;
  477. letter-spacing: 0.08em;
  478. }
  479. .summary-feature h3 {
  480. margin: 0.55rem 0 0.3rem;
  481. font-size: 1.35rem;
  482. }
  483. .summary-feature p {
  484. margin: 0;
  485. color: var(--text-secondary);
  486. }
  487. .table-toolbar {
  488. display: flex;
  489. align-items: center;
  490. justify-content: space-between;
  491. gap: 1rem;
  492. margin-bottom: 1rem;
  493. flex-wrap: wrap;
  494. padding: 0.9rem 1rem;
  495. border: 1px solid rgba(19, 99, 223, 0.08);
  496. border-radius: 1rem;
  497. background: rgba(255, 255, 255, 0.58);
  498. }
  499. .table-pill {
  500. display: inline-flex;
  501. align-items: center;
  502. padding: 0.5rem 0.8rem;
  503. border-radius: 999px;
  504. background: rgba(19, 99, 223, 0.12);
  505. color: var(--accent-strong);
  506. font-size: 0.82rem;
  507. font-weight: 700;
  508. letter-spacing: 0.04em;
  509. }
  510. .table-caption {
  511. color: var(--text-secondary);
  512. font-size: 0.92rem;
  513. }
  514. .directory-panel .tabulator-host {
  515. min-height: 38rem;
  516. }
  517. .tabulator-host .tabulator {
  518. border: 1px solid var(--surface-border);
  519. border-radius: 1.35rem;
  520. overflow: hidden;
  521. background: rgba(255, 255, 255, 0.82);
  522. box-shadow:
  523. inset 0 1px 0 rgba(255, 255, 255, 0.5),
  524. 0 18px 35px rgba(16, 44, 90, 0.08);
  525. }
  526. .tabulator-host .tabulator-header {
  527. border-bottom: 1px solid rgba(19, 99, 223, 0.08);
  528. background: linear-gradient(180deg, rgba(19, 99, 223, 0.14), rgba(19, 99, 223, 0.08));
  529. }
  530. .tabulator-host .tabulator-header .tabulator-col {
  531. min-height: 3.25rem;
  532. background: transparent;
  533. border-right: 1px solid rgba(19, 99, 223, 0.06);
  534. }
  535. .tabulator-host .tabulator-header .tabulator-col:last-child {
  536. border-right: 0;
  537. }
  538. .tabulator-host .tabulator-header .tabulator-col .tabulator-col-content {
  539. padding: 0.9rem 0.95rem 0.85rem;
  540. }
  541. .tabulator-host .tabulator-header .tabulator-col .tabulator-col-title {
  542. font-size: 0.78rem;
  543. font-weight: 800;
  544. letter-spacing: 0.08em;
  545. text-transform: uppercase;
  546. color: var(--accent-strong);
  547. }
  548. .tabulator-host .tabulator-col,
  549. .tabulator-host .tabulator-cell {
  550. border-right: 1px solid rgba(19, 99, 223, 0.06);
  551. }
  552. .tabulator-host .tabulator-row .tabulator-cell:last-child {
  553. border-right: 0;
  554. }
  555. .tabulator-host .tabulator-row {
  556. background: rgba(255, 255, 255, 0.96);
  557. border-bottom: 1px solid rgba(19, 99, 223, 0.06);
  558. transition: background-color 160ms ease, transform 160ms ease;
  559. }
  560. .tabulator-host .tabulator-row:nth-child(even) {
  561. background: rgba(238, 244, 255, 0.82);
  562. }
  563. .tabulator-host .tabulator-row:hover {
  564. background: rgba(231, 240, 255, 0.72);
  565. }
  566. .tabulator-host .tabulator-row.tabulator-selected {
  567. background: rgba(19, 99, 223, 0.18);
  568. }
  569. .tabulator-host .tabulator-cell {
  570. padding: 0.95rem 0.95rem;
  571. font-size: 0.96rem;
  572. line-height: 1.4;
  573. }
  574. .tabulator-host .tabulator-row .tabulator-cell:first-child {
  575. font-weight: 700;
  576. color: var(--text-primary);
  577. }
  578. .tabulator-host .tabulator-footer {
  579. padding: 0.55rem 0.7rem;
  580. background: rgba(255, 255, 255, 0.88);
  581. border-top: 1px solid rgba(19, 99, 223, 0.08);
  582. }
  583. .tabulator-host .tabulator-footer .tabulator-paginator {
  584. font-family: inherit;
  585. }
  586. .tabulator-host .tabulator-footer .tabulator-page {
  587. margin: 0 0.2rem;
  588. padding: 0.45rem 0.7rem;
  589. border: 1px solid rgba(19, 99, 223, 0.1);
  590. border-radius: 0.8rem;
  591. background: rgba(255, 255, 255, 0.9);
  592. color: var(--text-secondary);
  593. font-weight: 700;
  594. }
  595. .tabulator-host .tabulator-footer .tabulator-page.active,
  596. .tabulator-host .tabulator-footer .tabulator-page:hover {
  597. background: linear-gradient(135deg, #1363df, #0e4fae);
  598. border-color: transparent;
  599. color: #fff;
  600. }
  601. .tabulator-host .tabulator-footer .tabulator-page:disabled {
  602. opacity: 0.45;
  603. }
  604. .tabulator-host .tabulator-placeholder {
  605. padding: 2.5rem 1rem;
  606. color: var(--text-secondary);
  607. font-size: 1rem;
  608. font-weight: 600;
  609. }
  610. .site-footer {
  611. margin-top: auto;
  612. border-top: 1px solid rgba(19, 99, 223, 0.08);
  613. background: rgba(247, 251, 255, 0.72);
  614. }
  615. .footer-inner {
  616. display: flex;
  617. justify-content: space-between;
  618. gap: 1rem;
  619. padding: 1.25rem 0 2rem;
  620. color: var(--text-secondary);
  621. font-size: 0.95rem;
  622. }
  623. .footer-inner p {
  624. margin: 0;
  625. }
  626. @media (max-width: 860px) {
  627. .header-inner,
  628. .footer-inner {
  629. flex-direction: column;
  630. align-items: flex-start;
  631. }
  632. .hero,
  633. .feature-grid,
  634. .employee-layout {
  635. grid-template-columns: 1fr;
  636. }
  637. .controls-header,
  638. .table-toolbar {
  639. flex-direction: column;
  640. align-items: flex-start;
  641. }
  642. .hero-copy,
  643. .hero-panel {
  644. padding: 2rem;
  645. }
  646. .form-grid {
  647. grid-template-columns: 1fr;
  648. }
  649. .stats-grid {
  650. grid-template-columns: 1fr;
  651. }
  652. .page-content {
  653. padding-top: 2rem;
  654. }
  655. }
  656. @media (max-width: 560px) {
  657. .container {
  658. width: min(100% - 1.25rem, 1120px);
  659. }
  660. .site-nav {
  661. width: 100%;
  662. }
  663. .nav-link {
  664. width: 100%;
  665. text-align: center;
  666. }
  667. .hero h1 {
  668. font-size: 2.5rem;
  669. }
  670. }

Powered by TurnKey Linux.