CoreFiles by mySites.guru
style.css664 lines, 17,823 bytes, from wordpress-7.2-beta2.zip
Raw History Compare with 7.2-beta1
md5
eddf87aff5bf22f96fa48d5e336d76fa
sha1
41df592990744366c2bce271bb96adb503a20dfd
sha256
e70635dfb08cce3e28e3683a75e1d23c913856b680f5d71cd77585514af13568
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664
/**
 * 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.
 */
.components-popover__content:has(.dataviews-media-field__attached-to) {
  margin-bottom: 96px;
}

.components-popover__content:has(.dataviews-media-field__attached-to):has(.components-form-token-field__suggestions-list) {
  margin-bottom: 0;
}

.components-popover__content:has(.dataviews-media-field__attached-to) .components-form-token-field__suggestions-list {
  height: 96px;
  max-height: none;
}

/**
 * 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.
 */
/**
 * Standard focus rings for the WordPress Design System.
 *
 * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
 * e.g. `&:focus { @include outset-ring__focus(); }`.
 */
/**
 * 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-author-field__avatar {
  flex-shrink: 0;
  overflow: hidden;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: left;
  display: flex;
}

.media-author-field__avatar img {
  width: 16px;
  height: 16px;
  object-fit: cover;
  opacity: 1;
  border-radius: 100%;
}

@media not (prefers-reduced-motion) {
  .media-author-field__avatar.is-loading img, .media-author-field__avatar.is-loaded img {
    transition: opacity 0.1s linear;
  }
}
.media-author-field__avatar.is-loading img {
  opacity: 0;
}

.media-author-field__avatar.is-loaded img {
  opacity: 1;
}

.media-author-field__icon {
  display: flex;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.media-author-field__icon svg {
  margin-left: -4px;
  fill: currentColor;
}

.media-author-field__name {
  text-overflow: ellipsis;
  overflow: hidden;
}

.dataviews-view-table .dataviews-media-field__filename,
.dataviews-view-grid .dataviews-media-field__filename,
.dataviews-view-list .dataviews-media-field__filename {
  display: inline-block;
  max-inline-size: 15ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: top;
}

.dataviews-media-field__media-thumbnail {
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
}

@media not (prefers-reduced-motion) {
  .dataviews-media-field__media-thumbnail.is-loading img, .dataviews-media-field__media-thumbnail.is-loaded img {
    transition: opacity 0.1s linear;
  }
}
.dataviews-media-field__media-thumbnail.is-loading img {
  opacity: 0;
}

.dataviews-media-field__media-thumbnail.is-loaded img {
  opacity: 1;
}

.dataviews-media-field__media-thumbnail--image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dataviews-media-field__media-thumbnail__stack {
  color: #757575;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}

.dataviews-media-field__media-thumbnail--icon {
  color: #757575;
  fill: currentColor;
}

.dataviews-media-field__media-thumbnail__filename {
  box-sizing: border-box;
  text-align: center;
  padding: 0 16px;
  width: 100%;
  container-type: inline-size;
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-weight: var(--wpds-typography-font-weight-default, 400);
  font-size: 12px;
  line-height: 16px;
}

.dataviews-media-field__media-thumbnail__filename__truncate {
  margin-top: 4px;
}

@container (max-width: 90px) {
  .dataviews-media-field__media-thumbnail__filename__truncate {
    display: none !important;
  }
}
/**
 * Colors
 */
/**
 * 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.
 */
/**
 * 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.
 */
/**
 * Standard focus rings for the WordPress Design System.
 *
 * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
 * e.g. `&:focus { @include outset-ring__focus(); }`.
 */
/**
 * 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.
 */
