PluginProbe
Gutenberg / 23.4.0
Gutenberg v23.4.0
23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 7.4.0 All 402 releases
gutenberg / build / styles / block-library / query / editor.css

editor.css in Gutenberg 23.4.0, at build/styles/block-library/query/editor.css

152 lines 3.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 -moz-column-count: 2;
92 column-count: 2;
93 -moz-column-gap: 24px;
94 column-gap: 24px;
95 }
96 @media (min-width: 1280px) {
97 .block-library-query-pattern__selection-modal .block-editor-block-patterns-list {
98 -moz-column-count: 3;
99 column-count: 3;
100 }
101 }
102 .block-library-query-pattern__selection-modal .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
103 -moz-column-break-inside: avoid;
104 break-inside: avoid-column;
105 }
106 .block-library-query-pattern__selection-modal .block-library-query-pattern__selection-search {
107 background: #fff;
108 position: sticky;
109 top: 0;
110 padding: 16px 0;
111 transform: translateY(-4px);
112 margin-bottom: -4px;
113 z-index: 2;
114 }
115
116 @media (min-width: 600px) {
117 .wp-block-query__enhanced-pagination-modal {
118 max-width: 480px;
119 }
120 }
121
122 .block-editor-block-settings-menu__popover.is-expanded {
123 overflow-y: scroll;
124 }
125 .block-editor-block-settings-menu__popover .block-library-query-pattern__selection-content {
126 height: 100%;
127 }
128 .block-editor-block-settings-menu__popover .block-editor-block-patterns-list {
129 display: grid;
130 grid-template-columns: 1fr;
131 }
132 @media (min-width: 600px) {
133 .block-editor-block-settings-menu__popover .block-editor-block-patterns-list {
134 grid-template-columns: 1fr 1fr;
135 }
136 }
137 .block-editor-block-settings-menu__popover .block-editor-block-patterns-list {
138 grid-gap: 12px;
139 min-width: 280px;
140 }
141 @media (min-width: 600px) {
142 .block-editor-block-settings-menu__popover .block-editor-block-patterns-list {
143 min-width: 480px;
144 }
145 }
146 .block-editor-block-settings-menu__popover .block-editor-block-patterns-list__list-item {
147 margin-bottom: 0;
148 }
149
150 .wp-block-query > .block-editor-media-placeholder.is-small {
151 min-height: 60px;
152 }