nav-menus.css 17 KB

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