fieldset.media-edit {
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
}
fieldset.media-edit .components-base-control__label {
  color: #1e1e1e;
}
fieldset.media-edit .media-edit__description {
  font-size: 12px;
  line-height: 1.5;
}
fieldset.media-edit {
  container-type: inline-size;
}
fieldset.media-edit .media-edit__compact-group {
  border: 1px dashed #949494;
  border-radius: 4px;
}
fieldset.media-edit .media-edit__compact-group.is-single {
  border-radius: 2px;
}
fieldset.media-edit .media-edit__compact-group .media-edit__picker-button {
  border: 0;
}
fieldset.media-edit .media-edit__compact-group .media-edit__picker-button:focus-visible {
  outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
  outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
  outline-offset: calc(var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) + 1px);
}
fieldset.media-edit .media-edit__compact-group .media-edit__compact:not(:last-child) {
  border-bottom: 1px solid #f0f0f0;
}
fieldset.media-edit .media-edit__compact .components-drop-zone .components-drop-zone__content-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}
fieldset.media-edit .media-edit__compact .components-drop-zone .components-drop-zone__content-inner .components-drop-zone__content-icon {
  margin: 0;
}
fieldset.media-edit .media-edit__compact {
  position: relative;
  min-width: 0;
}
fieldset.media-edit .media-edit__compact:hover .media-edit__compact-movers, fieldset.media-edit .media-edit__compact:focus-within .media-edit__compact-movers {
  opacity: 1;
}
fieldset.media-edit .media-edit__compact .media-edit__compact-movers {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  border-radius: 2px;
  background: #fff;
}
fieldset.media-edit .media-edit__compact .media-edit__compact-movers * {
  pointer-events: auto;
}
fieldset.media-edit .media-edit__picker-button:has(.media-edit__placeholder):not(.media-edit__expanded *) .components-drop-zone .components-drop-zone__content-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}
fieldset.media-edit .media-edit__picker-button:has(.media-edit__placeholder):not(.media-edit__expanded *) .components-drop-zone .components-drop-zone__content-inner .components-drop-zone__content-icon {
  margin: 0;
}
fieldset.media-edit .media-edit__picker-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px dashed #949494;
  border-radius: 2px;
  padding: 4px 8px;
  min-height: 40px;
  cursor: var(--wpds-cursor-control, pointer);
  min-width: 0;
}
fieldset.media-edit .media-edit__picker-button:not(.has-attachment) {
  border-color: var(--wp-admin-theme-color);
  color: var(--wp-admin-theme-color);
}
fieldset.media-edit .media-edit__picker-button:not(.has-attachment):hover {
  background-color: color-mix(in srgb, var(--wp-admin-theme-color, #3858e9) 4%, transparent);
  color: var(--wp-admin-theme-color-darker-20);
  border-color: var(--wp-admin-theme-color-darker-20);
}
fieldset.media-edit .media-edit__picker-button:hover {
  color: var(--wp-admin-theme-color);
}
fieldset.media-edit .media-edit__picker-button[aria-disabled=true] {
  opacity: 0.6;
  cursor: default;
}
fieldset.media-edit .media-edit__picker-button:focus-visible {
  outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
  outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
}
fieldset.media-edit .media-edit__picker-button .media-edit__picker-button-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
fieldset.media-edit .media-edit__filename,
fieldset.media-edit .media-edit__placeholder {
  flex: 1;
  width: 100%;
  min-width: 0;
}
fieldset.media-edit .media-edit__placeholder {
  text-align: center;
}
fieldset.media-edit .media-edit__thumbnail {
  width: 24px;
  aspect-ratio: 1/1;
  flex-shrink: 0;
  border-radius: 2px;
  /*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, 4px 4px;
  /*rtl:end:ignore*/
  background-size: 8px 8px;
}
fieldset.media-edit .media-edit__expanded {
  display: grid;
  gap: 8px;
}
fieldset.media-edit .media-edit__expanded.is-empty .components-drop-zone .components-drop-zone__content-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}
fieldset.media-edit .media-edit__expanded.is-empty .components-drop-zone .components-drop-zone__content-inner .components-drop-zone__content-icon {
  margin: 0;
}
fieldset.media-edit .media-edit__expanded .media-edit__expanded-preview {
  position: relative;
  width: 100%;
  aspect-ratio: var(--media-edit-expanded-multiple-aspect-ratio, 3/2);
  border-radius: 2px;
  padding: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
fieldset.media-edit .media-edit__expanded .media-edit__expanded-preview .media-edit__expanded-preview-stack {
  width: 100%;
  height: 100%;
}
fieldset.media-edit .media-edit__expanded .media-edit__expanded-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  pointer-events: none;
}
fieldset.media-edit .media-edit__expanded .media-edit__expanded-overlay * {
  pointer-events: auto;
}
fieldset.media-edit .media-edit__expanded .media-edit__expanded-actions {
  position: absolute;
  top: 4px;
  right: 4px;
  border-radius: 2px;
  background: #fff;
}
fieldset.media-edit .media-edit__expanded .media-edit__expanded-item {
  position: relative;
  min-width: 0;
  border-radius: 4px;
}
fieldset.media-edit .media-edit__expanded .media-edit__expanded-item:hover .media-edit__expanded-overlay, fieldset.media-edit .media-edit__expanded .media-edit__expanded-item:focus-within .media-edit__expanded-overlay {
  opacity: 1;
}
fieldset.media-edit .media-edit__expanded .media-edit__expanded-item:not(.has-preview-image) .media-edit__expanded-preview-stack {
  padding: 8px;
}
fieldset.media-edit .media-edit__expanded .media-edit__thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  /*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, 12px 12px;
  /*rtl:end:ignore*/
  background-size: 24px 24px;
}
fieldset.media-edit .media-edit__expanded .media-edit__filename {
  text-align: center;
  flex: none;
}
fieldset.media-edit .media-edit__expanded .media-edit__picker-button-spinner svg {
  margin: 0;
}
fieldset.media-edit .media-edit__expanded.is-single {
  grid-template-columns: 1fr;
}
fieldset.media-edit .media-edit__expanded.is-single .media-edit__expanded-preview {
  aspect-ratio: 2/1;
}
fieldset.media-edit .media-edit__expanded .media-edit__picker-button {
  border-radius: 4px;
}
fieldset.media-edit .media-edit__expanded.is-empty .media-edit__picker-button {
  border-radius: 2px;
}
fieldset.media-edit .media-edit__expanded.is-multiple:not(.is-empty) {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
@container (max-width: 500px) {
  fieldset.media-edit .media-edit__expanded.is-multiple:not(.is-empty) {
    grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
  }
}
fieldset.media-edit .media-edit__expanded:not(.is-empty) .media-edit__picker-button {
  padding: 0;
}
fieldset.media-edit .media-edit__expanded:not(.is-empty) .media-edit__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: var(--media-edit-expanded-multiple-aspect-ratio, 3/2);
}

