PluginProbe
Gutenberg / 23.5.2
Gutenberg v23.5.2
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-directory / style.css

style.css in Gutenberg 23.5.2, at build/styles/block-directory/style.css

283 lines 6.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 * 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 :root {
91 --wp-block-synced-color: #7a00df;
92 --wp-block-synced-color--rgb: 122, 0, 223;
93 --wp-bound-block-color: var(--wp-block-synced-color);
94 --wp-editor-canvas-background: #ddd;
95 --wp-admin-theme-color: #007cba;
96 --wp-admin-theme-color--rgb: 0, 124, 186;
97 --wp-admin-theme-color-darker-10: rgb(0, 107, 160.5);
98 --wp-admin-theme-color-darker-10--rgb: 0, 107, 160.5;
99 --wp-admin-theme-color-darker-20: #005a87;
100 --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
101 --wp-admin-border-width-focus: 2px;
102 }
103 @media (min-resolution: 192dpi) {
104 :root {
105 --wp-admin-border-width-focus: 1.5px;
106 }
107 }
108
109 .block-directory-block-ratings > span {
110 display: flex;
111 }
112 .block-directory-block-ratings svg {
113 fill: #1e1e1e;
114 margin-left: -4px;
115 }
116 .block-directory-block-ratings .block-directory-block-ratings__star-empty {
117 fill: #ccc;
118 }
119
120 .block-directory-compact-list {
121 margin: 0;
122 list-style: none;
123 }
124
125 .block-directory-compact-list__item {
126 display: flex;
127 flex-direction: row;
128 align-items: center;
129 margin-bottom: 16px;
130 }
131 .block-directory-compact-list__item:last-child {
132 margin-bottom: 0;
133 }
134
135 .block-directory-compact-list__item-details {
136 margin-left: 8px;
137 }
138
139 .block-directory-compact-list__item-title {
140 font-weight: 499;
141 }
142
143 .block-directory-compact-list__item-author {
144 color: #757575;
145 font-size: 11px;
146 }
147
148 .block-directory-downloadable-block-icon {
149 min-width: 54px;
150 width: 54px;
151 height: 54px;
152 vertical-align: middle;
153 border: 1px solid #ddd;
154 }
155
156 .block-directory-downloadable-block-list-item + .block-directory-downloadable-block-list-item {
157 margin-top: 4px;
158 }
159 .block-directory-downloadable-block-list-item {
160 display: grid;
161 grid-template-columns: auto 1fr;
162 width: 100%;
163 height: auto;
164 padding: 12px;
165 margin: 0;
166 -webkit-appearance: none;
167 -moz-appearance: none;
168 appearance: none;
169 background: none;
170 border: 0;
171 text-align: left;
172 }
173 @media not (prefers-reduced-motion) {
174 .block-directory-downloadable-block-list-item {
175 transition: box-shadow 0.1s linear;
176 }
177 }
178 .block-directory-downloadable-block-list-item {
179 position: relative;
180 }
181 .block-directory-downloadable-block-list-item:not([aria-disabled=true]) {
182 cursor: var(--wpds-cursor-control, pointer);
183 }
184 .block-directory-downloadable-block-list-item:hover {
185 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
186 outline: 2px solid transparent;
187 }
188 .block-directory-downloadable-block-list-item[data-focus-visible] {
189 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
190 outline: 2px solid transparent;
191 }
192 .block-directory-downloadable-block-list-item.is-installing .block-directory-downloadable-block-list-item__author {
193 display: none;
194 }
195
196 .block-directory-downloadable-block-list-item__icon {
197 position: relative;
198 margin-right: 16px;
199 align-self: flex-start;
200 }
201 .block-directory-downloadable-block-list-item__icon .block-directory-downloadable-block-list-item__spinner {
202 position: absolute;
203 top: 0;
204 right: 0;
205 bottom: 0;
206 left: 0;
207 background: rgba(255, 255, 255, 0.75);
208 display: flex;
209 align-items: center;
210 justify-content: center;
211 }
212 .is-installing .block-directory-downloadable-block-list-item__icon {
213 margin-right: 22px;
214 }
215
216 .block-directory-block-ratings {
217 display: block;
218 margin-top: 4px;
219 }
220
221 .block-directory-downloadable-block-list-item__details {
222 color: #1e1e1e;
223 }
224
225 .block-directory-downloadable-block-list-item__title {
226 display: block;
227 font-weight: 600;
228 }
229
230 .block-directory-downloadable-block-list-item__author {
231 display: block;
232 margin-top: 4px;
233 font-weight: normal;
234 }
235
236 .block-directory-downloadable-block-list-item__desc {
237 display: block;
238 margin-top: 8px;
239 }
240
241 .block-directory-downloadable-block-notice {
242 margin: 8px 0 0;
243 color: #cc1818;
244 }
245
246 .block-directory-downloadable-block-notice__content {
247 padding-right: 12px;
248 margin-bottom: 8px;
249 }
250
251 .block-directory-downloadable-blocks-panel {
252 padding: 16px;
253 }
254 .block-directory-downloadable-blocks-panel.has-blocks-loading {
255 font-style: normal;
256 padding: 0;
257 margin: 112px 0;
258 text-align: center;
259 color: #757575;
260 }
261 .block-directory-downloadable-blocks-panel.has-blocks-loading .components-spinner {
262 float: inherit;
263 }
264
265 .block-directory-downloadable-blocks-panel__no-local {
266 margin: 48px 0;
267 padding: 0 64px;
268 color: #757575;
269 text-align: center;
270 }
271
272 .block-directory-downloadable-blocks-panel__title {
273 margin: 0 0 4px;
274 font-size: 14px;
275 }
276
277 .block-directory-downloadable-blocks-panel__description {
278 margin-top: 0;
279 }
280
281 .installed-blocks-pre-publish-panel__copy {
282 margin-top: 0;
283 }