| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 /** 2 * Breakpoints & Media Queries 3 */ 4 /** 5 * Colors 6 */ 7 /** 8 * Typography 9 */ 10 /** 11 * SCSS Variables. 12 * 13 * Please use variables from this sheet to ensure consistency across the UI. 14 * Don't add to this sheet unless you're pretty sure the value will be reused in many places. 15 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. 16 */ 17 /** 18 * Fonts & basic variables. 19 */ 20 /** 21 * Typography 22 */ 23 /** 24 * Grid System. 25 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ 26 */ 27 /** 28 * Radius scale. 29 */ 30 /** 31 * Elevation scale. 32 */ 33 /** 34 * Dimensions. 35 */ 36 /** 37 * Mobile specific styles 38 */ 39 /** 40 * Editor styles. 41 */ 42 /** 43 * Block & Editor UI. 44 */ 45 /** 46 * Block paddings. 47 */ 48 /** 49 * React Native specific. 50 * These variables do not appear to be used anywhere else. 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 :root :where(figure.wp-block-gallery) { 87 display: block; 88 } 89 :root :where(figure.wp-block-gallery) > .blocks-gallery-caption { 90 flex: 0 0 100%; 91 } 92 :root :where(figure.wp-block-gallery) > .blocks-gallery-media-placeholder-wrapper { 93 flex-basis: 100%; 94 } 95 :root :where(figure.wp-block-gallery) .wp-block-image .components-notice.is-error { 96 display: block; 97 } 98 :root :where(figure.wp-block-gallery) .wp-block-image .components-notice__content { 99 margin: 4px 0; 100 } 101 :root :where(figure.wp-block-gallery) .wp-block-image .components-notice__dismiss { 102 position: absolute; 103 top: 0; 104 left: 5px; 105 } 106 :root :where(figure.wp-block-gallery) .block-editor-media-placeholder.is-appender .components-placeholder__label { 107 display: none; 108 } 109 :root :where(figure.wp-block-gallery) .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button { 110 margin-bottom: 0; 111 } 112 :root :where(figure.wp-block-gallery) .block-editor-media-placeholder { 113 margin: 0; 114 } 115 :root :where(figure.wp-block-gallery) .block-editor-media-placeholder .components-placeholder__label { 116 display: flex; 117 } 118 :root :where(figure.wp-block-gallery) .block-editor-media-placeholder figcaption { 119 z-index: 2; 120 } 121 :root :where(figure.wp-block-gallery) .components-spinner { 122 position: absolute; 123 top: 50%; 124 right: 50%; 125 margin-top: -9px; 126 margin-right: -9px; 127 } 128 129 /** 130 * Gallery inspector controls settings. 131 */ 132 .gallery-settings-buttons .components-button:first-child { 133 margin-left: 8px; 134 } 135 136 /** 137 * Deprecated css past this point. This can be removed once all galleries are migrated 138 * to V2. 139 */ 140 .blocks-gallery-item figure:not(.is-selected):focus, 141 .blocks-gallery-item img:focus { 142 outline: none; 143 } 144 .blocks-gallery-item figure.is-selected::before { 145 box-shadow: 0 0 0 1px #fff inset, 0 0 0 3px var(--wp-admin-theme-color) inset; 146 content: ""; 147 outline: 2px solid transparent; 148 position: absolute; 149 top: 0; 150 left: 0; 151 bottom: 0; 152 right: 0; 153 z-index: 1; 154 pointer-events: none; 155 } 156 .blocks-gallery-item figure.is-transient img { 157 opacity: 0.3; 158 } 159 .blocks-gallery-item .block-editor-media-placeholder { 160 margin: 0; 161 height: 100%; 162 } 163 .blocks-gallery-item .block-editor-media-placeholder .components-placeholder__label { 164 display: flex; 165 } 166 167 .wp-block-gallery ul.blocks-gallery-grid { 168 padding: 0; 169 margin: 0; 170 } 171 172 @media (min-width: 600px) { 173 .wp-block-update-gallery-modal { 174 max-width: 480px; 175 } 176 } 177 178 .wp-block-update-gallery-modal-buttons { 179 display: flex; 180 justify-content: flex-end; 181 gap: 12px; 182 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Wed Apr 15 08:20:10 2026 | Cross-referenced by PHPXref |