Initial commit of project without large files

This commit is contained in:
2025-12-29 15:45:02 +05:30
parent 82ad17a88a
commit 2a58e4af62
79 changed files with 26524 additions and 0 deletions

30
src/styles/IndiaMap.css Normal file
View File

@@ -0,0 +1,30 @@
.state {
fill: #e2e8f0; /* Default gray */
stroke: #ffffff;
stroke-width: 1;
transition: fill 0.3s ease;
}
.state.highlighted {
fill: #2563eb; /* Blue for highlighted states */
}
.state:hover {
fill: #1e40af; /* Darker blue on hover */
}
/* Mobile view - scale down the entire SVG map container */
@media (max-width: 767px) {
/* Assuming your ComposableMap SVG has a wrapper with class 'map-wrapper' */
.map-wrapper {
transform: scale(0.3); /* scale down to 30% size */
transform-origin: top left; /* anchor scaling to top-left */
width: 100%; /* keep full container width */
height: auto;
}
/* Optionally adjust .state stroke width on mobile */
.state {
stroke-width: 0.7;
}
}