[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/freeform/ -> editor.css (source)

   1  /**
   2   * SCSS Variables.
   3   *
   4   * Please use variables from this sheet to ensure consistency across the UI.
   5   * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
   6   * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
   7   */
   8  /**
   9   * Colors
  10   */
  11  /**
  12   * Fonts & basic variables.
  13   */
  14  /**
  15   * Typography
  16   */
  17  /**
  18   * Grid System.
  19   * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
  20   */
  21  /**
  22   * Radius scale.
  23   */
  24  /**
  25   * Elevation scale.
  26   */
  27  /**
  28   * Dimensions.
  29   */
  30  /**
  31   * Mobile specific styles
  32   */
  33  /**
  34   * Editor styles.
  35   */
  36  /**
  37   * Block & Editor UI.
  38   */
  39  /**
  40   * Block paddings.
  41   */
  42  /**
  43   * React Native specific.
  44   * These variables do not appear to be used anywhere else.
  45   */
  46  /**
  47   * Typography
  48   */
  49  /**
  50   * Breakpoints & Media Queries
  51   */
  52  /**
  53  *  Converts a hex value into the rgb equivalent.
  54  *
  55  * @param {string} hex - the hexadecimal value to convert
  56  * @return {string} comma separated rgb values
  57  */
  58  /**
  59   * Long content fade mixin
  60   *
  61   * Creates a fading overlay to signify that the content is longer
  62   * than the space allows.
  63   */
  64  /**
  65   * Breakpoint mixins
  66   */
  67  /**
  68   * Focus styles.
  69   */
  70  /**
  71   * Applies editor left position to the selector passed as argument
  72   */
  73  /**
  74   * Styles that are reused verbatim in a few places
  75   */
  76  /**
  77   * Allows users to opt-out of animations via OS-level preferences.
  78   */
  79  /**
  80   * Reset default styles for JavaScript UI based pages.
  81   * This is a WP-admin agnostic reset
  82   */
  83  /**
  84   * Reset the WP Admin page styles for Gutenberg-like pages.
  85   */
  86  /**
  87   * Creates a checkerboard pattern background to indicate transparency.
  88   * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
  89   */
  90  .block-editor-freeform-modal .block-editor-freeform-modal__content .mce-edit-area iframe {
  91    height: 50vh !important;
  92  }
  93  @media (min-width: 960px) {
  94    .block-editor-freeform-modal .block-editor-freeform-modal__content:not(.is-full-screen) {
  95      height: 9999rem;
  96    }
  97    .block-editor-freeform-modal .block-editor-freeform-modal__content .components-modal__header + div {
  98      height: 100%;
  99    }
 100    .block-editor-freeform-modal .block-editor-freeform-modal__content .mce-tinymce {
 101      height: calc(100% - 36px - 16px);
 102    }
 103    .block-editor-freeform-modal .block-editor-freeform-modal__content .mce-container-body {
 104      height: 100%;
 105      display: flex;
 106      flex-direction: column;
 107      min-width: 50vw;
 108    }
 109    .block-editor-freeform-modal .block-editor-freeform-modal__content .mce-edit-area {
 110      flex-grow: 1;
 111      display: flex;
 112      flex-direction: column;
 113    }
 114    .block-editor-freeform-modal .block-editor-freeform-modal__content .mce-edit-area iframe {
 115      flex-grow: 1;
 116      height: 10px !important;
 117    }
 118  }
 119  .block-editor-freeform-modal__actions {
 120    margin-top: 16px;
 121  }


Generated : Tue Jun 16 08:20:09 2026 Cross-referenced by PHPXref