styles.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963
  1. :root {
  2. color-scheme: light dark;
  3. --bg-main: #f5f6f8;
  4. --bg-sidebar: #ffffff;
  5. --bg-panel: #ffffff;
  6. --border-color: #d8dce4;
  7. --primary: #1f77ff;
  8. --primary-text: #ffffff;
  9. --accent: #0d6efd;
  10. --text-color: #1a1a1a;
  11. --secondary-text: #6c757d;
  12. --user-message: #e9f2ff;
  13. --assistant-message: #f1f3f5;
  14. --shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
  15. .hidden {
  16. display: none !important;
  17. }
  18. .auth-view {
  19. position: fixed;
  20. inset: 0;
  21. background: linear-gradient(120deg, #4f46e5, #9333ea);
  22. display: flex;
  23. align-items: center;
  24. justify-content: center;
  25. padding: 20px;
  26. z-index: 20;
  27. }
  28. .auth-card {
  29. width: min(420px, 100%);
  30. background: #fff;
  31. border-radius: 16px;
  32. padding: 32px;
  33. box-shadow: var(--shadow);
  34. display: flex;
  35. flex-direction: column;
  36. gap: 16px;
  37. }
  38. .auth-card h1 {
  39. margin: 0;
  40. font-size: 24px;
  41. text-align: center;
  42. color: #111;
  43. }
  44. .auth-hint {
  45. margin: 0;
  46. font-size: 14px;
  47. color: var(--secondary-text);
  48. text-align: center;
  49. }
  50. .auth-form {
  51. display: flex;
  52. flex-direction: column;
  53. gap: 12px;
  54. }
  55. .auth-form label {
  56. font-size: 14px;
  57. color: var(--secondary-text);
  58. display: flex;
  59. flex-direction: column;
  60. gap: 4px;
  61. }
  62. .auth-form input {
  63. border-radius: 8px;
  64. border: 1px solid var(--border-color);
  65. padding: 10px;
  66. font-size: 14px;
  67. }
  68. .auth-switch {
  69. display: flex;
  70. justify-content: space-between;
  71. gap: 12px;
  72. }
  73. .header-actions {
  74. display: flex;
  75. align-items: center;
  76. gap: 8px;
  77. float: right;
  78. }
  79. .user-badge {
  80. font-size: 14px;
  81. color: var(--secondary-text);
  82. }
  83. .header-title {
  84. display: flex;
  85. flex-direction: column;
  86. gap: 2px;
  87. width:300px;
  88. float:left;
  89. }
  90. .session-indicator {
  91. font-size: 14px;
  92. color: var(--secondary-text);
  93. }
  94. .admin-role-indicator {
  95. width: 36px;
  96. height: 36px;
  97. border-radius: 50%;
  98. border: 1px solid var(--border-color);
  99. background: #fff;
  100. display: inline-flex;
  101. align-items: center;
  102. justify-content: center;
  103. color: var(--primary);
  104. box-shadow: var(--shadow);
  105. }
  106. .admin-role-indicator svg {
  107. width: 18px;
  108. height: 18px;
  109. }
  110. .user-menu {
  111. position: relative;
  112. }
  113. .avatar-button {
  114. display: flex;
  115. align-items: center;
  116. gap: 6px;
  117. border: 1px solid var(--border-color);
  118. border-radius: 999px;
  119. padding: 6px 10px;
  120. background: #fff;
  121. cursor: pointer;
  122. min-width: 0;
  123. }
  124. .avatar-initials {
  125. width: 28px;
  126. height: 28px;
  127. border-radius: 50%;
  128. background: var(--primary);
  129. color: var(--primary-text);
  130. display: inline-flex;
  131. align-items: center;
  132. justify-content: center;
  133. font-weight: 600;
  134. }
  135. .avatar-caret {
  136. width: 18px;
  137. height: 18px;
  138. color: var(--secondary-text);
  139. }
  140. .user-menu-dropdown {
  141. position: absolute;
  142. top: calc(100% + 8px);
  143. right: 0;
  144. min-width: 180px;
  145. border-radius: 12px;
  146. border: 1px solid var(--border-color);
  147. background: #fff;
  148. box-shadow: var(--shadow);
  149. padding: 8px;
  150. display: flex;
  151. flex-direction: column;
  152. gap: 4px;
  153. opacity: 0;
  154. transform: translateY(-6px);
  155. pointer-events: none;
  156. transition: opacity 0.2s ease, transform 0.2s ease;
  157. z-index: 5;
  158. }
  159. .user-menu.open .user-menu-dropdown {
  160. opacity: 1;
  161. transform: translateY(0);
  162. pointer-events: auto;
  163. }
  164. .menu-item {
  165. border: none;
  166. background: none;
  167. padding: 8px 10px;
  168. text-align: left;
  169. border-radius: 8px;
  170. font-size: 14px;
  171. cursor: pointer;
  172. }
  173. .menu-item:hover:not(:disabled) {
  174. background: #f1f3f5;
  175. }
  176. .menu-item:disabled {
  177. opacity: 0.5;
  178. cursor: not-allowed;
  179. }
  180. .overlay {
  181. position: fixed;
  182. inset: 0;
  183. background: rgba(15, 23, 42, 0.45);
  184. display: flex;
  185. align-items: center;
  186. justify-content: center;
  187. padding: 20px;
  188. z-index: 30;
  189. }
  190. .overlay-content {
  191. width: min(720px, 100%);
  192. max-height: 90vh;
  193. overflow-y: auto;
  194. background: #fff;
  195. border-radius: 16px;
  196. padding: 24px;
  197. box-shadow: var(--shadow);
  198. display: flex;
  199. flex-direction: column;
  200. gap: 16px;
  201. }
  202. .overlay-header {
  203. display: flex;
  204. align-items: center;
  205. justify-content: space-between;
  206. }
  207. .icon-button {
  208. border: none;
  209. background: transparent;
  210. font-size: 20px;
  211. cursor: pointer;
  212. padding: 4px 8px;
  213. }
  214. .overlay-close {
  215. border-radius: 50%;
  216. border: 1px solid var(--border-color);
  217. background: #f1f3f5;
  218. width: 32px;
  219. height: 32px;
  220. display: inline-flex;
  221. align-items: center;
  222. justify-content: center;
  223. font-size: 18px;
  224. }
  225. .overlay-close:hover {
  226. background: #e6e9ef;
  227. }
  228. .overlay-close .icon-close {
  229. width: 16px;
  230. height: 16px;
  231. }
  232. .admin-form {
  233. border: 1px solid var(--border-color);
  234. border-radius: 12px;
  235. padding: 16px;
  236. background: #f8fafc;
  237. }
  238. .admin-form h3 {
  239. margin: 0 0 12px;
  240. font-size: 16px;
  241. }
  242. .admin-form-grid {
  243. display: grid;
  244. grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  245. gap: 12px;
  246. }
  247. .admin-form input {
  248. width: 100%;
  249. border-radius: 8px;
  250. border: 1px solid var(--border-color);
  251. padding: 8px 10px;
  252. }
  253. .admin-section {
  254. border: 1px solid var(--border-color);
  255. border-radius: 12px;
  256. padding: 16px;
  257. background: #fff;
  258. display: flex;
  259. flex-direction: column;
  260. gap: 12px;
  261. }
  262. .admin-section-header {
  263. display: flex;
  264. align-items: center;
  265. justify-content: space-between;
  266. gap: 12px;
  267. }
  268. .admin-search {
  269. display: flex;
  270. gap: 8px;
  271. }
  272. .admin-search input {
  273. border: 1px solid var(--border-color);
  274. border-radius: 8px;
  275. padding: 8px 10px;
  276. }
  277. .admin-list {
  278. display: flex;
  279. flex-direction: column;
  280. gap: 8px;
  281. }
  282. .admin-row {
  283. border: 1px solid var(--border-color);
  284. border-radius: 10px;
  285. padding: 12px;
  286. display: flex;
  287. justify-content: space-between;
  288. gap: 12px;
  289. background: #fdfdfd;
  290. }
  291. .admin-row-info {
  292. display: flex;
  293. flex-direction: column;
  294. gap: 4px;
  295. }
  296. .admin-row-info strong {
  297. font-size: 15px;
  298. color: #111;
  299. }
  300. .admin-row-meta {
  301. font-size: 13px;
  302. color: var(--secondary-text);
  303. }
  304. .admin-row-preview {
  305. font-size: 13px;
  306. color: var(--secondary-text);
  307. max-height: 60px;
  308. overflow: hidden;
  309. }
  310. .admin-row-actions {
  311. display: flex;
  312. flex-direction: column;
  313. gap: 6px;
  314. align-items: flex-end;
  315. }
  316. .empty-note {
  317. margin: 0;
  318. font-size: 14px;
  319. color: var(--secondary-text);
  320. text-align: center;
  321. }
  322. * {
  323. box-sizing: border-box;
  324. }
  325. body {
  326. margin: 0;
  327. font-family: "PingFang SC", "Microsoft YaHei", "Helvetica", "Arial", sans-serif;
  328. background: var(--bg-main);
  329. color: var(--text-color);
  330. height: 100vh;
  331. display: flex;
  332. }
  333. .app-shell {
  334. display: flex;
  335. flex: 1;
  336. max-height: 100vh;
  337. width: 100%;
  338. }
  339. .sidebar {
  340. width: 320px;
  341. background: var(--bg-sidebar);
  342. border-right: 1px solid var(--border-color);
  343. display: flex;
  344. flex-direction: column;
  345. overflow: hidden;
  346. }
  347. .sidebar-scroll {
  348. flex: 1;
  349. padding: 10px 16px 2px;
  350. overflow-y: auto;
  351. display: flex;
  352. flex-direction: column;
  353. gap: 18px;
  354. }
  355. .sidebar-history {
  356. border-top: 1px solid var(--border-color);
  357. padding: 3px ;
  358. background: #fff;
  359. display: flex;
  360. flex-direction: column;
  361. gap: 10px;
  362. overflow: auto; /* 允许滚动 */
  363. scrollbar-width: none; /* Firefox */
  364. }
  365. .sidebar-history::-webkit-scrollbar {
  366. display: none; /* Chrome 和 Safari */
  367. }
  368. .sidebar-history-header {
  369. display: flex;
  370. align-items: center;
  371. justify-content: space-between;
  372. gap: 8px;
  373. }
  374. .history-count {
  375. font-size: 12px;
  376. color: var(--secondary-text);
  377. }
  378. .sidebar-section {
  379. margin: 0;
  380. display: flex;
  381. flex-direction: column;
  382. gap: 6px;
  383. }
  384. .sidebar-actions {
  385. flex-direction: row;
  386. align-items: center;
  387. }
  388. .sidebar-actions .primary-button,
  389. .sidebar-actions .secondary-button {
  390. flex: 1;
  391. }
  392. .sidebar-label {
  393. font-size: 14px;
  394. font-weight: 600;
  395. color: var(--secondary-text);
  396. }
  397. .sidebar-input,
  398. .sidebar-range {
  399. width: 100%;
  400. padding: 8px 10px;
  401. border: 1px solid var(--border-color);
  402. border-radius: 8px;
  403. font-size: 14px;
  404. background: #fff;
  405. color: inherit;
  406. }
  407. .sidebar-range {
  408. height: 4px;
  409. padding: 0;
  410. }
  411. .sidebar-help {
  412. font-size: 13px;
  413. color: var(--secondary-text);
  414. }
  415. .sidebar-heading {
  416. margin: 0;
  417. font-size: 16px;
  418. font-weight: 600;
  419. }
  420. .primary-button,
  421. .secondary-button {
  422. border: none;
  423. border-radius: 8px;
  424. padding: 10px 14px;
  425. font-size: 14px;
  426. cursor: pointer;
  427. transition: all 0.2s ease;
  428. }
  429. .primary-button {
  430. background: var(--primary);
  431. color: var(--primary-text);
  432. }
  433. .primary-button:disabled {
  434. opacity: 0.6;
  435. cursor: not-allowed;
  436. }
  437. .primary-button:hover:not(:disabled) {
  438. background: var(--accent);
  439. }
  440. .secondary-button {
  441. background: #f1f3f5;
  442. color: var(--text-color);
  443. border: 1px solid var(--border-color);
  444. }
  445. .secondary-button:hover:not(:disabled) {
  446. background: #e6e9ef;
  447. }
  448. .secondary-button.small {
  449. font-size: 13px;
  450. padding: 6px 10px;
  451. }
  452. .secondary-button.danger {
  453. background: #dc3545;
  454. border-color: #dc3545;
  455. color: #fff;
  456. }
  457. .secondary-button.danger:hover:not(:disabled) {
  458. background: #c82333;
  459. }
  460. .history-list {
  461. display: flex;
  462. flex-direction: column;
  463. gap: 6px;
  464. max-height: 240px;
  465. overflow-y: auto;
  466. }
  467. .history-row {
  468. display: grid;
  469. grid-template-columns: 1fr auto auto;
  470. gap: 4px;
  471. align-items: center;
  472. padding: 4px 10px;
  473. border: 1px solid var(--border-color);
  474. border-radius: 8px;
  475. background: #fff;
  476. }
  477. .history-row.active {
  478. border-color: var(--accent);
  479. box-shadow: 0 0 0 1px rgba(13, 110, 253, 0.12);
  480. }
  481. .history-title-link {
  482. border: none;
  483. background: none;
  484. padding: 0;
  485. margin: 0;
  486. font-size: 14px;
  487. font-weight: 500;
  488. text-align: left;
  489. color: var(--accent);
  490. cursor: pointer;
  491. display: flex;
  492. flex-direction: column;
  493. align-items: flex-start;
  494. gap: 2px;
  495. width: 100%;
  496. text-decoration: none;
  497. }
  498. .history-title-link:hover,
  499. .history-title-link:focus-visible {
  500. text-decoration: underline;
  501. }
  502. .history-row.active .history-title-link {
  503. color: var(--text-color);
  504. font-weight: 600;
  505. }
  506. .history-title-text,
  507. .history-subtitle {
  508. white-space: nowrap;
  509. overflow: hidden;
  510. text-overflow: ellipsis;
  511. max-width: 100%;
  512. }
  513. .history-subtitle {
  514. font-size: 11px;
  515. color: var(--secondary-text);
  516. }
  517. .history-icon-button {
  518. border: none;
  519. background: #f8f9fb;
  520. border-radius: 6px;
  521. padding: 6px 8px;
  522. cursor: pointer;
  523. font-size: 16px;
  524. line-height: 1;
  525. }
  526. .history-icon-button:hover {
  527. background: #e6e9ef;
  528. }
  529. .history-pagination {
  530. display: flex;
  531. justify-content: space-between;
  532. gap: 2px;
  533. margin-bottom: 5px;
  534. margin-left: 10px;
  535. margin-right: 10px;
  536. }
  537. .history-pagination .secondary-button {
  538. padding: 3px 3px;
  539. font-size: 11px;
  540. border-radius: 6px;
  541. }
  542. .main-panel {
  543. flex: 1;
  544. display: flex;
  545. flex-direction: column;
  546. background: var(--bg-panel);
  547. box-shadow: var(--shadow);
  548. }
  549. .app-header {
  550. padding: 20px 24px;
  551. border-bottom: 1px solid var(--border-color);
  552. }
  553. .app-header h1 {
  554. margin: 0;
  555. font-size: 22px;
  556. font-weight: 600;
  557. }
  558. .chat-messages {
  559. flex: 1;
  560. padding: 24px;
  561. overflow-y: auto;
  562. display: flex;
  563. flex-direction: column;
  564. gap: 16px;
  565. background: linear-gradient(180deg, rgba(243, 247, 255, 0.8), rgba(255, 255, 255, 0.9));
  566. }
  567. .message {
  568. padding: 16px;
  569. border-radius: 12px;
  570. border: 1px solid var(--border-color);
  571. max-width: 860px;
  572. display: flex;
  573. flex-direction: column;
  574. gap: 10px;
  575. }
  576. .message.notice {
  577. background: #fff8e1;
  578. border-style: dashed;
  579. color: #8c6b00;
  580. align-self: center;
  581. }
  582. .message.user {
  583. background: var(--user-message);
  584. align-self: flex-end;
  585. }
  586. .message.assistant {
  587. background: var(--assistant-message);
  588. align-self: flex-start;
  589. }
  590. .message-header {
  591. font-size: 13px;
  592. font-weight: 600;
  593. color: var(--secondary-text);
  594. }
  595. .message-content {
  596. font-size: 14px;
  597. line-height: 1.6;
  598. color: var(--text-color);
  599. white-space: normal;
  600. word-break: break-word;
  601. }
  602. .message-content ul {
  603. margin: 8px 0 8px 18px;
  604. padding-left: 16px;
  605. }
  606. .message-content li {
  607. margin-bottom: 4px;
  608. }
  609. .message-content blockquote {
  610. margin: 10px 0;
  611. padding-left: 14px;
  612. border-left: 3px solid var(--border-color);
  613. color: var(--secondary-text);
  614. }
  615. .message-content h1,
  616. .message-content h2,
  617. .message-content h3,
  618. .message-content h4,
  619. .message-content h5,
  620. .message-content h6 {
  621. margin: 12px 0 6px;
  622. font-weight: 600;
  623. }
  624. .message-content h1 { font-size: 20px; }
  625. .message-content h2 { font-size: 18px; }
  626. .message-content h3 { font-size: 16px; }
  627. .message-content h4 { font-size: 15px; }
  628. .message-content h5,
  629. .message-content h6 { font-size: 14px; }
  630. .message-content pre {
  631. background: #0d1117;
  632. color: #e6edf3;
  633. padding: 12px;
  634. border-radius: 10px;
  635. overflow-x: auto;
  636. font-family: "JetBrains Mono", "Fira Code", "Menlo", "Consolas", monospace;
  637. font-size: 13px;
  638. line-height: 1.5;
  639. margin: 10px 0;
  640. }
  641. .message-content code {
  642. font-family: "JetBrains Mono", "Fira Code", "Menlo", "Consolas", monospace;
  643. background: rgba(13, 110, 253, 0.12);
  644. color: #0d47a1;
  645. padding: 2px 6px;
  646. border-radius: 6px;
  647. font-size: 13px;
  648. }
  649. .message-content pre code {
  650. display: block;
  651. background: transparent;
  652. color: inherit;
  653. padding: 0;
  654. }
  655. .message-content img {
  656. max-width: 100%;
  657. border-radius: 8px;
  658. margin: 6px 0;
  659. }
  660. .message-actions {
  661. display: flex;
  662. justify-content: flex-end;
  663. gap: 6px;
  664. }
  665. .message-button {
  666. border: none;
  667. background: var(--primary);
  668. color: var(--primary-text);
  669. border-radius: 6px;
  670. padding: 3px 8px;
  671. font-size: 11px;
  672. font-weight: 500;
  673. cursor: pointer;
  674. white-space: nowrap;
  675. transition: background 0.2s ease;
  676. }
  677. .message-button:hover {
  678. background: var(--accent);
  679. }
  680. .chat-form {
  681. padding: 16px 20px;
  682. border-top: 1px solid var(--border-color);
  683. display: flex;
  684. flex-direction: column;
  685. gap: 10px;
  686. background: #fff;
  687. }
  688. .chat-textarea {
  689. width: 100%;
  690. border-radius: 12px;
  691. border: 1px solid var(--border-color);
  692. padding: 10px;
  693. font-size: 14px;
  694. resize: vertical;
  695. min-height: 70px;
  696. }
  697. .chat-form-footer {
  698. display: flex;
  699. align-items: center;
  700. gap: 10px;
  701. }
  702. #send-btn {
  703. margin-left: auto;
  704. }
  705. #end-chat-btn {
  706. min-width: 110px;
  707. }
  708. .file-input-label {
  709. display: inline-flex;
  710. align-items: center;
  711. padding: 6px 12px;
  712. border-radius: 8px;
  713. border: 1px dashed var(--border-color);
  714. color: var(--secondary-text);
  715. cursor: pointer;
  716. background: #fafbfc;
  717. }
  718. .file-input {
  719. display: none;
  720. }
  721. .chat-status {
  722. min-height: 20px;
  723. font-size: 13px;
  724. color: var(--secondary-text);
  725. display: flex;
  726. align-items: center;
  727. gap: 8px;
  728. }
  729. .chat-status.running {
  730. color: var(--accent);
  731. }
  732. .chat-status.running::before {
  733. content: "";
  734. width: 14px;
  735. height: 14px;
  736. border-radius: 50%;
  737. border: 2px solid currentColor;
  738. border-top-color: transparent;
  739. animation: chat-spin 0.8s linear infinite;
  740. }
  741. .chat-status.error {
  742. color: #dc3545;
  743. }
  744. .toast {
  745. position: fixed;
  746. bottom: 24px;
  747. left: 50%;
  748. transform: translateX(-50%);
  749. background: rgba(33, 37, 41, 0.9);
  750. color: #fff;
  751. padding: 12px 18px;
  752. border-radius: 12px;
  753. font-size: 14px;
  754. box-shadow: var(--shadow);
  755. opacity: 0;
  756. transition: opacity 0.3s ease, transform 0.3s ease;
  757. pointer-events: none;
  758. z-index: 999;
  759. }
  760. .toast.show {
  761. opacity: 1;
  762. transform: translate(-50%, 0);
  763. }
  764. .toast.success {
  765. background: #28a745;
  766. }
  767. .toast.error {
  768. background: #dc3545;
  769. }
  770. .hidden {
  771. display: none;
  772. }
  773. .clamped {
  774. display: -webkit-box;
  775. -webkit-line-clamp: 3;
  776. -webkit-box-orient: vertical;
  777. overflow: hidden;
  778. }
  779. mark.hl {
  780. background: #fff3a3;
  781. color: inherit;
  782. padding: 0 2px;
  783. border-radius: 3px;
  784. }
  785. @keyframes chat-spin {
  786. from {
  787. transform: rotate(0deg);
  788. }
  789. to {
  790. transform: rotate(360deg);
  791. }
  792. }
  793. @media (max-width: 960px) {
  794. .app-shell {
  795. flex-direction: column;
  796. }
  797. .sidebar {
  798. width: 100%;
  799. border-right: none;
  800. border-bottom: 1px solid var(--border-color);
  801. }
  802. .sidebar-scroll {
  803. display: grid;
  804. grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  805. gap: 16px;
  806. }
  807. .main-panel {
  808. box-shadow: none;
  809. }
  810. .history-list {
  811. max-height: 180px;
  812. }
  813. .sidebar-actions {
  814. flex-direction: column;
  815. }
  816. }
  817. @media (max-width: 600px) {
  818. .chat-form-footer {
  819. flex-direction: column;
  820. align-items: stretch;
  821. }
  822. .chat-form-footer .primary-button {
  823. width: 100%;
  824. }
  825. .file-input-label {
  826. width: 100%;
  827. justify-content: center;
  828. }
  829. }
  830. :root {