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.

2994 lines
68 KiB

1 year ago
  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 #customize-notifications-area .notice.notification-overlay.notification-changeset-locked {
  19. background-color: rgba(0, 0, 0, 0.7);
  20. padding: 25px;
  21. }
  22. #customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked .customize-changeset-locked-message {
  23. margin-left: auto;
  24. margin-right: auto;
  25. max-width: 366px;
  26. min-height: 64px;
  27. width: auto;
  28. padding: 25px 25px 25px 109px;
  29. position: relative;
  30. background: #fff;
  31. box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  32. line-height: 1.5;
  33. overflow-y: auto;
  34. text-align: left;
  35. top: calc( 50% - 100px );
  36. }
  37. #customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked .currently-editing {
  38. margin-top: 0;
  39. }
  40. #customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked .action-buttons {
  41. margin-bottom: 0;
  42. }
  43. .customize-changeset-locked-avatar {
  44. width: 64px;
  45. position: absolute;
  46. left: 25px;
  47. top: 25px;
  48. }
  49. .wp-core-ui.wp-customizer .customize-changeset-locked-message a.button {
  50. margin-right: 10px;
  51. margin-top: 0;
  52. }
  53. #customize-controls .description {
  54. color: #50575e;
  55. }
  56. #customize-save-button-wrapper {
  57. float: right;
  58. margin-top: 9px;
  59. }
  60. body:not(.ready) #customize-save-button-wrapper .save {
  61. visibility: hidden;
  62. }
  63. #customize-save-button-wrapper .save {
  64. float: left;
  65. border-radius: 3px;
  66. box-shadow: none; /* @todo Adjust box shadow based on the disable states of paired button. */
  67. margin-top: 0;
  68. }
  69. #customize-save-button-wrapper .save:focus, #publish-settings:focus {
  70. box-shadow: 0 1px 0 #2271b1, 0 0 2px 1px #72aee6; /* This is default box shadow for focus */
  71. }
  72. #customize-save-button-wrapper .save.has-next-sibling {
  73. border-radius: 3px 0 0 3px;
  74. }
  75. #customize-sidebar-outer-content {
  76. position: absolute;
  77. top: 0;
  78. bottom: 0;
  79. left: 0;
  80. visibility: hidden;
  81. overflow-x: hidden;
  82. overflow-y: auto;
  83. width: 100%;
  84. margin: 0;
  85. z-index: -1;
  86. background: #f0f0f1;
  87. transition: left .18s;
  88. border-right: 1px solid #dcdcde;
  89. border-left: 1px solid #dcdcde;
  90. height: 100%;
  91. }
  92. @media (prefers-reduced-motion: reduce) {
  93. #customize-sidebar-outer-content {
  94. transition: none;
  95. }
  96. }
  97. #customize-theme-controls .control-section-outer {
  98. display: none !important;
  99. }
  100. #customize-outer-theme-controls .accordion-section-content {
  101. padding: 12px;
  102. }
  103. #customize-outer-theme-controls .accordion-section-content.open {
  104. display: block;
  105. }
  106. .outer-section-open .wp-full-overlay.expanded #customize-sidebar-outer-content {
  107. visibility: visible;
  108. left: 100%;
  109. transition: left .18s;
  110. }
  111. @media (prefers-reduced-motion: reduce) {
  112. .outer-section-open .wp-full-overlay.expanded #customize-sidebar-outer-content {
  113. transition: none;
  114. }
  115. }
  116. .customize-outer-pane-parent {
  117. margin: 0;
  118. }
  119. .outer-section-open .wp-full-overlay.expanded .wp-full-overlay-main {
  120. left: 300px;
  121. opacity: 0.4;
  122. }
  123. .outer-section-open .wp-full-overlay.expanded.preview-tablet .wp-full-overlay-main,
  124. .outer-section-open .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main,
  125. .adding-menu-items .wp-full-overlay.expanded.preview-tablet .wp-full-overlay-main,
  126. .adding-menu-items .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main,
  127. .adding-widget .wp-full-overlay.expanded.preview-tablet .wp-full-overlay-main,
  128. .adding-widget .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main {
  129. left: 64%;
  130. }
  131. #customize-outer-theme-controls li.notice {
  132. padding-top: 8px;
  133. padding-bottom: 8px;
  134. margin-left: 0;
  135. margin-bottom: 10px;
  136. }
  137. #publish-settings {
  138. text-indent: 0;
  139. border-radius: 0 3px 3px 0;
  140. padding-left: 0;
  141. padding-right: 0;
  142. box-shadow: none; /* @todo Adjust box shadow based on the disable states of paired button. */
  143. font-size: 14px;
  144. width: 30px;
  145. float: left;
  146. transform: none;
  147. margin-top: 0;
  148. line-height: 2;
  149. }
  150. body:not(.ready) #publish-settings,
  151. body.trashing #customize-save-button-wrapper .save,
  152. body.trashing #publish-settings {
  153. display: none;
  154. }
  155. #customize-header-actions .spinner {
  156. margin-top: 13px;
  157. margin-right: 4px;
  158. }
  159. .saving #customize-header-actions .spinner,
  160. .trashing #customize-header-actions .spinner {
  161. visibility: visible;
  162. }
  163. #customize-header-actions {
  164. border-bottom: 1px solid #dcdcde;
  165. }
  166. #customize-controls .wp-full-overlay-sidebar-content {
  167. overflow-y: auto;
  168. overflow-x: hidden;
  169. }
  170. .outer-section-open #customize-controls .wp-full-overlay-sidebar-content {
  171. background: #f0f0f1;
  172. }
  173. #customize-controls .customize-info {
  174. border: none;
  175. border-bottom: 1px solid #dcdcde;
  176. margin-bottom: 15px;
  177. }
  178. #customize-control-changeset_status .customize-inside-control-row,
  179. #customize-control-changeset_preview_link input {
  180. background-color: #fff;
  181. border-bottom: 1px solid #dcdcde;
  182. box-sizing: content-box;
  183. width: 100%;
  184. margin-left: -12px;
  185. padding-left: 12px;
  186. padding-right: 12px;
  187. }
  188. #customize-control-trash_changeset {
  189. margin-top: 20px;
  190. }
  191. #customize-control-trash_changeset .button-link {
  192. position: relative;
  193. padding-left: 24px;
  194. display: inline-block;
  195. }
  196. #customize-control-trash_changeset .button-link:before {
  197. content: "\f182";
  198. font: normal 22px dashicons;
  199. text-decoration: none;
  200. position: absolute;
  201. left: 0;
  202. top: -2px;
  203. }
  204. #customize-controls .date-input:invalid {
  205. border-color: #d63638;
  206. }
  207. #customize-control-changeset_status .customize-inside-control-row {
  208. padding-top: 10px;
  209. padding-bottom: 10px;
  210. font-weight: 500;
  211. }
  212. #customize-control-changeset_status .customize-inside-control-row:first-of-type {
  213. border-top: 1px solid #dcdcde;
  214. }
  215. #customize-control-changeset_status .customize-control-title {
  216. margin-bottom: 6px;
  217. }
  218. #customize-control-changeset_status input {
  219. margin-left: 0;
  220. }
  221. #customize-control-changeset_preview_link {
  222. position: relative;
  223. display: block;
  224. }
  225. .preview-link-wrapper .customize-copy-preview-link.preview-control-element.button {
  226. margin: 0;
  227. position: absolute;
  228. bottom: 9px;
  229. right: 0;
  230. }
  231. .preview-link-wrapper {
  232. position: relative;
  233. }
  234. .customize-copy-preview-link:before,
  235. .customize-copy-preview-link:after {
  236. content: "";
  237. height: 28px;
  238. position: absolute;
  239. background: #fff;
  240. top: -1px;
  241. }
  242. .customize-copy-preview-link:before {
  243. left: -10px;
  244. width: 9px;
  245. opacity: 0.75;
  246. }
  247. .customize-copy-preview-link:after {
  248. left: -5px;
  249. width: 4px;
  250. opacity: 0.8;
  251. }
  252. #customize-control-changeset_preview_link input {
  253. line-height: 2.85714286; /* 40px */
  254. border-top: 1px solid #dcdcde;
  255. border-left: none;
  256. border-right: none;
  257. text-indent: -999px;
  258. color: #fff;
  259. /* Only necessary for IE11 */
  260. min-height: 40px;
  261. }
  262. #customize-control-changeset_preview_link label {
  263. position: relative;
  264. display: block;
  265. }
  266. #customize-control-changeset_preview_link a {
  267. display: inline-block;
  268. position: absolute;
  269. white-space: nowrap;
  270. overflow: hidden;
  271. width: 90%;
  272. bottom: 14px;
  273. font-size: 14px;
  274. text-decoration: none;
  275. }
  276. #customize-control-changeset_preview_link a.disabled,
  277. #customize-control-changeset_preview_link a.disabled:active,
  278. #customize-control-changeset_preview_link a.disabled:focus,
  279. #customize-control-changeset_preview_link a.disabled:visited {
  280. color: #000;
  281. opacity: 0.4;
  282. cursor: default;
  283. outline: none;
  284. box-shadow: none;
  285. }
  286. #sub-accordion-section-publish_settings .customize-section-description-container {
  287. display: none;
  288. }
  289. #customize-controls .customize-info.section-meta {
  290. margin-bottom: 15px;
  291. }
  292. .customize-control-date_time .customize-control-description + .date-time-fields.includes-time {
  293. margin-top: 10px;
  294. }
  295. .customize-control.customize-control-date_time .date-time-fields .date-input.day {
  296. margin-right: 0;
  297. }
  298. .date-time-fields .date-input.month {
  299. width: auto;
  300. margin: 0;
  301. }
  302. .date-time-fields .date-input.day,
  303. .date-time-fields .date-input.hour,
  304. .date-time-fields .date-input.minute {
  305. width: 46px;
  306. }
  307. .date-time-fields .date-input.year {
  308. width: 65px;
  309. }
  310. .date-time-fields .date-input.meridian {
  311. width: auto;
  312. margin: 0;
  313. }
  314. .date-time-fields .time-row {
  315. margin-top: 12px;
  316. }
  317. #customize-control-changeset_preview_link {
  318. margin-top: 6px;
  319. }
  320. #customize-control-changeset_status {
  321. margin-bottom: 0;
  322. padding-bottom: 0;
  323. }
  324. #customize-control-changeset_scheduled_date {
  325. box-sizing: content-box;
  326. width: 100%;
  327. margin-left: -12px;
  328. padding: 12px;
  329. background: #fff;
  330. border-bottom: 1px solid #dcdcde;
  331. margin-bottom: 0;
  332. }
  333. #customize-control-changeset_scheduled_date .customize-control-description {
  334. font-style: normal;
  335. }
  336. #customize-controls .customize-info.is-in-view,
  337. #customize-controls .customize-section-title.is-in-view {
  338. position: absolute;
  339. z-index: 9;
  340. width: 100%;
  341. box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  342. }
  343. #customize-controls .customize-section-title.is-in-view {
  344. margin-top: 0;
  345. }
  346. #customize-controls .customize-info.is-in-view + .accordion-section {
  347. margin-top: 15px;
  348. }
  349. #customize-controls .customize-info.is-sticky,
  350. #customize-controls .customize-section-title.is-sticky {
  351. position: fixed;
  352. top: 46px;
  353. }
  354. #customize-controls .customize-info .accordion-section-title {
  355. background: #fff;
  356. color: #50575e;
  357. border-left: none;
  358. border-right: none;
  359. border-bottom: none;
  360. cursor: default;
  361. }
  362. #customize-controls .customize-info.open .accordion-section-title:after,
  363. #customize-controls .customize-info .accordion-section-title:hover:after,
  364. #customize-controls .customize-info .accordion-section-title:focus:after {
  365. color: #2c3338;
  366. }
  367. #customize-controls .customize-info .accordion-section-title:after {
  368. display: none;
  369. }
  370. #customize-controls .customize-info .preview-notice {
  371. font-size: 13px;
  372. line-height: 1.9;
  373. }
  374. #customize-controls .customize-pane-child .customize-section-title h3,
  375. #customize-controls .customize-pane-child h3.customize-section-title,
  376. #customize-outer-theme-controls .customize-pane-child .customize-section-title h3,
  377. #customize-outer-theme-controls .customize-pane-child h3.customize-section-title,
  378. #customize-controls .customize-info .panel-title {
  379. font-size: 20px;
  380. font-weight: 200;
  381. line-height: 26px;
  382. display: block;
  383. overflow: hidden;
  384. white-space: nowrap;
  385. text-overflow: ellipsis;
  386. }
  387. #customize-controls .customize-section-title span.customize-action {
  388. overflow: hidden;
  389. white-space: nowrap;
  390. text-overflow: ellipsis;
  391. }
  392. #customize-controls .customize-info .customize-help-toggle {
  393. position: absolute;
  394. top: 4px;
  395. right: 1px;
  396. padding: 20px 20px 10px 10px;
  397. width: 20px;
  398. height: 20px;
  399. cursor: pointer;
  400. box-shadow: none;
  401. background: transparent;
  402. color: #50575e;
  403. border: none;
  404. }
  405. #customize-controls .customize-info .customize-help-toggle:before {
  406. position: absolute;
  407. top: 5px;
  408. left: 6px;
  409. }
  410. #customize-controls .customize-info.open .customize-help-toggle,
  411. #customize-controls .customize-info .customize-help-toggle:focus,
  412. #customize-controls .customize-info .customize-help-toggle:hover {
  413. color: #2271b1;
  414. }
  415. #customize-controls .customize-info .customize-panel-description,
  416. #customize-controls .customize-info .customize-section-description,
  417. #customize-outer-theme-controls .customize-info .customize-section-description,
  418. #customize-controls .no-widget-areas-rendered-notice {
  419. color: #50575e;
  420. display: none;
  421. background: #fff;
  422. padding: 12px 15px;
  423. border-top: 1px solid #dcdcde;
  424. }
  425. #customize-controls .customize-info .customize-panel-description.open + .no-widget-areas-rendered-notice {
  426. border-top: none;
  427. }
  428. .no-widget-areas-rendered-notice {
  429. font-style: italic;
  430. }
  431. .no-widget-areas-rendered-notice p:first-child {
  432. margin-top: 0;
  433. }
  434. .no-widget-areas-rendered-notice p:last-child {
  435. margin-bottom: 0;
  436. }
  437. #customize-controls .customize-info .customize-section-description {
  438. margin-bottom: 15px;
  439. }
  440. #customize-controls .customize-info .customize-panel-description p:first-child,
  441. #customize-controls .customize-info .customize-section-description p:first-child {
  442. margin-top: 0;
  443. }
  444. #customize-controls .customize-info .customize-panel-description p:last-child,
  445. #customize-controls .customize-info .customize-section-description p:last-child {
  446. margin-bottom: 0;
  447. }
  448. #customize-controls .current-panel .control-section > h3.accordion-section-title {
  449. padding-right: 30px;
  450. }
  451. #customize-theme-controls .control-section,
  452. #customize-outer-theme-controls .control-section {
  453. border: none;
  454. }
  455. #customize-theme-controls .accordion-section-title,
  456. #customize-outer-theme-controls .accordion-section-title {
  457. color: #50575e;
  458. background-color: #fff;
  459. border-bottom: 1px solid #dcdcde;
  460. border-left: 4px solid #fff;
  461. transition:
  462. .15s color ease-in-out,
  463. .15s background-color ease-in-out,
  464. .15s border-color ease-in-out;
  465. }
  466. @media (prefers-reduced-motion: reduce) {
  467. #customize-theme-controls .accordion-section-title,
  468. #customize-outer-theme-controls .accordion-section-title {
  469. transition: none;
  470. }
  471. }
  472. #customize-controls #customize-theme-controls .customize-themes-panel .accordion-section-title {
  473. color: #50575e;
  474. background-color: #fff;
  475. border-left: 4px solid #fff;
  476. }
  477. #customize-theme-controls .accordion-section-title:after,
  478. #customize-outer-theme-controls .accordion-section-title:after {
  479. content: "\f345";
  480. color: #a7aaad;
  481. }
  482. #customize-theme-controls .accordion-section-content,
  483. #customize-outer-theme-controls .accordion-section-content {
  484. color: #50575e;
  485. background: transparent;
  486. }
  487. #customize-controls .control-section:hover > .accordion-section-title,
  488. #customize-controls .control-section .accordion-section-title:hover,
  489. #customize-controls .control-section.open .accordion-section-title,
  490. #customize-controls .control-section .accordion-section-title:focus {
  491. color: #2271b1;
  492. background: #f6f7f7;
  493. border-left-color: #2271b1;
  494. }
  495. #accordion-section-themes + .control-section {
  496. border-top: 1px solid #dcdcde;
  497. }
  498. .js .control-section:hover .accordion-section-title,
  499. .js .control-section .accordion-section-title:hover,
  500. .js .control-section.open .accordion-section-title,
  501. .js .control-section .accordion-section-title:focus {
  502. background: #f6f7f7;
  503. }
  504. #customize-theme-controls .control-section:hover > .accordion-section-title:after,
  505. #customize-theme-controls .control-section .accordion-section-title:hover:after,
  506. #customize-theme-controls .control-section.open .accordion-section-title:after,
  507. #customize-theme-controls .control-section .accordion-section-title:focus:after,
  508. #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after,
  509. #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,
  510. #customize-outer-theme-controls .control-section.open .accordion-section-title:after,
  511. #customize-outer-theme-controls .control-section .accordion-section-title:focus:after {
  512. color: #2271b1;
  513. }
  514. #customize-theme-controls .control-section.open {
  515. border-bottom: 1px solid #f0f0f1;
  516. }
  517. #customize-theme-controls .control-section.open .accordion-section-title,
  518. #customize-outer-theme-controls .control-section.open .accordion-section-title {
  519. border-bottom-color: #f0f0f1 !important;
  520. }
  521. #customize-theme-controls .control-section:last-of-type.open,
  522. #customize-theme-controls .control-section:last-of-type > .accordion-section-title {
  523. border-bottom-color: #dcdcde;
  524. }
  525. #customize-theme-controls .control-panel-content:not(.control-panel-nav_menus) .control-section:nth-child(2),
  526. #customize-theme-controls .control-panel-nav_menus .control-section-nav_menu,
  527. #customize-theme-controls .control-section-nav_menu_locations .accordion-section-title {
  528. border-top: 1px solid #dcdcde;
  529. }
  530. #customize-theme-controls .control-panel-nav_menus .control-section-nav_menu + .control-section-nav_menu {
  531. border-top: none;
  532. }
  533. #customize-theme-controls > ul {
  534. margin: 0;
  535. }
  536. #customize-theme-controls .accordion-section-content {
  537. position: absolute;
  538. top: 0;
  539. left: 100%;
  540. width: 100%;
  541. margin: 0;
  542. padding: 12px;
  543. box-sizing: border-box;
  544. }
  545. #customize-info,
  546. #customize-theme-controls .customize-pane-parent,
  547. #customize-theme-controls .customize-pane-child {
  548. overflow: visible;
  549. width: 100%;
  550. margin: 0;
  551. padding: 0;
  552. box-sizing: border-box;
  553. transition: 0.18s transform cubic-bezier(0.645, 0.045, 0.355, 1); /* easeInOutCubic */
  554. }
  555. @media (prefers-reduced-motion: reduce) {
  556. #customize-info,
  557. #customize-theme-controls .customize-pane-parent,
  558. #customize-theme-controls .customize-pane-child {
  559. transition: none;
  560. }
  561. }
  562. #customize-theme-controls .customize-pane-child.skip-transition {
  563. transition: none;
  564. }
  565. #customize-info,
  566. #customize-theme-controls .customize-pane-parent {
  567. position: relative;
  568. visibility: visible;
  569. height: auto;
  570. max-height: none;
  571. overflow: auto;
  572. transform: none;
  573. }
  574. #customize-theme-controls .customize-pane-child {
  575. position: absolute;
  576. top: 0;
  577. left: 0;
  578. visibility: hidden;
  579. height: 0;
  580. max-height: none;
  581. overflow: hidden;
  582. transform: translateX(100%);
  583. }
  584. #customize-theme-controls .customize-pane-child.open,
  585. #customize-theme-controls .customize-pane-child.current-panel {
  586. transform: none;
  587. }
  588. .section-open #customize-theme-controls .customize-pane-parent,
  589. .in-sub-panel #customize-theme-controls .customize-pane-parent,
  590. .section-open #customize-info,
  591. .in-sub-panel #customize-info,
  592. .in-sub-panel.section-open #customize-theme-controls .customize-pane-child.current-panel {
  593. visibility: hidden;
  594. height: 0;
  595. overflow: hidden;
  596. transform: translateX(-100%);
  597. }
  598. .section-open #customize-theme-controls .customize-pane-parent.busy,
  599. .in-sub-panel #customize-theme-controls .customize-pane-parent.busy,
  600. .section-open #customize-info.busy,
  601. .in-sub-panel #customize-info.busy,
  602. .busy.section-open.in-sub-panel #customize-theme-controls .customize-pane-child.current-panel,
  603. #customize-theme-controls .customize-pane-child.open,
  604. #customize-theme-controls .customize-pane-child.current-panel,
  605. #customize-theme-controls .customize-pane-child.busy {
  606. visibility: visible;
  607. height: auto;
  608. overflow: auto;
  609. }
  610. #customize-theme-controls .customize-pane-child.accordion-section-content,
  611. #customize-theme-controls .customize-pane-child.accordion-sub-container {
  612. display: block;
  613. overflow-x: hidden;
  614. }
  615. #customize-theme-controls .customize-pane-child.accordion-section-content {
  616. padding: 12px;
  617. }
  618. #customize-theme-controls .customize-pane-child.menu li {
  619. position: static;
  620. }
  621. .customize-section-description-container,
  622. .control-section-nav_menu .customize-section-description-container,
  623. .control-section-new_menu .customize-section-description-container {
  624. margin-bottom: 15px;
  625. }
  626. .control-section-nav_menu .customize-control,
  627. .control-section-new_menu .customize-control {
  628. /* Override default `margin-bottom` for `.customize-control` */
  629. margin-bottom: 0;
  630. }
  631. .customize-section-title {
  632. margin: -12px -12px 0;
  633. border-bottom: 1px solid #dcdcde;
  634. background: #fff;
  635. }
  636. div.customize-section-description {
  637. margin-top: 22px;
  638. }
  639. .customize-info div.customize-section-description {
  640. margin-top: 0;
  641. }
  642. div.customize-section-description p:first-child {
  643. margin-top: 0;
  644. }
  645. div.customize-section-description p:last-child {
  646. margin-bottom: 0;
  647. }
  648. #customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child {
  649. border-bottom: 1px solid #dcdcde;
  650. padding: 12px;
  651. }
  652. .ios #customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child {
  653. padding: 12px 12px 13px;
  654. }
  655. .customize-section-title h3,
  656. h3.customize-section-title {
  657. padding: 10px 10px 12px 14px;
  658. margin: 0;
  659. line-height: 21px;
  660. color: #50575e;
  661. }
  662. .accordion-sub-container.control-panel-content {
  663. display: none;
  664. position: absolute;
  665. top: 0;
  666. width: 100%;
  667. }
  668. .accordion-sub-container.control-panel-content.busy {
  669. display: block;
  670. }
  671. .current-panel .accordion-sub-container.control-panel-content {
  672. width: 100%;
  673. }
  674. .customize-controls-close {
  675. display: block;
  676. position: absolute;
  677. top: 0;
  678. left: 0;
  679. width: 45px;
  680. height: 41px;
  681. padding: 0 2px 0 0;
  682. background: #f0f0f1;
  683. border: none;
  684. border-top: 4px solid #f0f0f1;
  685. border-right: 1px solid #dcdcde;
  686. color: #3c434a;
  687. text-align: left;
  688. cursor: pointer;
  689. transition:
  690. color .15s ease-in-out,
  691. border-color .15s ease-in-out,
  692. background .15s ease-in-out;
  693. box-sizing: content-box;
  694. }
  695. .customize-panel-back,
  696. .customize-section-back {
  697. display: block;
  698. float: left;
  699. width: 48px;
  700. height: 71px;
  701. padding: 0 24px 0 0;
  702. margin: 0;
  703. background: #fff;
  704. border: none;
  705. border-right: 1px solid #dcdcde;
  706. border-left: 4px solid #fff;
  707. box-shadow: none;
  708. cursor: pointer;
  709. transition:
  710. color .15s ease-in-out,
  711. border-color .15s ease-in-out,
  712. background .15s ease-in-out;
  713. }
  714. .customize-section-back {
  715. height: 74px;
  716. }
  717. .ios .customize-panel-back {
  718. display: none;
  719. }
  720. .ios .expanded.in-sub-panel .customize-panel-back {
  721. display: block;
  722. }
  723. #customize-controls .panel-meta.customize-info .accordion-section-title {
  724. margin-left: 48px;
  725. border-left: none;
  726. }
  727. #customize-controls .panel-meta.customize-info .accordion-section-title:hover,
  728. #customize-controls .cannot-expand:hover .accordion-section-title {
  729. background: #fff;
  730. color: #50575e;
  731. border-left-color: #fff;
  732. }
  733. .customize-controls-close:focus,
  734. .customize-controls-close:hover,
  735. .customize-controls-preview-toggle:focus,
  736. .customize-controls-preview-toggle:hover {
  737. background: #fff;
  738. color: #2271b1;
  739. border-top-color: #2271b1;
  740. box-shadow: none;
  741. /* Only visible in Windows High Contrast mode */
  742. outline: 1px solid transparent;
  743. }
  744. #customize-theme-controls .accordion-section-title:focus .customize-action {
  745. /* Only visible in Windows High Contrast mode */
  746. outline: 1px solid transparent;
  747. outline-offset: 1px;
  748. }
  749. .customize-panel-back:hover,
  750. .customize-panel-back:focus,
  751. .customize-section-back:hover,
  752. .customize-section-back:focus {
  753. color: #2271b1;
  754. background: #f6f7f7;
  755. border-left-color: #2271b1;
  756. box-shadow: none;
  757. /* Only visible in Windows High Contrast mode */
  758. outline: 2px solid transparent;
  759. outline-offset: -2px;
  760. }
  761. .customize-controls-close:before {
  762. font: normal 22px/45px dashicons;
  763. content: "\f335";
  764. position: relative;
  765. top: -3px;
  766. left: 13px;
  767. }
  768. .customize-panel-back:before,
  769. .customize-section-back:before {
  770. font: normal 20px/72px dashicons;
  771. content: "\f341";
  772. position: relative;
  773. left: 9px;
  774. }
  775. .wp-full-overlay-sidebar .wp-full-overlay-header {
  776. background-color: #f0f0f1;
  777. transition: padding ease-in-out .18s;
  778. }
  779. .in-sub-panel .wp-full-overlay-sidebar .wp-full-overlay-header {
  780. padding-left: 62px;
  781. }
  782. p.customize-section-description {
  783. font-style: normal;
  784. margin-top: 22px;
  785. margin-bottom: 0;
  786. }
  787. .customize-section-description ul {
  788. margin-left: 1em;
  789. }
  790. .customize-section-description ul > li {
  791. list-style: disc;
  792. }
  793. .section-description-buttons {
  794. text-align: right;
  795. }
  796. .customize-control {
  797. width: 100%;
  798. float: left;
  799. clear: both;
  800. margin-bottom: 12px;
  801. }
  802. .customize-control input[type="text"],
  803. .customize-control input[type="password"],
  804. .customize-control input[type="email"],
  805. .customize-control input[type="number"],
  806. .customize-control input[type="search"],
  807. .customize-control input[type="tel"],
  808. .customize-control input[type="url"],
  809. .customize-control input[type="range"] {
  810. width: 100%;
  811. margin: 0;
  812. }
  813. .customize-control-hidden {
  814. margin: 0;
  815. }
  816. .customize-control-textarea textarea {
  817. width: 100%;
  818. resize: vertical;
  819. }
  820. .customize-control select {
  821. width: 100%;
  822. }
  823. .customize-control select[multiple] {
  824. height: auto;
  825. }
  826. .customize-control-title {
  827. display: block;
  828. font-size: 14px;
  829. line-height: 1.75;
  830. font-weight: 600;
  831. margin-bottom: 4px;
  832. }
  833. .customize-control-description {
  834. display: block;
  835. font-style: italic;
  836. line-height: 1.4;
  837. margin-top: 0;
  838. margin-bottom: 5px;
  839. }
  840. .customize-section-description a.external-link:after {
  841. font: 16px/11px dashicons;
  842. content: "\f504";
  843. top: 3px;
  844. position: relative;
  845. padding-left: 3px;
  846. display: inline-block;
  847. text-decoration: none;
  848. }
  849. .customize-control-color .color-picker,
  850. .customize-control-upload div {
  851. line-height: 28px;
  852. }
  853. .customize-control .customize-inside-control-row {
  854. line-height: 1.6;
  855. display: block;
  856. margin-left: 24px;
  857. padding-top: 6px;
  858. padding-bottom: 6px;
  859. }
  860. .customize-control-radio input,
  861. .customize-control-checkbox input,
  862. .customize-control-nav_menu_auto_add input {
  863. margin-right: 4px;
  864. margin-left: -24px;
  865. }
  866. .customize-control-radio {
  867. padding: 5px 0 10px;
  868. }
  869. .customize-control-radio .customize-control-title {
  870. margin-bottom: 0;
  871. line-height: 1.6;
  872. }
  873. .customize-control-radio .customize-control-title + .customize-control-description {
  874. margin-top: 7px;
  875. }
  876. .customize-control-radio label,
  877. .customize-control-checkbox label {
  878. vertical-align: top;
  879. }
  880. .customize-control .attachment-thumb.type-icon {
  881. float: left;
  882. margin: 10px;
  883. width: auto;
  884. }
  885. .customize-control .attachment-title {
  886. font-weight: 600;
  887. margin: 0;
  888. padding: 5px 10px;
  889. }
  890. .customize-control .attachment-meta {
  891. white-space: nowrap;
  892. overflow: hidden;
  893. text-overflow: ellipsis;
  894. margin: 0;
  895. padding: 0 10px;
  896. }
  897. .customize-control .attachment-meta-title {
  898. padding-top: 7px;
  899. }
  900. /* Remove descender space. */
  901. .customize-control .thumbnail-image,
  902. .customize-control-header .current,
  903. .customize-control .wp-media-wrapper.wp-video {
  904. line-height: 0;
  905. }
  906. /* Remove descender space. */
  907. .customize-control-site_icon .favicon-preview .browser-preview {
  908. vertical-align: top;
  909. }
  910. .customize-control .thumbnail-image img {
  911. cursor: pointer;
  912. }
  913. #customize-controls .thumbnail-audio .thumbnail {
  914. max-width: 64px;
  915. max-height: 64px;
  916. margin: 10px;
  917. float: left;
  918. }
  919. #available-menu-items .accordion-section-content .new-content-item,
  920. .customize-control-dropdown-pages .new-content-item {
  921. width: calc(100% - 30px);
  922. padding: 8px 15px;
  923. position: absolute;
  924. bottom: 0;
  925. z-index: 10;
  926. background: #f0f0f1;
  927. display: flex;
  928. }
  929. .customize-control-dropdown-pages .new-content-item {
  930. width: 100%;
  931. padding: 5px 0 5px 1px;
  932. position: relative;
  933. }
  934. #available-menu-items .new-content-item .create-item-input,
  935. .customize-control-dropdown-pages .new-content-item .create-item-input {
  936. flex-grow: 10;
  937. }
  938. #available-menu-items .new-content-item .add-content,
  939. .customize-control-dropdown-pages .new-content-item .add-content {
  940. margin: 2px 0 2px 6px;
  941. flex-grow: 1;
  942. }
  943. .customize-control-dropdown-pages .new-content-item .create-item-input.invalid {
  944. border: 1px solid #d63638;
  945. }
  946. .customize-control-dropdown-pages .add-new-toggle {
  947. margin-left: 1px;
  948. font-weight: 600;
  949. line-height: 2.2;
  950. }
  951. #customize-preview iframe {
  952. width: 100%;
  953. height: 100%;
  954. position: absolute;
  955. }
  956. #customize-preview iframe + iframe {
  957. visibility: hidden;
  958. }
  959. .wp-full-overlay-sidebar {
  960. background: #f0f0f1;
  961. border-right: 1px solid #dcdcde;
  962. }
  963. /**
  964. * Notifications
  965. */
  966. #customize-controls .customize-control-notifications-container { /* Scoped to #customize-controls for specificity over notification styles in common.css. */
  967. margin: 4px 0 8px;
  968. padding: 0;
  969. cursor: default;
  970. }
  971. #customize-controls .customize-control-widget_form.has-error .widget .widget-top,
  972. .customize-control-nav_menu_item.has-error .menu-item-bar .menu-item-handle {
  973. box-shadow: inset 0 0 0 2px #d63638;
  974. transition: .15s box-shadow linear;
  975. }
  976. #customize-controls .customize-control-notifications-container li.notice {
  977. list-style: none;
  978. margin: 0 0 6px;
  979. padding: 9px 14px;
  980. overflow: hidden;
  981. }
  982. #customize-controls .customize-control-notifications-container .notice.is-dismissible {
  983. padding-right: 38px;
  984. }
  985. .customize-control-notifications-container li.notice:last-child {
  986. margin-bottom: 0;
  987. }
  988. #customize-controls .customize-control-nav_menu_item .customize-control-notifications-container {
  989. margin-top: 0;
  990. }
  991. #customize-controls .customize-control-widget_form .customize-control-notifications-container {
  992. margin-top: 8px;
  993. }
  994. .customize-control-text.has-error input {
  995. outline: 2px solid #d63638;
  996. }
  997. #customize-controls #customize-notifications-area {
  998. position: absolute;
  999. top: 46px;
  1000. width: 100%;
  1001. border-bottom: 1px solid #dcdcde;
  1002. display: block;
  1003. padding: 0;
  1004. margin: 0;
  1005. }
  1006. .wp-full-overlay.collapsed #customize-controls #customize-notifications-area {
  1007. display: none !important;
  1008. }
  1009. #customize-controls #customize-notifications-area:not(.has-overlay-notifications),
  1010. #customize-controls .customize-section-title > .customize-control-notifications-container:not(.has-overlay-notifications),
  1011. #customize-controls .panel-meta > .customize-control-notifications-container:not(.has-overlay-notifications) {
  1012. max-height: 210px;
  1013. overflow-x: hidden;
  1014. overflow-y: auto;
  1015. }
  1016. #customize-controls #customize-notifications-area > ul,
  1017. #customize-controls #customize-notifications-area .notice,
  1018. #customize-controls .panel-meta > .customize-control-notifications-container,
  1019. #customize-controls .panel-meta > .customize-control-notifications-container .notice,
  1020. #customize-controls .customize-section-title > .customize-control-notifications-container,
  1021. #customize-controls .customize-section-title > .customize-control-notifications-container .notice {
  1022. margin: 0;
  1023. }
  1024. #customize-controls .panel-meta > .customize-control-notifications-container,
  1025. #customize-controls .customize-section-title > .customize-control-notifications-container {
  1026. border-top: 1px solid #dcdcde;
  1027. }
  1028. #customize-controls #customize-notifications-area .notice,
  1029. #customize-controls .panel-meta > .customize-control-notifications-container .notice,
  1030. #customize-controls .customize-section-title > .customize-control-notifications-container .notice {
  1031. padding: 9px 14px;
  1032. }
  1033. #customize-controls #customize-notifications-area .notice.is-dismissible,
  1034. #customize-controls .panel-meta > .customize-control-notifications-container .notice.is-dismissible,
  1035. #customize-controls .customize-section-title > .customize-control-notifications-container .notice.is-dismissible {
  1036. padding-right: 38px;
  1037. }
  1038. #customize-controls #customize-notifications-area .notice + .notice,
  1039. #customize-controls .panel-meta > .customize-control-notifications-container .notice + .notice,
  1040. #customize-controls .customize-section-title > .customize-control-notifications-container .notice + .notice {
  1041. margin-top: 1px;
  1042. }
  1043. @keyframes customize-fade-in {
  1044. 0% { opacity: 0; }
  1045. 100% { opacity: 1; }
  1046. }
  1047. #customize-controls .notice.notification-overlay,
  1048. #customize-controls #customize-notifications-area .notice.notification-overlay {
  1049. margin: 0;
  1050. border-left: 0; /* @todo Appropriate styles could be added for notice-error, notice-warning, notice-success, etc */
  1051. }
  1052. #customize-controls .customize-control-notifications-container.has-overlay-notifications {
  1053. animation: customize-fade-in 0.5s;
  1054. z-index: 30;
  1055. }
  1056. /* Note: Styles for this are also defined in themes.css */
  1057. #customize-controls #customize-notifications-area .notice.notification-overlay .notification-message {
  1058. clear: both;
  1059. color: #1d2327;
  1060. font-size: 18px;
  1061. font-style: normal;
  1062. margin: 0;
  1063. padding: 2em 0;
  1064. text-align: center;
  1065. width: 100%;
  1066. display: block;
  1067. top: 50%;
  1068. position: relative;
  1069. }
  1070. /* Style for custom settings */
  1071. /**
  1072. * Static front page
  1073. */
  1074. #customize-control-show_on_front.has-error {
  1075. margin-bottom: 0;
  1076. }
  1077. #customize-control-show_on_front.has-error .customize-control-notifications-container {
  1078. margin-top: 12px;
  1079. }
  1080. /**
  1081. * Dropdowns
  1082. */
  1083. .accordion-section .dropdown {
  1084. float: left;
  1085. display: block;
  1086. position: relative;
  1087. cursor: pointer;
  1088. }
  1089. .accordion-section .dropdown-content {
  1090. overflow: hidden;
  1091. float: left;
  1092. min-width: 30px;
  1093. height: 16px;
  1094. line-height: 16px;
  1095. margin-right: 16px;
  1096. padding: 4px 5px;
  1097. border: 2px solid #f0f0f1;
  1098. -webkit-user-select: none;
  1099. user-select: none;
  1100. }
  1101. /* @todo maybe no more used? */
  1102. .customize-control .dropdown-arrow {
  1103. position: absolute;
  1104. top: 0;
  1105. bottom: 0;
  1106. right: 0;
  1107. width: 20px;
  1108. background: #f0f0f1;
  1109. }
  1110. .customize-control .dropdown-arrow:after {
  1111. content: "\f140";
  1112. font: normal 20px/1 dashicons;
  1113. speak: never;
  1114. display: block;
  1115. padding: 0;
  1116. text-indent: 0;
  1117. text-align: center;
  1118. position: relative;
  1119. -webkit-font-smoothing: antialiased;
  1120. -moz-osx-font-smoothing: grayscale;
  1121. text-decoration: none !important;
  1122. color: #2c3338;
  1123. }
  1124. .customize-control .dropdown-status {
  1125. color: #2c3338;
  1126. background: #f0f0f1;
  1127. display: none;
  1128. max-width: 112px;
  1129. }
  1130. .customize-control-color .dropdown {
  1131. margin-right: 5px;
  1132. margin-bottom: 5px;
  1133. }
  1134. .customize-control-color .dropdown .dropdown-content {
  1135. background-color: #50575e;
  1136. border: 1px solid rgba(0, 0, 0, 0.15);
  1137. }
  1138. .customize-control-color .dropdown:hover .dropdown-content {
  1139. border-color: rgba(0, 0, 0, 0.25);
  1140. }
  1141. /**
  1142. * iOS can't scroll iframes,
  1143. * instead it expands the iframe size to match the size of the content
  1144. */
  1145. .ios .wp-full-overlay {
  1146. position: relative;
  1147. }
  1148. .ios #customize-controls .wp-full-overlay-sidebar-content {
  1149. -webkit-overflow-scrolling: touch;
  1150. }
  1151. /* Media controls */
  1152. .customize-control .actions .button {
  1153. margin-top: 12px;
  1154. }
  1155. .customize-control-header .actions,
  1156. .customize-control-header .uploaded {
  1157. margin-bottom: 18px;
  1158. }
  1159. .customize-control-header .uploaded button:not(.random),
  1160. .customize-control-header .default button:not(.random) {
  1161. width: 100%;
  1162. padding: 0;
  1163. margin: 0;
  1164. background: none;
  1165. border: none;
  1166. color: inherit;
  1167. cursor: pointer;
  1168. }
  1169. .customize-control-header button img {
  1170. display: block;
  1171. }
  1172. .customize-control .attachment-media-view .remove-button,
  1173. .customize-control .attachment-media-view .default-button,
  1174. .customize-control .attachment-media-view .upload-button,
  1175. .customize-control-header button.new,
  1176. .customize-control-header button.remove {
  1177. width: auto;
  1178. height: auto;
  1179. white-space: normal;
  1180. }
  1181. .customize-control .attachment-media-view .thumbnail,
  1182. .customize-control-header .current .container {
  1183. overflow: hidden;
  1184. }
  1185. .customize-control .attachment-media-view .placeholder,
  1186. .customize-control .attachment-media-view .button-add-media,
  1187. .customize-control-header .placeholder {
  1188. width: 100%;
  1189. position: relative;
  1190. text-align: center;
  1191. cursor: default;
  1192. border: 1px dashed #c3c4c7;
  1193. box-sizing: border-box;
  1194. padding: 9px 0;
  1195. line-height: 1.6;
  1196. }
  1197. .customize-control .attachment-media-view .button-add-media {
  1198. cursor: pointer;
  1199. background-color: #f0f0f1;
  1200. color: #2c3338;
  1201. }
  1202. .customize-control .attachment-media-view .button-add-media:hover {
  1203. background-color: #fff;
  1204. }
  1205. .customize-control .attachment-media-view .button-add-media:focus {
  1206. background-color: #fff;
  1207. border-color: #3582c4;
  1208. border-style: solid;
  1209. box-shadow: 0 0 0 1px #3582c4;
  1210. /* Only visible in Windows High Contrast mode */
  1211. outline: 2px solid transparent;
  1212. }
  1213. .customize-control-header .inner {
  1214. display: none;
  1215. position: absolute;
  1216. width: 100%;
  1217. color: #50575e;
  1218. white-space: nowrap;
  1219. text-overflow: ellipsis;
  1220. overflow: hidden;
  1221. }
  1222. .customize-control-header .inner,
  1223. .customize-control-header .inner .dashicons {
  1224. line-height: 20px;
  1225. top: 8px;
  1226. }
  1227. .customize-control-header .list .inner,
  1228. .customize-control-header .list .inner .dashicons {
  1229. top: 9px;
  1230. }
  1231. .customize-control-header .header-view {
  1232. position: relative;
  1233. width: 100%;
  1234. margin-bottom: 12px;
  1235. }
  1236. .customize-control-header .header-view:last-child {
  1237. margin-bottom: 0;
  1238. }
  1239. /* Convoluted, but 'outline' support isn't good enough yet */
  1240. .customize-control-header .header-view:after {
  1241. border: 0;
  1242. }
  1243. .customize-control-header .header-view.selected .choice:focus {
  1244. outline: none;
  1245. }
  1246. .customize-control-header .header-view.selected:after {
  1247. content: "";
  1248. position: absolute;
  1249. height: auto;
  1250. top: 0;
  1251. left: 0;
  1252. bottom: 0;
  1253. right: 0;
  1254. border: 4px solid #72aee6;
  1255. border-radius: 2px;
  1256. }
  1257. .customize-control-header .header-view.button.selected {
  1258. border: 0;
  1259. }
  1260. /* Header control: overlay "close" button */
  1261. .customize-control-header .uploaded .header-view .close {
  1262. font-size: 20px;
  1263. color: #fff;
  1264. background: #50575e;
  1265. background: rgba(0, 0, 0, 0.5);
  1266. position: absolute;
  1267. top: 10px;
  1268. left: -999px;
  1269. z-index: 1;
  1270. width: 26px;
  1271. height: 26px;
  1272. cursor: pointer;
  1273. }
  1274. .customize-control-header .header-view:hover .close,
  1275. .customize-control-header .header-view .close:focus {
  1276. left: auto;
  1277. right: 10px;
  1278. }
  1279. .customize-control-header .header-view .close:focus {
  1280. outline: 1px solid #4f94d4;
  1281. }
  1282. /* Header control: randomiz(s)er */
  1283. .customize-control-header .random.placeholder {
  1284. cursor: pointer;
  1285. border-radius: 2px;
  1286. height: 40px;
  1287. }
  1288. .customize-control-header button.random {
  1289. width: 100%;
  1290. height: auto;
  1291. min-height: 40px;
  1292. white-space: normal;
  1293. }
  1294. .customize-control-header button.random .dice {
  1295. margin-top: 4px;
  1296. }
  1297. .customize-control-header .placeholder:hover .dice,
  1298. .customize-control-header .header-view:hover > button.random .dice {
  1299. animation: dice-color-change 3s infinite;
  1300. }
  1301. .button-see-me {
  1302. animation: bounce .7s 1;
  1303. transform-origin: center bottom;
  1304. }
  1305. @keyframes bounce {
  1306. from, 20%, 53%, 80%, to {
  1307. animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  1308. transform: translate3d(0,0,0);
  1309. }
  1310. 40%, 43% {
  1311. animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
  1312. transform: translate3d(0, -12px, 0);
  1313. }
  1314. 70% {
  1315. animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
  1316. transform: translate3d(0, -6px, 0);
  1317. }
  1318. 90% {
  1319. transform: translate3d(0,-1px,0);
  1320. }
  1321. }
  1322. .customize-control-header .choice {
  1323. position: relative;
  1324. display: block;
  1325. margin-bottom: 9px;
  1326. }
  1327. .customize-control-header .choice:focus {
  1328. outline: none;
  1329. box-shadow:
  1330. 0 0 0 1px #4f94d4,
  1331. 0 0 3px 1px rgba(79, 148, 212, 0.8);
  1332. }
  1333. .customize-control-header .uploaded div:last-child > .choice {
  1334. margin-bottom: 0;
  1335. }
  1336. .customize-control .attachment-media-view .thumbnail-image img,
  1337. .customize-control-header img {
  1338. max-width: 100%;
  1339. }
  1340. .customize-control .attachment-media-view .remove-button,
  1341. .customize-control .attachment-media-view .default-button,
  1342. .customize-control-header .remove {
  1343. margin-right: 8px;
  1344. }
  1345. /* Background position control */
  1346. .customize-control-background_position .background-position-control .button-group {
  1347. display: block;
  1348. }
  1349. /**
  1350. * Code Editor Control and Custom CSS Section
  1351. *
  1352. * Modifications to the Section Container to make the textarea full-width and
  1353. * full-height, if the control is the only control in the section.
  1354. */
  1355. .customize-control-code_editor textarea {
  1356. width: 100%;
  1357. font-family: Consolas, Monaco, monospace;
  1358. font-size: 12px;
  1359. padding: 6px 8px;
  1360. -o-tab-size: 2;
  1361. tab-size: 2;
  1362. }
  1363. .customize-control-code_editor textarea,
  1364. .customize-control-code_editor .CodeMirror {
  1365. height: 14em;
  1366. }
  1367. #customize-controls .customize-section-description-container.section-meta.customize-info {
  1368. border-bottom: none;
  1369. }
  1370. #sub-accordion-section-custom_css .customize-control-notifications-container {
  1371. margin-bottom: 15px;
  1372. }
  1373. #customize-control-custom_css textarea {
  1374. display: block;
  1375. height: 500px;
  1376. }
  1377. .customize-section-description-container + #customize-control-custom_css .customize-control-title {
  1378. margin-left: 12px;
  1379. }
  1380. .customize-section-description-container + #customize-control-custom_css:last-child textarea {
  1381. border-right: 0;
  1382. border-left: 0;
  1383. height: calc( 100vh - 185px );
  1384. resize: none;
  1385. }
  1386. .customize-section-description-container + #customize-control-custom_css:last-child {
  1387. margin-left: -12px;
  1388. width: 299px;
  1389. width: calc( 100% + 24px );
  1390. margin-bottom: -12px;
  1391. }
  1392. .customize-section-description-container + #customize-control-custom_css:last-child .CodeMirror {
  1393. height: calc( 100vh - 185px );
  1394. }
  1395. .CodeMirror-lint-tooltip,
  1396. .CodeMirror-hints {
  1397. z-index: 500000 !important;
  1398. }
  1399. .customize-section-description-container + #customize-control-custom_css:last-child .customize-control-notifications-container {
  1400. margin-left: 12px;
  1401. margin-right: 12px;
  1402. }
  1403. .theme-browser .theme.active .theme-actions,
  1404. .wp-customizer .theme-browser .theme .theme-actions {
  1405. padding: 9px 15px;
  1406. box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1);
  1407. }
  1408. @media screen and (max-width: 640px) {
  1409. .customize-section-description-container + #customize-control-custom_css:last-child {
  1410. margin-right: 0;
  1411. }
  1412. .customize-section-description-container + #customize-control-custom_css:last-child textarea {
  1413. height: calc( 100vh - 140px );
  1414. }
  1415. }
  1416. /**
  1417. * Themes
  1418. */
  1419. #customize-theme-controls .control-panel-themes {
  1420. border-bottom: none;
  1421. }
  1422. #customize-theme-controls .control-panel-themes > .accordion-section-title:hover, /* Not a focusable element. */
  1423. #customize-theme-controls .control-panel-themes > .accordion-section-title {
  1424. cursor: default;
  1425. background: #fff;
  1426. color: #50575e;
  1427. border-top: 1px solid #dcdcde;
  1428. border-bottom: 1px solid #dcdcde;
  1429. border-left: none;
  1430. border-right: none;
  1431. margin: 0 0 15px;
  1432. padding-right: 100px; /* Space for the button */
  1433. }
  1434. #customize-theme-controls .control-section-themes .customize-themes-panel .accordion-section-title:first-child:hover, /* Not a focusable element. */
  1435. #customize-theme-controls .control-section-themes .customize-themes-panel .accordion-section-title:first-child {
  1436. border-top: 0;
  1437. }
  1438. #customize-theme-controls .control-section-themes > .accordion-section-title:hover, /* Not a focusable element. */
  1439. #customize-theme-controls .control-section-themes > .accordion-section-title {
  1440. margin: 0 0 15px;
  1441. }
  1442. #customize-controls .customize-themes-panel .accordion-section-title:hover,
  1443. #customize-controls .customize-themes-panel .accordion-section-title {
  1444. margin: 15px -8px;
  1445. }
  1446. #customize-controls .control-section-themes .accordion-section-title,
  1447. #customize-controls .customize-themes-panel .accordion-section-title {
  1448. padding-right: 100px; /* Space for the button */
  1449. }
  1450. .control-panel-themes .accordion-section-title span.customize-action,
  1451. #customize-controls .customize-section-title span.customize-action,
  1452. #customize-controls .control-section-themes .accordion-section-title span.customize-action,
  1453. #customize-controls .customize-section-title span.customize-action {
  1454. font-size: 13px;
  1455. display: block;
  1456. font-weight: 400;
  1457. }
  1458. #customize-theme-controls .control-panel-themes .accordion-section-title .change-theme {
  1459. position: absolute;
  1460. right: 10px;
  1461. top: 50%;
  1462. margin-top: -14px;
  1463. font-weight: 400;
  1464. }
  1465. #customize-notifications-area .notification-message button.switch-to-editor {
  1466. display: block;
  1467. margin-top: 6px;
  1468. font-weight: 400;
  1469. }
  1470. #customize-theme-controls .control-panel-themes > .accordion-section-title:after {
  1471. display: none;
  1472. }
  1473. .control-panel-themes .customize-themes-full-container {
  1474. position: fixed;
  1475. top: 0;
  1476. left: 0;
  1477. transition: .18s left ease-in-out;
  1478. margin: 0 0 0 300px;
  1479. padding: 71px 0 25px;
  1480. overflow-y: scroll;
  1481. width: calc(100% - 300px);
  1482. height: calc(100% - 96px);
  1483. background: #f0f0f1;
  1484. z-index: 20;
  1485. }
  1486. @media (prefers-reduced-motion: reduce) {
  1487. .control-panel-themes .customize-themes-full-container {
  1488. transition: none;
  1489. }
  1490. }
  1491. @media screen and (min-width: 1670px) {
  1492. .control-panel-themes .customize-themes-full-container {
  1493. width: 82%;
  1494. right: 0;
  1495. left: initial;
  1496. }
  1497. }
  1498. .modal-open .control-panel-themes .customize-themes-full-container {
  1499. overflow-y: visible;
  1500. }
  1501. /* Animations for opening the themes panel */
  1502. #customize-save-button-wrapper,
  1503. #customize-header-actions .spinner,
  1504. #customize-header-actions .customize-controls-preview-toggle {
  1505. transition: .18s margin ease-in-out;
  1506. }
  1507. #customize-footer-actions,
  1508. #customize-footer-actions .collapse-sidebar {
  1509. bottom: 0;
  1510. transition: .18s bottom ease-in-out;
  1511. }
  1512. .in-themes-panel:not(.animating) #customize-header-actions .spinner,
  1513. .in-themes-panel:not(.animating) #customize-header-actions .customize-controls-preview-toggle,
  1514. .in-themes-panel:not(.animating) #customize-preview,
  1515. .in-themes-panel:not(.animating) #customize-footer-actions {
  1516. visibility: hidden;
  1517. }
  1518. .wp-full-overlay.in-themes-panel {
  1519. background: #f0f0f1; /* Prevents a black flash when fading in the panel */
  1520. }
  1521. .in-themes-panel #customize-save-button-wrapper,
  1522. .in-themes-panel #customize-header-actions .spinner,
  1523. .in-themes-panel #customize-header-actions .customize-controls-preview-toggle {
  1524. margin-top: -46px; /* Height of header actions bar */
  1525. }
  1526. .in-themes-panel #customize-footer-actions,
  1527. .in-themes-panel #customize-footer-actions .collapse-sidebar {
  1528. bottom: -45px;
  1529. }
  1530. /* Don't show the theme count while the panel opens, as it's in the wrong place during the animation */
  1531. .in-themes-panel.animating .control-panel-themes .filter-themes-count {
  1532. display: none;
  1533. }
  1534. .in-themes-panel.wp-full-overlay .wp-full-overlay-sidebar-content {
  1535. bottom: 0;
  1536. }
  1537. .themes-filter-bar .feature-filter-toggle {
  1538. float: right;
  1539. margin: 3px 0 3px 25px;
  1540. }
  1541. .themes-filter-bar .feature-filter-toggle:before {
  1542. content: "\f111";
  1543. margin: 0 5px 0 0;
  1544. font: normal 16px/1 dashicons;
  1545. vertical-align: text-bottom;
  1546. -webkit-font-smoothing: antialiased;
  1547. -moz-osx-font-smoothing: grayscale;
  1548. }
  1549. .themes-filter-bar .feature-filter-toggle.open {
  1550. background: #f0f0f1;
  1551. border-color: #8c8f94;
  1552. box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
  1553. }
  1554. .themes-filter-bar .feature-filter-toggle .filter-count-filters {
  1555. display: none;
  1556. }
  1557. .filter-drawer {
  1558. box-sizing: border-box;
  1559. width: 100%;
  1560. position: absolute;
  1561. top: 46px;
  1562. left: 0;
  1563. padding: 25px 0 25px 25px;
  1564. border-top: 0;
  1565. margin: 0;
  1566. background: #f0f0f1;
  1567. border-bottom: 1px solid #dcdcde;
  1568. }
  1569. .filter-drawer .filter-group {
  1570. margin: 0 25px 0 0;
  1571. width: calc( (100% - 75px) / 3);
  1572. min-width: 200px;
  1573. max-width: 320px;
  1574. }
  1575. /* Adds a delay before fading in to avoid it "jumping" */
  1576. @keyframes themes-fade-in {
  1577. 0% {
  1578. opacity: 0;
  1579. }
  1580. 50% {
  1581. opacity: 0;
  1582. }
  1583. 100% {
  1584. opacity: 1;
  1585. }
  1586. }
  1587. .control-panel-themes .customize-themes-full-container.animate {
  1588. animation: .6s themes-fade-in 1;
  1589. }
  1590. .in-themes-panel:not(.animating) .control-panel-themes .filter-themes-count {
  1591. animation: .6s themes-fade-in 1;
  1592. }
  1593. .control-panel-themes .filter-themes-count {
  1594. position: relative;
  1595. float: right;
  1596. line-height: 2.6;
  1597. }
  1598. .control-panel-themes .filter-themes-count .themes-displayed {
  1599. font-weight: 600;
  1600. color: #50575e;
  1601. }
  1602. .customize-themes-notifications {
  1603. margin: 0;
  1604. }
  1605. .control-panel-themes .customize-themes-notifications .notice {
  1606. margin: 0 0 25px;
  1607. }
  1608. .customize-themes-full-container .customize-themes-section {
  1609. display: none !important; /* There is unknown JS that perpetually tries to show all theme sections when more items are added. */
  1610. overflow: hidden;
  1611. }
  1612. .customize-themes-full-container .customize-themes-section.current-section {
  1613. display: list-item !important; /* There is unknown JS that perpetually tries to show all theme sections when more items are added. */
  1614. }
  1615. .control-section .customize-section-text-before {
  1616. padding: 0 0 8px 15px;
  1617. margin: 15px 0 0;
  1618. line-height: 16px;
  1619. border-bottom: 1px solid #dcdcde;
  1620. color: #50575e;
  1621. }
  1622. .control-panel-themes .customize-themes-section-title {
  1623. width: 100%;
  1624. background: #fff;
  1625. box-shadow: none;
  1626. outline: none;
  1627. border-top: none;
  1628. border-bottom: 1px solid #dcdcde;
  1629. border-left: 4px solid #fff;
  1630. border-right: none;
  1631. cursor: pointer;
  1632. padding: 10px 15px;
  1633. position: relative;
  1634. text-align: left;
  1635. font-size: 14px;
  1636. font-weight: 600;
  1637. color: #50575e;
  1638. text-shadow: none;
  1639. }
  1640. .control-panel-themes #accordion-section-installed_themes {
  1641. border-top: 1px solid #dcdcde;
  1642. }
  1643. .control-panel-themes .theme-section {
  1644. margin: 0;
  1645. position: relative;
  1646. }
  1647. .control-panel-themes .customize-themes-section-title:focus,
  1648. .control-panel-themes .customize-themes-section-title:hover {
  1649. border-left-color: #2271b1;
  1650. color: #2271b1;
  1651. background: #f6f7f7;
  1652. }
  1653. .customize-themes-section-title:not(.selected):after {
  1654. content: "";
  1655. display: block;
  1656. position: absolute;
  1657. top: 9px;
  1658. right: 15px;
  1659. width: 18px;
  1660. height: 18px;
  1661. border-radius: 100%;
  1662. border: 1px solid #c3c4c7;
  1663. background: #fff;
  1664. }
  1665. .control-panel-themes .theme-section .customize-themes-section-title.selected:after {
  1666. content: "\f147";
  1667. font: 16px/1 dashicons;
  1668. box-sizing: border-box;
  1669. width: 20px;
  1670. height: 20px;
  1671. padding: 3px 3px 1px 1px; /* Re-align the icon to the smaller grid */
  1672. border-radius: 100%;
  1673. position: absolute;
  1674. top: 9px;
  1675. right: 15px;
  1676. background: #2271b1;
  1677. color: #fff;
  1678. }
  1679. .control-panel-themes .customize-themes-section-title.selected {
  1680. color: #2271b1;
  1681. }
  1682. #customize-theme-controls .themes.accordion-section-content {
  1683. position: relative;
  1684. left: 0;
  1685. padding: 0;
  1686. width: 100%;
  1687. }
  1688. .loading .customize-themes-section .spinner {
  1689. display: block;
  1690. visibility: visible;
  1691. position: relative;
  1692. clear: both;
  1693. width: 20px;
  1694. height: 20px;
  1695. left: calc(50% - 10px);
  1696. float: none;
  1697. margin-top: 50px;
  1698. }
  1699. .customize-themes-section .no-themes,
  1700. .customize-themes-section .no-themes-local {
  1701. display: none;
  1702. }
  1703. .themes-section-installed_themes .theme .notice-success:not(.updated-message) {
  1704. display: none; /* Hide "installed" notice on installed themes tab. */
  1705. }
  1706. .customize-control-theme .theme {
  1707. width: 100%;
  1708. margin: 0;
  1709. border: 1px solid #dcdcde;
  1710. background: #fff;
  1711. }
  1712. .customize-control-theme .theme .theme-name, .customize-control-theme .theme .theme-actions {
  1713. background: #fff;
  1714. border: none;
  1715. }
  1716. .customize-control.customize-control-theme { /* override most properties on .customize-control */
  1717. box-sizing: border-box;
  1718. width: 25%;
  1719. max-width: 600px; /* Max. screenshot size / 2 */
  1720. margin: 0 25px 25px 0;
  1721. padding: 0;
  1722. clear: none;
  1723. }
  1724. /* 5 columns above 2100px */
  1725. @media screen and (min-width: 2101px) {
  1726. .customize-control.customize-control-theme {
  1727. width: calc( ( 100% - 125px ) / 5 - 1px ); /* 1px offset accounts for browser rounding, typical all grids */
  1728. }
  1729. }
  1730. /* 4 columns up to 2100px */
  1731. @media screen and (min-width: 1601px) and (max-width: 2100px) {
  1732. .customize-control.customize-control-theme {
  1733. width: calc( ( 100% - 100px ) / 4 - 1px );
  1734. }
  1735. }
  1736. /* 3 columns up to 1600px */
  1737. @media screen and (min-width: 1201px) and (max-width: 1600px) {
  1738. .customize-control.customize-control-theme {
  1739. width: calc( ( 100% - 75px ) / 3 - 1px );
  1740. }
  1741. }
  1742. /* 2 columns up to 1200px */
  1743. @media screen and (min-width: 851px) and (max-width: 1200px) {
  1744. .customize-control.customize-control-theme {
  1745. width: calc( ( 100% - 50px ) / 2 - 1px );
  1746. }
  1747. }
  1748. /* 1 column up to 850 px */
  1749. @media screen and (max-width: 850px) {
  1750. .customize-control.customize-control-theme {
  1751. width: 100%;
  1752. }
  1753. }
  1754. .wp-customizer .theme-browser .themes {
  1755. padding: 0 0 25px 25px;
  1756. transition: .18s margin-top linear;
  1757. }
  1758. .wp-customizer .theme-browser .theme .theme-actions {
  1759. opacity: 1;
  1760. }
  1761. #customize-controls h3.theme-name {
  1762. font-size: 15px;
  1763. }
  1764. #customize-controls .theme-overlay .theme-name {
  1765. font-size: 32px;
  1766. }
  1767. .customize-preview-header.themes-filter-bar {
  1768. position: fixed;
  1769. top: 0;
  1770. left: 300px;
  1771. width: calc(100% - 300px);
  1772. height: 46px;
  1773. background: #f0f0f1;
  1774. z-index: 10;
  1775. padding: 6px 25px;
  1776. box-sizing: border-box;
  1777. border-bottom: 1px solid #dcdcde;
  1778. }
  1779. @media screen and (min-width: 1670px) {
  1780. .customize-preview-header.themes-filter-bar {
  1781. width: 82%;
  1782. right: 0;
  1783. left: initial;
  1784. }
  1785. }
  1786. .themes-filter-bar .themes-filter-container {
  1787. margin: 0;
  1788. padding: 0;
  1789. }
  1790. .themes-filter-bar .wp-filter-search {
  1791. line-height: 1.8;
  1792. padding: 6px 10px 6px 30px;
  1793. max-width: 100%;
  1794. width: 40%;
  1795. min-width: 300px;
  1796. position: absolute;
  1797. top: 6px;
  1798. left: 25px;
  1799. height: 32px;
  1800. margin: 1px 0;
  1801. }
  1802. /* Unstick the filter bar on short windows/screens. This breakpoint is based on the
  1803. current length of .org feature filters assuming translations do not wrap lines. */
  1804. @media screen and (max-height: 540px), screen and (max-width: 1018px) {
  1805. .customize-preview-header.themes-filter-bar {
  1806. position: relative;
  1807. left: 0;
  1808. width: 100%;
  1809. margin: 0 0 25px;
  1810. }
  1811. .filter-drawer {
  1812. top: 46px;
  1813. }
  1814. .wp-customizer .theme-browser .themes {
  1815. padding: 0 0 25px 25px;
  1816. overflow: hidden;
  1817. }
  1818. .control-panel-themes .customize-themes-full-container {
  1819. margin-top: 0;
  1820. padding: 0;
  1821. height: 100%;
  1822. width: calc(100% - 300px);
  1823. }
  1824. }
  1825. @media screen and (max-width: 1018px) {
  1826. .filter-drawer .filter-group {
  1827. width: calc( (100% - 50px) / 2);
  1828. }
  1829. }
  1830. @media screen and (max-width: 900px) {
  1831. .customize-preview-header.themes-filter-bar {
  1832. height: 86px;
  1833. padding-top: 46px;
  1834. }
  1835. .themes-filter-bar .wp-filter-search {
  1836. width: calc(100% - 50px);
  1837. margin: 0;
  1838. min-width: 200px;
  1839. }
  1840. .filter-drawer {
  1841. top: 86px;
  1842. }
  1843. .control-panel-themes .filter-themes-count {
  1844. float: left;
  1845. }
  1846. }
  1847. @media screen and (max-width: 792px) {
  1848. .filter-drawer .filter-group {
  1849. width: calc( 100% - 25px);
  1850. }
  1851. }
  1852. .control-panel-themes .customize-themes-mobile-back {
  1853. display: none;
  1854. }
  1855. /* Mobile - toggle between themes and filters */
  1856. @media screen and (max-width: 600px) {
  1857. .filter-drawer {
  1858. top: 132px;
  1859. }
  1860. .wp-full-overlay.showing-themes .control-panel-themes .filter-themes-count .filter-themes {
  1861. display: block;
  1862. float: right;
  1863. }
  1864. .control-panel-themes .customize-themes-full-container {
  1865. width: 100%;
  1866. margin: 0;
  1867. padding-top: 46px;
  1868. height: calc(100% - 46px);
  1869. z-index: 1;
  1870. display: none;
  1871. }
  1872. .showing-themes .control-panel-themes .customize-themes-full-container {
  1873. display: block;
  1874. }
  1875. .wp-customizer .showing-themes .control-panel-themes .customize-themes-mobile-back {
  1876. display: block;
  1877. position: fixed;
  1878. top: 0;
  1879. left: 0;
  1880. background: #f0f0f1;
  1881. color: #3c434a;
  1882. border-radius: 0;
  1883. box-shadow: none;
  1884. border: none;
  1885. height: 46px;
  1886. width: 100%;
  1887. z-index: 10;
  1888. text-align: left;
  1889. text-shadow: none;
  1890. border-bottom: 1px solid #dcdcde;
  1891. border-left: 4px solid transparent;
  1892. margin: 0;
  1893. padding: 0;
  1894. font-size: 0;
  1895. overflow: hidden;
  1896. }
  1897. .wp-customizer .showing-themes .control-panel-themes .customize-themes-mobile-back:before {
  1898. left: 0;
  1899. top: 0;
  1900. height: 46px;
  1901. width: 26px;
  1902. display: block;
  1903. line-height: 2.3;
  1904. padding: 0 8px;
  1905. border-right: 1px solid #dcdcde;
  1906. }
  1907. .wp-customizer .showing-themes .control-panel-themes .customize-themes-mobile-back:hover,
  1908. .wp-customizer .showing-themes .control-panel-themes .customize-themes-mobile-back:focus {
  1909. color: #2271b1;
  1910. background: #f6f7f7;
  1911. border-left-color: #2271b1;
  1912. box-shadow: none;
  1913. /* Only visible in Windows High Contrast mode */
  1914. outline: 2px solid transparent;
  1915. outline-offset: -2px;
  1916. }
  1917. .showing-themes #customize-header-actions {
  1918. display: none;
  1919. }
  1920. #customize-controls {
  1921. width: 100%;
  1922. }
  1923. }
  1924. /* Details View */
  1925. .wp-customizer .theme-overlay {
  1926. display: none;
  1927. }
  1928. .wp-customizer.modal-open .theme-overlay {
  1929. position: fixed;
  1930. left: 0;
  1931. top: 0;
  1932. right: 0;
  1933. bottom: 0;
  1934. z-index: 109;
  1935. }
  1936. /* Avoid a z-index war by resetting elements that should be under the overlay.
  1937. This is likely required because of the way that sections and panels are positioned. */
  1938. .wp-customizer.modal-open #customize-header-actions,
  1939. .wp-customizer.modal-open .control-panel-themes .filter-themes-count,
  1940. .wp-customizer.modal-open .control-panel-themes .customize-themes-section-title.selected:after {
  1941. z-index: -1;
  1942. }
  1943. .wp-full-overlay.in-themes-panel.themes-panel-expanded #customize-controls .wp-full-overlay-sidebar-content {
  1944. overflow: visible;
  1945. }
  1946. .wp-customizer .theme-overlay .theme-backdrop {
  1947. background: rgba(240, 240, 241, 0.75);
  1948. position: fixed;
  1949. z-index: 110;
  1950. }
  1951. .wp-customizer .theme-overlay .star-rating {
  1952. float: left;
  1953. margin-right: 8px;
  1954. }
  1955. .wp-customizer .theme-rating .num-ratings {
  1956. line-height: 20px;
  1957. }
  1958. .wp-customizer .theme-overlay .theme-wrap {
  1959. left: 90px;
  1960. right: 90px;
  1961. top: 45px;
  1962. bottom: 45px;
  1963. z-index: 120;
  1964. }
  1965. .wp-customizer .theme-overlay .theme-actions {
  1966. text-align: right; /* Because there're only one or two actions, match the UI pattern of media modals and right-align the action. */
  1967. padding: 10px 25px 5px;
  1968. background: #f0f0f1;
  1969. border-top: 1px solid #dcdcde;
  1970. }
  1971. .wp-customizer .theme-overlay .theme-actions .theme-install.preview {
  1972. margin-left: 8px;
  1973. }
  1974. .modal-open .in-themes-panel #customize-controls .wp-full-overlay-sidebar-content {
  1975. overflow: visible; /* Prevent the top-level Customizer controls from becoming visible when elements on the right of the details modal are focused. */
  1976. }
  1977. .wp-customizer .theme-header {
  1978. background: #f0f0f1;
  1979. }
  1980. .wp-customizer .theme-overlay .theme-header button,
  1981. .wp-customizer .theme-overlay .theme-header .close:before {
  1982. color: #3c434a;
  1983. }
  1984. .wp-customizer .theme-overlay .theme-header .close:focus,
  1985. .wp-customizer .theme-overlay .theme-header .close:hover,
  1986. .wp-customizer .theme-overlay .theme-header .right:focus,
  1987. .wp-customizer .theme-overlay .theme-header .right:hover,
  1988. .wp-customizer .theme-overlay .theme-header .left:focus,
  1989. .wp-customizer .theme-overlay .theme-header .left:hover {
  1990. background: #fff;
  1991. border-bottom: 4px solid #2271b1;
  1992. color: #2271b1;
  1993. }
  1994. .wp-customizer .theme-overlay .theme-header .close:focus:before,
  1995. .wp-customizer .theme-overlay .theme-header .close:hover:before {
  1996. color: #2271b1;
  1997. }
  1998. .wp-customizer .theme-overlay .theme-header button.disabled,
  1999. .wp-customizer .theme-overlay .theme-header button.disabled:hover,
  2000. .wp-customizer .theme-overlay .theme-header button.disabled:focus {
  2001. border-bottom: none;
  2002. background: transparent;
  2003. color: #c3c4c7;
  2004. }
  2005. /* Small Screens */
  2006. @media (max-width: 850px), (max-height: 472px) {
  2007. .wp-customizer .theme-overlay .theme-wrap {
  2008. left: 0;
  2009. right: 0;
  2010. top: 0;
  2011. bottom: 0;
  2012. }
  2013. .wp-customizer .theme-browser .themes {
  2014. padding-right: 25px;
  2015. }
  2016. }
  2017. /* Handle cheaters. */
  2018. body.cheatin {
  2019. font-size: medium;
  2020. height: auto;
  2021. background: #fff;
  2022. border: 1px solid #c3c4c7;
  2023. margin: 50px auto 2em;
  2024. padding: 1em 2em;
  2025. max-width: 700px;
  2026. min-width: 0;
  2027. box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  2028. }
  2029. body.cheatin h1 {
  2030. border-bottom: 1px solid #dcdcde;
  2031. clear: both;
  2032. color: #50575e;
  2033. font-size: 24px;
  2034. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  2035. margin: 30px 0 0;
  2036. padding: 0 0 7px;
  2037. }
  2038. body.cheatin p {
  2039. font-size: 14px;
  2040. line-height: 1.5;
  2041. margin: 25px 0 20px;
  2042. }
  2043. /**
  2044. * Widgets and Menus common styles
  2045. */
  2046. /* higher specificity than .wp-core-ui .button */
  2047. #customize-theme-controls .add-new-widget,
  2048. #customize-theme-controls .add-new-menu-item {
  2049. cursor: pointer;
  2050. float: right;
  2051. margin: 0 0 0 10px;
  2052. transition: all 0.2s;
  2053. -webkit-user-select: none;
  2054. user-select: none;
  2055. outline: none;
  2056. }
  2057. .reordering .add-new-widget,
  2058. .reordering .add-new-menu-item {
  2059. opacity: 0.2;
  2060. pointer-events: none;
  2061. cursor: not-allowed; /* doesn't work in conjunction with pointer-events */
  2062. }
  2063. .add-new-widget:before,
  2064. .add-new-menu-item:before,
  2065. #available-menu-items .new-content-item .add-content:before {
  2066. content: "\f132";
  2067. display: inline-block;
  2068. position: relative;
  2069. left: -2px;
  2070. top: 0;
  2071. font: normal 20px/1 dashicons;
  2072. vertical-align: middle;
  2073. transition: all 0.2s;
  2074. -webkit-font-smoothing: antialiased;
  2075. -moz-osx-font-smoothing: grayscale;
  2076. }
  2077. /* Reordering */
  2078. .reorder-toggle {
  2079. float: right;
  2080. padding: 5px 8px;
  2081. text-decoration: none;
  2082. cursor: pointer;
  2083. outline: none;
  2084. }
  2085. .reorder,
  2086. .reordering .reorder-done {
  2087. display: block;
  2088. padding: 5px 8px;
  2089. }
  2090. .reorder-done,
  2091. .reordering .reorder {
  2092. display: none;
  2093. }
  2094. .widget-reorder-nav span,
  2095. .menu-item-reorder-nav button {
  2096. position: relative;
  2097. overflow: hidden;
  2098. float: left;
  2099. display: block;
  2100. width: 33px; /* was 42px for mobile */
  2101. height: 43px;
  2102. color: #8c8f94;
  2103. text-indent: -9999px;
  2104. cursor: pointer;
  2105. outline: none;
  2106. }
  2107. .menu-item-reorder-nav button {
  2108. width: 30px;
  2109. height: 40px;
  2110. background: transparent;
  2111. border: none;
  2112. box-shadow: none;
  2113. }
  2114. .widget-reorder-nav span:before,
  2115. .menu-item-reorder-nav button:before {
  2116. display: inline-block;
  2117. position: absolute;
  2118. top: 0;
  2119. right: 0;
  2120. width: 100%;
  2121. height: 100%;
  2122. font: normal 20px/43px dashicons;
  2123. text-align: center;
  2124. text-indent: 0;
  2125. -webkit-font-smoothing: antialiased;
  2126. -moz-osx-font-smoothing: grayscale;
  2127. }
  2128. .widget-reorder-nav span:hover,
  2129. .widget-reorder-nav span:focus,
  2130. .menu-item-reorder-nav button:hover,
  2131. .menu-item-reorder-nav button:focus {
  2132. color: #1d2327;
  2133. background: #f0f0f1;
  2134. }
  2135. .move-widget-down:before,
  2136. .menus-move-down:before {
  2137. content: "\f347";
  2138. }
  2139. .move-widget-up:before,
  2140. .menus-move-up:before {
  2141. content: "\f343";
  2142. }
  2143. #customize-theme-controls .first-widget .move-widget-up,
  2144. #customize-theme-controls .last-widget .move-widget-down,
  2145. .move-up-disabled .menus-move-up,
  2146. .move-down-disabled .menus-move-down,
  2147. .move-right-disabled .menus-move-right,
  2148. .move-left-disabled .menus-move-left {
  2149. color: #dcdcde;
  2150. background-color: #fff;
  2151. cursor: default;
  2152. pointer-events: none;
  2153. }
  2154. /**
  2155. * New widget and Add-menu-items modes and panels
  2156. */
  2157. .wp-full-overlay-main {
  2158. 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. */
  2159. width: 100%;
  2160. }
  2161. body.adding-widget .add-new-widget,
  2162. body.adding-widget .add-new-widget:hover,
  2163. .adding-menu-items .add-new-menu-item,
  2164. .adding-menu-items .add-new-menu-item:hover,
  2165. .add-menu-toggle.open,
  2166. .add-menu-toggle.open:hover {
  2167. background: #f0f0f1;
  2168. border-color: #8c8f94;
  2169. color: #2c3338;
  2170. box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
  2171. }
  2172. body.adding-widget .add-new-widget:before,
  2173. .adding-menu-items .add-new-menu-item:before,
  2174. #accordion-section-add_menu .add-new-menu-item.open:before {
  2175. transform: rotate(45deg);
  2176. }
  2177. #available-widgets,
  2178. #available-menu-items {
  2179. position: absolute;
  2180. top: 0;
  2181. bottom: 0;
  2182. left: -301px;
  2183. visibility: hidden;
  2184. overflow-x: hidden;
  2185. overflow-y: auto;
  2186. width: 300px;
  2187. margin: 0;
  2188. z-index: 4;
  2189. background: #f0f0f1;
  2190. transition: left .18s;
  2191. border-right: 1px solid #dcdcde;
  2192. }
  2193. #available-widgets .customize-section-title,
  2194. #available-menu-items .customize-section-title {
  2195. display: none;
  2196. }
  2197. #available-widgets-list {
  2198. top: 60px;
  2199. position: absolute;
  2200. overflow: auto;
  2201. bottom: 0;
  2202. width: 100%;
  2203. border-top: 1px solid #dcdcde;
  2204. }
  2205. .no-widgets-found #available-widgets-list {
  2206. border-top: none;
  2207. }
  2208. #available-widgets-filter {
  2209. position: fixed;
  2210. top: 0;
  2211. z-index: 1;
  2212. width: 300px;
  2213. background: #f0f0f1;
  2214. }
  2215. /* search field container */
  2216. #available-widgets-filter,
  2217. #available-menu-items-search .accordion-section-title {
  2218. padding: 13px 15px;
  2219. box-sizing: border-box;
  2220. }
  2221. #available-widgets-filter input,
  2222. #available-menu-items-search input {
  2223. width: 100%;
  2224. min-height: 32px;
  2225. margin: 1px 0;
  2226. padding: 0 30px;
  2227. }
  2228. #available-widgets-filter input::-ms-clear,
  2229. #available-menu-items-search input::-ms-clear {
  2230. display: none; /* remove the "x" in IE, which conflicts with the "x" icon on button.clear-results */
  2231. }
  2232. #available-menu-items-search .search-icon,
  2233. #available-widgets-filter .search-icon {
  2234. display: block;
  2235. position: absolute;
  2236. top: 15px; /* 13 container padding +1 input margin +1 input border */
  2237. left: 16px;
  2238. width: 30px;
  2239. height: 30px;
  2240. line-height: 2.1;
  2241. text-align: center;
  2242. color: #646970;
  2243. }
  2244. #available-widgets-filter .clear-results,
  2245. #available-menu-items-search .clear-results {
  2246. position: absolute;
  2247. top: 15px; /* 13 container padding +1 input margin +1 input border */
  2248. right: 16px;
  2249. width: 30px;
  2250. height: 30px;
  2251. padding: 0;
  2252. border: 0;
  2253. cursor: pointer;
  2254. background: none;
  2255. color: #d63638;
  2256. text-decoration: none;
  2257. outline: 0;
  2258. }
  2259. #available-widgets-filter .clear-results,
  2260. #available-menu-items-search .clear-results,
  2261. #available-menu-items-search.loading .clear-results.is-visible {
  2262. display: none;
  2263. }
  2264. #available-widgets-filter .clear-results.is-visible,
  2265. #available-menu-items-search .clear-results.is-visible {
  2266. display: block;
  2267. }
  2268. #available-widgets-filter .clear-results:before,
  2269. #available-menu-items-search .clear-results:before {
  2270. content: "\f335";
  2271. font: normal 20px/1 dashicons;
  2272. vertical-align: middle;
  2273. -webkit-font-smoothing: antialiased;
  2274. -moz-osx-font-smoothing: grayscale;
  2275. }
  2276. #available-widgets-filter .clear-results:hover,
  2277. #available-widgets-filter .clear-results:focus,
  2278. #available-menu-items-search .clear-results:hover,
  2279. #available-menu-items-search .clear-results:focus {
  2280. color: #d63638;
  2281. }
  2282. #available-widgets-filter .clear-results:focus,
  2283. #available-menu-items-search .clear-results:focus {
  2284. box-shadow:
  2285. 0 0 0 1px #4f94d4,
  2286. 0 0 2px 1px rgba(79, 148, 212, 0.8);
  2287. }
  2288. #available-menu-items-search .search-icon:after,
  2289. #available-widgets-filter .search-icon:after,
  2290. .themes-filter-bar .search-icon:after {
  2291. content: "\f179";
  2292. font: normal 20px/1 dashicons;
  2293. vertical-align: middle;
  2294. -webkit-font-smoothing: antialiased;
  2295. -moz-osx-font-smoothing: grayscale;
  2296. }
  2297. .themes-filter-bar .search-icon {
  2298. position: absolute;
  2299. top: 7px;
  2300. left: 26px;
  2301. z-index: 1;
  2302. color: #646970;
  2303. height: 30px;
  2304. width: 30px;
  2305. line-height: 2;
  2306. text-align: center;
  2307. }
  2308. .no-widgets-found-message {
  2309. display: none;
  2310. margin: 0;
  2311. padding: 0 15px;
  2312. line-height: inherit;
  2313. }
  2314. .no-widgets-found .no-widgets-found-message {
  2315. display: block;
  2316. }
  2317. #available-widgets .widget-top,
  2318. #available-widgets .widget-top:hover,
  2319. #available-menu-items .item-top,
  2320. #available-menu-items .item-top:hover {
  2321. border: none;
  2322. background: transparent;
  2323. box-shadow: none;
  2324. }
  2325. #available-widgets .widget-tpl,
  2326. #available-menu-items .item-tpl {
  2327. position: relative;
  2328. padding: 15px 15px 15px 60px;
  2329. background: #fff;
  2330. border-bottom: 1px solid #dcdcde;
  2331. border-left: 4px solid #fff;
  2332. transition:
  2333. .15s color ease-in-out,
  2334. .15s background-color ease-in-out,
  2335. .15s border-color ease-in-out;
  2336. cursor: pointer;
  2337. display: none;
  2338. }
  2339. #available-widgets .widget,
  2340. #available-menu-items .item {
  2341. position: static;
  2342. }
  2343. /* Responsive */
  2344. .customize-controls-preview-toggle {
  2345. display: none;
  2346. }
  2347. @media only screen and (max-width: 782px) {
  2348. .wp-customizer .theme:not(.active):hover .theme-actions,
  2349. .wp-customizer .theme:not(.active):focus .theme-actions {
  2350. display: block;
  2351. }
  2352. .wp-customizer .theme-browser .theme.active .theme-name span {
  2353. display: inline;
  2354. }
  2355. .customize-control-header button.random .dice {
  2356. margin-top: 0;
  2357. }
  2358. .customize-control-radio .customize-inside-control-row,
  2359. .customize-control-checkbox .customize-inside-control-row,
  2360. .customize-control-nav_menu_auto_add .customize-inside-control-row {
  2361. margin-left: 32px;
  2362. }
  2363. .customize-control-radio input,
  2364. .customize-control-checkbox input,
  2365. .customize-control-nav_menu_auto_add input {
  2366. margin-left: -32px;
  2367. }
  2368. .customize-control input[type="radio"] + label + br,
  2369. .customize-control input[type="checkbox"] + label + br {
  2370. line-height: 2.5; /* For widgets checkboxes */
  2371. }
  2372. .customize-control .date-time-fields select {
  2373. height: 39px;
  2374. }
  2375. .date-time-fields .date-input.month {
  2376. width: 79px;
  2377. }
  2378. .date-time-fields .date-input.day,
  2379. .date-time-fields .date-input.hour,
  2380. .date-time-fields .date-input.minute {
  2381. width: 55px;
  2382. }
  2383. .date-time-fields .date-input.year {
  2384. width: 80px;
  2385. }
  2386. #customize-control-changeset_preview_link a {
  2387. bottom: 16px;
  2388. }
  2389. .preview-link-wrapper .customize-copy-preview-link.preview-control-element.button {
  2390. bottom: 10px;
  2391. }
  2392. .media-widget-control .media-widget-buttons .button.edit-media,
  2393. .media-widget-control .media-widget-buttons .button.change-media,
  2394. .media-widget-control .media-widget-buttons .button.select-media {
  2395. margin-top: 12px;
  2396. }
  2397. .wp-core-ui .themes-filter-bar .feature-filter-toggle {
  2398. margin: 3px 0 3px 25px;
  2399. }
  2400. }
  2401. @media screen and (max-width: 1200px) {
  2402. .outer-section-open .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main,
  2403. .adding-menu-items .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main,
  2404. .adding-widget .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main {
  2405. left: 67%;
  2406. }
  2407. }
  2408. @media screen and (max-width: 640px) {
  2409. /* when the sidebar is collapsed and switching to responsive view,
  2410. bring it back see ticket #35220 */
  2411. .wp-full-overlay.collapsed #customize-controls {
  2412. margin-left: 0;
  2413. }
  2414. .wp-full-overlay-sidebar .wp-full-overlay-sidebar-content {
  2415. bottom: 0;
  2416. }
  2417. .customize-controls-preview-toggle {
  2418. display: block;
  2419. position: absolute;
  2420. top: 0;
  2421. left: 48px;
  2422. line-height: 2.6;
  2423. font-size: 14px;
  2424. padding: 0 12px 4px;
  2425. margin: 0;
  2426. height: 45px;
  2427. background: #f0f0f1;
  2428. border: 0;
  2429. border-right: 1px solid #dcdcde;
  2430. border-top: 4px solid #f0f0f1;
  2431. color: #50575e;
  2432. cursor: pointer;
  2433. transition: color .1s ease-in-out, background .1s ease-in-out;
  2434. }
  2435. #customize-footer-actions,
  2436. /*#customize-preview,*/
  2437. .customize-controls-preview-toggle .controls,
  2438. .preview-only .wp-full-overlay-sidebar-content,
  2439. .preview-only .customize-controls-preview-toggle .preview {
  2440. display: none;
  2441. }
  2442. .preview-only #customize-save-button-wrapper {
  2443. margin-top: -46px;
  2444. }
  2445. .customize-controls-preview-toggle .preview:before,
  2446. .customize-controls-preview-toggle .controls:before {
  2447. font: normal 20px/1 dashicons;
  2448. content: "\f177";
  2449. position: relative;
  2450. top: 4px;
  2451. margin-right: 6px;
  2452. }
  2453. .customize-controls-preview-toggle .controls:before {
  2454. content: "\f540";
  2455. }
  2456. .preview-only #customize-controls {
  2457. height: 45px;
  2458. }
  2459. .preview-only #customize-preview,
  2460. .preview-only .customize-controls-preview-toggle .controls {
  2461. display: block;
  2462. }
  2463. .wp-core-ui.wp-customizer .button {
  2464. min-height: 30px;
  2465. padding: 0 14px;
  2466. line-height: 2;
  2467. font-size: 14px;
  2468. vertical-align: middle;
  2469. }
  2470. #customize-control-changeset_status .customize-inside-control-row {
  2471. padding-top: 15px;
  2472. }
  2473. body.adding-widget div#available-widgets,
  2474. body.adding-menu-items div#available-menu-items,
  2475. body.outer-section-open div#customize-sidebar-outer-content {
  2476. width: 100%;
  2477. }
  2478. #available-widgets .customize-section-title,
  2479. #available-menu-items .customize-section-title {
  2480. display: block;
  2481. margin: 0;
  2482. }
  2483. #available-widgets .customize-section-back,
  2484. #available-menu-items .customize-section-back {
  2485. height: 69px;
  2486. }
  2487. #available-widgets .customize-section-title h3,
  2488. #available-menu-items .customize-section-title h3 {
  2489. font-size: 20px;
  2490. font-weight: 200;
  2491. padding: 9px 10px 12px 14px;
  2492. margin: 0;
  2493. line-height: 24px;
  2494. color: #50575e;
  2495. display: block;
  2496. overflow: hidden;
  2497. white-space: nowrap;
  2498. text-overflow: ellipsis;
  2499. }
  2500. #available-widgets .customize-section-title .customize-action,
  2501. #available-menu-items .customize-section-title .customize-action {
  2502. font-size: 13px;
  2503. display: block;
  2504. font-weight: 400;
  2505. overflow: hidden;
  2506. white-space: nowrap;
  2507. text-overflow: ellipsis;
  2508. }
  2509. #available-widgets-filter {
  2510. position: relative;
  2511. width: 100%;
  2512. height: auto;
  2513. }
  2514. #available-widgets-list {
  2515. top: 130px;
  2516. }
  2517. #available-menu-items-search .clear-results,
  2518. #available-menu-items-search .search-icon {
  2519. top: 85px; /* 70 section title height + 13 container padding +1 input margin +1 input border */
  2520. }
  2521. .reorder,
  2522. .reordering .reorder-done {
  2523. padding: 8px;
  2524. }
  2525. .wp-core-ui .themes-filter-bar .feature-filter-toggle {
  2526. margin: 0;
  2527. }
  2528. }
  2529. @media screen and (max-width: 600px) {
  2530. .wp-full-overlay.expanded {
  2531. margin-left: 0;
  2532. }
  2533. body.adding-widget div#available-widgets,
  2534. body.adding-menu-items div#available-menu-items,
  2535. body.outer-section-open div#customize-sidebar-outer-content {
  2536. top: 46px;
  2537. z-index: 10;
  2538. }
  2539. body.wp-customizer .wp-full-overlay.expanded #customize-sidebar-outer-content {
  2540. left: -100%;
  2541. }
  2542. body.wp-customizer.outer-section-open .wp-full-overlay.expanded #customize-sidebar-outer-content {
  2543. left: 0;
  2544. }
  2545. }