Semi working map cuts view; need to refactor and fix some stuff however stable enough to commit
This commit is contained in:
@@ -994,3 +994,248 @@
|
||||
color: #666;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
/* Cut Location Management Styles */
|
||||
.cuts-location-section {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.location-filters {
|
||||
background: #f8f9fa;
|
||||
padding: 15px;
|
||||
border-radius: 8px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.location-filters h4 {
|
||||
margin: 0 0 15px 0;
|
||||
color: #495057;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.filter-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 15px;
|
||||
align-items: end;
|
||||
}
|
||||
|
||||
.filter-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 150px;
|
||||
}
|
||||
|
||||
.filter-group label {
|
||||
font-size: 12px;
|
||||
color: #6c757d;
|
||||
margin-bottom: 5px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.filter-group .form-control {
|
||||
padding: 6px 10px;
|
||||
font-size: 14px;
|
||||
border: 1px solid #dee2e6;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.filter-group button {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Cut Statistics Styles */
|
||||
.cut-statistics {
|
||||
background: #e9ecef;
|
||||
padding: 15px;
|
||||
border-radius: 8px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.cut-statistics h4 {
|
||||
margin: 0 0 15px 0;
|
||||
color: #495057;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.stats-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.stat-item {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 8px 12px;
|
||||
background: white;
|
||||
border-radius: 4px;
|
||||
border-left: 4px solid #007bff;
|
||||
}
|
||||
|
||||
.stat-label {
|
||||
font-size: 14px;
|
||||
color: #6c757d;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.stat-value {
|
||||
font-size: 14px;
|
||||
color: #212529;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* Cut Settings Styles */
|
||||
.cut-settings {
|
||||
background: #f1f3f4;
|
||||
padding: 15px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.cut-settings h4 {
|
||||
margin: 0 0 15px 0;
|
||||
color: #495057;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.setting-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 15px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.setting-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 150px;
|
||||
}
|
||||
|
||||
.setting-group label {
|
||||
font-size: 14px;
|
||||
color: #495057;
|
||||
margin-bottom: 5px;
|
||||
font-weight: 500;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.setting-group input[type="checkbox"] {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.setting-group input[type="text"],
|
||||
.setting-group input[type="number"] {
|
||||
padding: 6px 10px;
|
||||
font-size: 14px;
|
||||
border: 1px solid #dee2e6;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.setting-group span {
|
||||
font-size: 14px;
|
||||
color: #6c757d;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
/* Button States for Location Management */
|
||||
#toggle-location-visibility.active {
|
||||
background-color: #28a745;
|
||||
border-color: #28a745;
|
||||
}
|
||||
|
||||
#toggle-location-visibility.inactive {
|
||||
background-color: #6c757d;
|
||||
border-color: #6c757d;
|
||||
}
|
||||
|
||||
/* Responsive Design */
|
||||
@media (max-width: 768px) {
|
||||
.filter-row {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.filter-group {
|
||||
min-width: 100%;
|
||||
}
|
||||
|
||||
.setting-row {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.setting-group {
|
||||
min-width: 100%;
|
||||
}
|
||||
|
||||
.stats-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
/* Enhanced panel styling for location management */
|
||||
.cuts-location-section .panel-header {
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cuts-location-section .panel-title {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cuts-location-section .btn-sm {
|
||||
font-size: 12px;
|
||||
padding: 4px 8px;
|
||||
}
|
||||
|
||||
/* Print View Styles */
|
||||
@media print {
|
||||
.cuts-location-section {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
.location-filters,
|
||||
.cut-settings {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.cut-statistics {
|
||||
border: 1px solid #000;
|
||||
background: white !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Print-specific map styles */
|
||||
@media screen {
|
||||
.leaflet-container img {
|
||||
max-width: none !important;
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
.leaflet-tile-pane {
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
.leaflet-overlay-pane {
|
||||
opacity: 1 !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Ensure tiles are visible during capture */
|
||||
.leaflet-tile {
|
||||
opacity: 1 !important;
|
||||
visibility: visible !important;
|
||||
}
|
||||
|
||||
.leaflet-container .leaflet-tile-pane {
|
||||
z-index: 1 !important;
|
||||
}
|
||||
|
||||
.leaflet-container .leaflet-overlay-pane {
|
||||
z-index: 2 !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user