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