PluginProbe
AI Builder – Generate pages, blocks, images & translate with AI / 2.7.1
AI Builder – Generate pages, blocks, images & translate with AI v2.7.1
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 2.3.11 All 121 releases
ai-builder / assets / css / stats.css

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

173 lines 3.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* Section commune */
2 .stats-section {
3 padding: 64px 24px;
4 margin: 0 auto;
5 max-width: 1200px;
6 }
7
8 .stats-title {
9 font-size: 2rem;
10 font-weight: 700;
11 text-align: center;
12 margin-bottom: 2.5rem;
13 color: #1a1a1a;
14 }
15
16 /* Style 1 : Cartes chiffres clés */
17 .stats-style-cards .stat-card {
18 min-height: 180px;
19 display: flex;
20 flex-direction: column;
21 justify-content: space-between;
22 align-items: center;
23 padding: 2.5rem 2rem;
24 background: #fff;
25 border-radius: 16px;
26 box-shadow: 0 4px 24px rgba(0,0,0,0.07);
27 text-align: center;
28 flex: 1 1 220px;
29 transition: transform 0.2s, box-shadow 0.2s;
30 }
31 .stat-value {
32 margin-top: 0;
33 margin-bottom: 0.5rem;
34 }
35 .stat-label {
36 margin-bottom: 0;
37 margin-top: 0.5rem;
38 }
39
40 .stats-style-cards .stat-card {
41 background: #fff;
42 border-radius: 16px;
43 box-shadow: 0 4px 24px rgba(0,0,0,0.07);
44 padding: 2.5rem 2rem;
45 min-width: 220px;
46 text-align: center;
47 flex: 1 1 220px;
48 transition: transform 0.2s, box-shadow 0.2s;
49 height: 180px;
50 display: flex;
51 flex-direction: column;
52 justify-content: center;
53 }
54 .stats-style-cards .stat-card:hover {
55 transform: translateY(-6px) scale(1.03);
56 box-shadow: 0 8px 32px rgba(37,99,235,0.10);
57 }
58 .stat-value {
59 font-size: 2.5rem;
60 font-weight: 700;
61 color: #2563eb;
62 }
63 .stat-label {
64 font-size: 1.1rem;
65 color: #444;
66 }
67
68 /* Style 2 : Barres de progression */
69 .stats-style-bars .stats-bars {
70 display: flex;
71 flex-direction: column;
72 gap: 2rem;
73 max-width: 600px;
74 margin: 0 auto;
75 }
76 .stat-bar-item {
77 display: flex;
78 flex-direction: column;
79 gap: 0.5rem;
80 }
81 .stat-bar-label {
82 font-size: 1.1rem;
83 color: #1a1a1a;
84 margin-bottom: 0.2rem;
85 }
86 .stat-bar {
87 background: #e5e7eb;
88 border-radius: 8px;
89 height: 16px;
90 width: 100%;
91 position: relative;
92 overflow: hidden;
93 }
94 .stat-bar-fill {
95 height: 16px;
96 border-radius: 8px;
97 transition: width 0.7s cubic-bezier(.4,2,.6,1);
98 }
99 .stat-bar-value {
100 font-size: 1rem;
101 color: #2563eb;
102 font-weight: 600;
103 margin-top: 0.2rem;
104 }
105
106 /* Style 3 : Cercles */
107 .stats-style-circles .stats-circles {
108 display: flex;
109 gap: 2.5rem;
110 justify-content: center;
111 flex-wrap: wrap;
112 }
113 .stat-circle-item {
114 display: flex;
115 flex-direction: column;
116 align-items: center;
117 gap: 1rem;
118 }
119 .stat-circle {
120 width: 110px;
121 height: 110px;
122 border-radius: 50%;
123 display: flex;
124 align-items: center;
125 justify-content: center;
126 box-shadow: 0 2px 12px rgba(0,0,0,0.07);
127 margin-bottom: 0.5rem;
128 }
129 .stat-circle-value {
130 font-size: 2rem;
131 font-weight: 700;
132 color: #fff;
133 text-align: center;
134 }
135 .stat-circle-label {
136 font-size: 1.1rem;
137 color: #444;
138 text-align: center;
139 }
140
141 /* Responsive */
142 @media (max-width: 1024px) {
143 .stats-style-cards .stats-cards,
144 .stats-style-circles .stats-circles {
145 gap: 1.2rem;
146 }
147 }
148 @media (max-width: 768px) {
149 .stats-section {
150 padding: 40px 8px;
151 }
152 .stats-title {
153 font-size: 1.3rem;
154 margin-bottom: 1.5rem;
155 }
156 .stats-style-cards .stats-cards,
157 .stats-style-circles .stats-circles {
158 flex-direction: column;
159 align-items: center;
160 }
161 .stat-card {
162 min-width: 0;
163 width: 100%;
164 padding: 1.5rem 1rem;
165 }
166 .stat-circle {
167 width: 80px;
168 height: 80px;
169 }
170 .stat-circle-value {
171 font-size: 1.2rem;
172 }
173 }