author | ymh <ymh.work@gmail.com> |
Tue, 15 Dec 2020 13:49:49 +0100 | |
changeset 16 | a86126ab1dd4 |
parent 9 | 177826044cd9 |
child 18 | be944660c56a |
permissions | -rw-r--r-- |
0 | 1 |
#wpadminbar * { |
2 |
height: auto; |
|
3 |
width: auto; |
|
4 |
margin: 0; |
|
5 |
padding: 0; |
|
6 |
position: static; |
|
5 | 7 |
text-shadow: none; |
0 | 8 |
text-transform: none; |
9 |
letter-spacing: normal; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
10 |
font-size: 13px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
11 |
font-weight: 400; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
12 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
16 | 13 |
line-height: 2.46153846; |
5 | 14 |
border-radius: 0; |
15 |
box-sizing: content-box; |
|
16 |
transition: none; |
|
17 |
-webkit-font-smoothing: subpixel-antialiased; /* Prevent Safari from switching to standard antialiasing on hover */ |
|
18 |
-moz-osx-font-smoothing: auto; /* Prevent Firefox from inheriting from themes that use other values */ |
|
19 |
} |
|
20 |
||
21 |
.rtl #wpadminbar * { |
|
22 |
font-family: Tahoma, sans-serif; |
|
23 |
} |
|
24 |
||
9 | 25 |
html:lang(he-il) .rtl #wpadminbar * { |
26 |
font-family: Arial, sans-serif; |
|
5 | 27 |
} |
28 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
29 |
#wpadminbar .ab-empty-item { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
30 |
cursor: default; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
31 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
32 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
33 |
#wpadminbar .ab-empty-item, |
5 | 34 |
#wpadminbar a.ab-item, |
35 |
#wpadminbar > #wp-toolbar span.ab-label, |
|
36 |
#wpadminbar > #wp-toolbar span.noticon { |
|
37 |
color: #eee; |
|
38 |
} |
|
39 |
||
40 |
#wpadminbar #wp-admin-bar-site-name a.ab-item, |
|
41 |
#wpadminbar #wp-admin-bar-my-sites a.ab-item { |
|
42 |
white-space: nowrap; |
|
0 | 43 |
} |
44 |
||
45 |
#wpadminbar ul li:before, |
|
46 |
#wpadminbar ul li:after { |
|
47 |
content: normal; |
|
48 |
} |
|
49 |
||
50 |
#wpadminbar a, |
|
51 |
#wpadminbar a:hover, |
|
52 |
#wpadminbar a img, |
|
53 |
#wpadminbar a img:hover { |
|
54 |
border: none; |
|
55 |
text-decoration: none; |
|
56 |
background: none; |
|
57 |
} |
|
58 |
||
59 |
#wpadminbar a:focus, |
|
60 |
#wpadminbar a:active, |
|
61 |
#wpadminbar input[type="text"], |
|
62 |
#wpadminbar input[type="password"], |
|
63 |
#wpadminbar input[type="number"], |
|
64 |
#wpadminbar input[type="search"], |
|
65 |
#wpadminbar input[type="email"], |
|
66 |
#wpadminbar input[type="url"], |
|
67 |
#wpadminbar select, |
|
68 |
#wpadminbar textarea, |
|
69 |
#wpadminbar div { |
|
5 | 70 |
box-shadow: none; |
9 | 71 |
} |
72 |
||
73 |
#wpadminbar a:focus { |
|
74 |
/* Inherits transparent outline only visible in Windows High Contrast mode */ |
|
75 |
outline-offset: -1px; |
|
0 | 76 |
} |
77 |
||
78 |
#wpadminbar { |
|
79 |
direction: ltr; |
|
80 |
color: #ccc; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
81 |
font-size: 13px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
82 |
font-weight: 400; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
83 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
16 | 84 |
line-height: 2.46153846; |
5 | 85 |
height: 32px; |
0 | 86 |
position: fixed; |
87 |
top: 0; |
|
88 |
left: 0; |
|
89 |
width: 100%; |
|
9 | 90 |
min-width: 600px; /* match the min-width of the body in wp-admin/css/common.css */ |
0 | 91 |
z-index: 99999; |
5 | 92 |
background: #23282d; |
0 | 93 |
} |
94 |
||
95 |
#wpadminbar .ab-sub-wrapper, |
|
96 |
#wpadminbar ul, |
|
97 |
#wpadminbar ul li { |
|
98 |
background: none; |
|
99 |
clear: none; |
|
100 |
list-style: none; |
|
101 |
margin: 0; |
|
102 |
padding: 0; |
|
103 |
position: relative; |
|
104 |
text-indent: 0; |
|
105 |
z-index: 99999; |
|
106 |
} |
|
107 |
||
5 | 108 |
#wpadminbar ul#wp-admin-bar-root-default>li { |
109 |
margin-right: 0; |
|
0 | 110 |
} |
111 |
||
112 |
#wpadminbar .quicklinks ul { |
|
113 |
text-align: left; |
|
114 |
} |
|
115 |
||
116 |
#wpadminbar li { |
|
117 |
float: left; |
|
118 |
} |
|
119 |
||
120 |
#wpadminbar .ab-empty-item { |
|
121 |
outline: none; |
|
122 |
} |
|
123 |
||
124 |
#wpadminbar .quicklinks .ab-top-secondary > li { |
|
125 |
float: right; |
|
126 |
} |
|
127 |
||
128 |
#wpadminbar .quicklinks a, |
|
129 |
#wpadminbar .quicklinks .ab-empty-item, |
|
130 |
#wpadminbar .shortlink-input { |
|
5 | 131 |
height: 32px; |
0 | 132 |
display: block; |
5 | 133 |
padding: 0 10px; |
0 | 134 |
margin: 0; |
135 |
} |
|
136 |
||
5 | 137 |
#wpadminbar .quicklinks > ul > li > a { |
138 |
padding: 0 8px 0 7px; |
|
139 |
} |
|
140 |
||
0 | 141 |
#wpadminbar .menupop .ab-sub-wrapper, |
142 |
#wpadminbar .shortlink-input { |
|
5 | 143 |
margin: 0; |
0 | 144 |
padding: 0; |
9 | 145 |
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); |
5 | 146 |
background: #32373c; |
0 | 147 |
display: none; |
148 |
position: absolute; |
|
149 |
float: none; |
|
150 |
} |
|
151 |
||
152 |
#wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper { |
|
153 |
min-width: 100%; |
|
154 |
} |
|
155 |
||
156 |
#wpadminbar .ab-top-secondary .menupop .ab-sub-wrapper { |
|
157 |
right: 0; |
|
158 |
left: auto; |
|
159 |
} |
|
160 |
||
161 |
#wpadminbar .ab-submenu { |
|
162 |
padding: 6px 0; |
|
163 |
} |
|
164 |
||
165 |
#wpadminbar .selected .shortlink-input { |
|
166 |
display: block; |
|
167 |
} |
|
168 |
||
169 |
#wpadminbar .quicklinks .menupop ul li { |
|
170 |
float: none; |
|
171 |
} |
|
172 |
||
173 |
#wpadminbar .quicklinks .menupop ul li a strong { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
174 |
font-weight: 600; |
0 | 175 |
} |
176 |
||
177 |
#wpadminbar .quicklinks .menupop ul li .ab-item, |
|
178 |
#wpadminbar .quicklinks .menupop ul li a strong, |
|
179 |
#wpadminbar .quicklinks .menupop.hover ul li .ab-item, |
|
180 |
#wpadminbar.nojs .quicklinks .menupop:hover ul li .ab-item, |
|
181 |
#wpadminbar .shortlink-input { |
|
16 | 182 |
line-height: 2; |
0 | 183 |
height: 26px; |
184 |
white-space: nowrap; |
|
185 |
min-width: 140px; |
|
186 |
} |
|
187 |
||
188 |
#wpadminbar .shortlink-input { |
|
189 |
width: 200px; |
|
190 |
} |
|
191 |
||
192 |
#wpadminbar.nojs li:hover > .ab-sub-wrapper, |
|
193 |
#wpadminbar li.hover > .ab-sub-wrapper { |
|
194 |
display: block; |
|
195 |
} |
|
196 |
||
197 |
#wpadminbar .menupop li:hover > .ab-sub-wrapper, |
|
198 |
#wpadminbar .menupop li.hover > .ab-sub-wrapper { |
|
199 |
margin-left: 100%; |
|
5 | 200 |
margin-top: -32px; |
0 | 201 |
} |
202 |
||
203 |
#wpadminbar .ab-top-secondary .menupop li:hover > .ab-sub-wrapper, |
|
204 |
#wpadminbar .ab-top-secondary .menupop li.hover > .ab-sub-wrapper { |
|
205 |
margin-left: 0; |
|
206 |
left: inherit; |
|
207 |
right: 100%; |
|
208 |
} |
|
209 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
210 |
#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus, |
5 | 211 |
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
212 |
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item, |
5 | 213 |
#wpadminbar .ab-top-menu > li.hover > .ab-item { |
214 |
background: #32373c; |
|
215 |
color: #00b9eb; |
|
216 |
} |
|
217 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
218 |
#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label, |
5 | 219 |
#wpadminbar > #wp-toolbar li.hover span.ab-label, |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
220 |
#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label { |
5 | 221 |
color: #00b9eb; |
0 | 222 |
} |
223 |
||
5 | 224 |
#wpadminbar > #wp-toolbar > #wp-admin-bar-root-default .ab-icon, |
225 |
#wpadminbar .ab-icon, |
|
9 | 226 |
#wpadminbar .ab-item:before, |
227 |
.wp-admin-bar-arrow { |
|
5 | 228 |
position: relative; |
229 |
float: left; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
230 |
font: normal 20px/1 dashicons; |
5 | 231 |
speak: none; |
232 |
padding: 4px 0; |
|
233 |
-webkit-font-smoothing: antialiased; |
|
234 |
-moz-osx-font-smoothing: grayscale; |
|
235 |
background-image: none !important; |
|
236 |
margin-right: 6px; |
|
0 | 237 |
} |
238 |
||
5 | 239 |
#wpadminbar .ab-icon:before, |
240 |
#wpadminbar .ab-item:before, |
|
241 |
#wpadminbar #adminbarsearch:before { |
|
242 |
color: #a0a5aa; |
|
9 | 243 |
color: rgba(240, 245, 250, 0.6); |
0 | 244 |
} |
245 |
||
5 | 246 |
#wpadminbar .ab-icon:before, |
247 |
#wpadminbar .ab-item:before, |
|
248 |
#wpadminbar #adminbarsearch:before { |
|
249 |
position: relative; |
|
250 |
transition: all .1s ease-in-out; |
|
0 | 251 |
} |
252 |
||
5 | 253 |
#wpadminbar .ab-label { |
254 |
display: inline-block; |
|
255 |
height: 32px; |
|
0 | 256 |
} |
257 |
||
258 |
#wpadminbar .ab-submenu .ab-item { |
|
5 | 259 |
color: #b4b9be; |
9 | 260 |
color: rgba(240, 245, 250, 0.7); |
0 | 261 |
} |
262 |
||
263 |
#wpadminbar .quicklinks .menupop ul li a, |
|
264 |
#wpadminbar .quicklinks .menupop ul li a strong, |
|
265 |
#wpadminbar .quicklinks .menupop.hover ul li a, |
|
266 |
#wpadminbar.nojs .quicklinks .menupop:hover ul li a { |
|
5 | 267 |
color: #b4b9be; |
9 | 268 |
color: rgba(240, 245, 250, 0.7); |
5 | 269 |
} |
270 |
||
271 |
#wpadminbar .quicklinks .menupop ul li a:hover, |
|
272 |
#wpadminbar .quicklinks .menupop ul li a:focus, |
|
273 |
#wpadminbar .quicklinks .menupop ul li a:hover strong, |
|
274 |
#wpadminbar .quicklinks .menupop ul li a:focus strong, |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
275 |
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, |
5 | 276 |
#wpadminbar .quicklinks .menupop.hover ul li a:hover, |
277 |
#wpadminbar .quicklinks .menupop.hover ul li a:focus, |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
278 |
#wpadminbar .quicklinks .menupop.hover ul li div[tabindex]:hover, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
279 |
#wpadminbar .quicklinks .menupop.hover ul li div[tabindex]:focus, |
5 | 280 |
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, |
281 |
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, |
|
282 |
#wpadminbar li:hover .ab-icon:before, |
|
283 |
#wpadminbar li:hover .ab-item:before, |
|
284 |
#wpadminbar li a:focus .ab-icon:before, |
|
285 |
#wpadminbar li .ab-item:focus:before, |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
286 |
#wpadminbar li .ab-item:focus .ab-icon:before, |
5 | 287 |
#wpadminbar li.hover .ab-icon:before, |
288 |
#wpadminbar li.hover .ab-item:before, |
|
289 |
#wpadminbar li:hover #adminbarsearch:before, |
|
290 |
#wpadminbar li #adminbarsearch.adminbar-focused:before { |
|
291 |
color: #00b9eb; |
|
292 |
} |
|
293 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
294 |
#wpadminbar.mobile .quicklinks .ab-icon:before, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
295 |
#wpadminbar.mobile .quicklinks .ab-item:before { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
296 |
color: #b4b9be; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
297 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
298 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
299 |
#wpadminbar.mobile .quicklinks .hover .ab-icon:before, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
300 |
#wpadminbar.mobile .quicklinks .hover .ab-item:before { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
301 |
color: #00b9eb; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
302 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
303 |
|
9 | 304 |
#wpadminbar .menupop .menupop > .ab-item .wp-admin-bar-arrow:before, |
5 | 305 |
#wpadminbar .ab-top-secondary .menupop .menupop > .ab-item:before { |
306 |
position: absolute; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
307 |
font: normal 17px/1 dashicons; |
5 | 308 |
speak: none; |
309 |
-webkit-font-smoothing: antialiased; |
|
310 |
-moz-osx-font-smoothing: grayscale; |
|
0 | 311 |
} |
312 |
||
313 |
#wpadminbar .menupop .menupop > .ab-item { |
|
314 |
display: block; |
|
315 |
padding-right: 2em; |
|
316 |
} |
|
317 |
||
9 | 318 |
#wpadminbar .menupop .menupop > .ab-item .wp-admin-bar-arrow:before { |
5 | 319 |
top: 1px; |
9 | 320 |
right: 10px; |
321 |
padding: 4px 0; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
322 |
content: "\f139"; |
5 | 323 |
color: inherit; |
324 |
} |
|
325 |
||
0 | 326 |
#wpadminbar .ab-top-secondary .menupop .menupop > .ab-item { |
327 |
padding-left: 2em; |
|
328 |
padding-right: 1em; |
|
329 |
} |
|
330 |
||
9 | 331 |
#wpadminbar .ab-top-secondary .menupop .menupop > .ab-item .wp-admin-bar-arrow:before { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
332 |
top: 1px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
333 |
left: 6px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
334 |
content: "\f141"; |
5 | 335 |
} |
336 |
||
0 | 337 |
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary { |
338 |
display: block; |
|
339 |
position: relative; |
|
340 |
right: auto; |
|
341 |
margin: 0; |
|
342 |
box-shadow: none; |
|
343 |
} |
|
344 |
||
5 | 345 |
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, |
346 |
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { |
|
347 |
background: #464b50; |
|
348 |
} |
|
349 |
||
350 |
#wpadminbar .quicklinks .menupop .ab-sub-secondary > li > a:hover, |
|
351 |
#wpadminbar .quicklinks .menupop .ab-sub-secondary > li .ab-item:focus a { |
|
352 |
color: #00b9eb; |
|
0 | 353 |
} |
354 |
||
355 |
#wpadminbar .quicklinks a span#ab-updates { |
|
356 |
background: #eee; |
|
5 | 357 |
color: #32373c; |
0 | 358 |
display: inline; |
359 |
padding: 2px 5px; |
|
360 |
font-size: 10px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
361 |
font-weight: 600; |
0 | 362 |
border-radius: 10px; |
363 |
} |
|
364 |
||
9 | 365 |
#wpadminbar .quicklinks a:hover span#ab-updates { |
0 | 366 |
background: #fff; |
367 |
color: #000; |
|
368 |
} |
|
369 |
||
370 |
#wpadminbar .ab-top-secondary { |
|
371 |
float: right; |
|
372 |
} |
|
373 |
||
374 |
#wpadminbar ul li:last-child, |
|
375 |
#wpadminbar ul li:last-child .ab-item { |
|
376 |
box-shadow: none; |
|
377 |
} |
|
378 |
||
379 |
/** |
|
9 | 380 |
* Recovery Mode |
381 |
*/ |
|
382 |
#wpadminbar #wp-admin-bar-recovery-mode { |
|
383 |
color: #fff; |
|
384 |
background-color: #ca4a1f; |
|
385 |
} |
|
386 |
||
387 |
#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover >.ab-item, |
|
388 |
#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus, |
|
389 |
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item, |
|
390 |
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus { |
|
391 |
color: #fff; |
|
392 |
background-color: #c0461e; |
|
393 |
} |
|
394 |
||
395 |
/** |
|
0 | 396 |
* My Account |
397 |
*/ |
|
398 |
#wp-admin-bar-my-account > ul { |
|
399 |
min-width: 198px; |
|
400 |
} |
|
401 |
||
5 | 402 |
#wp-admin-bar-my-account > .ab-item:before { |
403 |
content: "\f110"; |
|
404 |
top: 2px; |
|
405 |
float: right; |
|
406 |
margin-left: 6px; |
|
407 |
margin-right: 0; |
|
408 |
} |
|
409 |
||
410 |
#wp-admin-bar-my-account.with-avatar > .ab-item:before { |
|
411 |
display: none; |
|
412 |
content: none; |
|
413 |
} |
|
414 |
||
0 | 415 |
#wp-admin-bar-my-account.with-avatar > ul { |
416 |
min-width: 270px; |
|
417 |
} |
|
418 |
||
419 |
#wpadminbar #wp-admin-bar-user-actions > li { |
|
420 |
margin-left: 16px; |
|
421 |
margin-right: 16px; |
|
422 |
} |
|
423 |
||
5 | 424 |
#wpadminbar #wp-admin-bar-user-actions.ab-submenu { |
425 |
padding: 6px 0 12px; |
|
426 |
} |
|
427 |
||
0 | 428 |
#wpadminbar #wp-admin-bar-my-account.with-avatar #wp-admin-bar-user-actions > li { |
429 |
margin-left: 88px; |
|
430 |
} |
|
431 |
||
432 |
#wpadminbar #wp-admin-bar-user-info { |
|
433 |
margin-top: 6px; |
|
434 |
margin-bottom: 15px; |
|
435 |
height: auto; |
|
436 |
background: none; |
|
437 |
} |
|
438 |
||
439 |
#wp-admin-bar-user-info .avatar { |
|
440 |
position: absolute; |
|
441 |
left: -72px; |
|
442 |
top: 4px; |
|
443 |
width: 64px; |
|
444 |
height: 64px; |
|
445 |
} |
|
446 |
||
447 |
#wpadminbar #wp-admin-bar-user-info a { |
|
448 |
background: none; |
|
449 |
height: auto; |
|
450 |
} |
|
451 |
||
452 |
#wpadminbar #wp-admin-bar-user-info span { |
|
453 |
background: none; |
|
454 |
padding: 0; |
|
455 |
height: 18px; |
|
456 |
} |
|
457 |
||
458 |
#wpadminbar #wp-admin-bar-user-info .display-name, |
|
459 |
#wpadminbar #wp-admin-bar-user-info .username { |
|
460 |
display: block; |
|
461 |
} |
|
462 |
||
463 |
#wpadminbar #wp-admin-bar-user-info .username { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
464 |
color: #a0a5aa; |
0 | 465 |
font-size: 11px; |
466 |
} |
|
467 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
468 |
#wpadminbar #wp-admin-bar-my-account.with-avatar > .ab-empty-item img, |
5 | 469 |
#wpadminbar #wp-admin-bar-my-account.with-avatar > a img { |
470 |
width: auto; |
|
0 | 471 |
height: 16px; |
472 |
padding: 0; |
|
5 | 473 |
border: 1px solid #82878c; |
0 | 474 |
background: #eee; |
16 | 475 |
line-height: 1.84615384; |
0 | 476 |
vertical-align: middle; |
5 | 477 |
margin: -4px 0 0 6px; |
0 | 478 |
float: none; |
479 |
display: inline; |
|
480 |
} |
|
481 |
||
5 | 482 |
/** |
483 |
* WP Logo |
|
484 |
*/ |
|
485 |
#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon { |
|
486 |
width: 15px; |
|
487 |
height: 20px; |
|
488 |
margin-right: 0; |
|
489 |
padding: 6px 0 5px; |
|
490 |
} |
|
491 |
||
492 |
#wpadminbar #wp-admin-bar-wp-logo > .ab-item { |
|
493 |
padding: 0 7px; |
|
494 |
} |
|
495 |
||
496 |
#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
497 |
content: "\f120"; |
5 | 498 |
top: 2px; |
499 |
} |
|
500 |
||
0 | 501 |
/* |
5 | 502 |
* My Sites & Site Title |
0 | 503 |
*/ |
504 |
#wpadminbar .quicklinks li .blavatar { |
|
16 | 505 |
display: inline-block; |
506 |
vertical-align: middle; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
507 |
font: normal 16px/1 dashicons !important; |
5 | 508 |
speak: none; |
509 |
-webkit-font-smoothing: antialiased; |
|
510 |
-moz-osx-font-smoothing: grayscale; |
|
511 |
color: #eee; |
|
0 | 512 |
} |
513 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
514 |
#wpadminbar .quicklinks li a:hover .blavatar, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
515 |
#wpadminbar .quicklinks li a:focus .blavatar, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
516 |
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar { |
5 | 517 |
color: #00b9eb; |
518 |
} |
|
519 |
||
520 |
#wpadminbar .quicklinks li .blavatar:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
521 |
content: "\f120"; |
0 | 522 |
height: 16px; |
523 |
width: 16px; |
|
524 |
display: inline-block; |
|
16 | 525 |
margin: 0 8px 2px -2px; |
5 | 526 |
} |
527 |
||
528 |
#wpadminbar #wp-admin-bar-appearance { |
|
529 |
margin-top: -12px; |
|
530 |
} |
|
531 |
||
532 |
#wpadminbar #wp-admin-bar-my-sites > .ab-item:before, |
|
533 |
#wpadminbar #wp-admin-bar-site-name > .ab-item:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
534 |
content: "\f541"; |
5 | 535 |
top: 2px; |
536 |
} |
|
537 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
538 |
#wpadminbar #wp-admin-bar-customize > .ab-item:before { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
539 |
content: "\f540"; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
540 |
top: 2px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
541 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
542 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
543 |
|
5 | 544 |
#wpadminbar #wp-admin-bar-edit > .ab-item:before { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
545 |
content: "\f464"; |
5 | 546 |
top: 2px; |
547 |
} |
|
548 |
||
549 |
#wpadminbar #wp-admin-bar-site-name > .ab-item:before { |
|
550 |
content: "\f226"; |
|
551 |
} |
|
552 |
||
553 |
.wp-admin #wpadminbar #wp-admin-bar-site-name > .ab-item:before { |
|
554 |
content: "\f102"; |
|
555 |
} |
|
556 |
||
557 |
||
558 |
||
559 |
/** |
|
560 |
* Comments |
|
561 |
*/ |
|
562 |
#wpadminbar #wp-admin-bar-comments .ab-icon { |
|
563 |
margin-right: 6px; |
|
564 |
} |
|
565 |
||
566 |
#wpadminbar #wp-admin-bar-comments .ab-icon:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
567 |
content: "\f101"; |
5 | 568 |
top: 3px; |
569 |
} |
|
570 |
||
571 |
#wpadminbar #wp-admin-bar-comments .count-0 { |
|
572 |
opacity: .5; |
|
573 |
} |
|
574 |
||
575 |
/** |
|
576 |
* New Content |
|
577 |
*/ |
|
578 |
#wpadminbar #wp-admin-bar-new-content .ab-icon:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
579 |
content: "\f132"; |
5 | 580 |
top: 4px; |
581 |
} |
|
582 |
||
583 |
/** |
|
584 |
* Updates |
|
585 |
*/ |
|
586 |
#wpadminbar #wp-admin-bar-updates .ab-icon:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
587 |
content: "\f463"; |
5 | 588 |
top: 2px; |
0 | 589 |
} |
590 |
||
591 |
/** |
|
592 |
* Search |
|
593 |
*/ |
|
16 | 594 |
|
0 | 595 |
#wpadminbar #wp-admin-bar-search .ab-item { |
596 |
padding: 0; |
|
597 |
background: transparent; |
|
598 |
} |
|
599 |
||
600 |
#wpadminbar #adminbarsearch { |
|
5 | 601 |
position: relative; |
602 |
height: 32px; |
|
0 | 603 |
padding: 0 2px; |
5 | 604 |
z-index: 1; |
0 | 605 |
} |
606 |
||
5 | 607 |
#wpadminbar #adminbarsearch:before { |
608 |
position: absolute; |
|
609 |
top: 6px; |
|
610 |
left: 5px; |
|
611 |
z-index: 20; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
612 |
font: normal 20px/1 dashicons !important; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
613 |
content: "\f179"; |
5 | 614 |
speak: none; |
615 |
-webkit-font-smoothing: antialiased; |
|
616 |
-moz-osx-font-smoothing: grayscale; |
|
617 |
} |
|
618 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
619 |
/* The admin bar search field needs to reset many styles that might be inherited from the active Theme CSS. See ticket #40313. */ |
5 | 620 |
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
621 |
display: inline-block; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
622 |
float: none; |
5 | 623 |
position: relative; |
624 |
z-index: 30; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
625 |
font-size: 13px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
626 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
16 | 627 |
line-height: 1.84615384; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
628 |
text-indent: 0; |
0 | 629 |
height: 24px; |
630 |
width: 24px; |
|
5 | 631 |
max-width: none; |
632 |
padding: 0 3px 0 24px; |
|
0 | 633 |
margin: 0; |
634 |
color: #ccc; |
|
9 | 635 |
background-color: rgba(255, 255, 255, 0); |
5 | 636 |
border: none; |
0 | 637 |
outline: none; |
638 |
cursor: pointer; |
|
639 |
box-shadow: none; |
|
640 |
box-sizing: border-box; |
|
5 | 641 |
transition-duration: 400ms; |
642 |
transition-property: width, background; |
|
643 |
transition-timing-function: ease; |
|
0 | 644 |
} |
645 |
||
5 | 646 |
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { |
647 |
z-index: 10; |
|
648 |
color: #000; |
|
649 |
width: 200px; |
|
9 | 650 |
background-color: rgba(255, 255, 255, 0.9); |
5 | 651 |
cursor: text; |
652 |
border: 0; |
|
653 |
} |
|
654 |
||
0 | 655 |
#wpadminbar #adminbarsearch .adminbar-button { |
656 |
display: none; |
|
657 |
} |
|
658 |
||
659 |
/** |
|
660 |
* Customize support classes |
|
661 |
*/ |
|
662 |
.no-customize-support .hide-if-no-customize, |
|
663 |
.customize-support .hide-if-customize, |
|
5 | 664 |
.no-customize-support #wpadminbar .hide-if-no-customize, |
0 | 665 |
.no-customize-support.wp-core-ui .hide-if-no-customize, |
666 |
.no-customize-support .wp-core-ui .hide-if-no-customize, |
|
5 | 667 |
.customize-support #wpadminbar .hide-if-customize, |
0 | 668 |
.customize-support.wp-core-ui .hide-if-customize, |
669 |
.customize-support .wp-core-ui .hide-if-customize { |
|
670 |
display: none; |
|
671 |
} |
|
672 |
||
673 |
/* Skip link */ |
|
674 |
#wpadminbar .screen-reader-text, |
|
675 |
#wpadminbar .screen-reader-text span { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
676 |
border: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
677 |
clip: rect(1px, 1px, 1px, 1px); |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
678 |
-webkit-clip-path: inset(50%); |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
679 |
clip-path: inset(50%); |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
680 |
height: 1px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
681 |
margin: -1px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
682 |
overflow: hidden; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
683 |
padding: 0; |
0 | 684 |
position: absolute; |
685 |
width: 1px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
686 |
word-wrap: normal !important; |
0 | 687 |
} |
688 |
||
689 |
#wpadminbar .screen-reader-shortcut { |
|
690 |
position: absolute; |
|
691 |
top: -1000em; |
|
692 |
} |
|
693 |
||
694 |
#wpadminbar .screen-reader-shortcut:focus { |
|
695 |
left: 6px; |
|
696 |
top: 7px; |
|
697 |
height: auto; |
|
698 |
width: auto; |
|
699 |
display: block; |
|
700 |
font-size: 14px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
701 |
font-weight: 600; |
0 | 702 |
padding: 15px 23px 14px; |
703 |
background: #f1f1f1; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
704 |
color: #0073aa; |
0 | 705 |
z-index: 100000; |
706 |
line-height: normal; |
|
5 | 707 |
text-decoration: none; |
9 | 708 |
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); |
0 | 709 |
} |
710 |
||
9 | 711 |
@media screen and (max-width: 782px) { |
5 | 712 |
/* Toolbar Touchification*/ |
713 |
html #wpadminbar { |
|
714 |
height: 46px; |
|
9 | 715 |
min-width: 240px; /* match the min-width of the body in wp-admin/css/common.css */ |
5 | 716 |
} |
717 |
||
718 |
#wpadminbar * { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
719 |
font-size: 14px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
720 |
font-weight: 400; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
721 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
16 | 722 |
line-height: 2.28571428; |
5 | 723 |
} |
724 |
||
725 |
#wpadminbar .quicklinks > ul > li > a, |
|
726 |
#wpadminbar .quicklinks .ab-empty-item { |
|
727 |
padding: 0; |
|
728 |
height: 46px; |
|
16 | 729 |
line-height: 3.28571428; |
5 | 730 |
width: auto; |
731 |
} |
|
732 |
||
733 |
#wpadminbar .ab-icon { |
|
734 |
font: 40px/1 dashicons !important; |
|
735 |
margin: 0; |
|
736 |
padding: 0; |
|
737 |
width: 52px; |
|
738 |
height: 46px; |
|
739 |
text-align: center; |
|
740 |
} |
|
741 |
||
742 |
#wpadminbar .ab-icon:before { |
|
743 |
text-align: center; |
|
744 |
} |
|
745 |
||
746 |
#wpadminbar .ab-submenu { |
|
747 |
padding: 0; |
|
748 |
} |
|
749 |
||
750 |
#wpadminbar #wp-admin-bar-site-name a.ab-item, |
|
751 |
#wpadminbar #wp-admin-bar-my-sites a.ab-item, |
|
752 |
#wpadminbar #wp-admin-bar-my-account a.ab-item { |
|
753 |
text-overflow: clip; |
|
754 |
} |
|
755 |
||
16 | 756 |
#wpadminbar .quicklinks .menupop ul li .ab-item, |
757 |
#wpadminbar .quicklinks .menupop ul li a strong, |
|
758 |
#wpadminbar .quicklinks .menupop.hover ul li .ab-item, |
|
759 |
#wpadminbar.nojs .quicklinks .menupop:hover ul li .ab-item, |
|
760 |
#wpadminbar .shortlink-input { |
|
761 |
line-height: 1.6; |
|
762 |
} |
|
763 |
||
5 | 764 |
#wpadminbar .ab-label { |
765 |
display: none; |
|
766 |
} |
|
767 |
||
768 |
#wpadminbar .menupop li:hover > .ab-sub-wrapper, |
|
769 |
#wpadminbar .menupop li.hover > .ab-sub-wrapper { |
|
770 |
margin-top: -46px; |
|
771 |
} |
|
772 |
||
773 |
#wpadminbar .ab-top-menu .menupop .ab-sub-wrapper .menupop > .ab-item { |
|
774 |
padding-right: 30px; |
|
775 |
} |
|
776 |
||
777 |
#wpadminbar .menupop .menupop > .ab-item:before { |
|
778 |
top: 10px; |
|
779 |
right: 6px; |
|
780 |
} |
|
781 |
||
782 |
#wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper .ab-item { |
|
783 |
font-size: 16px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
784 |
padding: 8px 16px; |
5 | 785 |
} |
786 |
||
787 |
#wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper a:empty { |
|
788 |
display: none; |
|
789 |
} |
|
790 |
||
791 |
/* WP logo */ |
|
792 |
#wpadminbar #wp-admin-bar-wp-logo > .ab-item { |
|
793 |
padding: 0; |
|
794 |
} |
|
795 |
||
796 |
#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon { |
|
797 |
padding: 0; |
|
798 |
width: 52px; |
|
799 |
height: 46px; |
|
800 |
text-align: center; |
|
801 |
vertical-align: top; |
|
802 |
} |
|
803 |
||
804 |
#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
805 |
font: 28px/1 dashicons !important; |
5 | 806 |
top: -3px; |
807 |
} |
|
808 |
||
809 |
#wpadminbar .ab-icon, |
|
810 |
#wpadminbar .ab-item:before { |
|
811 |
padding: 0; |
|
812 |
} |
|
813 |
||
814 |
/* My Sites and "Site Title" menu */ |
|
815 |
#wpadminbar #wp-admin-bar-my-sites > .ab-item, |
|
816 |
#wpadminbar #wp-admin-bar-site-name > .ab-item, |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
817 |
#wpadminbar #wp-admin-bar-customize > .ab-item, |
5 | 818 |
#wpadminbar #wp-admin-bar-edit > .ab-item, |
819 |
#wpadminbar #wp-admin-bar-my-account > .ab-item { |
|
820 |
text-indent: 100%; |
|
821 |
white-space: nowrap; |
|
822 |
overflow: hidden; |
|
823 |
width: 52px; |
|
824 |
padding: 0; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
825 |
color: #a0a5aa; /* @todo not needed? this text is hidden */ |
5 | 826 |
position: relative; |
827 |
} |
|
828 |
||
829 |
#wpadminbar > #wp-toolbar > #wp-admin-bar-root-default .ab-icon, |
|
830 |
#wpadminbar .ab-icon, |
|
831 |
#wpadminbar .ab-item:before { |
|
832 |
padding: 0; |
|
833 |
margin-right: 0; |
|
834 |
} |
|
835 |
||
836 |
#wpadminbar #wp-admin-bar-edit > .ab-item:before, |
|
837 |
#wpadminbar #wp-admin-bar-my-sites > .ab-item:before, |
|
838 |
#wpadminbar #wp-admin-bar-site-name > .ab-item:before, |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
839 |
#wpadminbar #wp-admin-bar-customize > .ab-item:before, |
5 | 840 |
#wpadminbar #wp-admin-bar-my-account > .ab-item:before { |
841 |
display: block; |
|
842 |
text-indent: 0; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
843 |
font: normal 32px/1 dashicons; |
5 | 844 |
speak: none; |
845 |
top: 7px; |
|
846 |
width: 52px; |
|
847 |
text-align: center; |
|
848 |
-webkit-font-smoothing: antialiased; |
|
849 |
-moz-osx-font-smoothing: grayscale; |
|
850 |
} |
|
851 |
||
852 |
#wpadminbar #wp-admin-bar-appearance { |
|
853 |
margin-top: 0; |
|
854 |
} |
|
855 |
||
856 |
#wpadminbar .quicklinks li .blavatar:before { |
|
857 |
display: none; |
|
858 |
} |
|
859 |
||
860 |
/* Search */ |
|
861 |
#wpadminbar #wp-admin-bar-search { |
|
862 |
display: none; |
|
863 |
} |
|
864 |
||
865 |
/* New Content */ |
|
866 |
#wpadminbar #wp-admin-bar-new-content .ab-icon:before { |
|
867 |
top: 0; |
|
16 | 868 |
line-height: 1.33333333; |
5 | 869 |
height: 46px !important; |
870 |
text-align: center; |
|
871 |
width: 52px; |
|
872 |
display: block; |
|
873 |
} |
|
874 |
||
875 |
/* Updates */ |
|
876 |
#wpadminbar #wp-admin-bar-updates { |
|
877 |
text-align: center; |
|
878 |
} |
|
879 |
||
880 |
#wpadminbar #wp-admin-bar-updates .ab-icon:before { |
|
881 |
top: 3px; |
|
882 |
} |
|
883 |
||
884 |
/* Comments */ |
|
885 |
#wpadminbar #wp-admin-bar-comments .ab-icon { |
|
886 |
margin: 0; |
|
887 |
} |
|
888 |
||
889 |
#wpadminbar #wp-admin-bar-comments .ab-icon:before { |
|
890 |
display: block; |
|
891 |
font-size: 34px; |
|
892 |
height: 46px; |
|
16 | 893 |
line-height: 1.38235294; |
5 | 894 |
top: 0; |
895 |
} |
|
896 |
||
897 |
/* My Account */ |
|
898 |
#wpadminbar #wp-admin-bar-my-account > a { |
|
899 |
position: relative; |
|
900 |
white-space: nowrap; |
|
901 |
text-indent: 150%; /* More than 100% indention is needed since this element has padding */ |
|
902 |
width: 28px; |
|
903 |
padding: 0 10px; |
|
904 |
overflow: hidden; /* Prevent link text from forcing horizontal scrolling on mobile */ |
|
905 |
} |
|
906 |
||
907 |
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { |
|
908 |
position: absolute; |
|
909 |
top: 13px; |
|
910 |
right: 10px; |
|
911 |
width: 26px; |
|
912 |
height: 26px; |
|
913 |
} |
|
914 |
||
915 |
#wpadminbar #wp-admin-bar-user-actions.ab-submenu { |
|
916 |
padding: 0; |
|
917 |
} |
|
918 |
||
919 |
#wpadminbar #wp-admin-bar-user-actions.ab-submenu img.avatar { |
|
920 |
display: none; |
|
921 |
} |
|
922 |
||
923 |
#wpadminbar #wp-admin-bar-my-account.with-avatar #wp-admin-bar-user-actions > li { |
|
924 |
margin: 0; |
|
925 |
} |
|
926 |
||
927 |
#wpadminbar #wp-admin-bar-user-info .display-name { |
|
928 |
height: auto; |
|
929 |
font-size: 16px; |
|
16 | 930 |
line-height: 1.5; |
5 | 931 |
color: #eee; |
932 |
} |
|
933 |
||
934 |
#wpadminbar #wp-admin-bar-user-info a { |
|
935 |
padding-top: 4px; |
|
936 |
} |
|
937 |
||
938 |
#wpadminbar #wp-admin-bar-user-info .username { |
|
939 |
line-height: 0.8 !important; |
|
940 |
margin-bottom: -2px; |
|
941 |
} |
|
942 |
||
943 |
/* Show only default top level items */ |
|
944 |
#wp-toolbar > ul > li { |
|
945 |
display: none; |
|
946 |
} |
|
947 |
||
948 |
#wpadminbar li#wp-admin-bar-menu-toggle, |
|
949 |
#wpadminbar li#wp-admin-bar-wp-logo, |
|
950 |
#wpadminbar li#wp-admin-bar-my-sites, |
|
951 |
#wpadminbar li#wp-admin-bar-updates, |
|
952 |
#wpadminbar li#wp-admin-bar-site-name, |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
953 |
#wpadminbar li#wp-admin-bar-customize, |
5 | 954 |
#wpadminbar li#wp-admin-bar-new-content, |
955 |
#wpadminbar li#wp-admin-bar-edit, |
|
956 |
#wpadminbar li#wp-admin-bar-comments, |
|
957 |
#wpadminbar li#wp-admin-bar-my-account { |
|
958 |
display: block; |
|
959 |
} |
|
960 |
||
961 |
/* Allow dropdown list items to appear normally */ |
|
962 |
#wpadminbar li:hover ul li, |
|
963 |
#wpadminbar li.hover ul li, |
|
964 |
#wpadminbar li:hover ul li:hover ul li { |
|
965 |
display: list-item; |
|
966 |
} |
|
967 |
||
968 |
/* Override default min-width so dropdown lists aren't stretched |
|
969 |
to 100% viewport width at responsive sizes. */ |
|
970 |
#wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper { |
|
971 |
min-width: -webkit-fit-content; |
|
972 |
min-width: fit-content; |
|
973 |
} |
|
974 |
||
975 |
#wpadminbar ul#wp-admin-bar-root-default > li { |
|
976 |
margin-right: 0; |
|
977 |
} |
|
978 |
||
979 |
/* Experimental fix for touch toolbar dropdown positioning */ |
|
980 |
#wpadminbar .ab-top-menu, |
|
981 |
#wpadminbar .ab-top-secondary, |
|
982 |
#wpadminbar #wp-admin-bar-wp-logo, |
|
983 |
#wpadminbar #wp-admin-bar-my-sites, |
|
984 |
#wpadminbar #wp-admin-bar-site-name, |
|
985 |
#wpadminbar #wp-admin-bar-updates, |
|
986 |
#wpadminbar #wp-admin-bar-comments, |
|
987 |
#wpadminbar #wp-admin-bar-new-content, |
|
988 |
#wpadminbar #wp-admin-bar-edit, |
|
989 |
#wpadminbar #wp-admin-bar-my-account { |
|
990 |
position: static; |
|
991 |
} |
|
992 |
||
993 |
#wpadminbar #wp-admin-bar-my-account { |
|
994 |
float: right; |
|
995 |
} |
|
996 |
||
997 |
.network-admin #wpadminbar ul#wp-admin-bar-top-secondary > li#wp-admin-bar-my-account { |
|
998 |
margin-right: 0; |
|
999 |
} |
|
1000 |
||
1001 |
/* Realign arrows on taller responsive submenus */ |
|
1002 |
||
1003 |
#wpadminbar .ab-top-secondary .menupop .menupop > .ab-item:before { |
|
1004 |
top: 10px; |
|
1005 |
left: 0; |
|
1006 |
} |
|
1007 |
} |
|
1008 |
||
1009 |
/* Smartphone */ |
|
1010 |
@media screen and (max-width: 600px) { |
|
1011 |
#wpadminbar { |
|
1012 |
position: absolute; |
|
1013 |
} |
|
1014 |
||
1015 |
#wp-responsive-overlay { |
|
1016 |
position: fixed; |
|
1017 |
top: 0; |
|
1018 |
left: 0; |
|
1019 |
width: 100%; |
|
1020 |
height: 100%; |
|
1021 |
z-index: 400; |
|
1022 |
} |
|
1023 |
||
1024 |
#wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper { |
|
1025 |
width: 100%; |
|
1026 |
left: 0; |
|
1027 |
} |
|
1028 |
||
1029 |
#wpadminbar .menupop .menupop > .ab-item:before { |
|
1030 |
display: none; |
|
1031 |
} |
|
1032 |
||
1033 |
#wpadminbar #wp-admin-bar-wp-logo.menupop .ab-sub-wrapper { |
|
1034 |
margin-left: 0; |
|
1035 |
} |
|
1036 |
||
1037 |
#wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper { |
|
1038 |
margin: 0; |
|
1039 |
width: 100%; |
|
1040 |
top: auto; |
|
1041 |
left: auto; |
|
1042 |
position: relative; |
|
1043 |
} |
|
1044 |
||
1045 |
#wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper .ab-item { |
|
1046 |
font-size: 16px; |
|
1047 |
padding: 6px 15px 19px 30px; |
|
1048 |
} |
|
1049 |
||
1050 |
#wpadminbar li:hover ul li ul li { |
|
1051 |
display: list-item; |
|
1052 |
} |
|
1053 |
||
1054 |
#wpadminbar li#wp-admin-bar-wp-logo, |
|
1055 |
#wpadminbar li#wp-admin-bar-updates { |
|
1056 |
display: none; |
|
1057 |
} |
|
1058 |
||
1059 |
/* Make submenus full-width at this size */ |
|
1060 |
||
1061 |
#wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper { |
|
1062 |
position: static; |
|
1063 |
box-shadow: none; |
|
1064 |
} |
|
1065 |
} |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1066 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1067 |
/* Very narrow screens */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1068 |
@media screen and (max-width: 400px) { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1069 |
#wpadminbar li#wp-admin-bar-comments { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1070 |
display: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1071 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1072 |
} |