customize-nav-menus-rtl.css 21 KB

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