author | ymh <ymh.work@gmail.com> |
Fri, 05 Sep 2025 18:40:08 +0200 | |
changeset 21 | 48c4eec2b7e6 |
parent 19 | 3d72ae0968f4 |
child 22 | 8c2e4d02f4ef |
permissions | -rw-r--r-- |
16 | 1 |
/*! This file is auto-generated */ |
18 | 2 |
/* Note: Any Site Health selectors that use |
3 |
duplicate styling from the Privacy settings screen |
|
4 |
are styled in the Privacy section of edit.css */ |
|
9 | 5 |
|
6 |
.health-check-body h2 { |
|
7 |
line-height: 1.4; |
|
8 |
} |
|
9 |
||
10 |
.health-check-body h3 { |
|
11 |
padding: 0; |
|
12 |
font-weight: 400; |
|
13 |
} |
|
14 |
||
16 | 15 |
.site-health-progress-wrapper { |
16 |
margin-bottom: 1rem; |
|
17 |
} |
|
18 |
||
9 | 19 |
.site-health-progress { |
20 |
display: inline-block; |
|
16 | 21 |
height: 20px; |
22 |
width: 20px; |
|
9 | 23 |
margin: 0; |
24 |
border-radius: 100%; |
|
25 |
position: relative; |
|
26 |
font-weight: 600; |
|
27 |
font-size: 0.4rem; |
|
28 |
} |
|
29 |
||
30 |
.site-health-progress-count { |
|
31 |
position: absolute; |
|
32 |
display: block; |
|
33 |
height: 80px; |
|
34 |
width: 80px; |
|
35 |
right: 50%; |
|
36 |
top: 50%; |
|
37 |
margin-top: -40px; |
|
38 |
margin-right: -40px; |
|
39 |
border-radius: 100%; |
|
40 |
line-height: 6.3; |
|
41 |
font-size: 2em; |
|
42 |
} |
|
43 |
||
16 | 44 |
.loading .site-health-progress svg #bar { |
9 | 45 |
stroke-dashoffset: 0; |
18 | 46 |
stroke: #c3c4c7; |
9 | 47 |
animation: loadingPulse 3s infinite ease-in-out; |
48 |
} |
|
49 |
||
50 |
.site-health-progress svg circle { |
|
51 |
stroke-dashoffset: 0; |
|
52 |
transition: stroke-dashoffset 1s linear; |
|
18 | 53 |
stroke: #c3c4c7; |
9 | 54 |
stroke-width: 2em; |
55 |
} |
|
56 |
||
57 |
.site-health-progress svg #bar { |
|
58 |
stroke-dashoffset: 565; |
|
18 | 59 |
stroke: #d63638; |
9 | 60 |
} |
61 |
||
16 | 62 |
.green .site-health-progress #bar { |
18 | 63 |
stroke: #00a32a; |
9 | 64 |
} |
16 | 65 |
.green .site-health-progress .site-health-progress-label { |
18 | 66 |
color: #00a32a; |
16 | 67 |
} |
9 | 68 |
|
16 | 69 |
.orange .site-health-progress #bar { |
18 | 70 |
stroke: #dba617; |
9 | 71 |
} |
16 | 72 |
.orange .site-health-progress .site-health-progress-label { |
18 | 73 |
color: #dba617; |
16 | 74 |
} |
75 |
||
76 |
.site-health-progress-label { |
|
77 |
font-weight: 600; |
|
78 |
line-height: 20px; |
|
79 |
margin-right: 0.3rem; |
|
80 |
} |
|
9 | 81 |
|
82 |
@keyframes loadingPulse { |
|
83 |
0% { |
|
18 | 84 |
stroke: #c3c4c7; |
9 | 85 |
} |
86 |
50% { |
|
18 | 87 |
stroke: #72aee6; |
9 | 88 |
} |
89 |
100% { |
|
18 | 90 |
stroke: #c3c4c7; |
9 | 91 |
} |
92 |
} |
|
93 |
||
94 |
.health-check-tabs-wrapper { |
|
95 |
/* IE 11 */ |
|
96 |
display: -ms-inline-grid; |
|
18 | 97 |
-ms-grid-columns: 1fr 1fr 1fr 1fr; |
9 | 98 |
vertical-align: top; |
99 |
/* modern browsers */ |
|
100 |
display: inline-grid; |
|
18 | 101 |
grid-template-columns: 1fr 1fr 1fr 1fr; |
102 |
} |
|
103 |
||
104 |
.health-check-tabs-wrapper.tab-count-1 { |
|
105 |
grid-template-columns: 1fr; |
|
106 |
} |
|
107 |
.health-check-tabs-wrapper.tab-count-2 { |
|
9 | 108 |
grid-template-columns: 1fr 1fr; |
109 |
} |
|
18 | 110 |
.health-check-tabs-wrapper.tab-count-3 { |
111 |
grid-template-columns: 1fr 1fr 1fr; |
|
112 |
} |
|
9 | 113 |
|
114 |
.health-check-tab { |
|
115 |
display: block; /* IE 11 */ |
|
116 |
text-decoration: none; |
|
117 |
color: inherit; |
|
118 |
padding: 0.5rem 1rem 1rem; |
|
119 |
margin: 0 1rem; |
|
120 |
transition: box-shadow 0.5s ease-in-out; |
|
121 |
} |
|
122 |
||
18 | 123 |
.health-check-offscreen-nav-wrapper { |
124 |
position: relative; |
|
125 |
background: transparent; |
|
126 |
border: none; |
|
9 | 127 |
} |
18 | 128 |
.health-check-offscreen-nav-wrapper:focus .health-check-offscreen-nav { |
129 |
right: initial; |
|
9 | 130 |
} |
131 |
||
18 | 132 |
.health-check-offscreen-nav { |
133 |
display: none; |
|
134 |
position: absolute; |
|
135 |
padding-top: 10px; |
|
136 |
left: 0; |
|
137 |
top: 100%; |
|
138 |
width: 13rem; |
|
139 |
} |
|
140 |
.health-check-offscreen-nav-wrapper.visible .health-check-offscreen-nav { |
|
141 |
display: inline-block; |
|
142 |
} |
|
143 |
.health-check-offscreen-nav:before { |
|
144 |
position: absolute; |
|
145 |
content: ""; |
|
146 |
width: 0; |
|
147 |
height: 0; |
|
148 |
border-style: solid; |
|
19 | 149 |
border-width: 0 10px 5px; |
150 |
border-color: transparent transparent #ffffff; |
|
18 | 151 |
left: 20px; |
152 |
top: 5px; |
|
9 | 153 |
} |
154 |
||
18 | 155 |
.health-check-offscreen-nav .health-check-tab { |
156 |
background: #fff; |
|
157 |
box-shadow: 0 2px 5px 0 rgba( 0, 0, 0, 0.75 ); |
|
158 |
} |
|
159 |
||
160 |
.health-check-offscreen-nav .health-check-tab.active { |
|
161 |
box-shadow: inset -3px 0 #3582c4; |
|
9 | 162 |
font-weight: 600; |
163 |
} |
|
164 |
||
165 |
.health-check-body { |
|
166 |
max-width: 800px; |
|
167 |
margin: 0 auto; |
|
168 |
} |
|
169 |
||
170 |
.health-check-table td:first-child { |
|
171 |
width: 30%; |
|
172 |
} |
|
173 |
||
174 |
.health-check-table td { |
|
175 |
width: 70%; |
|
176 |
} |
|
177 |
||
178 |
.health-check-table ul, |
|
179 |
.health-check-table ol { |
|
180 |
margin: 0; |
|
181 |
} |
|
182 |
||
183 |
.health-check-body li { |
|
184 |
line-height: 1.5; |
|
185 |
} |
|
186 |
||
187 |
.health-check-body .pass::before, |
|
188 |
.health-check-body .good::before { |
|
189 |
content: "\f147"; |
|
18 | 190 |
color: #00a32a; |
9 | 191 |
} |
192 |
||
193 |
.health-check-body .warning::before { |
|
194 |
content: "\f460"; |
|
18 | 195 |
color: #dba617; |
9 | 196 |
} |
197 |
||
198 |
.health-check-body .info::before { |
|
199 |
content: "\f348"; |
|
18 | 200 |
color: #72aee6; |
9 | 201 |
} |
202 |
||
203 |
.health-check-body .fail::before, |
|
204 |
.health-check-body .error::before { |
|
205 |
content: "\f335"; |
|
18 | 206 |
color: #d63638; |
9 | 207 |
} |
208 |
||
209 |
.site-health-copy-buttons { |
|
210 |
margin: 1rem 0; |
|
211 |
} |
|
212 |
||
213 |
.site-health-copy-buttons .copy-button-wrapper { |
|
16 | 214 |
display: inline-flex; |
215 |
align-items: center; |
|
9 | 216 |
margin: 0.5rem 0 1rem; |
217 |
} |
|
218 |
||
219 |
.site-health-copy-buttons .success { |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
220 |
color: #007017; |
9 | 221 |
margin-right: 0.5rem; |
222 |
} |
|
223 |
||
224 |
.site-status-has-issues.hide { |
|
225 |
display: none; |
|
226 |
} |
|
227 |
||
228 |
.site-health-view-more { |
|
229 |
text-align: center; |
|
230 |
} |
|
231 |
||
232 |
.site-health-issues-wrapper:first-of-type { |
|
233 |
margin-top: 3rem; |
|
234 |
} |
|
235 |
||
236 |
.site-health-issues-wrapper { |
|
237 |
margin-bottom: 3rem; |
|
238 |
margin-top: 2rem; |
|
239 |
} |
|
240 |
||
241 |
.site-status-all-clear { |
|
242 |
display: flex; |
|
243 |
flex-direction: column; |
|
244 |
align-items: center; |
|
245 |
justify-content: center; |
|
246 |
text-align: center; |
|
247 |
height: 100%; |
|
248 |
width: 100%; |
|
19 | 249 |
margin: 0 0 3rem; |
9 | 250 |
} |
251 |
||
252 |
@media all and (min-width: 784px) { |
|
253 |
.site-status-all-clear { |
|
19 | 254 |
margin: 2rem 0 5rem; |
9 | 255 |
} |
256 |
} |
|
257 |
||
258 |
.site-status-all-clear.hide { |
|
259 |
display: none; |
|
260 |
} |
|
261 |
||
262 |
.site-status-all-clear .dashicons { |
|
263 |
font-size: 150px; |
|
19 | 264 |
height: 150px; |
265 |
margin-bottom: 2rem; |
|
9 | 266 |
width: 150px; |
267 |
} |
|
268 |
||
269 |
.site-status-all-clear .encouragement { |
|
270 |
font-size: 1.5rem; |
|
271 |
font-weight: 600; |
|
272 |
} |
|
273 |
||
274 |
.site-status-all-clear p { |
|
275 |
margin: 0; |
|
276 |
} |
|
277 |
||
278 |
.wp-core-ui .button.site-health-view-passed { |
|
279 |
position: relative; |
|
280 |
padding-left: 40px; |
|
281 |
padding-right: 20px; |
|
282 |
} |
|
283 |
||
284 |
.health-check-wp-paths-sizes.spinner { |
|
285 |
visibility: visible; |
|
286 |
float: none; |
|
287 |
margin: 0 4px; |
|
288 |
flex-shrink: 0; |
|
289 |
} |
|
290 |
||
18 | 291 |
/* Styling unique to the dashboard widget. */ |
292 |
#dashboard_site_health .site-health-details { |
|
293 |
padding-right: 16px; |
|
294 |
} |
|
9 | 295 |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
296 |
#dashboard_site_health .site-health-details p:first-child { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
297 |
margin-top: 0; |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
298 |
} |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
299 |
|
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
300 |
#dashboard_site_health .site-health-details p:last-child { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
301 |
margin-bottom: 0; |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
302 |
} |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
303 |
|
18 | 304 |
#dashboard_site_health .health-check-widget { |
305 |
display: grid; |
|
306 |
grid-template-columns: 1fr 2fr; |
|
307 |
grid-auto-rows: minmax(64px, auto); |
|
308 |
column-gap: 16px; |
|
309 |
align-items: center; |
|
310 |
} |
|
311 |
#dashboard_site_health .site-health-progress-label { |
|
312 |
margin-right: 0; |
|
313 |
} |
|
9 | 314 |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
315 |
.health-check-widget-title-section { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
316 |
margin-bottom: 0; |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
317 |
text-align: center; |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
318 |
} |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
319 |
|
18 | 320 |
@media screen and (max-width: 480px) { |
321 |
#dashboard_site_health .health-check-widget { |
|
322 |
grid-template-columns: 100%; |
|
9 | 323 |
} |
18 | 324 |
} |
325 |
||
326 |
@media screen and (max-width: 782px) { |
|
9 | 327 |
|
328 |
.site-health-issues-wrapper .health-check-accordion-trigger { |
|
329 |
flex-direction: column; |
|
330 |
align-items: flex-start; |
|
331 |
} |
|
332 |
||
333 |
.health-check-accordion-trigger .badge { |
|
334 |
margin: 1em 0 0; |
|
335 |
} |
|
336 |
||
337 |
.health-check-table { |
|
338 |
table-layout: fixed; |
|
339 |
} |
|
340 |
||
341 |
.health-check-table td { |
|
342 |
box-sizing: border-box; |
|
343 |
display: block; |
|
344 |
width: 100%; |
|
345 |
word-wrap: break-word; |
|
346 |
} |
|
347 |
||
348 |
.health-check-table td:first-child { |
|
349 |
width: 100%; |
|
350 |
padding-bottom: 0; |
|
351 |
font-weight: 600; |
|
352 |
} |
|
16 | 353 |
|
354 |
.wp-core-ui .site-health-copy-buttons .copy-button { |
|
355 |
margin-bottom: 0; |
|
356 |
} |
|
9 | 357 |
} |
358 |