| [ 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: #007cba; 102 --wp-admin-theme-color--rgb: 0, 124, 186; 103 --wp-admin-theme-color-darker-10: rgb(0, 107, 160.5); 104 --wp-admin-theme-color-darker-10--rgb: 0, 107, 160.5; 105 --wp-admin-theme-color-darker-20: #005a87; 106 --wp-admin-theme-color-darker-20--rgb: 0, 90, 135; 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 #customize-theme-controls .customize-pane-child.accordion-section-content.customize-widgets-layout__inspector { 116 background: #fff; 117 box-sizing: border-box; 118 } 119 #customize-theme-controls .customize-pane-child.accordion-section-content.customize-widgets-layout__inspector * { 120 box-sizing: inherit; 121 } 122 #customize-theme-controls .customize-pane-child.accordion-section-content.customize-widgets-layout__inspector .block-editor-block-inspector { 123 margin: -12px; 124 } 125 #customize-theme-controls .customize-pane-child.accordion-section-content.customize-widgets-layout__inspector .block-editor-block-inspector h3 { 126 margin-bottom: 0; 127 } 128 129 #customize-theme-controls .customize-pane-child.control-section-sidebar.is-sub-section-open { 130 transform: translateX(-100%); 131 } 132 133 .customize-widgets-error-boundary { 134 font-family: var(--wpds-typography-font-family-body, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif); 135 padding: var(--wpds-dimension-padding-md, 12px); 136 } 137 138 .customize-widgets-error-boundary__report { 139 max-height: 420px; 140 overflow: auto; 141 overflow-anchor: none; 142 } 143 144 .customize-widgets-error-boundary__report-section { 145 margin: 0; 146 white-space: pre-wrap; 147 overflow-wrap: break-word; 148 } 149 150 @media (min-width: 600px) { 151 .customize-widgets-header { 152 margin-bottom: 44px; 153 } 154 } 155 .customize-widgets-header.is-fixed-toolbar-active { 156 margin-bottom: 0; 157 } 158 .customize-widgets-header { 159 display: flex; 160 justify-content: flex-end; 161 margin: -15px -12px 0 -12px; 162 background: #f0f0f1; 163 border-bottom: 1px solid #e0e0e0; 164 z-index: 8; 165 } 166 167 .customize-widgets-header-toolbar { 168 display: flex; 169 border: none; 170 width: 100%; 171 align-items: center; 172 } 173 .customize-widgets-header-toolbar .customize-widgets-header-toolbar__inserter-toggle.components-button.has-icon { 174 border-radius: 2px; 175 color: #fff; 176 padding: 0; 177 min-width: 32px; 178 height: 32px; 179 margin: 12px 0 12px auto; 180 } 181 .customize-widgets-header-toolbar .customize-widgets-header-toolbar__inserter-toggle.components-button.has-icon::before { 182 content: none; 183 } 184 @media not (prefers-reduced-motion) { 185 .customize-widgets-header-toolbar .customize-widgets-header-toolbar__inserter-toggle.components-button.has-icon svg { 186 transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s; 187 } 188 } 189 .customize-widgets-header-toolbar .customize-widgets-header-toolbar__inserter-toggle.components-button.has-icon.is-pressed { 190 background: #1e1e1e; 191 } 192 .customize-widgets-header-toolbar .customize-widgets-header-toolbar__inserter-toggle.components-button.has-icon.is-pressed svg { 193 transform: rotate(45deg); 194 } 195 .customize-widgets-header-toolbar .components-button.has-icon.customize-widgets-editor-history-button.redo-button { 196 margin-left: -12px; 197 } 198 199 #customize-sidebar-outer-content { 200 width: auto; 201 min-width: 100%; 202 } 203 204 #customize-outer-theme-controls .widgets-inserter { 205 padding: 0; 206 } 207 #customize-outer-theme-controls .widgets-inserter .customize-section-description-container { 208 display: none; 209 } 210 211 .customize-widgets-layout__inserter-panel { 212 background: #fff; 213 } 214 215 .customize-widgets-layout__inserter-panel-header { 216 display: flex; 217 justify-content: space-between; 218 align-items: center; 219 padding: 16px; 220 height: 46px; 221 box-sizing: border-box; 222 border-bottom: 1px solid #ddd; 223 } 224 .customize-widgets-layout__inserter-panel-header .customize-widgets-layout__inserter-panel-header-title { 225 margin: 0; 226 } 227 228 .block-editor-inserter__quick-inserter .block-editor-inserter__panel-content { 229 background: #fff; 230 } 231 232 .customize-widgets-keyboard-shortcut-help-modal__section { 233 margin: 0 0 2rem 0; 234 } 235 .customize-widgets-keyboard-shortcut-help-modal__section-title { 236 font-size: 0.9rem; 237 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 238 } 239 .customize-widgets-keyboard-shortcut-help-modal__shortcut { 240 display: flex; 241 align-items: baseline; 242 padding: 0.6rem 0; 243 border-top: 1px solid #ddd; 244 margin-bottom: 0; 245 } 246 .customize-widgets-keyboard-shortcut-help-modal__shortcut:last-child { 247 border-bottom: 1px solid #ddd; 248 } 249 .customize-widgets-keyboard-shortcut-help-modal__shortcut:empty { 250 display: none; 251 } 252 .customize-widgets-keyboard-shortcut-help-modal__shortcut-term { 253 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 254 margin: 0 0 0 1rem; 255 text-align: right; 256 } 257 .customize-widgets-keyboard-shortcut-help-modal__shortcut-description { 258 flex: 1; 259 margin: 0; 260 } 261 .customize-widgets-keyboard-shortcut-help-modal__shortcut-key-combination { 262 display: block; 263 background: none; 264 margin: 0; 265 padding: 0; 266 } 267 .customize-widgets-keyboard-shortcut-help-modal__shortcut-key-combination + .customize-widgets-keyboard-shortcut-help-modal__shortcut-key-combination { 268 margin-top: 10px; 269 } 270 .customize-widgets-keyboard-shortcut-help-modal__shortcut-key { 271 padding: 0.25rem 0.5rem; 272 border-radius: 8%; 273 margin: 0 0.2rem 0 0.2rem; 274 } 275 .customize-widgets-keyboard-shortcut-help-modal__shortcut-key:last-child { 276 margin: 0 0 0 0.2rem; 277 } 278 279 .components-popover.more-menu-dropdown__content { 280 z-index: 99998; 281 } 282 283 .customize-control-sidebar_block_editor .block-editor-block-list__block-popover { 284 position: fixed !important; 285 z-index: 7; 286 } 287 288 .customize-widgets-popover .components-popover, 289 .customize-control-sidebar_block_editor .components-popover { 290 position: fixed !important; 291 } 292 293 .customize-widgets-welcome-guide__image__wrapper { 294 background: #00a0d2; 295 text-align: center; 296 margin-bottom: 8px; 297 } 298 .customize-widgets-welcome-guide__image { 299 height: auto; 300 } 301 .wrap .customize-widgets-welcome-guide__heading { 302 font-size: 18px; 303 font-weight: var(--wpds-typography-font-weight-emphasis, 600); 304 } 305 .customize-widgets-welcome-guide__text { 306 line-height: 1.7; 307 } 308 .customize-widgets-welcome-guide__button { 309 justify-content: center; 310 margin: 1em 0; 311 width: 100%; 312 } 313 .customize-widgets-welcome-guide__separator { 314 margin: 1em 0; 315 } 316 .customize-widgets-welcome-guide__more-info { 317 line-height: 1.4; 318 } 319 320 #customize-theme-controls .customize-pane-child.customize-widgets__sidebar-section.open { 321 overflow: unset; 322 } 323 #customize-theme-controls .customize-pane-child.customize-widgets__sidebar-section { 324 min-height: 100%; 325 background-color: #fff; 326 padding-top: 12px !important; 327 } 328 #customize-theme-controls .customize-pane-child.customize-widgets__sidebar-section .customize-section-title { 329 position: static !important; 330 margin-top: -12px !important; 331 width: unset !important; 332 } 333 334 .components-modal__screen-overlay { 335 z-index: 999999; 336 } 337 338 .customize-control-sidebar_block_editor, 339 .customize-widgets-layout__inspector { 340 box-sizing: border-box; 341 } 342 .customize-control-sidebar_block_editor *, 343 .customize-control-sidebar_block_editor *::before, 344 .customize-control-sidebar_block_editor *::after, 345 .customize-widgets-layout__inspector *, 346 .customize-widgets-layout__inspector *::before, 347 .customize-widgets-layout__inspector *::after { 348 box-sizing: inherit; 349 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Wed Sep 9 08:20:27 2026 | Cross-referenced by PHPXref |