CoreFiles by mySites.guru
editor-rtl.css222 lines, 5,171 bytes, from wordpress-7.2-beta2.zip
Raw History Compare with 7.2-beta1
md5
8ecb861e8867045396b7671586cf5165
sha1
5b27887e948438e99570c5fba4f4382e3429965e
sha256
99da8ff49bee97f0cd87a44a519db261cf9f603f06bcc797111c52d665139d60
/**
 * 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.
 */
/**
 * 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.
 */
.block-library-html__edit .block-library-html__preview-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
}

.block-library-html__no-output-marker {
  position: absolute;
  top: -4px;
  left: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: 4px;
  transform: translateY(-100%);
  border-radius: 2px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #1e1e1e;
  outline: 1px solid transparent;
  color: #1e1e1e;
  cursor: default;
}
.block-library-html__edit:hover > .block-library-html__no-output-marker, .block-library-html__edit.is-selected > .block-library-html__no-output-marker {
  background: var(--wp-admin-theme-color);
  box-shadow: none;
  color: #fff;
}
.is-layout-flex > .block-library-html__edit > .block-library-html__no-output-marker {
  top: 50%;
  transform: translateY(-50%);
}
.is-layout-flex:not(.is-vertical) > .block-library-html__edit > .block-library-html__no-output-marker {
  left: auto;
  right: 50%;
  margin: 0;
  transform: translate(50%, -50%);
}

.block-library-html__edit.has-no-output + .block-library-html__edit.has-no-output > .block-library-html__no-output-marker {
  margin-left: 32px;
}

.block-library-html__edit.has-no-output + .block-library-html__edit.has-no-output + .block-library-html__edit.has-no-output > .block-library-html__no-output-marker {
  margin-left: 60px;
}

.block-library-html__edit.has-no-output + .block-library-html__edit.has-no-output + .block-library-html__edit.has-no-output + .block-library-html__edit.has-no-output > .block-library-html__no-output-marker {
  margin-left: 88px;
}

.block-library-html__edit.has-no-output + .block-library-html__edit.has-no-output + .block-library-html__edit.has-no-output + .block-library-html__edit.has-no-output + .block-library-html__edit.has-no-output > .block-library-html__no-output-marker {
  margin-left: 116px;
}

.block-library-html__edit-code {
  margin: 16px;
}
.block-library-html__edit-code .block-library-html__edit-code-button {
  justify-content: center;
}

@media (min-width: 600px) {
  .block-library-html__modal:not(.is-full-screen) {
    height: 9999rem;
  }
}
.block-library-html__modal .components-modal__children-container {
  height: 100%;
}

.block-library-html__modal-tabs {
  flex: 1;
}

.block-library-html__modal-content {
  flex: 1;
}

.block-library-html__modal-tab {
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  box-sizing: border-box;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  padding: 16px;
  font-family: Menlo, Consolas, monaco, monospace;
}

.block-library-html__modal-editor {
  width: 100%;
  height: 100%;
  flex: 1;
  border: none;
  background: transparent;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  resize: none;
  direction: ltr;
  overflow-x: auto;
  box-sizing: border-box;
}
.block-library-html__modal-editor:focus {
  outline: none;
  box-shadow: none;
}

.block-library-html__preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow-y: auto;
  flex: 1;
}
.block-library-html__preview iframe {
  height: 100%;
}

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