| [ 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 * 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 .block-library-html__edit .block-library-html__preview-overlay { 87 position: absolute; 88 width: 100%; 89 height: 100%; 90 top: 0; 91 left: 0; 92 } 93 94 .block-library-html__modal { 95 height: 100%; 96 } 97 .block-library-html__modal .components-modal__children-container { 98 height: 100%; 99 } 100 101 .block-library-html__modal-tabs { 102 overflow-y: auto; 103 } 104 105 .block-library-html__modal-content { 106 flex: 1; 107 min-height: 0; 108 } 109 110 .block-library-html__modal-tab { 111 height: 100%; 112 display: flex; 113 flex-direction: column; 114 margin: 0; 115 box-sizing: border-box; 116 border: 1px solid #e0e0e0; 117 border-radius: 2px; 118 padding: 16px; 119 font-family: Menlo, Consolas, monaco, monospace; 120 } 121 122 .block-library-html__modal-editor { 123 width: 100%; 124 height: 100%; 125 flex: 1; 126 border: none; 127 background: transparent; 128 padding: 0; 129 font-family: inherit; 130 font-size: inherit; 131 line-height: inherit; 132 color: inherit; 133 resize: none; 134 /*rtl:ignore*/ 135 direction: ltr; 136 overflow-x: auto; 137 box-sizing: border-box; 138 } 139 .block-library-html__modal-editor:focus { 140 outline: none; 141 box-shadow: none; 142 } 143 144 .block-library-html__preview { 145 display: flex; 146 align-items: center; 147 justify-content: center; 148 padding: 16px; 149 flex: 1; 150 min-height: 0; 151 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Wed May 6 08:20:15 2026 | Cross-referenced by PHPXref |