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