Vision_Meta0 / DeploymentMap.css
lattmamb's picture
Upload 32 files
b33d337 verified
/* Deployment Map Styles */
.deployment-map {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
max-width: 1200px;
margin: 0 auto;
background-color: #0B0B0F;
color: #ffffff;
min-height: 100vh;
position: relative;
}
/* Loading Screen */
.deployment-map.loading {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
}
.loading-logo {
width: 150px;
height: 150px;
margin-bottom: 20px;
position: relative;
}
.loading-logo img {
width: 100%;
height: 100%;
object-fit: contain;
}
.loading-pulse {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-radius: 50%;
border: 2px solid #00E0FF;
animation: pulse 1.5s infinite ease-in-out;
}
@keyframes pulse {
0% {
transform: scale(0.95);
opacity: 1;
}
70% {
transform: scale(1.2);
opacity: 0;
}
100% {
transform: scale(0.95);
opacity: 0;
}
}
/* Header */
.map-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
background-color: rgba(20, 20, 30, 0.8);
backdrop-filter: blur(10px);
position: sticky;
top: 0;
z-index: 100;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.map-title {
display: flex;
flex-direction: column;
}
.map-title h1 {
margin: 0;
font-size: 28px;
font-weight: 700;
background: linear-gradient(90deg, #00E0FF, #35F2DB);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
letter-spacing: 1px;
}
.map-subtitle {
font-size: 14px;
opacity: 0.7;
}
/* Navigation */
.map-navigation {
display: flex;
gap: 2px;
background-color: rgba(20, 20, 30, 0.5);
padding: 0 20px;
overflow-x: auto;
scrollbar-width: none;
}
.map-navigation::-webkit-scrollbar {
display: none;
}
.nav-button {
padding: 16px 20px;
background: transparent;
border: none;
color: white;
font-size: 16px;
cursor: pointer;
position: relative;
white-space: nowrap;
}
.nav-button.active {
color: #00E0FF;
}
.nav-button.active::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 3px;
background: linear-gradient(90deg, #00E0FF, #35F2DB);
border-radius: 3px 3px 0 0;
}
/* Main Content */
.map-content {
padding: 20px;
min-height: calc(100vh - 200px);
}
/* Map Container */
.map-container {
position: relative;
background: rgba(255, 255, 255, 0.05);
border-radius: 16px;
padding: 20px;
border: 1px solid rgba(0, 224, 255, 0.1);
margin-bottom: 20px;
}
.illinois-map {
position: relative;
width: 100%;
height: 600px;
overflow: hidden;
border-radius: 8px;
background-color: rgba(0, 0, 0, 0.2);
}
.map-image {
width: 100%;
height: 100%;
object-fit: contain;
}
.map-marker {
position: absolute;
width: 16px;
height: 16px;
border-radius: 50%;
transform: translate(-50%, -50%);
cursor: pointer;
z-index: 10;
}
.map-marker::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-radius: 50%;
background-color: currentColor;
}
.map-marker.planned {
color: #00E0FF;
}
.map-marker.future {
color: #FFC107;
}
.map-marker.urban {
border: 2px solid rgba(255, 255, 255, 0.7);
}
.map-marker.corridor {
border: 2px solid rgba(255, 255, 255, 0.4);
}
.map-marker.selected {
width: 20px;
height: 20px;
z-index: 20;
box-shadow: 0 0 0 4px rgba(0, 224, 255, 0.3);
}
.marker-pulse {
position: absolute;
top: -4px;
left: -4px;
right: -4px;
bottom: -4px;
border-radius: 50%;
background-color: currentColor;
opacity: 0.3;
animation: markerPulse 2s infinite;
}
@keyframes markerPulse {
0% {
transform: scale(1);
opacity: 0.3;
}
70% {
transform: scale(1.5);
opacity: 0;
}
100% {
transform: scale(1);
opacity: 0;
}
}
.marker-label {
position: absolute;
top: -30px;
left: 50%;
transform: translateX(-50%);
background-color: rgba(0, 0, 0, 0.7);
color: white;
padding: 4px 8px;
border-radius: 4px;
font-size: 12px;
white-space: nowrap;
pointer-events: none;
}
.location-detail-popup {
position: absolute;
transform: translate(-50%, -120%);
background-color: rgba(20, 20, 30, 0.9);
backdrop-filter: blur(10px);
border-radius: 8px;
padding: 15px;
border: 1px solid rgba(0, 224, 255, 0.3);
min-width: 200px;
z-index: 30;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.location-detail-popup h4 {
margin: 0 0 10px 0;
font-size: 16px;
font-weight: 600;
color: #00E0FF;
}
.detail-item {
display: flex;
justify-content: space-between;
margin-bottom: 8px;
}
.detail-label {
font-size: 12px;
opacity: 0.7;
}
.detail-value {
font-size: 12px;
font-weight: 600;
}
.detail-value.planned {
color: #00E0FF;
}
.detail-value.future {
color: #FFC107;
}
.close-popup {
position: absolute;
top: 8px;
right: 8px;
background: none;
border: none;
color: white;
font-size: 16px;
cursor: pointer;
opacity: 0.7;
}
.close-popup:hover {
opacity: 1;
}
/* Map Controls */
.map-controls {
display: flex;
justify-content: space-between;
margin-top: 20px;
flex-wrap: wrap;
gap: 10px;
}
.zoom-controls, .view-controls {
display: flex;
gap: 5px;
}
.zoom-button, .view-button {
background-color: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 4px;
padding: 8px 12px;
color: white;
font-size: 14px;
cursor: pointer;
transition: all 0.2s ease;
}
.zoom-button:hover, .view-button:hover {
background-color: rgba(0, 224, 255, 0.1);
}
.zoom-button.active, .view-button.active {
background-color: rgba(0, 224, 255, 0.2);
border-color: #00E0FF;
color: #00E0FF;
}
/* Map Legend */
.map-legend {
background-color: rgba(20, 20, 30, 0.7);
backdrop-filter: blur(10px);
border-radius: 8px;
padding: 15px;
border: 1px solid rgba(255, 255, 255, 0.1);
position: absolute;
bottom: 20px;
right: 20px;
z-index: 20;
}
.map-legend h4 {
margin: 0 0 10px 0;
font-size: 14px;
font-weight: 600;
}
.legend-items {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 8px;
}
.legend-item {
display: flex;
align-items: center;
gap: 8px;
font-size: 12px;
}
.legend-marker {
width: 12px;
height: 12px;
border-radius: 50%;
position: relative;
}
.legend-marker.planned {
background-color: #00E0FF;
}
.legend-marker.future {
background-color: #FFC107;
}
.legend-marker.urban {
background-color: rgba(255, 255, 255, 0.7);
border: 2px solid rgba(255, 255, 255, 0.7);
}
.legend-marker.corridor {
background-color: rgba(255, 255, 255, 0.4);
border: 2px solid rgba(255, 255, 255, 0.4);
}
/* Deployment Phases */
.deployment-phases {
background: rgba(255, 255, 255, 0.05);
border-radius: 16px;
padding: 20px;
border: 1px solid rgba(0, 224, 255, 0.1);
}
.phase-tabs {
display: flex;
gap: 5px;
margin-bottom: 20px;
overflow-x: auto;
scrollbar-width: none;
}
.phase-tabs::-webkit-scrollbar {
display: none;
}
.phase-tab {
background-color: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
padding: 10px 15px;
color: white;
font-size: 14px;
cursor: pointer;
transition: all 0.2s ease;
white-space: nowrap;
}
.phase-tab:hover {
background-color: rgba(0, 224, 255, 0.1);
}
.phase-tab.active {
background-color: rgba(0, 224, 255, 0.2);
border-color: #00E0FF;
color: #00E0FF;
}
.phase-tab.planning {
border-color: rgba(0, 224, 255, 0.3);
}
.phase-tab.future {
border-color: rgba(255, 193, 7, 0.3);
}
.phase-details {
animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.phase-header {
display: flex;
align-items: center;
gap: 15px;
margin-bottom: 20px;
flex-wrap: wrap;
}
.phase-header h3 {
margin: 0;
font-size: 24px;
font-weight: 600;
}
.phase-timeline {
background-color: rgba(255, 255, 255, 0.1);
padding: 6px 12px;
border-radius: 20px;
font-size: 14px;
}
.phase-status {
padding: 6px 12px;
border-radius: 20px;
font-size: 14px;
font-weight: 600;
}
.phase-status.planning {
background-color: rgba(0, 224, 255, 0.2);
color: #00E0FF;
}
.phase-status.future {
background-color: rgba(255, 193, 7, 0.2);
color: #FFC107;
}
.phase-metrics {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 15px;
margin-bottom: 30px;
}
.metric-card {
background-color: rgba(255, 255, 255, 0.05);
border-radius: 12px;
padding: 15px;
text-align: center;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.metric-value {
font-size: 28px;
font-weight: 700;
margin-bottom: 5px;
background: linear-gradient(90deg, #00E0FF, #35F2DB);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.metric-label {
font-size: 14px;
opacity: 0.7;
}
.location-list {
margin-top: 20px;
}
.location-list h4 {
margin: 0 0 15px 0;
font-size: 18px;
font-weight: 600;
}
.location-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 15px;
}
.location-card {
background-color: rgba(255, 255, 255, 0.05);
border-radius: 10px;
padding: 15px;
border: 1px solid rgba(255, 255, 255, 0.1);
cursor: pointer;
transition: all 0.2s ease;
}
.location-card:hover {
background-color: rgba(0, 224, 255, 0.1);
transform: translateY(-3px);
}
.location-card.selected {
border-color: #00E0FF;
background-color: rgba(0, 224, 255, 0.1);
}
.location-name {
font-size: 16px;
font-weight: 600;
margin-bottom: 5px;
}
.location-type {
font-size: 12px;
opacity: 0.7;
margin-bottom: 8px;
}
.location-capacity {
font-size: 14px;
color: #00E0FF;
}
/* Demographics Tab */
.demographics-tab {
display: flex;
flex-direction: column;
gap: 30px;
}
.demographics-section {
background: rgba(255, 255, 255, 0.05);
border-radius: 16px;
padding: 20px;
border: 1px solid rgba(0, 224, 255, 0.1);
}
.demographics-section h3 {
margin: 0 0 20px 0;
font-size: 20px;
font-weight: 600;
}
.county-chart {
width: 100%;
overflow-x: auto;
}
.chart-header {
display: flex;
background-color: rgba(0, 0, 0, 0.2);
padding: 10px;
border-radius: 8px 8px 0 0;
font-weight: 600;
font-size: 14px;
}
.chart-row {
display: flex;
padding: 10px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.chart-row:last-child {
border-bottom: none;
}
.chart-row:nth-child(even) {
background-color: rgba(255, 255, 255, 0.02);
}
.chart-column {
padding: 0 10px;
font-size: 14px;
}
.chart-column.county {
width: 120px;
flex-shrink: 0;
}
.chart-column.population {
width: 120px;
flex-shrink: 0;
text-align: right;
}
.chart-column.adoption {
flex: 1;
min-width: 200px;
}
.chart-column.stations {
width: 80px;
flex-shrink: 0;
text-align: center;
}
.adoption-bar-container {
height: 20px;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 10px;
position: relative;
overflow: hidden;
}
.adoption-bar {
height: 100%;
background: linear-gradient(90deg, #00E0FF, #35F2DB);
border-radius: 10px;
}
.adoption-value {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
font-size: 12px;
font-weight: 600;
}
.projection-chart {
height: 300px;
position: relative;
padding: 20px 0 40px 0;
}
.projection-bars {
display: flex;
justify-content: space-around;
align-items: flex-end;
height: 100%;
}
.projection-bar-container {
display: flex;
flex-direction: column;
align-items: center;
height: 100%;
width: 60px;
}
.projection-year {
margin-bottom: 10px;
font-size: 14px;
}
.projection-bar-wrapper {
width: 40px;
height: 80%;
display: flex;
align-items: flex-end;
}
.projection-bar {
width: 100%;
background: linear-gradient(180deg, #00E0FF, #35F2DB);
border-radius: 4px 4px 0 0;
transition: height 0.5s ease;
}
.projection-value {
margin-top: 10px;
font-size: 14px;
font-weight: 600;
color: #00E0FF;
}
.projection-axis {
position: absolute;
bottom: 0;
left: 0;
right: 0;
text-align: center;
}
.axis-label {
font-size: 14px;
opacity: 0.7;
}
.projection-notes {
margin-top: 20px;
font-size: 14px;
opacity: 0.8;
line-height: 1.5;
}
/* Impact Metrics Tab */
.impact-metrics-tab {
display: flex;
flex-direction: column;
gap: 30px;
}
.impact-section {
background: rgba(255, 255, 255, 0.05);
border-radius: 16px;
padding: 20px;
border: 1px solid rgba(0, 224, 255, 0.1);
}
.impact-section.economic {
border-color: rgba(0, 224, 255, 0.2);
}
.impact-section.environmental {
border-color: rgba(53, 242, 219, 0.2);
}
.impact-section.social {
border-color: rgba(255, 193, 7, 0.2);
}
.impact-section h3 {
margin: 0 0 20px 0;
font-size: 20px;
font-weight: 600;
}
.impact-metrics {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
}
.impact-metric {
background-color: rgba(255, 255, 255, 0.05);
border-radius: 12px;
padding: 20px;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
}
.impact-icon {
font-size: 28px;
margin-bottom: 10px;
}
.impact-value {
font-size: 28px;
font-weight: 700;
margin-bottom: 5px;
background: linear-gradient(90deg, #00E0FF, #35F2DB);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.impact-label {
font-size: 14px;
font-weight: 600;
margin-bottom: 10px;
}
.impact-description {
font-size: 12px;
opacity: 0.7;
line-height: 1.5;
}
/* Footer */
.map-footer {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
background-color: rgba(20, 20, 30, 0.8);
border-top: 1px solid rgba(255, 255, 255, 0.1);
margin-top: 30px;
}
.footer-info {
display: flex;
flex-direction: column;
gap: 5px;
}
.footer-info span {
font-size: 12px;
opacity: 0.7;
}
.footer-actions {
display: flex;
gap: 10px;
}
.footer-button {
background-color: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(0, 224, 255, 0.2);
border-radius: 6px;
padding: 8px 12px;
color: white;
font-size: 12px;
cursor: pointer;
transition: all 0.2s ease;
}
.footer-button:hover {
background-color: rgba(0, 224, 255, 0.1);
}
/* Responsive Adjustments */
@media (max-width: 768px) {
.map-header {
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
.illinois-map {
height: 400px;
}
.map-controls {
flex-direction: column;
gap: 10px;
}
.zoom-controls, .view-controls {
width: 100%;
justify-content: space-between;
}
.map-legend {
position: relative;
bottom: auto;
right: auto;
margin-top: 20px;
}
.phase-header {
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
.impact-metrics {
grid-template-columns: 1fr;
}
.map-footer {
flex-direction: column;
gap: 15px;
}
.footer-actions {
width: 100%;
justify-content: space-between;
}
}