author | ymh <ymh.work@gmail.com> |
Fri, 05 Sep 2025 18:52:52 +0200 | |
changeset 22 | 8c2e4d02f4ef |
parent 21 | 48c4eec2b7e6 |
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 |
||
22
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
170 |
.widefat.health-check-table th { |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
171 |
font-size: 13px; |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
172 |
} |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
173 |
|
9 | 174 |
.health-check-table td:first-child { |
175 |
width: 30%; |
|
176 |
} |
|
177 |
||
178 |
.health-check-table td { |
|
179 |
width: 70%; |
|
180 |
} |
|
181 |
||
182 |
.health-check-table ul, |
|
183 |
.health-check-table ol { |
|
184 |
margin: 0; |
|
185 |
} |
|
186 |
||
187 |
.health-check-body li { |
|
188 |
line-height: 1.5; |
|
189 |
} |
|
190 |
||
191 |
.health-check-body .pass::before, |
|
192 |
.health-check-body .good::before { |
|
193 |
content: "\f147"; |
|
18 | 194 |
color: #00a32a; |
9 | 195 |
} |
196 |
||
197 |
.health-check-body .warning::before { |
|
198 |
content: "\f460"; |
|
18 | 199 |
color: #dba617; |
9 | 200 |
} |
201 |
||
202 |
.health-check-body .info::before { |
|
203 |
content: "\f348"; |
|
18 | 204 |
color: #72aee6; |
9 | 205 |
} |
206 |
||
207 |
.health-check-body .fail::before, |
|
208 |
.health-check-body .error::before { |
|
209 |
content: "\f335"; |
|
18 | 210 |
color: #d63638; |
9 | 211 |
} |
212 |
||
213 |
.site-health-copy-buttons { |
|
214 |
margin: 1rem 0; |
|
215 |
} |
|
216 |
||
217 |
.site-health-copy-buttons .copy-button-wrapper { |
|
16 | 218 |
display: inline-flex; |
219 |
align-items: center; |
|
9 | 220 |
margin: 0.5rem 0 1rem; |
221 |
} |
|
222 |
||
223 |
.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
|
224 |
color: #007017; |
9 | 225 |
margin-right: 0.5rem; |
226 |
} |
|
227 |
||
228 |
.site-status-has-issues.hide { |
|
229 |
display: none; |
|
230 |
} |
|
231 |
||
232 |
.site-health-view-more { |
|
233 |
text-align: center; |
|
234 |
} |
|
235 |
||
236 |
.site-health-issues-wrapper:first-of-type { |
|
237 |
margin-top: 3rem; |
|
238 |
} |
|
239 |
||
240 |
.site-health-issues-wrapper { |
|
241 |
margin-bottom: 3rem; |
|
242 |
margin-top: 2rem; |
|
243 |
} |
|
244 |
||
245 |
.site-status-all-clear { |
|
246 |
display: flex; |
|
247 |
flex-direction: column; |
|
248 |
align-items: center; |
|
249 |
justify-content: center; |
|
250 |
text-align: center; |
|
251 |
height: 100%; |
|
252 |
width: 100%; |
|
19 | 253 |
margin: 0 0 3rem; |
9 | 254 |
} |
255 |
||
256 |
@media all and (min-width: 784px) { |
|
257 |
.site-status-all-clear { |
|
19 | 258 |
margin: 2rem 0 5rem; |
9 | 259 |
} |
260 |
} |
|
261 |
||
262 |
.site-status-all-clear.hide { |
|
263 |
display: none; |
|
264 |
} |
|
265 |
||
266 |
.site-status-all-clear .dashicons { |
|
267 |
font-size: 150px; |
|
19 | 268 |
height: 150px; |
269 |
margin-bottom: 2rem; |
|
9 | 270 |
width: 150px; |
271 |
} |
|
272 |
||
273 |
.site-status-all-clear .encouragement { |
|
274 |
font-size: 1.5rem; |
|
275 |
font-weight: 600; |
|
276 |
} |
|
277 |
||
278 |
.site-status-all-clear p { |
|
279 |
margin: 0; |
|
280 |
} |
|
281 |
||
282 |
.wp-core-ui .button.site-health-view-passed { |
|
283 |
position: relative; |
|
284 |
padding-left: 40px; |
|
285 |
padding-right: 20px; |
|
286 |
} |
|
287 |
||
288 |
.health-check-wp-paths-sizes.spinner { |
|
289 |
visibility: visible; |
|
290 |
float: none; |
|
291 |
margin: 0 4px; |
|
292 |
flex-shrink: 0; |
|
293 |
} |
|
294 |
||
18 | 295 |
/* Styling unique to the dashboard widget. */ |
296 |
#dashboard_site_health .site-health-details { |
|
297 |
padding-right: 16px; |
|
298 |
} |
|
9 | 299 |
|
21
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:first-child { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
301 |
margin-top: 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 |
|
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
304 |
#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
|
305 |
margin-bottom: 0; |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
306 |
} |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
307 |
|
18 | 308 |
#dashboard_site_health .health-check-widget { |
309 |
display: grid; |
|
310 |
grid-template-columns: 1fr 2fr; |
|
311 |
grid-auto-rows: minmax(64px, auto); |
|
312 |
column-gap: 16px; |
|
313 |
align-items: center; |
|
314 |
} |
|
315 |
#dashboard_site_health .site-health-progress-label { |
|
316 |
margin-right: 0; |
|
317 |
} |
|
9 | 318 |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
319 |
.health-check-widget-title-section { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
320 |
margin-bottom: 0; |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
321 |
text-align: center; |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
322 |
} |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
323 |
|
18 | 324 |
@media screen and (max-width: 480px) { |
325 |
#dashboard_site_health .health-check-widget { |
|
326 |
grid-template-columns: 100%; |
|
9 | 327 |
} |
18 | 328 |
} |
329 |
||
330 |
@media screen and (max-width: 782px) { |
|
9 | 331 |
|
332 |
.site-health-issues-wrapper .health-check-accordion-trigger { |
|
333 |
flex-direction: column; |
|
334 |
align-items: flex-start; |
|
335 |
} |
|
336 |
||
337 |
.health-check-accordion-trigger .badge { |
|
338 |
margin: 1em 0 0; |
|
339 |
} |
|
340 |
||
341 |
.health-check-table { |
|
342 |
table-layout: fixed; |
|
343 |
} |
|
344 |
||
22
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
345 |
.health-check-table th, |
9 | 346 |
.health-check-table td { |
347 |
box-sizing: border-box; |
|
348 |
display: block; |
|
349 |
width: 100%; |
|
350 |
word-wrap: break-word; |
|
351 |
} |
|
352 |
||
22
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
353 |
.widefat.health-check-table th, |
9 | 354 |
.health-check-table td:first-child { |
355 |
width: 100%; |
|
356 |
padding-bottom: 0; |
|
357 |
font-weight: 600; |
|
358 |
} |
|
16 | 359 |
|
360 |
.wp-core-ui .site-health-copy-buttons .copy-button { |
|
361 |
margin-bottom: 0; |
|
362 |
} |
|
9 | 363 |
} |
364 |