PluginProbe
AI Builder – Generate pages, blocks, images & translate with AI / 2.2.1
AI Builder – Generate pages, blocks, images & translate with AI v2.2.1
2.7.10 2.7.9 2.7.8 2.0.8 2.0.9 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.3.0 2.3.10 All 122 releases
ai-builder / assets / css / account.css

account.css in AI Builder – Generate pages, blocks, images & translate with AI 2.2.1, at assets/css/account.css

626 lines 12.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .ai-auth-container {
2 max-width: 400px;
3 margin: 50px auto;
4 padding: 40px;
5 background: #ffffff;
6 border-radius: 12px;
7 box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
8 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
9 }
10
11 .ai-auth-header {
12 text-align: center;
13 margin-bottom: 30px;
14 }
15
16 .ai-auth-header h2 {
17 color: #1a1a1a;
18 font-size: 28px;
19 font-weight: 600;
20 margin: 0 0 8px 0;
21 }
22
23 .ai-auth-header p {
24 color: #666;
25 font-size: 16px;
26 margin: 0;
27 }
28
29 .ai-auth-form {
30 display: flex;
31 flex-direction: column;
32 gap: 20px;
33 }
34
35 .ai-form-group {
36 display: flex;
37 flex-direction: column;
38 gap: 8px;
39 }
40
41 .ai-form-group label {
42 font-weight: 500;
43 color: #232222;
44 font-size: 14px;
45 }
46
47 .ai-form-group input {
48 padding: 12px 16px;
49 border: 2px solid #e1e5e9 !important;
50 border-radius: 8px;
51 font-size: 16px;
52 transition: all 0.3s ease;
53 background: #ffffff;
54 outline: none;
55 color: #1a1a1a !important;
56 }
57
58 /* Styliser les placeholders */
59 .ai-form-group input::placeholder {
60 color: #666 !important;
61 opacity: 1 !important;
62 }
63
64 .ai-form-group input::-webkit-input-placeholder {
65 color: #666 !important;
66 opacity: 1 !important;
67 }
68
69 .ai-form-group input::-moz-placeholder {
70 color: #666 !important;
71 opacity: 1 !important;
72 }
73
74 .ai-form-group input:-ms-input-placeholder {
75 color: #666 !important;
76 opacity: 1 !important;
77 }
78
79 .ai-form-group input:-moz-placeholder {
80 color: #666 !important;
81 opacity: 1 !important;
82 }
83
84 .ai-form-group input:focus {
85 outline: none !important;
86 border-color: #007cba !important;
87 background: #ffffff;
88 box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
89 color: #1a1a1a;
90 }
91
92 /* Empêcher les styles de validation HTML5 */
93 .ai-form-group input:invalid {
94 border-color: #e1e5e9 !important;
95 box-shadow: none !important;
96 color: #1a1a1a !important;
97 }
98
99 .ai-form-group input:valid {
100 border-color: #e1e5e9 !important;
101 color: #1a1a1a !important;
102 }
103
104 /* Empêcher les styles de validation WordPress */
105 .ai-form-group input.wp-error {
106 border-color: #e1e5e9 !important;
107 }
108
109 /* Empêcher les styles de validation du navigateur */
110 .ai-form-group input::-webkit-validation-bubble-message {
111 display: none;
112 }
113
114 .ai-form-group input::-webkit-validation-bubble-arrow {
115 display: none;
116 }
117
118 /* Styles supplémentaires pour éviter les bordures rouges */
119 .ai-form-group input[type="email"],
120 .ai-form-group input[type="password"] {
121 border-color: #e1e5e9 !important;
122 box-shadow: none !important;
123 color: #1a1a1a !important;
124 }
125
126 .ai-form-group input[type="email"]:focus,
127 .ai-form-group input[type="password"]:focus {
128 border-color: #007cba !important;
129 box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1) !important;
130 color: #1a1a1a !important;
131 }
132
133 /* Désactiver complètement la validation visuelle HTML5 */
134 .ai-form-group input:required {
135 border-color: #e1e5e9 !important;
136 color: #1a1a1a !important;
137 }
138
139 .ai-form-group input:required:invalid {
140 border-color: #e1e5e9 !important;
141 box-shadow: none !important;
142 color: #767676 !important;
143 }
144
145 .ai-form-group input:required:valid {
146 border-color: #e1e5e9 !important;
147 color: #1a1a1a !important;
148 }
149
150 /* Styles spécifiques pour les champs password */
151 .ai-form-group input[type="password"] {
152 color: #1a1a1a !important;
153 -webkit-text-security: none;
154 }
155
156 /* S'assurer que le texte saisi est visible */
157 .ai-form-group input[value] {
158 color: #1a1a1a !important;
159 }
160
161 /* Forcer la couleur du texte pour tous les navigateurs */
162 .ai-form-group input {
163 -webkit-text-fill-color: #1a1a1a !important;
164 color: #1a1a1a !important;
165 }
166
167 .ai-submit-btn {
168 background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
169 color: white;
170 border: none;
171 padding: 14px 24px;
172 border-radius: 8px;
173 font-size: 16px;
174 font-weight: 600;
175 cursor: pointer;
176 transition: all 0.3s ease;
177 margin-top: 10px;
178 }
179
180 .ai-submit-btn:hover {
181 transform: translateY(-2px);
182 box-shadow: 0 8px 25px rgba(0, 124, 186, 0.3);
183 }
184
185 .ai-submit-btn:disabled {
186 background: #ccc;
187 cursor: not-allowed;
188 transform: none;
189 box-shadow: none;
190 }
191
192 .ai-toggle-form {
193 text-align: center;
194 margin-top: 20px;
195 padding-top: 20px;
196 border-top: 1px solid #e1e5e9;
197 }
198
199 .ai-toggle-form button {
200 background: none;
201 border: none;
202 color: #007cba;
203 font-size: 14px;
204 cursor: pointer;
205 text-decoration: underline;
206 font-weight: 500;
207 }
208
209 .ai-toggle-form button:hover {
210 color: #005a87;
211 }
212
213 .ai-forgot-password {
214 text-align: right;
215 margin-bottom: 10px;
216 }
217
218 .ai-forgot-password .ai-link {
219 color: #007cba;
220 text-decoration: none;
221 font-size: 14px;
222 font-weight: 500;
223 transition: color 0.3s ease;
224 }
225
226 .ai-forgot-password .ai-link:hover {
227 color: #005a87;
228 text-decoration: underline;
229 }
230
231 .ai-message {
232 padding: 16px;
233 border-radius: 8px;
234 margin: 20px 0;
235 font-size: 14px;
236 text-align: center;
237 }
238
239 .ai-message.success {
240 background: #d4edda;
241 color: #155724;
242 border: 1px solid #c3e6cb;
243 }
244
245 .ai-message.error {
246 background: #f8d7da;
247 color: #721c24;
248 border: 1px solid #f5c6cb;
249 }
250
251 .ai-message.info {
252 background: #d1ecf1;
253 color: #0c5460;
254 border: 1px solid #bee5eb;
255 }
256
257 .ai-loading {
258 display: inline-block;
259 width: 20px;
260 height: 20px;
261 border: 3px solid rgba(255, 255, 255, 0.3);
262 border-radius: 50%;
263 border-top-color: #fff;
264 animation: spin 1s ease-in-out infinite;
265 margin-right: 10px;
266 }
267
268 @keyframes spin {
269 to { transform: rotate(360deg); }
270 }
271
272 .ai-form-hidden {
273 display: none;
274 }
275
276 /* Responsive Design */
277 @media (max-width: 480px) {
278 .ai-auth-container {
279 margin: 20px;
280 padding: 30px 20px;
281 }
282
283 .ai-auth-header h2 {
284 font-size: 24px;
285 }
286
287 .ai-form-group input {
288 padding: 10px 14px;
289 font-size: 16px; /* Prevents zoom on iOS */
290 }
291 }
292
293 /* Animation pour les transitions */
294 .ai-fade-in {
295 animation: fadeIn 0.5s ease-in;
296 }
297
298 @keyframes fadeIn {
299 from { opacity: 0; transform: translateY(20px); }
300 to { opacity: 1; transform: translateY(0); }
301 }
302
303 /* Dashboard Styles */
304 .ai-dashboard-content {
305 display: flex;
306 flex-direction: column;
307 gap: 24px;
308 margin-top: 20px;
309 }
310
311 .ai-dashboard-card {
312 background: #ffffff;
313 border: 1px solid #e1e5e9;
314 border-radius: 12px;
315 padding: 24px;
316 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
317 transition: all 0.3s ease;
318 }
319
320 .ai-dashboard-card:hover {
321 box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
322 transform: translateY(-2px);
323 }
324
325 .ai-card-header {
326 display: flex;
327 align-items: center;
328 gap: 16px;
329 margin-bottom: 16px;
330 }
331
332 .ai-card-icon {
333 width: 48px;
334 height: 48px;
335 background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
336 border-radius: 12px;
337 display: flex;
338 align-items: center;
339 justify-content: center;
340 color: white;
341 }
342
343 .ai-card-title h3 {
344 margin: 0 0 4px 0;
345 font-size: 18px;
346 font-weight: 600;
347 color: #1a1a1a;
348 }
349
350 .ai-plan-badge {
351 display: inline-flex;
352 align-items: center;
353 padding: 6px 12px;
354 background: #e8f5e8;
355 color: #2d5a2d;
356 border-radius: 20px;
357 font-size: 14px;
358 font-weight: 500;
359 text-transform: capitalize;
360 }
361
362 .ai-plan-badge.premium {
363 background: #fff3cd;
364 color: #856404;
365 }
366
367 .ai-plan-badge.pro {
368 background: #d1ecf1;
369 color: #0c5460;
370 }
371
372 .ai-credits-display {
373 font-size: 24px;
374 font-weight: 700;
375 color: #007cba;
376 display: flex;
377 align-items: center;
378 gap: 8px;
379 }
380
381 .ai-credits-breakdown {
382 display: flex;
383 flex-direction: column;
384 gap: 12px;
385 margin-bottom: 20px;
386 }
387
388 .ai-credit-item {
389 display: flex;
390 justify-content: space-between;
391 align-items: center;
392 padding: 12px 16px;
393 background: #f8f9fa;
394 border-radius: 8px;
395 border-left: 4px solid #007cba;
396 }
397
398 .ai-credit-label {
399 font-size: 14px;
400 color: #666;
401 font-weight: 500;
402 }
403
404 .ai-credit-value {
405 font-size: 16px;
406 font-weight: 600;
407 color: #1a1a1a;
408 }
409
410 .ai-card-content p {
411 color: #666;
412 font-size: 14px;
413 line-height: 1.5;
414 margin-bottom: 20px;
415 }
416
417 .ai-primary-btn {
418 background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
419 color: white;
420 border: none;
421 padding: 12px 20px;
422 border-radius: 8px;
423 font-size: 14px;
424 font-weight: 600;
425 cursor: pointer;
426 transition: all 0.3s ease;
427 display: flex;
428 align-items: center;
429 gap: 8px;
430 width: 100%;
431 justify-content: center;
432 }
433
434 .ai-primary-btn:hover {
435 transform: translateY(-2px);
436 box-shadow: 0 8px 25px rgba(0, 124, 186, 0.3);
437 }
438
439 .ai-secondary-btn {
440 background: transparent;
441 color: #007cba;
442 border: 2px solid #007cba;
443 padding: 12px 20px;
444 border-radius: 8px;
445 font-size: 14px;
446 font-weight: 600;
447 cursor: pointer;
448 transition: all 0.3s ease;
449 display: flex;
450 align-items: center;
451 gap: 8px;
452 width: 100%;
453 justify-content: center;
454 }
455
456 .ai-secondary-btn:hover {
457 background: #007cba;
458 color: white;
459 transform: translateY(-2px);
460 box-shadow: 0 8px 25px rgba(0, 124, 186, 0.3);
461 }
462
463 .ai-dashboard-actions {
464 margin-top: 32px;
465 padding-top: 24px;
466 border-top: 1px solid #e1e5e9;
467 }
468
469 .ai-signout-btn {
470 background: #f8f9fa;
471 color: #666;
472 border: 1px solid #e1e5e9;
473 display: flex;
474 align-items: center;
475 gap: 8px;
476 justify-content: center;
477 }
478
479 .ai-signout-btn:hover {
480 background: #e9ecef;
481 color: #495057;
482 transform: translateY(-2px);
483 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
484 }
485
486 /* Responsive Design pour le dashboard */
487 @media (max-width: 480px) {
488 .ai-dashboard-card {
489 padding: 20px;
490 }
491
492 .ai-card-header {
493 flex-direction: column;
494 align-items: flex-start;
495 gap: 12px;
496 }
497
498 .ai-credits-display {
499 font-size: 20px;
500 }
501
502 .ai-credit-item {
503 flex-direction: column;
504 align-items: flex-start;
505 gap: 4px;
506 }
507 }
508
509 /* Checkbox personnalisée pour les conditions d'utilisation */
510 .ai-checkbox-group {
511 margin-top: 10px;
512 }
513
514 .ai-checkbox-label {
515 display: flex !important;
516 align-items: flex-start !important;
517 gap: 12px !important;
518 cursor: pointer !important;
519 font-size: 14px !important;
520 line-height: 1.5 !important;
521 color: #333 !important;
522 position: relative !important;
523 margin: 0 !important;
524 padding: 0 !important;
525 }
526
527 .ai-checkbox-label input[type="checkbox"] {
528 position: absolute !important;
529 opacity: 0 !important;
530 cursor: pointer !important;
531 height: 0 !important;
532 width: 0 !important;
533 margin: 0 !important;
534 padding: 0 !important;
535 }
536
537 .ai-checkbox-custom {
538 position: relative !important;
539 height: 20px !important;
540 width: 20px !important;
541 background-color: #fafbfc !important;
542 border: 2px solid #e1e5e9 !important;
543 border-radius: 4px !important;
544 flex-shrink: 0 !important;
545 margin-top: 2px !important;
546 transition: all 0.3s ease !important;
547 display: block !important;
548 }
549
550 .ai-checkbox-label:hover .ai-checkbox-custom {
551 border-color: #007cba !important;
552 background-color: #f0f8ff !important;
553 }
554
555 .ai-checkbox-label input[type="checkbox"]:checked ~ .ai-checkbox-custom {
556 background-color: #007cba !important;
557 border-color: #007cba !important;
558 }
559
560 .ai-checkbox-custom:after {
561 content: "" !important;
562 position: absolute !important;
563 display: none !important;
564 left: 6px !important;
565 top: 2px !important;
566 width: 6px !important;
567 height: 10px !important;
568 border: solid white !important;
569 border-width: 0 2px 2px 0 !important;
570 transform: rotate(45deg) !important;
571 }
572
573 .ai-checkbox-label input[type="checkbox"]:checked ~ .ai-checkbox-custom:after {
574 display: block !important;
575 }
576
577 .ai-checkbox-text {
578 flex: 1 !important;
579 font-size: 14px !important;
580 line-height: 1.5 !important;
581 color: #333 !important;
582 display: inline !important;
583 }
584
585 .ai-link {
586 color: #007cba !important;
587 text-decoration: none !important;
588 font-weight: 500 !important;
589 transition: color 0.3s ease !important;
590 }
591
592 .ai-link:hover {
593 color: #005a87 !important;
594 text-decoration: underline !important;
595 }
596
597 /* État d'erreur pour la checkbox */
598 .ai-checkbox-label.error .ai-checkbox-custom {
599 border-color: #dc3545 !important;
600 background-color: #fff5f5 !important;
601 }
602
603 .ai-checkbox-label.error .ai-checkbox-text {
604 color: #dc3545 !important;
605 }
606
607 /* Responsive pour la checkbox */
608 @media (max-width: 480px) {
609 .ai-checkbox-label {
610 font-size: 13px;
611 gap: 10px;
612 }
613
614 .ai-checkbox-custom {
615 height: 18px;
616 width: 18px;
617 margin-top: 1px;
618 }
619
620 .ai-checkbox-custom:after {
621 left: 5px;
622 top: 1px;
623 width: 5px;
624 height: 9px;
625 }
626 }