PluginProbe
AI Builder – Generate pages, blocks, images & translate with AI / 2.1.3
AI Builder – Generate pages, blocks, images & translate with AI v2.1.3
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 / credits.css

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

601 lines 10.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* Credits Page Styles */
2 .ai-credits-container {
3 max-width: 1200px;
4 margin: 0 auto;
5 padding: 40px 20px;
6 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
7 }
8
9 .ai-credits-header {
10 text-align: center;
11 margin-bottom: 40px;
12 }
13
14 .ai-credits-header h1 {
15 color: #1a1a1a;
16 font-size: 36px;
17 font-weight: 700;
18 margin: 0 0 12px 0;
19 }
20
21 .ai-credits-header p {
22 color: #666;
23 font-size: 18px;
24 margin: 0;
25 }
26
27 /* Status Section */
28 .ai-status-section {
29 display: grid;
30 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
31 gap: 24px;
32 margin-bottom: 48px;
33 }
34
35 .ai-status-card {
36 background: #ffffff;
37 border: 1px solid #e1e5e9;
38 border-radius: 16px;
39 padding: 32px;
40 box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
41 transition: all 0.3s ease;
42 display: flex;
43 align-items: center;
44 gap: 20px;
45 }
46
47 .ai-status-card:hover {
48 box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
49 transform: translateY(-4px);
50 }
51
52 .ai-status-icon {
53 width: 64px;
54 height: 64px;
55 background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
56 border-radius: 16px;
57 display: flex;
58 align-items: center;
59 justify-content: center;
60 color: white;
61 flex-shrink: 0;
62 }
63
64 .ai-status-content h3 {
65 margin: 0 0 8px 0;
66 font-size: 18px;
67 font-weight: 600;
68 color: #1a1a1a;
69 }
70
71 .ai-credits-display {
72 display: flex;
73 align-items: baseline;
74 gap: 8px;
75 }
76
77 .credits-number {
78 font-size: 32px;
79 font-weight: 700;
80 color: #007cba;
81 }
82
83 .credits-label {
84 font-size: 16px;
85 color: #666;
86 font-weight: 500;
87 }
88
89 .ai-plan-display {
90 display: flex;
91 align-items: center;
92 }
93
94 .ai-price-credit {
95 display: block;
96 font-size: 14px;
97 color: #666;
98 margin-top: 4px;
99 }
100
101 .plan-badge {
102 display: inline-flex;
103 align-items: center;
104 padding: 8px 16px;
105 border-radius: 24px;
106 font-size: 14px;
107 font-weight: 600;
108 text-transform: capitalize;
109 }
110
111 .plan-badge.basic {
112 background: #e8f5e8;
113 color: #2d5a2d;
114 }
115
116 .plan-badge.essential {
117 background: #d1ecf1;
118 color: #0c5460;
119 }
120
121 .plan-badge.premium {
122 background: #fff3cd;
123 color: #856404;
124 }
125
126 .plan-badge.creator {
127 background: #f8d7da;
128 color: #721c24;
129 }
130
131 .plan-badge.pro {
132 background: #d1ecf1;
133 color: #0c5460;
134 }
135
136 /* Sections */
137 .ai-section {
138 margin-bottom: 48px;
139 }
140
141 .ai-section-header {
142 text-align: center;
143 margin-bottom: 32px;
144 }
145
146 .ai-section-header h2 {
147 color: #1a1a1a;
148 font-size: 28px;
149 font-weight: 600;
150 margin: 0 0 8px 0;
151 }
152
153 .ai-section-header p {
154 color: #666;
155 font-size: 16px;
156 margin: 0;
157 }
158
159 /* Action Cards */
160 .ai-subscription-actions,
161 .ai-credit-actions,
162 .ai-account-actions {
163 display: grid;
164 grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
165 gap: 24px;
166 }
167
168 .ai-action-card {
169 background: #ffffff;
170 border: 1px solid #e1e5e9;
171 border-radius: 16px;
172 padding: 32px;
173 box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
174 transition: all 0.3s ease;
175 text-align: center;
176 }
177
178 .ai-action-card:hover {
179 box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
180 transform: translateY(-4px);
181 }
182
183 .ai-action-icon {
184 width: 64px;
185 height: 64px;
186 background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
187 border-radius: 16px;
188 display: flex;
189 align-items: center;
190 justify-content: center;
191 color: white;
192 margin: 0 auto 24px auto;
193 }
194
195 .ai-action-content h3 {
196 margin: 0 0 12px 0;
197 font-size: 20px;
198 font-weight: 600;
199 color: #1a1a1a;
200 }
201
202 .ai-action-content p {
203 color: #666;
204 font-size: 14px;
205 line-height: 1.6;
206 margin: 0 0 24px 0;
207 }
208
209 /* Buttons */
210 .ai-primary-btn {
211 background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
212 color: white;
213 border: none;
214 padding: 14px 28px;
215 border-radius: 12px;
216 font-size: 16px;
217 font-weight: 600;
218 cursor: pointer;
219 transition: all 0.3s ease;
220 display: inline-flex;
221 align-items: center;
222 gap: 8px;
223 text-decoration: none;
224 min-width: 160px;
225 justify-content: center;
226 }
227
228 .ai-primary-btn:hover {
229 transform: translateY(-2px);
230 box-shadow: 0 8px 25px rgba(0, 124, 186, 0.3);
231 }
232
233 .ai-secondary-btn {
234 background: transparent;
235 color: #007cba;
236 border: 2px solid #007cba;
237 padding: 14px 28px;
238 border-radius: 12px;
239 font-size: 16px;
240 font-weight: 600;
241 cursor: pointer;
242 transition: all 0.3s ease;
243 display: inline-flex;
244 align-items: center;
245 gap: 8px;
246 text-decoration: none;
247 min-width: 160px;
248 justify-content: center;
249 }
250
251 .ai-secondary-btn:hover {
252 background: #007cba;
253 color: white;
254 transform: translateY(-2px);
255 box-shadow: 0 8px 25px rgba(0, 124, 186, 0.3);
256 }
257
258 .ai-danger-btn {
259 background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
260 color: white;
261 border: none;
262 padding: 14px 28px;
263 border-radius: 12px;
264 font-size: 16px;
265 font-weight: 600;
266 cursor: pointer;
267 transition: all 0.3s ease;
268 display: inline-flex;
269 align-items: center;
270 gap: 8px;
271 text-decoration: none;
272 min-width: 160px;
273 justify-content: center;
274 }
275
276 .ai-danger-btn:hover {
277 transform: translateY(-2px);
278 box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
279 }
280
281 .ai-primary-btn:disabled,
282 .ai-secondary-btn:disabled,
283 .ai-danger-btn:disabled {
284 opacity: 0.6;
285 cursor: not-allowed;
286 transform: none;
287 box-shadow: none;
288 }
289
290 /* Loading */
291 .ai-loading {
292 display: inline-block;
293 width: 16px;
294 height: 16px;
295 border: 2px solid rgba(255, 255, 255, 0.3);
296 border-radius: 50%;
297 border-top-color: #fff;
298 animation: spin 1s ease-in-out infinite;
299 }
300
301 @keyframes spin {
302 to {
303 transform: rotate(360deg);
304 }
305 }
306
307 /* Messages */
308 .ai-message {
309 padding: 16px 24px;
310 border-radius: 12px;
311 margin: 24px 0;
312 font-size: 14px;
313 text-align: center;
314 font-weight: 500;
315 }
316
317 .ai-message.success {
318 background: #d4edda;
319 color: #155724;
320 border: 1px solid #c3e6cb;
321 }
322
323 .ai-message.error {
324 background: #f8d7da;
325 color: #721c24;
326 border: 1px solid #f5c6cb;
327 }
328
329 .ai-message.info {
330 background: #d1ecf1;
331 color: #0c5460;
332 border: 1px solid #bee5eb;
333 }
334
335 /* Modal */
336 .ai-modal {
337 position: fixed;
338 top: 0;
339 left: 0;
340 width: 100%;
341 height: 100%;
342 background: rgba(0, 0, 0, 0.5);
343 display: flex;
344 align-items: center;
345 justify-content: center;
346 z-index: 1000;
347 backdrop-filter: blur(4px);
348 }
349
350 .ai-modal-content {
351 background: white;
352 border-radius: 16px;
353 max-width: 500px;
354 width: 90%;
355 box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
356 animation: modalSlideIn 0.3s ease-out;
357 }
358
359 @keyframes modalSlideIn {
360 from {
361 opacity: 0;
362 transform: translateY(-20px) scale(0.95);
363 }
364
365 to {
366 opacity: 1;
367 transform: translateY(0) scale(1);
368 }
369 }
370
371 .ai-modal-header {
372 padding: 24px 32px 0 32px;
373 display: flex;
374 justify-content: space-between;
375 align-items: center;
376 }
377
378 .ai-modal-header h3 {
379 margin: 0;
380 font-size: 20px;
381 font-weight: 600;
382 color: #1a1a1a;
383 }
384
385 .ai-modal-close {
386 background: none;
387 border: none;
388 font-size: 24px;
389 color: #666;
390 cursor: pointer;
391 padding: 0;
392 width: 32px;
393 height: 32px;
394 display: flex;
395 align-items: center;
396 justify-content: center;
397 border-radius: 50%;
398 transition: all 0.2s ease;
399 }
400
401 .ai-modal-close:hover {
402 background: #f8f9fa;
403 color: #1a1a1a;
404 }
405
406 .ai-modal-body {
407 padding: 24px 32px;
408 }
409
410 .ai-modal-body p {
411 margin: 0;
412 color: #666;
413 line-height: 1.6;
414 }
415
416 .ai-modal-footer {
417 padding: 0 32px 24px 32px;
418 display: flex;
419 gap: 12px;
420 justify-content: flex-end;
421 }
422
423 /* Animation */
424 .ai-fade-in {
425 animation: fadeIn 0.5s ease-in;
426 }
427
428 @keyframes fadeIn {
429 from {
430 opacity: 0;
431 transform: translateY(20px);
432 }
433
434 to {
435 opacity: 1;
436 transform: translateY(0);
437 }
438 }
439
440 /* Responsive Design */
441 @media (max-width: 768px) {
442 .ai-credits-container {
443 padding: 20px 16px;
444 }
445
446 .ai-credits-header h1 {
447 font-size: 28px;
448 }
449
450 .ai-credits-header p {
451 font-size: 16px;
452 }
453
454 .ai-status-section {
455 grid-template-columns: 1fr;
456 gap: 16px;
457 }
458
459 .ai-status-card {
460 padding: 24px;
461 flex-direction: column;
462 text-align: center;
463 }
464
465 .ai-status-icon {
466 width: 56px;
467 height: 56px;
468 }
469
470 .ai-subscription-actions,
471 .ai-credit-actions,
472 .ai-account-actions {
473 grid-template-columns: 1fr;
474 gap: 16px;
475 }
476
477 .ai-action-card {
478 padding: 24px;
479 }
480
481 .ai-modal-content {
482 width: 95%;
483 margin: 20px;
484 }
485
486 .ai-modal-header,
487 .ai-modal-body,
488 .ai-modal-footer {
489 padding-left: 24px;
490 padding-right: 24px;
491 }
492
493 .ai-modal-footer {
494 flex-direction: column;
495 }
496
497 .ai-primary-btn,
498 .ai-secondary-btn,
499 .ai-danger-btn {
500 width: 100%;
501 min-width: auto;
502 }
503 }
504
505 @media (max-width: 480px) {
506 .ai-credits-header h1 {
507 font-size: 24px;
508 }
509
510 .ai-section-header h2 {
511 font-size: 24px;
512 }
513
514 .credits-number {
515 font-size: 28px;
516 }
517
518 .ai-status-card,
519 .ai-action-card {
520 padding: 20px;
521 }
522 }
523
524 /* État désactivé pour la section Buy Credits */
525 .ai-disabled {
526 opacity: 0.6;
527 pointer-events: none;
528 position: relative;
529 }
530
531 .ai-disabled .ai-action-icon {
532 opacity: 0.5;
533 }
534
535 .ai-disabled .ai-action-content h3,
536 .ai-disabled .ai-action-content p {
537 color: #999;
538 }
539
540 /* Message d'avertissement pour abonnement requis */
541 .ai-subscription-required {
542 display: flex;
543 align-items: flex-start;
544 background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
545 border: 1px solid #ffeaa7;
546 border-radius: 8px;
547 padding: 1rem;
548 margin: 1rem 0;
549 gap: 0.75rem;
550 }
551
552 .ai-warning-icon {
553 color: #856404;
554 flex-shrink: 0;
555 margin-top: 2px;
556 }
557
558 .ai-warning-content {
559 flex: 1;
560 }
561
562 .ai-warning-content strong {
563 display: block;
564 color: #5a4a00;
565 font-weight: 600;
566 margin-bottom: 0.25rem;
567 font-size: 0.95rem;
568 }
569
570 .ai-warning-content p {
571 color: #856404;
572 margin: 0;
573 font-size: 0.9rem;
574 line-height: 1.4;
575 }
576
577 /* Bouton désactivé */
578 .ai-primary-btn:disabled {
579 opacity: 0.5;
580 cursor: not-allowed;
581 background: #ccc;
582 color: #666;
583 }
584
585 .ai-primary-btn:disabled:hover {
586 transform: none;
587 box-shadow: none;
588 }
589
590 /* Responsive pour le message d'avertissement */
591 @media (max-width: 768px) {
592 .ai-subscription-required {
593 flex-direction: column;
594 text-align: center;
595 gap: 0.5rem;
596 }
597
598 .ai-warning-icon {
599 margin-top: 0;
600 }
601 }