| [ 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-right: -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-right: 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 border-radius: var(--wpds-border-radius-sm, 2px); 191 text-align: right; 192 scroll-margin: 4px; 193 position: relative; 194 } 195 .block-directory-downloadable-block-list-item:not([aria-disabled=true]) { 196 cursor: var(--wpds-cursor-control, pointer); 197 } 198 .block-directory-downloadable-block-list-item:hover:not([aria-disabled=true]) { 199 background-color: var(--wpds-color-background-interactive-neutral-weak-active, #ededed); 200 } 201 .block-directory-downloadable-block-list-item[data-focus-visible] { 202 outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9))); 203 outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)); 204 } 205 .block-directory-downloadable-block-list-item.is-installing .block-directory-downloadable-block-list-item__author { 206 display: none; 207 } 208 209 .block-directory-downloadable-block-list-item__icon { 210 position: relative; 211 margin-left: 16px; 212 align-self: flex-start; 213 } 214 .block-directory-downloadable-block-list-item__icon .block-directory-downloadable-block-list-item__spinner { 215 position: absolute; 216 top: 0; 217 left: 0; 218 bottom: 0; 219 right: 0; 220 background: rgba(255, 255, 255, 0.75); 221 display: flex; 222 align-items: center; 223 justify-content: center; 224 } 225 .is-installing .block-directory-downloadable-block-list-item__icon { 226 margin-left: 22px; 227 } 228 229 .block-directory-block-ratings { 230 display: block; 231 margin-top: 4px; 232 } 233 234 .block-directory-downloadable-block-list-item__details { 235 color: #1e1e1e; 236 } 237 238 .block-directory-downloadable-block-list-item__title { 239 display: block; 240 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 241 } 242 243 .block-directory-downloadable-block-list-item__author { 244 display: block; 245 margin-top: 4px; 246 font-weight: 400; 247 } 248 249 .block-directory-downloadable-block-list-item__desc { 250 display: block; 251 margin-top: 8px; 252 } 253 254 .block-directory-downloadable-block-notice { 255 margin: 8px 0 0; 256 color: #cc1818; 257 } 258 259 .block-directory-downloadable-block-notice__content { 260 padding-left: 12px; 261 margin-bottom: 8px; 262 } 263 264 .block-directory-downloadable-blocks-panel { 265 padding: 16px; 266 } 267 .block-directory-downloadable-blocks-panel.has-blocks-loading { 268 font-style: normal; 269 padding: 0; 270 margin: 112px 0; 271 text-align: center; 272 color: #757575; 273 } 274 .block-directory-downloadable-blocks-panel.has-blocks-loading .components-spinner { 275 float: inherit; 276 } 277 278 .block-directory-downloadable-blocks-panel__no-local { 279 margin: 48px 0; 280 padding: 0 64px; 281 color: #757575; 282 text-align: center; 283 } 284 285 .block-directory-downloadable-blocks-panel__title { 286 margin: 0 0 4px; 287 font-size: 14px; 288 } 289 290 .block-directory-downloadable-blocks-panel__description { 291 margin-top: 0; 292 } 293 294 .installed-blocks-pre-publish-panel__copy { 295 margin-top: 0; 296 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Tue Nov 3 08:20:36 2026 | Cross-referenced by PHPXref |