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