app.scss 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056
  1. // Fonts - local Nunito via @fontsource
  2. @import "@fontsource/nunito/400.css";
  3. @import "@fontsource/nunito/400-italic.css";
  4. @import "@fontsource/nunito/600.css";
  5. @import "@fontsource/nunito/700.css";
  6. @import "@fontsource/nunito/800.css";
  7. body {
  8. font-family: 'Nunito', sans-serif;
  9. }
  10. // Variables
  11. @import 'variables';
  12. // Bootstrap
  13. @import 'bootstrap/scss/bootstrap';
  14. @import "bootstrap-icons/font/bootstrap-icons.css";
  15. .invalid-feedback {
  16. display: block !important;
  17. }
  18. .nav-link.active {
  19. font-weight: bold;
  20. }
  21. td p {
  22. margin-bottom: 0;
  23. }
  24. .alerts{
  25. position: absolute;
  26. right: 0;
  27. top: 0;
  28. opacity: 0.95;
  29. z-index: 999;
  30. div {
  31. padding-left: 3rem;
  32. padding-right: 3rem;
  33. }
  34. }
  35. .table-buttons {
  36. position: fixed;
  37. right: 0;
  38. opacity: 0.7;
  39. z-index: 999;
  40. }
  41. .table-buttons:hover {
  42. opacity: 1;
  43. }
  44. .js-main-table-scroll {
  45. overflow: auto;
  46. position: relative;
  47. z-index: 20;
  48. }
  49. .js-main-table-scroll:has(.dropdown-menu.show) {
  50. overflow: visible;
  51. }
  52. .js-main-table-scroll .table {
  53. margin-bottom: 0;
  54. }
  55. .js-main-table-scroll thead th {
  56. position: sticky;
  57. top: 0;
  58. z-index: 3;
  59. background-color: var(--bs-primary-bg-subtle);
  60. }
  61. .js-main-table-scroll .table-head-shadow th {
  62. box-shadow: 0 8px 14px -10px rgba(0, 0, 0, 0.35);
  63. }
  64. .js-main-table-scroll thead th:has(.dropdown-menu.show) {
  65. z-index: 10;
  66. }
  67. .js-main-table-scroll thead th .dropdown-menu {
  68. z-index: 1080;
  69. }
  70. .js-subtable-scroll {
  71. overflow: auto;
  72. }
  73. .js-subtable-scroll .table {
  74. margin-bottom: 0;
  75. }
  76. .js-subtable-scroll thead th {
  77. position: sticky;
  78. top: 0;
  79. z-index: 2;
  80. background-color: var(--bs-primary-bg-subtle);
  81. }
  82. .table {
  83. tr th {
  84. background-color: var(--bs-primary-bg-subtle);
  85. vertical-align: middle;
  86. }
  87. td {
  88. cursor: pointer;
  89. }
  90. th {
  91. border-right: 1px solid #d7d7d7;
  92. }
  93. font-size: 0.8rem;
  94. }
  95. .table-interactive tbody tr {
  96. transition: background-color 0.12s ease-in-out;
  97. }
  98. .table-interactive tbody tr:hover > td {
  99. background-color: #f2f7ff;
  100. }
  101. .page-header-row {
  102. align-items: center;
  103. }
  104. .page-header-title h3 {
  105. margin-bottom: 0;
  106. }
  107. .page-header-actions {
  108. display: flex;
  109. justify-content: flex-end;
  110. align-items: center;
  111. gap: 0.5rem;
  112. flex-wrap: wrap;
  113. }
  114. .page-action-btn {
  115. display: inline-flex;
  116. align-items: center;
  117. justify-content: center;
  118. gap: 0.35rem;
  119. }
  120. .page-action-btn__icon {
  121. line-height: 1;
  122. }
  123. .table-interactive tbody tr.is-selected > td {
  124. background-color: #dbe7ff;
  125. }
  126. .table-interactive tbody tr.is-selected:hover > td {
  127. background-color: #cfe0ff;
  128. }
  129. .maf:hover {
  130. background-color: #fff8ca;
  131. }
  132. .quantity {
  133. padding: 3px;
  134. }
  135. .pagination .text-muted {
  136. padding-right: 1rem;
  137. }
  138. .table-pagination-row {
  139. padding-top: 0.25rem !important;
  140. padding-bottom: 0.25rem !important;
  141. background-color: var(--bs-body-bg);
  142. box-shadow: 0 -8px 14px -10px rgba(0, 0, 0, 0.35);
  143. position: relative;
  144. z-index: 1;
  145. }
  146. .table-pagination-row .pagination {
  147. margin-bottom: 0;
  148. }
  149. .table-pagination-row .pagination .page-link {
  150. padding: 0.2rem 0.45rem;
  151. }
  152. .table-pagination-row .col-form-label {
  153. margin-bottom: 0;
  154. padding-top: 0.15rem;
  155. padding-bottom: 0.15rem;
  156. }
  157. .cursor-pointer {
  158. cursor: pointer;
  159. }
  160. .highlight {
  161. background-color: yellow;
  162. }
  163. .rm-but {
  164. position: absolute;
  165. margin-left: -18px;
  166. margin-top: 1px;
  167. }
  168. .maf-img {
  169. max-height: 100px;
  170. max-width: 100px;
  171. }
  172. .vertical {
  173. writing-mode: sideways-lr;
  174. vertical-align: middle;
  175. text-align: center;
  176. }
  177. .vertical th{
  178. writing-mode: sideways-lr;
  179. vertical-align: middle;
  180. text-align: center;
  181. }
  182. .svod tr {
  183. text-align: center;
  184. }
  185. .svod-6, .svod-7 {
  186. background-color: #86b7fe !important;
  187. }
  188. .svod-8, .svod-9 {
  189. background-color: #fec886 !important;
  190. }
  191. .svod-10, .svod-11 {
  192. background-color: #ccffd8 !important;
  193. }
  194. .svod-12, .svod-13 {
  195. background-color: #54ab4e !important;
  196. }
  197. .svod-14, .svod-15 {
  198. background-color: #effc76 !important;
  199. }
  200. .svod-20, .svod-21, .svod-16, .svod-17, .svod-18, .svod-19{
  201. background-color: #c4c4c4 !important;
  202. }
  203. .svod-26, .svod-27, .svod-22, .svod-23, .svod-24, .svod-25{
  204. background-color: #a4f7ff !important;
  205. }
  206. .svod-32, .svod-33, .svod-28, .svod-29, .svod-30, .svod-31{
  207. background-color: #ffc0c0 !important;
  208. }
  209. // Markdown content styles
  210. .markdown-content {
  211. scroll-behavior: smooth;
  212. h1, h2, h3, h4, h5, h6 {
  213. margin-top: 1.5rem;
  214. margin-bottom: 0.75rem;
  215. scroll-margin-top: 1rem;
  216. }
  217. h1 { font-size: 1.75rem; }
  218. h2 { font-size: 1.5rem; border-bottom: 1px solid #dee2e6; padding-bottom: 0.5rem; }
  219. h3 { font-size: 1.25rem; }
  220. h4 { font-size: 1.1rem; }
  221. table {
  222. width: 100%;
  223. margin-bottom: 1rem;
  224. border-collapse: collapse;
  225. th, td {
  226. padding: 0.5rem;
  227. border: 1px solid #dee2e6;
  228. cursor: default;
  229. }
  230. th {
  231. background-color: var(--bs-primary-bg-subtle);
  232. }
  233. }
  234. pre {
  235. background-color: #f8f9fa;
  236. padding: 1rem;
  237. border-radius: 0.25rem;
  238. overflow-x: auto;
  239. code {
  240. color: inherit;
  241. }
  242. }
  243. code {
  244. color: #d63384;
  245. background-color: #f8f9fa;
  246. padding: 0.2rem 0.4rem;
  247. border-radius: 0.25rem;
  248. }
  249. hr {
  250. margin: 2rem 0;
  251. border-top: 1px solid #dee2e6;
  252. }
  253. ul, ol {
  254. padding-left: 1.5rem;
  255. margin-bottom: 1rem;
  256. }
  257. blockquote {
  258. border-left: 4px solid #dee2e6;
  259. padding-left: 1rem;
  260. color: #6c757d;
  261. margin: 1rem 0;
  262. }
  263. }
  264. .is-hidden {
  265. display: none;
  266. }
  267. .max-h-50vh {
  268. max-height: 50vh;
  269. }
  270. .table-initial-hidden {
  271. display: none;
  272. min-height: 380px;
  273. }
  274. .img-max-40 {
  275. max-height: 40px;
  276. }
  277. .img-max-50 {
  278. max-width: 50px;
  279. }
  280. .img-max-150 {
  281. max-width: 150px;
  282. }
  283. .img-max-200 {
  284. max-width: 200px;
  285. }
  286. .color-input {
  287. height: 32px;
  288. }
  289. .week-number-input {
  290. width: 3rem;
  291. }
  292. .filter-menu-compact {
  293. width: 170px;
  294. }
  295. .filter-menu-wide {
  296. width: 300px;
  297. }
  298. .filter-list-scroll {
  299. max-height: 200px;
  300. overflow-y: scroll;
  301. }
  302. .tooltip-help {
  303. cursor: help;
  304. text-decoration: underline dotted;
  305. }
  306. .autocomplete-dropdown {
  307. position: absolute;
  308. top: 100%;
  309. left: 0;
  310. right: 0;
  311. z-index: 1050;
  312. background: white;
  313. border: 1px solid #dee2e6;
  314. border-top: none;
  315. border-radius: 0 0 0.375rem 0.375rem;
  316. max-height: 250px;
  317. overflow-y: auto;
  318. display: none;
  319. box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  320. }
  321. .autocomplete-dropdown.autocomplete-dropdown--order {
  322. max-height: 300px;
  323. }
  324. .autocomplete-dropdown .autocomplete-item {
  325. padding: 8px 12px;
  326. cursor: pointer;
  327. border-bottom: 1px solid #f0f0f0;
  328. }
  329. .autocomplete-dropdown.autocomplete-dropdown--order .autocomplete-item {
  330. padding: 10px 12px;
  331. }
  332. .autocomplete-dropdown .autocomplete-item:last-child {
  333. border-bottom: none;
  334. }
  335. .autocomplete-dropdown .autocomplete-item:hover,
  336. .autocomplete-dropdown .autocomplete-item.active {
  337. background-color: #e9ecef;
  338. }
  339. .autocomplete-dropdown .autocomplete-item .code,
  340. .autocomplete-dropdown .autocomplete-item .article {
  341. font-weight: 600;
  342. color: #495057;
  343. }
  344. .autocomplete-dropdown .autocomplete-item .description,
  345. .autocomplete-dropdown .autocomplete-item .used-in-maf {
  346. font-size: 0.875em;
  347. color: #6c757d;
  348. }
  349. .spare-part-dropdown {
  350. position: absolute;
  351. top: 100%;
  352. left: 0;
  353. right: 0;
  354. z-index: 1050;
  355. background: white;
  356. border: 1px solid #dee2e6;
  357. border-top: none;
  358. border-radius: 0 0 0.375rem 0.375rem;
  359. max-height: 250px;
  360. overflow-y: auto;
  361. display: none;
  362. box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  363. }
  364. .spare-part-dropdown .sp-item {
  365. padding: 8px 12px;
  366. cursor: pointer;
  367. border-bottom: 1px solid #f0f0f0;
  368. }
  369. .spare-part-dropdown .sp-item:last-child {
  370. border-bottom: none;
  371. }
  372. .spare-part-dropdown .sp-item:hover,
  373. .spare-part-dropdown .sp-item.active {
  374. background-color: #e9ecef;
  375. }
  376. .spare-part-dropdown .sp-item .sp-article {
  377. font-weight: 600;
  378. color: #495057;
  379. }
  380. .spare-part-dropdown .sp-item .sp-used {
  381. font-size: 0.875em;
  382. color: #6c757d;
  383. }
  384. .action-toolbar {
  385. display: flex;
  386. flex-wrap: wrap;
  387. gap: 0.25rem;
  388. justify-content: flex-end;
  389. align-items: flex-start;
  390. }
  391. .report-tabs {
  392. flex-wrap: nowrap;
  393. overflow-x: auto;
  394. overflow-y: hidden;
  395. -webkit-overflow-scrolling: touch;
  396. }
  397. .report-tabs .nav-link {
  398. white-space: nowrap;
  399. }
  400. .report-tab-content {
  401. padding: 0.75rem;
  402. }
  403. .schedule-week-controls {
  404. display: flex;
  405. flex-wrap: wrap;
  406. justify-content: flex-end;
  407. gap: 0.5rem;
  408. }
  409. .schedule-week-controls > div {
  410. padding: 0 !important;
  411. }
  412. @media (min-width: 768px) {
  413. .report-tab-content {
  414. padding: 3rem;
  415. }
  416. }
  417. @media (max-width: 767.98px) {
  418. .page-header-row {
  419. row-gap: 0.5rem;
  420. }
  421. .page-header-title {
  422. order: 1;
  423. }
  424. .page-header-year {
  425. order: 2;
  426. width: auto;
  427. }
  428. .page-header-actions {
  429. order: 3;
  430. width: auto;
  431. margin-left: auto;
  432. justify-content: flex-end;
  433. gap: 0.35rem;
  434. }
  435. .page-header-year .dropdown > .btn,
  436. .page-header-year .dropdown > button {
  437. font-size: 1.5rem !important;
  438. }
  439. .page-action-btn {
  440. min-width: 2.2rem;
  441. min-height: 2.2rem;
  442. padding-left: 0.55rem !important;
  443. padding-right: 0.55rem !important;
  444. }
  445. .page-action-btn__label {
  446. display: none;
  447. }
  448. .navbar {
  449. min-height: 3rem;
  450. }
  451. .navbar .container-fluid {
  452. padding-top: 0.25rem;
  453. padding-bottom: 0.25rem;
  454. }
  455. .navbar-brand {
  456. font-size: 1rem;
  457. margin-right: 0.5rem;
  458. }
  459. .navbar-toggler {
  460. padding: 0.2rem 0.45rem;
  461. font-size: 0.95rem;
  462. }
  463. .navbar .nav-link {
  464. padding-top: 0.35rem;
  465. padding-bottom: 0.35rem;
  466. }
  467. .notification-bell-link {
  468. padding-top: 0.25rem !important;
  469. padding-bottom: 0.25rem !important;
  470. }
  471. .alerts {
  472. position: fixed;
  473. left: 0;
  474. right: 0;
  475. top: 0;
  476. padding: 0.5rem;
  477. }
  478. .alerts div {
  479. padding-left: 1rem;
  480. padding-right: 1rem;
  481. }
  482. .table-buttons {
  483. position: sticky;
  484. bottom: 0;
  485. right: auto;
  486. width: 100%;
  487. display: flex !important;
  488. flex-direction: row !important;
  489. justify-content: space-around;
  490. opacity: 0.96;
  491. border-radius: 0.375rem 0.375rem 0 0 !important;
  492. }
  493. .js-main-table-scroll {
  494. padding-bottom: 2.75rem;
  495. }
  496. .table {
  497. font-size: 0.72rem;
  498. }
  499. .table th,
  500. .table td {
  501. padding: 0.35rem 0.45rem;
  502. }
  503. .js-main-table-scroll thead th,
  504. .js-subtable-scroll thead th {
  505. font-size: 0.68rem;
  506. padding: 0.3rem 0.35rem;
  507. }
  508. .vertical,
  509. .vertical th {
  510. writing-mode: horizontal-tb;
  511. }
  512. .filter-menu-wide {
  513. width: min(95vw, 320px);
  514. }
  515. .filter-sort-controls {
  516. width: 100% !important;
  517. flex-direction: column;
  518. gap: 0.5rem;
  519. }
  520. .filter-menu-wide [id^="bulk-toggle_"],
  521. .filter-menu-wide [id^="modal-footer_"] {
  522. flex-direction: column;
  523. gap: 0.5rem;
  524. }
  525. .filter-menu-wide .btn.w-50,
  526. .filter-menu-wide .btn.w-100 {
  527. width: 100% !important;
  528. }
  529. .table-pagination-row {
  530. row-gap: 0.5rem;
  531. }
  532. .schedule-week-controls {
  533. justify-content: flex-start;
  534. }
  535. .action-toolbar {
  536. justify-content: flex-start;
  537. }
  538. }
  539. .notification-bell-link {
  540. position: relative;
  541. }
  542. .notification-badge-dot {
  543. position: absolute;
  544. top: -2px;
  545. right: -2px;
  546. width: 9px;
  547. height: 9px;
  548. border-radius: 50%;
  549. background: #dc3545;
  550. }
  551. .notifications-list {
  552. display: flex;
  553. flex-direction: column;
  554. gap: 8px;
  555. }
  556. .notification-item {
  557. border: 1px solid #ddd;
  558. border-radius: 8px;
  559. padding: 10px 12px;
  560. cursor: pointer;
  561. }
  562. .mobile-date-picker-open {
  563. overflow: hidden;
  564. }
  565. .mobile-date-picker {
  566. position: fixed;
  567. inset: 0;
  568. z-index: 2000;
  569. background: rgba(15, 23, 42, 0.42);
  570. padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
  571. }
  572. .mobile-date-picker[hidden] {
  573. display: none !important;
  574. }
  575. .mobile-date-picker__dialog {
  576. background: #fff;
  577. width: 100%;
  578. height: 100%;
  579. display: flex;
  580. flex-direction: column;
  581. }
  582. .mobile-date-picker__header,
  583. .mobile-date-picker__month-nav,
  584. .mobile-date-picker__footer {
  585. display: flex;
  586. align-items: center;
  587. justify-content: space-between;
  588. gap: 0.75rem;
  589. padding: 1rem 1rem 0;
  590. }
  591. .mobile-date-picker__title {
  592. font-size: 1rem;
  593. font-weight: 600;
  594. text-align: center;
  595. flex: 1;
  596. }
  597. .mobile-date-picker__close,
  598. .mobile-date-picker__today,
  599. .mobile-date-picker__nav {
  600. text-decoration: none;
  601. padding-left: 0.25rem;
  602. padding-right: 0.25rem;
  603. }
  604. .mobile-date-picker__month-nav {
  605. padding-top: 0.5rem;
  606. }
  607. .mobile-date-picker__month-label {
  608. font-size: 1.05rem;
  609. font-weight: 700;
  610. text-align: center;
  611. flex: 1;
  612. }
  613. .mobile-date-picker__weekdays,
  614. .mobile-date-picker__grid {
  615. display: grid;
  616. grid-template-columns: repeat(7, minmax(0, 1fr));
  617. gap: 0.35rem;
  618. padding-left: 1rem;
  619. padding-right: 1rem;
  620. }
  621. .mobile-date-picker__weekdays {
  622. padding-top: 1rem;
  623. padding-bottom: 0.5rem;
  624. }
  625. .mobile-date-picker__weekday {
  626. text-align: center;
  627. font-size: 0.75rem;
  628. color: #6c757d;
  629. text-transform: uppercase;
  630. }
  631. .mobile-date-picker__grid {
  632. padding-bottom: 1rem;
  633. flex: 1;
  634. align-content: start;
  635. }
  636. .mobile-date-picker__day {
  637. border: 1px solid transparent;
  638. background: #fff;
  639. border-radius: 0.75rem;
  640. min-height: 2.75rem;
  641. font-weight: 500;
  642. color: #212529;
  643. }
  644. .mobile-date-picker__day.is-outside {
  645. color: #adb5bd;
  646. }
  647. .mobile-date-picker__day.is-today {
  648. border-color: #0d6efd;
  649. }
  650. .mobile-date-picker__day.is-selected {
  651. background: #0d6efd;
  652. color: #fff;
  653. }
  654. .mobile-date-picker__footer {
  655. padding-top: 0;
  656. padding-bottom: max(1rem, env(safe-area-inset-bottom));
  657. }
  658. .mobile-date-picker__footer .btn {
  659. flex: 1;
  660. }
  661. .mobile-date-input {
  662. cursor: pointer;
  663. background-image: none !important;
  664. }
  665. .mobile-date-input--empty {
  666. color: #6c757d;
  667. }
  668. .notification-unread {
  669. background: #fce7ea;
  670. cursor: pointer;
  671. }
  672. .notification-read-platform {
  673. background: #e7f1ff;
  674. }
  675. .notification-read-reclamation {
  676. background: #e9f8ef;
  677. }
  678. .notification-read-schedule {
  679. background: #fff4e6;
  680. }
  681. .ws-notification-container {
  682. position: fixed;
  683. right: 16px;
  684. bottom: 16px;
  685. z-index: 2000;
  686. display: flex;
  687. flex-direction: column;
  688. gap: 10px;
  689. width: min(360px, calc(100vw - 24px));
  690. }
  691. .ws-notification-popup {
  692. border: 1px solid #d8d8d8;
  693. border-radius: 8px;
  694. background: #fff;
  695. box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  696. padding: 10px;
  697. }
  698. .ws-notification-header {
  699. display: flex;
  700. justify-content: space-between;
  701. align-items: center;
  702. gap: 8px;
  703. margin-bottom: 6px;
  704. }
  705. .ws-notification-body {
  706. font-size: 14px;
  707. }
  708. @media (max-width: 767.98px) {
  709. .notification-bell-link {
  710. display: inline-flex !important;
  711. margin-left: auto;
  712. }
  713. }
  714. // Chat component styles (from partials/chat.blade.php)
  715. .chat-block {
  716. --chat-height: 420px;
  717. }
  718. .chat-card {
  719. border: 1px solid var(--bs-border-color);
  720. border-radius: 0.75rem;
  721. background: var(--bs-light-bg-subtle, #f8f9fa);
  722. }
  723. .chat-messages-wrap {
  724. position: relative;
  725. padding: 0.75rem;
  726. }
  727. .chat-messages {
  728. max-height: var(--chat-height);
  729. overflow-y: auto;
  730. padding-right: 0.35rem;
  731. scroll-behavior: smooth;
  732. }
  733. .chat-message {
  734. border: 1px solid rgba(0, 0, 0, 0.08);
  735. border-radius: 0.75rem;
  736. background: #fff;
  737. padding: 0.75rem 0.875rem;
  738. margin-bottom: 0.625rem;
  739. box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  740. }
  741. .chat-message:last-child {
  742. margin-bottom: 0;
  743. }
  744. .chat-message-header {
  745. display: flex;
  746. justify-content: space-between;
  747. gap: 0.75rem;
  748. flex-wrap: wrap;
  749. font-size: 0.875rem;
  750. }
  751. .chat-message-text {
  752. margin-top: 0.5rem;
  753. white-space: pre-wrap;
  754. line-height: 1.35;
  755. }
  756. .chat-message-files {
  757. margin-top: 0.625rem;
  758. display: flex;
  759. flex-wrap: wrap;
  760. gap: 0.5rem;
  761. }
  762. .chat-message-files img {
  763. width: 84px;
  764. height: 84px;
  765. object-fit: cover;
  766. }
  767. .chat-scroll-bottom {
  768. position: absolute;
  769. right: 1rem;
  770. bottom: 1rem;
  771. z-index: 2;
  772. border-radius: 999px;
  773. box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.18);
  774. }
  775. .chat-recipient-list {
  776. max-height: 320px;
  777. overflow-y: auto;
  778. border: 1px solid var(--bs-border-color);
  779. border-radius: 0.5rem;
  780. padding: 0.5rem 0.75rem;
  781. }
  782. .chat-recipient-item[hidden] {
  783. display: none !important;
  784. }
  785. .chat-recipient-summary {
  786. min-height: 1.25rem;
  787. }
  788. // Schedule calendar styles (from schedule/index.blade.php)
  789. .schedule-month {
  790. table-layout: fixed;
  791. }
  792. .schedule-day {
  793. height: 110px;
  794. vertical-align: top;
  795. position: relative;
  796. }
  797. .schedule-day-link {
  798. display: inline-block;
  799. font-weight: 600;
  800. text-decoration: none;
  801. color: #0d6efd;
  802. }
  803. .schedule-dots {
  804. margin-top: 6px;
  805. display: flex;
  806. flex-wrap: wrap;
  807. gap: 4px;
  808. }
  809. .schedule-dot {
  810. width: 12px;
  811. height: 12px;
  812. border-radius: 50%;
  813. display: inline-block;
  814. border: 1px solid rgba(0, 0, 0, 0.1);
  815. }
  816. .schedule-outside {
  817. background: #f8f9fa;
  818. color: #9aa0a6;
  819. }
  820. .schedule-today {
  821. outline: 2px solid rgba(13, 110, 253, 0.5);
  822. outline-offset: -2px;
  823. }
  824. .schedule-legend-items {
  825. display: flex;
  826. flex-wrap: wrap;
  827. gap: 10px 16px;
  828. align-items: center;
  829. }
  830. .schedule-legend-item {
  831. display: inline-flex;
  832. align-items: center;
  833. gap: 6px;
  834. font-size: 0.9rem;
  835. }
  836. .schedule-legend-name {
  837. white-space: nowrap;
  838. }
  839. .schedule-week-table {
  840. thead th {
  841. border-top: 1px solid #000;
  842. border-bottom: 1px solid #000;
  843. }
  844. tbody td {
  845. border-bottom-color: #000;
  846. }
  847. tbody tr.schedule-week-address-separator td {
  848. border-bottom-width: 1px;
  849. }
  850. tbody tr.schedule-week-day-end td {
  851. border-bottom-width: 2px;
  852. }
  853. tbody td.schedule-week-day-cell {
  854. border-bottom: 2px solid #000;
  855. }
  856. }
  857. // Table sortable header styles (from reports/index.blade.php)
  858. .sortable-header {
  859. cursor: pointer;
  860. user-select: none;
  861. }
  862. // Notification settings table (from partials/notification-settings-table.blade.php)
  863. .section-header-row {
  864. background-color: #d4edda;
  865. }