author | ymh <ymh.work@gmail.com> |
Fri, 05 Sep 2025 18:40:08 +0200 | |
changeset 21 | 48c4eec2b7e6 |
parent 19 | 3d72ae0968f4 |
child 22 | 8c2e4d02f4ef |
permissions | -rw-r--r-- |
5 | 1 |
/* nav-menu */ |
2 |
||
3 |
/* @todo: determine if this is truly for nav menus only */ |
|
4 |
.no-js #message { |
|
5 |
display: block; |
|
6 |
} |
|
7 |
||
8 |
ul.add-menu-item-tabs li { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
9 |
padding: 3px 5px 4px 8px; |
5 | 10 |
} |
11 |
||
12 |
.accordion-section ul.category-tabs, |
|
13 |
.accordion-section ul.add-menu-item-tabs, |
|
14 |
.accordion-section ul.wp-tab-bar { |
|
15 |
margin: 0; |
|
16 |
} |
|
17 |
||
18 |
.accordion-section .categorychecklist { |
|
19 |
margin: 13px 0; |
|
20 |
} |
|
21 |
||
22 |
#nav-menu-meta .accordion-section-content { |
|
23 |
padding: 18px 13px; |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
24 |
resize: vertical; |
5 | 25 |
} |
26 |
||
27 |
#nav-menu-meta .button-controls { |
|
28 |
margin-bottom: 0; |
|
29 |
} |
|
30 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
31 |
.has-no-menu-item .button-controls { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
32 |
display: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
33 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
34 |
|
5 | 35 |
#nav-menus-frame { |
36 |
margin-left: 300px; |
|
37 |
margin-top: 23px; |
|
38 |
} |
|
39 |
||
40 |
#wpbody-content #menu-settings-column { |
|
9 | 41 |
display: inline; |
42 |
width: 281px; |
|
5 | 43 |
margin-left: -300px; |
44 |
clear: both; |
|
45 |
float: left; |
|
46 |
padding-top: 0; |
|
47 |
} |
|
48 |
||
49 |
#menu-settings-column .inside { |
|
50 |
clear: both; |
|
51 |
margin: 10px 0 0; |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
52 |
height: 100%; |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
53 |
max-height: inherit; |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
54 |
} |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
55 |
|
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
56 |
#menu-settings-column .categorydiv, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
57 |
#menu-settings-column .customlinkdiv, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
58 |
#menu-settings-column .posttypediv, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
59 |
#menu-settings-column .taxonomydiv { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
60 |
max-height: inherit; |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
61 |
height: 100%; |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
62 |
} |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
63 |
|
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
64 |
#menu-settings-column .wp-tab-panel, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
65 |
#menu-settings-column .categorydiv div.tabs-panel, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
66 |
#menu-settings-column .customlinkdiv div.tabs-panel, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
67 |
#menu-settings-column .posttypediv div.tabs-panel, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
68 |
#menu-settings-column .taxonomydiv div.tabs-panel { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
69 |
/* Allow space for content after tab panels in nav menu editor. */ |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
70 |
max-height: calc( 100% - 75px ); |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
71 |
height: 100%; |
5 | 72 |
} |
73 |
||
74 |
.metabox-holder-disabled .postbox, |
|
75 |
.metabox-holder-disabled .accordion-section-content, |
|
76 |
.metabox-holder-disabled .accordion-section-title { |
|
77 |
opacity: 0.5; |
|
78 |
filter: alpha(opacity=50); |
|
79 |
} |
|
80 |
||
81 |
.metabox-holder-disabled .button-controls .select-all { |
|
82 |
display: none; |
|
83 |
} |
|
84 |
||
85 |
#wpbody { |
|
86 |
position: relative; |
|
87 |
} |
|
88 |
||
89 |
.is-submenu { |
|
18 | 90 |
color: #50575e; /* #fafafa background */ |
5 | 91 |
font-style: italic; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
92 |
font-weight: 400; |
5 | 93 |
margin-left: 4px; |
94 |
} |
|
95 |
||
96 |
.manage-menus { |
|
97 |
margin-top: 23px; |
|
98 |
padding: 10px; |
|
99 |
overflow: hidden; |
|
18 | 100 |
background: #fff; |
5 | 101 |
} |
102 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
103 |
.manage-menus .selected-menu, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
104 |
.manage-menus select, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
105 |
.manage-menus .submit-btn, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
106 |
.nav-menus-php .add-new-menu-action { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
107 |
display: inline-block; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
108 |
margin-right: 3px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
109 |
vertical-align: middle; |
5 | 110 |
} |
111 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
112 |
.manage-menus select, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
113 |
.menu-location-menus select { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
114 |
max-width: 100%; |
5 | 115 |
} |
116 |
||
117 |
.menu-edit #post-body-content h3 { |
|
118 |
margin: 1em 0 10px; |
|
119 |
} |
|
120 |
||
18 | 121 |
#nav-menu-bulk-actions-top { |
122 |
margin: 1em 0; |
|
123 |
} |
|
124 |
||
125 |
#nav-menu-bulk-actions-bottom { |
|
126 |
margin: 1em 0; |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
127 |
margin: calc( 1em + 9px ) 0; |
18 | 128 |
} |
129 |
||
130 |
.bulk-actions input.button { |
|
131 |
margin-right: 12px; |
|
132 |
} |
|
133 |
||
134 |
.bulk-select-button { |
|
135 |
position: relative; |
|
136 |
display: inline-block; |
|
137 |
padding: 0 10px; |
|
138 |
font-size: 13px; |
|
139 |
line-height: 2.15384615; |
|
140 |
height: auto; |
|
141 |
min-height: 30px; |
|
142 |
background: #f6f7f7; |
|
143 |
vertical-align: top; |
|
144 |
border: 1px solid #dcdcde; |
|
145 |
margin: 0; |
|
146 |
cursor: pointer; |
|
147 |
border-radius: 3px; |
|
148 |
white-space: nowrap; |
|
149 |
box-sizing: border-box; |
|
150 |
} |
|
151 |
||
152 |
.bulk-selection .bulk-select-button { |
|
153 |
color: #2271b1; |
|
154 |
border-color: #2271b1; |
|
155 |
background: #f6f7f7; |
|
156 |
vertical-align: top; |
|
157 |
} |
|
158 |
||
159 |
#pending-menu-items-to-delete { |
|
160 |
display: none; |
|
161 |
} |
|
162 |
||
163 |
.bulk-selection #pending-menu-items-to-delete { |
|
164 |
display: block; |
|
165 |
margin-top: 1em; |
|
166 |
} |
|
167 |
||
168 |
#pending-menu-items-to-delete p { |
|
169 |
margin-bottom: 0; |
|
170 |
} |
|
171 |
||
172 |
#pending-menu-items-to-delete ul { |
|
173 |
margin-top: 0; |
|
174 |
list-style: none; |
|
175 |
} |
|
176 |
||
177 |
#pending-menu-items-to-delete ul li { |
|
178 |
display: inline; |
|
179 |
} |
|
180 |
||
181 |
input.bulk-select-switcher + .bulk-select-button-label { |
|
182 |
vertical-align: inherit; |
|
183 |
} |
|
184 |
||
185 |
label.bulk-select-button:hover, |
|
186 |
label.bulk-select-button:active, |
|
187 |
label.bulk-select-button:focus-within { |
|
188 |
background: #f0f0f1; |
|
189 |
border-color: #0a4b78; |
|
190 |
color: #0a4b78; |
|
191 |
} |
|
192 |
||
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
193 |
input.bulk-select-switcher:focus + .bulk-select-button-label { |
18 | 194 |
color: #0a4b78; |
195 |
} |
|
196 |
||
197 |
.bulk-actions input.menu-items-delete { |
|
198 |
appearance: none; |
|
199 |
font-size: inherit; |
|
200 |
border: 0; |
|
201 |
line-height: 2.1em; |
|
202 |
background: none; |
|
203 |
cursor: pointer; |
|
204 |
text-decoration: underline; |
|
205 |
color: #b32d2e; |
|
206 |
} |
|
207 |
||
208 |
.bulk-actions input.menu-items-delete:hover { |
|
209 |
color: #b32d2e; |
|
210 |
border: none; |
|
211 |
} |
|
212 |
||
213 |
.bulk-actions input.menu-items-delete.disabled { |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
214 |
display: none; |
18 | 215 |
} |
216 |
||
5 | 217 |
.menu-settings { |
18 | 218 |
border-top: 1px solid #f0f0f1; |
5 | 219 |
margin-top: 2em; |
220 |
} |
|
221 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
222 |
.menu-settings-group { |
5 | 223 |
margin: 0 0 10px; |
224 |
overflow: hidden; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
225 |
padding-left: 20%; |
5 | 226 |
} |
227 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
228 |
.menu-settings-group:last-of-type { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
229 |
margin-bottom: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
230 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
231 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
232 |
.menu-settings-input { |
5 | 233 |
float: left; |
234 |
margin: 0; |
|
235 |
width: 100%; |
|
236 |
} |
|
237 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
238 |
.menu-settings-group-name { |
5 | 239 |
float: left; |
240 |
clear: both; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
241 |
width: 25%; |
5 | 242 |
padding: 3px 0 0; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
243 |
margin-left: -25%; /* 20 container left padding x ( 100 container % width / 80 this % width ) */ |
5 | 244 |
} |
245 |
||
246 |
.menu-settings label { |
|
247 |
vertical-align: baseline; |
|
248 |
} |
|
249 |
||
250 |
.menu-edit .checkbox-input { |
|
251 |
margin-top: 4px; |
|
252 |
} |
|
253 |
||
254 |
.theme-location-set { |
|
18 | 255 |
color: #646970; |
5 | 256 |
font-size: 11px; |
257 |
} |
|
258 |
||
259 |
/* Menu Container */ |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
260 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
261 |
/* @todo: responsive view. */ |
5 | 262 |
#menu-management-liquid { |
263 |
float: left; |
|
264 |
min-width: 100%; |
|
265 |
margin-top: 3px; |
|
266 |
} |
|
267 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
268 |
/* @todo: responsive view. */ |
5 | 269 |
#menu-management { |
270 |
position: relative; |
|
271 |
margin-right: 20px; |
|
272 |
margin-top: -3px; |
|
273 |
width: 100%; |
|
274 |
} |
|
275 |
||
276 |
#menu-management .menu-edit { |
|
277 |
margin-bottom: 20px; |
|
278 |
} |
|
279 |
||
280 |
.nav-menus-php #post-body { |
|
9 | 281 |
padding: 0 10px; |
5 | 282 |
border-top: 1px solid #fff; |
18 | 283 |
border-bottom: 1px solid #dcdcde; |
5 | 284 |
background: #fff; |
285 |
} |
|
286 |
||
287 |
#nav-menu-header, |
|
288 |
#nav-menu-footer { |
|
289 |
padding: 0 10px; |
|
18 | 290 |
background: #f6f7f7; |
5 | 291 |
} |
292 |
||
293 |
#nav-menu-header { |
|
18 | 294 |
border-bottom: 1px solid #dcdcde; |
5 | 295 |
margin-bottom: 0; |
296 |
} |
|
297 |
||
298 |
#nav-menu-header .menu-name-label { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
299 |
display: inline-block; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
300 |
vertical-align: middle; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
301 |
margin-right: 7px; |
5 | 302 |
} |
303 |
||
304 |
.nav-menus-php #post-body div.updated, |
|
305 |
.nav-menus-php #post-body div.error { |
|
306 |
margin: 0; |
|
307 |
} |
|
308 |
||
309 |
.nav-menus-php #post-body-content { |
|
310 |
position: relative; |
|
311 |
float: none; |
|
312 |
} |
|
313 |
||
9 | 314 |
.nav-menus-php #post-body-content .post-body-plain { |
315 |
margin-bottom: 0; |
|
316 |
} |
|
317 |
||
5 | 318 |
#menu-management .menu-add-new abbr { |
9 | 319 |
font-weight: 600; |
5 | 320 |
} |
321 |
||
322 |
#select-nav-menu-container { |
|
323 |
text-align: right; |
|
19 | 324 |
padding: 0 10px 3px; |
5 | 325 |
margin-bottom: 5px; |
326 |
} |
|
327 |
||
328 |
#select-nav-menu { |
|
329 |
width: 100px; |
|
330 |
display: inline; |
|
331 |
} |
|
332 |
||
333 |
#menu-name-label { |
|
334 |
margin-top: -2px; |
|
335 |
} |
|
336 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
337 |
.widefat .menu-locations .menu-location-title { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
338 |
padding: 13px 10px 0; |
5 | 339 |
} |
340 |
||
341 |
.menu-location-title label { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
342 |
font-weight: 600; |
5 | 343 |
} |
344 |
||
345 |
.menu-location-menus select { |
|
346 |
float: left; |
|
347 |
} |
|
348 |
||
349 |
#locations-nav-menu-wrapper { |
|
350 |
padding: 5px 0; |
|
351 |
} |
|
352 |
||
353 |
.locations-nav-menu-select select { |
|
354 |
float: left; |
|
355 |
width: 160px; |
|
356 |
margin-right: 5px; |
|
357 |
} |
|
358 |
||
359 |
.locations-row-links { |
|
360 |
float: left; |
|
361 |
margin: 6px 0 0 6px; |
|
362 |
} |
|
363 |
||
364 |
.locations-edit-menu-link, |
|
365 |
.locations-add-menu-link { |
|
366 |
margin: 0 3px; |
|
367 |
} |
|
368 |
||
369 |
.locations-edit-menu-link { |
|
370 |
padding-right: 3px; |
|
18 | 371 |
border-right: 1px solid #c3c4c7; |
5 | 372 |
} |
373 |
||
374 |
#menu-management .inside { |
|
375 |
padding: 0 10px; |
|
376 |
} |
|
377 |
||
378 |
/* Add Menu Item Boxes */ |
|
379 |
.postbox .howto input, |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
380 |
.customlinkdiv .menu-item-textbox { |
5 | 381 |
width: 180px; |
382 |
float: right; |
|
383 |
} |
|
384 |
||
385 |
.accordion-container .outer-border { |
|
386 |
margin: 0; |
|
387 |
} |
|
388 |
||
389 |
.customlinkdiv p { |
|
390 |
margin-top: 0 |
|
391 |
} |
|
392 |
||
393 |
#nav-menu-theme-locations .howto select { |
|
394 |
width: 100%; |
|
395 |
} |
|
396 |
||
397 |
#nav-menu-theme-locations .button-controls { |
|
398 |
text-align: right; |
|
399 |
} |
|
400 |
||
401 |
.add-menu-item-view-all { |
|
402 |
height: 400px; |
|
403 |
} |
|
404 |
||
405 |
/* Button Primary Actions */ |
|
406 |
#menu-container .submit { |
|
407 |
margin: 0 0 10px; |
|
408 |
padding: 0; |
|
409 |
} |
|
410 |
||
411 |
/* @todo: is this actually used? */ |
|
412 |
#cancel-save { |
|
413 |
text-decoration: underline; |
|
414 |
font-size: 12px; |
|
415 |
margin-left: 20px; |
|
416 |
margin-top: 5px; |
|
417 |
} |
|
418 |
||
419 |
.button.right, .button-secondary.right, .button-primary.right { |
|
420 |
float: right; |
|
421 |
} |
|
422 |
||
423 |
/* Button Secondary Actions */ |
|
424 |
.list-controls { |
|
425 |
float: left; |
|
426 |
margin-top: 5px; |
|
427 |
} |
|
428 |
||
429 |
.add-to-menu { |
|
430 |
float: right; |
|
431 |
} |
|
432 |
||
433 |
.button-controls { |
|
9 | 434 |
clear: both; |
5 | 435 |
margin: 10px 0; |
436 |
} |
|
437 |
||
438 |
.show-all, |
|
439 |
.hide-all { |
|
440 |
cursor: pointer; |
|
441 |
} |
|
442 |
||
443 |
.hide-all { |
|
444 |
display: none; |
|
445 |
} |
|
446 |
||
447 |
/* Create Menu */ |
|
448 |
#menu-name { |
|
449 |
width: 270px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
450 |
vertical-align: middle; |
5 | 451 |
} |
452 |
||
453 |
#manage-menu .inside { |
|
19 | 454 |
padding: 0; |
5 | 455 |
} |
456 |
||
457 |
/* Custom Links */ |
|
458 |
#available-links dt { |
|
459 |
display: block; |
|
460 |
} |
|
461 |
||
462 |
#add-custom-link .howto { |
|
463 |
font-size: 12px; |
|
464 |
} |
|
465 |
||
466 |
#add-custom-link label span { |
|
467 |
display: block; |
|
468 |
float: left; |
|
469 |
margin-top: 5px; |
|
470 |
padding-right: 5px; |
|
471 |
} |
|
472 |
||
473 |
.menu-item-textbox { |
|
474 |
width: 180px; |
|
475 |
} |
|
476 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
477 |
.customlinkdiv label, |
5 | 478 |
.nav-menus-php .howto span { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
479 |
float: left; |
5 | 480 |
margin-top: 6px; |
481 |
} |
|
482 |
||
483 |
/* Menu item types */ |
|
484 |
.quick-search { |
|
485 |
width: 190px; |
|
486 |
} |
|
487 |
||
488 |
.quick-search-wrap .spinner { |
|
489 |
float: none; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
490 |
margin: -3px -10px 0 0; |
5 | 491 |
} |
492 |
||
493 |
.nav-menus-php .list-wrap { |
|
494 |
display: none; |
|
495 |
clear: both; |
|
496 |
margin-bottom: 10px; |
|
497 |
} |
|
498 |
||
499 |
.nav-menus-php .postbox p.submit { |
|
500 |
margin-bottom: 0; |
|
501 |
} |
|
502 |
||
503 |
/* Listings */ |
|
504 |
.nav-menus-php .list li { |
|
505 |
display: none; |
|
18 | 506 |
margin: 0 0 5px; |
5 | 507 |
} |
508 |
||
509 |
.nav-menus-php .list li .menu-item-title { |
|
510 |
cursor: pointer; |
|
511 |
display: block; |
|
512 |
} |
|
513 |
||
514 |
.nav-menus-php .list li .menu-item-title input { |
|
515 |
margin-right: 3px; |
|
516 |
margin-top: -3px; |
|
517 |
} |
|
518 |
||
519 |
.menu-item-title input[type=checkbox] { |
|
520 |
display: inline-block; |
|
521 |
margin-top: -4px; |
|
522 |
} |
|
523 |
||
16 | 524 |
.menu-item-title .post-state { |
525 |
font-weight: 600; |
|
526 |
} |
|
527 |
||
5 | 528 |
/* Nav Menu */ |
529 |
#menu-container .inside { |
|
530 |
padding-bottom: 10px; |
|
531 |
} |
|
532 |
||
533 |
.menu { |
|
9 | 534 |
padding-top: 1em; |
5 | 535 |
} |
536 |
||
537 |
#menu-to-edit { |
|
538 |
margin: 0; |
|
539 |
padding: 0.1em 0; |
|
540 |
} |
|
541 |
||
542 |
.menu ul { |
|
543 |
width: 100%; |
|
544 |
} |
|
545 |
||
546 |
.menu li { |
|
547 |
margin-bottom: 0; |
|
9 | 548 |
position: relative; |
5 | 549 |
} |
550 |
||
551 |
.menu-item-bar { |
|
9 | 552 |
clear: both; |
553 |
line-height: 1.5; |
|
554 |
position: relative; |
|
5 | 555 |
margin: 9px 0 0; |
556 |
} |
|
557 |
||
558 |
.menu-item-bar .menu-item-handle { |
|
18 | 559 |
border: 1px solid #dcdcde; |
5 | 560 |
position: relative; |
561 |
padding: 10px 15px; |
|
562 |
height: auto; |
|
563 |
min-height: 20px; |
|
18 | 564 |
max-width: 382px; |
16 | 565 |
line-height: 2.30769230; |
5 | 566 |
overflow: hidden; |
567 |
word-wrap: break-word; |
|
568 |
} |
|
569 |
||
570 |
.menu-item-bar .menu-item-handle:hover { |
|
18 | 571 |
border-color: #8c8f94; |
5 | 572 |
} |
573 |
||
574 |
#menu-to-edit .menu-item-invalid .menu-item-handle { |
|
18 | 575 |
background: #fcf0f1; |
576 |
border-color: #d63638; |
|
5 | 577 |
} |
578 |
||
579 |
.no-js .menu-item-edit-active .item-edit { |
|
580 |
display: none; |
|
581 |
} |
|
582 |
||
583 |
.js .menu-item-handle { |
|
584 |
cursor: move; |
|
585 |
} |
|
586 |
||
587 |
.menu li.deleting .menu-item-handle { |
|
588 |
background-image: none; |
|
18 | 589 |
background-color: #f86368; |
5 | 590 |
} |
591 |
||
592 |
.menu-item-handle .item-title { |
|
593 |
font-size: 13px; |
|
594 |
font-weight: 600; |
|
16 | 595 |
line-height: 1.53846153; |
5 | 596 |
display: block; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
597 |
/* @todo: responsive view. */ |
5 | 598 |
margin-right: 13em; |
599 |
} |
|
600 |
||
18 | 601 |
.menu-item-handle .menu-item-checkbox { |
602 |
display: none; |
|
603 |
} |
|
604 |
||
605 |
.bulk-selection .menu-item-handle .menu-item-checkbox { |
|
606 |
display: inline-block; |
|
607 |
margin-right: 6px; |
|
608 |
} |
|
609 |
||
5 | 610 |
.menu-item-handle .menu-item-title.no-title { |
18 | 611 |
color: #646970; |
5 | 612 |
} |
613 |
||
614 |
/* Sortables */ |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
615 |
li.menu-item.ui-sortable-helper .menu-item-bar { |
5 | 616 |
margin-top: 0; |
617 |
} |
|
618 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
619 |
li.menu-item.ui-sortable-helper .menu-item-transport .menu-item-bar { |
9 | 620 |
margin-top: 9px; /* Must use the same value used by the dragged item .menu-item-bar */ |
5 | 621 |
} |
622 |
||
623 |
.menu .sortable-placeholder { |
|
624 |
height: 35px; |
|
625 |
width: 410px; |
|
9 | 626 |
margin-top: 9px; /* Must use the same value used by the dragged item .menu-item-bar */ |
5 | 627 |
} |
628 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
629 |
/* Hide the transport list when it's empty */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
630 |
.menu-item .menu-item-transport:empty { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
631 |
display: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
632 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
633 |
|
5 | 634 |
/* WARNING: The factor of 30px is hardcoded into the nav-menus JavaScript. */ |
19 | 635 |
.menu-item-depth-0 { margin-left: 0; } |
5 | 636 |
.menu-item-depth-1 { margin-left: 30px; } |
637 |
.menu-item-depth-2 { margin-left: 60px; } |
|
638 |
.menu-item-depth-3 { margin-left: 90px; } |
|
639 |
.menu-item-depth-4 { margin-left: 120px; } |
|
640 |
.menu-item-depth-5 { margin-left: 150px; } |
|
641 |
.menu-item-depth-6 { margin-left: 180px; } |
|
642 |
.menu-item-depth-7 { margin-left: 210px; } |
|
643 |
.menu-item-depth-8 { margin-left: 240px; } |
|
644 |
.menu-item-depth-9 { margin-left: 270px; } |
|
645 |
.menu-item-depth-10 { margin-left: 300px; } |
|
646 |
.menu-item-depth-11 { margin-left: 330px; } |
|
647 |
||
19 | 648 |
.menu-item-depth-0 .menu-item-transport { margin-left: 0; } |
5 | 649 |
.menu-item-depth-1 .menu-item-transport { margin-left: -30px; } |
650 |
.menu-item-depth-2 .menu-item-transport { margin-left: -60px; } |
|
651 |
.menu-item-depth-3 .menu-item-transport { margin-left: -90px; } |
|
652 |
.menu-item-depth-4 .menu-item-transport { margin-left: -120px; } |
|
653 |
.menu-item-depth-5 .menu-item-transport { margin-left: -150px; } |
|
654 |
.menu-item-depth-6 .menu-item-transport { margin-left: -180px; } |
|
655 |
.menu-item-depth-7 .menu-item-transport { margin-left: -210px; } |
|
656 |
.menu-item-depth-8 .menu-item-transport { margin-left: -240px; } |
|
657 |
.menu-item-depth-9 .menu-item-transport { margin-left: -270px; } |
|
658 |
.menu-item-depth-10 .menu-item-transport { margin-left: -300px; } |
|
659 |
.menu-item-depth-11 .menu-item-transport { margin-left: -330px; } |
|
660 |
||
661 |
body.menu-max-depth-0 { min-width: 950px !important; } |
|
662 |
body.menu-max-depth-1 { min-width: 980px !important; } |
|
663 |
body.menu-max-depth-2 { min-width: 1010px !important; } |
|
664 |
body.menu-max-depth-3 { min-width: 1040px !important; } |
|
665 |
body.menu-max-depth-4 { min-width: 1070px !important; } |
|
666 |
body.menu-max-depth-5 { min-width: 1100px !important; } |
|
667 |
body.menu-max-depth-6 { min-width: 1130px !important; } |
|
668 |
body.menu-max-depth-7 { min-width: 1160px !important; } |
|
669 |
body.menu-max-depth-8 { min-width: 1190px !important; } |
|
670 |
body.menu-max-depth-9 { min-width: 1220px !important; } |
|
671 |
body.menu-max-depth-10 { min-width: 1250px !important; } |
|
672 |
body.menu-max-depth-11 { min-width: 1280px !important; } |
|
673 |
||
674 |
/* Menu item controls */ |
|
675 |
.item-type { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
676 |
display: inline-block; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
677 |
padding: 12px 16px; |
18 | 678 |
color: #646970; |
5 | 679 |
font-size: 12px; |
9 | 680 |
line-height: 1.5; |
5 | 681 |
} |
682 |
||
683 |
.item-controls { |
|
684 |
font-size: 12px; |
|
685 |
position: absolute; |
|
686 |
right: 20px; |
|
687 |
top: -1px; |
|
688 |
} |
|
689 |
||
690 |
.item-controls a { |
|
691 |
text-decoration: none; |
|
692 |
} |
|
693 |
||
694 |
.item-controls a:hover { |
|
695 |
cursor: pointer; |
|
696 |
} |
|
697 |
||
698 |
.item-controls .item-order { |
|
699 |
padding-right: 10px; |
|
700 |
} |
|
701 |
||
702 |
.nav-menus-php .item-edit { |
|
703 |
position: absolute; |
|
704 |
right: -20px; |
|
705 |
top: 0; |
|
706 |
display: block; |
|
707 |
width: 30px; |
|
708 |
height: 40px; |
|
709 |
outline: none; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
710 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
711 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
712 |
.no-js.nav-menus-php .item-edit { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
713 |
position: static; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
714 |
float: right; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
715 |
width: auto; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
716 |
height: auto; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
717 |
margin: 12px -10px 12px 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
718 |
padding: 0; |
18 | 719 |
color: #2271b1; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
720 |
text-decoration: underline; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
721 |
font-size: 12px; |
9 | 722 |
line-height: 1.5; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
723 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
724 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
725 |
.no-js.nav-menus-php .item-edit .screen-reader-text { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
726 |
position: static; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
727 |
clip-path: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
728 |
width: auto; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
729 |
height: auto; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
730 |
margin: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
731 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
732 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
733 |
.nav-menus-php .item-edit:before { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
734 |
margin-top: 10px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
735 |
margin-left: 4px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
736 |
width: 20px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
737 |
border-radius: 50%; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
738 |
text-indent: -1px; /* account for the dashicon alignment */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
739 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
740 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
741 |
.no-js.nav-menus-php .item-edit:before { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
742 |
display: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
743 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
744 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
745 |
.rtl .nav-menus-php .item-edit:before { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
746 |
text-indent: 1px; /* account for the dashicon alignment */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
747 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
748 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
749 |
.js.nav-menus-php .item-edit:focus { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
750 |
box-shadow: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
751 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
752 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
753 |
.nav-menus-php .item-edit:focus:before { |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
754 |
box-shadow: 0 0 0 2px #2271b1; |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
755 |
/* Only visible in Windows High Contrast mode */ |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
756 |
outline: 2px solid transparent; |
5 | 757 |
} |
758 |
||
759 |
/* Menu editing */ |
|
760 |
.menu-instructions-inactive { |
|
761 |
display: none; |
|
762 |
} |
|
763 |
||
764 |
.menu-item-settings { |
|
765 |
display: block; |
|
18 | 766 |
max-width: 392px; |
767 |
padding: 10px; |
|
5 | 768 |
position: relative; |
769 |
z-index: 10; /* Keep .item-title's shadow from appearing on top of .menu-item-settings */ |
|
18 | 770 |
border: 1px solid #c3c4c7; |
5 | 771 |
border-top: none; |
9 | 772 |
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); |
5 | 773 |
} |
774 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
775 |
.menu-item-settings .field-move { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
776 |
margin: 3px 0 5px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
777 |
line-height: 1.5; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
778 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
779 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
780 |
.field-move-visual-label { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
781 |
float: left; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
782 |
margin-right: 4px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
783 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
784 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
785 |
.menu-item-settings .field-move .button-link { |
5 | 786 |
display: none; |
787 |
margin: 0 2px; |
|
788 |
} |
|
789 |
||
790 |
.menu-item-edit-active .menu-item-settings { |
|
791 |
display: block; |
|
792 |
} |
|
793 |
||
794 |
.menu-item-edit-inactive .menu-item-settings { |
|
795 |
display: none; |
|
796 |
} |
|
797 |
||
798 |
.add-menu-item-pagelinks { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
799 |
margin: .5em -10px; |
5 | 800 |
text-align: center; |
801 |
} |
|
802 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
803 |
.add-menu-item-pagelinks .page-numbers { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
804 |
display: inline-block; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
805 |
min-width: 20px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
806 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
807 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
808 |
.add-menu-item-pagelinks .page-numbers.dots { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
809 |
min-width: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
810 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
811 |
|
5 | 812 |
.link-to-original { |
813 |
display: block; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
814 |
margin: 0 0 15px; |
5 | 815 |
padding: 3px 5px 5px; |
18 | 816 |
border: 1px solid #dcdcde; |
817 |
color: #646970; |
|
5 | 818 |
font-size: 12px; |
819 |
} |
|
820 |
||
821 |
.link-to-original a { |
|
822 |
padding-left: 4px; |
|
823 |
font-style: normal; |
|
824 |
} |
|
825 |
||
826 |
.hidden-field { |
|
827 |
display: none; |
|
828 |
} |
|
829 |
||
830 |
.menu-item-settings .description-thin, |
|
831 |
.menu-item-settings .description-wide { |
|
832 |
margin-right: 10px; |
|
833 |
float: left; |
|
834 |
} |
|
835 |
||
836 |
.description-thin { |
|
18 | 837 |
width: calc(50% - 5px); |
838 |
} |
|
839 |
||
840 |
.menu-item-settings .description-thin + .description-thin { |
|
841 |
margin-right: 0; |
|
5 | 842 |
} |
843 |
||
844 |
.description-wide { |
|
18 | 845 |
width: 100%; |
5 | 846 |
} |
847 |
||
848 |
.menu-item-actions { |
|
849 |
padding-top: 15px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
850 |
padding-bottom: 7px; |
5 | 851 |
} |
852 |
||
853 |
#cancel-save { |
|
854 |
cursor: pointer; |
|
855 |
} |
|
856 |
||
857 |
/* Major/minor publishing actions (classes) */ |
|
858 |
.nav-menus-php .major-publishing-actions { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
859 |
padding: 10px 0; |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
860 |
display: flex; |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
861 |
align-items: center; |
5 | 862 |
} |
863 |
||
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
864 |
.nav-menus-php .major-publishing-actions > * { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
865 |
margin-right: 10px; |
5 | 866 |
} |
867 |
||
868 |
.nav-menus-php .major-publishing-actions .form-invalid { |
|
869 |
padding-left: 4px; |
|
870 |
margin-left: -4px; |
|
871 |
} |
|
872 |
||
873 |
#nav-menus-frame, |
|
874 |
.button-controls, |
|
875 |
#menu-item-url-wrap, |
|
876 |
#menu-item-name-wrap { |
|
877 |
display: block; |
|
878 |
} |
|
879 |
||
880 |
/* =Media Queries |
|
881 |
-------------------------------------------------------------- */ |
|
882 |
||
18 | 883 |
@media only screen and (min-width: 769px) and (max-width: 1000px) { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
884 |
body.menu-max-depth-0 { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
885 |
min-width: 0 !important; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
886 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
887 |
|
18 | 888 |
#menu-management-liquid { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
889 |
width: 100%; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
890 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
891 |
|
18 | 892 |
.nav-menus-php #post-body-content { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
893 |
min-width: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
894 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
895 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
896 |
|
9 | 897 |
@media screen and (max-width: 782px) { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
898 |
body.nav-menus-php, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
899 |
body.wp-customizer { |
5 | 900 |
min-width: 0 !important; |
901 |
} |
|
902 |
||
903 |
#nav-menus-frame { |
|
904 |
margin-left: 0; |
|
905 |
float: none; |
|
906 |
width: 100%; |
|
907 |
} |
|
908 |
||
909 |
#wpbody-content #menu-settings-column { |
|
910 |
display: block; |
|
911 |
width: 100%; |
|
912 |
float: none; |
|
913 |
margin-left: 0; |
|
914 |
} |
|
915 |
||
916 |
#side-sortables .add-menu-item-tabs { |
|
917 |
margin: 15px 0 14px; |
|
918 |
} |
|
919 |
||
920 |
ul.add-menu-item-tabs li.tabs { |
|
921 |
padding: 13px 15px 14px; |
|
922 |
} |
|
923 |
||
924 |
.nav-menus-php .customlinkdiv .howto input { |
|
925 |
width: 65%; |
|
926 |
} |
|
927 |
||
928 |
.nav-menus-php .quick-search { |
|
929 |
width: 85%; |
|
930 |
} |
|
931 |
||
932 |
#menu-management-liquid { |
|
933 |
margin-top: 25px; |
|
934 |
} |
|
935 |
||
936 |
.nav-menus-php .menu-name-label.howto span { |
|
937 |
margin-top: 13px |
|
938 |
} |
|
939 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
940 |
#menu-name { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
941 |
width: 100%; |
5 | 942 |
} |
943 |
||
9 | 944 |
.nav-menus-php #nav-menu-header .major-publishing-actions .publishing-action { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
945 |
padding-top: 1em; |
5 | 946 |
} |
947 |
||
948 |
.nav-menus-php .delete-action { |
|
949 |
font-size: 14px; |
|
16 | 950 |
line-height: 2.14285714; |
5 | 951 |
} |
952 |
||
953 |
.menu-item-bar .menu-item-handle, |
|
954 |
.menu-item-settings, |
|
955 |
.description-wide { |
|
956 |
width: auto; |
|
957 |
} |
|
958 |
||
959 |
.menu-item-settings { |
|
960 |
padding: 10px; |
|
961 |
} |
|
962 |
||
963 |
.menu-item-settings .description-thin, |
|
964 |
.menu-item-settings .description-wide { |
|
965 |
width: 100%; |
|
966 |
} |
|
967 |
||
968 |
.menu-item-settings input { |
|
969 |
width: 100%; |
|
970 |
} |
|
971 |
||
972 |
.menu-item-settings input[type="checkbox"], |
|
973 |
.menu-item-settings input[type="radio"] { |
|
974 |
width: 25px; |
|
975 |
} |
|
976 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
977 |
.menu-settings-group { |
5 | 978 |
padding-left: 0; |
18 | 979 |
overflow: visible; |
5 | 980 |
} |
981 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
982 |
.menu-settings-group-name { |
5 | 983 |
float: none; |
984 |
width: auto; |
|
985 |
margin-left: 0; |
|
986 |
margin-bottom: 15px; |
|
987 |
} |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
988 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
989 |
.menu-settings-input { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
990 |
float: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
991 |
margin-bottom: 15px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
992 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
993 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
994 |
.menu-edit .checkbox-input { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
995 |
margin-top: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
996 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
997 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
998 |
.manage-menus select { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
999 |
margin: 0.5em 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1000 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1001 |
|
18 | 1002 |
.wp-core-ui .manage-menus .button { |
1003 |
margin-bottom: 0; |
|
1004 |
} |
|
1005 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1006 |
.widefat .menu-locations .menu-location-title { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1007 |
padding-top: 16px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1008 |
} |
5 | 1009 |
} |
1010 |
||
18 | 1011 |
@media only screen and (min-width: 783px) { |
1012 |
@supports (position: sticky) and (scroll-margin-bottom: 130px) { |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
1013 |
|
18 | 1014 |
#nav-menu-footer { |
1015 |
position: sticky; |
|
1016 |
bottom: 0; |
|
1017 |
z-index: 10; |
|
19 | 1018 |
box-shadow: 0 -1px 0 0 #ddd; |
18 | 1019 |
} |
1020 |
||
1021 |
#save_menu_header { |
|
1022 |
display: none; |
|
1023 |
} |
|
1024 |
} |
|
1025 |
} |
|
1026 |
||
5 | 1027 |
@media only screen and (max-width: 768px) { |
1028 |
/* menu locations */ |
|
1029 |
#menu-locations-wrap .widefat { |
|
1030 |
width: 100%; |
|
1031 |
} |
|
19 | 1032 |
|
1033 |
.bulk-select-button { |
|
1034 |
padding: 5px 10px; |
|
1035 |
} |
|
5 | 1036 |
} |