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 .customize-control-widget_form .widget-top {
18 -webkit-transition: opacity 0.5s;
19 transition: opacity 0.5s;
22 .customize-control-widget_form:not(.widget-rendered) .widget-top {
26 .customize-control-widget_form .widget-control-save {
30 .customize-control-widget_form .spinner {
35 .customize-control-widget_form.previewer-loading .spinner {
39 .customize-control-widget_form.widget-form-disabled .widget-content {
42 -moz-user-select: none;
43 -webkit-user-select: none;
44 -ms-user-select: none;
48 .customize-control-widget_form .widget {
52 .customize-control-widget_form.wide-widget-control .widget-inside {
56 border: 1px solid rgb(229, 229, 229);
59 .customize-control-widget_form.wide-widget-control .widget-inside > .form {
63 .customize-control-widget_form.wide-widget-control .widget-top {
64 -webkit-transition: background-color 0.4s;
65 transition: background-color 0.4s;
67 .customize-control-widget_form.wide-widget-control.expanding .widget-top,
68 .customize-control-widget_form.wide-widget-control.expanded:not(.collapsing) .widget-top {
69 background-color: rgb(227, 227, 227);
73 padding: 1px 10px 10px 10px;
82 .customize-control-widget_form.expanded a.widget-action:after {
86 .customize-control-widget_form.wide-widget-control a.widget-action:after {
90 .customize-control-widget_form.wide-widget-control.expanded a.widget-action:after {
94 .widget-title-action {
98 .customize-control-widget_form .widget .customize-control-title {
102 .control-section.accordion-section.highlighted > .accordion-section-title,
103 .customize-control-widget_form.highlighted {
105 -webkit-box-shadow: 0 0 2px rgba(30,140,190,0.8);
106 box-shadow: 0 0 2px rgba(30,140,190,0.8);
111 #widget-customizer-control-templates {
116 * Widget reordering styles
122 text-decoration: none;
125 -webkit-user-select: none;
126 -moz-user-select: none;
127 -ms-user-select: none;
130 .reorder-toggle:focus {
135 .reordering .reorder {
139 .reordering .reorder-done {
144 #customize-theme-controls .reordering .add-new-widget {
146 pointer-events: none;
150 #customize-theme-controls .widget-reorder-nav {
153 background-color: #fafafa;
156 .widget-reorder-nav span {
161 width: 33px; /* was 42px for mobile */
164 text-indent: -9999px;
169 .widget-reorder-nav span:before {
170 display: inline-block;
176 font: normal 20px/43px 'dashicons';
179 -webkit-font-smoothing: antialiased;
180 -moz-osx-font-smoothing: grayscale;
183 .widget-reorder-nav span:hover,
184 .widget-reorder-nav span:focus {
189 .move-widget:before {
193 .move-widget-down:before {
197 .move-widget-up:before {
201 #customize-theme-controls .first-widget .move-widget-up,
202 #customize-theme-controls .last-widget .move-widget-down {
207 #customize-theme-controls .move-widget-area {
210 border: 1px solid #dedede;
215 #customize-theme-controls .reordering .move-widget-area.active {
219 #customize-theme-controls .move-widget-area .description {
225 #customize-theme-controls .widget-area-select {
231 #customize-theme-controls .widget-area-select li {
234 padding: 13px 15px 15px 42px;
236 border-top: 1px solid #eee;
238 -webkit-user-select: none;
239 -moz-user-select: none;
240 -ms-user-select: none;
244 #customize-theme-controls .widget-area-select li:before {
250 font: normal 20px/1 'dashicons';
251 -webkit-font-smoothing: antialiased;
252 -moz-osx-font-smoothing: grayscale;
255 #customize-theme-controls .widget-area-select li:last-child {
256 border-bottom: 1px solid #eee;
259 #customize-theme-controls .widget-area-select .selected {
261 text-shadow: 0 -1px 0 rgba(0,0,0,.4);
265 #customize-theme-controls .widget-area-select .selected:before {
269 #customize-theme-controls .move-widget-actions {
274 #customize-theme-controls .reordering .widget-title-action {
278 #customize-theme-controls .reordering .widget-reorder-nav {
284 * Styles for new widget addition panel
286 .wp-full-overlay-main {
287 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. */
291 #customize-theme-controls .add-new-widget {
295 -webkit-transition: all 0.2s;
296 transition: all 0.2s;
297 -webkit-user-select: none;
298 -moz-user-select: none;
299 -ms-user-select: none;
304 .add-new-widget:before {
306 display: inline-block;
310 font: normal 20px/1 'dashicons';
311 vertical-align: middle;
312 -webkit-transition: all 0.2s;
313 transition: all 0.2s;
314 -webkit-font-smoothing: antialiased;
315 -moz-osx-font-smoothing: grayscale;
318 body.adding-widget .add-new-widget,
319 body.adding-widget .add-new-widget:hover {
323 -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
324 box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
326 body.adding-widget .add-new-widget:before {
327 -webkit-transform: rotate(45deg);
328 -ms-transform: rotate(45deg);
329 transform: rotate(45deg);
332 #available-widgets .widget {
336 /* override widgets admin page rules in wp-admin/css/wp-admin.css */
337 #widgets-left #available-widgets .widget {
338 float: none !important;
339 width: auto !important;
351 background: #fff !important;
352 -webkit-transition: all 0.2s;
353 transition: all 0.2s;
354 border-right: 1px solid #dddddd;
357 #available-widgets-list {
365 #available-widgets-filter {
371 padding: 8px 17px 7px 13px;
373 border-bottom: 1px solid #e4e4e4;
374 -webkit-box-sizing: border-box;
375 -moz-box-sizing: border-box;
376 box-sizing: border-box;
379 #available-widgets-filter input {
380 padding: 5px 10px 2px 10px;
384 #available-widgets .widget-tpl {
386 padding: 20px 15px 20px 60px;
387 border-bottom: 1px solid #e4e4e4;
392 #available-widgets .widget-tpl:hover,
393 #available-widgets .widget-tpl.selected {
397 #available-widgets .widget-top,
398 #available-widgets .widget-top:hover {
400 background: transparent;
401 -webkit-box-shadow: none;
405 #available-widgets .widget-title h4 {
410 #available-widgets .widget .widget-description {
416 -webkit-transition: all 0.2s;
417 transition: all 0.2s;
420 body.adding-widget #available-widgets {
424 body.adding-widget .wp-full-overlay-main {
428 body.adding-widget #customize-preview {
434 * Widget Icon styling
435 * No plurals in naming.
436 * Ordered from lowest to highest specificity.
438 #available-widgets .widget-title {
442 #available-widgets .widget-title:before {
451 font: normal 20px/1 'dashicons';
453 -webkit-box-sizing: border-box;
454 -moz-box-sizing: border-box;
455 box-sizing: border-box;
456 -webkit-font-smoothing: antialiased;
457 -moz-osx-font-smoothing: grayscale;
461 #available-widgets [class*="easy"] .widget-title:before { content: "\f328"; top: -4px; }
464 #available-widgets [class*="super"] .widget-title:before,
465 #available-widgets [class*="like"] .widget-title:before { content: "\f155"; top: -4px; }
468 #available-widgets [class*="meta"] .widget-title:before { content: "\f120"; }
471 #available-widgets [class*="archives"] .widget-title:before { content: "\f480"; top: -4px; }
474 #available-widgets [class*="categor"] .widget-title:before { content: "\f318"; top: -4px; }
477 #available-widgets [class*="comment"] .widget-title:before,
478 #available-widgets [class*="testimonial"] .widget-title:before,
479 #available-widgets [class*="chat"] .widget-title:before { content: "\f101"; }
482 #available-widgets [class*="post"] .widget-title:before { content: "\f109"; }
485 #available-widgets [class*="page"] .widget-title:before { content: "\f105"; }
488 #available-widgets [class*="text"] .widget-title:before { content: "\f478"; }
491 #available-widgets [class*="link"] .widget-title:before { content: "\f103"; }
494 #available-widgets [class*="search"] .widget-title:before { content: "\f179"; }
497 #available-widgets [class*="menu"] .widget-title:before,
498 #available-widgets [class*="nav"] .widget-title:before { content: "\f333"; }
501 #available-widgets [class*="tag"] .widget-title:before { content: "\f479"; }
504 #available-widgets [class*="rss"] .widget-title:before { content: "\f303"; top: -6px; }
507 #available-widgets [class*="event"] .widget-title:before,
508 #available-widgets [class*="calendar"] .widget-title:before { content: "\f145"; top: -4px;}
511 #available-widgets [class*="image"] .widget-title:before,
512 #available-widgets [class*="photo"] .widget-title:before,
513 #available-widgets [class*="slide"] .widget-title:before,
514 #available-widgets [class*="instagram"] .widget-title:before { content: "\f128"; }
517 #available-widgets [class*="album"] .widget-title:before,
518 #available-widgets [class*="galler"] .widget-title:before { content: "\f161"; }
521 #available-widgets [class*="video"] .widget-title:before,
522 #available-widgets [class*="tube"] .widget-title:before { content: "\f126"; }
525 #available-widgets [class*="music"] .widget-title:before,
526 #available-widgets [class*="radio"] .widget-title:before,
527 #available-widgets [class*="audio"] .widget-title:before { content: "\f127"; }
530 #available-widgets [class*="login"] .widget-title:before,
531 #available-widgets [class*="user"] .widget-title:before,
532 #available-widgets [class*="member"] .widget-title:before,
533 #available-widgets [class*="avatar"] .widget-title:before,
534 #available-widgets [class*="subscriber"] .widget-title:before,
535 #available-widgets [class*="profile"] .widget-title:before,
536 #available-widgets [class*="grofile"] .widget-title:before { content: "\f110"; }
539 #available-widgets [class*="commerce"] .widget-title:before,
540 #available-widgets [class*="shop"] .widget-title:before,
541 #available-widgets [class*="cart"] .widget-title:before { content: "\f174"; top: -4px; }
544 #available-widgets [class*="secur"] .widget-title:before,
545 #available-widgets [class*="firewall"] .widget-title:before { content: "\f332"; }
548 #available-widgets [class*="analytic"] .widget-title:before,
549 #available-widgets [class*="stat"] .widget-title:before,
550 #available-widgets [class*="poll"] .widget-title:before { content: "\f185"; }
553 #available-widgets [class*="form"] .widget-title:before { content: "\f175"; }
556 #available-widgets [class*="subscribe"] .widget-title:before,
557 #available-widgets [class*="news"] .widget-title:before,
558 #available-widgets [class*="contact"] .widget-title:before,
559 #available-widgets [class*="mail"] .widget-title:before { content: "\f466"; }
562 #available-widgets [class*="share"] .widget-title:before,
563 #available-widgets [class*="socia"] .widget-title:before { content: "\f237"; }
566 #available-widgets [class*="lang"] .widget-title:before,
567 #available-widgets [class*="translat"] .widget-title:before { content: "\f326"; }
570 #available-widgets [class*="locat"] .widget-title:before,
571 #available-widgets [class*="map"] .widget-title:before { content: "\f231"; }
574 #available-widgets [class*="download"] .widget-title:before { content: "\f316"; }
577 #available-widgets [class*="weather"] .widget-title:before { content: "\f176"; top: -4px;}
580 #available-widgets [class*="facebook"] .widget-title:before { content: "\f304"; }
583 #available-widgets [class*="tweet"] .widget-title:before,
584 #available-widgets [class*="twitter"] .widget-title:before { content: "\f301"; }
587 @media screen and (max-height: 700px) and (min-width: 981px) {
592 -webkit-box-shadow: none;
606 .widget-top a.widget-action:after {
609 .widget-reorder-nav span {
612 .widget-reorder-nav span:before {
615 #customize-theme-controls .widget-area-select li {
616 padding: 9px 15px 11px 42px;
618 #customize-theme-controls .widget-area-select li:before {
623 @media screen and ( max-width: 640px ) {
624 body.adding-widget div#available-widgets {
631 #available-widgets-filter {