@wordpress/editor
Version:
Enhanced block editor for WordPress posts.
2,043 lines (1,810 loc) • 197 kB
CSS
@charset "UTF-8";
/**
* Typography
*/
/**
* SCSS Variables.
*
* Please use variables from this sheet to ensure consistency across the UI.
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
*/
/**
* Colors
*/
/**
* Fonts & basic variables.
*/
/**
* Typography
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Radius scale.
*/
/**
* Elevation scale.
*/
/**
* Dimensions.
*/
/**
* Mobile specific styles
*/
/**
* Editor styles.
*/
/**
* Block & Editor UI.
*/
/**
* Block paddings.
*/
/**
* React Native specific.
* These variables do not appear to be used anywhere else.
*/
/**
* Breakpoints & Media Queries
*/
/**
* Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
* Long content fade mixin
*
* Creates a fading overlay to signify that the content is longer
* than the space allows.
*/
/**
* Breakpoint mixins
*/
/**
* Focus styles.
*/
/**
* Applies editor left position to the selector passed as argument
*/
/**
* Styles that are reused verbatim in a few places
*/
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
/**
* Reset default styles for JavaScript UI based pages.
* This is a WP-admin agnostic reset
*/
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* Creates a checkerboard pattern background to indicate transparency.
* @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
*/
:root {
--wp-block-synced-color: #7a00df;
--wp-block-synced-color--rgb: 122, 0, 223;
--wp-bound-block-color: var(--wp-block-synced-color);
--wp-editor-canvas-background: #ddd;
--wp-admin-theme-color: #007cba;
--wp-admin-theme-color--rgb: 0, 124, 186;
--wp-admin-theme-color-darker-10: rgb(0, 107, 160.5);
--wp-admin-theme-color-darker-10--rgb: 0, 107, 160.5;
--wp-admin-theme-color-darker-20: #005a87;
--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
--wp-admin-border-width-focus: 2px;
}
@media (min-resolution: 192dpi) {
:root {
--wp-admin-border-width-focus: 1.5px;
}
}
.admin-ui-page {
display: flex;
height: 100%;
background-color: var(--wpds-color-bg-surface-neutral-strong, #ffffff);
color: var(--wpds-color-fg-content-neutral, #1e1e1e);
position: relative;
z-index: 1;
flex-flow: column;
text-wrap: pretty;
}
.admin-ui-page__header {
padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px);
border-bottom: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-surface-neutral-weak, #e0e0e0);
background: var(--wpds-color-bg-surface-neutral-strong, #ffffff);
position: sticky;
top: 0;
z-index: 1;
}
.admin-ui-page__header-title {
font-family: var(--wpds-font-family-heading, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
font-size: var(--wpds-font-size-lg, 15px);
font-weight: var(--wpds-font-weight-medium, 499);
line-height: var(--wpds-font-line-height-lg, 28px);
margin: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.admin-ui-page__sidebar-toggle-slot:empty {
display: none;
}
.admin-ui-page__header-subtitle {
padding-block-end: var(--wpds-dimension-padding-xs, 4px);
color: var(--wpds-color-fg-content-neutral-weak, #6d6d6d);
font-size: var(--wpds-font-size-md, 13px);
line-height: var(--wpds-font-line-height-md, 24px);
margin: 0;
}
.admin-ui-page__content {
flex-grow: 1;
overflow: auto;
display: flex;
flex-direction: column;
}
.admin-ui-page__content.has-padding {
padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
}
.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon {
width: auto;
padding: 0 var(--wpds-dimension-padding-xs, 4px);
}
.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon svg {
display: none;
}
.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon::after {
content: attr(aria-label);
font-size: var(--wpds-font-size-sm, 12px);
}
/**
* SCSS Variables.
*
* Please use variables from this sheet to ensure consistency across the UI.
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
*/
/**
* Colors
*/
/**
* Fonts & basic variables.
*/
/**
* Typography
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Radius scale.
*/
/**
* Elevation scale.
*/
/**
* Dimensions.
*/
/**
* Mobile specific styles
*/
/**
* Editor styles.
*/
/**
* Block & Editor UI.
*/
/**
* Block paddings.
*/
/**
* React Native specific.
* These variables do not appear to be used anywhere else.
*/
.admin-ui-breadcrumbs__list {
font-family: var(--wpds-font-family-heading, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
font-size: var(--wpds-font-size-lg, 15px);
font-weight: var(--wpds-font-weight-medium, 499);
line-height: var(--wpds-font-line-height-lg, 28px);
list-style: none;
padding: 0;
margin: 0;
gap: 0;
min-height: 32px;
}
.admin-ui-breadcrumbs__list li:not(:last-child)::after {
content: "/";
margin: 0 8px;
}
.admin-ui-breadcrumbs__list h1 {
font-size: inherit;
line-height: inherit;
}
/**
* Colors
*/
/**
* SCSS Variables.
*
* Please use variables from this sheet to ensure consistency across the UI.
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
*/
/**
* Fonts & basic variables.
*/
/**
* Typography
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Radius scale.
*/
/**
* Elevation scale.
*/
/**
* Dimensions.
*/
/**
* Mobile specific styles
*/
/**
* Editor styles.
*/
/**
* Block & Editor UI.
*/
/**
* Block paddings.
*/
/**
* React Native specific.
* These variables do not appear to be used anywhere else.
*/
.interface-complementary-area-header {
background: #fff;
padding-right: 8px;
gap: 4px;
}
.interface-complementary-area-header .interface-complementary-area-header__title {
margin: 0 auto 0 0;
}
/**
* Typography
*/
/**
* Breakpoints & Media Queries
*/
/**
* Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
* Long content fade mixin
*
* Creates a fading overlay to signify that the content is longer
* than the space allows.
*/
/**
* Breakpoint mixins
*/
/**
* Focus styles.
*/
/**
* Applies editor left position to the selector passed as argument
*/
/**
* Styles that are reused verbatim in a few places
*/
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
/**
* Reset default styles for JavaScript UI based pages.
* This is a WP-admin agnostic reset
*/
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* Creates a checkerboard pattern background to indicate transparency.
* @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
*/
.interface-complementary-area {
background: #fff;
color: #1e1e1e;
height: 100%;
overflow: auto;
}
@media (min-width: 782px) {
.interface-complementary-area {
width: 280px;
}
}
.interface-complementary-area .components-panel {
border: none;
position: relative;
z-index: 0;
}
.interface-complementary-area .components-panel__header {
position: sticky;
top: 0;
z-index: 1;
}
.interface-complementary-area .components-panel__header.editor-sidebar__panel-tabs {
top: 0;
}
.interface-complementary-area p:not(.components-base-control__help, .components-form-token-field__help) {
margin-top: 0;
}
.interface-complementary-area h2 {
font-size: 13px;
font-weight: 499;
color: #1e1e1e;
margin-bottom: 1.5em;
}
.interface-complementary-area h3 {
font-size: 11px;
text-transform: uppercase;
font-weight: 499;
color: #1e1e1e;
margin-bottom: 1.5em;
}
.interface-complementary-area hr {
border-top: none;
border-bottom: 1px solid #f0f0f0;
margin: 1.5em 0;
}
.interface-complementary-area div.components-toolbar-group,
.interface-complementary-area div.components-toolbar {
box-shadow: none;
margin-bottom: 1.5em;
}
.interface-complementary-area div.components-toolbar-group:last-child,
.interface-complementary-area div.components-toolbar:last-child {
margin-bottom: 0;
}
.interface-complementary-area .block-editor-skip-to-selected-block:focus {
top: auto;
right: 10px;
bottom: 10px;
left: auto;
}
.interface-complementary-area__fill {
height: 100%;
}
@media (min-width: 782px) {
body.js.is-fullscreen-mode {
margin-top: -32px;
height: calc(100% + 32px);
}
body.js.is-fullscreen-mode #adminmenumain,
body.js.is-fullscreen-mode #wpadminbar {
display: none;
}
body.js.is-fullscreen-mode #wpcontent,
body.js.is-fullscreen-mode #wpfooter {
margin-left: 0;
}
}
html.interface-interface-skeleton__html-container {
position: fixed;
width: 100%;
}
@media (min-width: 782px) {
html.interface-interface-skeleton__html-container:not(:has(.is-zoom-out)) {
position: initial;
width: initial;
}
}
.interface-interface-skeleton {
display: flex;
flex-direction: row;
height: auto;
max-height: 100%;
position: fixed;
top: 46px;
left: 0;
right: 0;
bottom: 0;
}
@media (min-width: 783px) {
.interface-interface-skeleton {
top: 32px;
}
.is-fullscreen-mode .interface-interface-skeleton {
top: 0;
}
}
.interface-interface-skeleton__editor {
display: flex;
flex-direction: column;
flex: 0 1 100%;
overflow: hidden;
}
.interface-interface-skeleton { /* Set left position when auto-fold is not on the body element. */
left: 0;
}
@media (min-width: 783px) {
.interface-interface-skeleton {
left: 160px;
}
}
.auto-fold .interface-interface-skeleton { /* Auto fold is when on smaller breakpoints, nav menu auto collapses. */ }
@media (min-width: 783px) {
.auto-fold .interface-interface-skeleton {
left: 36px;
}
}
@media (min-width: 961px) {
.auto-fold .interface-interface-skeleton {
left: 160px;
}
}
/* Sidebar manually collapsed. */
.folded .interface-interface-skeleton {
left: 0;
}
@media (min-width: 783px) {
.folded .interface-interface-skeleton {
left: 36px;
}
}
body.is-fullscreen-mode .interface-interface-skeleton {
left: 0 !important;
}
.interface-interface-skeleton__body {
position: relative;
flex-grow: 1;
display: flex;
overflow: auto;
overscroll-behavior-y: none;
}
@media (min-width: 782px) {
.has-footer .interface-interface-skeleton__body {
padding-bottom: 25px;
}
}
.interface-interface-skeleton__content {
flex-grow: 1;
display: flex;
flex-direction: column;
overflow: auto;
z-index: 20;
}
@media (min-width: 782px) {
.interface-interface-skeleton__content {
z-index: auto;
}
}
.interface-interface-skeleton__secondary-sidebar,
.interface-interface-skeleton__sidebar {
flex-shrink: 0;
position: absolute;
z-index: 100000;
top: 0;
left: 0;
bottom: 0;
background: #fff;
color: #1e1e1e;
width: auto;
}
@media (min-width: 782px) {
.interface-interface-skeleton__secondary-sidebar,
.interface-interface-skeleton__sidebar {
position: relative !important;
}
}
.interface-interface-skeleton__sidebar {
border-top: 1px solid #e0e0e0;
overflow: hidden;
}
@media (min-width: 782px) {
.interface-interface-skeleton__sidebar {
box-shadow: -1px 0 0 0 rgba(0, 0, 0, 0.133);
outline: 1px solid transparent;
}
}
.interface-interface-skeleton__secondary-sidebar {
border-top: 1px solid #e0e0e0;
right: 0;
}
@media (min-width: 782px) {
.interface-interface-skeleton__secondary-sidebar {
box-shadow: 1px 0 0 0 rgba(0, 0, 0, 0.133);
outline: 1px solid transparent;
}
}
.interface-interface-skeleton__header {
flex-shrink: 0;
height: auto;
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.133);
z-index: 30;
color: #1e1e1e;
outline: 1px solid transparent;
}
.interface-interface-skeleton__footer {
height: auto;
flex-shrink: 0;
border-top: 1px solid #e0e0e0;
color: #1e1e1e;
position: absolute;
bottom: 0;
left: 0;
width: 100%;
background-color: #fff;
z-index: 90;
display: none;
}
@media (min-width: 782px) {
.interface-interface-skeleton__footer {
display: flex;
}
}
.interface-interface-skeleton__footer .block-editor-block-breadcrumb {
z-index: 30;
display: flex;
background: #fff;
height: 24px;
align-items: center;
font-size: 13px;
padding: 0 18px;
}
.interface-interface-skeleton__actions {
z-index: 100000;
position: fixed !important;
top: -9999em;
bottom: auto;
left: auto;
right: 0;
color: #1e1e1e;
background: #fff;
width: 100vw;
}
@media (min-width: 782px) {
.interface-interface-skeleton__actions {
width: 280px;
}
}
.interface-interface-skeleton__actions:focus, .interface-interface-skeleton__actions:focus-within {
top: auto;
bottom: 0;
}
.is-entity-save-view-open .interface-interface-skeleton__actions:focus, .is-entity-save-view-open .interface-interface-skeleton__actions:focus-within {
top: 46px;
}
@media (min-width: 782px) {
.is-entity-save-view-open .interface-interface-skeleton__actions:focus, .is-entity-save-view-open .interface-interface-skeleton__actions:focus-within {
border-left: 1px solid #ddd;
top: 32px;
}
.is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus, .is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus-within {
top: 0;
}
}
.interface-pinned-items {
display: flex;
}
.interface-pinned-items .components-button {
display: none;
margin: 0;
}
.interface-pinned-items .components-button[aria-controls="edit-post:document"], .interface-pinned-items .components-button[aria-controls="edit-post:block"], .interface-pinned-items .components-button[aria-controls="edit-site:template"], .interface-pinned-items .components-button[aria-controls="edit-site:block-inspector"] {
display: flex;
}
.interface-pinned-items .components-button svg {
max-width: 24px;
max-height: 24px;
}
@media (min-width: 600px) {
.interface-pinned-items .components-button {
display: flex;
}
}
.interface-pinned-items {
gap: 8px;
}
/**
* SCSS Variables.
*
* Please use variables from this sheet to ensure consistency across the UI.
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
*/
/**
* Colors
*/
/**
* Fonts & basic variables.
*/
/**
* Typography
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Radius scale.
*/
/**
* Elevation scale.
*/
/**
* Dimensions.
*/
/**
* Mobile specific styles
*/
/**
* Editor styles.
*/
/**
* Block & Editor UI.
*/
/**
* Block paddings.
*/
/**
* React Native specific.
* These variables do not appear to be used anywhere else.
*/
/**
* Typography
*/
/**
* Breakpoints & Media Queries
*/
/**
* Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
* Long content fade mixin
*
* Creates a fading overlay to signify that the content is longer
* than the space allows.
*/
/**
* Breakpoint mixins
*/
/**
* Focus styles.
*/
/**
* Applies editor left position to the selector passed as argument
*/
/**
* Styles that are reused verbatim in a few places
*/
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
/**
* Reset default styles for JavaScript UI based pages.
* This is a WP-admin agnostic reset
*/
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* Creates a checkerboard pattern background to indicate transparency.
* @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
*/
@media (min-width: 782px) {
.font-library-modal.font-library-modal {
width: 65vw;
}
}
.font-library-modal .components-modal__header {
border-bottom: none;
}
.font-library-modal .components-modal__content {
padding: 0;
margin-bottom: 90px;
}
.font-library-modal .font-library__subtitle {
text-transform: uppercase;
font-weight: 499;
font-size: 11px;
}
.font-library-modal__tab-panel {
height: calc(100% - 50px);
}
.font-library__tabpanel-layout {
height: 100%;
display: flex;
flex-direction: column;
}
.font-library__tabpanel-layout > div {
flex-grow: 1;
}
.font-library__tabpanel-layout .font-library__loading {
width: 100%;
height: 100%;
display: flex;
position: absolute;
left: 0;
top: 0;
align-items: center;
justify-content: center;
padding-top: 124px;
box-sizing: border-box;
}
.font-library__tabpanel-layout .components-navigator-screen {
padding: 24px;
width: 100%;
}
.font-library__footer {
position: absolute;
width: 100%;
bottom: 0;
border-top: 1px solid #ddd;
padding: 24px;
background-color: #fff;
box-sizing: border-box;
flex-grow: 0 !important;
flex-shrink: 0;
height: 90px;
}
.font-library__page-selection {
font-size: 11px;
font-weight: 499;
text-transform: uppercase;
}
@media (min-width: 600px) {
.font-library__page-selection .font-library__page-selection-trigger {
font-size: 11px !important;
font-weight: 499;
}
}
.font-library__fonts-title {
text-transform: uppercase;
font-size: 11px;
font-weight: 600;
margin-top: 0;
margin-bottom: 0;
}
.font-library__fonts-list {
list-style: none;
padding: 0;
margin-top: 0;
margin-bottom: 0;
}
.font-library__fonts-list-item {
margin-bottom: 0;
}
.font-library__font-card {
box-sizing: border-box;
border: 1px solid #ddd;
width: 100%;
height: auto !important;
padding: 16px;
margin-top: -1px; /* To collapse the margin with the previous element */
}
.font-library__font-card:hover {
background-color: #f0f0f0;
}
.font-library__font-card:focus {
position: relative;
}
.font-library__font-card .font-library__font-card__name {
font-weight: bold;
}
.font-library__font-card .font-library__font-card__count {
color: #757575;
}
.font-library__font-card .font-library__font-variant_demo-image {
display: block;
height: 24px;
width: auto;
}
.font-library__font-card .font-library__font-variant_demo-text {
white-space: nowrap;
flex-shrink: 0;
}
@media not (prefers-reduced-motion) {
.font-library__font-card .font-library__font-variant_demo-text {
transition: opacity 0.3s ease-in-out;
}
}
.font-library-modal__tablist-container {
position: sticky;
top: 0;
border-bottom: 1px solid #ddd;
background: #fff;
z-index: 1;
}
.font-library__upload-area {
align-items: center;
display: flex;
justify-content: center;
height: 256px !important;
width: 100%;
}
button.font-library__upload-area {
background-color: #f0f0f0;
}
.font-library__local-fonts {
margin: 24px auto;
width: 80%;
}
.font-library__local-fonts .font-library__upload-area__text {
color: #757575;
}
.font-library__google-fonts-confirm {
display: flex;
justify-content: center;
align-items: center;
margin-top: 64px;
}
.font-library__google-fonts-confirm p {
line-height: 1.4;
}
.font-library__google-fonts-confirm h2 {
font-size: 1.2rem;
font-weight: 400;
}
.font-library__google-fonts-confirm .components-card {
padding: 16px;
width: 400px;
}
.font-library__google-fonts-confirm .components-button {
width: 100%;
justify-content: center;
}
.font-library__select-all {
padding: 16px 16px 16px 17px;
}
.font-library__select-all .components-checkbox-control__label {
padding-left: 16px;
}
.global-styles-ui-pagination .components-button.is-tertiary {
width: 32px;
height: 32px;
justify-content: center;
}
.global-styles-ui-screen-revisions__revisions-list {
list-style: none;
margin: 0 16px 16px 16px;
flex-grow: 1;
}
.global-styles-ui-screen-revisions__revisions-list li {
margin-bottom: 0;
}
.global-styles-ui-screen-revisions__revision-item {
position: relative;
cursor: pointer;
display: flex;
flex-direction: column;
}
.global-styles-ui-screen-revisions__revision-item[role=option]:active, .global-styles-ui-screen-revisions__revision-item[role=option]:focus {
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
outline: 2px solid transparent;
}
.global-styles-ui-screen-revisions__revision-item:hover {
background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
}
.global-styles-ui-screen-revisions__revision-item:hover .global-styles-ui-screen-revisions__date {
color: var(--wp-admin-theme-color);
}
.global-styles-ui-screen-revisions__revision-item::before, .global-styles-ui-screen-revisions__revision-item::after {
position: absolute;
content: "\a";
display: block;
}
.global-styles-ui-screen-revisions__revision-item::before {
background: #ddd;
border-radius: 50%;
height: 8px;
width: 8px;
top: 18px;
left: 17px;
transform: translate(-50%, -50%);
z-index: 1;
border: 4px solid transparent;
}
.global-styles-ui-screen-revisions__revision-item[aria-selected=true] {
border-radius: 2px;
outline: 3px solid transparent;
outline-offset: -2px;
color: var(--wp-admin-theme-color);
background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
}
.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__date {
color: var(--wp-admin-theme-color);
}
.global-styles-ui-screen-revisions__revision-item[aria-selected=true]::before {
background: var(--wp-admin-theme-color);
}
.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__changes > li,
.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__meta,
.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__applied-text {
color: #1e1e1e;
}
.global-styles-ui-screen-revisions__revision-item::after {
height: 100%;
left: 16px;
top: 0;
width: 0;
border: 0.5px solid #ddd;
}
.global-styles-ui-screen-revisions__revision-item:first-child::after {
top: 18px;
}
.global-styles-ui-screen-revisions__revision-item:last-child::after {
height: 18px;
}
.global-styles-ui-screen-revisions__revision-item-wrapper {
display: block;
padding: 12px 12px 4px 40px;
}
.global-styles-ui-screen-revisions__apply-button.is-primary,
.global-styles-ui-screen-revisions__applied-text {
align-self: flex-start;
margin: 4px 12px 12px 40px;
}
.global-styles-ui-screen-revisions__changes,
.global-styles-ui-screen-revisions__meta,
.global-styles-ui-screen-revisions__applied-text {
color: #757575;
font-size: 12px;
}
.global-styles-ui-screen-revisions__description {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 8px;
}
.global-styles-ui-screen-revisions__description .global-styles-ui-screen-revisions__date {
text-transform: uppercase;
font-weight: 600;
font-size: 12px;
}
.global-styles-ui-screen-revisions__meta {
display: flex;
justify-content: start;
width: 100%;
align-items: flex-start;
text-align: left;
margin-bottom: 4px;
}
.global-styles-ui-screen-revisions__meta img {
width: 16px;
height: 16px;
border-radius: 100%;
margin-right: 8px;
}
.global-styles-ui-screen-revisions__loading {
margin: 24px auto !important;
}
.global-styles-ui-screen-revisions__changes {
text-align: left;
line-height: 1.4;
margin-left: 12px;
list-style: disc;
}
.global-styles-ui-screen-revisions__changes li {
margin-bottom: 4px;
}
.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination {
justify-content: space-between;
gap: 2px;
}
.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .edit-site-pagination__total {
position: absolute;
left: -1000px;
height: 1px;
margin: -1px;
overflow: hidden;
}
.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-text {
font-size: 12px;
will-change: opacity;
}
.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary {
color: #1e1e1e;
}
.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary:disabled,
.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary[aria-disabled=true] {
color: #949494;
}
.global-styles-ui-screen-revisions__footer {
height: 56px;
z-index: 1;
position: sticky;
min-width: 100%;
bottom: 0;
background: #fff;
padding: 12px;
border-top: 1px solid #ddd;
}
.global-styles-ui-variations_item {
box-sizing: border-box;
cursor: pointer;
}
.global-styles-ui-variations_item .global-styles-ui-variations_item-preview {
border-radius: 2px;
outline: 1px solid rgba(0, 0, 0, 0.1);
outline-offset: -1px;
overflow: hidden;
position: relative;
}
@media not (prefers-reduced-motion) {
.global-styles-ui-variations_item .global-styles-ui-variations_item-preview {
transition: outline 0.1s linear;
}
}
.global-styles-ui-variations_item .global-styles-ui-variations_item-preview.is-pill {
height: 32px;
}
.global-styles-ui-variations_item .global-styles-ui-variations_item-preview.is-pill .block-editor-iframe__scale-container {
overflow: hidden;
}
.global-styles-ui-variations_item:not(.is-active):hover .global-styles-ui-variations_item-preview {
outline-color: rgba(0, 0, 0, 0.3);
}
.global-styles-ui-variations_item.is-active .global-styles-ui-variations_item-preview, .global-styles-ui-variations_item:focus-visible .global-styles-ui-variations_item-preview {
outline-color: #1e1e1e;
outline-offset: 1px;
outline-width: var(--wp-admin-border-width-focus);
}
.global-styles-ui-variations_item:focus-visible .global-styles-ui-variations_item-preview {
outline-color: var(--wp-admin-theme-color);
}
.global-styles-ui-preview {
display: flex;
align-items: center;
justify-content: center;
line-height: 1;
cursor: pointer;
}
.global-styles-ui-preview__wrapper {
max-width: 100%;
display: block;
width: 100%;
}
.global-styles-ui-typography-preview {
display: flex;
align-items: center;
justify-content: center;
min-height: 100px;
margin-bottom: 20px;
background: #f0f0f0;
border-radius: 2px;
overflow: hidden;
}
.global-styles-ui-font-size__item {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
line-break: anywhere;
}
.global-styles-ui-font-size__item-value {
color: #757575;
}
.global-styles-ui-screen-typography__indicator {
height: 24px;
width: 24px;
font-size: 14px;
display: flex !important;
align-items: center;
justify-content: center;
border-radius: 2px;
}
.global-styles-ui-block-types-search {
margin-bottom: 10px;
padding: 0 16px;
}
.global-styles-ui-screen-typography__font-variants-count {
color: #757575;
}
.global-styles-ui-font-families__manage-fonts {
justify-content: center;
}
.global-styles-ui-screen .color-block-support-panel {
padding-left: 0;
padding-right: 0;
padding-top: 0;
border-top: none;
row-gap: 12px;
}
.global-styles-ui-header {
margin-bottom: 0 !important;
}
.global-styles-ui-subtitle {
margin-bottom: 0 !important;
text-transform: uppercase;
font-weight: 499 !important;
font-size: 11px !important;
}
.global-styles-ui-section-title {
color: #2f2f2f;
font-weight: 600;
line-height: 1.2;
padding: 16px 16px 0;
margin: 0;
}
.global-styles-ui-icon-with-current-color {
fill: currentColor;
}
.global-styles-ui__color-indicator-wrapper {
height: 24px;
flex-shrink: 0;
}
.global-styles-ui__shadows-panel__options-container,
.global-styles-ui__typography-panel__options-container {
height: 24px;
}
.global-styles-ui__block-preview-panel {
position: relative;
width: 100%;
border: #ddd 1px solid;
border-radius: 2px;
overflow: hidden;
}
.global-styles-ui__shadow-preview-panel {
height: 144px;
border: #ddd 1px solid;
border-radius: 2px;
overflow: auto;
/*rtl:begin:ignore*/
background-image: repeating-linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0), repeating-linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0);
background-position: 0 0, 8px 8px;
/*rtl:end:ignore*/
background-size: 16px 16px;
}
.global-styles-ui__shadow-preview-panel .global-styles-ui__shadow-preview-block {
border: #ddd 1px solid;
border-radius: 2px;
background-color: #fff;
width: 60%;
height: 60px;
}
.global-styles-ui__shadow-editor__dropdown-content {
width: 280px;
}
.global-styles-ui__shadow-editor-panel {
margin-bottom: 4px;
}
.global-styles-ui__shadow-editor__dropdown {
width: 100%;
position: relative;
}
.global-styles-ui__shadow-editor__dropdown-toggle {
width: 100%;
height: auto;
padding-top: 8px;
padding-bottom: 8px;
text-align: left;
border-radius: inherit;
}
.global-styles-ui__shadow-editor__dropdown-toggle.is-open {
background: #f0f0f0;
color: var(--wp-admin-theme-color);
}
.global-styles-ui__shadow-editor__remove-button {
position: absolute;
right: 8px;
top: 8px;
opacity: 0;
}
.global-styles-ui__shadow-editor__remove-button.global-styles-ui__shadow-editor__remove-button {
border: none;
}
.global-styles-ui__shadow-editor__dropdown-toggle:hover + .global-styles-ui__shadow-editor__remove-button, .global-styles-ui__shadow-editor__remove-button:focus, .global-styles-ui__shadow-editor__remove-button:hover {
opacity: 1;
}
@media (hover: none) {
.global-styles-ui__shadow-editor__remove-button {
opacity: 1;
}
}
.global-styles-ui-screen-css {
flex: 1 1 auto;
display: flex;
flex-direction: column;
margin: 16px;
}
.global-styles-ui-screen-css .components-v-stack {
flex: 1 1 auto;
}
.global-styles-ui-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input {
flex: 1 1 auto;
display: flex;
flex-direction: column;
}
.global-styles-ui-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input .components-base-control__field {
flex: 1 1 auto;
display: flex;
flex-direction: column;
}
.global-styles-ui-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input .components-base-control__field .components-textarea-control__input {
flex: 1 1 auto;
/*rtl:ignore*/
direction: ltr;
}
.global-styles-ui-screen-css-help-link {
display: inline-block;
margin-top: 8px;
}
.global-styles-ui-screen-variations {
margin-top: 16px;
border-top: 1px solid #ddd;
}
.global-styles-ui-screen-variations > * {
margin: 24px 16px;
}
.global-styles-ui-sidebar__navigator-provider {
height: 100%;
}
.global-styles-ui-sidebar__navigator-screen {
display: flex;
flex-direction: column;
height: 100%;
}
.global-styles-ui-sidebar__navigator-screen .single-column {
grid-column: span 1;
}
.global-styles-ui-screen-root.global-styles-ui-screen-root,
.global-styles-ui-screen-style-variations.global-styles-ui-screen-style-variations {
background: unset;
color: inherit;
}
.global-styles-ui-sidebar__panel .block-editor-block-icon svg {
fill: currentColor;
}
.global-styles-ui-screen-root__active-style-tile.global-styles-ui-screen-root__active-style-tile, .global-styles-ui-screen-root__active-style-tile.global-styles-ui-screen-root__active-style-tile .global-styles-ui-screen-root__active-style-tile-preview {
border-radius: 2px;
}
.global-styles-ui-screen-root__active-style-tile-preview {
clip-path: border-box;
}
.global-styles-ui-color-palette-panel,
.global-styles-ui-gradient-palette-panel {
padding: 16px;
}
/**
* Colors
*/
/**
* SCSS Variables.
*
* Please use variables from this sheet to ensure consistency across the UI.
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
*/
/**
* Fonts & basic variables.
*/
/**
* Typography
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Radius scale.
*/
/**
* Elevation scale.
*/
/**
* Dimensions.
*/
/**
* Mobile specific styles
*/
/**
* Editor styles.
*/
/**
* Block & Editor UI.
*/
/**
* Block paddings.
*/
/**
* React Native specific.
* These variables do not appear to be used anywhere else.
*/
/**
* Typography
*/
/**
* Breakpoints & Media Queries
*/
/**
* Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
* Long content fade mixin
*
* Creates a fading overlay to signify that the content is longer
* than the space allows.
*/
/**
* Breakpoint mixins
*/
/**
* Focus styles.
*/
/**
* Applies editor left position to the selector passed as argument
*/
/**
* Styles that are reused verbatim in a few places
*/
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
/**
* Reset default styles for JavaScript UI based pages.
* This is a WP-admin agnostic reset
*/
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* Creates a checkerboard pattern background to indicate transparency.
* @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
*/
.dataviews-wrapper,
.dataviews-picker-wrapper {
height: 100%;
box-sizing: border-box;
scroll-padding-bottom: 64px;
/* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
container: dataviews-wrapper/inline-size;
display: flex;
flex-direction: column;
font-size: 13px;
line-height: 1.4;
background-color: var(--wp-dataviews-color-background, #fff);
}
.dataviews__view-actions,
.dataviews-filters__container {
box-sizing: border-box;
padding: 16px 24px;
flex-shrink: 0;
position: sticky;
left: 0;
background-color: inherit;
}
@media not (prefers-reduced-motion) {
.dataviews__view-actions,
.dataviews-filters__container {
transition: padding ease-out 0.1s;
}
}
.dataviews-no-results,
.dataviews-loading {
padding: 0 24px;
flex-grow: 1;
display: flex;
align-items: center;
justify-content: center;
}
@media not (prefers-reduced-motion) {
.dataviews-no-results,
.dataviews-loading {
transition: padding ease-out 0.1s;
}
}
.dataviews-no-results.is-refreshing {
opacity: 0.5;
pointer-events: none;
}
@media not (prefers-reduced-motion) {
.dataviews-no-results.is-refreshing {
opacity: 1;
animation: dataviews-pulse 1s ease-in-out infinite;
}
}
@keyframes dataviews-pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}
.dataviews-loading-more {
text-align: center;
}
@container (max-width: 430px) {
.dataviews__view-actions,
.dataviews-filters__container {
padding: 12px 24px;
}
}
.dataviews-title-field {
font-size: 13px;
font-weight: 499;
color: #2f2f2f;
text-overflow: ellipsis;
white-space: nowrap;
width: 100%;
}
.dataviews-title-field a {
text-decoration: none;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
display: block;
flex-grow: 0;
color: #2f2f2f;
}
.dataviews-title-field a:hover {
color: var(--wp-admin-theme-color);
}
.dataviews-title-field a:focus {
color: var(--wp-admin-theme-color--rgb);
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color, #007cba);
border-radius: 2px;
}
.dataviews-title-field button.components-button.is-link {
text-decoration: none;
font-weight: inherit;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
display: block;
width: 100%;
color: #1e1e1e;
}
.dataviews-title-field button.components-button.is-link:hover {
color: var(--wp-admin-theme-color);
}
.dataviews-title-field--clickable {
cursor: pointer;
color: #2f2f2f;
}
.dataviews-title-field--clickable:hover {
color: var(--wp-admin-theme-color);
}
.dataviews-title-field--clickable:focus {
color: var(--wp-admin-theme-color--rgb);
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color, #007cba);
border-radius: 2px;
}
.dataviews__view-actions--infinite-scroll {
position: sticky;
top: 0;
z-index: 2;
background-color: #fff;
}
.dataviews-bulk-actions-footer__item-count {
color: #1e1e1e;
}
.dataviews-bulk-actions-footer__container {
margin-right: auto;
min-height: 32px;
}
.dataviews-layout__container {
flex: 1;
min-height: 0;
overflow: auto;
display: flex;
flex-direction: column;
background-color: inherit;
}
.dataviews-filters__button {
position: relative;
}
.dataviews-filters__container {
padding-top: 0;
}
.dataviews-filters__reset-button.dataviews-filters__reset-button[aria-disabled=true], .dataviews-filters__reset-button.dataviews-filters__reset-button[aria-disabled=true]:hover {
opacity: 0;
}
.dataviews-filters__reset-button.dataviews-filters__reset-button[aria-disabled=true]:focus {
opacity: 1;
}
.dataviews-filters__summary-popover {
font-size: 13px;
line-height: 1.4;
}
.dataviews-filters__summary-popover .components-popover__content {
width: 100%;
min-width: 230px;
max-width: 250px;
border-radius: 4px;
}
.dataviews-filters__summary-popover.components-dropdown__content .components-popover__content {
padding: 0;
}
.dataviews-filters__summary-operators-container {
padding: 8px 16px;
}
.dataviews-filters__summary-operators-container:has(+ .dataviews-filters__search-widget-listbox), .dataviews-filters__summary-operators-container:has(+ .dataviews-filters__search-widget-no-elements), .dataviews-filters__summary-operators-container:has(+ .dataviews-filters__user-input-widget) {
border-bottom: 1px solid #e0e0e0;
}
.dataviews-filters__summary-operators-container:empty {
display: none;
}
.dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-name {
color: #757575;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
flex-shrink: 0; /* Prevents this element from shrinking */
max-width: calc(100% - 55px);
}
.dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-select {
width: 100%;
white-space: nowrap;
overflow: hidden;
}
.dataviews-filters__summary-chip-container {
position: relative;
white-space: pre-wrap;
}
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip {
border-radius: 16px;
border: 1px solid transparent;
cursor: pointer;
padding: 4px 12px;
min-height: 32px;
background: #f0f0f0;
color: #2f2f2f;
position: relative;
display: flex;
align-items: center;
box-sizing: border-box;
}
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.is-not-clickable {
cursor: default;
}
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-reset {
padding-inline-end: 28px;
}
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:hover:not(.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.is-not-clickable), .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:focus-visible, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip[aria-expanded=true] {
background: #e0e0e0;
color: #1e1e1e;
}
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values {
color: var(--wp-admin-theme-color);
background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
}
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values[aria-expanded=true] {
background: rgba(var(--wp-admin-theme-color--rgb), 0.12);
}
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:focus-visible {
outline: none;
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
}
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip .dataviews-filters-__summary-filter-text-name {
font-weight: 499;
}
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove {
width: 24px;
height: 24px;
border-radius: 50%;
border: 0;
padding: 0;
position: absolute;
right: 4px;
top: 50%;
transform: translateY(-50%);
display: flex;
align-items: center;
justify-content: center;
background: transparent;
cursor: pointer;
}
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove svg {
fill: #757575;
}
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus {
background: #e0e0e0;
}
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover svg, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus svg {
fill: #1e1e1e;
}
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values svg {
fill: var(--wp-admin-theme-color);
}
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values:hover {
background: rgba(var(--wp-admin-theme-color--rgb), 0.08);
}
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus-visible {
outline: none;
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
}
.dataviews-filters__search-widget-filter-combobox-list {
max-height: 184px;
padding: 4px;
overflow: auto;
border-top: 1px solid #e0e0e0;
}
.dataviews-filters__search-widget-filter-combobox-list .dataviews-filters__search-widget-filter-combobox-item-value [data-user-value] {
font-weight: 600;
}
.dataviews-filters__search-widget-listbox {
padding: 4px;
overflow: auto;
}
.dataviews-filters__search-widget-listitem {
display: flex;
align-items: center;
gap: 8px;
border-radius: 2px;
box-sizing: border-box;
padding: 4px 12px;
cursor: default;
min-height: 32px;
font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: 400;
font-size: 13px;
line-height: 20px;
}
.dataviews-filters__search-widget-listitem:last-child {
margin-block-end: 0;
}
.dataviews-filters__search-widget-listitem:hover, .dataviews-filters__search-widget-listitem[data-active-item], .dataviews-filters__search-widget-listitem:focus {
background-color: var(--wp-admin-theme-color);
color: #fff;
}
.dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-description {
color: #fff;
}
.dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-single-selection, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-single-selection, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-single-selection {
border-color: var(--wp-admin-theme-color-darker-20, #183ad6);
background: #fff;
}
.dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-single-selection.is-selected, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-single-selection.is-selected, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-single-selection.is-selected {
border-color: var(--wp-admin-theme-color-darker-20, #183ad6);
background: var(--wp-admin-theme-color-darker-20, #183ad6);
}
.dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-multi-selection, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-multi-selection, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-multi-selection {
border-color: var(--wp-admin-theme-color-darker-20, #183ad6);
}
.dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-multi-selection.is-selected, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-multi-selection.is-selected, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-multi-selection.is-selected {
border-color: var(--wp-admin-theme-color-darker-20, #183ad6);
background: var(--wp-admin-theme-color-darker-20, #183ad6);
}
.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-value {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
min-width: 0;
}
.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-description {
display: block;
overflow: hidden;
text-overflow: ellipsis;
font-size: 12px;
line-height: 16px;
color: #757575;
}
.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection {
border: 1px solid #1e1e1e;
margin-right: 12px;
transition: none;
border-radius: 50%;
width: 24px;
height: 24px;
min-width: 24px;
max-width: 24px;
position: relative;
}
@media not (prefers-reduced-motion) {
.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection {
transition: box-shadow 0.1s linear;
}
}
@media (min-width: 600px) {
.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection {
height: 16px;
width: 16px;
min-width: 16px;
max-width: 16px;
}
}
.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection:checked::before {
box-sizing: inherit;
width: 12px;
height: 12px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
margin: 0;
background-color: #fff;
border: 4px solid #fff;
}
@media (min-width: 600px) {
.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection:checked::before {
width: 8px;
height: 8px;
}
}
.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection:focus {
box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
outline: 2px solid transparent;
}
.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection:checked {
background: var(--wp-admin-theme-color);
border: none;
}
.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection {
margin: 0;
padding: 0;
}
.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection.is-selected {
background: var(--wp-admin-theme-color, #3858e9);
border-color: var(--wp-admin-theme-color, #3858e9);
}
.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection.is-selected::before {
content: "";
border-radius: 50%;
box-sizing: inherit;
width: 12px;
height: 12px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
margin: 0;
background-color: #fff;
border: 4px solid #fff;
}
@media (min-width: 600px) {
.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection.is-selected::before {
width: 8px;
height: 8px;
}
}
.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
--checkbox-size: 24px;
flex-shrink: 0;
border: 1px solid #1e1e1e;
margin-right: 12px;
transition: none;
border-radius: 2px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
padding: 6px 8px;
/* Fonts smaller than 16px causes mobile safari to zoom. */
font-size: 16px;
/* Override core line-height. To be reviewed. */
line-height: normal;
box-shadow: 0 0 0 transparent;
border-radius: 2px;
border: 1px solid #949494;
}
@media not (prefers-reduced-motion) {
.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
transition: box-shadow 0.1s linear;
}
}
@media (min-width: 600px) {
.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
font-size: 13px;
/* Override core line-height. To be reviewed. */
line-height: normal;
}
}
.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus {
border-color: var(--wp-admin-theme-color);