Add crop zoning feature with localization support and new dependencies

- Introduced crop zoning functionality, including a new section in the navigation menu.
- Added Persian translations for crop zoning-related UI elements.
- Updated package.json and package-lock.json to include new dependencies: @mapbox/mapbox-gl-draw and various @turf packages for geospatial calculations.
- Enhanced global styles for crop zoning tooltips to improve user experience.
This commit is contained in:
2026-02-20 22:15:34 +03:30
parent 890599b0e7
commit f27145092f
14 changed files with 1102 additions and 0 deletions
+15
View File
@@ -62,6 +62,21 @@ ul:not([class]) {
pointer-events: none;
}
/* Crop zoning map tooltip - glassmorphism */
.zone-tooltip {
background: rgba(255, 255, 255, 0.9) !important;
backdrop-filter: blur(8px);
border: 1px solid rgba(255, 255, 255, 0.5);
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
padding: 0 !important;
margin: 0 !important;
}
[data-dark] .zone-tooltip {
background: rgba(30, 35, 50, 0.95) !important;
border-color: rgba(255, 255, 255, 0.1);
}
.ps__rail-y {
inset-inline-end: 0 !important;
inset-inline-start: auto !important;