| [ 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 right: 0; 102 } 103 104 .block-library-html__edit-code { 105 margin: 16px; 106 } 107 .block-library-html__edit-code .block-library-html__edit-code-button { 108 justify-content: center; 109 } 110 111 @media (min-width: 600px) { 112 .block-library-html__modal:not(.is-full-screen) { 113 height: 9999rem; 114 } 115 } 116 .block-library-html__modal .components-modal__children-container { 117 height: 100%; 118 } 119 120 .block-library-html__modal-tabs { 121 flex: 1; 122 } 123 124 .block-library-html__modal-content { 125 flex: 1; 126 } 127 128 .block-library-html__modal-tab { 129 height: 100%; 130 display: flex; 131 flex-direction: column; 132 margin: 0; 133 box-sizing: border-box; 134 border: 1px solid #e0e0e0; 135 border-radius: 2px; 136 padding: 16px; 137 font-family: Menlo, Consolas, monaco, monospace; 138 } 139 140 .block-library-html__modal-editor { 141 width: 100%; 142 height: 100%; 143 flex: 1; 144 border: none; 145 background: transparent; 146 padding: 0; 147 font-family: inherit; 148 font-size: inherit; 149 line-height: inherit; 150 color: inherit; 151 resize: none; 152 direction: ltr; 153 overflow-x: auto; 154 box-sizing: border-box; 155 } 156 .block-library-html__modal-editor:focus { 157 outline: none; 158 box-shadow: none; 159 } 160 161 .block-library-html__preview { 162 display: flex; 163 align-items: center; 164 justify-content: center; 165 min-height: 0; 166 overflow-y: auto; 167 flex: 1; 168 } 169 .block-library-html__preview iframe { 170 height: 100%; 171 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Sun Jul 26 08:20:18 2026 | Cross-referenced by PHPXref |