/* General Widgets Styles */
.widget.open:focus-within {
.widget-top .widget-action {
-webkit-user-select: none;
.widgets-holder-wrap .widget-inside {
padding: 1px 15px 15px 15px;
.widget.widget-dirty .widget-control-close-wrapper {
#widgets-right a.widget-control-edit,
#available-widgets .widget-description {
.deleting .widget-top .widget-action .toggle-indicator:before {
.wp-core-ui .media-widget-control.selected .placeholder,
.wp-core-ui .media-widget-control.selected .not-selected,
.wp-core-ui .media-widget-control .selected {
.media-widget-control.selected .selected {
.media-widget-control .media-widget-buttons .button {
.media-widget-buttons .button:first-child {
.media-widget-control .attachment-media-view .button-add-media,
.media-widget-control .placeholder {
border: 1px dashed #c3c4c7;
.media-widget-control .attachment-media-view .button-add-media {
background-color: #f0f0f1;
.media-widget-control .attachment-media-view .button-add-media:hover {
.media-widget-control .attachment-media-view .button-add-media:focus {
box-shadow: 0 0 3px rgba(34, 113, 177, 0.8);
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
.media-widget-control .media-widget-preview {
.media-widget-control .media-widget-preview .notice {
.media-frame .media-widget-embed-notice p code,
.media-widget-control .notice p code {
.media-frame .media-widget-embed-notice {
.media-widget-control .media-widget-preview img {
background-image: linear-gradient(45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7);
background-position: 0 0, 10px 10px;
background-size: 20px 20px;
.media-widget-control .media-widget-preview .wp-video-shortcode {
.media-frame.media-widget .media-toolbar-secondary {
.media-frame.media-widget .image-details .embed-media-settings .setting.align,
.media-frame.media-widget .attachment-display-settings .setting.align,
.media-frame.media-widget .embed-media-settings .setting.align,
.media-frame.media-widget .embed-media-settings .legend-inline,
.media-frame.media-widget .embed-link-settings .setting.link-text,
.media-frame.media-widget .replace-attachment,
.media-frame.media-widget .checkbox-setting.autoplay {
.media-widget-video-preview {
.media-widget-video-link {
.media-widget-video-link .dashicons {
font: normal 60px/1 'dashicons';
.media-widget-video-link.no-poster .dashicons {
.media-frame #embed-url-field.invalid,
.media-widget-image-link > .link:invalid {
border: 1px solid #d63638;
.media-widget-image-link {
.media-widget-gallery-preview {
justify-content: flex-start;
.media-widget-preview.media_gallery,
.media-widget-preview.media_image {
.media-widget-preview .placeholder {
.media-widget-gallery-preview .gallery-item {
.media-widget-gallery-preview .gallery-item .gallery-icon {
* Use targeted nth-last-child selectors to control the size of each image
* based on how many gallery items are present in the grid.
* See: https://alistapart.com/article/quantity-queries-for-css
.media-widget-gallery-preview .gallery-item:nth-last-child(3):first-child,
.media-widget-gallery-preview .gallery-item:nth-last-child(3):first-child ~ .gallery-item,
.media-widget-gallery-preview .gallery-item:nth-last-child(n+5),
.media-widget-gallery-preview .gallery-item:nth-last-child(n+5) ~ .gallery-item,
.media-widget-gallery-preview .gallery-item:nth-last-child(n+6),
.media-widget-gallery-preview .gallery-item:nth-last-child(n+6) ~ .gallery-item {
.media-widget-gallery-preview .gallery-item img {
.media-widget-gallery-preview .gallery-icon {
.media-widget-gallery-preview .gallery-icon-placeholder {
background-color: rgba(0, 0, 0, 0.5);
.media-widget-gallery-preview .gallery-icon-placeholder-text {
/* Widget Dragging Helpers */
.widget.ui-draggable-dragging {
.widget.ui-sortable-helper {
border: 1px dashed #c3c4c7;
#widgets-right .widget-placeholder {
#widgets-right .closed .widget-placeholder {
.sidebar-name .handlediv {
#widgets-right .sidebar-name .handlediv {
.sidebar-name .handlediv:focus {
/* Only visible in Windows High Contrast mode */
outline: 1px solid transparent;
#widgets-left .sidebar-name .toggle-indicator {
#widgets-left .widgets-holder-wrap.closed .sidebar-name .toggle-indicator,
#widgets-left .sidebar-name:hover .toggle-indicator,
#widgets-left .sidebar-name .handlediv:focus .toggle-indicator {
.sidebar-name .toggle-indicator:before {
.sidebar-name .handlediv:focus .toggle-indicator:before {
0 0 2px 1px rgba(79, 148, 212, 0.8);
.widgets-holder-wrap .description {
.widget-holder .description,
.inactive-sidebar .description {
#widgets-right .widgets-holder-wrap .description {
/* Widgets 2-col Layout */
div.widget-liquid-right {
/* Widgets Left - Available Widgets */
div#widgets-left .closed .sidebar-name,
div#widgets-left .inactive-sidebar.closed .sidebar-name {
div#widgets-left .sidebar-name h2,
div#widgets-left .sidebar-name h3 {
#widgets-left .widgets-holder-wrap,
div#widgets-left .widget-holder {
#widgets-left .widgets-holder-wrap {
#available-widgets .widget {
#available-widgets .widget:nth-child(odd) {
#available-widgets .widget .widget-description {
overflow-wrap: break-word;
-ms-word-break: break-all;
#available-widgets #widget-list {
#widgets-left .inactive-sidebar {
#widgets-left .inactive-sidebar.first {
/* Not sure what this is for... */
div#widgets-left .inactive-sidebar .widget.expanded {
div#widgets-left .inactive-sidebar .widgets-sortables {
div#widgets-right .sidebars-column-1,
div#widgets-right .sidebars-column-2 {
div#widgets-right .widgets-holder-wrap {
div#widgets-right .sidebar-description {
div#widgets-right .sidebar-name h2,
div#widgets-right .sidebar-name h3 {
div#widgets-right .widget-top {
div#widgets-right .widgets-sortables {
div#widgets-right .closed .widgets-sortables {