.customize-controls-close:focus, .customize-controls-close:hover, .customize-controls-preview-toggle:focus, .customize-controls-preview-toggle:hover { background: #fff; color: #2271b1; border-top-color: #2271b1; box-shadow: none; /* Only visible in Windows High Contrast mode */ outline: 1px solid transparent; }
#customize-theme-controls .accordion-section-title:focus .customize-action { /* Only visible in Windows High Contrast mode */ outline: 1px solid transparent; outline-offset: 1px; }
.customize-panel-back:hover, .customize-panel-back:focus, .customize-section-back:hover, .customize-section-back:focus { color: #2271b1; background: #f6f7f7; border-right-color: #2271b1; box-shadow: none; /* Only visible in Windows High Contrast mode */ outline: 2px solid transparent; outline-offset: -2px; }
/* Background position control */ .customize-control-background_position .background-position-control .button-group { display: block; }
/** * Code Editor Control and Custom CSS Section * * Modifications to the Section Container to make the textarea full-width and * full-height, if the control is the only control in the section. */
/* Don't show the theme count while the panel opens, as it's in the wrong place during the animation */ .in-themes-panel.animating .control-panel-themes .filter-themes-count { display: none; }
.customize-themes-full-container .customize-themes-section { display: none !important; /* There is unknown JS that perpetually tries to show all theme sections when more items are added. */ overflow: hidden; }
.customize-themes-full-container .customize-themes-section.current-section { display: list-item !important; /* There is unknown JS that perpetually tries to show all theme sections when more items are added. */ }
/* Unstick the filter bar on short windows/screens. This breakpoint is based on the current length of .org feature filters assuming translations do not wrap lines. */ @media screen and (max-height: 540px), screen and (max-width: 1018px) { .customize-preview-header.themes-filter-bar { position: relative; right: 0; width: 100%; margin: 0 0 25px; } .filter-drawer { top: 46px; } .wp-customizer .theme-browser .themes { padding: 0 25px 25px 0; overflow: hidden; }
/* Avoid a z-index war by resetting elements that should be under the overlay. This is likely required because of the way that sections and panels are positioned. */ .wp-customizer.modal-open #customize-header-actions, .wp-customizer.modal-open .control-panel-themes .filter-themes-count, .wp-customizer.modal-open .control-panel-themes .customize-themes-section-title.selected:after { z-index: -1; }
.wp-customizer .theme-overlay .theme-actions { text-align: left; /* Because there're only one or two actions, match the UI pattern of media modals and right-align the action. */ padding: 10px 25px 5px; background: #f0f0f1; border-top: 1px solid #dcdcde; }
.modal-open .in-themes-panel #customize-controls .wp-full-overlay-sidebar-content { overflow: visible; /* Prevent the top-level Customizer controls from becoming visible when elements on the right of the details modal are focused. */ }
/** * New widget and Add-menu-items modes and panels */
.wp-full-overlay-main { 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. */ width: 100%; }
#available-widgets-filter input::-ms-clear, #available-menu-items-search input::-ms-clear { display: none; /* remove the "x" in IE, which conflicts with the "x" icon on button.clear-results */ }
/* when the sidebar is collapsed and switching to responsive view, bring it back see ticket #35220 */ .wp-full-overlay.collapsed #customize-controls { margin-right: 0; }