customize-nav-menus-rtl.css 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887
  1. #customize-theme-controls #accordion-section-menu_locations {
  2. position: relative;
  3. margin-top: 30px;
  4. }
  5. #customize-theme-controls #accordion-section-menu_locations > .accordion-section-title {
  6. border-bottom-color: #ddd;
  7. margin-top: 15px;
  8. }
  9. #customize-theme-controls .customize-section-title-nav_menus-heading,
  10. #customize-theme-controls .customize-section-title-menu_locations-heading,
  11. #customize-theme-controls .customize-section-title-menu_locations-description {
  12. padding: 0 12px 0 12px;
  13. }
  14. #customize-theme-controls .customize-control-description.customize-section-title-menu_locations-description {
  15. /* Override the default italic style for control descriptions */
  16. font-style: normal;
  17. }
  18. .menu-in-location,
  19. .menu-in-locations {
  20. display: block;
  21. font-weight: 600;
  22. font-size: 10px;
  23. }
  24. #customize-controls .theme-location-set,
  25. #customize-controls .control-section .accordion-section-title:focus .menu-in-location,
  26. #customize-controls .control-section .accordion-section-title:hover .menu-in-location {
  27. color: #555;
  28. }
  29. /* The `edit-menu` and `create-menu` buttons also use the `button-link` class. */
  30. .customize-control-nav_menu_location .edit-menu,
  31. .customize-control-nav_menu_location .create-menu {
  32. margin-right: 6px;
  33. vertical-align: middle;
  34. line-height: 2.2;
  35. }
  36. #customize-controls .customize-control-nav_menu_name {
  37. margin-bottom: 12px;
  38. }
  39. .customize-control-nav_menu_name p:last-of-type {
  40. margin-bottom: 0;
  41. }
  42. #customize-new-menu-submit {
  43. float: left;
  44. min-width: 85px;
  45. }
  46. .wp-customizer .menu-item-bar .menu-item-handle,
  47. .wp-customizer .menu-item-settings,
  48. .wp-customizer .menu-item-settings .description-thin {
  49. box-sizing: border-box;
  50. }
  51. .wp-customizer .menu-item-bar {
  52. margin: 0;
  53. }
  54. .wp-customizer .menu-item-bar .menu-item-handle {
  55. width: 100%;
  56. background: #fff;
  57. }
  58. .wp-customizer .menu-item-handle .item-title {
  59. margin-left: 0;
  60. }
  61. .wp-customizer .menu-item-handle .item-type {
  62. padding: 1px 5px 0 21px;
  63. float: left;
  64. text-align: left;
  65. }
  66. .wp-customizer .menu-item-handle:hover {
  67. z-index: 8;
  68. }
  69. .customize-control-nav_menu_item.has-notifications .menu-item-handle {
  70. border-right: 4px solid #00a0d2;
  71. }
  72. .wp-customizer .menu-item-settings {
  73. max-width: 100%;
  74. overflow: hidden;
  75. z-index: 8;
  76. padding: 10px;
  77. background: #eee;
  78. border: 1px solid #999;
  79. border-top: none;
  80. }
  81. .wp-customizer .menu-item-settings .description-thin {
  82. width: 100%;
  83. height: auto;
  84. margin: 0 0 8px 0;
  85. }
  86. .wp-customizer .menu-item-settings input[type="text"] {
  87. width: 100%;
  88. }
  89. .wp-customizer .menu-item-settings .submitbox {
  90. margin: 0;
  91. padding: 0;
  92. }
  93. .wp-customizer .menu-item-settings .link-to-original {
  94. padding: 5px 0;
  95. border: none;
  96. font-style: normal;
  97. margin: 0;
  98. width: 100%;
  99. }
  100. .wp-customizer .menu-item .submitbox .submitdelete {
  101. float: right;
  102. margin: 6px 0 0;
  103. padding: 0;
  104. cursor: pointer;
  105. }
  106. /**
  107. * Menu items reordering styles
  108. */
  109. .menu-item-reorder-nav {
  110. display: none;
  111. background-color: #fff;
  112. position: absolute;
  113. top: 0;
  114. left: 0;
  115. }
  116. .menus-move-left:before {
  117. content: "\f345";
  118. }
  119. .menus-move-right:before {
  120. content: "\f341";
  121. }
  122. .reordering .menu-item .item-controls,
  123. .reordering .menu-item .item-type {
  124. display: none;
  125. }
  126. .reordering .menu-item-reorder-nav {
  127. display: block;
  128. }
  129. .customize-control input.menu-name-field {
  130. width: 100%; /* Override the 98% default for customizer inputs, to align with the size of menu items. */
  131. }
  132. .wp-customizer .menu-item .item-edit {
  133. position: absolute;
  134. left: -19px;
  135. top: 2px;
  136. display: block;
  137. width: 30px;
  138. height: 38px;
  139. margin-left: 0 !important;
  140. box-shadow: none;
  141. outline: none;
  142. overflow: hidden;
  143. cursor: pointer;
  144. text-align: center;
  145. }
  146. .wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:before {
  147. content: "\f142";
  148. }
  149. .wp-customizer .menu-item-settings p.description {
  150. font-style: normal;
  151. }
  152. .wp-customizer .menu-settings dl {
  153. margin: 12px 0 0 0;
  154. padding: 0;
  155. }
  156. .wp-customizer .menu-settings .checkbox-input {
  157. margin-top: 8px;
  158. }
  159. .wp-customizer .menu-settings .menu-theme-locations {
  160. border-top: 1px solid #ccc;
  161. }
  162. .wp-customizer .menu-settings {
  163. margin-top: 36px;
  164. border-top: none;
  165. }
  166. .wp-customizer .menu-location-settings {
  167. margin-top: 12px;
  168. border-top: none;
  169. }
  170. .wp-customizer .control-section-nav_menu .menu-location-settings {
  171. margin-top: 24px;
  172. border-top: 1px solid #ddd;
  173. }
  174. .wp-customizer .control-section-nav_menu .menu-location-settings,
  175. .customize-control-nav_menu_auto_add {
  176. padding-top: 12px;
  177. }
  178. .menu-location-settings .customize-control-checkbox .theme-location-set {
  179. line-height: 1;
  180. }
  181. .customize-control-nav_menu_auto_add label {
  182. vertical-align: top;
  183. }
  184. .menu-location-settings .new-menu-locations-widget-note {
  185. display: block;
  186. }
  187. .customize-control-menu {
  188. margin-top: 4px;
  189. }
  190. #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle {
  191. color: #555;
  192. }
  193. /* Screen Options */
  194. .customize-screen-options-toggle {
  195. background: none;
  196. border: none;
  197. color: #555;
  198. cursor: pointer;
  199. margin: 0;
  200. padding: 20px;
  201. position: absolute;
  202. left: 0;
  203. top: 30px;
  204. }
  205. #customize-controls .customize-info .customize-help-toggle {
  206. padding: 20px;
  207. }
  208. #customize-controls .customize-info .customize-help-toggle:before {
  209. padding: 4px;
  210. }
  211. .customize-screen-options-toggle:hover,
  212. .customize-screen-options-toggle:active,
  213. .customize-screen-options-toggle:focus,
  214. .active-menu-screen-options .customize-screen-options-toggle,
  215. #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,
  216. #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,
  217. #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus {
  218. color: #0073aa;
  219. }
  220. .customize-screen-options-toggle:focus,
  221. #customize-controls .customize-info .customize-help-toggle:focus {
  222. outline: none;
  223. }
  224. .customize-screen-options-toggle:before {
  225. -moz-osx-font-smoothing: grayscale;
  226. border: none;
  227. content: "\f111";
  228. display: block;
  229. font: 18px/1 dashicons;
  230. padding: 5px;
  231. text-align: center;
  232. text-decoration: none !important;
  233. text-indent: 0;
  234. right: 6px;
  235. position: absolute;
  236. top: 6px;
  237. }
  238. .customize-screen-options-toggle:focus:before,
  239. #customize-controls .customize-info .customize-help-toggle:focus:before {
  240. border-radius: 100%;
  241. }
  242. .wp-customizer #screen-options-wrap {
  243. display: none;
  244. background: #fff;
  245. border-top: 1px solid #ddd;
  246. padding: 4px 15px 15px;
  247. }
  248. .wp-customizer .metabox-prefs label {
  249. display: block;
  250. padding-left: 0;
  251. line-height: 30px;
  252. }
  253. /* rework the arrow indicator implementation for NVDA bug same as #32715 */
  254. .wp-customizer .toggle-indicator {
  255. display: inline-block;
  256. font-size: 20px;
  257. line-height: 1;
  258. }
  259. .rtl .wp-customizer .toggle-indicator {
  260. text-indent: 1px; /* account for the dashicon alignment */
  261. }
  262. .wp-customizer .menu-item .item-edit .toggle-indicator:before,
  263. #available-menu-items .accordion-section-title .toggle-indicator:before {
  264. content: "\f140";
  265. display: block;
  266. padding: 1px 0px 1px 2px;
  267. speak: none;
  268. border-radius: 50%;
  269. color: #72777c;
  270. font: normal 20px/1 dashicons;
  271. -webkit-font-smoothing: antialiased;
  272. -moz-osx-font-smoothing: grayscale;
  273. text-decoration: none !important;
  274. }
  275. .control-section-nav_menu .field-link-target,
  276. .control-section-nav_menu .field-title-attribute,
  277. .control-section-nav_menu .field-css-classes,
  278. .control-section-nav_menu .field-xfn,
  279. .control-section-nav_menu .field-description {
  280. display: none;
  281. }
  282. .control-section-nav_menu.field-link-target-active .field-link-target,
  283. .control-section-nav_menu.field-title-attribute-active .field-title-attribute,
  284. .control-section-nav_menu.field-css-classes-active .field-css-classes,
  285. .control-section-nav_menu.field-xfn-active .field-xfn,
  286. .control-section-nav_menu.field-description-active .field-description {
  287. display: block;
  288. }
  289. /* WARNING: The 20px factor is hard-coded in JS. */
  290. .menu-item-depth-0 { margin-right: 0; }
  291. .menu-item-depth-1 { margin-right: 20px; }
  292. .menu-item-depth-2 { margin-right: 40px; }
  293. .menu-item-depth-3 { margin-right: 60px; }
  294. .menu-item-depth-4 { margin-right: 80px; }
  295. .menu-item-depth-5 { margin-right: 100px; }
  296. .menu-item-depth-6 { margin-right: 120px; }
  297. .menu-item-depth-7 { margin-right: 140px; }
  298. .menu-item-depth-8 { margin-right: 160px; } /* Not likely to be used or useful beyond this depth */
  299. .menu-item-depth-9 { margin-right: 180px; }
  300. .menu-item-depth-10 { margin-right: 200px; }
  301. .menu-item-depth-11 { margin-right: 220px; }
  302. /* @todo handle .menu-item-settings width */
  303. .menu-item-depth-0 > .menu-item-bar { margin-left: 0; }
  304. .menu-item-depth-1 > .menu-item-bar { margin-left: 20px; }
  305. .menu-item-depth-2 > .menu-item-bar { margin-left: 40px; }
  306. .menu-item-depth-3 > .menu-item-bar { margin-left: 60px; }
  307. .menu-item-depth-4 > .menu-item-bar { margin-left: 80px; }
  308. .menu-item-depth-5 > .menu-item-bar { margin-left: 100px; }
  309. .menu-item-depth-6 > .menu-item-bar { margin-left: 120px; }
  310. .menu-item-depth-7 > .menu-item-bar { margin-left: 140px; }
  311. .menu-item-depth-8 > .menu-item-bar { margin-left: 160px; }
  312. .menu-item-depth-9 > .menu-item-bar { margin-left: 180px; }
  313. .menu-item-depth-10 > .menu-item-bar { margin-left: 200px; }
  314. .menu-item-depth-11 > .menu-item-bar { margin-left: 220px; }
  315. /* Submenu left margin. */
  316. .menu-item-depth-0 .menu-item-transport { margin-right: 0; }
  317. .menu-item-depth-1 .menu-item-transport { margin-right: -20px; }
  318. .menu-item-depth-3 .menu-item-transport { margin-right: -60px; }
  319. .menu-item-depth-4 .menu-item-transport { margin-right: -80px; }
  320. .menu-item-depth-2 .menu-item-transport { margin-right: -40px; }
  321. .menu-item-depth-5 .menu-item-transport { margin-right: -100px; }
  322. .menu-item-depth-6 .menu-item-transport { margin-right: -120px; }
  323. .menu-item-depth-7 .menu-item-transport { margin-right: -140px; }
  324. .menu-item-depth-8 .menu-item-transport { margin-right: -160px; }
  325. .menu-item-depth-9 .menu-item-transport { margin-right: -180px; }
  326. .menu-item-depth-10 .menu-item-transport { margin-right: -200px; }
  327. .menu-item-depth-11 .menu-item-transport { margin-right: -220px; }
  328. /* WARNING: The 20px factor is hard-coded in JS. */
  329. .reordering .menu-item-depth-0 { margin-right: 0; }
  330. .reordering .menu-item-depth-1 { margin-right: 15px; }
  331. .reordering .menu-item-depth-2 { margin-right: 30px; }
  332. .reordering .menu-item-depth-3 { margin-right: 45px; }
  333. .reordering .menu-item-depth-4 { margin-right: 60px; }
  334. .reordering .menu-item-depth-5 { margin-right: 75px; }
  335. .reordering .menu-item-depth-6 { margin-right: 90px; }
  336. .reordering .menu-item-depth-7 { margin-right: 105px; }
  337. .reordering .menu-item-depth-8 { margin-right: 120px; } /* Not likely to be used or useful beyond this depth */
  338. .reordering .menu-item-depth-9 { margin-right: 135px; }
  339. .reordering .menu-item-depth-10 { margin-right: 150px; }
  340. .reordering .menu-item-depth-11 { margin-right: 165px; }
  341. .reordering .menu-item-depth-0 > .menu-item-bar { margin-left: 0; }
  342. .reordering .menu-item-depth-1 > .menu-item-bar { margin-left: 15px; }
  343. .reordering .menu-item-depth-2 > .menu-item-bar { margin-left: 30px; }
  344. .reordering .menu-item-depth-3 > .menu-item-bar { margin-left: 45px; }
  345. .reordering .menu-item-depth-4 > .menu-item-bar { margin-left: 60px; }
  346. .reordering .menu-item-depth-5 > .menu-item-bar { margin-left: 75px; }
  347. .reordering .menu-item-depth-6 > .menu-item-bar { margin-left: 90px; }
  348. .reordering .menu-item-depth-7 > .menu-item-bar { margin-left: 105px; }
  349. .reordering .menu-item-depth-8 > .menu-item-bar { margin-left: 120px; }
  350. .reordering .menu-item-depth-9 > .menu-item-bar { margin-left: 135px; }
  351. .reordering .menu-item-depth-10 > .menu-item-bar { margin-left: 150px; }
  352. .reordering .menu-item-depth-11 > .menu-item-bar { margin-left: 165px; }
  353. .control-section-nav_menu.menu .menu-item-edit-active {
  354. margin-right: 0;
  355. }
  356. .control-section-nav_menu.menu .menu-item-edit-active .menu-item-bar {
  357. margin-left: 0;
  358. }
  359. .control-section-nav_menu.menu .sortable-placeholder {
  360. margin-top: 0;
  361. margin-bottom: 1px;
  362. max-width: calc(100% - 2px);
  363. float: right;
  364. display: list-item;
  365. border-color: #a0a5aa;
  366. }
  367. .menu-item-transport li.customize-control {
  368. float: none;
  369. }
  370. .control-section-nav_menu.menu ul.menu-item-transport .menu-item-bar {
  371. margin-top: 0;
  372. }
  373. /**
  374. * Add-menu-items mode
  375. */
  376. .adding-menu-items .control-section {
  377. opacity: .4;
  378. }
  379. .adding-menu-items .control-panel.control-section,
  380. .adding-menu-items .control-section.open {
  381. opacity: 1;
  382. }
  383. .menu-item-bar .item-delete {
  384. color: #a00;
  385. position: absolute;
  386. top: 2px;
  387. left: -19px;
  388. width: 30px;
  389. height: 38px;
  390. cursor: pointer;
  391. display: none;
  392. }
  393. .menu-item-bar .item-delete:before {
  394. content: "\f335";
  395. position: absolute;
  396. top: 9px;
  397. right: 5px;
  398. border-radius: 50%;
  399. font: normal 20px/1 dashicons;
  400. -webkit-font-smoothing: antialiased;
  401. -moz-osx-font-smoothing: grayscale;
  402. }
  403. .ie8 .menu-item-bar .item-delete:before {
  404. top: -10px;
  405. }
  406. .menu-item-bar .item-delete:hover,
  407. .menu-item-bar .item-delete:focus {
  408. box-shadow: none;
  409. outline: none;
  410. color: #dc3232;
  411. }
  412. .adding-menu-items .menu-item-bar .item-edit {
  413. display: none;
  414. }
  415. .adding-menu-items .menu-item-bar .item-delete {
  416. display: block;
  417. }
  418. /**
  419. * Styles for menu-item addition panel
  420. */
  421. #available-menu-items.opening {
  422. overflow-y: hidden; /* avoid scrollbar jitter with animating heights */
  423. }
  424. #available-menu-items #available-menu-items-search.open {
  425. height: 100%;
  426. border-bottom: none;
  427. }
  428. #available-menu-items .accordion-section-title {
  429. border-right: none;
  430. border-left: none;
  431. background: #fff;
  432. transition: background-color 0.15s;
  433. /* Reset the value inherited from the base .accordion-section-title style. Ticket #37589. */
  434. -webkit-user-select: auto;
  435. -moz-user-select: auto;
  436. -ms-user-select: auto;
  437. user-select: auto;
  438. }
  439. #available-menu-items .open .accordion-section-title,
  440. #available-menu-items #available-menu-items-search .accordion-section-title {
  441. background: #eee;
  442. }
  443. /* rework the arrow indicator implementation for NVDA bug see #32715 */
  444. #available-menu-items .accordion-section-title:after {
  445. content: none !important;
  446. }
  447. #available-menu-items .accordion-section-title:hover .toggle-indicator:before,
  448. #available-menu-items .button-link:hover .toggle-indicator:before,
  449. #available-menu-items .button-link:focus .toggle-indicator:before {
  450. color: #23282d;
  451. }
  452. #available-menu-items .open .accordion-section-title .toggle-indicator:before {
  453. content: "\f142";
  454. color: #23282d;
  455. }
  456. #available-menu-items .available-menu-items-list {
  457. overflow-y: auto;
  458. max-height: 200px; /* This gets set in JS to fit the screen size, and based on # of sections. */
  459. background: transparent;
  460. }
  461. #available-menu-items .accordion-section-title button {
  462. display: block;
  463. width: 28px;
  464. height: 35px;
  465. position: absolute;
  466. top: 5px;
  467. left: 5px;
  468. box-shadow: none;
  469. outline: none;
  470. cursor: pointer;
  471. text-align: center;
  472. }
  473. #available-menu-items .accordion-section-title .no-items,
  474. #available-menu-items .cannot-expand .accordion-section-title .spinner,
  475. #available-menu-items .cannot-expand .accordion-section-title > button {
  476. display: none;
  477. }
  478. #available-menu-items-search.cannot-expand .accordion-section-title .spinner {
  479. display: block;
  480. }
  481. #available-menu-items .cannot-expand .accordion-section-title .no-items {
  482. float: left;
  483. color: #555d66;
  484. font-weight: 400;
  485. margin-right: 5px;
  486. }
  487. #available-menu-items .accordion-section-content {
  488. max-height: 290px;
  489. margin: 0;
  490. padding: 0;
  491. position: relative;
  492. background: transparent;
  493. }
  494. #available-menu-items .accordion-section-content .available-menu-items-list {
  495. margin: 0 0 45px 0;
  496. padding: 1px 15px 15px 15px;
  497. }
  498. #available-menu-items .accordion-section-content .available-menu-items-list:only-child { /* Types that do not support new items for the current user */
  499. margin-bottom: 0;
  500. }
  501. #new-custom-menu-item .accordion-section-content {
  502. padding: 0 15px 15px 15px;
  503. }
  504. #available-menu-items .menu-item-tpl {
  505. margin: 0;
  506. }
  507. #custom-menu-item-name.invalid,
  508. #custom-menu-item-url.invalid,
  509. .edit-menu-item-url.invalid,
  510. .menu-name-field.invalid,
  511. .menu-name-field.invalid:focus,
  512. #available-menu-items .new-content-item .create-item-input.invalid,
  513. #available-menu-items .new-content-item .create-item-input.invalid:focus {
  514. border: 1px solid #dc3232;
  515. }
  516. #available-menu-items .menu-item-handle .item-type {
  517. padding-left: 0;
  518. }
  519. #available-menu-items .menu-item-handle .item-title {
  520. padding-right: 20px;
  521. }
  522. #available-menu-items .menu-item-handle {
  523. cursor: pointer;
  524. }
  525. #available-menu-items .menu-item-handle {
  526. box-shadow: none;
  527. margin-top: -1px;
  528. }
  529. #available-menu-items .menu-item-handle:hover {
  530. z-index: 1;
  531. }
  532. #available-menu-items .item-title h4 {
  533. padding: 0 0 5px;
  534. font-size: 14px;
  535. }
  536. #available-menu-items .item-add {
  537. position: absolute;
  538. top: 1px;
  539. right: 1px;
  540. color: #82878c;
  541. width: 30px;
  542. height: 38px;
  543. box-shadow: none;
  544. outline: none;
  545. cursor: pointer;
  546. text-align: center;
  547. }
  548. #available-menu-items .menu-item-handle .item-add:focus {
  549. color: #23282d;
  550. }
  551. #available-menu-items .item-add:before {
  552. content: "\f543";
  553. position: relative;
  554. right: 2px;
  555. top: 3px;
  556. display: inline-block;
  557. height: 20px;
  558. border-radius: 50%;
  559. font: normal 20px/1.05 dashicons; /* line height is to account for the dashicon's vertical alignment */
  560. }
  561. #available-menu-items .menu-item-handle.item-added .item-type,
  562. #available-menu-items .menu-item-handle.item-added .item-title,
  563. #available-menu-items .menu-item-handle.item-added:hover .item-add,
  564. #available-menu-items .menu-item-handle.item-added .item-add:focus {
  565. color: #82878c;
  566. }
  567. #available-menu-items .menu-item-handle.item-added .item-add:before {
  568. content: "\f147";
  569. }
  570. #available-menu-items .accordion-section-title.loading .spinner,
  571. #available-menu-items-search.loading .accordion-section-title .spinner {
  572. visibility: visible;
  573. margin: 0 20px;
  574. }
  575. #available-menu-items-search .spinner {
  576. position: absolute;
  577. top: 20px; /* 13 container padding +1 input margin +6 ( ( 32 input height - 20 spinner height ) / 2 ) */
  578. left: 21px;
  579. margin: 0 !important;
  580. }
  581. /* search results list */
  582. #available-menu-items #available-menu-items-search .accordion-section-content {
  583. position: absolute;
  584. right: 0;
  585. top: 60px; /* below title div / search input */
  586. bottom: 0px; /* 100% height that still triggers lazy load */
  587. max-height: none;
  588. width: 100%;
  589. padding: 1px 15px 15px;
  590. box-sizing: border-box;
  591. }
  592. #available-menu-items-search .nothing-found {
  593. /* Compensate the 1px top padding of the container. */
  594. margin-top: -1px;
  595. }
  596. #available-menu-items-search .accordion-section-title:after {
  597. display: none;
  598. }
  599. #available-menu-items-search .accordion-section-content:empty {
  600. min-height: 0;
  601. padding: 0;
  602. }
  603. #available-menu-items-search.loading .accordion-section-content div {
  604. opacity: .5;
  605. }
  606. #available-menu-items-search.loading.loading-more .accordion-section-content div {
  607. opacity: 1;
  608. }
  609. #customize-preview {
  610. transition: all 0.2s;
  611. }
  612. body.adding-menu-items #available-menu-items {
  613. right: 0;
  614. visibility: visible;
  615. }
  616. body.adding-menu-items .wp-full-overlay-main {
  617. right: 300px;
  618. }
  619. body.adding-menu-items #customize-preview {
  620. opacity: 0.4;
  621. }
  622. body.adding-menu-items #customize-preview iframe {
  623. pointer-events: none;
  624. }
  625. .menu-item-handle .spinner {
  626. display: none;
  627. float: right;
  628. margin: 0 0 0 8px;
  629. }
  630. .nav-menu-inserted-item-loading .spinner {
  631. display: block;
  632. }
  633. .nav-menu-inserted-item-loading .menu-item-handle .item-type {
  634. padding: 0 8px 0 0;
  635. }
  636. .nav-menu-inserted-item-loading .menu-item-handle,
  637. .added-menu-item .menu-item-handle.loading {
  638. padding: 10px 8px 10px 15px;
  639. cursor: default;
  640. opacity: .5;
  641. background: #fff;
  642. color: #727773;
  643. }
  644. .added-menu-item .menu-item-handle {
  645. transition-property: opacity, background, color;
  646. transition-duration: 1.25s;
  647. transition-timing-function: cubic-bezier( .25, -2.5, .75, 8 ); /* Replacement for .hide().fadeIn('slow') in JS to add emphasis when it's loaded. */
  648. }
  649. /* Add/delete Menus */
  650. #customize-theme-controls .control-panel-content .control-section-nav_menu:nth-last-child(2) .accordion-section-title {
  651. border-bottom-color: #ddd;
  652. }
  653. /* @todo update selector */
  654. #accordion-section-add_menu {
  655. margin: 15px 12px;
  656. }
  657. #accordion-section-add_menu h3 {
  658. text-align: left;
  659. }
  660. #accordion-section-add_menu h3,
  661. #accordion-section-add_menu .customize-add-menu-button {
  662. margin: 0;
  663. }
  664. #accordion-section-add_menu .customize-add-menu-button {
  665. font-weight: 400;
  666. }
  667. #create-new-menu-submit {
  668. float: left;
  669. margin: 0 0 12px 0;
  670. }
  671. .menu-delete-item {
  672. float: right;
  673. padding: 1em 0;
  674. width: 100%;
  675. }
  676. .assigned-menu-locations-title p {
  677. margin: 0 0 8px 0;
  678. }
  679. li.assigned-to-menu-location .menu-delete-item {
  680. display: none;
  681. }
  682. li.assigned-to-menu-location .add-new-menu-item {
  683. margin-bottom: 1em;
  684. }
  685. .menu-item-handle {
  686. margin-top: -1px;
  687. }
  688. .ui-sortable-disabled .menu-item-handle {
  689. cursor: default;
  690. }
  691. .menu-item-handle:hover {
  692. position: relative;
  693. z-index: 10;
  694. color: #0073aa;
  695. }
  696. .menu-item-handle:hover .item-type,
  697. .menu-item-handle:hover .item-edit,
  698. #available-menu-items .menu-item-handle:hover .item-add {
  699. color: #0073aa;
  700. }
  701. .menu-item-edit-active .menu-item-handle {
  702. border-color: #999;
  703. border-bottom: none;
  704. }
  705. .customize-control-nav_menu_item {
  706. margin-bottom: 0;
  707. }
  708. .customize-control-nav_menu .new-menu-item-invitation {
  709. margin-top: 0;
  710. margin-bottom: 0;
  711. }
  712. .customize-control-nav_menu .customize-control-nav_menu-buttons {
  713. margin-top: 12px;
  714. }
  715. /**
  716. * box-shadows
  717. */
  718. .wp-customizer .menu-item .submitbox .submitdelete:focus,
  719. .customize-screen-options-toggle:focus:before,
  720. #customize-controls .customize-info .customize-help-toggle:focus:before,
  721. .wp-customizer button:focus .toggle-indicator:before,
  722. .menu-delete:focus,
  723. .menu-item-bar .item-delete:focus:before,
  724. #available-menu-items .item-add:focus:before {
  725. box-shadow:
  726. 0 0 0 1px #5b9dd9,
  727. 0 0 2px 1px rgba(30, 140, 190, 0.8);
  728. }
  729. @media screen and (max-width: 782px) {
  730. #available-menu-items #available-menu-items-search .accordion-section-content {
  731. top: 63px;
  732. }
  733. }
  734. @media screen and (max-width: 640px) {
  735. #available-menu-items #available-menu-items-search .accordion-section-content {
  736. top: 130px;
  737. }
  738. }