build/styles/block-library/html
editor-rtl.css
2.9 KB
5 months ago
editor-rtl.min.css
1.0 KB
5 months ago
editor.css
3.0 KB
5 months ago
editor.min.css
1.0 KB
5 months ago
editor.css in Gutenberg 23.2.0, at build/styles/block-library/html/editor.css
| 1 | /** |
| 2 | * Typography |
| 3 | */ |
| 4 | /** |
| 5 | * SCSS Variables. |
| 6 | * |
| 7 | * Please use variables from this sheet to ensure consistency across the UI. |
| 8 | * Don't add to this sheet unless you're pretty sure the value will be reused in many places. |
| 9 | * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. |
| 10 | */ |
| 11 | /** |
| 12 | * Colors |
| 13 | */ |
| 14 | /** |
| 15 | * Fonts & basic variables. |
| 16 | */ |
| 17 | /** |
| 18 | * Typography |
| 19 | */ |
| 20 | /** |
| 21 | * Grid System. |
| 22 | * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ |
| 23 | */ |
| 24 | /** |
| 25 | * Radius scale. |
| 26 | */ |
| 27 | /** |
| 28 | * Elevation scale. |
| 29 | */ |
| 30 | /** |
| 31 | * Dimensions. |
| 32 | */ |
| 33 | /** |
| 34 | * Mobile specific styles |
| 35 | */ |
| 36 | /** |
| 37 | * Editor styles. |
| 38 | */ |
| 39 | /** |
| 40 | * Block & Editor UI. |
| 41 | */ |
| 42 | /** |
| 43 | * Block paddings. |
| 44 | */ |
| 45 | /** |
| 46 | * React Native specific. |
| 47 | * These variables do not appear to be used anywhere else. |
| 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-library-html__edit .block-library-html__preview-overlay { |
| 91 | position: absolute; |
| 92 | width: 100%; |
| 93 | height: 100%; |
| 94 | top: 0; |
| 95 | left: 0; |
| 96 | } |
| 97 | |
| 98 | @media (min-width: 600px) { |
| 99 | .block-library-html__modal:not(.is-full-screen) { |
| 100 | height: 9999rem; |
| 101 | } |
| 102 | } |
| 103 | .block-library-html__modal .components-modal__children-container { |
| 104 | height: 100%; |
| 105 | } |
| 106 | |
| 107 | .block-library-html__modal-tabs { |
| 108 | flex: 1; |
| 109 | } |
| 110 | |
| 111 | .block-library-html__modal-content { |
| 112 | flex: 1; |
| 113 | } |
| 114 | |
| 115 | .block-library-html__modal-tab { |
| 116 | height: 100%; |
| 117 | display: flex; |
| 118 | flex-direction: column; |
| 119 | margin: 0; |
| 120 | box-sizing: border-box; |
| 121 | border: 1px solid #e0e0e0; |
| 122 | border-radius: 2px; |
| 123 | padding: 16px; |
| 124 | font-family: Menlo, Consolas, monaco, monospace; |
| 125 | } |
| 126 | |
| 127 | .block-library-html__modal-editor { |
| 128 | width: 100%; |
| 129 | height: 100%; |
| 130 | flex: 1; |
| 131 | border: none; |
| 132 | background: transparent; |
| 133 | padding: 0; |
| 134 | font-family: inherit; |
| 135 | font-size: inherit; |
| 136 | line-height: inherit; |
| 137 | color: inherit; |
| 138 | resize: none; |
| 139 | /*rtl:ignore*/ |
| 140 | direction: ltr; |
| 141 | overflow-x: auto; |
| 142 | box-sizing: border-box; |
| 143 | } |
| 144 | .block-library-html__modal-editor:focus { |
| 145 | outline: none; |
| 146 | box-shadow: none; |
| 147 | } |
| 148 | |
| 149 | .block-library-html__preview { |
| 150 | display: flex; |
| 151 | align-items: center; |
| 152 | justify-content: center; |
| 153 | min-height: 0; |
| 154 | overflow-y: auto; |
| 155 | flex: 1; |
| 156 | } |
| 157 | .block-library-html__preview iframe { |
| 158 | height: 100%; |
| 159 | } |