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