Spaces:
Running
Running
Update frontend/styles.css
Browse files- frontend/styles.css +189 -261
frontend/styles.css
CHANGED
@@ -1,261 +1,189 @@
|
|
1 |
-
@keyframes gradientBG {
|
2 |
-
0% {
|
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 |
-
.landing h1 {
|
33 |
-
font-size:
|
34 |
-
font-weight: 700;
|
35 |
-
margin-bottom:
|
36 |
-
}
|
37 |
-
|
38 |
-
.landing p {
|
39 |
-
font-size: 1.
|
40 |
-
font-weight: 400;
|
41 |
-
max-width:
|
42 |
-
padding: 0
|
43 |
-
margin:
|
44 |
-
}
|
45 |
-
|
46 |
-
.container {
|
47 |
-
padding:
|
48 |
-
background-color: rgba(255, 255, 255, 0.1);
|
49 |
-
border-radius:
|
50 |
-
box-shadow: 0
|
51 |
-
transition: all .3s ease-in-out;
|
52 |
-
margin:
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
background-color: rgba(255, 255, 255, 0.1);
|
62 |
-
border: none;
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
}
|
79 |
-
|
80 |
-
.btn-
|
81 |
-
background: linear-gradient(to right, #
|
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 |
-
padding: 0
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
padding:
|
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 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
}
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
}
|
190 |
-
|
191 |
-
/* Add or modify these styles at the end of the file */
|
192 |
-
#selectedImagesContainer {
|
193 |
-
background-color: rgba(255, 255, 255, 0.1);
|
194 |
-
border-radius: 12px;
|
195 |
-
padding: 15px;
|
196 |
-
margin-bottom: 20px;
|
197 |
-
color: #fff;
|
198 |
-
display: flex;
|
199 |
-
flex-wrap: wrap;
|
200 |
-
gap: 10px;
|
201 |
-
justify-content: center;
|
202 |
-
}
|
203 |
-
|
204 |
-
#selectedImagesContainer h3 {
|
205 |
-
width: 100%;
|
206 |
-
margin-top: 0;
|
207 |
-
margin-bottom: 10px;
|
208 |
-
color: #fff;
|
209 |
-
}
|
210 |
-
|
211 |
-
#selectedImagesContainer img {
|
212 |
-
width: 150px;
|
213 |
-
height: 150px;
|
214 |
-
object-fit: cover;
|
215 |
-
cursor: pointer;
|
216 |
-
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
217 |
-
border-radius: 8px;
|
218 |
-
}
|
219 |
-
|
220 |
-
#selectedImagesContainer img:hover {
|
221 |
-
transform: scale(1.05);
|
222 |
-
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
223 |
-
}
|
224 |
-
|
225 |
-
.image-dialog {
|
226 |
-
position: fixed;
|
227 |
-
top: 0;
|
228 |
-
left: 0;
|
229 |
-
width: 100%;
|
230 |
-
height: 100%;
|
231 |
-
background-color: rgba(0, 0, 0, 0.8);
|
232 |
-
display: flex;
|
233 |
-
flex-direction: column;
|
234 |
-
justify-content: center;
|
235 |
-
align-items: center;
|
236 |
-
z-index: 1000;
|
237 |
-
}
|
238 |
-
|
239 |
-
.image-dialog img {
|
240 |
-
max-width: 90%;
|
241 |
-
max-height: 80%;
|
242 |
-
object-fit: contain;
|
243 |
-
border-radius: 8px;
|
244 |
-
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
245 |
-
}
|
246 |
-
|
247 |
-
.image-dialog button {
|
248 |
-
margin-top: 20px;
|
249 |
-
padding: 10px 20px;
|
250 |
-
background-color: #007bff;
|
251 |
-
color: white;
|
252 |
-
border: none;
|
253 |
-
border-radius: 5px;
|
254 |
-
cursor: pointer;
|
255 |
-
font-size: 16px;
|
256 |
-
transition: background-color 0.3s ease;
|
257 |
-
}
|
258 |
-
|
259 |
-
.image-dialog button:hover {
|
260 |
-
background-color: #0056b3;
|
261 |
-
}
|
|
|
1 |
+
@keyframes gradientBG {
|
2 |
+
0% { background-position: 0 50%; }
|
3 |
+
50% { background-position: 100% 50%; }
|
4 |
+
100% { background-position: 0 50%; }
|
5 |
+
}
|
6 |
+
|
7 |
+
html {
|
8 |
+
scroll-behavior: smooth;
|
9 |
+
font-size: 16px;
|
10 |
+
}
|
11 |
+
|
12 |
+
body {
|
13 |
+
font-family: 'Montserrat', sans-serif;
|
14 |
+
color: #fff;
|
15 |
+
line-height: 1.6;
|
16 |
+
background-color: #1e272e;
|
17 |
+
margin: 0;
|
18 |
+
padding: 0;
|
19 |
+
min-height: 100vh;
|
20 |
+
}
|
21 |
+
|
22 |
+
/* Mobile-first approach */
|
23 |
+
.landing {
|
24 |
+
display: flex;
|
25 |
+
justify-content: center;
|
26 |
+
align-items: center;
|
27 |
+
min-height: 100vh;
|
28 |
+
text-align: center;
|
29 |
+
padding: 1rem;
|
30 |
+
}
|
31 |
+
|
32 |
+
.landing h1 {
|
33 |
+
font-size: 2rem;
|
34 |
+
font-weight: 700;
|
35 |
+
margin-bottom: 1.5rem;
|
36 |
+
}
|
37 |
+
|
38 |
+
.landing p {
|
39 |
+
font-size: 1.1rem;
|
40 |
+
font-weight: 400;
|
41 |
+
max-width: 100%;
|
42 |
+
padding: 0 1rem;
|
43 |
+
margin: 0 auto 1.5rem auto;
|
44 |
+
}
|
45 |
+
|
46 |
+
.container {
|
47 |
+
padding: 1rem;
|
48 |
+
background-color: rgba(255, 255, 255, 0.1);
|
49 |
+
border-radius: 8px;
|
50 |
+
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
|
51 |
+
transition: all .3s ease-in-out;
|
52 |
+
margin: 1rem auto;
|
53 |
+
width: calc(100% - 2rem);
|
54 |
+
max-width: 600px;
|
55 |
+
}
|
56 |
+
|
57 |
+
input, select, #output, #reportContainer {
|
58 |
+
width: 100%;
|
59 |
+
max-width: 100%;
|
60 |
+
padding: 0.75rem;
|
61 |
+
background-color: rgba(255, 255, 255, 0.1);
|
62 |
+
border: none;
|
63 |
+
border-radius: 6px;
|
64 |
+
color: #fff;
|
65 |
+
font-size: 1rem;
|
66 |
+
margin: 0.5rem 0;
|
67 |
+
box-sizing: border-box;
|
68 |
+
}
|
69 |
+
|
70 |
+
.btn-primary, .btn-secondary {
|
71 |
+
width: 100%;
|
72 |
+
padding: 0.75rem;
|
73 |
+
margin: 0.5rem 0;
|
74 |
+
border-radius: 6px;
|
75 |
+
font-size: 1rem;
|
76 |
+
font-weight: 500;
|
77 |
+
text-align: center;
|
78 |
+
}
|
79 |
+
|
80 |
+
.btn-primary {
|
81 |
+
background: linear-gradient(to right, #0062cc, #007bff);
|
82 |
+
}
|
83 |
+
|
84 |
+
.btn-secondary {
|
85 |
+
background: linear-gradient(to right, #6c757d, #6c757d);
|
86 |
+
}
|
87 |
+
|
88 |
+
.agent_question {
|
89 |
+
font-size: 1.1rem;
|
90 |
+
font-weight: 500;
|
91 |
+
margin: 0.5rem 0;
|
92 |
+
}
|
93 |
+
|
94 |
+
.agent_response {
|
95 |
+
background-color: #747d8c;
|
96 |
+
margin: 0.5rem 0;
|
97 |
+
padding: 0.75rem;
|
98 |
+
border-radius: 8px;
|
99 |
+
font-size: 1rem;
|
100 |
+
}
|
101 |
+
|
102 |
+
#output {
|
103 |
+
height: 250px;
|
104 |
+
overflow-y: auto;
|
105 |
+
-webkit-overflow-scrolling: touch;
|
106 |
+
}
|
107 |
+
|
108 |
+
#reportContainer {
|
109 |
+
font-family: 'Georgia', serif;
|
110 |
+
font-size: 1rem !important;
|
111 |
+
padding: 1rem;
|
112 |
+
}
|
113 |
+
|
114 |
+
.tags-input {
|
115 |
+
padding: 0.5rem;
|
116 |
+
gap: 0.5rem;
|
117 |
+
}
|
118 |
+
|
119 |
+
.tag {
|
120 |
+
padding: 0.4rem 0.6rem;
|
121 |
+
font-size: 0.9rem;
|
122 |
+
}
|
123 |
+
|
124 |
+
footer {
|
125 |
+
position: relative;
|
126 |
+
padding: 1rem;
|
127 |
+
margin-top: 2rem;
|
128 |
+
}
|
129 |
+
|
130 |
+
#selectedImagesContainer {
|
131 |
+
padding: 1rem;
|
132 |
+
gap: 0.5rem;
|
133 |
+
}
|
134 |
+
|
135 |
+
#selectedImagesContainer img {
|
136 |
+
width: 100px;
|
137 |
+
height: 100px;
|
138 |
+
}
|
139 |
+
|
140 |
+
.image-dialog img {
|
141 |
+
max-width: 95%;
|
142 |
+
max-height: 70vh;
|
143 |
+
}
|
144 |
+
|
145 |
+
/* Tablet and larger screens */
|
146 |
+
@media screen and (min-width: 768px) {
|
147 |
+
.landing h1 {
|
148 |
+
font-size: 3.5rem;
|
149 |
+
}
|
150 |
+
|
151 |
+
.landing p {
|
152 |
+
font-size: 1.5rem;
|
153 |
+
max-width: 1000px;
|
154 |
+
}
|
155 |
+
|
156 |
+
.container {
|
157 |
+
padding: 20px;
|
158 |
+
margin: auto auto 180px auto;
|
159 |
+
}
|
160 |
+
|
161 |
+
.btn-primary, .btn-secondary {
|
162 |
+
width: auto;
|
163 |
+
padding: 0.75rem 1.5rem;
|
164 |
+
}
|
165 |
+
|
166 |
+
#selectedImagesContainer img {
|
167 |
+
width: 150px;
|
168 |
+
height: 150px;
|
169 |
+
}
|
170 |
+
|
171 |
+
.agent_question {
|
172 |
+
font-size: 1.4rem;
|
173 |
+
}
|
174 |
+
}
|
175 |
+
|
176 |
+
/* Touch device optimizations */
|
177 |
+
@media (hover: none) {
|
178 |
+
.container:hover {
|
179 |
+
transform: none;
|
180 |
+
}
|
181 |
+
|
182 |
+
.btn:hover {
|
183 |
+
transform: none;
|
184 |
+
}
|
185 |
+
|
186 |
+
input:hover, select:hover {
|
187 |
+
background-color: rgba(255, 255, 255, 0.1);
|
188 |
+
}
|
189 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|