-
Notifications
You must be signed in to change notification settings - Fork 90
/
Copy pathPageSpeed_Page_View.css
340 lines (287 loc) · 6.21 KB
/
PageSpeed_Page_View.css
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
#w3tcps_container {
max-width: 1234px;
}
.w3tcps_loading .spinner {
margin-top: 0;
float: left;
}
.w3tcps_content .postbox {
border: unset;
box-shadow: unset;
background: unset;
}
.w3tcps_content .postbox-title {
border: unset !important;
}
.w3tcps_content .postbox .hndle {
border-bottom: unset !important;
}
.w3tcps_timestamp {
margin-right: 5px;
}
#w3tcps-core-metrics .inside {
display: flex;
flex-wrap: wrap;
gap: 5px;
}
.w3tcps_metric {
min-width: 255px;
flex: 1 1 33%;
box-sizing: border-box;
border: 1px solid #c3c4c7;
background: #fff;
}
.w3tcps_metric_title {
font-size: 14px;
border-bottom: 1px solid #ccd0d4;
}
.w3tcps_metric_title,
.w3tcps_metric_stats {
padding: 8px 12px;
margin: 0;
}
.w3tcps_item_desciption {
background-color: hsla(210, 17%, 77%, 0.1);
padding: 15px !important;
margin: 0 !important;
}
.w3tcps_breakdown_items_container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
grid-row-gap: .75em;
grid-column-gap: .75em;
padding: .75em;
}
.w3tcps_breakdown_items_container .w3tcps_breakdown_items_table,
.w3tcps_breakdown_items_container .w3tcps_instruction {
flex: 49%;
flex-grow: 1;
align-self: flex-start;
border: 1px solid #ccd0d4;
border-collapse: collapse;
}
.w3tcps_breakdown_items_table {
width: 100%;
}
.w3tcps_breakdown_items_table th,
.w3tcps_breakdown_items_table td {
text-align: left;
padding: 8px 10px;
}
.w3tcps_breakdown_items_table .copyurl {
cursor: pointer;
}
.w3tcps_breakdown_items_table tr:nth-child(even) {
background-color: hsla(210, 17%, 77%, 0.1);
}
.w3tcps_instruction {
padding: 0;
}
.w3tc_instruction_copy {
padding: 10px;
}
#w3tcps_desktop {
display: none;
}
.w3tcps_breakdown_items_toggle {
cursor: pointer;
}
.w3tcps_breakdown_items_toggle .dashicons {
position: absolute;
right: 35px;
}
.w3tcps_range {
font-family: unset;
font-size: 14px;
display: inline-flex;
vertical-align: middle;
align-items: center;
}
.w3tcps_breakdown_items {
margin: 0;
padding: 0;
display: none;
background: #ffffff;
}
#w3tcps-screenshots .inside {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 5px;
}
#w3tcps-screenshots .inside .w3tcps_screenshots_final_mobile,
#w3tcps-screenshots .inside .w3tcps_screenshots_final_desktop {
flex: 1 1 24%;
}
.w3tcps_screenshots_final_mobile img,
.w3tcps_screenshots_final_desktop img {
max-width: 100%;
border: 1px solid #ddd;
}
#w3tcps-screenshots .inside .w3tcps_screenshots_other_mobile,
#w3tcps-screenshots .inside .w3tcps_screenshots_other_desktop {
flex: 1 1 74%;
}
.w3tcps_audit_results {
border: 1px solid #c3c4c7;
border-top: 0;
border-bottom: 0;
background: #fff;
min-width: 320px;
}
.w3tcps_screenshots_other_mobile,
.w3tcps_screenshots_final_mobile,
.w3tcps_screenshots_other_desktop,
.w3tcps_screenshots_final_desktop {
border: 1px solid #c3c4c7;
background: #fff;
min-width: 250px
}
.w3tcps_final_screenshot_container {
padding: 15px;
}
.opportunities .audits,
.diagnostics .audits,
.passed_audits .audits {
padding: 0 !important;
margin: 0 !important;
border-left: 2px solid #72aee6;
border-right: 0;
border-top: 0;
border-bottom: 1px solid #ccd0d4;
}
.opportunities .w3tcps_range,
.diagnostics .w3tcps_range,
.passed_audits .w3tcps_range {
padding: 15px 45px 15px 15px;
width: 100%;
box-sizing: border-box;
}
.opportunities .w3tcps_range:hover,
.diagnostics .w3tcps_range:hover,
.passed_audits .w3tcps_range:hover {
background-color: #FAFAFA;
}
.w3tcps_other_screenshot_container,
.w3tcps_final_screenshot_container {
text-align: center;
}
.w3tcps_screenshots_other_mobile img,
.w3tcps_screenshots_other_desktop img {
margin: 15px;
border: 1px solid #ddd;
}
.w3tcps_range::before {
content: '';
width: 14px;
height: 14px;
display: inline-block;
margin: 0 14px 0 6px;
}
.w3tcps_blank::before {
border: calc(0.2 * 14px) solid #bdbdbd;
border-radius: 100%;
width: 12px;
height: 12px;
min-width: 12px;
}
.w3tcps_fail::before {
width: 0px;
margin: -14px 14px 0 6px;
border-left: calc(14px / 2) solid transparent;
border-right: calc(14px / 2) solid transparent;
border-bottom: 14px solid #f33;
}
.w3tcps_average::before {
background: #fa3;
width: calc(14px * 0.88);
height: calc(14px * 0.88);
min-width: 12px;
}
.w3tcps_pass::before {
border-radius: 100%;
background: #0c6;
min-width: 14px;
}
.gauge {
position: relative;
border-radius: 50%/100% 100% 0 0;
background-color: var(--color, #fff);
overflow: hidden;
display: inline-flex;
margin: 0 10px;
}
.gauge:before {
content: "";
display: block;
padding-top: 50%;
}
.gauge .mask {
position: absolute;
left: 20%;
right: 20%;
bottom: 0;
top: 40%;
background-color: #f0f0f1;
border-radius: 50%/100% 100% 0 0;
}
.gauge .percentage {
position: absolute;
top: -1px;
left: -1px;
bottom: 0;
right: -1px;
background-color: var(--background, #fff);
transform: rotate(var(--rotation));
transform-origin: bottom center;
transition-duration: 600;
}
.gauge .value {
position: absolute;
bottom: 0%;
left: 0;
width: 100%;
text-align: center;
}
.w3tc_fancy_header {
background: #0e1920;
border-bottom: 6px solid #cdeae7;
height: 2.75em;
position: relative;
}
.w3tc_fancy_title {
color: #fff;
position: absolute;
bottom: 0;
padding-left: 50px;
}
.w3tc_fancy_title>span:nth-of-type(1),
.w3tc_fancy_title>span:nth-of-type(2),
.w3tc_fancy_title>span:nth-of-type(3) {
font-size: 2em;
}
.w3tc_fancy_title>span:nth-of-type(2) {
color: #30bec4;
}
.w3tc_fancy_title>span:nth-of-type(4) {
font-size: 1.8em;
font-style: italic;
}
.w3tc_fancy_icon {
position: absolute;
top: 3px;
left: 3px;
width: 37px;
height: 37px;
}
@media only screen and (max-width: 1024px) {
.w3tcps_breakdown_items_container {
flex-direction: column;
}
}
@media only screen and (max-width: 600px) {
.w3tcps_audit_results {
border-top: 1px solid #ccd0d4;
}
}