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.
 
 
 
 
 

1975 lines
44 KiB

  1. body {
  2. overflow: hidden;
  3. -webkit-text-size-adjust: 100%;
  4. }
  5. .customize-controls-close,
  6. .widget-control-actions a {
  7. text-decoration: none;
  8. }
  9. #customize-controls h3 {
  10. font-size: 14px;
  11. }
  12. #customize-controls img {
  13. max-width: 100%;
  14. }
  15. #customize-controls .submit {
  16. text-align: center;
  17. }
  18. #customize-controls .description {
  19. color: #555d66;
  20. }
  21. #customize-header-actions .button-primary {
  22. float: right;
  23. margin-top: 9px;
  24. }
  25. #customize-header-actions .spinner {
  26. margin-top: 13px;
  27. margin-right: 4px;
  28. }
  29. .saving #customize-header-actions .spinner {
  30. visibility: visible;
  31. }
  32. #customize-header-actions {
  33. border-bottom: 1px solid #ddd;
  34. }
  35. #customize-controls .wp-full-overlay-sidebar-content {
  36. overflow-y: auto;
  37. overflow-x: hidden;
  38. }
  39. #customize-controls .customize-info {
  40. border: none;
  41. border-bottom: 1px solid #ddd;
  42. margin-bottom: 15px;
  43. }
  44. #customize-controls .customize-info.section-meta {
  45. margin-bottom: 15px;
  46. }
  47. #customize-controls .customize-info.is-in-view,
  48. #customize-controls .customize-section-title.is-in-view {
  49. position: absolute;
  50. z-index: 9;
  51. width: 100%;
  52. -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
  53. box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
  54. }
  55. #customize-controls .customize-section-title.is-in-view {
  56. margin-top: 0;
  57. }
  58. #customize-controls .customize-info.is-in-view + .accordion-section {
  59. margin-top: 15px;
  60. }
  61. #customize-controls .customize-info.is-sticky,
  62. #customize-controls .customize-section-title.is-sticky {
  63. position: fixed;
  64. top: 46px;
  65. }
  66. #customize-controls .customize-info .accordion-section-title {
  67. background: #fff;
  68. color: #555d66;
  69. border-left: none;
  70. border-right: none;
  71. border-bottom: none;
  72. cursor: default;
  73. }
  74. #customize-controls .customize-info.open .accordion-section-title:after,
  75. #customize-controls .customize-info .accordion-section-title:hover:after,
  76. #customize-controls .customize-info .accordion-section-title:focus:after {
  77. color: #32373c;
  78. }
  79. #customize-controls .customize-info .accordion-section-title:after {
  80. display: none;
  81. }
  82. #customize-controls .customize-info .preview-notice {
  83. font-size: 13px;
  84. line-height: 24px;
  85. }
  86. #customize-controls .customize-pane-child .customize-section-title h3,
  87. #customize-controls .customize-pane-child h3.customize-section-title,
  88. #customize-controls .customize-info .panel-title {
  89. font-size: 20px;
  90. font-weight: 200;
  91. line-height: 26px;
  92. display: block;
  93. overflow: hidden;
  94. white-space: nowrap;
  95. text-overflow: ellipsis;
  96. }
  97. #customize-controls .customize-section-title span.customize-action {
  98. overflow: hidden;
  99. white-space: nowrap;
  100. text-overflow: ellipsis;
  101. }
  102. #customize-controls .customize-info .customize-help-toggle {
  103. position: absolute;
  104. top: 4px;
  105. right: 1px;
  106. padding: 20px 20px 10px 10px;
  107. width: 20px;
  108. height: 20px;
  109. cursor: pointer;
  110. -webkit-box-shadow: none;
  111. box-shadow: none;
  112. -webkit-appearance: none;
  113. background: transparent;
  114. color: #555d66;
  115. border: none;
  116. }
  117. #customize-controls .customize-info .customize-help-toggle:before {
  118. position: absolute;
  119. top: 5px;
  120. left: 6px;
  121. }
  122. #customize-controls .customize-info.open .customize-help-toggle,
  123. #customize-controls .customize-info .customize-help-toggle:focus,
  124. #customize-controls .customize-info .customize-help-toggle:hover {
  125. color: #0073aa;
  126. }
  127. #customize-controls .customize-info .customize-panel-description,
  128. #customize-controls .customize-info .customize-section-description,
  129. #customize-controls .no-widget-areas-rendered-notice {
  130. color: #555d66;
  131. display: none;
  132. background: #fff;
  133. padding: 12px 15px;
  134. border-top: 1px solid #ddd;
  135. }
  136. #customize-controls .customize-info .customize-panel-description.open + .no-widget-areas-rendered-notice {
  137. border-top: none;
  138. }
  139. #customize-controls .customize-info .customize-section-description {
  140. margin-bottom: 15px;
  141. }
  142. #customize-controls .customize-info .customize-panel-description p:first-child,
  143. #customize-controls .customize-info .customize-section-description p:first-child {
  144. margin-top: 0;
  145. }
  146. #customize-controls .customize-info .customize-panel-description p:last-child,
  147. #customize-controls .customize-info .customize-section-description p:last-child {
  148. margin-bottom: 0;
  149. }
  150. #customize-controls .current-panel .control-section > h3.accordion-section-title {
  151. padding-right: 30px;
  152. }
  153. #customize-theme-controls .control-section {
  154. border: none;
  155. }
  156. #customize-theme-controls .accordion-section-title {
  157. color: #555d66;
  158. background-color: #fff;
  159. border-bottom: 1px solid #ddd;
  160. border-left: 4px solid #fff;
  161. -webkit-transition: .15s color ease-in-out,
  162. .15s background-color ease-in-out,
  163. .15s border-color ease-in-out;
  164. transition: .15s color ease-in-out,
  165. .15s background-color ease-in-out,
  166. .15s border-color ease-in-out;
  167. }
  168. #customize-controls #customize-theme-controls .customize-themes-panel .accordion-section-title {
  169. color: #555;
  170. background-color: #fff;
  171. border-left: 4px solid #fff;
  172. }
  173. #customize-theme-controls .accordion-section-title:after {
  174. content: "\f345";
  175. color: #a0a5aa;
  176. }
  177. #customize-theme-controls .accordion-section-content {
  178. color: #555d66;
  179. background: transparent;
  180. }
  181. #customize-controls .control-section:hover > .accordion-section-title,
  182. #customize-controls .control-section .accordion-section-title:hover,
  183. #customize-controls .control-section.open .accordion-section-title,
  184. #customize-controls .control-section .accordion-section-title:focus {
  185. color: #0073aa;
  186. background: #f3f3f5;
  187. border-left-color: #0073aa;
  188. }
  189. #accordion-section-themes + .control-section {
  190. border-top: 1px solid #ddd;
  191. }
  192. .js .control-section:hover .accordion-section-title,
  193. .js .control-section .accordion-section-title:hover,
  194. .js .control-section.open .accordion-section-title,
  195. .js .control-section .accordion-section-title:focus {
  196. background: #f3f3f5;
  197. }
  198. #customize-theme-controls .control-section:hover > .accordion-section-title:after,
  199. #customize-theme-controls .control-section .accordion-section-title:hover:after,
  200. #customize-theme-controls .control-section.open .accordion-section-title:after,
  201. #customize-theme-controls .control-section .accordion-section-title:focus:after {
  202. color: #0073aa;
  203. }
  204. #customize-theme-controls .control-section.open {
  205. border-bottom: 1px solid #eee;
  206. }
  207. #customize-theme-controls .control-section.open .accordion-section-title {
  208. border-bottom-color: #eee !important;
  209. }
  210. #customize-theme-controls .control-section:last-of-type.open,
  211. #customize-theme-controls .control-section:last-of-type > .accordion-section-title {
  212. border-bottom-color: #ddd;
  213. }
  214. #customize-theme-controls .control-panel-content .control-section:nth-child(2),
  215. #customize-theme-controls .control-panel-nav_menus .control-section:nth-child(3) {
  216. border-top: 1px solid #ddd;
  217. }
  218. #customize-theme-controls > ul {
  219. margin: 0;
  220. }
  221. #customize-theme-controls .accordion-section-content {
  222. position: absolute;
  223. top: 0;
  224. left: 100%;
  225. width: 100%;
  226. margin: 0;
  227. padding: 12px;
  228. -webkit-box-sizing: border-box;
  229. -moz-box-sizing: border-box;
  230. box-sizing: border-box;
  231. }
  232. #customize-info,
  233. #customize-theme-controls .customize-pane-parent,
  234. #customize-theme-controls .customize-pane-child {
  235. overflow: visible;
  236. width: 100%;
  237. margin: 0;
  238. padding: 0;
  239. -webkit-box-sizing: border-box;
  240. -moz-box-sizing: border-box;
  241. box-sizing: border-box;
  242. -webkit-transition: 0.18s -webkit-transform cubic-bezier(0.645, 0.045, 0.355, 1);
  243. transition: 0.18s -webkit-transform cubic-bezier(0.645, 0.045, 0.355, 1);
  244. -webkit-transition: 0.18s transform cubic-bezier(0.645, 0.045, 0.355, 1);
  245. transition: 0.18s transform cubic-bezier(0.645, 0.045, 0.355, 1);
  246. -webkit-transition: 0.18s transform cubic-bezier(0.645, 0.045, 0.355, 1), 0.18s -webkit-transform cubic-bezier(0.645, 0.045, 0.355, 1);
  247. transition: 0.18s transform cubic-bezier(0.645, 0.045, 0.355, 1), 0.18s -webkit-transform cubic-bezier(0.645, 0.045, 0.355, 1); /* easeInOutCubic */
  248. }
  249. #customize-info,
  250. #customize-theme-controls .customize-pane-parent {
  251. position: relative;
  252. visibility: visible;
  253. height: auto;
  254. max-height: none;
  255. overflow: auto;
  256. -webkit-transform: none;
  257. -ms-transform: none;
  258. transform: none;
  259. }
  260. #customize-theme-controls .customize-pane-child {
  261. position: absolute;
  262. top: 0;
  263. left: 0;
  264. visibility: hidden;
  265. height: 0;
  266. max-height: none;
  267. overflow: hidden;
  268. -webkit-transform: translateX(100%);
  269. -ms-transform: translateX(100%);
  270. transform: translateX(100%);
  271. }
  272. #customize-theme-controls .customize-pane-child.open,
  273. #customize-theme-controls .customize-pane-child.current-panel,
  274. #customize-theme-controls .customize-themes-panel.customize-pane-child.current-panel {
  275. -webkit-transform: none;
  276. -ms-transform: none;
  277. transform: none;
  278. }
  279. #customize-theme-controls .customize-themes-panel.customize-pane-child,
  280. .section-open #customize-theme-controls .customize-pane-parent,
  281. .in-sub-panel #customize-theme-controls .customize-pane-parent,
  282. .section-open #customize-info,
  283. .in-sub-panel #customize-info,
  284. .in-sub-panel.section-open #customize-theme-controls .customize-pane-child.current-panel,
  285. .in-themes-panel #customize-theme-controls .customize-pane-parent,
  286. .in-themes-panel #customize-info {
  287. visibility: hidden;
  288. height: 0;
  289. overflow: hidden;
  290. -webkit-transform: translateX(-100%);
  291. -ms-transform: translateX(-100%);
  292. transform: translateX(-100%);
  293. }
  294. .section-open #customize-theme-controls .customize-pane-parent.busy,
  295. .in-sub-panel #customize-theme-controls .customize-pane-parent.busy,
  296. .in-themes-panel #customize-theme-controls .customize-pane-parent.busy,
  297. .section-open #customize-info.busy,
  298. .in-sub-panel #customize-info.busy,
  299. .in-themes-panel #customize-info.busy,
  300. .busy.section-open.in-sub-panel #customize-theme-controls .customize-pane-child.current-panel,
  301. #customize-theme-controls .customize-pane-child.open,
  302. #customize-theme-controls .customize-pane-child.current-panel,
  303. #customize-theme-controls .customize-pane-child.busy {
  304. visibility: visible;
  305. height: auto;
  306. overflow: auto;
  307. }
  308. .in-themes-panel #customize-theme-controls .customize-pane-parent,
  309. .in-themes-panel #customize-info {
  310. -webkit-transform: translateX(100%);
  311. -ms-transform: translateX(100%);
  312. transform: translateX(100%);
  313. }
  314. #customize-theme-controls .customize-pane-child.accordion-section-content,
  315. #customize-theme-controls .customize-pane-child.accordion-sub-container {
  316. display: block;
  317. overflow-x: hidden;
  318. }
  319. #customize-theme-controls .customize-pane-child.accordion-section-content {
  320. padding: 12px;
  321. }
  322. #customize-theme-controls .customize-pane-child.menu li {
  323. position: static;
  324. }
  325. .customize-section-description-container {
  326. margin-bottom: 15px;
  327. }
  328. .customize-section-title {
  329. margin: -12px -12px 0 -12px;
  330. border-bottom: 1px solid #ddd;
  331. background: #fff;
  332. }
  333. div.customize-section-description {
  334. margin-top: 22px;
  335. }
  336. .customize-info div.customize-section-description {
  337. margin-top: 0;
  338. }
  339. div.customize-section-description p:first-child {
  340. margin-top: 0;
  341. }
  342. div.customize-section-description p:last-child {
  343. margin-bottom: 0;
  344. }
  345. #customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child {
  346. border-bottom: 1px solid #ddd;
  347. padding: 12px 12px 12px 12px;
  348. }
  349. .ios #customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child {
  350. padding: 12px 12px 13px 12px;
  351. }
  352. .customize-section-title h3,
  353. h3.customize-section-title {
  354. padding: 10px 10px 12px 14px;
  355. margin: 0;
  356. line-height: 21px;
  357. color: #555d66;
  358. }
  359. .accordion-sub-container.control-panel-content {
  360. display: none;
  361. position: absolute;
  362. top: 0;
  363. width: 100%;
  364. }
  365. .accordion-sub-container.control-panel-content.busy {
  366. display: block;
  367. }
  368. .current-panel .accordion-sub-container.control-panel-content {
  369. width: 100%;
  370. }
  371. .customize-controls-close {
  372. display: block;
  373. position: absolute;
  374. top: 0;
  375. left: 0;
  376. width: 45px;
  377. height: 41px;
  378. padding: 0 2px 0 0;
  379. background: #eee;
  380. border: none;
  381. border-top: 4px solid #eee;
  382. border-right: 1px solid #ddd;
  383. color: #444;
  384. text-align: left;
  385. cursor: pointer;
  386. -webkit-transition: color .15s ease-in-out,
  387. border-color .15s ease-in-out,
  388. background .15s ease-in-out;
  389. transition: color .15s ease-in-out,
  390. border-color .15s ease-in-out,
  391. background .15s ease-in-out;
  392. -webkit-box-sizing: content-box;
  393. -moz-box-sizing: content-box;
  394. box-sizing: content-box;
  395. }
  396. .customize-panel-back,
  397. .customize-section-back {
  398. display: block;
  399. float: left;
  400. width: 48px;
  401. height: 71px;
  402. padding: 0 24px 0 0;
  403. margin: 0;
  404. background: #fff;
  405. border: none;
  406. border-right: 1px solid #ddd;
  407. border-left: 4px solid #fff;
  408. -webkit-box-shadow: none;
  409. box-shadow: none;
  410. cursor: pointer;
  411. -webkit-transition: color .15s ease-in-out,
  412. border-color .15s ease-in-out,
  413. background .15s ease-in-out;
  414. transition: color .15s ease-in-out,
  415. border-color .15s ease-in-out,
  416. background .15s ease-in-out;
  417. }
  418. .customize-section-back {
  419. height: 74px;
  420. }
  421. .ios .customize-panel-back {
  422. display: none;
  423. }
  424. .ios .expanded.in-sub-panel .customize-panel-back {
  425. display: block;
  426. }
  427. #customize-controls .panel-meta.customize-info .accordion-section-title {
  428. margin-left: 48px;
  429. border-left: none;
  430. }
  431. #customize-controls .panel-meta.customize-info .accordion-section-title:hover,
  432. #customize-controls .cannot-expand:hover .accordion-section-title {
  433. background: #fff;
  434. color: #555d66;
  435. border-left-color: #fff;
  436. }
  437. .customize-controls-close:focus,
  438. .customize-controls-close:hover,
  439. .customize-controls-preview-toggle:focus,
  440. .customize-controls-preview-toggle:hover {
  441. background: #fff;
  442. color: #0073aa;
  443. border-top-color: #0073aa;
  444. outline: none;
  445. -webkit-box-shadow: none;
  446. box-shadow: none;
  447. }
  448. .customize-panel-back:hover,
  449. .customize-panel-back:focus,
  450. .customize-section-back:hover,
  451. .customize-section-back:focus {
  452. color: #0073aa;
  453. background: #f3f3f5;
  454. border-left-color: #0073aa;
  455. outline: none;
  456. -webkit-box-shadow: none;
  457. box-shadow: none;
  458. }
  459. .customize-controls-close:before {
  460. font: normal 22px/45px dashicons;
  461. content: "\f335";
  462. position: relative;
  463. top: -3px;
  464. left: 13px;
  465. }
  466. .customize-panel-back:before,
  467. .customize-section-back:before {
  468. font: normal 20px/72px dashicons;
  469. content: "\f341";
  470. position: relative;
  471. left: 9px;
  472. }
  473. .wp-full-overlay-sidebar .wp-full-overlay-header {
  474. background-color: #eee;
  475. -webkit-transition: padding ease-in-out .18s;
  476. transition: padding ease-in-out .18s;
  477. }
  478. .in-sub-panel .wp-full-overlay-sidebar .wp-full-overlay-header {
  479. padding-left: 62px;
  480. }
  481. p.customize-section-description {
  482. font-style: normal;
  483. margin-top: 22px;
  484. margin-bottom: 0;
  485. }
  486. .customize-control {
  487. width: 100%;
  488. float: left;
  489. clear: both;
  490. margin-bottom: 12px;
  491. }
  492. .customize-control select,
  493. .customize-control input[type="radio"],
  494. .customize-control input[type="checkbox"] {
  495. line-height: 28px;
  496. }
  497. .customize-control input[type="text"],
  498. .customize-control input[type="password"],
  499. .customize-control input[type="email"],
  500. .customize-control input[type="number"],
  501. .customize-control input[type="search"],
  502. .customize-control input[type="tel"],
  503. .customize-control input[type="url"] {
  504. width: 100%;
  505. line-height: 18px;
  506. margin: 0;
  507. }
  508. .customize-control-hidden {
  509. margin: 0;
  510. }
  511. .customize-control-textarea textarea {
  512. width: 100%;
  513. resize: vertical;
  514. }
  515. .customize-control select {
  516. width: 100%;
  517. max-width: 300px;
  518. height: 28px;
  519. line-height: 28px;
  520. }
  521. .customize-control select[multiple] {
  522. height: auto;
  523. }
  524. .customize-control-title {
  525. display: block;
  526. font-size: 14px;
  527. line-height: 24px;
  528. font-weight: 600;
  529. margin-bottom: 4px;
  530. }
  531. .customize-control-description {
  532. display: block;
  533. font-style: italic;
  534. line-height: 18px;
  535. margin-top: 0;
  536. margin-bottom: 5px;
  537. }
  538. .customize-section-description a.external-link:after {
  539. font: 16px/11px dashicons;
  540. content: "\f310";
  541. top: 3px;
  542. position: relative;
  543. padding-left: 3px;
  544. display: inline-block;
  545. text-decoration: none;
  546. }
  547. .customize-control-color .color-picker,
  548. .customize-control-upload div {
  549. line-height: 28px;
  550. }
  551. .customize-control-radio label,
  552. .customize-control-checkbox label,
  553. .customize-control-nav_menu_auto_add label {
  554. line-height: 20px;
  555. display: block;
  556. margin-left: 24px;
  557. padding-top: 6px;
  558. padding-bottom: 6px;
  559. }
  560. .customize-control-radio input,
  561. .customize-control-checkbox input,
  562. .customize-control-nav_menu_auto_add input {
  563. margin-right: 4px;
  564. margin-left: -24px;
  565. }
  566. .customize-control-radio {
  567. padding: 5px 0 10px;
  568. }
  569. .customize-control-radio .customize-control-title {
  570. margin-bottom: 0;
  571. line-height: 22px;
  572. }
  573. .customize-control-radio .customize-control-title + .customize-control-description {
  574. margin-top: 7px;
  575. }
  576. .customize-control .attachment-thumb.type-icon {
  577. float: left;
  578. margin: 10px;
  579. width: auto;
  580. }
  581. .customize-control .attachment-title {
  582. font-weight: 600;
  583. margin: 0;
  584. padding: 5px 10px;
  585. }
  586. .customize-control .attachment-meta {
  587. white-space: nowrap;
  588. overflow: hidden;
  589. text-overflow: ellipsis;
  590. margin: 0;
  591. padding: 0 10px;
  592. }
  593. .customize-control .attachment-meta-title {
  594. padding-top: 7px;
  595. }
  596. .customize-control .thumbnail-image {
  597. line-height: 0;
  598. }
  599. .customize-control .thumbnail-image img {
  600. cursor: pointer;
  601. }
  602. #customize-controls .thumbnail-audio .thumbnail {
  603. max-width: 64px;
  604. max-height: 64px;
  605. margin: 10px;
  606. float: left;
  607. }
  608. #available-menu-items .accordion-section-content .new-content-item,
  609. .customize-control-dropdown-pages .new-content-item {
  610. width: -webkit-calc(100% - 30px);
  611. width: calc(100% - 30px);
  612. padding: 8px 15px;
  613. position: absolute;
  614. bottom: 0;
  615. z-index: 10;
  616. background: #eee;
  617. display: -webkit-box;
  618. display: -moz-box;
  619. display: -ms-flexbox;
  620. display: -webkit-flex;
  621. display: flex;
  622. }
  623. .customize-control-dropdown-pages .new-content-item {
  624. width: 100%;
  625. max-width: 300px;
  626. padding: 5px 0 5px 1px;
  627. position: relative;
  628. }
  629. #available-menu-items .new-content-item .create-item-input,
  630. .customize-control-dropdown-pages .new-content-item .create-item-input {
  631. -webkit-box-flex: 10;
  632. -webkit-flex-grow: 10;
  633. -moz-box-flex: 10;
  634. -ms-flex-positive: 10;
  635. -ms-flex: 10;
  636. flex-grow: 10;
  637. }
  638. #available-menu-items .new-content-item .add-content,
  639. .customize-control-dropdown-pages .new-content-item .add-content {
  640. margin: 2px 0 2px 6px;
  641. -webkit-box-flex: 10;
  642. -webkit-flex-grow: 10;
  643. -moz-box-flex: 10;
  644. -ms-flex-positive: 10;
  645. -ms-flex: 10;
  646. flex-grow: 1;
  647. }
  648. .customize-control-dropdown-pages .new-content-item .create-item-input.invalid {
  649. border: 1px solid #f00;
  650. }
  651. .customize-control-dropdown-pages .add-new-toggle {
  652. margin-left: 1px;
  653. color: #0073aa;
  654. font-weight: 600;
  655. line-height: 28px;
  656. text-decoration: underline;
  657. }
  658. .customize-control-dropdown-pages .add-new-toggle:hover,
  659. .customize-control-dropdown-pages .add-new-toggle:active {
  660. color: #00a0d2;
  661. }
  662. .customize-control-dropdown-pages .add-new-toggle:focus {
  663. color: #124964;
  664. }
  665. #customize-preview iframe {
  666. width: 100%;
  667. height: 100%;
  668. position: absolute;
  669. }
  670. #customize-preview iframe + iframe {
  671. visibility: hidden;
  672. }
  673. .wp-full-overlay-sidebar {
  674. background: #eee;
  675. border-right: 1px solid #ddd;
  676. }
  677. /**
  678. * Notifications
  679. */
  680. #customize-controls .customize-control-notifications-container { /* Scoped to #customize-controls for specificity over notification styles in common.css. */
  681. margin: 4px 0 8px 0;
  682. padding: 0;
  683. display: none;
  684. cursor: default;
  685. }
  686. #customize-controls .customize-control-widget_form.has-error .widget .widget-top,
  687. .customize-control-nav_menu_item.has-error .menu-item-bar .menu-item-handle {
  688. -webkit-box-shadow: inset 0 0 0 2px #dc3232;
  689. box-shadow: inset 0 0 0 2px #dc3232;
  690. -webkit-transition: .15s box-shadow linear;
  691. transition: .15s box-shadow linear;
  692. }
  693. .customize-control-notifications-container li.notice {
  694. list-style: none;
  695. margin: 0 0 6px 0;
  696. padding: 4px 8px;
  697. }
  698. .customize-control-notifications-container li.notice:last-child {
  699. margin-bottom: 0;
  700. }
  701. #customize-controls .customize-control-nav_menu_item .customize-control-notifications-container {
  702. margin-top: 0;
  703. }
  704. #customize-controls .customize-control-widget_form .customize-control-notifications-container {
  705. margin-top: 8px;
  706. }
  707. .customize-control-text.has-error input {
  708. outline: 2px solid #dc3232;
  709. }
  710. /* Style for custom settings */
  711. /**
  712. * Dropdowns
  713. */
  714. .accordion-section .dropdown {
  715. float: left;
  716. display: block;
  717. position: relative;
  718. cursor: pointer;
  719. }
  720. .accordion-section .dropdown-content {
  721. overflow: hidden;
  722. float: left;
  723. min-width: 30px;
  724. height: 16px;
  725. line-height: 16px;
  726. margin-right: 16px;
  727. padding: 4px 5px;
  728. border: 2px solid #eee;
  729. -webkit-user-select: none;
  730. -moz-user-select: none;
  731. -ms-user-select: none;
  732. user-select: none;
  733. }
  734. /* @todo maybe no more used? */
  735. .customize-control .dropdown-arrow {
  736. position: absolute;
  737. top: 0;
  738. bottom: 0;
  739. right: 0;
  740. width: 20px;
  741. background: #eee;
  742. }
  743. .customize-control .dropdown-arrow:after {
  744. content: "\f140";
  745. font: normal 20px/1 dashicons;
  746. speak: none;
  747. display: block;
  748. padding: 0;
  749. text-indent: 0;
  750. text-align: center;
  751. position: relative;
  752. -webkit-font-smoothing: antialiased;
  753. -moz-osx-font-smoothing: grayscale;
  754. text-decoration: none !important;
  755. color: #32373c;
  756. }
  757. .customize-control .dropdown-status {
  758. color: #32373c;
  759. background: #eee;
  760. display: none;
  761. max-width: 112px;
  762. }
  763. /* Color Picker */
  764. .customize-control-color .color-picker-hex {
  765. display: none;
  766. }
  767. .customize-control-color.open .color-picker-hex {
  768. display: block;
  769. }
  770. .customize-control-color .dropdown {
  771. margin-right: 5px;
  772. margin-bottom: 5px;
  773. }
  774. .customize-control-color .dropdown .dropdown-content {
  775. background-color: #555d66;
  776. border: 1px solid rgba(0, 0, 0, 0.15);
  777. }
  778. .customize-control-color .dropdown:hover .dropdown-content {
  779. border-color: rgba(0, 0, 0, 0.25);
  780. }
  781. /**
  782. * iOS can't scroll iframes,
  783. * instead it expands the iframe size to match the size of the content
  784. */
  785. .ios .wp-full-overlay {
  786. position: relative;
  787. }
  788. .ios #customize-controls .wp-full-overlay-sidebar-content {
  789. -webkit-overflow-scrolling: touch;
  790. }
  791. /* Media controls */
  792. .customize-control .attachment-media-view .actions {
  793. margin-top: 8px;
  794. }
  795. .customize-control-header .current {
  796. margin-bottom: 8px;
  797. }
  798. .customize-control-header .actions,
  799. .customize-control-header .uploaded {
  800. margin-bottom: 18px;
  801. }
  802. .customize-control-header .uploaded button:not(.random),
  803. .customize-control-header .default button:not(.random) {
  804. width: 100%;
  805. padding: 0;
  806. margin: 0;
  807. background: none;
  808. border: none;
  809. color: inherit;
  810. cursor: pointer;
  811. }
  812. .customize-control-header button img {
  813. display: block;
  814. }
  815. .customize-control .attachment-media-view .remove-button,
  816. .customize-control .attachment-media-view .default-button,
  817. .customize-control .attachment-media-view .upload-button,
  818. .customize-control-header button.new,
  819. .customize-control-header button.remove {
  820. white-space: normal;
  821. width: 48%;
  822. height: auto;
  823. }
  824. .customize-control .attachment-media-view .thumbnail,
  825. .customize-control-header .current .container {
  826. overflow: hidden;
  827. }
  828. .customize-control .attachment-media-view .placeholder,
  829. .customize-control-header .placeholder {
  830. width: 100%;
  831. position: relative;
  832. text-align: center;
  833. cursor: default;
  834. border: 1px dashed #b4b9be;
  835. -webkit-box-sizing: border-box;
  836. -moz-box-sizing: border-box;
  837. box-sizing: border-box;
  838. padding: 9px 0;
  839. line-height: 20px;
  840. }
  841. .customize-control-header .inner {
  842. display: none;
  843. position: absolute;
  844. width: 100%;
  845. color: #555d66;
  846. white-space: nowrap;
  847. text-overflow: ellipsis;
  848. overflow: hidden;
  849. }
  850. .customize-control-header .inner,
  851. .customize-control-header .inner .dashicons {
  852. line-height: 20px;
  853. top: 8px;
  854. }
  855. .customize-control-header .list .inner,
  856. .customize-control-header .list .inner .dashicons {
  857. top: 9px;
  858. }
  859. .customize-control-header .header-view {
  860. position: relative;
  861. width: 100%;
  862. margin-bottom: 5px;
  863. }
  864. .customize-control-header .header-view:last-child {
  865. margin-bottom: 0px;
  866. }
  867. /* Convoluted, but 'outline' support isn't good enough yet */
  868. .customize-control-header .header-view:after {
  869. border: 0;
  870. }
  871. .customize-control-header .header-view.selected .choice:focus {
  872. outline: none;
  873. }
  874. .customize-control-header .header-view.selected:after {
  875. content: '';
  876. position: absolute;
  877. height: auto;
  878. top: 0; left: 0; bottom: 0; right: 0;
  879. border: 4px solid #00a0d2;
  880. -webkit-border-radius: 2px;
  881. border-radius: 2px;
  882. }
  883. .customize-control-header .header-view.button.selected {
  884. border: 0;
  885. }
  886. /* Header control: overlay "close" button */
  887. .customize-control-header .uploaded .header-view .close {
  888. font-size: 20px;
  889. color: #fff;
  890. background: #555d66;
  891. background: rgba(0, 0, 0, 0.5);
  892. position: absolute;
  893. top: 10px;
  894. left: -999px;
  895. z-index: 1;
  896. width: 26px;
  897. height: 26px;
  898. cursor: pointer;
  899. }
  900. .customize-control-header .header-view:hover .close,
  901. .customize-control-header .header-view .close:focus {
  902. left: auto;
  903. right: 10px;
  904. }
  905. .customize-control-header .header-view .close:focus {
  906. outline: 1px solid #5b9dd9;
  907. }
  908. /* Header control: randomiz(s)er */
  909. .customize-control-header .random.placeholder {
  910. cursor: pointer;
  911. -webkit-border-radius: 2px;
  912. border-radius: 2px;
  913. height: 40px;
  914. }
  915. .customize-control-header button.random {
  916. width: 100%;
  917. height: auto;
  918. min-height: 40px;
  919. white-space: normal;
  920. }
  921. .customize-control-header button.random .dice {
  922. margin-top: 4px;
  923. }
  924. .customize-control-header .placeholder:hover .dice,
  925. .customize-control-header .header-view:hover > button.random .dice {
  926. -webkit-animation: dice-color-change 3s infinite;
  927. animation: dice-color-change 3s infinite;
  928. }
  929. @-webkit-keyframes dice-color-change {
  930. 0% { color: #d4b146; }
  931. 50% { color: #ef54b0; }
  932. 75% { color: #7190d3; }
  933. 100% { color: #d4b146; }
  934. }
  935. @keyframes dice-color-change {
  936. 0% { color: #d4b146; }
  937. 50% { color: #ef54b0; }
  938. 75% { color: #7190d3; }
  939. 100% { color: #d4b146; }
  940. }
  941. .customize-control-header .choice {
  942. position: relative;
  943. display: block;
  944. margin-bottom: 9px;
  945. }
  946. .customize-control-header .choice:focus {
  947. outline: none;
  948. -webkit-box-shadow:
  949. 0 0 0 1px #5b9dd9,
  950. 0 0 3px 1px rgba(30, 140, 190, .8);
  951. box-shadow:
  952. 0 0 0 1px #5b9dd9,
  953. 0 0 3px 1px rgba(30, 140, 190, .8);
  954. }
  955. .customize-control-header .uploaded div:last-child > .choice {
  956. margin-bottom: 0;
  957. }
  958. .customize-control .attachment-media-view .thumbnail-image img,
  959. .customize-control-header img {
  960. max-width: 100%;
  961. }
  962. .customize-control .attachment-media-view .remove-button,
  963. .customize-control .attachment-media-view .default-button,
  964. .customize-control-header .remove {
  965. float: left;
  966. margin-right: 3px;
  967. }
  968. .customize-control .attachment-media-view .upload-button,
  969. .customize-control-header .new {
  970. float: right;
  971. }
  972. /* Background position control */
  973. .customize-control-background_position .background-position-control .button-group {
  974. display: block;
  975. }
  976. /**
  977. * Custom CSS Section
  978. *
  979. * Modifications to the Section Container to make the textarea full-width and
  980. * full-height, if the control is the only control in the section.
  981. */
  982. #customize-controls .customize-section-description-container.section-meta.customize-info {
  983. border-bottom: none;
  984. }
  985. #sub-accordion-section-custom_css .customize-control-notifications-container {
  986. margin-bottom: 15px;
  987. }
  988. #customize-control-custom_css textarea {
  989. display: block;
  990. font-family: Consolas, Monaco, monospace;
  991. font-size: 12px;
  992. padding: 6px 8px;
  993. height: 500px;
  994. -moz-tab-size: 4;
  995. -o-tab-size: 4;
  996. tab-size: 4;
  997. }
  998. .customize-section-description-container + #customize-control-custom_css:last-child textarea {
  999. border-right: 0;
  1000. border-left: 0;
  1001. height: -webkit-calc( 100vh - 185px );
  1002. height: calc( 100vh - 185px );
  1003. resize: none;
  1004. }
  1005. .customize-section-description-container + #customize-control-custom_css:last-child {
  1006. margin-left: -12px;
  1007. width: 299px;
  1008. margin-bottom: -12px;
  1009. }
  1010. @media screen and ( max-width: 640px ) {
  1011. .customize-section-description-container + #customize-control-custom_css:last-child {
  1012. margin-left: 0;
  1013. margin-right: 0;
  1014. width: 100%;
  1015. }
  1016. .customize-section-description-container + #customize-control-custom_css:last-child textarea {
  1017. height: -webkit-calc( 100vh - 140px );
  1018. height: calc( 100vh - 140px );
  1019. width: 100%;
  1020. border: solid 1px #ddd;
  1021. }
  1022. }
  1023. /**
  1024. * Themes
  1025. */
  1026. @-webkit-keyframes customize-reload {
  1027. 0% { opacity: 0; }
  1028. 100% { opacity: 1; }
  1029. }
  1030. @keyframes customize-reload {
  1031. 0% { opacity: 0; }
  1032. 100% { opacity: 1; }
  1033. }
  1034. /* #customize-container is reused from customize-loader.js, hence the naming. */
  1035. .wp-customizer .customize-loading #customize-container {
  1036. display: block;
  1037. -webkit-animation: customize-reload .75s; /* Can't use `transition` because `display` changes here. */
  1038. animation: customize-reload .75s;
  1039. }
  1040. #customize-theme-controls .control-section-themes .accordion-section-title:hover, /* Not a focusable element. */
  1041. #customize-theme-controls .control-section-themes .accordion-section-title {
  1042. cursor: default;
  1043. background: #fff;
  1044. color: #555d66;
  1045. border-top: 1px solid #ddd;
  1046. border-bottom: 1px solid #ddd;
  1047. border-left: none;
  1048. margin-top: 0;
  1049. }
  1050. #customize-theme-controls .control-section-themes .customize-themes-panel .accordion-section-title:first-child:hover, /* Not a focusable element. */
  1051. #customize-theme-controls .control-section-themes .customize-themes-panel .accordion-section-title:first-child {
  1052. border-top: 0;
  1053. }
  1054. #customize-theme-controls .control-section-themes > .accordion-section-title:hover, /* Not a focusable element. */
  1055. #customize-theme-controls .control-section-themes > .accordion-section-title {
  1056. margin: 0 0 15px;
  1057. }
  1058. #customize-controls .customize-themes-panel .accordion-section-title:hover,
  1059. #customize-controls .customize-themes-panel .accordion-section-title {
  1060. margin: 15px -8px;
  1061. }
  1062. #customize-controls .control-section-themes .accordion-section-title,
  1063. #customize-controls .customize-themes-panel .accordion-section-title {
  1064. padding-right: 100px; /* Space for the button */
  1065. }
  1066. #customize-controls .control-section-themes .accordion-section-title span.customize-action,
  1067. #customize-controls .customize-section-title span.customize-action {
  1068. font-size: 13px;
  1069. display: block;
  1070. font-weight: 400;
  1071. }
  1072. #customize-controls .control-section-themes .accordion-section-title .change-theme,
  1073. #customize-controls .customize-themes-panel .accordion-section-title .customize-theme {
  1074. position: absolute;
  1075. right: 10px;
  1076. top: 50%;
  1077. margin-top: -14px;
  1078. font-weight: 400;
  1079. }
  1080. #customize-controls .control-section-themes .accordion-section-title:before {
  1081. display: none;
  1082. }
  1083. #customize-controls .customize-themes-panel {
  1084. padding: 0 8px;
  1085. background: #f1f1f1;
  1086. -webkit-box-sizing: border-box;
  1087. -moz-box-sizing: border-box;
  1088. box-sizing: border-box;
  1089. }
  1090. #customize-controls .customize-themes-panel .accordion-section-title:first-child {
  1091. margin-top: 0;
  1092. }
  1093. #customize-controls .customize-themes-panel .accordion-section-title:nth-child(2) {
  1094. font-size: 14px;
  1095. font-weight: 600;
  1096. }
  1097. #customize-controls .customize-themes-panel > h2 {
  1098. padding: 15px 8px 0 8px;
  1099. }
  1100. #customize-theme-controls .customize-themes-panel .accordion-section-content {
  1101. background: transparent;
  1102. display: block;
  1103. }
  1104. .customize-control.customize-control-theme {
  1105. margin-bottom: 8px;
  1106. }
  1107. #customize-theme-controls .themes.accordion-section-content {
  1108. position: relative;
  1109. left: 0;
  1110. padding: 0;
  1111. width: 100%;
  1112. }
  1113. .wp-customizer .theme-browser .themes {
  1114. padding-bottom: 8px;
  1115. }
  1116. .wp-customizer .theme-browser .theme {
  1117. margin: 0;
  1118. width: 100%;
  1119. }
  1120. .wp-customizer .theme-browser .theme .theme-actions {
  1121. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  1122. opacity: 1;
  1123. }
  1124. #customize-controls h3.theme-name {
  1125. font-size: 15px;
  1126. }
  1127. #customize-controls .theme-overlay .theme-name {
  1128. font-size: 32px;
  1129. }
  1130. .wp-customizer #themes-filter {
  1131. font-size: 16px;
  1132. font-weight: 300;
  1133. line-height: 1.5;
  1134. width: 100%;
  1135. }
  1136. .control-section-themes .accordion-section-title:after,
  1137. .customize-themes-panel .accordion-section-title:after {
  1138. display: none;
  1139. }
  1140. .customize-themes-panel.control-panel-content {
  1141. border-top: 1px solid #ddd;
  1142. }
  1143. /* Details View */
  1144. .wp-customizer .theme-overlay {
  1145. display: none;
  1146. }
  1147. .wp-customizer.modal-open .theme-overlay {
  1148. position: fixed;
  1149. left: 0;
  1150. top: 0;
  1151. right: 0;
  1152. bottom: 0;
  1153. z-index: 109;
  1154. }
  1155. .wp-customizer .theme-overlay .theme-backdrop {
  1156. background: rgba( 238, 238, 238, 0.75 );
  1157. position: fixed;
  1158. z-index: 110;
  1159. }
  1160. .wp-customizer .theme-overlay .theme-wrap {
  1161. left: 90px;
  1162. right: 90px;
  1163. top: 45px;
  1164. bottom: 45px;
  1165. z-index: 120;
  1166. max-width: 1740px; /* To ensure that theme screenshots are not displayed larger than 880px wide. */
  1167. }
  1168. .wp-customizer .theme-overlay .theme-actions {
  1169. text-align: right; /* Because there's only one action, match the pattern of media modals and right-align the action. */
  1170. }
  1171. .ie8 .wp-customizer .theme-overlay .theme-header,
  1172. .ie8 .wp-customizer .theme-overlay .theme-about,
  1173. .ie8 .wp-customizer .theme-overlay .theme-actions {
  1174. position: static;
  1175. }
  1176. /* Small Screens */
  1177. @media (max-width:850px), (max-height:472px) {
  1178. .wp-customizer .theme-overlay .theme-wrap {
  1179. left: 0;
  1180. right: 0;
  1181. top: 0;
  1182. bottom: 0;
  1183. }
  1184. }
  1185. /* Handle cheaters. */
  1186. body.cheatin {
  1187. font-size: medium;
  1188. height: auto;
  1189. background: #fff;
  1190. margin: 50px auto 2em;
  1191. padding: 1em 2em;
  1192. max-width: 700px;
  1193. min-width: 0;
  1194. -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.13);
  1195. box-shadow: 0 1px 3px rgba(0,0,0,0.13);
  1196. }
  1197. body.cheatin h1 {
  1198. border-bottom: 1px solid #ddd;
  1199. clear: both;
  1200. color: #666;
  1201. font-size: 24px;
  1202. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  1203. margin: 30px 0 0 0;
  1204. padding: 0;
  1205. padding-bottom: 7px;
  1206. }
  1207. body.cheatin p {
  1208. font-size: 14px;
  1209. line-height: 1.5;
  1210. margin: 25px 0 20px;
  1211. }
  1212. /**
  1213. * Widgets and Menus common styles
  1214. */
  1215. /* higher specificity than .wp-core-ui .button */
  1216. #customize-theme-controls .add-new-widget,
  1217. #customize-theme-controls .add-new-menu-item {
  1218. cursor: pointer;
  1219. float: right;
  1220. margin-left: 10px;
  1221. -webkit-transition: all 0.2s;
  1222. transition: all 0.2s;
  1223. -webkit-user-select: none;
  1224. -moz-user-select: none;
  1225. -ms-user-select: none;
  1226. user-select: none;
  1227. outline: none;
  1228. }
  1229. .reordering .add-new-widget,
  1230. .reordering .add-new-menu-item {
  1231. opacity: 0.2;
  1232. pointer-events: none;
  1233. cursor: not-allowed; /* doesn't work in conjunction with pointer-events */
  1234. }
  1235. .add-new-widget:before,
  1236. .add-new-menu-item:before,
  1237. #available-menu-items .new-content-item .add-content:before {
  1238. content: "\f132";
  1239. display: inline-block;
  1240. position: relative;
  1241. left: -2px;
  1242. top: -1px;
  1243. font: normal 20px/1 dashicons;
  1244. vertical-align: middle;
  1245. -webkit-transition: all 0.2s;
  1246. transition: all 0.2s;
  1247. -webkit-font-smoothing: antialiased;
  1248. -moz-osx-font-smoothing: grayscale;
  1249. }
  1250. /* Reordering */
  1251. .reorder-toggle {
  1252. color: #0073aa;
  1253. float: right;
  1254. padding: 5px 8px;
  1255. text-decoration: none;
  1256. cursor: pointer;
  1257. outline: none;
  1258. -webkit-user-select: none;
  1259. -moz-user-select: none;
  1260. -ms-user-select: none;
  1261. user-select: none;
  1262. }
  1263. .reorder-toggle:hover {
  1264. color: #00a0d2;
  1265. }
  1266. .reorder-toggle:focus {
  1267. outline: 1px dotted;
  1268. }
  1269. .reorder,
  1270. .reordering .reorder-done {
  1271. display: block;
  1272. padding: 5px 8px;
  1273. }
  1274. .reorder-done,
  1275. .reordering .reorder {
  1276. display: none;
  1277. color: #0073aa;
  1278. }
  1279. .reorder-toggle:hover .reorder-done,
  1280. .reorder-toggle:active .reorder-done,
  1281. .reorder-toggle:focus .reorder-done {
  1282. color: #00a0d2;
  1283. }
  1284. .widget-reorder-nav span,
  1285. .menu-item-reorder-nav button {
  1286. position: relative;
  1287. overflow: hidden;
  1288. float: left;
  1289. display: block;
  1290. width: 33px; /* was 42px for mobile */
  1291. height: 43px;
  1292. color: #82878c;
  1293. text-indent: -9999px;
  1294. cursor: pointer;
  1295. outline: none;
  1296. }
  1297. .menu-item-reorder-nav button {
  1298. width: 30px;
  1299. height: 40px;
  1300. background: transparent;
  1301. border: none;
  1302. -webkit-box-shadow: none;
  1303. box-shadow: none;
  1304. }
  1305. .widget-reorder-nav span:before,
  1306. .menu-item-reorder-nav button:before {
  1307. display: inline-block;
  1308. position: absolute;
  1309. top: 0;
  1310. right: 0;
  1311. width: 100%;
  1312. height: 100%;
  1313. font: normal 20px/43px dashicons;
  1314. text-align: center;
  1315. text-indent: 0;
  1316. -webkit-font-smoothing: antialiased;
  1317. -moz-osx-font-smoothing: grayscale;
  1318. }
  1319. .widget-reorder-nav span:hover,
  1320. .widget-reorder-nav span:focus,
  1321. .menu-item-reorder-nav button:hover,
  1322. .menu-item-reorder-nav button:focus {
  1323. color: #191e23;
  1324. background: #eee;
  1325. }
  1326. .move-widget-down:before,
  1327. .menus-move-down:before {
  1328. content: "\f347";
  1329. }
  1330. .move-widget-up:before,
  1331. .menus-move-up:before {
  1332. content: "\f343";
  1333. }
  1334. #customize-theme-controls .first-widget .move-widget-up,
  1335. #customize-theme-controls .last-widget .move-widget-down,
  1336. .move-up-disabled .menus-move-up,
  1337. .move-down-disabled .menus-move-down,
  1338. .move-right-disabled .menus-move-right,
  1339. .move-left-disabled .menus-move-left {
  1340. color: #d5d5d5;
  1341. background-color: #fff;
  1342. cursor: default;
  1343. pointer-events: none;
  1344. }
  1345. /**
  1346. * New widget and Add-menu-items modes and panels
  1347. */
  1348. .wp-full-overlay-main {
  1349. right: auto; /* this overrides a right: 0; which causes the preview to resize, I'd rather have it go off screen at the normal size. */
  1350. width: 100%;
  1351. }
  1352. body.adding-widget .add-new-widget,
  1353. body.adding-widget .add-new-widget:hover,
  1354. .adding-menu-items .add-new-menu-item,
  1355. .adding-menu-items .add-new-menu-item:hover,
  1356. .add-menu-toggle.open,
  1357. .add-menu-toggle.open:hover {
  1358. background: #eee;
  1359. border-color: #929793;
  1360. color: #32373c;
  1361. -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
  1362. box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
  1363. }
  1364. body.adding-widget .add-new-widget:before,
  1365. .adding-menu-items .add-new-menu-item:before,
  1366. #accordion-section-add_menu .add-new-menu-item.open:before {
  1367. -webkit-transform: rotate(45deg);
  1368. -ms-transform: rotate(45deg);
  1369. transform: rotate(45deg);
  1370. }
  1371. #available-widgets,
  1372. #available-menu-items {
  1373. position: absolute;
  1374. top: 0;
  1375. bottom: 0;
  1376. left: -301px;
  1377. visibility: hidden;
  1378. overflow-x: hidden;
  1379. overflow-y: auto;
  1380. width: 300px;
  1381. margin: 0;
  1382. z-index: 4;
  1383. background: #eee;
  1384. -webkit-transition: left .18s;
  1385. transition: left .18s;
  1386. border-right: 1px solid #ddd;
  1387. }
  1388. #available-widgets .customize-section-title,
  1389. #available-menu-items .customize-section-title {
  1390. display: none;
  1391. }
  1392. #available-widgets-list {
  1393. top: 60px;
  1394. position: absolute;
  1395. overflow: auto;
  1396. bottom: 0;
  1397. width: 100%;
  1398. border-top: 1px solid #ddd;
  1399. }
  1400. .no-widgets-found #available-widgets-list {
  1401. border-top: none;
  1402. }
  1403. #available-widgets-filter {
  1404. position: fixed;
  1405. top: 0;
  1406. z-index: 1;
  1407. width: 300px;
  1408. background: #eee;
  1409. }
  1410. /* search field container */
  1411. #available-widgets-filter,
  1412. #available-menu-items-search .accordion-section-title {
  1413. padding: 13px 15px;
  1414. -webkit-box-sizing: border-box;
  1415. -moz-box-sizing: border-box;
  1416. box-sizing: border-box;
  1417. }
  1418. #available-widgets-filter input,
  1419. #available-menu-items-search input {
  1420. width: 100%;
  1421. height: 32px;
  1422. margin: 1px 0;
  1423. padding: 6px 30px;
  1424. }
  1425. #available-widgets-filter input::-ms-clear,
  1426. #available-menu-items-search input::-ms-clear {
  1427. display: none; /* remove the "x" in IE, which conflicts with the "x" icon on button.clear-results */
  1428. }
  1429. #available-menu-items-search .search-icon,
  1430. #available-widgets-filter .search-icon {
  1431. display: block;
  1432. position: absolute;
  1433. top: 15px; /* 13 container padding +1 input margin +1 input border */
  1434. left: 16px;
  1435. width: 30px;
  1436. height: 30px;
  1437. line-height: 28px;
  1438. text-align: center;
  1439. color: #72777c;
  1440. }
  1441. #available-widgets-filter .clear-results,
  1442. #available-menu-items-search .clear-results {
  1443. position: absolute;
  1444. top: 15px; /* 13 container padding +1 input margin +1 input border */
  1445. right: 16px;
  1446. width: 30px;
  1447. height: 30px;
  1448. padding: 0;
  1449. border: 0;
  1450. cursor: pointer;
  1451. background: none;
  1452. color: #a00;
  1453. text-decoration: none;
  1454. outline: 0;
  1455. }
  1456. #available-widgets-filter .clear-results,
  1457. #available-menu-items-search .clear-results,
  1458. #available-menu-items-search.loading .clear-results.is-visible {
  1459. display: none;
  1460. }
  1461. #available-widgets-filter .clear-results.is-visible,
  1462. #available-menu-items-search .clear-results.is-visible {
  1463. display: block;
  1464. }
  1465. #available-widgets-filter .clear-results:before,
  1466. #available-menu-items-search .clear-results:before {
  1467. content: "\f335";
  1468. font: normal 20px/1 dashicons;
  1469. vertical-align: middle;
  1470. -webkit-font-smoothing: antialiased;
  1471. -moz-osx-font-smoothing: grayscale;
  1472. }
  1473. #available-widgets-filter .clear-results:hover,
  1474. #available-widgets-filter .clear-results:focus,
  1475. #available-menu-items-search .clear-results:hover,
  1476. #available-menu-items-search .clear-results:focus {
  1477. color: #dc3232;
  1478. }
  1479. #available-widgets-filter .clear-results:focus,
  1480. #available-menu-items-search .clear-results:focus {
  1481. -webkit-box-shadow:
  1482. 0 0 0 1px #5b9dd9,
  1483. 0 0 2px 1px rgba(30, 140, 190, .8);
  1484. box-shadow:
  1485. 0 0 0 1px #5b9dd9,
  1486. 0 0 2px 1px rgba(30, 140, 190, .8);
  1487. }
  1488. #available-menu-items-search .search-icon:after,
  1489. #available-widgets-filter .search-icon:after {
  1490. content: "\f179";
  1491. font: normal 20px/1 dashicons;
  1492. vertical-align: middle;
  1493. -webkit-font-smoothing: antialiased;
  1494. -moz-osx-font-smoothing: grayscale;
  1495. }
  1496. .no-widgets-found-message {
  1497. display: none;
  1498. margin: 0;
  1499. padding: 0 15px;
  1500. line-height: inherit;
  1501. }
  1502. .no-widgets-found .no-widgets-found-message {
  1503. display: block;
  1504. }
  1505. #available-widgets .widget-top,
  1506. #available-widgets .widget-top:hover,
  1507. #available-menu-items .item-top,
  1508. #available-menu-items .item-top:hover {
  1509. border: none;
  1510. background: transparent;
  1511. -webkit-box-shadow: none;
  1512. box-shadow: none;
  1513. }
  1514. #available-widgets .widget-tpl,
  1515. #available-menu-items .item-tpl {
  1516. position: relative;
  1517. padding: 20px 15px 20px 60px;
  1518. background: #fff;
  1519. border-bottom: 1px solid #ddd;
  1520. border-left: 4px solid #fff;
  1521. -webkit-transition: .15s color ease-in-out,
  1522. .15s background-color ease-in-out,
  1523. .15s border-color ease-in-out;
  1524. transition: .15s color ease-in-out,
  1525. .15s background-color ease-in-out,
  1526. .15s border-color ease-in-out;
  1527. cursor: pointer;
  1528. display: none;
  1529. }
  1530. #available-widgets .widget,
  1531. #available-menu-items .item {
  1532. position: static;
  1533. }
  1534. /* Responsive */
  1535. .customize-controls-preview-toggle {
  1536. display: none;
  1537. }
  1538. @media only screen and (max-width: 782px) {
  1539. .wp-customizer .theme:not(.active):hover .theme-actions,
  1540. .wp-customizer .theme:not(.active):focus .theme-actions {
  1541. display: block;
  1542. }
  1543. .wp-customizer .theme-browser .theme.active .theme-name span {
  1544. display: inline;
  1545. }
  1546. .customize-control-radio label,
  1547. .customize-control-checkbox label,
  1548. .customize-control-nav_menu_auto_add label {
  1549. margin-left: 32px;
  1550. }
  1551. .customize-control-radio input,
  1552. .customize-control-checkbox input,
  1553. .customize-control-nav_menu_auto_add input {
  1554. margin-left: -32px;
  1555. }
  1556. .customize-control input[type="radio"] + label,
  1557. .customize-control input[type="checkbox"] + label {
  1558. line-height: 32px;
  1559. }
  1560. }
  1561. @media screen and ( max-width: 640px ) {
  1562. #customize-controls {
  1563. width: 100%;
  1564. }
  1565. .wp-full-overlay.expanded {
  1566. margin-left: 0;
  1567. }
  1568. /* when the sidebar is collapsed and switching to responsive view,
  1569. bring it back see ticket #35220 */
  1570. .wp-full-overlay.collapsed #customize-controls {
  1571. margin-left: 0;
  1572. }
  1573. .wp-full-overlay-sidebar .wp-full-overlay-sidebar-content {
  1574. bottom: 0;
  1575. }
  1576. .customize-controls-preview-toggle {
  1577. display: block;
  1578. position: absolute;
  1579. top: 0;
  1580. left: 48px;
  1581. line-height: 45px;
  1582. font-size: 14px;
  1583. padding: 0 12px;
  1584. margin: 0;
  1585. height: 45px;
  1586. background: #eee;
  1587. border: 0;
  1588. border-right: 1px solid #ddd;
  1589. color: #555d66;
  1590. cursor: pointer;
  1591. -webkit-transition: color .1s ease-in-out, background .1s ease-in-out;
  1592. transition: color .1s ease-in-out, background .1s ease-in-out;
  1593. }
  1594. #customize-footer-actions,
  1595. #customize-preview,
  1596. .customize-controls-preview-toggle .controls,
  1597. .preview-only .wp-full-overlay-sidebar-content,
  1598. .preview-only .customize-controls-preview-toggle .preview {
  1599. display: none;
  1600. }
  1601. .customize-controls-preview-toggle .preview:before,
  1602. .customize-controls-preview-toggle .controls:before {
  1603. font: normal 20px/1 dashicons;
  1604. content: "\f177";
  1605. position: relative;
  1606. top: 4px;
  1607. margin-right: 6px;
  1608. }
  1609. .customize-controls-preview-toggle .controls:before {
  1610. content: "\f540";
  1611. }
  1612. .preview-only #customize-controls {
  1613. height: 45px;
  1614. }
  1615. .preview-only #customize-preview,
  1616. .preview-only .customize-controls-preview-toggle .controls {
  1617. display: block;
  1618. }
  1619. #customize-preview {
  1620. top: 45px;
  1621. bottom: 0;
  1622. height: auto;
  1623. }
  1624. .wp-core-ui.wp-customizer .button {
  1625. padding: 6px 14px;
  1626. line-height: normal;
  1627. font-size: 14px;
  1628. vertical-align: middle;
  1629. height: auto;
  1630. margin-bottom: 4px;
  1631. }
  1632. #customize-header-actions .button-primary {
  1633. margin-top: 6px;
  1634. }
  1635. body.adding-widget div#available-widgets,
  1636. body.adding-menu-items div#available-menu-items {
  1637. top: 46px;
  1638. left: 0;
  1639. z-index: 10;
  1640. width: 100%;
  1641. }
  1642. #available-widgets .customize-section-title,
  1643. #available-menu-items .customize-section-title {
  1644. display: block;
  1645. margin: 0;
  1646. }
  1647. #available-widgets .customize-section-back,
  1648. #available-menu-items .customize-section-back {
  1649. height: 69px;
  1650. }
  1651. #available-widgets .customize-section-title h3,
  1652. #available-menu-items .customize-section-title h3 {
  1653. font-size: 20px;
  1654. font-weight: 200;
  1655. padding: 9px 10px 12px 14px;
  1656. margin: 0;
  1657. line-height: 24px;
  1658. color: #555d66;
  1659. display: block;
  1660. overflow: hidden;
  1661. white-space: nowrap;
  1662. text-overflow: ellipsis;
  1663. }
  1664. #available-widgets .customize-section-title .customize-action,
  1665. #available-menu-items .customize-section-title .customize-action {
  1666. font-size: 13px;
  1667. display: block;
  1668. font-weight: 400;
  1669. overflow: hidden;
  1670. white-space: nowrap;
  1671. text-overflow: ellipsis;
  1672. }
  1673. #available-widgets-filter {
  1674. position: relative;
  1675. width: 100%;
  1676. height: auto;
  1677. }
  1678. #available-widgets-list {
  1679. top: 130px;
  1680. }
  1681. #available-menu-items-search .clear-results,
  1682. #available-menu-items-search .search-icon {
  1683. top: 85px; /* 70 section title height + 13 container padding +1 input margin +1 input border */
  1684. }
  1685. }