author | ymh <ymh.work@gmail.com> |
Mon, 08 Sep 2025 19:44:41 +0200 | |
changeset 23 | 417f20492bf7 |
parent 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, |
|
22
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
380 |
.customlinkdiv .menu-item-textbox, |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
381 |
.customlinkdiv .error-message { |
5 | 382 |
width: 180px; |
383 |
float: right; |
|
384 |
} |
|
385 |
||
22
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
386 |
.customlinkdiv .error-message { |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
387 |
clear: right; |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
388 |
} |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
389 |
|
5 | 390 |
.accordion-container .outer-border { |
391 |
margin: 0; |
|
392 |
} |
|
393 |
||
394 |
.customlinkdiv p { |
|
395 |
margin-top: 0 |
|
396 |
} |
|
397 |
||
398 |
#nav-menu-theme-locations .howto select { |
|
399 |
width: 100%; |
|
400 |
} |
|
401 |
||
402 |
#nav-menu-theme-locations .button-controls { |
|
403 |
text-align: right; |
|
404 |
} |
|
405 |
||
406 |
.add-menu-item-view-all { |
|
407 |
height: 400px; |
|
408 |
} |
|
409 |
||
410 |
/* Button Primary Actions */ |
|
411 |
#menu-container .submit { |
|
412 |
margin: 0 0 10px; |
|
413 |
padding: 0; |
|
414 |
} |
|
415 |
||
416 |
/* @todo: is this actually used? */ |
|
417 |
#cancel-save { |
|
418 |
text-decoration: underline; |
|
419 |
font-size: 12px; |
|
420 |
margin-left: 20px; |
|
421 |
margin-top: 5px; |
|
422 |
} |
|
423 |
||
424 |
.button.right, .button-secondary.right, .button-primary.right { |
|
425 |
float: right; |
|
426 |
} |
|
427 |
||
428 |
/* Button Secondary Actions */ |
|
429 |
.list-controls { |
|
430 |
float: left; |
|
431 |
margin-top: 5px; |
|
432 |
} |
|
433 |
||
434 |
.add-to-menu { |
|
435 |
float: right; |
|
436 |
} |
|
437 |
||
438 |
.button-controls { |
|
9 | 439 |
clear: both; |
5 | 440 |
margin: 10px 0; |
441 |
} |
|
442 |
||
443 |
.show-all, |
|
444 |
.hide-all { |
|
445 |
cursor: pointer; |
|
446 |
} |
|
447 |
||
448 |
.hide-all { |
|
449 |
display: none; |
|
450 |
} |
|
451 |
||
452 |
/* Create Menu */ |
|
453 |
#menu-name { |
|
454 |
width: 270px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
455 |
vertical-align: middle; |
5 | 456 |
} |
457 |
||
458 |
#manage-menu .inside { |
|
19 | 459 |
padding: 0; |
5 | 460 |
} |
461 |
||
462 |
/* Custom Links */ |
|
463 |
#available-links dt { |
|
464 |
display: block; |
|
465 |
} |
|
466 |
||
467 |
#add-custom-link .howto { |
|
468 |
font-size: 12px; |
|
469 |
} |
|
470 |
||
471 |
#add-custom-link label span { |
|
472 |
display: block; |
|
473 |
float: left; |
|
474 |
margin-top: 5px; |
|
475 |
padding-right: 5px; |
|
476 |
} |
|
477 |
||
478 |
.menu-item-textbox { |
|
479 |
width: 180px; |
|
480 |
} |
|
481 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
482 |
.customlinkdiv label, |
5 | 483 |
.nav-menus-php .howto span { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
484 |
float: left; |
5 | 485 |
margin-top: 6px; |
486 |
} |
|
487 |
||
488 |
/* Menu item types */ |
|
489 |
.quick-search { |
|
490 |
width: 190px; |
|
491 |
} |
|
492 |
||
493 |
.quick-search-wrap .spinner { |
|
494 |
float: none; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
495 |
margin: -3px -10px 0 0; |
5 | 496 |
} |
497 |
||
498 |
.nav-menus-php .list-wrap { |
|
499 |
display: none; |
|
500 |
clear: both; |
|
501 |
margin-bottom: 10px; |
|
502 |
} |
|
503 |
||
504 |
.nav-menus-php .postbox p.submit { |
|
505 |
margin-bottom: 0; |
|
506 |
} |
|
507 |
||
508 |
/* Listings */ |
|
509 |
.nav-menus-php .list li { |
|
510 |
display: none; |
|
18 | 511 |
margin: 0 0 5px; |
5 | 512 |
} |
513 |
||
514 |
.nav-menus-php .list li .menu-item-title { |
|
515 |
cursor: pointer; |
|
516 |
display: block; |
|
517 |
} |
|
518 |
||
519 |
.nav-menus-php .list li .menu-item-title input { |
|
520 |
margin-right: 3px; |
|
521 |
margin-top: -3px; |
|
522 |
} |
|
523 |
||
524 |
.menu-item-title input[type=checkbox] { |
|
525 |
display: inline-block; |
|
526 |
margin-top: -4px; |
|
527 |
} |
|
528 |
||
16 | 529 |
.menu-item-title .post-state { |
530 |
font-weight: 600; |
|
531 |
} |
|
532 |
||
5 | 533 |
/* Nav Menu */ |
534 |
#menu-container .inside { |
|
535 |
padding-bottom: 10px; |
|
536 |
} |
|
537 |
||
538 |
.menu { |
|
9 | 539 |
padding-top: 1em; |
5 | 540 |
} |
541 |
||
542 |
#menu-to-edit { |
|
543 |
margin: 0; |
|
544 |
padding: 0.1em 0; |
|
545 |
} |
|
546 |
||
547 |
.menu ul { |
|
548 |
width: 100%; |
|
549 |
} |
|
550 |
||
551 |
.menu li { |
|
552 |
margin-bottom: 0; |
|
9 | 553 |
position: relative; |
5 | 554 |
} |
555 |
||
556 |
.menu-item-bar { |
|
9 | 557 |
clear: both; |
558 |
line-height: 1.5; |
|
559 |
position: relative; |
|
5 | 560 |
margin: 9px 0 0; |
561 |
} |
|
562 |
||
563 |
.menu-item-bar .menu-item-handle { |
|
18 | 564 |
border: 1px solid #dcdcde; |
5 | 565 |
position: relative; |
566 |
padding: 10px 15px; |
|
567 |
height: auto; |
|
568 |
min-height: 20px; |
|
18 | 569 |
max-width: 382px; |
16 | 570 |
line-height: 2.30769230; |
5 | 571 |
overflow: hidden; |
572 |
word-wrap: break-word; |
|
573 |
} |
|
574 |
||
575 |
.menu-item-bar .menu-item-handle:hover { |
|
18 | 576 |
border-color: #8c8f94; |
5 | 577 |
} |
578 |
||
579 |
#menu-to-edit .menu-item-invalid .menu-item-handle { |
|
18 | 580 |
background: #fcf0f1; |
581 |
border-color: #d63638; |
|
5 | 582 |
} |
583 |
||
584 |
.no-js .menu-item-edit-active .item-edit { |
|
585 |
display: none; |
|
586 |
} |
|
587 |
||
588 |
.js .menu-item-handle { |
|
589 |
cursor: move; |
|
590 |
} |
|
591 |
||
592 |
.menu li.deleting .menu-item-handle { |
|
593 |
background-image: none; |
|
18 | 594 |
background-color: #f86368; |
5 | 595 |
} |
596 |
||
597 |
.menu-item-handle .item-title { |
|
598 |
font-size: 13px; |
|
599 |
font-weight: 600; |
|
16 | 600 |
line-height: 1.53846153; |
5 | 601 |
display: block; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
602 |
/* @todo: responsive view. */ |
5 | 603 |
margin-right: 13em; |
604 |
} |
|
605 |
||
18 | 606 |
.menu-item-handle .menu-item-checkbox { |
607 |
display: none; |
|
608 |
} |
|
609 |
||
610 |
.bulk-selection .menu-item-handle .menu-item-checkbox { |
|
611 |
display: inline-block; |
|
612 |
margin-right: 6px; |
|
613 |
} |
|
614 |
||
5 | 615 |
.menu-item-handle .menu-item-title.no-title { |
18 | 616 |
color: #646970; |
5 | 617 |
} |
618 |
||
619 |
/* Sortables */ |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
620 |
li.menu-item.ui-sortable-helper .menu-item-bar { |
5 | 621 |
margin-top: 0; |
622 |
} |
|
623 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
624 |
li.menu-item.ui-sortable-helper .menu-item-transport .menu-item-bar { |
9 | 625 |
margin-top: 9px; /* Must use the same value used by the dragged item .menu-item-bar */ |
5 | 626 |
} |
627 |
||
628 |
.menu .sortable-placeholder { |
|
629 |
height: 35px; |
|
630 |
width: 410px; |
|
9 | 631 |
margin-top: 9px; /* Must use the same value used by the dragged item .menu-item-bar */ |
5 | 632 |
} |
633 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
634 |
/* Hide the transport list when it's empty */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
635 |
.menu-item .menu-item-transport:empty { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
636 |
display: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
637 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
638 |
|
5 | 639 |
/* WARNING: The factor of 30px is hardcoded into the nav-menus JavaScript. */ |
19 | 640 |
.menu-item-depth-0 { margin-left: 0; } |
5 | 641 |
.menu-item-depth-1 { margin-left: 30px; } |
642 |
.menu-item-depth-2 { margin-left: 60px; } |
|
643 |
.menu-item-depth-3 { margin-left: 90px; } |
|
644 |
.menu-item-depth-4 { margin-left: 120px; } |
|
645 |
.menu-item-depth-5 { margin-left: 150px; } |
|
646 |
.menu-item-depth-6 { margin-left: 180px; } |
|
647 |
.menu-item-depth-7 { margin-left: 210px; } |
|
648 |
.menu-item-depth-8 { margin-left: 240px; } |
|
649 |
.menu-item-depth-9 { margin-left: 270px; } |
|
650 |
.menu-item-depth-10 { margin-left: 300px; } |
|
651 |
.menu-item-depth-11 { margin-left: 330px; } |
|
652 |
||
19 | 653 |
.menu-item-depth-0 .menu-item-transport { margin-left: 0; } |
5 | 654 |
.menu-item-depth-1 .menu-item-transport { margin-left: -30px; } |
655 |
.menu-item-depth-2 .menu-item-transport { margin-left: -60px; } |
|
656 |
.menu-item-depth-3 .menu-item-transport { margin-left: -90px; } |
|
657 |
.menu-item-depth-4 .menu-item-transport { margin-left: -120px; } |
|
658 |
.menu-item-depth-5 .menu-item-transport { margin-left: -150px; } |
|
659 |
.menu-item-depth-6 .menu-item-transport { margin-left: -180px; } |
|
660 |
.menu-item-depth-7 .menu-item-transport { margin-left: -210px; } |
|
661 |
.menu-item-depth-8 .menu-item-transport { margin-left: -240px; } |
|
662 |
.menu-item-depth-9 .menu-item-transport { margin-left: -270px; } |
|
663 |
.menu-item-depth-10 .menu-item-transport { margin-left: -300px; } |
|
664 |
.menu-item-depth-11 .menu-item-transport { margin-left: -330px; } |
|
665 |
||
666 |
body.menu-max-depth-0 { min-width: 950px !important; } |
|
667 |
body.menu-max-depth-1 { min-width: 980px !important; } |
|
668 |
body.menu-max-depth-2 { min-width: 1010px !important; } |
|
669 |
body.menu-max-depth-3 { min-width: 1040px !important; } |
|
670 |
body.menu-max-depth-4 { min-width: 1070px !important; } |
|
671 |
body.menu-max-depth-5 { min-width: 1100px !important; } |
|
672 |
body.menu-max-depth-6 { min-width: 1130px !important; } |
|
673 |
body.menu-max-depth-7 { min-width: 1160px !important; } |
|
674 |
body.menu-max-depth-8 { min-width: 1190px !important; } |
|
675 |
body.menu-max-depth-9 { min-width: 1220px !important; } |
|
676 |
body.menu-max-depth-10 { min-width: 1250px !important; } |
|
677 |
body.menu-max-depth-11 { min-width: 1280px !important; } |
|
678 |
||
679 |
/* Menu item controls */ |
|
680 |
.item-type { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
681 |
display: inline-block; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
682 |
padding: 12px 16px; |
18 | 683 |
color: #646970; |
5 | 684 |
font-size: 12px; |
9 | 685 |
line-height: 1.5; |
5 | 686 |
} |
687 |
||
688 |
.item-controls { |
|
689 |
font-size: 12px; |
|
690 |
position: absolute; |
|
691 |
right: 20px; |
|
692 |
top: -1px; |
|
693 |
} |
|
694 |
||
695 |
.item-controls a { |
|
696 |
text-decoration: none; |
|
697 |
} |
|
698 |
||
699 |
.item-controls a:hover { |
|
700 |
cursor: pointer; |
|
701 |
} |
|
702 |
||
703 |
.item-controls .item-order { |
|
704 |
padding-right: 10px; |
|
705 |
} |
|
706 |
||
707 |
.nav-menus-php .item-edit { |
|
708 |
position: absolute; |
|
709 |
right: -20px; |
|
710 |
top: 0; |
|
711 |
display: block; |
|
712 |
width: 30px; |
|
713 |
height: 40px; |
|
714 |
outline: none; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
715 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
716 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
717 |
.no-js.nav-menus-php .item-edit { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
718 |
position: static; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
719 |
float: right; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
720 |
width: auto; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
721 |
height: auto; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
722 |
margin: 12px -10px 12px 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
723 |
padding: 0; |
18 | 724 |
color: #2271b1; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
725 |
text-decoration: underline; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
726 |
font-size: 12px; |
9 | 727 |
line-height: 1.5; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
728 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
729 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
730 |
.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
|
731 |
position: static; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
732 |
clip-path: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
733 |
width: auto; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
734 |
height: auto; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
735 |
margin: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
736 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
737 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
738 |
.nav-menus-php .item-edit:before { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
739 |
margin-top: 10px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
740 |
margin-left: 4px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
741 |
width: 20px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
742 |
border-radius: 50%; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
743 |
text-indent: -1px; /* account for the dashicon alignment */ |
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 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
746 |
.no-js.nav-menus-php .item-edit:before { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
747 |
display: none; |
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 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
750 |
.rtl .nav-menus-php .item-edit:before { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
751 |
text-indent: 1px; /* account for the dashicon alignment */ |
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 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
754 |
.js.nav-menus-php .item-edit:focus { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
755 |
box-shadow: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
756 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
757 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
758 |
.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
|
759 |
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
|
760 |
/* 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
|
761 |
outline: 2px solid transparent; |
5 | 762 |
} |
763 |
||
764 |
/* Menu editing */ |
|
765 |
.menu-instructions-inactive { |
|
766 |
display: none; |
|
767 |
} |
|
768 |
||
769 |
.menu-item-settings { |
|
770 |
display: block; |
|
18 | 771 |
max-width: 392px; |
772 |
padding: 10px; |
|
5 | 773 |
position: relative; |
774 |
z-index: 10; /* Keep .item-title's shadow from appearing on top of .menu-item-settings */ |
|
18 | 775 |
border: 1px solid #c3c4c7; |
5 | 776 |
border-top: none; |
9 | 777 |
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); |
5 | 778 |
} |
779 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
780 |
.menu-item-settings .field-move { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
781 |
margin: 3px 0 5px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
782 |
line-height: 1.5; |
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 |
.field-move-visual-label { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
786 |
float: left; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
787 |
margin-right: 4px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
788 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
789 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
790 |
.menu-item-settings .field-move .button-link { |
5 | 791 |
display: none; |
792 |
margin: 0 2px; |
|
793 |
} |
|
794 |
||
795 |
.menu-item-edit-active .menu-item-settings { |
|
796 |
display: block; |
|
797 |
} |
|
798 |
||
799 |
.menu-item-edit-inactive .menu-item-settings { |
|
800 |
display: none; |
|
801 |
} |
|
802 |
||
803 |
.add-menu-item-pagelinks { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
804 |
margin: .5em -10px; |
5 | 805 |
text-align: center; |
806 |
} |
|
807 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
808 |
.add-menu-item-pagelinks .page-numbers { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
809 |
display: inline-block; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
810 |
min-width: 20px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
811 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
812 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
813 |
.add-menu-item-pagelinks .page-numbers.dots { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
814 |
min-width: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
815 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
816 |
|
5 | 817 |
.link-to-original { |
818 |
display: block; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
819 |
margin: 0 0 15px; |
5 | 820 |
padding: 3px 5px 5px; |
18 | 821 |
border: 1px solid #dcdcde; |
822 |
color: #646970; |
|
5 | 823 |
font-size: 12px; |
824 |
} |
|
825 |
||
826 |
.link-to-original a { |
|
827 |
padding-left: 4px; |
|
828 |
font-style: normal; |
|
829 |
} |
|
830 |
||
831 |
.hidden-field { |
|
832 |
display: none; |
|
833 |
} |
|
834 |
||
22
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
835 |
.description-group { |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
836 |
display: flex; |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
837 |
column-gap: 10px; |
5 | 838 |
} |
839 |
||
22
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
840 |
.description-group > * { |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
841 |
flex-grow: 1; |
5 | 842 |
} |
843 |
||
844 |
.menu-item-actions { |
|
845 |
padding-top: 15px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
846 |
padding-bottom: 7px; |
5 | 847 |
} |
848 |
||
849 |
#cancel-save { |
|
850 |
cursor: pointer; |
|
851 |
} |
|
852 |
||
853 |
/* Major/minor publishing actions (classes) */ |
|
854 |
.nav-menus-php .major-publishing-actions { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
855 |
padding: 10px 0; |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
856 |
display: flex; |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
857 |
align-items: center; |
5 | 858 |
} |
859 |
||
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
860 |
.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
|
861 |
margin-right: 10px; |
5 | 862 |
} |
863 |
||
864 |
.nav-menus-php .major-publishing-actions .form-invalid { |
|
865 |
padding-left: 4px; |
|
866 |
margin-left: -4px; |
|
867 |
} |
|
868 |
||
869 |
#nav-menus-frame, |
|
870 |
.button-controls, |
|
871 |
#menu-item-url-wrap, |
|
872 |
#menu-item-name-wrap { |
|
873 |
display: block; |
|
874 |
} |
|
875 |
||
876 |
/* =Media Queries |
|
877 |
-------------------------------------------------------------- */ |
|
878 |
||
18 | 879 |
@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
|
880 |
body.menu-max-depth-0 { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
881 |
min-width: 0 !important; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
882 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
883 |
|
18 | 884 |
#menu-management-liquid { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
885 |
width: 100%; |
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 |
.nav-menus-php #post-body-content { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
889 |
min-width: 0; |
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 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
892 |
|
9 | 893 |
@media screen and (max-width: 782px) { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
894 |
body.nav-menus-php, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
895 |
body.wp-customizer { |
5 | 896 |
min-width: 0 !important; |
897 |
} |
|
898 |
||
899 |
#nav-menus-frame { |
|
900 |
margin-left: 0; |
|
901 |
float: none; |
|
902 |
width: 100%; |
|
903 |
} |
|
904 |
||
905 |
#wpbody-content #menu-settings-column { |
|
906 |
display: block; |
|
907 |
width: 100%; |
|
908 |
float: none; |
|
909 |
margin-left: 0; |
|
910 |
} |
|
911 |
||
912 |
#side-sortables .add-menu-item-tabs { |
|
913 |
margin: 15px 0 14px; |
|
914 |
} |
|
915 |
||
916 |
ul.add-menu-item-tabs li.tabs { |
|
917 |
padding: 13px 15px 14px; |
|
918 |
} |
|
919 |
||
920 |
.nav-menus-php .customlinkdiv .howto input { |
|
921 |
width: 65%; |
|
922 |
} |
|
923 |
||
924 |
.nav-menus-php .quick-search { |
|
925 |
width: 85%; |
|
926 |
} |
|
927 |
||
928 |
#menu-management-liquid { |
|
929 |
margin-top: 25px; |
|
930 |
} |
|
931 |
||
932 |
.nav-menus-php .menu-name-label.howto span { |
|
933 |
margin-top: 13px |
|
934 |
} |
|
935 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
936 |
#menu-name { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
937 |
width: 100%; |
5 | 938 |
} |
939 |
||
9 | 940 |
.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
|
941 |
padding-top: 1em; |
5 | 942 |
} |
943 |
||
944 |
.nav-menus-php .delete-action { |
|
945 |
font-size: 14px; |
|
16 | 946 |
line-height: 2.14285714; |
5 | 947 |
} |
948 |
||
949 |
.menu-item-bar .menu-item-handle, |
|
22
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
950 |
.menu-item-settings { |
5 | 951 |
width: auto; |
952 |
} |
|
953 |
||
954 |
.menu-item-settings { |
|
955 |
padding: 10px; |
|
956 |
} |
|
957 |
||
22
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
958 |
.menu-item-settings .description-group { |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
959 |
display: block; |
5 | 960 |
} |
961 |
||
962 |
.menu-item-settings input { |
|
963 |
width: 100%; |
|
964 |
} |
|
965 |
||
966 |
.menu-item-settings input[type="checkbox"], |
|
967 |
.menu-item-settings input[type="radio"] { |
|
968 |
width: 25px; |
|
969 |
} |
|
970 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
971 |
.menu-settings-group { |
5 | 972 |
padding-left: 0; |
18 | 973 |
overflow: visible; |
5 | 974 |
} |
975 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
976 |
.menu-settings-group-name { |
5 | 977 |
float: none; |
978 |
width: auto; |
|
979 |
margin-left: 0; |
|
980 |
margin-bottom: 15px; |
|
981 |
} |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
982 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
983 |
.menu-settings-input { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
984 |
float: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
985 |
margin-bottom: 15px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
986 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
987 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
988 |
.menu-edit .checkbox-input { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
989 |
margin-top: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
990 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
991 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
992 |
.manage-menus select { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
993 |
margin: 0.5em 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
994 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
995 |
|
18 | 996 |
.wp-core-ui .manage-menus .button { |
997 |
margin-bottom: 0; |
|
998 |
} |
|
999 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1000 |
.widefat .menu-locations .menu-location-title { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1001 |
padding-top: 16px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1002 |
} |
5 | 1003 |
} |
1004 |
||
18 | 1005 |
@media only screen and (min-width: 783px) { |
1006 |
@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
|
1007 |
|
18 | 1008 |
#nav-menu-footer { |
1009 |
position: sticky; |
|
1010 |
bottom: 0; |
|
1011 |
z-index: 10; |
|
19 | 1012 |
box-shadow: 0 -1px 0 0 #ddd; |
18 | 1013 |
} |
1014 |
||
1015 |
#save_menu_header { |
|
1016 |
display: none; |
|
1017 |
} |
|
1018 |
} |
|
1019 |
} |
|
1020 |
||
5 | 1021 |
@media only screen and (max-width: 768px) { |
1022 |
/* menu locations */ |
|
1023 |
#menu-locations-wrap .widefat { |
|
1024 |
width: 100%; |
|
1025 |
} |
|
19 | 1026 |
|
1027 |
.bulk-select-button { |
|
1028 |
padding: 5px 10px; |
|
1029 |
} |
|
5 | 1030 |
} |