| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631 |
- // Fonts
- //@import url('https://fonts.bunny.net/css?family=Nunito');
- // 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;
- }
- .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;
- }
- .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) {
- .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.875rem;
- }
- .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;
- }
- .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;
- }
- }
|