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