| [ 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 :root { 97 --wp-block-synced-color: #7a00df; 98 --wp-block-synced-color--rgb: 122, 0, 223; 99 --wp-bound-block-color: var(--wp-block-synced-color); 100 --wp-editor-canvas-background: #ddd; 101 --wp-admin-theme-color: #3858e9; 102 --wp-admin-theme-color--rgb: 56, 88, 233; 103 --wp-admin-theme-color-darker-10: rgb(33.0384615385, 68.7307692308, 230.4615384615); 104 --wp-admin-theme-color-darker-10--rgb: 33.0384615385, 68.7307692308, 230.4615384615; 105 --wp-admin-theme-color-darker-20: rgb(23.6923076923, 58.1538461538, 214.3076923077); 106 --wp-admin-theme-color-darker-20--rgb: 23.6923076923, 58.1538461538, 214.3076923077; 107 --wp-admin-border-width-focus: 2px; 108 } 109 @media (min-resolution: 192dpi) { 110 :root { 111 --wp-admin-border-width-focus: 1.5px; 112 } 113 } 114 115 body.admin-color-fresh { 116 --wp-admin-theme-color: #007cba; 117 --wp-admin-theme-color--rgb: 0, 124, 186; 118 --wp-admin-theme-color-darker-10: rgb(0, 107, 160.5); 119 --wp-admin-theme-color-darker-10--rgb: 0, 107, 160.5; 120 --wp-admin-theme-color-darker-20: #005a87; 121 --wp-admin-theme-color-darker-20--rgb: 0, 90, 135; 122 --wp-admin-border-width-focus: 2px; 123 } 124 @media (min-resolution: 192dpi) { 125 body.admin-color-fresh { 126 --wp-admin-border-width-focus: 1.5px; 127 } 128 } 129 130 .block-directory-block-ratings > span { 131 display: flex; 132 } 133 .block-directory-block-ratings svg { 134 color: #1e1e1e; 135 margin-left: -4px; 136 } 137 .block-directory-block-ratings .block-directory-block-ratings__star-empty { 138 color: #ccc; 139 } 140 141 .block-directory-compact-list { 142 margin: 0; 143 list-style: none; 144 } 145 146 .block-directory-compact-list__item { 147 display: flex; 148 flex-direction: row; 149 align-items: center; 150 margin-bottom: 16px; 151 } 152 .block-directory-compact-list__item:last-child { 153 margin-bottom: 0; 154 } 155 156 .block-directory-compact-list__item-details { 157 margin-left: 8px; 158 } 159 160 .block-directory-compact-list__item-title { 161 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 162 } 163 164 .block-directory-compact-list__item-author { 165 color: #757575; 166 font-size: 11px; 167 } 168 169 .block-directory-downloadable-block-icon { 170 min-width: 54px; 171 width: 54px; 172 height: 54px; 173 vertical-align: middle; 174 border: 1px solid #ddd; 175 } 176 177 .block-directory-downloadable-block-list-item + .block-directory-downloadable-block-list-item { 178 margin-top: 4px; 179 } 180 .block-directory-downloadable-block-list-item { 181 display: grid; 182 grid-template-columns: auto 1fr; 183 width: 100%; 184 height: auto; 185 padding: 12px; 186 margin: 0; 187 appearance: none; 188 background: none; 189 border: 0; 190 text-align: left; 191 } 192 @media not (prefers-reduced-motion) { 193 .block-directory-downloadable-block-list-item { 194 transition: box-shadow 0.1s linear; 195 } 196 } 197 .block-directory-downloadable-block-list-item { 198 position: relative; 199 } 200 .block-directory-downloadable-block-list-item:not([aria-disabled=true]) { 201 cursor: var(--wpds-cursor-control, pointer); 202 } 203 .block-directory-downloadable-block-list-item:hover { 204 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); 205 outline: 2px solid transparent; 206 } 207 .block-directory-downloadable-block-list-item[data-focus-visible] { 208 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); 209 outline: 2px solid transparent; 210 } 211 .block-directory-downloadable-block-list-item.is-installing .block-directory-downloadable-block-list-item__author { 212 display: none; 213 } 214 215 .block-directory-downloadable-block-list-item__icon { 216 position: relative; 217 margin-right: 16px; 218 align-self: flex-start; 219 } 220 .block-directory-downloadable-block-list-item__icon .block-directory-downloadable-block-list-item__spinner { 221 position: absolute; 222 top: 0; 223 right: 0; 224 bottom: 0; 225 left: 0; 226 background: rgba(255, 255, 255, 0.75); 227 display: flex; 228 align-items: center; 229 justify-content: center; 230 } 231 .is-installing .block-directory-downloadable-block-list-item__icon { 232 margin-right: 22px; 233 } 234 235 .block-directory-block-ratings { 236 display: block; 237 margin-top: 4px; 238 } 239 240 .block-directory-downloadable-block-list-item__details { 241 color: #1e1e1e; 242 } 243 244 .block-directory-downloadable-block-list-item__title { 245 display: block; 246 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 247 } 248 249 .block-directory-downloadable-block-list-item__author { 250 display: block; 251 margin-top: 4px; 252 font-weight: 400; 253 } 254 255 .block-directory-downloadable-block-list-item__desc { 256 display: block; 257 margin-top: 8px; 258 } 259 260 .block-directory-downloadable-block-notice { 261 margin: 8px 0 0; 262 color: #cc1818; 263 } 264 265 .block-directory-downloadable-block-notice__content { 266 padding-right: 12px; 267 margin-bottom: 8px; 268 } 269 270 .block-directory-downloadable-blocks-panel { 271 padding: 16px; 272 } 273 .block-directory-downloadable-blocks-panel.has-blocks-loading { 274 font-style: normal; 275 padding: 0; 276 margin: 112px 0; 277 text-align: center; 278 color: #757575; 279 } 280 .block-directory-downloadable-blocks-panel.has-blocks-loading .components-spinner { 281 float: inherit; 282 } 283 284 .block-directory-downloadable-blocks-panel__no-local { 285 margin: 48px 0; 286 padding: 0 64px; 287 color: #757575; 288 text-align: center; 289 } 290 291 .block-directory-downloadable-blocks-panel__title { 292 margin: 0 0 4px; 293 font-size: 14px; 294 } 295 296 .block-directory-downloadable-blocks-panel__description { 297 margin-top: 0; 298 } 299 300 .installed-blocks-pre-publish-panel__copy { 301 margin-top: 0; 302 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Tue Oct 20 08:20:34 2026 | Cross-referenced by PHPXref |