| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
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 * Standard focus rings for the WordPress Design System. 72 * 73 * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site, 74 * e.g. `&:focus { @include outset-ring__focus(); }`. 75 */ 76 /** 77 * Applies editor left position to the selector passed as argument 78 */ 79 /** 80 * Styles that are reused verbatim in a few places 81 */ 82 /** 83 * Allows users to opt-out of animations via OS-level preferences. 84 */ 85 /** 86 * Reset default styles for JavaScript UI based pages. 87 * This is a WP-admin agnostic reset 88 */ 89 /** 90 * Reset the WP Admin page styles for Gutenberg-like pages. 91 */ 92 /** 93 * Creates a checkerboard pattern background to indicate transparency. 94 * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px. 95 */ 96 .block-library-html__edit .block-library-html__preview-overlay { 97 position: absolute; 98 width: 100%; 99 height: 100%; 100 top: 0; 101 left: 0; 102 } 103 104 .block-library-html__no-output-marker { 105 position: absolute; 106 top: -4px; 107 right: 100%; 108 z-index: 1; 109 display: flex; 110 align-items: center; 111 justify-content: center; 112 width: 24px; 113 height: 24px; 114 margin-right: 4px; 115 transform: translateY(-100%); 116 border-radius: 2px; 117 background: #fff; 118 box-shadow: inset 0 0 0 1px #1e1e1e; 119 outline: 1px solid transparent; 120 color: #1e1e1e; 121 cursor: default; 122 } 123 .block-library-html__edit:hover > .block-library-html__no-output-marker, .block-library-html__edit.is-selected > .block-library-html__no-output-marker { 124 background: var(--wp-admin-theme-color); 125 box-shadow: none; 126 color: #fff; 127 } 128 .is-layout-flex > .block-library-html__edit > .block-library-html__no-output-marker { 129 top: 50%; 130 transform: translateY(-50%); 131 } 132 .is-layout-flex:not(.is-vertical) > .block-library-html__edit > .block-library-html__no-output-marker { 133 right: auto; 134 left: 50%; 135 margin: 0; 136 transform: translate(-50%, -50%); 137 } 138 139 .block-library-html__edit.has-no-output + .block-library-html__edit.has-no-output > .block-library-html__no-output-marker { 140 margin-right: 32px; 141 } 142 143 .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 { 144 margin-right: 60px; 145 } 146 147 .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 { 148 margin-right: 88px; 149 } 150 151 .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 { 152 margin-right: 116px; 153 } 154 155 .block-library-html__edit-code { 156 margin: 16px; 157 } 158 .block-library-html__edit-code .block-library-html__edit-code-button { 159 justify-content: center; 160 } 161 162 @media (min-width: 600px) { 163 .block-library-html__modal:not(.is-full-screen) { 164 height: 9999rem; 165 } 166 } 167 .block-library-html__modal .components-modal__children-container { 168 height: 100%; 169 } 170 171 .block-library-html__modal-tabs { 172 flex: 1; 173 } 174 175 .block-library-html__modal-content { 176 flex: 1; 177 } 178 179 .block-library-html__modal-tab { 180 height: 100%; 181 display: flex; 182 flex-direction: column; 183 margin: 0; 184 box-sizing: border-box; 185 border: 1px solid #e0e0e0; 186 border-radius: 2px; 187 padding: 16px; 188 font-family: Menlo, Consolas, monaco, monospace; 189 } 190 191 .block-library-html__modal-editor { 192 width: 100%; 193 height: 100%; 194 flex: 1; 195 border: none; 196 background: transparent; 197 padding: 0; 198 font-family: inherit; 199 font-size: inherit; 200 line-height: inherit; 201 color: inherit; 202 resize: none; 203 /*rtl:ignore*/ 204 direction: ltr; 205 overflow-x: auto; 206 box-sizing: border-box; 207 } 208 .block-library-html__modal-editor:focus { 209 outline: none; 210 box-shadow: none; 211 } 212 213 .block-library-html__preview { 214 display: flex; 215 align-items: center; 216 justify-content: center; 217 min-height: 0; 218 overflow-y: auto; 219 flex: 1; 220 } 221 .block-library-html__preview iframe { 222 height: 100%; 223 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Mon Nov 9 08:20:01 2026 | Cross-referenced by PHPXref |