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 |
|
18
|
15 |
.health-check-widget-title-section { |
9
|
16 |
text-align: center; |
|
17 |
} |
|
18 |
|
16
|
19 |
.site-health-progress-wrapper { |
|
20 |
margin-bottom: 1rem; |
|
21 |
} |
|
22 |
|
9
|
23 |
.site-health-progress { |
|
24 |
display: inline-block; |
16
|
25 |
height: 20px; |
|
26 |
width: 20px; |
9
|
27 |
margin: 0; |
|
28 |
border-radius: 100%; |
|
29 |
position: relative; |
|
30 |
font-weight: 600; |
|
31 |
font-size: 0.4rem; |
|
32 |
} |
|
33 |
|
|
34 |
.site-health-progress-count { |
|
35 |
position: absolute; |
|
36 |
display: block; |
|
37 |
height: 80px; |
|
38 |
width: 80px; |
|
39 |
right: 50%; |
|
40 |
top: 50%; |
|
41 |
margin-top: -40px; |
|
42 |
margin-right: -40px; |
|
43 |
border-radius: 100%; |
|
44 |
line-height: 6.3; |
|
45 |
font-size: 2em; |
|
46 |
} |
|
47 |
|
16
|
48 |
.loading .site-health-progress svg #bar { |
9
|
49 |
stroke-dashoffset: 0; |
18
|
50 |
stroke: #c3c4c7; |
9
|
51 |
animation: loadingPulse 3s infinite ease-in-out; |
|
52 |
} |
|
53 |
|
|
54 |
.site-health-progress svg circle { |
|
55 |
stroke-dashoffset: 0; |
|
56 |
transition: stroke-dashoffset 1s linear; |
18
|
57 |
stroke: #c3c4c7; |
9
|
58 |
stroke-width: 2em; |
|
59 |
} |
|
60 |
|
|
61 |
.site-health-progress svg #bar { |
|
62 |
stroke-dashoffset: 565; |
18
|
63 |
stroke: #d63638; |
9
|
64 |
} |
|
65 |
|
16
|
66 |
.green .site-health-progress #bar { |
18
|
67 |
stroke: #00a32a; |
9
|
68 |
} |
16
|
69 |
.green .site-health-progress .site-health-progress-label { |
18
|
70 |
color: #00a32a; |
16
|
71 |
} |
9
|
72 |
|
16
|
73 |
.orange .site-health-progress #bar { |
18
|
74 |
stroke: #dba617; |
9
|
75 |
} |
16
|
76 |
.orange .site-health-progress .site-health-progress-label { |
18
|
77 |
color: #dba617; |
16
|
78 |
} |
|
79 |
|
|
80 |
.site-health-progress-label { |
|
81 |
font-weight: 600; |
|
82 |
line-height: 20px; |
|
83 |
margin-right: 0.3rem; |
|
84 |
} |
9
|
85 |
|
|
86 |
@keyframes loadingPulse { |
|
87 |
0% { |
18
|
88 |
stroke: #c3c4c7; |
9
|
89 |
} |
|
90 |
50% { |
18
|
91 |
stroke: #72aee6; |
9
|
92 |
} |
|
93 |
100% { |
18
|
94 |
stroke: #c3c4c7; |
9
|
95 |
} |
|
96 |
} |
|
97 |
|
|
98 |
.health-check-tabs-wrapper { |
|
99 |
/* IE 11 */ |
|
100 |
display: -ms-inline-grid; |
18
|
101 |
-ms-grid-columns: 1fr 1fr 1fr 1fr; |
9
|
102 |
vertical-align: top; |
|
103 |
/* modern browsers */ |
|
104 |
display: inline-grid; |
18
|
105 |
grid-template-columns: 1fr 1fr 1fr 1fr; |
|
106 |
} |
|
107 |
|
|
108 |
.health-check-tabs-wrapper.tab-count-1 { |
|
109 |
grid-template-columns: 1fr; |
|
110 |
} |
|
111 |
.health-check-tabs-wrapper.tab-count-2 { |
9
|
112 |
grid-template-columns: 1fr 1fr; |
|
113 |
} |
18
|
114 |
.health-check-tabs-wrapper.tab-count-3 { |
|
115 |
grid-template-columns: 1fr 1fr 1fr; |
|
116 |
} |
9
|
117 |
|
|
118 |
.health-check-tab { |
|
119 |
display: block; /* IE 11 */ |
|
120 |
text-decoration: none; |
|
121 |
color: inherit; |
|
122 |
padding: 0.5rem 1rem 1rem; |
|
123 |
margin: 0 1rem; |
|
124 |
transition: box-shadow 0.5s ease-in-out; |
|
125 |
} |
|
126 |
|
18
|
127 |
.health-check-offscreen-nav-wrapper { |
|
128 |
position: relative; |
|
129 |
background: transparent; |
|
130 |
border: none; |
9
|
131 |
} |
18
|
132 |
.health-check-offscreen-nav-wrapper:focus .health-check-offscreen-nav { |
|
133 |
right: initial; |
9
|
134 |
} |
|
135 |
|
18
|
136 |
.health-check-offscreen-nav { |
|
137 |
display: none; |
|
138 |
position: absolute; |
|
139 |
padding-top: 10px; |
|
140 |
left: 0; |
|
141 |
top: 100%; |
|
142 |
width: 13rem; |
|
143 |
} |
|
144 |
.health-check-offscreen-nav-wrapper.visible .health-check-offscreen-nav { |
|
145 |
display: inline-block; |
|
146 |
} |
|
147 |
.health-check-offscreen-nav:before { |
|
148 |
position: absolute; |
|
149 |
content: ""; |
|
150 |
width: 0; |
|
151 |
height: 0; |
|
152 |
border-style: solid; |
19
|
153 |
border-width: 0 10px 5px; |
|
154 |
border-color: transparent transparent #ffffff; |
18
|
155 |
left: 20px; |
|
156 |
top: 5px; |
9
|
157 |
} |
|
158 |
|
18
|
159 |
.health-check-offscreen-nav .health-check-tab { |
|
160 |
background: #fff; |
|
161 |
box-shadow: 0 2px 5px 0 rgba( 0, 0, 0, 0.75 ); |
|
162 |
} |
|
163 |
|
|
164 |
.health-check-offscreen-nav .health-check-tab.active { |
|
165 |
box-shadow: inset -3px 0 #3582c4; |
9
|
166 |
font-weight: 600; |
|
167 |
} |
|
168 |
|
|
169 |
.health-check-body { |
|
170 |
max-width: 800px; |
|
171 |
margin: 0 auto; |
|
172 |
} |
|
173 |
|
|
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 { |
18
|
224 |
color: #008a20; |
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 |
|
|
289 |
/* Better position for the WordPress admin notices and update nag. */ |
|
290 |
.site-health .notice { |
|
291 |
margin: 5px 22px 15px 20px; |
|
292 |
} |
|
293 |
|
|
294 |
.site-health .update-nag { |
|
295 |
margin-bottom: 20px; |
|
296 |
margin-right: 22px; |
|
297 |
} |
|
298 |
|
|
299 |
.health-check-wp-paths-sizes.spinner { |
|
300 |
visibility: visible; |
|
301 |
float: none; |
|
302 |
margin: 0 4px; |
|
303 |
flex-shrink: 0; |
|
304 |
} |
|
305 |
|
18
|
306 |
/* Styling unique to the dashboard widget. */ |
|
307 |
#dashboard_site_health .site-health-details { |
|
308 |
padding-right: 16px; |
|
309 |
} |
9
|
310 |
|
18
|
311 |
#dashboard_site_health .health-check-widget { |
|
312 |
display: grid; |
|
313 |
grid-template-columns: 1fr 2fr; |
|
314 |
grid-auto-rows: minmax(64px, auto); |
|
315 |
column-gap: 16px; |
|
316 |
align-items: center; |
|
317 |
} |
|
318 |
#dashboard_site_health .site-health-progress-label { |
|
319 |
margin-right: 0; |
|
320 |
} |
9
|
321 |
|
18
|
322 |
@media screen and (max-width: 480px) { |
|
323 |
#dashboard_site_health .health-check-widget { |
|
324 |
grid-template-columns: 100%; |
9
|
325 |
} |
18
|
326 |
} |
|
327 |
|
|
328 |
@media screen and (max-width: 782px) { |
9
|
329 |
|
|
330 |
.site-health-issues-wrapper .health-check-accordion-trigger { |
|
331 |
flex-direction: column; |
|
332 |
align-items: flex-start; |
|
333 |
} |
|
334 |
|
|
335 |
.health-check-accordion-trigger .badge { |
|
336 |
margin: 1em 0 0; |
|
337 |
} |
|
338 |
|
|
339 |
.health-check-table { |
|
340 |
table-layout: fixed; |
|
341 |
} |
|
342 |
|
|
343 |
.health-check-table td { |
|
344 |
box-sizing: border-box; |
|
345 |
display: block; |
|
346 |
width: 100%; |
|
347 |
word-wrap: break-word; |
|
348 |
} |
|
349 |
|
|
350 |
.health-check-table td:first-child { |
|
351 |
width: 100%; |
|
352 |
padding-bottom: 0; |
|
353 |
font-weight: 600; |
|
354 |
} |
16
|
355 |
|
|
356 |
.wp-core-ui .site-health-copy-buttons .copy-button { |
|
357 |
margin-bottom: 0; |
|
358 |
} |
9
|
359 |
} |
|
360 |
|