514 lines
9.1 KiB
CSS
514 lines
9.1 KiB
CSS
/* GIS 모니터링 전용 스타일 */
|
|
|
|
/* 메인 컨테이너 */
|
|
#mapContainer {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
position: relative;
|
|
background: #1a1a1a;
|
|
}
|
|
|
|
/* 컨트롤 패널 */
|
|
.gis-control-panel {
|
|
position: absolute;
|
|
top: 10px;
|
|
left: 10px;
|
|
background: rgba(255, 255, 255, 0.98);
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
|
|
z-index: 1000;
|
|
max-width: 420px;
|
|
min-width: 360px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.gis-control-panel.collapsed {
|
|
padding: 10px;
|
|
min-width: auto;
|
|
}
|
|
|
|
.gis-control-panel.collapsed .panel-content {
|
|
display: none;
|
|
}
|
|
|
|
.panel-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.panel-toggle {
|
|
cursor: pointer;
|
|
padding: 5px;
|
|
border-radius: 4px;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.panel-toggle:hover {
|
|
background: #f0f0f0;
|
|
}
|
|
|
|
/* 맵 컨트롤 */
|
|
.map-controls {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
z-index: 1000;
|
|
background: rgba(255, 255, 255, 0.98);
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
|
|
width: 300px;
|
|
}
|
|
|
|
/* 트랙 정보 패널 */
|
|
.track-info-panel {
|
|
position: absolute;
|
|
top: 10px;
|
|
left: 450px;
|
|
width: 380px;
|
|
max-height: 450px;
|
|
background: rgba(255, 255, 255, 0.98);
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
overflow-y: auto;
|
|
display: none;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
|
|
z-index: 1001;
|
|
animation: slideIn 0.3s ease;
|
|
}
|
|
|
|
@keyframes slideIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(-20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
/* 선박 리스트 */
|
|
.vessel-list-section {
|
|
margin-top: 15px;
|
|
padding-top: 15px;
|
|
border-top: 1px solid #dee2e6;
|
|
max-height: 0;
|
|
overflow: hidden;
|
|
transition: max-height 0.3s ease;
|
|
}
|
|
|
|
.vessel-list-section.expanded {
|
|
max-height: 600px;
|
|
}
|
|
|
|
.vessel-item {
|
|
padding: 10px;
|
|
border-radius: 6px;
|
|
border: 1px solid #e0e0e0;
|
|
margin-bottom: 8px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
transition: all 0.2s;
|
|
background: white;
|
|
}
|
|
|
|
.vessel-item:hover {
|
|
background: #f8f9fa;
|
|
border-color: #007bff;
|
|
transform: translateX(2px);
|
|
}
|
|
|
|
.vessel-item.selected {
|
|
background: #e7f3ff;
|
|
border-color: #007bff;
|
|
box-shadow: 0 2px 4px rgba(0,123,255,0.2);
|
|
}
|
|
|
|
.vessel-checkbox {
|
|
margin-right: 12px;
|
|
width: 18px;
|
|
height: 18px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.vessel-info {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.vessel-info strong {
|
|
display: block;
|
|
margin-bottom: 2px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.vessel-info small {
|
|
color: #6c757d;
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
/* 정렬 컨트롤 */
|
|
.sort-controls {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
align-items: center;
|
|
padding: 8px;
|
|
background: #f8f9fa;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.sort-controls label {
|
|
font-size: 0.9em;
|
|
font-weight: 500;
|
|
color: #495057;
|
|
}
|
|
|
|
/* 필터 컨트롤 */
|
|
.filter-controls {
|
|
background: #f8f9fa;
|
|
padding: 15px;
|
|
border-radius: 6px;
|
|
margin-top: 12px;
|
|
border: 1px solid #e9ecef;
|
|
}
|
|
|
|
.filter-controls h6 {
|
|
margin-bottom: 12px;
|
|
color: #495057;
|
|
font-size: 0.95em;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.filter-range {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.filter-range input {
|
|
width: 80px;
|
|
}
|
|
|
|
/* Sequential Passage Panel */
|
|
.sequential-panel {
|
|
position: absolute;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
width: 400px;
|
|
background: rgba(255, 255, 255, 0.98);
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
|
|
z-index: 1001;
|
|
display: none;
|
|
animation: slideUp 0.3s ease;
|
|
}
|
|
|
|
@keyframes slideUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.zone-selector {
|
|
border: 2px dashed #dee2e6;
|
|
border-radius: 6px;
|
|
padding: 12px;
|
|
margin-bottom: 12px;
|
|
background: #fafafa;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.zone-selector.has-zones {
|
|
border-color: #007bff;
|
|
border-style: solid;
|
|
background: #f0f8ff;
|
|
}
|
|
|
|
.zone-tag {
|
|
display: inline-block;
|
|
background: #007bff;
|
|
color: white;
|
|
padding: 4px 10px;
|
|
border-radius: 20px;
|
|
margin: 3px;
|
|
font-size: 0.85em;
|
|
animation: fadeIn 0.2s;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; transform: scale(0.8); }
|
|
to { opacity: 1; transform: scale(1); }
|
|
}
|
|
|
|
.zone-tag .remove-zone {
|
|
margin-left: 6px;
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.zone-tag .remove-zone:hover {
|
|
color: #ffcccc;
|
|
}
|
|
|
|
/* 범례 */
|
|
.legend {
|
|
position: absolute;
|
|
bottom: 20px;
|
|
left: 20px;
|
|
background: rgba(255, 255, 255, 0.98);
|
|
padding: 18px;
|
|
border-radius: 8px;
|
|
font-size: 13px;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
|
|
z-index: 1002;
|
|
}
|
|
|
|
.legend h6 {
|
|
margin-bottom: 12px;
|
|
font-size: 0.95em;
|
|
font-weight: 600;
|
|
color: #333;
|
|
}
|
|
|
|
.legend-item {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 8px 0;
|
|
}
|
|
|
|
.legend-color {
|
|
width: 24px;
|
|
height: 24px;
|
|
margin-right: 10px;
|
|
border-radius: 4px;
|
|
border: 1px solid #333;
|
|
}
|
|
|
|
.legend-gradient {
|
|
width: 220px;
|
|
height: 24px;
|
|
margin: 12px 0;
|
|
background: linear-gradient(to right,
|
|
#e0e0e0 0%,
|
|
#90EE90 25%,
|
|
#FFD700 50%,
|
|
#FFA500 75%,
|
|
#FF4500 100%);
|
|
border: 1px solid #333;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.legend-labels {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 11px;
|
|
margin-top: 6px;
|
|
color: #666;
|
|
}
|
|
|
|
/* 로딩 오버레이 */
|
|
.loading-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 9999;
|
|
backdrop-filter: blur(2px);
|
|
}
|
|
|
|
.loading-spinner {
|
|
color: white;
|
|
font-size: 48px;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
from { transform: rotate(0deg); }
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
.loading-text {
|
|
color: white;
|
|
margin-top: 15px;
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
/* 컨텍스트 메뉴 */
|
|
.context-menu {
|
|
position: absolute;
|
|
background: white;
|
|
border: 1px solid #ddd;
|
|
border-radius: 6px;
|
|
padding: 0;
|
|
margin: 0;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
|
|
z-index: 10000;
|
|
display: none;
|
|
min-width: 180px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.context-menu-item {
|
|
padding: 10px 16px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.context-menu-item:hover {
|
|
background: #f0f8ff;
|
|
}
|
|
|
|
.context-menu-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.context-menu-item.disabled {
|
|
color: #999;
|
|
cursor: not-allowed;
|
|
background: #f8f8f8;
|
|
}
|
|
|
|
.context-menu-item.disabled:hover {
|
|
background: #f8f8f8;
|
|
}
|
|
|
|
.context-menu-item i {
|
|
width: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* 툴팁 */
|
|
.vessel-tooltip {
|
|
position: absolute;
|
|
background: rgba(255, 255, 255, 0.98);
|
|
padding: 12px;
|
|
border-radius: 6px;
|
|
font-size: 13px;
|
|
pointer-events: none;
|
|
z-index: 9999;
|
|
max-width: 320px;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
|
|
border: 1px solid #e0e0e0;
|
|
}
|
|
|
|
/* 선택 카운트 배지 */
|
|
.selected-count {
|
|
background: #007bff;
|
|
color: white;
|
|
padding: 2px 10px;
|
|
border-radius: 12px;
|
|
font-size: 12px;
|
|
margin-left: 10px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* 액션 버튼 그룹 */
|
|
.action-buttons {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.action-buttons .btn {
|
|
flex: 1;
|
|
font-size: 0.9em;
|
|
padding: 6px 10px;
|
|
}
|
|
|
|
/* 검색 결과 */
|
|
#sequentialResults {
|
|
margin-top: 15px;
|
|
max-height: 320px;
|
|
overflow-y: auto;
|
|
border: 1px solid #e0e0e0;
|
|
border-radius: 6px;
|
|
padding: 10px;
|
|
}
|
|
|
|
#sequentialResults .vessel-item {
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
/* 반응형 개선 */
|
|
@media (max-width: 1400px) {
|
|
.track-info-panel {
|
|
left: 10px;
|
|
top: 280px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.gis-control-panel,
|
|
.map-controls,
|
|
.track-info-panel,
|
|
.sequential-panel {
|
|
position: fixed;
|
|
width: calc(100% - 20px);
|
|
left: 10px;
|
|
right: 10px;
|
|
}
|
|
|
|
.sequential-panel {
|
|
bottom: 10px;
|
|
}
|
|
}
|
|
|
|
/* 개선된 스크롤바 */
|
|
.vessel-list-content::-webkit-scrollbar,
|
|
#sequentialResults::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
|
|
.vessel-list-content::-webkit-scrollbar-track,
|
|
#sequentialResults::-webkit-scrollbar-track {
|
|
background: #f1f1f1;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.vessel-list-content::-webkit-scrollbar-thumb,
|
|
#sequentialResults::-webkit-scrollbar-thumb {
|
|
background: #888;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.vessel-list-content::-webkit-scrollbar-thumb:hover,
|
|
#sequentialResults::-webkit-scrollbar-thumb:hover {
|
|
background: #555;
|
|
}
|
|
|
|
/* 포커스 스타일 */
|
|
input:focus,
|
|
select:focus,
|
|
button:focus {
|
|
outline: none;
|
|
box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
|
|
}
|
|
|
|
/* 트랜지션 개선 */
|
|
* {
|
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
} |