PageRenderTime 62ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/wp-admin/css/customize-controls.css

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