You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

879 lines
21 KiB

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