build/styles/block-library/query
editor-rtl.css
3.3 KB
7 months ago
editor-rtl.min.css
1.5 KB
7 months ago
editor.css
3.3 KB
7 months ago
editor.min.css
1.5 KB
7 months ago
editor.css in Gutenberg 23.2.0, at build/styles/block-library/query/editor.css
| 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 | /** |
| 87 | * Creates a checkerboard pattern background to indicate transparency. |
| 88 | * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px. |
| 89 | */ |
| 90 | .block-library-query-pattern__selection-modal .block-editor-block-patterns-list { |
| 91 | column-count: 2; |
| 92 | column-gap: 24px; |
| 93 | } |
| 94 | @media (min-width: 1280px) { |
| 95 | .block-library-query-pattern__selection-modal .block-editor-block-patterns-list { |
| 96 | column-count: 3; |
| 97 | } |
| 98 | } |
| 99 | .block-library-query-pattern__selection-modal .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item { |
| 100 | break-inside: avoid-column; |
| 101 | } |
| 102 | .block-library-query-pattern__selection-modal .block-library-query-pattern__selection-search { |
| 103 | background: #fff; |
| 104 | position: sticky; |
| 105 | top: 0; |
| 106 | padding: 16px 0; |
| 107 | transform: translateY(-4px); |
| 108 | margin-bottom: -4px; |
| 109 | z-index: 2; |
| 110 | } |
| 111 | |
| 112 | @media (min-width: 600px) { |
| 113 | .wp-block-query__enhanced-pagination-modal { |
| 114 | max-width: 480px; |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | .block-editor-block-settings-menu__popover.is-expanded { |
| 119 | overflow-y: scroll; |
| 120 | } |
| 121 | .block-editor-block-settings-menu__popover .block-library-query-pattern__selection-content { |
| 122 | height: 100%; |
| 123 | } |
| 124 | .block-editor-block-settings-menu__popover .block-editor-block-patterns-list { |
| 125 | display: grid; |
| 126 | grid-template-columns: 1fr; |
| 127 | } |
| 128 | @media (min-width: 600px) { |
| 129 | .block-editor-block-settings-menu__popover .block-editor-block-patterns-list { |
| 130 | grid-template-columns: 1fr 1fr; |
| 131 | } |
| 132 | } |
| 133 | .block-editor-block-settings-menu__popover .block-editor-block-patterns-list { |
| 134 | grid-gap: 12px; |
| 135 | min-width: 280px; |
| 136 | } |
| 137 | @media (min-width: 600px) { |
| 138 | .block-editor-block-settings-menu__popover .block-editor-block-patterns-list { |
| 139 | min-width: 480px; |
| 140 | } |
| 141 | } |
| 142 | .block-editor-block-settings-menu__popover .block-editor-block-patterns-list__list-item { |
| 143 | margin-bottom: 0; |
| 144 | } |
| 145 | |
| 146 | .wp-block-query > .block-editor-media-placeholder.is-small { |
| 147 | min-height: 60px; |
| 148 | } |