1 .wp-full-overlay-sidebar {
6 * Hide all sidebar sections by default, only show them (via JS) once the
7 * preview loads and we know whether the sidebars are used in the template.
10 .control-section.control-section-sidebar,
11 .customize-control-sidebar_widgets label,
12 .customize-control-sidebar_widgets .hide-if-js {
13 /* The link in .customize-control-sidebar_widgets .hide-if-js will fail if it ever gets used. */
17 .control-section.control-section-sidebar .accordion-section-content.ui-sortable {
21 .customize-control-widget_form .widget-top {
22 -webkit-transition: opacity 0.5s;
23 transition: opacity 0.5s;
26 .customize-control-widget_form:not(.widget-rendered) .widget-top {
30 .customize-control-widget_form .widget-control-save {
34 .customize-control-widget_form .spinner {
39 .customize-control-widget_form.previewer-loading .spinner {
43 .customize-control-widget_form.widget-form-disabled .widget-content {
46 -moz-user-select: none;
47 -webkit-user-select: none;
48 -ms-user-select: none;
52 .customize-control-widget_form .widget {
56 .customize-control-widget_form.wide-widget-control .widget-inside {
60 border: 1px solid rgb(229, 229, 229);
63 .customize-control-widget_form.wide-widget-control .widget-inside > .form {
67 .customize-control-widget_form.wide-widget-control .widget-top {
68 -webkit-transition: background-color 0.4s;
69 transition: background-color 0.4s;
71 .customize-control-widget_form.wide-widget-control.expanding .widget-top,
72 .customize-control-widget_form.wide-widget-control.expanded:not(.collapsing) .widget-top {
73 background-color: rgb(227, 227, 227);
77 padding: 1px 10px 10px 10px;
86 .customize-control-widget_form.expanded a.widget-action:after {
90 .customize-control-widget_form.wide-widget-control a.widget-action:after {
94 .customize-control-widget_form.wide-widget-control.expanded a.widget-action:after {
98 .widget-title-action {
102 .customize-control-widget_form .widget .customize-control-title {
106 .control-section.accordion-section.highlighted > .accordion-section-title,
107 .customize-control-widget_form.highlighted {
109 -webkit-box-shadow: 0 0 2px rgba(30,140,190,0.8);
110 box-shadow: 0 0 2px rgba(30,140,190,0.8);
115 #widget-customizer-control-templates {
120 * Widget reordering styles
126 text-decoration: none;
129 -webkit-user-select: none;
130 -moz-user-select: none;
131 -ms-user-select: none;
134 .reorder-toggle:focus {
139 .reordering .reorder {
143 .reordering .reorder-done {
148 .reordering .reorder-done:hover,
149 .reordering .reorder-done:active {
153 #customize-theme-controls .reordering .add-new-widget {
155 pointer-events: none;
159 #customize-theme-controls .widget-reorder-nav {
162 background-color: #fafafa;
165 .widget-reorder-nav span {
170 width: 33px; /* was 42px for mobile */
173 text-indent: -9999px;
178 .widget-reorder-nav span:before {
179 display: inline-block;
185 font: normal 20px/43px 'dashicons';
188 -webkit-font-smoothing: antialiased;
189 -moz-osx-font-smoothing: grayscale;
192 .widget-reorder-nav span:hover,
193 .widget-reorder-nav span:focus {
198 .move-widget:before {
202 .move-widget-down:before {
206 .move-widget-up:before {
210 #customize-theme-controls .first-widget .move-widget-up,
211 #customize-theme-controls .last-widget .move-widget-down {
216 #customize-theme-controls .move-widget-area {
219 border: 1px solid #dedede;
224 #customize-theme-controls .reordering .move-widget-area.active {
228 #customize-theme-controls .move-widget-area .description {
234 #customize-theme-controls .widget-area-select {
240 #customize-theme-controls .widget-area-select li {
243 padding: 13px 42px 15px 15px;
245 border-top: 1px solid #eee;
247 -webkit-user-select: none;
248 -moz-user-select: none;
249 -ms-user-select: none;
253 #customize-theme-controls .widget-area-select li:before {
259 font: normal 20px/1 'dashicons';
260 -webkit-font-smoothing: antialiased;
261 -moz-osx-font-smoothing: grayscale;
264 #customize-theme-controls .widget-area-select li:last-child {
265 border-bottom: 1px solid #eee;
268 #customize-theme-controls .widget-area-select .selected {
270 text-shadow: 0 -1px 0 rgba(0,0,0,.4);
274 #customize-theme-controls .widget-area-select .selected:before {
278 #customize-theme-controls .move-widget-actions {
283 #customize-theme-controls .reordering .widget-title-action {
287 #customize-theme-controls .reordering .widget-reorder-nav {
293 * Styles for new widget addition panel
295 .wp-full-overlay-main {
296 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. */
300 #customize-theme-controls .add-new-widget {
304 -webkit-transition: all 0.2s;
305 transition: all 0.2s;
306 -webkit-user-select: none;
307 -moz-user-select: none;
308 -ms-user-select: none;
313 .add-new-widget:before {
315 display: inline-block;
319 font: normal 20px/1 'dashicons';
320 vertical-align: middle;
321 -webkit-transition: all 0.2s;
322 transition: all 0.2s;
323 -webkit-font-smoothing: antialiased;
324 -moz-osx-font-smoothing: grayscale;
327 body.adding-widget .add-new-widget,
328 body.adding-widget .add-new-widget:hover {
332 -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
333 box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
335 body.adding-widget .add-new-widget:before {
336 -webkit-transform: rotate(-45deg);
337 -ms-transform: rotate(-45deg);
338 transform: rotate(-45deg);
341 #available-widgets .widget {
345 /* override widgets admin page rules in wp-admin/css/wp-admin.css */
346 #widgets-left #available-widgets .widget {
347 float: none !important;
348 width: auto !important;
361 background: #eee !important;
362 -webkit-transition: right .18s;
363 transition: right .18s;
364 border-left: 1px solid #ddd;
367 .ios #available-widgets {
368 -webkit-transition: right 0s;
369 transition: right 0s;
372 #available-widgets-list {
380 #available-widgets-filter {
386 padding: 8px 13px 7px 17px;
388 border-bottom: 1px solid #e4e4e4;
389 -webkit-box-sizing: border-box;
390 -moz-box-sizing: border-box;
391 box-sizing: border-box;
394 #available-widgets-filter input {
395 padding: 5px 10px 2px 10px;
399 #available-widgets .widget-tpl {
401 padding: 20px 60px 20px 15px;
403 border-bottom: 1px solid #e4e4e4;
408 #available-widgets .widget-tpl:hover,
409 #available-widgets .widget-tpl.selected {
411 border-bottom-color: #ccc;
414 #available-widgets .widget-top,
415 #available-widgets .widget-top:hover {
417 background: transparent;
418 -webkit-box-shadow: none;
422 #available-widgets .widget-title h4 {
427 #available-widgets .widget .widget-description {
433 -webkit-transition: all 0.2s;
434 transition: all 0.2s;
437 body.adding-widget #available-widgets {
442 body.adding-widget .wp-full-overlay-main {
446 body.adding-widget #customize-preview {
452 * Widget Icon styling
453 * No plurals in naming.
454 * Ordered from lowest to highest specificity.
456 #available-widgets .widget-title {
460 #available-widgets .widget-title:before {
469 font: normal 20px/1 'dashicons';
471 -webkit-box-sizing: border-box;
472 -moz-box-sizing: border-box;
473 box-sizing: border-box;
474 -webkit-font-smoothing: antialiased;
475 -moz-osx-font-smoothing: grayscale;
479 #available-widgets [class*="easy"] .widget-title:before { content: "\f328"; top: -4px; }
482 #available-widgets [class*="super"] .widget-title:before,
483 #available-widgets [class*="like"] .widget-title:before { content: "\f155"; top: -4px; }
486 #available-widgets [class*="meta"] .widget-title:before { content: "\f120"; }
489 #available-widgets [class*="archives"] .widget-title:before { content: "\f480"; top: -4px; }
492 #available-widgets [class*="categor"] .widget-title:before { content: "\f318"; top: -4px; }
495 #available-widgets [class*="comment"] .widget-title:before,
496 #available-widgets [class*="testimonial"] .widget-title:before,
497 #available-widgets [class*="chat"] .widget-title:before { content: "\f101"; }
500 #available-widgets [class*="post"] .widget-title:before { content: "\f109"; }
503 #available-widgets [class*="page"] .widget-title:before { content: "\f105"; }
506 #available-widgets [class*="text"] .widget-title:before { content: "\f478"; }
509 #available-widgets [class*="link"] .widget-title:before { content: "\f103"; }
512 #available-widgets [class*="search"] .widget-title:before { content: "\f179"; }
515 #available-widgets [class*="menu"] .widget-title:before,
516 #available-widgets [class*="nav"] .widget-title:before { content: "\f333"; }
519 #available-widgets [class*="tag"] .widget-title:before { content: "\f479"; }
522 #available-widgets [class*="rss"] .widget-title:before { content: "\f303"; top: -6px; }
525 #available-widgets [class*="event"] .widget-title:before,
526 #available-widgets [class*="calendar"] .widget-title:before { content: "\f145"; top: -4px;}
529 #available-widgets [class*="image"] .widget-title:before,
530 #available-widgets [class*="photo"] .widget-title:before,
531 #available-widgets [class*="slide"] .widget-title:before,
532 #available-widgets [class*="instagram"] .widget-title:before { content: "\f128"; }
535 #available-widgets [class*="album"] .widget-title:before,
536 #available-widgets [class*="galler"] .widget-title:before { content: "\f161"; }
539 #available-widgets [class*="video"] .widget-title:before,
540 #available-widgets [class*="tube"] .widget-title:before { content: "\f126"; }
543 #available-widgets [class*="music"] .widget-title:before,
544 #available-widgets [class*="radio"] .widget-title:before,
545 #available-widgets [class*="audio"] .widget-title:before { content: "\f127"; }
548 #available-widgets [class*="login"] .widget-title:before,
549 #available-widgets [class*="user"] .widget-title:before,
550 #available-widgets [class*="member"] .widget-title:before,
551 #available-widgets [class*="avatar"] .widget-title:before,
552 #available-widgets [class*="subscriber"] .widget-title:before,
553 #available-widgets [class*="profile"] .widget-title:before,
554 #available-widgets [class*="grofile"] .widget-title:before { content: "\f110"; }
557 #available-widgets [class*="commerce"] .widget-title:before,
558 #available-widgets [class*="shop"] .widget-title:before,
559 #available-widgets [class*="cart"] .widget-title:before { content: "\f174"; top: -4px; }
562 #available-widgets [class*="secur"] .widget-title:before,
563 #available-widgets [class*="firewall"] .widget-title:before { content: "\f332"; }
566 #available-widgets [class*="analytic"] .widget-title:before,
567 #available-widgets [class*="stat"] .widget-title:before,
568 #available-widgets [class*="poll"] .widget-title:before { content: "\f185"; }
571 #available-widgets [class*="form"] .widget-title:before { content: "\f175"; }
574 #available-widgets [class*="subscribe"] .widget-title:before,
575 #available-widgets [class*="news"] .widget-title:before,
576 #available-widgets [class*="contact"] .widget-title:before,
577 #available-widgets [class*="mail"] .widget-title:before { content: "\f466"; }
580 #available-widgets [class*="share"] .widget-title:before,
581 #available-widgets [class*="socia"] .widget-title:before { content: "\f237"; }
584 #available-widgets [class*="lang"] .widget-title:before,
585 #available-widgets [class*="translat"] .widget-title:before { content: "\f326"; }
588 #available-widgets [class*="locat"] .widget-title:before,
589 #available-widgets [class*="map"] .widget-title:before { content: "\f231"; }
592 #available-widgets [class*="download"] .widget-title:before { content: "\f316"; }
595 #available-widgets [class*="weather"] .widget-title:before { content: "\f176"; top: -4px;}
598 #available-widgets [class*="facebook"] .widget-title:before { content: "\f304"; }
601 #available-widgets [class*="tweet"] .widget-title:before,
602 #available-widgets [class*="twitter"] .widget-title:before { content: "\f301"; }
604 #available-widgets .customize-section-title {
608 @media screen and (max-height: 700px) and (min-width: 981px) {
609 .customize-control-widget {
613 -webkit-box-shadow: none;
627 .widget-top a.widget-action:after {
630 .widget-reorder-nav span {
633 .widget-reorder-nav span:before {
636 #customize-theme-controls .widget-area-select li {
637 padding: 9px 42px 11px 15px;
639 #customize-theme-controls .widget-area-select li:before {
644 @media screen and ( max-width: 640px ) {
645 body.adding-widget div#available-widgets {
652 #available-widgets .customize-section-title {
657 #available-widgets .customize-section-back {
661 #available-widgets .customize-section-title h3 {
664 padding: 9px 14px 12px 10px;
671 text-overflow: ellipsis;
674 #available-widgets .customize-section-title .customize-action {
680 text-overflow: ellipsis;
683 #available-widgets-filter {
691 #available-widgets-list {