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