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.

2995 lines
68 KiB

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