.media-upload-modal .components-modal__header {
  padding-bottom: 8px;
}
.media-upload-modal .components-modal__frame.is-full-screen .components-modal__content {
  margin-bottom: 0;
}
.media-upload-modal .components-modal__content {
  padding: 0;
}
.media-upload-modal .dataviews-picker-wrapper > .dataviews__view-actions {
  padding-top: 8px;
}
.media-upload-modal .media-upload-modal__footer {
  position: sticky;
  bottom: 0;
  background-color: inherit;
  z-index: 2;
}
.media-upload-modal .media-upload-modal__footer.is-uploading .dataviews-picker-footer__bulk-selection {
  visibility: hidden;
}
.media-upload-modal .media-upload-modal__footer .dataviews-footer {
  position: static;
  z-index: auto;
}
.media-upload-modal .media-upload-modal__upload-status {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--wp-dataviews-color-background, #fff);
  left: 24px;
  top: 1px;
  bottom: 1px;
  z-index: 1;
}
.media-upload-modal .media-upload-modal__upload-status .components-spinner {
  width: 16px;
  height: 16px;
  margin: 0;
}

.media-upload-modal__snackbar {
  position: fixed;
  bottom: var(--wpds-dimension-size-md, 32px);
  left: 0;
  right: 0;
  padding-inline: 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.media-upload-modal__snackbar .components-snackbar {
  margin-inline: auto;
}
.media-upload-modal__snackbar {
  z-index: 200000;
}
.media-upload-modal__snackbar > div {
  transform: none !important;
  transform-origin: 0 !important;
}

.media-upload-modal__upload-status__popover .components-popover__content {
  width: 320px;
}
.media-upload-modal__upload-status__popover .media-upload-modal__upload-status__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}
.media-upload-modal__upload-status__popover .media-upload-modal__upload-status__header h3 {
  margin: 0;
  font-size: 13px;
  font-weight: var(--wpds-typography-font-weight-emphasis, 600);
}
.media-upload-modal__upload-status__popover .media-upload-modal__upload-status__list {
  max-height: 200px;
  overflow-y: auto;
  margin: 0;
  padding: 0 0 4px;
  list-style: none;
}
.media-upload-modal__upload-status__popover .media-upload-modal__upload-status__item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 16px;
}
.media-upload-modal__upload-status__popover .media-upload-modal__upload-status__item .components-spinner {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin: 0;
}
.media-upload-modal__upload-status__popover .media-upload-modal__upload-status__filename {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
  font-size: 12px;
}

The same content is in 6 releases, WordPress 7.2-beta2 to 7.2-RC2. See them all, or every version of this file.