.card-border { border-left: 1px solid #428bca; border-left-width: 5px; border-radius: 3px; } .font-weight-500 { font-weight: 500; } .order-date-pill { margin: 2px; white-space: nowrap; } .rack-he:hover { box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.31); } .rack-color-lwl { background: rgb(159, 255, 96); background: linear-gradient(180deg, rgb(129 223 68) 0%, rgb(62 155 3) 100%); color: #000000; padding-top: 2px; } .rack-color-device { background: rgb(182, 198, 240); background: linear-gradient(180deg, rgba(182, 198, 240, 1) 0%, rgb(131 158 255 / 82%) 100%); font-weight: 500; padding-top: 2px; } .rack-color-infra { background: rgb(251 181 109); background: linear-gradient(180deg, rgb(247 184 118) 0%, rgb(255 149 40) 100%); font-weight: 500; padding-top: 2px; } .rack-color-panel { background: rgb(150, 243, 222); background: linear-gradient(180deg, rgba(150, 243, 222, 1) 0%, rgba(87, 249, 212, 1) 100%); font-weight: 500; padding-top: 2px; } .rack-color-blocked { background: rgb(255, 0, 0); background: linear-gradient(180deg, rgba(255, 0, 0, 1) 0%, rgba(196, 0, 0, 1) 100%); font-weight: 500; padding-top: 2px; color: #fff; } .rack-color-rpanel { background: rgb(88, 201, 240); background: linear-gradient(180deg, rgba(88, 201, 240, 1) 0%, rgba(64, 188, 231, 1) 100%); font-weight: 500; padding-top: 2px; } .user-select-none { user-select: none; } .fa-edit { margin-right: 5px; margin-top: 2px; cursor: pointer; } .rack-name { } .move-handle { cursor: grab; margin-left: 5px; margin-top: 2px; } .move-handle:active { cursor: grabbing; } .border-right { border-right-color: #dee2e6 !important; } .form-control:disabled, .form-control[readonly] { background-color: #d7d7d7; opacity: 1; } .switch-rack-side { margin-right: 8px; margin-top: 2px; cursor: pointer; } .cable-container { display: flex; width: 100%; height: 100%; align-items: stretch; color: #000; cursor: pointer; } .cable-item { border-right: 1px solid #797979; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; line-height: 1.1; color: #333; background-color: #e1ffdf; cursor: pointer; overflow: hidden; white-space: nowrap; padding: 1px 0; position: relative; } .cable-description { font-size: 11px; /* Etwas kleiner */ font-style: italic; color: #000000; white-space: nowrap; /* Kein Umbruch! */ overflow: hidden; /* Abschneiden */ text-overflow: ellipsis; /* Pünktchen anzeigen */ max-width: 95%; /* Breite begrenzen */ line-height: 1.2; font-weight: 400; } .port-ranges-container tool { white-space: nowrap; } /* NEU: Falls Kabel sehr schmal, Schrift verkleinern */ .cable-item.narrow .port-ranges-container { font-size: 9px !important; gap: 2px !important; flex-direction: column; /* Untereinander statt nebeneinander bei Platzmangel */ line-height: 1; } .cable-item .port-range, .cable-item .fiber-range { font-size: 12px; color: #040404; font-weight: 500; } .cable-item:hover { background-color: #cfffc8; } .cable-item:last-child { border-right: none; } .cable-free { flex-grow: 1; } .context-menu { display: none; position: absolute; z-index: 1000; width: 180px; background-color: #fff; border: 1px solid #ccc; border-radius: 5px; box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15); } .context-menu ul { list-style: none; padding: 5px 0; margin: 0; } .context-menu ul li { padding: 8px 15px; cursor: pointer; font-size: 14px; } .context-menu ul li:hover { background-color: #f0f0f0; } .context-menu ul li i { margin-right: 10px; color: #555; } #cable-context-menu { position: absolute; /* Popper setzt top/left */ z-index: 20000; transform: none !important; /* falls doch mal ein transform reingeschummelt wird */ } .dropdown-menu[x-placement^=left], .dropdown-menu[x-placement^=right], .dropdown-menu[x-placement^=top] { top: unset; -webkit-animation: none !important; animation: none !important; } .context-span { min-width: 25px; display: inline-block; } .dropdown-item { padding: .3rem 1.2rem; } .w-10 { width: 10% !important; } .cable-highlight { background-color: #e6ff00 !important; border: 2px solid #e0a800 !important; color: #000; } /* NEU: Animation für das "Aufblinken" */ .cable-flash { /*animation: flash-animation 1s;*/ } @keyframes flash-animation { 0% { transform: scale(1); } 25% { transform: scale(1.05); } 50% { transform: scale(1); } 75% { transform: scale(1.05); } 100% { transform: scale(1); } } /* Sorgt dafür, dass die Autocomplete-Vorschläge über anderen Elementen liegen */ .ui-autocomplete { z-index: 2000; } .module-highlight { /*box-shadow: inset 0 0 0 3px #007bff !important; !* Ein auffälliger, blauer Innen-Rahmen *!*/ /*transition: box-shadow 0.3s ease-in-out;*/ } .rack-color-lwl-planned { background: rgb(255, 0, 0); background: linear-gradient(180deg, rgba(255, 0, 0, 1) 0%, rgba(196, 0, 0, 1) 100%); font-weight: 500; padding-top: 2px; color: #fff; } .port-info { font-size: 12px; font-weight: 500; } .cable-description { font-size: 12px; font-style: normal; color: #000000; white-space: normal; line-height: 1.2; font-weight: 400; } .fiber-color-badge-modal { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 1px solid #ddd; vertical-align: text-bottom; } .fiber-list-table { font-size: 0.9rem; } .cable-info-card { background-color: #f8f9fa; border-left: 4px solid #007bff; } .accordion-button:not(.collapsed) { background-color: #fff3cd; color: #000; } .accordion-button:focus { box-shadow: none; border-color: rgba(0, 0, 0, .125); } .accordion-body { padding: 0.5rem; } .load-branch-cable { font-size: 0.85rem; padding: 0.25rem 0.5rem; } .fiber-row-clickable { cursor: pointer; transition: background-color 0.2s; } .fiber-row-clickable:hover { background-color: #e3f2fd !important; } .table-sm td, .table-sm th { padding: .2rem; } .view-fiber-path { padding-top: 0.1rem; padding-bottom: 0.1rem; } .modal-fullscreen-custom { max-width: 100%; margin: 0; width: 100vw; height: 100vh; } .modal-fullscreen-custom .modal-content { height: 100vh; border: 0; border-radius: 0; /* **ÄNDERUNG: Flexbox für vertikale Aufteilung** */ display: flex; flex-direction: column; } .modal-fullscreen-custom .modal-header { border-bottom: 2px solid #dee2e6; flex-shrink: 0; /* Header bleibt fix */ } .modal-fullscreen-custom .modal-body { /* **ÄNDERUNG: Body nimmt allen verfügbaren Platz** */ flex: 1; overflow: hidden; padding: 0 !important; } .modal-fullscreen-custom .modal-footer { border-top: 2px solid #dee2e6; flex-shrink: 0; /* Footer bleibt fix */ } /* **ÄNDERUNG: Handsontable Container füllt Modal Body komplett** */ #handsontable-container { background-color: #f8f9fa; position: relative; height: 100% !important; width: 100% !important; } #handsontable-container .handsontable { background-color: white; font-size: 13px; } /* Handsontable Header optimieren */ #handsontable-container .handsontable th { background-color: #f1f3f5; font-weight: 600; text-align: center; } /* Scrollbars schöner machen */ #handsontable-container .ht_master .wtHolder::-webkit-scrollbar, #handsontable-container::-webkit-scrollbar { width: 12px; height: 12px; } #handsontable-container .ht_master .wtHolder::-webkit-scrollbar-track, #handsontable-container::-webkit-scrollbar-track { background: #f1f1f1; } #handsontable-container .ht_master .wtHolder::-webkit-scrollbar-thumb, #handsontable-container::-webkit-scrollbar-thumb { background: #888; border-radius: 6px; } #handsontable-container .ht_master .wtHolder::-webkit-scrollbar-thumb:hover, #handsontable-container::-webkit-scrollbar-thumb:hover { background: #555; } /* Modal Backdrop dunkler machen */ .modal-backdrop.show { opacity: 0.7; } /* Excel Modal spezifische Anpassungen */ #excelEditorModal .modal-header { /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/ color: white; } #excelEditorModal .modal-header .close { color: white; opacity: 0.8; text-shadow: none; } #excelEditorModal .modal-header .close:hover { opacity: 1; } #excelEditorModal .modal-title { font-size: 1.1rem; font-weight: 500; } #handsontable-container .handsontable td { vertical-align: middle; } /* Farb-Spalten ohne padding */ #handsontable-container .handsontable td[class*="color"] { padding: 0 !important; } /* Hover-Effekt für Farb-Zellen */ #handsontable-container .handsontable td div[title]:hover { opacity: 0.9; cursor: help; } .cable-info-popup .leaflet-popup-content { margin: 10px; } .cable-info-popup .leaflet-popup-content-wrapper { border-radius: 8px; } .dispatcher-label { background-color: rgba(255, 255, 255, 0.9); border: 1px solid #999; border-radius: 3px; padding: 2px 6px; font-size: 11px; font-weight: bold; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); } .cable-segment-label { background-color: rgba(255, 255, 255, 0.9); border: 2px solid #333; border-radius: 4px; padding: 1px 3px; font-size: 11px; font-weight: bold; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); color: #333; } .cable-label-marker { background: transparent !important; border: none !important; } .customer-cable-label { background-color: rgba(255, 255, 255, 0.9); border: 2px solid #333; border-radius: 4px; padding: 1px 3px; font-size: 11px; font-weight: bold; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); color: #333; } .modal-fullscreen-map { max-width: 100%; margin: 0; width: 100vw; height: 100vh; } .modal-fullscreen-map .modal-content { height: 100vh; border: 0; border-radius: 0; display: flex; flex-direction: column; } .modal-fullscreen-map .modal-header { border-bottom: 2px solid #dee2e6; flex-shrink: 0; color: white; } .modal-fullscreen-map .modal-header .close { opacity: 0.9; text-shadow: none; font-size: 2rem; } .modal-fullscreen-map .modal-header .close:hover { opacity: 1; } .modal-fullscreen-map .modal-body { flex: 1; overflow: hidden; padding: 0 !important; position: relative; } .modal-fullscreen-map .modal-footer { border-top: 2px solid #dee2e6; flex-shrink: 0; background-color: #f8f9fa; } /* Map Container füllt Modal Body komplett */ #fiber-route-map { height: 100% !important; width: 100% !important; } /* Leaflet Controls besser positionieren im Fullscreen */ .modal-fullscreen-map .leaflet-control-zoom { margin-top: 10px; margin-left: 10px; } .modal-fullscreen-map .leaflet-control-attribution { font-size: 10px; } /* Legende im Fullscreen besser sichtbar */ .modal-fullscreen-map .legend { max-height: 80vh; overflow-y: auto; } .modal-backdrop { z-index: 100010 !important; } .modal { z-index: 100020 !important; } /* Damit auch deine neuen Tooltips/Popovers im Overlay sichtbar sind */ .popover { z-index: 100030 !important; } .fiber-path-schema-horizontal { font-family: Arial, sans-serif; padding: 10px; } .schema-flow-horizontal { display: flex; flex-direction: row; align-items: center; gap: 0; overflow-x: auto; padding: 20px; padding-top: 0; min-height: 150px; } .schema-node-horizontal { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; background: white; border: 3px solid #dee2e6; border-radius: 10px; min-width: 100px; min-height: 80px; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15); flex-shrink: 0; position: relative; } /* Station-Typen Farben */ .station-pop { border-color: #4caf50; background: linear-gradient(135deg, #f0fff0 0%, #e8f5e9 100%); } .station-distributor { border-color: #2196f3; background: linear-gradient(135deg, #f0f4ff 0%, #e3f2fd 100%); } .station-manhole { border-color: #ff9800; background: linear-gradient(135deg, #fff8f0 0%, #ffe0b2 100%); } .station-branch { border-color: #9c27b0; background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%); } .station-customer { border-color: #f44336; background: linear-gradient(135deg, #fff0f0 0%, #ffcdd2 100%); } .station-default { border-color: #607d8b; background: linear-gradient(135deg, #eceff1 0%, #cfd8dc 100%); } .schema-node-icon-horizontal { font-size: 28px; min-width: 40px; text-align: center; } .station-pop .schema-node-icon-horizontal { color: #4caf50; } .station-distributor .schema-node-icon-horizontal { color: #2196f3; } .station-manhole .schema-node-icon-horizontal { color: #ff9800; } .station-branch .schema-node-icon-horizontal { color: #9c27b0; } .station-customer .schema-node-icon-horizontal { color: #f44336; } .station-default .schema-node-icon-horizontal { color: #607d8b; } .schema-node-label-horizontal { text-align: center; font-size: 11px; line-height: 1.3; max-width: 120px; word-wrap: break-word; } .schema-node-label-horizontal strong { font-size: 12px; display: block; margin-bottom: 2px; } .schema-connection-horizontal { display: flex; align-items: center; position: relative; flex-shrink: 0; } .schema-line-horizontal { width: 130px; height: 4px; background-color: #6c757d; position: relative; border-top: 1px solid; border-bottom: 1px solid; } .schema-line-dashed-horizontal { background: repeating-linear-gradient( to right, transparent, transparent 5px, currentColor 5px, currentColor 10px ); height: 4px; } .schema-line-customer { background: repeating-linear-gradient( to right, #f44336, #f44336 3px, transparent 3px, transparent 6px ); } .schema-cable-label { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); background: white; padding: 4px 8px; border: 1px solid #dee2e6; border-radius: 4px; white-space: nowrap; font-size: 10px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); z-index: 10; } .schema-dropout-marker { position: absolute; top: -50px; display: flex; flex-direction: column; align-items: center; } .schema-dropout-icon { background: #ff9800; color: white; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); } .schema-dropout-label { margin-top: 5px; background: white; padding: 3px 8px; border: 1px solid #ff9800; border-radius: 3px; font-size: 9px; white-space: nowrap; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } .fiber-color-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 1px solid #666; margin-left: 5px; vertical-align: middle; } /* Scroll-Anzeige */ .schema-flow-horizontal::-webkit-scrollbar { height: 8px; } .schema-flow-horizontal::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; } .schema-flow-horizontal::-webkit-scrollbar-thumb { background: #888; border-radius: 4px; } .schema-flow-horizontal::-webkit-scrollbar-thumb:hover { background: #555; } .schema-station-clickable { transition: all 0.2s ease; } .schema-station-clickable:hover { transform: scale(1.1); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); } .schema-station-clickable:active { transform: scale(1.05); } /* Schema Container */ #fiber-route-schema { min-height: 150px; max-height: 30vh; } /* Popover Styling für Schema-Stationen */ .station-schema-popover { max-width: 400px; z-index: 9999; } .station-schema-popover .popover-body { padding: 12px; font-size: 12px; } /* Station Icons größer und schöner */ .schema-node-icon-horizontal { font-size: 24px; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: white; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .schema-node-horizontal:hover .schema-node-icon-horizontal { box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); } /* POP Styling */ .station-pop .schema-node-icon-horizontal { background: linear-gradient(135deg, #acf0ab 0%, #8fd88e 100%); border: 3px solid #6bbd68; } /* Branch Junction Styling */ .station-branch .schema-node-icon-horizontal { background: linear-gradient(135deg, #FF6B6B 0%, #ff5252 100%); border: 3px solid #ff3838; } /* Schacht Styling */ .station-manhole .schema-node-icon-horizontal { background: linear-gradient(135deg, #ffa726 0%, #ff9100 100%); border: 3px solid #ff8c00; } /* Verteiler Styling */ .station-distributor .schema-node-icon-horizontal { background: linear-gradient(135deg, #abbaf0 0%, #8fa3e8 100%); border: 3px solid #6b88e0; } /* Customer Styling */ .station-customer .schema-node-icon-horizontal { background: linear-gradient(135deg, #f0abab 0%, #ff9999 100%); border: 3px solid #ff7777; } /* Labels schöner gestalten */ .schema-node-label-horizontal { min-width: 100px; text-align: center; } .schema-node-label-horizontal strong { font-size: 11px; display: block; margin-bottom: 2px; } /* Kabel-Linien dicker und schöner */ .schema-line-horizontal { height: 6px !important; border-radius: 3px; position: relative; } /* Gestrichelte Linien für Branch-Kabel */ .schema-line-dashed-horizontal { background: repeating-linear-gradient( to right, currentColor, currentColor 20px, transparent 20px, transparent 28px ); background-size: 100% 6px !important; } /* Hausanschluss-Linie speziell */ .schema-line-horizontal[style*="repeating-linear-gradient"] { height: 5px !important; } /* Badge Styling */ .badge { font-size: 9px; padding: 2px 6px; vertical-align: middle; } /* Fiber Color Dot */ .fiber-color-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 1px solid #333; margin-left: 4px; vertical-align: middle; } /* Transition Info Box */ .schema-node-label-horizontal div[style*="border-left: 3px solid #dc3545"] { background: #fff3cd !important; border-left: 3px solid #dc3545 !important; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } .dataTables_wrapper .dataTables_filter { float: left !important; text-align: left !important; } /* Responsive */ @media (max-width: 768px) { .schema-node-icon-horizontal { font-size: 18px; width: 40px; height: 40px; } .schema-node-label-horizontal strong { font-size: 10px; } #fiber-route-schema { max-height: 40vh; } } .modal-rack-fullscreen { padding: 0 !important; } .modal-rack-fullscreen .modal-dialog { width: 100%; max-width: none; height: 100%; margin: 0; } .modal-rack-fullscreen .modal-content { height: 100%; border: 0; border-radius: 0; } .modal-rack-fullscreen .modal-body { overflow-y: auto; } #customRackOverlay { display: none; /* Standardmäßig ausgeblendet */ position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: white; z-index: 100000; /* Sehr hoch, damit es über allem liegt */ overflow-y: auto; padding: 20px; padding-top: 0; } .overlay-header { position: sticky; top: 0; background: white; z-index: 10; padding-bottom: 15px; border-bottom: 2px solid #dee2e6; margin-bottom: 20px; margin-top: 20px; display: flex; justify-content: space-between; align-items: center; } .overlayContent { width: 80%; margin-left: auto; margin-right: auto; box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.31); } .hide-if-narrow { display: none; } /* NEU: Im Overlay IMMER alles anzeigen und Umbrüche erlauben */ #customRackOverlay .hide-if-narrow { display: block !important; font-size: 10px; /* Lesbare Größe im Overlay */ } #customRackOverlay .cable-item { overflow: visible !important; white-space: normal !important; } #customRackOverlay .cable-description { white-space: normal !important; max-width: none !important; } #customRackOverlay .port-ranges-container { flex-direction: column !important; gap: 0 !important; }