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

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