-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobals.css
More file actions
162 lines (131 loc) · 3.41 KB
/
globals.css
File metadata and controls
162 lines (131 loc) · 3.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--background: 120 33% 98%; /* Light mint background */
--foreground: 122 47% 11%;
--card: 0 0% 100%;
--card-foreground: 122 47% 11%;
--popover: 0 0% 100%;
--popover-foreground: 122 47% 11%;
--primary: 122 52% 53%; /* Base green #4ac453 */
--primary-foreground: 0 0% 100%;
--secondary: 122 14% 96%;
--secondary-foreground: 122 47% 11%;
--muted: 122 14% 96%;
--muted-foreground: 122 9% 46%;
--accent: 122 52% 53%;
--accent-foreground: 0 0% 100%;
--destructive: 0 84% 60%;
--destructive-foreground: 210 40% 98%;
--border: 122 13% 91%;
--input: 122 13% 91%;
--ring: 122 52% 53%;
--radius: 0.5rem;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
}
}
/* Message styles */
.message {
@apply p-4 rounded-lg mb-2;
}
.message-user {
@apply bg-secondary text-foreground;
}
.message-system {
@apply bg-primary/5 text-foreground;
}
/* Custom styles for leaflet */
.leaflet-container {
width: 100%;
height: 100%;
background-color: rgb(248, 250, 248);
}
.leaflet-control-zoom {
border: none !important;
background-color: hsl(0, 0%, 100%) !important;
backdrop-filter: blur(8px);
border-radius: 8px !important;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}
.leaflet-control-zoom a {
width: 36px !important;
height: 36px !important;
line-height: 36px !important;
border-radius: 6px !important;
color: hsl(122, 52%, 53%) !important; /* Base green */
border: 1px solid rgba(74, 196, 83, 0.1) !important;
transition: all 0.2s ease-in-out;
}
.leaflet-control-zoom a:hover {
background-color: rgba(74, 196, 83, 0.1) !important;
color: hsl(122, 52%, 53%) !important;
}
.leaflet-control-attribution {
background-color: rgba(255, 255, 255, 0.9) !important;
backdrop-filter: blur(8px);
color: hsl(122, 9%, 46%) !important;
border-radius: 4px;
font-size: 11px;
padding: 4px 8px;
}
.leaflet-control-attribution a {
color: hsl(122, 52%, 53%) !important;
text-decoration: underline;
}
/* Mapbox attribution control styles */
.mapboxgl-ctrl-bottom-left {
left: 5px !important;
bottom: 5px !important;
}
.mapboxgl-ctrl-attrib {
min-width: 20px !important;
max-width: fit-content !important;
padding: 2px 5px !important;
font-size: 10px !important;
background-color: rgba(255, 255, 255, 0.7) !important;
backdrop-filter: blur(8px);
border-radius: 4px !important;
transition: all 0.2s ease-in-out;
}
.mapboxgl-ctrl-attrib.mapboxgl-compact-show {
background-color: rgba(255, 255, 255, 0.9) !important;
}
.mapboxgl-ctrl-attrib-inner {
padding: 0 !important;
}
/* Hide any default Mapbox attributions */
.mapboxgl-ctrl-attrib-inner a {
display: none !important;
}
/* Only show our custom attribution */
.mapboxgl-ctrl-attrib-inner > *:not(a) {
display: inline-block !important;
color: hsl(122, 9%, 46%) !important;
}
.mapboxgl-ctrl-attrib-button {
width: 20px !important;
height: 20px !important;
padding: 2px !important;
opacity: 0.7;
transition: opacity 0.2s ease-in-out;
}
.mapboxgl-ctrl-attrib-button:hover {
opacity: 1;
background-color: rgba(74, 196, 83, 0.1) !important;
}
.mapboxgl-ctrl-attrib a {
color: hsl(122, 52%, 53%) !important;
text-decoration: none;
}
.mapboxgl-ctrl-attrib a:hover {
text-decoration: underline;
}