| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061 |
- // Fonts - local Nunito via @fontsource
- @import "@fontsource/nunito/400.css";
- @import "@fontsource/nunito/400-italic.css";
- @import "@fontsource/nunito/600.css";
- @import "@fontsource/nunito/700.css";
- @import "@fontsource/nunito/800.css";
- body {
- font-family: 'Nunito', sans-serif;
- }
- // Variables
- @import 'variables';
- // Bootstrap
- @import 'bootstrap/scss/bootstrap';
- @import "bootstrap-icons/font/bootstrap-icons.css";
- .invalid-feedback {
- display: block !important;
- }
- .nav-link.active {
- font-weight: bold;
- }
- td p {
- margin-bottom: 0;
- }
- .alerts{
- position: absolute;
- right: 0;
- top: 0;
- opacity: 0.95;
- z-index: 999;
- div {
- padding-left: 3rem;
- padding-right: 3rem;
- }
- }
- .table-buttons {
- position: fixed;
- right: 0;
- opacity: 0.7;
- z-index: 999;
- }
- .table-buttons:hover {
- opacity: 1;
- }
- .js-main-table-scroll {
- overflow: auto;
- position: relative;
- z-index: 20;
- }
- .js-main-table-scroll:has(.dropdown-menu.show) {
- overflow: visible;
- }
- .js-main-table-scroll .table {
- margin-bottom: 0;
- }
- .js-main-table-scroll thead th {
- position: sticky;
- top: 0;
- z-index: 3;
- background-color: var(--bs-primary-bg-subtle);
- }
- .js-main-table-scroll .table-head-shadow th {
- box-shadow: 0 8px 14px -10px rgba(0, 0, 0, 0.35);
- }
- .js-main-table-scroll thead th:has(.dropdown-menu.show) {
- z-index: 10;
- }
- .js-main-table-scroll thead th .dropdown-menu {
- z-index: 1080;
- }
- .js-subtable-scroll {
- overflow: auto;
- }
- .js-subtable-scroll .table {
- margin-bottom: 0;
- }
- .js-subtable-scroll thead th {
- position: sticky;
- top: 0;
- z-index: 2;
- background-color: var(--bs-primary-bg-subtle);
- }
- .table {
- tr th {
- background-color: var(--bs-primary-bg-subtle);
- vertical-align: middle;
- }
- td {
- cursor: pointer;
- }
- th {
- border-right: 1px solid #d7d7d7;
- }
- font-size: 0.8rem;
- }
- .table-interactive tbody tr {
- transition: background-color 0.12s ease-in-out;
- }
- .table-interactive tbody tr:hover > td {
- background-color: #f2f7ff;
- }
- .page-header-row {
- align-items: center;
- }
- .page-header-title h3 {
- margin-bottom: 0;
- }
- .page-header-actions {
- display: flex;
- justify-content: flex-end;
- align-items: center;
- gap: 0.5rem;
- flex-wrap: wrap;
- }
- .page-action-btn {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- gap: 0.35rem;
- }
- .page-action-btn__icon {
- line-height: 1;
- }
- .table-interactive tbody tr.is-selected > td {
- background-color: #dbe7ff;
- }
- .table-interactive tbody tr.is-selected:hover > td {
- background-color: #cfe0ff;
- }
- .maf:hover {
- background-color: #fff8ca;
- }
- .quantity {
- padding: 3px;
- }
- .pagination .text-muted {
- padding-right: 1rem;
- }
- .table-pagination-row {
- padding-top: 0.25rem !important;
- padding-bottom: 0.25rem !important;
- background-color: var(--bs-body-bg);
- box-shadow: 0 -8px 14px -10px rgba(0, 0, 0, 0.35);
- position: relative;
- z-index: 1;
- }
- .table-pagination-row .pagination {
- margin-bottom: 0;
- }
- .table-pagination-row .pagination .page-link {
- padding: 0.2rem 0.45rem;
- }
- .table-pagination-row .col-form-label {
- margin-bottom: 0;
- padding-top: 0.15rem;
- padding-bottom: 0.15rem;
- }
- .cursor-pointer {
- cursor: pointer;
- }
- .highlight {
- background-color: yellow;
- }
- .rm-but {
- position: absolute;
- margin-left: -18px;
- margin-top: 1px;
- }
- .maf-img {
- max-height: 100px;
- max-width: 100px;
- }
- .vertical {
- writing-mode: sideways-lr;
- vertical-align: middle;
- text-align: center;
- }
- .vertical th{
- writing-mode: sideways-lr;
- vertical-align: middle;
- text-align: center;
- }
- .svod tr {
- text-align: center;
- }
- .svod-6, .svod-7 {
- background-color: #86b7fe !important;
- }
- .svod-8, .svod-9 {
- background-color: #fec886 !important;
- }
- .svod-10, .svod-11 {
- background-color: #ccffd8 !important;
- }
- .svod-12, .svod-13 {
- background-color: #54ab4e !important;
- }
- .svod-14, .svod-15 {
- background-color: #effc76 !important;
- }
- .svod-20, .svod-21, .svod-16, .svod-17, .svod-18, .svod-19{
- background-color: #c4c4c4 !important;
- }
- .svod-26, .svod-27, .svod-22, .svod-23, .svod-24, .svod-25{
- background-color: #a4f7ff !important;
- }
- .svod-32, .svod-33, .svod-28, .svod-29, .svod-30, .svod-31{
- background-color: #ffc0c0 !important;
- }
- // Markdown content styles
- .markdown-content {
- scroll-behavior: smooth;
- h1, h2, h3, h4, h5, h6 {
- margin-top: 1.5rem;
- margin-bottom: 0.75rem;
- scroll-margin-top: 1rem;
- }
- h1 { font-size: 1.75rem; }
- h2 { font-size: 1.5rem; border-bottom: 1px solid #dee2e6; padding-bottom: 0.5rem; }
- h3 { font-size: 1.25rem; }
- h4 { font-size: 1.1rem; }
- table {
- width: 100%;
- margin-bottom: 1rem;
- border-collapse: collapse;
- th, td {
- padding: 0.5rem;
- border: 1px solid #dee2e6;
- cursor: default;
- }
- th {
- background-color: var(--bs-primary-bg-subtle);
- }
- }
- pre {
- background-color: #f8f9fa;
- padding: 1rem;
- border-radius: 0.25rem;
- overflow-x: auto;
- code {
- color: inherit;
- }
- }
- code {
- color: #d63384;
- background-color: #f8f9fa;
- padding: 0.2rem 0.4rem;
- border-radius: 0.25rem;
- }
- hr {
- margin: 2rem 0;
- border-top: 1px solid #dee2e6;
- }
- ul, ol {
- padding-left: 1.5rem;
- margin-bottom: 1rem;
- }
- blockquote {
- border-left: 4px solid #dee2e6;
- padding-left: 1rem;
- color: #6c757d;
- margin: 1rem 0;
- }
- }
- .is-hidden {
- display: none;
- }
- .max-h-50vh {
- max-height: 50vh;
- }
- .table-initial-hidden {
- display: none;
- min-height: 380px;
- }
- .img-max-40 {
- max-height: 40px;
- }
- .img-max-50 {
- max-width: 50px;
- }
- .img-max-150 {
- max-width: 150px;
- }
- .img-max-200 {
- max-width: 200px;
- }
- .color-input {
- height: 32px;
- }
- .week-number-input {
- width: 3rem;
- }
- .filter-menu-compact {
- width: 170px;
- }
- .filter-menu-wide {
- width: 300px;
- }
- .filter-list-scroll {
- max-height: 200px;
- overflow-y: scroll;
- }
- .tooltip-help {
- cursor: help;
- text-decoration: underline dotted;
- }
- .autocomplete-dropdown {
- position: absolute;
- top: 100%;
- left: 0;
- right: 0;
- z-index: 1050;
- background: white;
- border: 1px solid #dee2e6;
- border-top: none;
- border-radius: 0 0 0.375rem 0.375rem;
- max-height: 250px;
- overflow-y: auto;
- display: none;
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
- }
- .autocomplete-dropdown.autocomplete-dropdown--order {
- max-height: 300px;
- }
- .autocomplete-dropdown .autocomplete-item {
- padding: 8px 12px;
- cursor: pointer;
- border-bottom: 1px solid #f0f0f0;
- }
- .autocomplete-dropdown.autocomplete-dropdown--order .autocomplete-item {
- padding: 10px 12px;
- }
- .autocomplete-dropdown .autocomplete-item:last-child {
- border-bottom: none;
- }
- .autocomplete-dropdown .autocomplete-item:hover,
- .autocomplete-dropdown .autocomplete-item.active {
- background-color: #e9ecef;
- }
- .autocomplete-dropdown .autocomplete-item .code,
- .autocomplete-dropdown .autocomplete-item .article {
- font-weight: 600;
- color: #495057;
- }
- .autocomplete-dropdown .autocomplete-item .description,
- .autocomplete-dropdown .autocomplete-item .used-in-maf {
- font-size: 0.875em;
- color: #6c757d;
- }
- .spare-part-dropdown {
- position: absolute;
- top: 100%;
- left: 0;
- right: 0;
- z-index: 1050;
- background: white;
- border: 1px solid #dee2e6;
- border-top: none;
- border-radius: 0 0 0.375rem 0.375rem;
- max-height: 250px;
- overflow-y: auto;
- display: none;
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
- }
- .spare-part-dropdown .sp-item {
- padding: 8px 12px;
- cursor: pointer;
- border-bottom: 1px solid #f0f0f0;
- }
- .spare-part-dropdown .sp-item:last-child {
- border-bottom: none;
- }
- .spare-part-dropdown .sp-item:hover,
- .spare-part-dropdown .sp-item.active {
- background-color: #e9ecef;
- }
- .spare-part-dropdown .sp-item .sp-article {
- font-weight: 600;
- color: #495057;
- }
- .spare-part-dropdown .sp-item .sp-used {
- font-size: 0.875em;
- color: #6c757d;
- }
- .action-toolbar {
- display: flex;
- flex-wrap: wrap;
- gap: 0.25rem;
- justify-content: flex-end;
- align-items: flex-start;
- }
- .report-tabs {
- flex-wrap: nowrap;
- overflow-x: auto;
- overflow-y: hidden;
- -webkit-overflow-scrolling: touch;
- }
- .report-tabs .nav-link {
- white-space: nowrap;
- }
- .report-tab-content {
- padding: 0.75rem;
- }
- .schedule-week-controls {
- display: flex;
- flex-wrap: wrap;
- justify-content: flex-end;
- gap: 0.5rem;
- }
- .schedule-week-controls > div {
- padding: 0 !important;
- }
- @media (min-width: 768px) {
- .report-tab-content {
- padding: 3rem;
- }
- }
- @media (max-width: 767.98px) {
- .page-header-row {
- row-gap: 0.5rem;
- }
- .page-header-title {
- order: 1;
- }
- .page-header-year {
- order: 2;
- width: auto;
- }
- .page-header-actions {
- order: 3;
- width: auto;
- margin-left: auto;
- justify-content: flex-end;
- gap: 0.35rem;
- }
- .page-header-year .dropdown > .btn,
- .page-header-year .dropdown > button {
- font-size: 1.5rem !important;
- }
- .page-action-btn {
- min-width: 2.2rem;
- min-height: 2.2rem;
- padding-left: 0.55rem !important;
- padding-right: 0.55rem !important;
- }
- .page-action-btn__label {
- display: none;
- }
- .navbar {
- min-height: 3rem;
- }
- .navbar .container-fluid {
- padding-top: 0.25rem;
- padding-bottom: 0.25rem;
- }
- .navbar-brand {
- font-size: 1rem;
- margin-right: 0.5rem;
- }
- .navbar-toggler {
- padding: 0.2rem 0.45rem;
- font-size: 0.95rem;
- }
- .navbar .nav-link {
- padding-top: 0.35rem;
- padding-bottom: 0.35rem;
- }
- .notification-bell-link {
- padding-top: 0.25rem !important;
- padding-bottom: 0.25rem !important;
- }
- .alerts {
- position: fixed;
- left: 0;
- right: 0;
- top: 0;
- padding: 0.5rem;
- }
- .alerts div {
- padding-left: 1rem;
- padding-right: 1rem;
- }
- .table-buttons {
- position: sticky;
- bottom: 0;
- right: auto;
- width: 100%;
- display: flex !important;
- flex-direction: row !important;
- justify-content: space-around;
- opacity: 0.96;
- border-radius: 0.375rem 0.375rem 0 0 !important;
- }
- .js-main-table-scroll {
- padding-bottom: 2.75rem;
- }
- .table {
- font-size: 0.72rem;
- }
- .table th,
- .table td {
- padding: 0.35rem 0.45rem;
- }
- .js-main-table-scroll thead th,
- .js-subtable-scroll thead th {
- font-size: 0.68rem;
- padding: 0.3rem 0.35rem;
- }
- .vertical,
- .vertical th {
- writing-mode: horizontal-tb;
- }
- .filter-menu-wide {
- width: min(95vw, 320px);
- }
- .filter-sort-controls {
- width: 100% !important;
- flex-direction: column;
- gap: 0.5rem;
- }
- .filter-menu-wide [id^="bulk-toggle_"],
- .filter-menu-wide [id^="modal-footer_"] {
- flex-direction: column;
- gap: 0.5rem;
- }
- .filter-menu-wide .btn.w-50,
- .filter-menu-wide .btn.w-100 {
- width: 100% !important;
- }
- .table-pagination-row {
- row-gap: 0.5rem;
- }
- .schedule-week-controls {
- justify-content: flex-start;
- }
- .action-toolbar {
- justify-content: flex-start;
- }
- }
- .notification-bell-link {
- position: relative;
- }
- .notification-badge-dot {
- position: absolute;
- top: -2px;
- right: -2px;
- width: 9px;
- height: 9px;
- border-radius: 50%;
- background: #dc3545;
- }
- .notifications-list {
- display: flex;
- flex-direction: column;
- gap: 8px;
- }
- .notification-item {
- border: 1px solid #ddd;
- border-radius: 8px;
- padding: 10px 12px;
- cursor: pointer;
- }
- .mobile-date-picker-open {
- overflow: hidden;
- }
- .mobile-date-picker {
- position: fixed;
- inset: 0;
- z-index: 2000;
- background: rgba(15, 23, 42, 0.42);
- padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
- }
- .mobile-date-picker[hidden] {
- display: none !important;
- }
- .mobile-date-picker__dialog {
- background: #fff;
- width: 100%;
- height: 100%;
- display: flex;
- flex-direction: column;
- }
- .mobile-date-picker__header,
- .mobile-date-picker__month-nav,
- .mobile-date-picker__footer {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 0.75rem;
- padding: 1rem 1rem 0;
- }
- .mobile-date-picker__title {
- font-size: 1rem;
- font-weight: 600;
- text-align: center;
- flex: 1;
- }
- .mobile-date-picker__close,
- .mobile-date-picker__today,
- .mobile-date-picker__nav {
- text-decoration: none;
- padding-left: 0.25rem;
- padding-right: 0.25rem;
- }
- .mobile-date-picker__month-nav {
- padding-top: 0.5rem;
- }
- .mobile-date-picker__month-label {
- font-size: 1.05rem;
- font-weight: 700;
- text-align: center;
- flex: 1;
- }
- .mobile-date-picker__weekdays,
- .mobile-date-picker__grid {
- display: grid;
- grid-template-columns: repeat(7, minmax(0, 1fr));
- gap: 0.35rem;
- padding-left: 1rem;
- padding-right: 1rem;
- }
- .mobile-date-picker__weekdays {
- padding-top: 1rem;
- padding-bottom: 0.5rem;
- }
- .mobile-date-picker__weekday {
- text-align: center;
- font-size: 0.75rem;
- color: #6c757d;
- text-transform: uppercase;
- }
- .mobile-date-picker__grid {
- padding-bottom: 1rem;
- flex: 1;
- align-content: start;
- }
- .mobile-date-picker__day {
- border: 1px solid transparent;
- background: #fff;
- border-radius: 0.75rem;
- min-height: 2.75rem;
- font-weight: 500;
- color: #212529;
- }
- .mobile-date-picker__day.is-outside {
- color: #adb5bd;
- }
- .mobile-date-picker__day.is-today {
- border-color: #0d6efd;
- }
- .mobile-date-picker__day.is-selected {
- background: #0d6efd;
- color: #fff;
- }
- .mobile-date-picker__footer {
- padding-top: 0;
- padding-bottom: max(1rem, env(safe-area-inset-bottom));
- }
- .mobile-date-picker__footer .btn {
- flex: 1;
- }
- .mobile-date-input {
- cursor: pointer;
- background-image: none !important;
- }
- .mobile-date-input--empty {
- color: #6c757d;
- }
- .notification-unread {
- background: #fce7ea;
- cursor: pointer;
- }
- .notification-read-platform {
- background: #e7f1ff;
- }
- .notification-read-reclamation {
- background: #e9f8ef;
- }
- .notification-read-schedule {
- background: #fff4e6;
- }
- .ws-notification-container {
- position: fixed;
- right: 16px;
- bottom: 16px;
- z-index: 2000;
- display: flex;
- flex-direction: column;
- gap: 10px;
- width: min(360px, calc(100vw - 24px));
- }
- .ws-notification-popup {
- border: 1px solid #d8d8d8;
- border-radius: 8px;
- background: #fff;
- box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
- padding: 10px;
- }
- .ws-notification-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- gap: 8px;
- margin-bottom: 6px;
- }
- .ws-notification-body {
- font-size: 14px;
- }
- @media (max-width: 767.98px) {
- .notification-bell-link {
- display: inline-flex !important;
- margin-left: auto;
- }
- }
- // Chat component styles (from partials/chat.blade.php)
- .chat-block {
- --chat-height: 420px;
- }
- .chat-card {
- border: 1px solid var(--bs-border-color);
- border-radius: 0.75rem;
- background: var(--bs-light-bg-subtle, #f8f9fa);
- }
- .chat-messages-wrap {
- position: relative;
- padding: 0.75rem;
- }
- .chat-messages {
- max-height: var(--chat-height);
- overflow-y: auto;
- padding-right: 0.35rem;
- scroll-behavior: smooth;
- }
- .chat-message {
- border: 1px solid rgba(0, 0, 0, 0.08);
- border-radius: 0.75rem;
- background: #fff;
- padding: 0.75rem 0.875rem;
- margin-bottom: 0.625rem;
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
- }
- .chat-message:last-child {
- margin-bottom: 0;
- }
- .chat-message-header {
- display: flex;
- justify-content: space-between;
- gap: 0.75rem;
- flex-wrap: wrap;
- font-size: 0.875rem;
- }
- .chat-message-text {
- margin-top: 0.5rem;
- white-space: pre-wrap;
- line-height: 1.35;
- }
- .chat-message-files {
- margin-top: 0.625rem;
- display: flex;
- flex-wrap: wrap;
- gap: 0.5rem;
- }
- .chat-message-files img {
- width: 84px;
- height: 84px;
- object-fit: cover;
- }
- .chat-scroll-bottom {
- position: absolute;
- right: 1rem;
- bottom: 1rem;
- z-index: 2;
- border-radius: 999px;
- box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.18);
- }
- .chat-recipient-list {
- max-height: 320px;
- overflow-y: auto;
- border: 1px solid var(--bs-border-color);
- border-radius: 0.5rem;
- padding: 0.5rem 0.75rem;
- }
- .chat-recipient-item[hidden] {
- display: none !important;
- }
- .chat-recipient-summary {
- min-height: 1.25rem;
- }
- // Schedule calendar styles (from schedule/index.blade.php)
- .schedule-month {
- table-layout: fixed;
- }
- .schedule-day {
- height: 110px;
- vertical-align: top;
- position: relative;
- }
- .schedule-day-link {
- display: inline-block;
- font-weight: 600;
- text-decoration: none;
- color: #0d6efd;
- }
- .schedule-dots {
- margin-top: 6px;
- display: flex;
- flex-wrap: wrap;
- gap: 4px;
- }
- .schedule-dot {
- width: 12px;
- height: 12px;
- border-radius: 50%;
- display: inline-block;
- border: 1px solid rgba(0, 0, 0, 0.1);
- }
- .schedule-outside {
- background: #f8f9fa;
- color: #9aa0a6;
- }
- .schedule-today {
- outline: 2px solid rgba(13, 110, 253, 0.5);
- outline-offset: -2px;
- }
- .schedule-legend-items {
- display: flex;
- flex-wrap: wrap;
- gap: 10px 16px;
- align-items: center;
- }
- .schedule-legend-item {
- display: inline-flex;
- align-items: center;
- gap: 6px;
- font-size: 0.9rem;
- }
- .schedule-legend-name {
- white-space: nowrap;
- }
- .schedule-week-table {
- thead th {
- border-top: 1px solid #000;
- border-right: 1px solid #000;
- border-bottom: 1px solid #000;
- }
- thead th:first-child {
- border-left: 1px solid #000;
- }
- tbody td {
- border-bottom-color: #000;
- }
- tbody tr.schedule-week-address-separator td {
- border-bottom-width: 1px;
- }
- tbody tr.schedule-week-day-end td {
- border-bottom-width: 2px;
- }
- tbody td.schedule-week-day-cell {
- border-bottom: 2px solid #000;
- }
- }
- // Table sortable header styles (from reports/index.blade.php)
- .sortable-header {
- cursor: pointer;
- user-select: none;
- }
- // Notification settings table (from partials/notification-settings-table.blade.php)
- .section-header-row {
- background-color: #d4edda;
- }
|