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
123 #customize-theme-controls .widget-reorder-nav {
126 background-color: #fafafa;
129 .widget-reorder-nav span {
134 width: 33px; /* was 42px for mobile */
137 text-indent: -9999px;
142 .widget-reorder-nav span:before {
143 display: inline-block;
149 font: normal 20px/43px dashicons;
152 -webkit-font-smoothing: antialiased;
153 -moz-osx-font-smoothing: grayscale;
156 .widget-reorder-nav span:hover,
157 .widget-reorder-nav span:focus {
162 .move-widget:before {
166 .move-widget-down:before {
170 .move-widget-up:before {
174 #customize-theme-controls .first-widget .move-widget-up,
175 #customize-theme-controls .last-widget .move-widget-down {
180 #customize-theme-controls .move-widget-area {
183 border: 1px solid #dedede;
188 #customize-theme-controls .reordering .move-widget-area.active {
192 #customize-theme-controls .move-widget-area .description {
198 #customize-theme-controls .widget-area-select {
204 #customize-theme-controls .widget-area-select li {
207 padding: 13px 42px 15px 15px;
209 border-top: 1px solid #eee;
211 -webkit-user-select: none;
212 -moz-user-select: none;
213 -ms-user-select: none;
217 #customize-theme-controls .widget-area-select li:before {
223 font: normal 20px/1 dashicons;
224 -webkit-font-smoothing: antialiased;
225 -moz-osx-font-smoothing: grayscale;
228 #customize-theme-controls .widget-area-select li:last-child {
229 border-bottom: 1px solid #eee;
232 #customize-theme-controls .widget-area-select .selected {
234 text-shadow: 0 -1px 0 rgba(0,0,0,.4);
238 #customize-theme-controls .widget-area-select .selected:before {
242 #customize-theme-controls .move-widget-actions {
247 #customize-theme-controls .reordering .widget-title-action {
251 #customize-theme-controls .reordering .widget-reorder-nav {
256 * Styles for new widget addition panel
259 .wp-full-overlay-main {
260 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. */
264 body.adding-widget .add-new-widget,
265 body.adding-widget .add-new-widget:hover {
269 -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
270 box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
272 body.adding-widget .add-new-widget:before {
273 -webkit-transform: rotate(-45deg);
274 -ms-transform: rotate(-45deg);
275 transform: rotate(-45deg);
278 #available-widgets .widget {
282 /* override widgets admin page rules in wp-admin/css/wp-admin.css */
283 #widgets-left #available-widgets .widget {
284 float: none !important;
285 width: auto !important;
298 background: #eee !important;
299 -webkit-transition: right .18s;
300 transition: right .18s;
301 border-left: 1px solid #ddd;
304 .ios #available-widgets {
305 -webkit-transition: right 0s;
306 transition: right 0s;
309 #available-widgets-list {
317 #available-widgets-filter {
323 padding: 8px 13px 7px 17px;
325 border-bottom: 1px solid #e4e4e4;
326 -webkit-box-sizing: border-box;
327 -moz-box-sizing: border-box;
328 box-sizing: border-box;
331 #available-widgets-filter input {
332 padding: 5px 10px 2px 10px;
336 #available-widgets .widget-tpl {
338 padding: 20px 60px 20px 15px;
340 border-bottom: 1px solid #e4e4e4;
345 #available-widgets .widget-tpl:hover,
346 #available-widgets .widget-tpl.selected {
348 border-bottom-color: #ccc;
351 #available-widgets .widget-top,
352 #available-widgets .widget-top:hover {
354 background: transparent;
355 -webkit-box-shadow: none;
359 #customize-controls .widget-title h3 {
363 #available-widgets .widget-title h3 {
368 #available-widgets .widget .widget-description {
374 -webkit-transition: all 0.2s;
375 transition: all 0.2s;
378 body.adding-widget #available-widgets {
383 body.adding-widget .wp-full-overlay-main {
387 body.adding-widget #customize-preview {
393 * Widget Icon styling
394 * No plurals in naming.
395 * Ordered from lowest to highest specificity.
398 #available-widgets .widget-title {
402 #available-widgets .widget-title:before {
411 font: normal 20px/1 dashicons;
413 -webkit-box-sizing: border-box;
414 -moz-box-sizing: border-box;
415 box-sizing: border-box;
416 -webkit-font-smoothing: antialiased;
417 -moz-osx-font-smoothing: grayscale;
421 #available-widgets [class*="easy"] .widget-title:before { content: "\f328"; top: -4px; }
424 #available-widgets [class*="super"] .widget-title:before,
425 #available-widgets [class*="like"] .widget-title:before { content: "\f155"; top: -4px; }
428 #available-widgets [class*="meta"] .widget-title:before { content: "\f120"; }
431 #available-widgets [class*="archives"] .widget-title:before { content: "\f480"; top: -4px; }
434 #available-widgets [class*="categor"] .widget-title:before { content: "\f318"; top: -4px; }
437 #available-widgets [class*="comment"] .widget-title:before,
438 #available-widgets [class*="testimonial"] .widget-title:before,
439 #available-widgets [class*="chat"] .widget-title:before { content: "\f101"; }
442 #available-widgets [class*="post"] .widget-title:before { content: "\f109"; }
445 #available-widgets [class*="page"] .widget-title:before { content: "\f105"; }
448 #available-widgets [class*="text"] .widget-title:before { content: "\f478"; }
451 #available-widgets [class*="link"] .widget-title:before { content: "\f103"; }
454 #available-widgets [class*="search"] .widget-title:before { content: "\f179"; }
457 #available-widgets [class*="menu"] .widget-title:before,
458 #available-widgets [class*="nav"] .widget-title:before { content: "\f333"; }
461 #available-widgets [class*="tag"] .widget-title:before { content: "\f479"; }
464 #available-widgets [class*="rss"] .widget-title:before { content: "\f303"; top: -6px; }
467 #available-widgets [class*="event"] .widget-title:before,
468 #available-widgets [class*="calendar"] .widget-title:before { content: "\f145"; top: -4px;}
471 #available-widgets [class*="image"] .widget-title:before,
472 #available-widgets [class*="photo"] .widget-title:before,
473 #available-widgets [class*="slide"] .widget-title:before,
474 #available-widgets [class*="instagram"] .widget-title:before { content: "\f128"; }
477 #available-widgets [class*="album"] .widget-title:before,
478 #available-widgets [class*="galler"] .widget-title:before { content: "\f161"; }
481 #available-widgets [class*="video"] .widget-title:before,
482 #available-widgets [class*="tube"] .widget-title:before { content: "\f126"; }
485 #available-widgets [class*="music"] .widget-title:before,
486 #available-widgets [class*="radio"] .widget-title:before,
487 #available-widgets [class*="audio"] .widget-title:before { content: "\f127"; }
490 #available-widgets [class*="login"] .widget-title:before,
491 #available-widgets [class*="user"] .widget-title:before,
492 #available-widgets [class*="member"] .widget-title:before,
493 #available-widgets [class*="avatar"] .widget-title:before,
494 #available-widgets [class*="subscriber"] .widget-title:before,
495 #available-widgets [class*="profile"] .widget-title:before,
496 #available-widgets [class*="grofile"] .widget-title:before { content: "\f110"; }
499 #available-widgets [class*="commerce"] .widget-title:before,
500 #available-widgets [class*="shop"] .widget-title:before,
501 #available-widgets [class*="cart"] .widget-title:before { content: "\f174"; top: -4px; }
504 #available-widgets [class*="secur"] .widget-title:before,
505 #available-widgets [class*="firewall"] .widget-title:before { content: "\f332"; }
508 #available-widgets [class*="analytic"] .widget-title:before,
509 #available-widgets [class*="stat"] .widget-title:before,
510 #available-widgets [class*="poll"] .widget-title:before { content: "\f185"; }
513 #available-widgets [class*="form"] .widget-title:before { content: "\f175"; }
516 #available-widgets [class*="subscribe"] .widget-title:before,
517 #available-widgets [class*="news"] .widget-title:before,
518 #available-widgets [class*="contact"] .widget-title:before,
519 #available-widgets [class*="mail"] .widget-title:before { content: "\f466"; }
522 #available-widgets [class*="share"] .widget-title:before,
523 #available-widgets [class*="socia"] .widget-title:before { content: "\f237"; }
526 #available-widgets [class*="lang"] .widget-title:before,
527 #available-widgets [class*="translat"] .widget-title:before { content: "\f326"; }
530 #available-widgets [class*="locat"] .widget-title:before,
531 #available-widgets [class*="map"] .widget-title:before { content: "\f231"; }
534 #available-widgets [class*="download"] .widget-title:before { content: "\f316"; }
537 #available-widgets [class*="weather"] .widget-title:before { content: "\f176"; top: -4px;}
540 #available-widgets [class*="facebook"] .widget-title:before { content: "\f304"; }
543 #available-widgets [class*="tweet"] .widget-title:before,
544 #available-widgets [class*="twitter"] .widget-title:before { content: "\f301"; }
546 #available-widgets .customize-section-title {
550 @media screen and (max-height: 700px) and (min-width: 981px) {
551 .customize-control-widget {
555 -webkit-box-shadow: none;
569 .widget-reorder-nav span {
572 .widget-reorder-nav span:before {
575 #customize-theme-controls .widget-area-select li {
576 padding: 9px 42px 11px 15px;
578 #customize-theme-controls .widget-area-select li:before {
583 @media screen and ( max-width: 640px ) {
584 body.adding-widget div#available-widgets {
591 #available-widgets .customize-section-title {
596 #available-widgets .customize-section-back {
600 #available-widgets .customize-section-title h3 {
603 padding: 9px 14px 12px 10px;
610 text-overflow: ellipsis;
613 #available-widgets .customize-section-title .customize-action {
619 text-overflow: ellipsis;
622 #available-widgets-filter {
630 #available-widgets-list {