9
|
1 |
/** |
|
2 |
* Colors |
|
3 |
*/ |
|
4 |
/** |
|
5 |
* Breakpoints & Media Queries |
|
6 |
*/ |
|
7 |
/** |
18
|
8 |
* SCSS Variables. |
|
9 |
* |
|
10 |
* Please use variables from this sheet to ensure consistency across the UI. |
|
11 |
* Don't add to this sheet unless you're pretty sure the value will be reused in many places. |
|
12 |
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI. |
16
|
13 |
*/ |
|
14 |
/** |
18
|
15 |
* Colors |
16
|
16 |
*/ |
|
17 |
/** |
|
18 |
* Fonts & basic variables. |
|
19 |
*/ |
|
20 |
/** |
|
21 |
* Grid System. |
|
22 |
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ |
|
23 |
*/ |
|
24 |
/** |
|
25 |
* Dimensions. |
|
26 |
*/ |
|
27 |
/** |
|
28 |
* Shadows. |
|
29 |
*/ |
|
30 |
/** |
|
31 |
* Editor widths. |
|
32 |
*/ |
|
33 |
/** |
18
|
34 |
* Block & Editor UI. |
16
|
35 |
*/ |
|
36 |
/** |
18
|
37 |
* Block paddings. |
|
38 |
*/ |
|
39 |
/** |
|
40 |
* React Native specific. |
|
41 |
* These variables do not appear to be used anywhere else. |
9
|
42 |
*/ |
|
43 |
/** |
19
|
44 |
* Converts a hex value into the rgb equivalent. |
|
45 |
* |
|
46 |
* @param {string} hex - the hexadecimal value to convert |
|
47 |
* @return {string} comma separated rgb values |
|
48 |
*/ |
|
49 |
/** |
9
|
50 |
* Breakpoint mixins |
|
51 |
*/ |
|
52 |
/** |
|
53 |
* Long content fade mixin |
|
54 |
* |
|
55 |
* Creates a fading overlay to signify that the content is longer |
|
56 |
* than the space allows. |
|
57 |
*/ |
|
58 |
/** |
16
|
59 |
* Focus styles. |
9
|
60 |
*/ |
|
61 |
/** |
|
62 |
* Applies editor left position to the selector passed as argument |
|
63 |
*/ |
|
64 |
/** |
|
65 |
* Styles that are reused verbatim in a few places |
|
66 |
*/ |
|
67 |
/** |
|
68 |
* Allows users to opt-out of animations via OS-level preferences. |
|
69 |
*/ |
16
|
70 |
/** |
|
71 |
* Reset default styles for JavaScript UI based pages. |
|
72 |
* This is a WP-admin agnostic reset |
|
73 |
*/ |
|
74 |
/** |
|
75 |
* Reset the WP Admin page styles for Gutenberg-like pages. |
|
76 |
*/ |
18
|
77 |
ul.wp-block-archives { |
|
78 |
padding-left: 2.5em; |
|
79 |
} |
9
|
80 |
|
|
81 |
.wp-block-audio { |
16
|
82 |
margin-left: 0; |
18
|
83 |
margin-right: 0; |
19
|
84 |
position: relative; |
|
85 |
} |
|
86 |
.wp-block-audio.is-transient audio { |
|
87 |
opacity: 0.3; |
|
88 |
} |
|
89 |
.wp-block-audio .components-spinner { |
|
90 |
position: absolute; |
|
91 |
top: 50%; |
|
92 |
left: 50%; |
|
93 |
margin-top: -9px; |
|
94 |
margin-left: -9px; |
|
95 |
} |
|
96 |
|
|
97 |
.wp-block-avatar__image img { |
|
98 |
width: 100%; |
|
99 |
} |
|
100 |
|
|
101 |
.wp-block-avatar.aligncenter .components-resizable-box__container { |
|
102 |
margin: 0 auto; |
18
|
103 |
} |
16
|
104 |
|
|
105 |
.edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container { |
|
106 |
padding-left: 0; |
18
|
107 |
padding-right: 0; |
|
108 |
} |
16
|
109 |
.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow { |
18
|
110 |
display: block; |
|
111 |
} |
|
112 |
.edit-post-visual-editor .block-library-block__reusable-block-container .components-disabled .block-list-appender { |
|
113 |
display: none; |
|
114 |
} |
16
|
115 |
|
18
|
116 |
.wp-block[data-align=center] > .wp-block-button { |
16
|
117 |
text-align: center; |
|
118 |
margin-left: auto; |
18
|
119 |
margin-right: auto; |
|
120 |
} |
16
|
121 |
|
18
|
122 |
.wp-block[data-align=right] > .wp-block-button { |
9
|
123 |
/*!rtl:ignore*/ |
18
|
124 |
text-align: right; |
|
125 |
} |
9
|
126 |
|
|
127 |
.wp-block-button { |
16
|
128 |
position: relative; |
18
|
129 |
cursor: text; |
|
130 |
} |
|
131 |
.wp-block-button:focus { |
|
132 |
box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--wp-admin-theme-color); |
|
133 |
outline: 2px solid transparent; |
|
134 |
outline-offset: -2px; |
|
135 |
} |
|
136 |
.wp-block-button[data-rich-text-placeholder]::after { |
|
137 |
opacity: 0.8; |
|
138 |
} |
9
|
139 |
|
16
|
140 |
.wp-block-button__inline-link { |
18
|
141 |
color: #757575; |
16
|
142 |
height: 0; |
|
143 |
overflow: hidden; |
18
|
144 |
max-width: 290px; |
|
145 |
} |
|
146 |
.wp-block-button__inline-link-input__suggestions { |
|
147 |
max-width: 290px; |
|
148 |
} |
|
149 |
@media (min-width: 782px) { |
|
150 |
.wp-block-button__inline-link { |
|
151 |
max-width: 260px; |
|
152 |
} |
16
|
153 |
.wp-block-button__inline-link-input__suggestions { |
18
|
154 |
max-width: 260px; |
|
155 |
} |
|
156 |
} |
|
157 |
@media (min-width: 960px) { |
|
158 |
.wp-block-button__inline-link { |
|
159 |
max-width: 290px; |
|
160 |
} |
|
161 |
.wp-block-button__inline-link-input__suggestions { |
|
162 |
max-width: 290px; |
|
163 |
} |
|
164 |
} |
|
165 |
.is-selected .wp-block-button__inline-link { |
|
166 |
height: auto; |
|
167 |
overflow: visible; |
|
168 |
} |
|
169 |
|
|
170 |
.wp-button-label__width .components-button-group { |
|
171 |
display: block; |
|
172 |
} |
|
173 |
.wp-button-label__width .components-base-control__field { |
|
174 |
margin-bottom: 12px; |
|
175 |
} |
16
|
176 |
|
|
177 |
div[data-type="core/button"] { |
18
|
178 |
display: table; |
|
179 |
} |
16
|
180 |
|
18
|
181 |
.wp-block-buttons { |
|
182 |
/* stylelint-disable indentation */ |
|
183 |
} |
|
184 |
.wp-block-buttons > .wp-block { |
19
|
185 |
margin: 0; |
|
186 |
} |
|
187 |
.wp-block-buttons > .wp-block-button.wp-block-button.wp-block-button.wp-block-button.wp-block-button { |
|
188 |
margin: 0; |
18
|
189 |
} |
|
190 |
.wp-block-buttons > .block-list-appender { |
|
191 |
display: inline-flex; |
|
192 |
align-items: center; |
|
193 |
} |
|
194 |
.wp-block-buttons.is-vertical > .block-list-appender .block-list-appender__toggle { |
|
195 |
justify-content: flex-start; |
|
196 |
} |
|
197 |
.wp-block-buttons > .wp-block-button:focus { |
|
198 |
box-shadow: none; |
|
199 |
} |
|
200 |
.wp-block-buttons:not(.is-content-justification-space-between, |
|
201 |
.is-content-justification-right, |
|
202 |
.is-content-justification-left, |
|
203 |
.is-content-justification-center) .wp-block[data-align=center] { |
|
204 |
/* stylelint-enable indentation */ |
|
205 |
margin-left: auto; |
|
206 |
margin-right: auto; |
|
207 |
margin-top: 0; |
|
208 |
width: 100%; |
|
209 |
} |
|
210 |
.wp-block-buttons:not(.is-content-justification-space-between, |
|
211 |
.is-content-justification-right, |
|
212 |
.is-content-justification-left, |
|
213 |
.is-content-justification-center) .wp-block[data-align=center] .wp-block-button { |
|
214 |
margin-bottom: 0; |
|
215 |
} |
9
|
216 |
|
18
|
217 |
.wp-block[data-align=center] > .wp-block-buttons { |
|
218 |
align-items: center; |
|
219 |
justify-content: center; |
|
220 |
} |
9
|
221 |
|
18
|
222 |
.wp-block[data-align=right] > .wp-block-buttons { |
|
223 |
justify-content: flex-end; |
|
224 |
} |
|
225 |
|
|
226 |
.wp-block-categories ul { |
|
227 |
padding-left: 2.5em; |
|
228 |
} |
|
229 |
.wp-block-categories ul ul { |
|
230 |
margin-top: 6px; |
|
231 |
} |
16
|
232 |
|
19
|
233 |
.wp-block-columns :where(.wp-block) { |
18
|
234 |
max-width: none; |
|
235 |
margin-left: 0; |
|
236 |
margin-right: 0; |
|
237 |
} |
16
|
238 |
|
19
|
239 |
html :where(.wp-block-column) { |
16
|
240 |
margin-top: 0; |
18
|
241 |
margin-bottom: 0; |
|
242 |
} |
9
|
243 |
|
19
|
244 |
.wp-block-comment-author-avatar__placeholder { |
|
245 |
border: currentColor 1px dashed; |
|
246 |
width: 100%; |
|
247 |
height: 100%; |
|
248 |
stroke: currentColor; |
|
249 |
stroke-dasharray: 3; |
|
250 |
} |
|
251 |
|
|
252 |
.block-library-comments-toolbar__popover .components-popover__content { |
|
253 |
min-width: 230px; |
|
254 |
} |
|
255 |
|
|
256 |
.wp-block[data-align=center] > .wp-block-comments-pagination { |
|
257 |
justify-content: center; |
|
258 |
} |
|
259 |
|
|
260 |
.editor-styles-wrapper .wp-block-comments-pagination { |
|
261 |
max-width: 100%; |
|
262 |
} |
|
263 |
.editor-styles-wrapper .wp-block-comments-pagination.block-editor-block-list__layout { |
|
264 |
margin: 0; |
|
265 |
} |
|
266 |
|
|
267 |
.wp-block-comments-pagination > .wp-block-comments-pagination-next, |
|
268 |
.wp-block-comments-pagination > .wp-block-comments-pagination-previous, |
|
269 |
.wp-block-comments-pagination > .wp-block-comments-pagination-numbers { |
|
270 |
margin-left: 0; |
|
271 |
margin-top: 0.5em; |
|
272 |
/*rtl:ignore*/ |
|
273 |
margin-right: 0.5em; |
|
274 |
margin-bottom: 0.5em; |
|
275 |
} |
|
276 |
.wp-block-comments-pagination > .wp-block-comments-pagination-next:last-child, |
|
277 |
.wp-block-comments-pagination > .wp-block-comments-pagination-previous:last-child, |
|
278 |
.wp-block-comments-pagination > .wp-block-comments-pagination-numbers:last-child { |
|
279 |
/*rtl:ignore*/ |
|
280 |
margin-right: 0; |
|
281 |
} |
|
282 |
|
|
283 |
.wp-block-comments-pagination-numbers a { |
|
284 |
text-decoration: underline; |
|
285 |
} |
|
286 |
.wp-block-comments-pagination-numbers .page-numbers { |
|
287 |
margin-right: 2px; |
|
288 |
} |
|
289 |
.wp-block-comments-pagination-numbers .page-numbers:last-child { |
|
290 |
/*rtl:ignore*/ |
|
291 |
margin-right: 0; |
|
292 |
} |
|
293 |
|
|
294 |
.wp-block-comments-title.has-background { |
|
295 |
padding: inherit; |
|
296 |
} |
|
297 |
|
|
298 |
.wp-block-cover { |
|
299 |
/* Extra specificity needed because the reset.css applied in the editor context is overriding this rule. */ |
|
300 |
} |
|
301 |
.editor-styles-wrapper .wp-block-cover { |
|
302 |
box-sizing: border-box; |
|
303 |
} |
18
|
304 |
.wp-block-cover.is-placeholder { |
|
305 |
min-height: auto !important; |
|
306 |
padding: 0 !important; |
|
307 |
} |
19
|
308 |
.wp-block-cover.is-placeholder .block-library-cover__resize-container { |
|
309 |
display: none; |
|
310 |
} |
|
311 |
.wp-block-cover.is-placeholder .components-placeholder.is-large { |
|
312 |
min-height: 240px; |
|
313 |
justify-content: flex-start; |
|
314 |
z-index: 1; |
|
315 |
} |
|
316 |
.wp-block-cover.is-placeholder .components-placeholder.is-large + .block-library-cover__resize-container { |
|
317 |
min-height: 240px; |
|
318 |
display: block; |
|
319 |
} |
18
|
320 |
.wp-block-cover.components-placeholder h2 { |
|
321 |
color: inherit; |
|
322 |
} |
|
323 |
.wp-block-cover.is-transient::before { |
|
324 |
background-color: #fff; |
|
325 |
opacity: 0.3; |
|
326 |
} |
|
327 |
.wp-block-cover .components-spinner { |
|
328 |
position: absolute; |
|
329 |
z-index: 1; |
|
330 |
top: 50%; |
|
331 |
left: 50%; |
|
332 |
transform: translate(-50%, -50%); |
|
333 |
margin: 0; |
|
334 |
} |
|
335 |
.wp-block-cover .block-editor-block-list__layout { |
|
336 |
width: 100%; |
|
337 |
} |
|
338 |
.wp-block-cover .wp-block-cover__inner-container { |
|
339 |
text-align: left; |
|
340 |
margin-left: 0; |
|
341 |
margin-right: 0; |
|
342 |
} |
|
343 |
.wp-block-cover .wp-block-cover__placeholder-background-options { |
|
344 |
width: 100%; |
|
345 |
} |
9
|
346 |
|
18
|
347 |
[data-align=left] > .wp-block-cover, |
|
348 |
[data-align=right] > .wp-block-cover { |
|
349 |
max-width: 420px; |
|
350 |
width: 100%; |
|
351 |
} |
9
|
352 |
|
16
|
353 |
.block-library-cover__reset-button { |
18
|
354 |
margin-left: auto; |
|
355 |
} |
9
|
356 |
|
16
|
357 |
.block-library-cover__resize-container { |
|
358 |
position: absolute !important; |
|
359 |
top: 0; |
|
360 |
left: 0; |
|
361 |
right: 0; |
18
|
362 |
bottom: 0; |
19
|
363 |
min-height: 50px; |
18
|
364 |
} |
9
|
365 |
|
16
|
366 |
.block-library-cover__resize-container:not(.is-resizing) { |
18
|
367 |
height: auto !important; |
|
368 |
} |
|
369 |
|
|
370 |
.wp-block-cover > .components-drop-zone .components-drop-zone__content { |
19
|
371 |
opacity: 0.8 !important; |
18
|
372 |
} |
|
373 |
|
|
374 |
.block-editor-block-patterns-list__list-item .has-parallax.wp-block-cover { |
|
375 |
background-attachment: scroll; |
|
376 |
} |
9
|
377 |
|
|
378 |
.wp-block-embed { |
16
|
379 |
margin-left: 0; |
|
380 |
margin-right: 0; |
18
|
381 |
clear: both; |
|
382 |
} |
|
383 |
.wp-block-embed.is-loading { |
|
384 |
display: flex; |
|
385 |
justify-content: center; |
|
386 |
} |
|
387 |
.wp-block-embed .components-placeholder__error { |
|
388 |
word-break: break-word; |
|
389 |
} |
|
390 |
.wp-block-embed .components-placeholder__learn-more { |
|
391 |
margin-top: 1em; |
|
392 |
} |
9
|
393 |
|
|
394 |
.block-library-embed__interactive-overlay { |
|
395 |
position: absolute; |
|
396 |
top: 0; |
|
397 |
left: 0; |
|
398 |
right: 0; |
|
399 |
bottom: 0; |
18
|
400 |
opacity: 0; |
|
401 |
} |
|
402 |
|
|
403 |
.wp-block[data-align=left] > .wp-block-embed, |
|
404 |
.wp-block[data-align=right] > .wp-block-embed { |
|
405 |
max-width: 360px; |
|
406 |
width: 100%; |
|
407 |
} |
|
408 |
.wp-block[data-align=left] > .wp-block-embed .wp-block-embed__wrapper, |
|
409 |
.wp-block[data-align=right] > .wp-block-embed .wp-block-embed__wrapper { |
|
410 |
min-width: 280px; |
|
411 |
} |
9
|
412 |
|
|
413 |
.wp-block-file { |
|
414 |
display: flex; |
18
|
415 |
flex-wrap: wrap; |
9
|
416 |
justify-content: space-between; |
|
417 |
align-items: center; |
18
|
418 |
margin-bottom: 0; |
|
419 |
} |
|
420 |
.wp-block[data-align=left] > .wp-block-file, .wp-block[data-align=right] > .wp-block-file { |
|
421 |
height: auto; |
|
422 |
} |
|
423 |
.wp-block-file .components-resizable-box__container { |
|
424 |
margin-bottom: 1em; |
|
425 |
} |
|
426 |
.wp-block-file .wp-block-file__preview { |
|
427 |
margin-bottom: 1em; |
|
428 |
width: 100%; |
|
429 |
height: 100%; |
|
430 |
} |
|
431 |
.wp-block-file .wp-block-file__preview-overlay { |
|
432 |
position: absolute; |
|
433 |
top: 0; |
|
434 |
right: 0; |
|
435 |
bottom: 0; |
|
436 |
left: 0; |
|
437 |
} |
|
438 |
.wp-block-file .wp-block-file__content-wrapper { |
|
439 |
flex-grow: 1; |
|
440 |
} |
|
441 |
.wp-block-file a { |
|
442 |
min-width: 1em; |
|
443 |
} |
|
444 |
.wp-block-file .wp-block-file__button-richtext-wrapper { |
|
445 |
display: inline-block; |
|
446 |
margin-left: 0.75em; |
|
447 |
} |
9
|
448 |
|
|
449 |
.wp-block-freeform.block-library-rich-text__tinymce { |
16
|
450 |
height: auto; |
|
451 |
/* Allow height of embed iframes to be calculated properly */ |
9
|
452 |
/* Remove blue highlighting of selected images in WebKit */ |
|
453 |
/* Image captions */ |
18
|
454 |
/* WP Views */ |
|
455 |
} |
|
456 |
.wp-block-freeform.block-library-rich-text__tinymce p, |
|
457 |
.wp-block-freeform.block-library-rich-text__tinymce li { |
|
458 |
line-height: 1.8; |
|
459 |
} |
|
460 |
.wp-block-freeform.block-library-rich-text__tinymce ul, |
|
461 |
.wp-block-freeform.block-library-rich-text__tinymce ol { |
|
462 |
padding-left: 2.5em; |
|
463 |
margin-left: 0; |
|
464 |
} |
|
465 |
.wp-block-freeform.block-library-rich-text__tinymce blockquote { |
|
466 |
margin: 0; |
|
467 |
box-shadow: inset 0 0 0 0 #ddd; |
|
468 |
border-left: 4px solid #000; |
|
469 |
padding-left: 1em; |
|
470 |
} |
|
471 |
.wp-block-freeform.block-library-rich-text__tinymce pre { |
|
472 |
white-space: pre-wrap; |
|
473 |
font-family: Menlo, Consolas, monaco, monospace; |
|
474 |
font-size: 15px; |
|
475 |
color: #1e1e1e; |
|
476 |
} |
|
477 |
.wp-block-freeform.block-library-rich-text__tinymce > *:first-child { |
|
478 |
margin-top: 0; |
|
479 |
} |
|
480 |
.wp-block-freeform.block-library-rich-text__tinymce > *:last-child { |
|
481 |
margin-bottom: 0; |
|
482 |
} |
|
483 |
.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus { |
|
484 |
outline: none; |
|
485 |
} |
|
486 |
.wp-block-freeform.block-library-rich-text__tinymce a { |
|
487 |
color: var(--wp-admin-theme-color); |
|
488 |
} |
|
489 |
.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected] { |
|
490 |
padding: 0 2px; |
|
491 |
margin: 0 -2px; |
|
492 |
border-radius: 2px; |
|
493 |
box-shadow: 0 0 0 1px #e5f5fa; |
|
494 |
background: #e5f5fa; |
|
495 |
} |
|
496 |
.wp-block-freeform.block-library-rich-text__tinymce code { |
|
497 |
padding: 2px; |
|
498 |
border-radius: 2px; |
|
499 |
color: #1e1e1e; |
|
500 |
background: #f0f0f0; |
|
501 |
font-family: Menlo, Consolas, monaco, monospace; |
|
502 |
font-size: 14px; |
|
503 |
} |
|
504 |
.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected] { |
|
505 |
background: #ddd; |
|
506 |
} |
|
507 |
.wp-block-freeform.block-library-rich-text__tinymce .alignright { |
|
508 |
/*rtl:ignore*/ |
|
509 |
float: right; |
|
510 |
/*rtl:ignore*/ |
|
511 |
margin: 0.5em 0 0.5em 1em; |
|
512 |
} |
|
513 |
.wp-block-freeform.block-library-rich-text__tinymce .alignleft { |
|
514 |
/*rtl:ignore*/ |
|
515 |
float: left; |
|
516 |
/*rtl:ignore*/ |
|
517 |
margin: 0.5em 1em 0.5em 0; |
|
518 |
} |
|
519 |
.wp-block-freeform.block-library-rich-text__tinymce .aligncenter { |
|
520 |
display: block; |
|
521 |
margin-left: auto; |
|
522 |
margin-right: auto; |
|
523 |
} |
|
524 |
.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag { |
|
525 |
width: 96%; |
|
526 |
height: 20px; |
|
527 |
display: block; |
|
528 |
margin: 15px auto; |
|
529 |
outline: 0; |
|
530 |
cursor: default; |
|
531 |
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC); |
|
532 |
background-size: 1900px 20px; |
|
533 |
background-repeat: no-repeat; |
|
534 |
background-position: center; |
|
535 |
} |
|
536 |
.wp-block-freeform.block-library-rich-text__tinymce img::selection { |
|
537 |
background-color: transparent; |
|
538 |
} |
|
539 |
.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp { |
|
540 |
-ms-user-select: element; |
|
541 |
} |
|
542 |
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption { |
|
543 |
margin: 0; |
|
544 |
/* dl browser reset */ |
|
545 |
max-width: 100%; |
|
546 |
} |
|
547 |
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a, |
|
548 |
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img { |
|
549 |
display: block; |
|
550 |
} |
|
551 |
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption, .wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption * { |
|
552 |
-webkit-user-drag: none; |
|
553 |
} |
|
554 |
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd { |
|
555 |
padding-top: 0.5em; |
|
556 |
margin: 0; |
|
557 |
/* browser dd reset */ |
|
558 |
} |
|
559 |
.wp-block-freeform.block-library-rich-text__tinymce .wpview { |
|
560 |
width: 99.99%; |
|
561 |
/* All IE need hasLayout, incl. 11 (ugh, not again!!) */ |
|
562 |
position: relative; |
|
563 |
clear: both; |
|
564 |
margin-bottom: 16px; |
|
565 |
border: 1px solid transparent; |
|
566 |
} |
|
567 |
.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe { |
|
568 |
display: block; |
|
569 |
max-width: 100%; |
|
570 |
background: transparent; |
|
571 |
} |
|
572 |
.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim { |
|
573 |
position: absolute; |
|
574 |
top: 0; |
|
575 |
right: 0; |
|
576 |
bottom: 0; |
|
577 |
left: 0; |
|
578 |
} |
|
579 |
.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim { |
|
580 |
display: none; |
|
581 |
} |
|
582 |
.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder { |
|
583 |
border: 1px dashed #ddd; |
|
584 |
padding: 10px; |
|
585 |
} |
|
586 |
.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error { |
|
587 |
border: 1px solid #ddd; |
|
588 |
padding: 1em 0; |
|
589 |
margin: 0; |
|
590 |
word-wrap: break-word; |
|
591 |
} |
|
592 |
.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p { |
|
593 |
margin: 0; |
|
594 |
text-align: center; |
|
595 |
} |
|
596 |
.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder, .wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error { |
|
597 |
border-color: transparent; |
|
598 |
} |
|
599 |
.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons { |
|
600 |
display: block; |
|
601 |
margin: 0 auto; |
|
602 |
width: 32px; |
|
603 |
height: 32px; |
|
604 |
font-size: 32px; |
|
605 |
} |
|
606 |
.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery::after { |
|
607 |
content: ""; |
|
608 |
display: table; |
|
609 |
clear: both; |
|
610 |
} |
|
611 |
.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus { |
|
612 |
outline: none; |
|
613 |
} |
|
614 |
.wp-block-freeform.block-library-rich-text__tinymce .gallery a { |
|
615 |
cursor: default; |
|
616 |
} |
|
617 |
.wp-block-freeform.block-library-rich-text__tinymce .gallery { |
|
618 |
margin: auto -6px; |
|
619 |
padding: 6px 0; |
|
620 |
line-height: 1; |
|
621 |
overflow-x: hidden; |
|
622 |
} |
|
623 |
.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item { |
|
624 |
float: left; |
|
625 |
margin: 0; |
|
626 |
text-align: center; |
|
627 |
padding: 6px; |
|
628 |
box-sizing: border-box; |
|
629 |
} |
|
630 |
.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption, |
|
631 |
.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon { |
|
632 |
margin: 0; |
|
633 |
} |
|
634 |
.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption { |
|
635 |
font-size: 13px; |
|
636 |
margin: 4px 0; |
|
637 |
} |
|
638 |
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item { |
|
639 |
width: 100%; |
|
640 |
} |
|
641 |
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item { |
|
642 |
width: 50%; |
|
643 |
} |
|
644 |
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item { |
|
645 |
width: 33.3333333333%; |
|
646 |
} |
|
647 |
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item { |
|
648 |
width: 25%; |
|
649 |
} |
|
650 |
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item { |
|
651 |
width: 20%; |
|
652 |
} |
|
653 |
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item { |
|
654 |
width: 16.6666666667%; |
|
655 |
} |
|
656 |
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item { |
|
657 |
width: 14.2857142857%; |
|
658 |
} |
|
659 |
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item { |
|
660 |
width: 12.5%; |
|
661 |
} |
|
662 |
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item { |
|
663 |
width: 11.1111111111%; |
|
664 |
} |
|
665 |
.wp-block-freeform.block-library-rich-text__tinymce .gallery img { |
|
666 |
max-width: 100%; |
|
667 |
height: auto; |
|
668 |
border: none; |
|
669 |
padding: 0; |
|
670 |
} |
9
|
671 |
|
16
|
672 |
div[data-type="core/freeform"]::before { |
9
|
673 |
transition: border-color 0.1s linear, box-shadow 0.1s linear; |
16
|
674 |
border: 1px solid #ddd; |
18
|
675 |
outline: 1px solid transparent; |
|
676 |
} |
|
677 |
@media (prefers-reduced-motion: reduce) { |
|
678 |
div[data-type="core/freeform"]::before { |
|
679 |
transition-duration: 0s; |
|
680 |
transition-delay: 0s; |
|
681 |
} |
|
682 |
} |
16
|
683 |
div[data-type="core/freeform"].is-selected::before { |
18
|
684 |
border-color: #1e1e1e; |
|
685 |
} |
16
|
686 |
div[data-type="core/freeform"] .block-editor-block-contextual-toolbar + div { |
9
|
687 |
margin-top: 0; |
18
|
688 |
padding-top: 0; |
|
689 |
} |
9
|
690 |
div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce::after { |
|
691 |
content: ""; |
|
692 |
display: table; |
18
|
693 |
clear: both; |
|
694 |
} |
9
|
695 |
|
|
696 |
.mce-toolbar-grp .mce-btn.mce-active button, |
|
697 |
.mce-toolbar-grp .mce-btn.mce-active:hover button, |
|
698 |
.mce-toolbar-grp .mce-btn.mce-active i, |
|
699 |
.mce-toolbar-grp .mce-btn.mce-active:hover i { |
18
|
700 |
color: #1e1e1e; |
|
701 |
} |
9
|
702 |
.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last { |
|
703 |
margin-right: 0; |
18
|
704 |
margin-left: 8px; |
|
705 |
} |
9
|
706 |
.mce-toolbar-grp .mce-btn i { |
18
|
707 |
font-style: normal; |
|
708 |
} |
9
|
709 |
|
|
710 |
.block-library-classic__toolbar { |
16
|
711 |
display: none; |
9
|
712 |
width: auto; |
16
|
713 |
margin: 0; |
9
|
714 |
position: sticky; |
16
|
715 |
z-index: 31; |
|
716 |
top: 0; |
|
717 |
border: 1px solid #ddd; |
9
|
718 |
border-bottom: none; |
16
|
719 |
border-radius: 2px; |
|
720 |
margin-bottom: 8px; |
18
|
721 |
padding: 0; |
|
722 |
} |
|
723 |
div[data-type="core/freeform"].is-selected .block-library-classic__toolbar { |
|
724 |
display: block; |
|
725 |
border-color: #1e1e1e; |
|
726 |
} |
|
727 |
.block-library-classic__toolbar .mce-tinymce { |
|
728 |
box-shadow: none; |
|
729 |
} |
|
730 |
@media (min-width: 600px) { |
|
731 |
.block-library-classic__toolbar { |
|
732 |
padding: 0; |
|
733 |
} |
|
734 |
} |
|
735 |
.block-library-classic__toolbar:empty { |
|
736 |
display: block; |
|
737 |
background: #f5f5f5; |
|
738 |
border-bottom: 1px solid #e2e4e7; |
|
739 |
} |
|
740 |
.block-library-classic__toolbar:empty::before { |
|
741 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
742 |
font-size: 13px; |
|
743 |
content: attr(data-placeholder); |
|
744 |
color: #555d66; |
|
745 |
line-height: 37px; |
|
746 |
padding: 14px; |
|
747 |
} |
|
748 |
.block-library-classic__toolbar div.mce-toolbar-grp { |
|
749 |
border-bottom: 1px solid #1e1e1e; |
|
750 |
} |
|
751 |
.block-library-classic__toolbar .mce-tinymce-inline, |
|
752 |
.block-library-classic__toolbar .mce-tinymce-inline > div, |
|
753 |
.block-library-classic__toolbar div.mce-toolbar-grp, |
|
754 |
.block-library-classic__toolbar div.mce-toolbar-grp > div, |
|
755 |
.block-library-classic__toolbar .mce-menubar, |
|
756 |
.block-library-classic__toolbar .mce-menubar > div { |
|
757 |
height: auto !important; |
|
758 |
width: 100% !important; |
|
759 |
} |
|
760 |
.block-library-classic__toolbar .mce-container-body.mce-abs-layout { |
|
761 |
overflow: visible; |
|
762 |
} |
|
763 |
.block-library-classic__toolbar .mce-menubar, |
|
764 |
.block-library-classic__toolbar div.mce-toolbar-grp { |
|
765 |
position: static; |
|
766 |
} |
|
767 |
.block-library-classic__toolbar .mce-toolbar-grp > div { |
|
768 |
padding: 1px 3px; |
|
769 |
} |
|
770 |
.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child) { |
|
771 |
display: none; |
|
772 |
} |
|
773 |
.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar { |
|
774 |
display: block; |
|
775 |
} |
9
|
776 |
|
19
|
777 |
figure.wp-block-gallery { |
|
778 |
display: block; |
|
779 |
} |
|
780 |
figure.wp-block-gallery.has-nested-images .components-drop-zone { |
18
|
781 |
display: none; |
19
|
782 |
pointer-events: none; |
|
783 |
} |
|
784 |
figure.wp-block-gallery > .blocks-gallery-caption { |
|
785 |
flex: 0 0 100%; |
|
786 |
} |
|
787 |
figure.wp-block-gallery > .blocks-gallery-media-placeholder-wrapper { |
|
788 |
flex-basis: 100%; |
|
789 |
} |
|
790 |
figure.wp-block-gallery .wp-block-image .components-notice.is-error { |
|
791 |
display: block; |
|
792 |
} |
|
793 |
figure.wp-block-gallery .wp-block-image .components-notice__content { |
|
794 |
margin: 4px 0; |
|
795 |
} |
|
796 |
figure.wp-block-gallery .wp-block-image .components-notice__dismiss { |
|
797 |
position: absolute; |
|
798 |
top: 0; |
|
799 |
right: 5px; |
|
800 |
} |
|
801 |
figure.wp-block-gallery .block-editor-media-placeholder.is-appender .components-placeholder__label { |
|
802 |
display: none; |
|
803 |
} |
|
804 |
figure.wp-block-gallery .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button { |
18
|
805 |
margin-bottom: 0; |
|
806 |
} |
19
|
807 |
figure.wp-block-gallery .block-editor-media-placeholder { |
|
808 |
margin: 0; |
|
809 |
} |
|
810 |
figure.wp-block-gallery .block-editor-media-placeholder .components-placeholder__label { |
|
811 |
display: flex; |
|
812 |
} |
|
813 |
figure.wp-block-gallery .block-editor-media-placeholder figcaption { |
|
814 |
z-index: 2; |
|
815 |
} |
|
816 |
figure.wp-block-gallery .components-spinner { |
|
817 |
position: absolute; |
|
818 |
top: 50%; |
|
819 |
left: 50%; |
|
820 |
margin-top: -9px; |
|
821 |
margin-left: -9px; |
|
822 |
} |
16
|
823 |
|
19
|
824 |
/** |
|
825 |
* Gallery inspector controls settings. |
|
826 |
*/ |
|
827 |
.gallery-settings-buttons .components-button:first-child { |
|
828 |
margin-right: 8px; |
18
|
829 |
} |
16
|
830 |
|
19
|
831 |
.gallery-image-sizes .components-base-control__label { |
|
832 |
display: block; |
|
833 |
margin-bottom: 4px; |
|
834 |
} |
|
835 |
.gallery-image-sizes .gallery-image-sizes__loading { |
|
836 |
display: flex; |
|
837 |
align-items: center; |
|
838 |
color: #757575; |
|
839 |
font-size: 12px; |
|
840 |
} |
|
841 |
.gallery-image-sizes .components-spinner { |
|
842 |
margin: 0 8px 0 4px; |
18
|
843 |
} |
16
|
844 |
|
19
|
845 |
/** |
|
846 |
* Deprecated css past this point. This can be removed once all galleries are migrated |
|
847 |
* to V2. |
|
848 |
*/ |
16
|
849 |
.blocks-gallery-item figure:not(.is-selected):focus, |
|
850 |
.blocks-gallery-item img:focus { |
18
|
851 |
outline: none; |
|
852 |
} |
|
853 |
.blocks-gallery-item figure.is-selected::before { |
|
854 |
box-shadow: 0 0 0 1px #fff inset, 0 0 0 3px var(--wp-admin-theme-color) inset; |
|
855 |
content: ""; |
|
856 |
outline: 2px solid transparent; |
|
857 |
position: absolute; |
|
858 |
top: 0; |
|
859 |
right: 0; |
|
860 |
bottom: 0; |
|
861 |
left: 0; |
|
862 |
z-index: 1; |
|
863 |
pointer-events: none; |
|
864 |
} |
16
|
865 |
.blocks-gallery-item figure.is-transient img { |
18
|
866 |
opacity: 0.3; |
|
867 |
} |
16
|
868 |
.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu { |
18
|
869 |
display: inline-flex; |
|
870 |
} |
16
|
871 |
.blocks-gallery-item .block-editor-media-placeholder { |
|
872 |
margin: 0; |
18
|
873 |
height: 100%; |
|
874 |
} |
|
875 |
.blocks-gallery-item .block-editor-media-placeholder .components-placeholder__label { |
|
876 |
display: flex; |
|
877 |
} |
9
|
878 |
|
|
879 |
.block-library-gallery-item__inline-menu { |
16
|
880 |
display: none; |
9
|
881 |
position: absolute; |
|
882 |
top: -2px; |
16
|
883 |
margin: 8px; |
|
884 |
z-index: 20; |
|
885 |
transition: box-shadow 0.2s ease-out; |
|
886 |
border-radius: 2px; |
|
887 |
background: #fff; |
18
|
888 |
border: 1px solid #1e1e1e; |
|
889 |
} |
|
890 |
@media (prefers-reduced-motion: reduce) { |
|
891 |
.block-library-gallery-item__inline-menu { |
|
892 |
transition-duration: 0s; |
|
893 |
transition-delay: 0s; |
|
894 |
} |
|
895 |
} |
|
896 |
.block-library-gallery-item__inline-menu:hover { |
|
897 |
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); |
|
898 |
} |
|
899 |
@media (min-width: 600px) { |
|
900 |
.columns-7 .block-library-gallery-item__inline-menu, .columns-8 .block-library-gallery-item__inline-menu { |
|
901 |
padding: 2px; |
|
902 |
} |
|
903 |
} |
|
904 |
.block-library-gallery-item__inline-menu .components-button.has-icon:not(:focus) { |
|
905 |
border: none; |
|
906 |
box-shadow: none; |
|
907 |
} |
|
908 |
@media (min-width: 600px) { |
|
909 |
.columns-7 .block-library-gallery-item__inline-menu .components-button.has-icon, .columns-8 .block-library-gallery-item__inline-menu .components-button.has-icon { |
|
910 |
padding: 0; |
|
911 |
width: inherit; |
|
912 |
height: inherit; |
|
913 |
} |
|
914 |
} |
|
915 |
.block-library-gallery-item__inline-menu.is-left { |
|
916 |
left: -2px; |
|
917 |
} |
|
918 |
.block-library-gallery-item__inline-menu.is-right { |
|
919 |
right: -2px; |
|
920 |
} |
9
|
921 |
|
19
|
922 |
.wp-block-gallery ul.blocks-gallery-grid { |
|
923 |
padding: 0; |
|
924 |
margin: 0; |
|
925 |
} |
|
926 |
|
|
927 |
@media (min-width: 600px) { |
|
928 |
.wp-block-update-gallery-modal { |
|
929 |
max-width: 480px; |
|
930 |
} |
|
931 |
} |
|
932 |
|
|
933 |
.wp-block-update-gallery-modal-buttons { |
|
934 |
display: flex; |
|
935 |
justify-content: flex-end; |
|
936 |
gap: 12px; |
18
|
937 |
} |
9
|
938 |
|
16
|
939 |
/** |
|
940 |
* Group: All Alignment Settings |
|
941 |
*/ |
18
|
942 |
.wp-block-group .block-editor-block-list__insertion-point { |
16
|
943 |
left: 0; |
18
|
944 |
right: 0; |
|
945 |
} |
16
|
946 |
|
|
947 |
[data-type="core/group"].is-selected .block-list-appender { |
|
948 |
margin-left: 0; |
18
|
949 |
margin-right: 0; |
|
950 |
} |
16
|
951 |
[data-type="core/group"].is-selected .has-background .block-list-appender { |
|
952 |
margin-top: 18px; |
18
|
953 |
margin-bottom: 18px; |
|
954 |
} |
9
|
955 |
|
19
|
956 |
.is-layout-flex.block-editor-block-list__block .block-list-appender:only-child { |
|
957 |
gap: inherit; |
|
958 |
pointer-events: none; |
|
959 |
} |
|
960 |
.is-layout-flex.block-editor-block-list__block .block-list-appender:only-child, |
|
961 |
.is-layout-flex.block-editor-block-list__block .block-list-appender:only-child .block-editor-default-block-appender__content, |
|
962 |
.is-layout-flex.block-editor-block-list__block .block-list-appender:only-child .block-editor-inserter { |
|
963 |
display: inherit; |
|
964 |
width: 100%; |
|
965 |
flex-direction: inherit; |
|
966 |
flex: 1; |
|
967 |
} |
|
968 |
.is-layout-flex.block-editor-block-list__block .block-list-appender:only-child::after { |
|
969 |
content: ""; |
|
970 |
display: flex; |
|
971 |
border: 1px dashed currentColor; |
|
972 |
opacity: 0.4; |
|
973 |
border-radius: 2px; |
|
974 |
flex: 1; |
|
975 |
pointer-events: none; |
|
976 |
min-height: 48px; |
|
977 |
} |
|
978 |
.is-layout-flex.block-editor-block-list__block .block-list-appender:only-child .block-editor-inserter { |
|
979 |
pointer-events: all; |
18
|
980 |
} |
9
|
981 |
|
18
|
982 |
.block-library-html__edit .block-library-html__preview-overlay { |
|
983 |
position: absolute; |
|
984 |
width: 100%; |
|
985 |
height: 100%; |
|
986 |
top: 0; |
|
987 |
left: 0; |
|
988 |
} |
|
989 |
.block-library-html__edit .block-editor-plain-text { |
19
|
990 |
font-family: Menlo, Consolas, monaco, monospace !important; |
|
991 |
color: #1e1e1e !important; |
|
992 |
background: #fff !important; |
|
993 |
padding: 12px !important; |
|
994 |
border: 1px solid #1e1e1e !important; |
|
995 |
box-shadow: none !important; |
|
996 |
border-radius: 2px !important; |
18
|
997 |
max-height: 250px; |
|
998 |
/* Fonts smaller than 16px causes mobile safari to zoom. */ |
19
|
999 |
font-size: 16px !important; |
18
|
1000 |
} |
|
1001 |
@media (min-width: 600px) { |
|
1002 |
.block-library-html__edit .block-editor-plain-text { |
19
|
1003 |
font-size: 13px !important; |
18
|
1004 |
} |
|
1005 |
} |
|
1006 |
.block-library-html__edit .block-editor-plain-text:focus { |
19
|
1007 |
border-color: var(--wp-admin-theme-color) !important; |
|
1008 |
box-shadow: 0 0 0 1px var(--wp-admin-theme-color) !important; |
|
1009 |
outline: 2px solid transparent !important; |
18
|
1010 |
} |
9
|
1011 |
|
16
|
1012 |
figure.wp-block-image:not(.wp-block) { |
18
|
1013 |
margin: 0; |
|
1014 |
} |
9
|
1015 |
|
|
1016 |
.wp-block-image { |
18
|
1017 |
position: relative; |
|
1018 |
} |
|
1019 |
.wp-block-image .is-applying img, .wp-block-image.is-transient img { |
|
1020 |
opacity: 0.3; |
|
1021 |
} |
|
1022 |
.wp-block-image figcaption img { |
|
1023 |
display: inline; |
|
1024 |
} |
|
1025 |
.wp-block-image .components-spinner { |
|
1026 |
position: absolute; |
|
1027 |
top: 50%; |
|
1028 |
left: 50%; |
|
1029 |
margin-top: -9px; |
|
1030 |
margin-left: -9px; |
|
1031 |
} |
19
|
1032 |
.wp-block-image:not(.is-style-rounded) > div:not(.components-placeholder) { |
18
|
1033 |
border-radius: inherit; |
|
1034 |
} |
9
|
1035 |
|
|
1036 |
.wp-block-image .components-resizable-box__container { |
18
|
1037 |
display: inline-block; |
|
1038 |
} |
|
1039 |
.wp-block-image .components-resizable-box__container img { |
|
1040 |
display: block; |
|
1041 |
width: inherit; |
|
1042 |
height: inherit; |
|
1043 |
} |
9
|
1044 |
|
|
1045 |
.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal { |
|
1046 |
position: absolute; |
|
1047 |
left: 0; |
|
1048 |
right: 0; |
18
|
1049 |
margin: -1px 0; |
|
1050 |
} |
|
1051 |
@media (min-width: 600px) { |
|
1052 |
.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal { |
|
1053 |
margin: -1px; |
|
1054 |
} |
|
1055 |
} |
|
1056 |
|
|
1057 |
[data-align=wide] > .wp-block-image img, |
|
1058 |
[data-align=full] > .wp-block-image img { |
19
|
1059 |
height: auto; |
18
|
1060 |
width: 100%; |
|
1061 |
} |
9
|
1062 |
|
18
|
1063 |
.wp-block[data-align=left] > .wp-block-image, |
|
1064 |
.wp-block[data-align=center] > .wp-block-image, |
|
1065 |
.wp-block[data-align=right] > .wp-block-image { |
|
1066 |
display: table; |
|
1067 |
} |
|
1068 |
.wp-block[data-align=left] > .wp-block-image > figcaption, |
|
1069 |
.wp-block[data-align=center] > .wp-block-image > figcaption, |
|
1070 |
.wp-block[data-align=right] > .wp-block-image > figcaption { |
|
1071 |
display: table-caption; |
|
1072 |
caption-side: bottom; |
|
1073 |
} |
16
|
1074 |
|
18
|
1075 |
.wp-block[data-align=left] > .wp-block-image { |
16
|
1076 |
margin-right: 1em; |
|
1077 |
margin-left: 0; |
|
1078 |
margin-top: 0.5em; |
18
|
1079 |
margin-bottom: 0.5em; |
|
1080 |
} |
9
|
1081 |
|
18
|
1082 |
.wp-block[data-align=right] > .wp-block-image { |
16
|
1083 |
margin-left: 1em; |
|
1084 |
margin-right: 0; |
|
1085 |
margin-top: 0.5em; |
18
|
1086 |
margin-bottom: 0.5em; |
|
1087 |
} |
9
|
1088 |
|
18
|
1089 |
.wp-block[data-align=center] > .wp-block-image { |
16
|
1090 |
margin-left: auto; |
|
1091 |
margin-right: auto; |
18
|
1092 |
text-align: center; |
|
1093 |
} |
16
|
1094 |
|
|
1095 |
.wp-block-image__crop-area { |
|
1096 |
position: relative; |
|
1097 |
max-width: 100%; |
18
|
1098 |
width: 100%; |
|
1099 |
} |
9
|
1100 |
|
16
|
1101 |
.wp-block-image__crop-icon { |
|
1102 |
padding: 0 8px; |
|
1103 |
min-width: 48px; |
|
1104 |
display: flex; |
|
1105 |
justify-content: center; |
18
|
1106 |
align-items: center; |
|
1107 |
} |
|
1108 |
.wp-block-image__crop-icon svg { |
|
1109 |
fill: currentColor; |
|
1110 |
} |
16
|
1111 |
|
|
1112 |
.wp-block-image__zoom .components-popover__content { |
18
|
1113 |
overflow: visible; |
|
1114 |
min-width: 260px; |
|
1115 |
} |
16
|
1116 |
.wp-block-image__zoom .components-range-control { |
18
|
1117 |
flex: 1; |
|
1118 |
} |
16
|
1119 |
.wp-block-image__zoom .components-base-control__field { |
|
1120 |
display: flex; |
18
|
1121 |
margin-bottom: 0; |
|
1122 |
flex-direction: column; |
|
1123 |
align-items: flex-start; |
|
1124 |
} |
16
|
1125 |
|
|
1126 |
.wp-block-image__aspect-ratio { |
|
1127 |
height: 46px; |
|
1128 |
margin-bottom: -8px; |
|
1129 |
display: flex; |
18
|
1130 |
align-items: center; |
|
1131 |
} |
|
1132 |
.wp-block-image__aspect-ratio .components-button { |
|
1133 |
width: 36px; |
|
1134 |
padding-left: 0; |
|
1135 |
padding-right: 0; |
|
1136 |
} |
9
|
1137 |
|
18
|
1138 |
.wp-block-latest-posts { |
|
1139 |
padding-left: 2.5em; |
|
1140 |
} |
|
1141 |
.wp-block-latest-posts.is-grid { |
|
1142 |
padding-left: 0; |
|
1143 |
} |
9
|
1144 |
|
|
1145 |
.wp-block-latest-posts li a > div { |
18
|
1146 |
display: inline; |
|
1147 |
} |
9
|
1148 |
|
18
|
1149 |
.edit-post-visual-editor .wp-block-latest-posts.is-grid li { |
|
1150 |
margin-bottom: 20px; |
|
1151 |
} |
9
|
1152 |
|
19
|
1153 |
.editor-latest-posts-image-alignment-control .components-base-control__label { |
|
1154 |
display: block; |
|
1155 |
} |
|
1156 |
.editor-latest-posts-image-alignment-control .components-toolbar { |
|
1157 |
border-radius: 2px; |
|
1158 |
} |
|
1159 |
|
|
1160 |
.wp-block-media-text__media { |
|
1161 |
position: relative; |
|
1162 |
} |
|
1163 |
.wp-block-media-text__media.is-transient img { |
|
1164 |
opacity: 0.3; |
|
1165 |
} |
|
1166 |
.wp-block-media-text__media .components-spinner { |
|
1167 |
position: absolute; |
|
1168 |
top: 50%; |
|
1169 |
left: 50%; |
|
1170 |
margin-top: -9px; |
|
1171 |
margin-left: -9px; |
|
1172 |
} |
|
1173 |
|
9
|
1174 |
.wp-block-media-text .__resizable_base__ { |
18
|
1175 |
grid-column: 1/span 2; |
|
1176 |
grid-row: 2; |
|
1177 |
} |
9
|
1178 |
|
|
1179 |
.wp-block-media-text .editor-media-container__resizer { |
18
|
1180 |
width: 100% !important; |
|
1181 |
} |
9
|
1182 |
|
16
|
1183 |
.wp-block-media-text.is-image-fill .editor-media-container__resizer { |
18
|
1184 |
height: 100% !important; |
|
1185 |
} |
9
|
1186 |
|
16
|
1187 |
.wp-block-media-text > .block-editor-block-list__layout > .block-editor-block-list__block { |
18
|
1188 |
max-width: unset; |
|
1189 |
} |
9
|
1190 |
|
|
1191 |
.block-editor-block-list__block[data-type="core/more"] { |
|
1192 |
max-width: 100%; |
16
|
1193 |
text-align: center; |
|
1194 |
margin-top: 28px; |
18
|
1195 |
margin-bottom: 28px; |
|
1196 |
} |
9
|
1197 |
|
18
|
1198 |
.wp-block-more { |
9
|
1199 |
display: block; |
|
1200 |
text-align: center; |
18
|
1201 |
white-space: nowrap; |
|
1202 |
} |
|
1203 |
.wp-block-more input[type=text] { |
|
1204 |
position: relative; |
|
1205 |
font-size: 13px; |
|
1206 |
text-transform: uppercase; |
|
1207 |
font-weight: 600; |
|
1208 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
1209 |
color: #757575; |
|
1210 |
border: none; |
|
1211 |
box-shadow: none; |
|
1212 |
white-space: nowrap; |
|
1213 |
text-align: center; |
|
1214 |
margin: 0; |
|
1215 |
border-radius: 4px; |
|
1216 |
background: #fff; |
|
1217 |
padding: 6px 8px; |
|
1218 |
height: 24px; |
|
1219 |
max-width: 100%; |
|
1220 |
} |
|
1221 |
.wp-block-more input[type=text]:focus { |
|
1222 |
box-shadow: none; |
|
1223 |
} |
|
1224 |
.wp-block-more::before { |
|
1225 |
content: ""; |
|
1226 |
position: absolute; |
|
1227 |
top: calc(50%); |
|
1228 |
left: 0; |
|
1229 |
right: 0; |
|
1230 |
border-top: 3px dashed #ccc; |
|
1231 |
} |
9
|
1232 |
|
18
|
1233 |
/** |
|
1234 |
* Editor only CSS. |
|
1235 |
*/ |
|
1236 |
.editor-styles-wrapper .wp-block-navigation ul { |
|
1237 |
margin-top: 0; |
16
|
1238 |
margin-bottom: 0; |
|
1239 |
margin-left: 0; |
18
|
1240 |
padding-left: 0; |
|
1241 |
} |
19
|
1242 |
.editor-styles-wrapper .wp-block-navigation .wp-block-navigation-item.wp-block { |
|
1243 |
margin: revert; |
|
1244 |
} |
|
1245 |
|
|
1246 |
.wp-block-navigation-item__label { |
|
1247 |
display: inline; |
|
1248 |
} |
16
|
1249 |
|
18
|
1250 |
/** |
|
1251 |
* Submenus. |
|
1252 |
*/ |
16
|
1253 |
.wp-block-navigation__container.is-parent-of-selected-block { |
|
1254 |
visibility: visible; |
18
|
1255 |
opacity: 1; |
19
|
1256 |
overflow: visible; |
18
|
1257 |
} |
16
|
1258 |
|
18
|
1259 |
.wp-block-navigation__container, |
19
|
1260 |
.wp-block-navigation-item { |
18
|
1261 |
background-color: inherit; |
|
1262 |
} |
|
1263 |
|
19
|
1264 |
.wp-block-navigation:not(.is-selected):not(.has-child-selected) .has-child:hover > .wp-block-navigation__submenu-container { |
16
|
1265 |
opacity: 0; |
18
|
1266 |
visibility: hidden; |
|
1267 |
} |
|
1268 |
|
19
|
1269 |
.has-child.is-selected > .wp-block-navigation__submenu-container, .has-child.has-child-selected > .wp-block-navigation__submenu-container { |
18
|
1270 |
display: flex; |
|
1271 |
opacity: 1; |
|
1272 |
visibility: visible; |
|
1273 |
} |
|
1274 |
|
19
|
1275 |
.is-dragging-components-draggable .has-child.is-dragging-within > .wp-block-navigation__submenu-container { |
18
|
1276 |
opacity: 1; |
|
1277 |
visibility: visible; |
|
1278 |
} |
16
|
1279 |
|
18
|
1280 |
.is-editing > .wp-block-navigation__container { |
|
1281 |
visibility: visible; |
16
|
1282 |
opacity: 1; |
18
|
1283 |
display: flex; |
|
1284 |
flex-direction: column; |
|
1285 |
} |
|
1286 |
|
|
1287 |
.is-dragging-components-draggable .wp-block-navigation-link > .wp-block-navigation__container { |
|
1288 |
opacity: 1; |
|
1289 |
visibility: hidden; |
|
1290 |
} |
|
1291 |
.is-dragging-components-draggable .wp-block-navigation-link > .wp-block-navigation__container .block-editor-block-draggable-chip-wrapper { |
|
1292 |
visibility: visible; |
|
1293 |
} |
16
|
1294 |
|
19
|
1295 |
.is-editing > .wp-block-navigation__submenu-container > .block-list-appender { |
|
1296 |
display: block; |
|
1297 |
position: static; |
|
1298 |
width: 100%; |
|
1299 |
} |
|
1300 |
.is-editing > .wp-block-navigation__submenu-container > .block-list-appender .block-editor-button-block-appender { |
|
1301 |
color: #fff; |
|
1302 |
background: #1e1e1e; |
|
1303 |
padding: 0; |
|
1304 |
width: 24px; |
|
1305 |
border-radius: 2px; |
|
1306 |
margin-right: 0; |
|
1307 |
margin-left: auto; |
|
1308 |
} |
|
1309 |
|
|
1310 |
.wp-block-navigation__submenu-container .block-list-appender { |
|
1311 |
display: none; |
|
1312 |
} |
|
1313 |
|
16
|
1314 |
/** |
|
1315 |
* Colors Selector component |
|
1316 |
*/ |
|
1317 |
.block-library-colors-selector { |
18
|
1318 |
width: auto; |
|
1319 |
} |
|
1320 |
.block-library-colors-selector .block-library-colors-selector__toggle { |
|
1321 |
display: block; |
|
1322 |
margin: 0 auto; |
|
1323 |
padding: 3px; |
|
1324 |
width: auto; |
|
1325 |
} |
|
1326 |
.block-library-colors-selector .block-library-colors-selector__icon-container { |
|
1327 |
height: 30px; |
|
1328 |
position: relative; |
|
1329 |
margin: 0 auto; |
|
1330 |
padding: 3px; |
|
1331 |
display: flex; |
|
1332 |
align-items: center; |
|
1333 |
border-radius: 4px; |
|
1334 |
} |
|
1335 |
.block-library-colors-selector .block-library-colors-selector__state-selection { |
|
1336 |
margin-left: auto; |
|
1337 |
margin-right: auto; |
|
1338 |
border-radius: 11px; |
|
1339 |
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); |
|
1340 |
width: 22px; |
|
1341 |
min-width: 22px; |
|
1342 |
height: 22px; |
|
1343 |
min-height: 22px; |
|
1344 |
line-height: 20px; |
|
1345 |
padding: 2px; |
|
1346 |
} |
|
1347 |
.block-library-colors-selector .block-library-colors-selector__state-selection > svg { |
|
1348 |
min-width: auto !important; |
|
1349 |
} |
|
1350 |
.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color > svg, |
|
1351 |
.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color > svg path { |
|
1352 |
color: inherit; |
|
1353 |
} |
16
|
1354 |
|
|
1355 |
.block-library-colors-selector__popover .color-palette-controller-container { |
18
|
1356 |
padding: 16px; |
|
1357 |
} |
16
|
1358 |
.block-library-colors-selector__popover .components-base-control__label { |
|
1359 |
height: 20px; |
18
|
1360 |
line-height: 20px; |
|
1361 |
} |
16
|
1362 |
.block-library-colors-selector__popover .component-color-indicator { |
|
1363 |
float: right; |
18
|
1364 |
margin-top: 2px; |
|
1365 |
} |
|
1366 |
.block-library-colors-selector__popover .components-panel__body-title { |
|
1367 |
display: none; |
|
1368 |
} |
16
|
1369 |
|
18
|
1370 |
.wp-block-navigation .block-editor-button-block-appender { |
19
|
1371 |
background-color: #1e1e1e; |
|
1372 |
color: #fff; |
|
1373 |
} |
|
1374 |
.wp-block-navigation .block-editor-button-block-appender.block-editor-button-block-appender.block-editor-button-block-appender { |
|
1375 |
padding: 0; |
|
1376 |
} |
|
1377 |
|
|
1378 |
.wp-block-navigation .wp-block .wp-block .block-editor-button-block-appender { |
|
1379 |
background-color: transparent; |
|
1380 |
color: #1e1e1e; |
18
|
1381 |
} |
16
|
1382 |
|
18
|
1383 |
/** |
|
1384 |
* Setup state |
|
1385 |
*/ |
19
|
1386 |
@keyframes loadingpulse { |
|
1387 |
0% { |
|
1388 |
opacity: 1; |
|
1389 |
} |
|
1390 |
50% { |
|
1391 |
opacity: 0.5; |
|
1392 |
} |
|
1393 |
100% { |
|
1394 |
opacity: 1; |
|
1395 |
} |
|
1396 |
} |
18
|
1397 |
.components-placeholder.wp-block-navigation-placeholder { |
|
1398 |
outline: none; |
|
1399 |
padding: 0; |
|
1400 |
box-shadow: none; |
|
1401 |
background: none; |
|
1402 |
min-height: 0; |
|
1403 |
color: inherit; |
|
1404 |
} |
|
1405 |
.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset { |
|
1406 |
font-size: inherit; |
|
1407 |
} |
|
1408 |
.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset .components-button { |
|
1409 |
margin-bottom: 0; |
|
1410 |
} |
19
|
1411 |
.wp-block-navigation.is-selected .components-placeholder.wp-block-navigation-placeholder { |
18
|
1412 |
color: #1e1e1e; |
|
1413 |
} |
16
|
1414 |
|
|
1415 |
.wp-block-navigation-placeholder .components-spinner { |
19
|
1416 |
margin-top: 0; |
18
|
1417 |
} |
16
|
1418 |
|
18
|
1419 |
.wp-block-navigation-placeholder__preview { |
|
1420 |
display: flex; |
|
1421 |
align-items: center; |
19
|
1422 |
min-width: 96px; |
|
1423 |
font-size: 13px; |
|
1424 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
1425 |
color: currentColor; |
|
1426 |
background: transparent; |
18
|
1427 |
} |
|
1428 |
.wp-block-navigation.is-selected .wp-block-navigation-placeholder__preview { |
|
1429 |
display: none; |
|
1430 |
} |
19
|
1431 |
.wp-block-navigation-placeholder__preview::before { |
|
1432 |
content: ""; |
|
1433 |
display: block; |
|
1434 |
position: absolute; |
|
1435 |
top: 0; |
|
1436 |
right: 0; |
|
1437 |
bottom: 0; |
|
1438 |
left: 0; |
|
1439 |
border: 1px dashed currentColor; |
|
1440 |
opacity: 0.4; |
|
1441 |
pointer-events: none; |
|
1442 |
border-radius: inherit; |
|
1443 |
} |
|
1444 |
.wp-block-navigation-placeholder__preview > svg { |
|
1445 |
fill: currentColor; |
|
1446 |
opacity: 0.4; |
|
1447 |
} |
|
1448 |
|
|
1449 |
.wp-block-navigation.is-vertical .is-small .components-placeholder__fieldset, |
|
1450 |
.wp-block-navigation.is-vertical .is-medium .components-placeholder__fieldset { |
|
1451 |
min-height: 90px; |
|
1452 |
} |
|
1453 |
|
|
1454 |
.wp-block-navigation.is-vertical .is-large .components-placeholder__fieldset { |
|
1455 |
min-height: 132px; |
|
1456 |
} |
|
1457 |
|
|
1458 |
.wp-block-navigation-placeholder__preview, |
|
1459 |
.wp-block-navigation-placeholder__controls { |
|
1460 |
padding: 6px 8px; |
|
1461 |
flex-direction: row; |
|
1462 |
align-items: flex-start; |
18
|
1463 |
} |
16
|
1464 |
|
18
|
1465 |
.wp-block-navigation-placeholder__controls { |
|
1466 |
border-radius: 2px; |
|
1467 |
background-color: #fff; |
|
1468 |
box-shadow: inset 0 0 0 1px #1e1e1e; |
|
1469 |
display: none; |
16
|
1470 |
position: relative; |
18
|
1471 |
z-index: 1; |
|
1472 |
float: left; |
|
1473 |
width: 100%; |
|
1474 |
} |
|
1475 |
.wp-block-navigation.is-selected .wp-block-navigation-placeholder__controls { |
|
1476 |
display: flex; |
|
1477 |
} |
19
|
1478 |
.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator, |
|
1479 |
.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator + hr, .is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator, |
|
1480 |
.is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator + hr { |
|
1481 |
display: none; |
|
1482 |
} |
|
1483 |
.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions, .wp-block-navigation.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions { |
18
|
1484 |
flex-direction: column; |
19
|
1485 |
align-items: flex-start; |
|
1486 |
} |
|
1487 |
.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr, .wp-block-navigation.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr { |
|
1488 |
display: none; |
18
|
1489 |
} |
|
1490 |
.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__icon { |
|
1491 |
margin-right: 12px; |
|
1492 |
height: 36px; |
|
1493 |
} |
19
|
1494 |
|
|
1495 |
.wp-block-navigation-placeholder__actions__indicator { |
|
1496 |
display: flex; |
|
1497 |
padding: 0 6px 0 0; |
18
|
1498 |
align-items: center; |
|
1499 |
justify-content: flex-start; |
|
1500 |
line-height: 0; |
19
|
1501 |
height: 36px; |
|
1502 |
margin-left: 4px; |
|
1503 |
} |
|
1504 |
.wp-block-navigation-placeholder__actions__indicator svg { |
18
|
1505 |
margin-right: 4px; |
19
|
1506 |
fill: currentColor; |
18
|
1507 |
} |
16
|
1508 |
|
19
|
1509 |
.wp-block-navigation .components-placeholder.is-medium .components-placeholder__fieldset { |
|
1510 |
flex-direction: row !important; |
18
|
1511 |
} |
|
1512 |
|
|
1513 |
.wp-block-navigation-placeholder__actions { |
|
1514 |
display: flex; |
16
|
1515 |
font-size: 13px; |
18
|
1516 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
19
|
1517 |
gap: 6px; |
|
1518 |
align-items: center; |
|
1519 |
height: 100%; |
18
|
1520 |
} |
|
1521 |
.wp-block-navigation-placeholder__actions .components-dropdown, |
|
1522 |
.wp-block-navigation-placeholder__actions > .components-button { |
19
|
1523 |
margin-right: 0; |
|
1524 |
} |
|
1525 |
.wp-block-navigation-placeholder__actions.wp-block-navigation-placeholder__actions hr { |
|
1526 |
border: 0; |
|
1527 |
min-height: 1px; |
|
1528 |
min-width: 1px; |
|
1529 |
background-color: #1e1e1e; |
|
1530 |
margin: auto 0; |
|
1531 |
height: 100%; |
|
1532 |
max-height: 16px; |
18
|
1533 |
} |
|
1534 |
|
|
1535 |
/** |
|
1536 |
* Mobile menu. |
|
1537 |
*/ |
|
1538 |
@media (min-width: 600px) { |
|
1539 |
.wp-block-navigation__responsive-container:not(.is-menu-open) .components-button.wp-block-navigation__responsive-container-close { |
|
1540 |
display: none; |
|
1541 |
} |
|
1542 |
} |
|
1543 |
|
19
|
1544 |
.wp-block-navigation__responsive-container.is-menu-open { |
|
1545 |
position: fixed; |
|
1546 |
top: 155px; |
|
1547 |
} |
|
1548 |
@media (min-width: 782px) { |
|
1549 |
.wp-block-navigation__responsive-container.is-menu-open { |
|
1550 |
top: 93px; |
|
1551 |
} |
|
1552 |
} |
|
1553 |
@media (min-width: 782px) { |
|
1554 |
.wp-block-navigation__responsive-container.is-menu-open { |
|
1555 |
left: 36px; |
|
1556 |
} |
|
1557 |
} |
|
1558 |
@media (min-width: 960px) { |
|
1559 |
.wp-block-navigation__responsive-container.is-menu-open { |
|
1560 |
left: 160px; |
|
1561 |
} |
|
1562 |
} |
|
1563 |
|
|
1564 |
@media (min-width: 782px) { |
|
1565 |
.has-fixed-toolbar .wp-block-navigation__responsive-container.is-menu-open { |
|
1566 |
top: 141px; |
18
|
1567 |
} |
|
1568 |
} |
16
|
1569 |
|
19
|
1570 |
.is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open, |
|
1571 |
.is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open { |
|
1572 |
top: 141px; |
|
1573 |
} |
|
1574 |
|
|
1575 |
.is-sidebar-opened .wp-block-navigation__responsive-container.is-menu-open { |
|
1576 |
right: 280px; |
|
1577 |
} |
|
1578 |
|
|
1579 |
.is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open { |
|
1580 |
left: 0; |
18
|
1581 |
top: 155px; |
|
1582 |
} |
|
1583 |
@media (min-width: 782px) { |
19
|
1584 |
.is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open { |
18
|
1585 |
top: 61px; |
|
1586 |
} |
|
1587 |
} |
19
|
1588 |
@media (min-width: 782px) { |
|
1589 |
.is-fullscreen-mode .has-fixed-toolbar .wp-block-navigation__responsive-container.is-menu-open { |
|
1590 |
top: 109px; |
|
1591 |
} |
|
1592 |
} |
|
1593 |
.is-fullscreen-mode .is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open, |
|
1594 |
.is-fullscreen-mode .is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open { |
|
1595 |
top: 109px; |
|
1596 |
} |
|
1597 |
|
|
1598 |
body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-open { |
|
1599 |
top: 0; |
|
1600 |
right: 0; |
|
1601 |
bottom: 0; |
|
1602 |
left: 0; |
|
1603 |
} |
16
|
1604 |
|
18
|
1605 |
@media (min-width: 600px) { |
|
1606 |
.wp-block-navigation__responsive-close { |
|
1607 |
pointer-events: none; |
|
1608 |
} |
|
1609 |
.wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-close, |
|
1610 |
.wp-block-navigation__responsive-close .block-editor-block-list__layout * { |
|
1611 |
pointer-events: all; |
|
1612 |
} |
|
1613 |
} |
|
1614 |
.wp-block-navigation__responsive-close .wp-block-pages-list__item__link { |
|
1615 |
pointer-events: none; |
|
1616 |
} |
16
|
1617 |
|
18
|
1618 |
.components-button.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open, |
|
1619 |
.components-button.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close { |
|
1620 |
padding: 0; |
|
1621 |
height: auto; |
|
1622 |
color: inherit; |
|
1623 |
} |
|
1624 |
|
|
1625 |
.is-menu-open .wp-block-navigation__responsive-container-content * .block-list-appender { |
|
1626 |
margin-top: 16px; |
|
1627 |
} |
|
1628 |
|
19
|
1629 |
@keyframes fadein { |
|
1630 |
0% { |
|
1631 |
opacity: 0; |
|
1632 |
} |
|
1633 |
100% { |
|
1634 |
opacity: 1; |
|
1635 |
} |
|
1636 |
} |
|
1637 |
.wp-block-navigation .components-spinner { |
|
1638 |
padding: 8px 12px; |
|
1639 |
} |
|
1640 |
|
|
1641 |
.wp-block-navigation__unsaved-changes { |
|
1642 |
position: relative; |
|
1643 |
} |
|
1644 |
.wp-block-navigation__unsaved-changes .components-spinner { |
|
1645 |
position: absolute; |
|
1646 |
top: calc(50% - 16px / 2); |
|
1647 |
left: calc(50% - 16px / 2); |
|
1648 |
opacity: 0; |
|
1649 |
animation: 0.5s linear 2s normal forwards fadein; |
|
1650 |
} |
|
1651 |
|
|
1652 |
@keyframes fadeouthalf { |
|
1653 |
0% { |
|
1654 |
opacity: 1; |
|
1655 |
} |
|
1656 |
100% { |
|
1657 |
opacity: 0.5; |
|
1658 |
} |
|
1659 |
} |
|
1660 |
.wp-block-navigation__unsaved-changes-overlay.is-saving { |
|
1661 |
opacity: 1; |
|
1662 |
animation: 0.5s linear 2s normal forwards fadeouthalf; |
|
1663 |
} |
|
1664 |
|
|
1665 |
.wp-block-navigation-delete-menu-button { |
|
1666 |
width: 100%; |
|
1667 |
justify-content: center; |
|
1668 |
margin-bottom: 16px; |
|
1669 |
} |
|
1670 |
|
|
1671 |
.wp-block-navigation__overlay-menu-preview { |
|
1672 |
display: flex; |
|
1673 |
align-items: center; |
|
1674 |
width: 100%; |
|
1675 |
background-color: #f0f0f0; |
|
1676 |
padding: 0 24px; |
|
1677 |
height: 64px; |
|
1678 |
margin-bottom: 12px; |
|
1679 |
} |
|
1680 |
.wp-block-navigation__overlay-menu-preview.open { |
|
1681 |
box-shadow: inset 0 0 0 1px #e0e0e0; |
|
1682 |
outline: 1px solid transparent; |
|
1683 |
background-color: #fff; |
|
1684 |
} |
|
1685 |
|
|
1686 |
.wp-block-navigation__toolbar-menu-selector.components-toolbar-group:empty { |
|
1687 |
display: none; |
|
1688 |
} |
|
1689 |
|
|
1690 |
.wp-block-navigation-placeholder__actions hr + hr { |
|
1691 |
display: none; |
18
|
1692 |
} |
|
1693 |
|
|
1694 |
/** |
|
1695 |
* Submenus. |
|
1696 |
*/ |
|
1697 |
.wp-block-navigation .has-child { |
|
1698 |
cursor: pointer; |
|
1699 |
} |
19
|
1700 |
.wp-block-navigation .has-child .wp-block-navigation__submenu-container { |
18
|
1701 |
z-index: 28; |
|
1702 |
} |
19
|
1703 |
.wp-block-navigation .has-child:hover .wp-block-navigation__submenu-container { |
18
|
1704 |
z-index: 29; |
|
1705 |
} |
19
|
1706 |
.wp-block-navigation .has-child.is-selected > .wp-block-navigation__submenu-container, .wp-block-navigation .has-child.has-child-selected > .wp-block-navigation__submenu-container { |
18
|
1707 |
visibility: visible !important; |
|
1708 |
opacity: 1 !important; |
19
|
1709 |
min-width: 200px !important; |
|
1710 |
height: auto !important; |
|
1711 |
width: auto !important; |
|
1712 |
overflow: visible !important; |
18
|
1713 |
} |
16
|
1714 |
|
|
1715 |
/** |
18
|
1716 |
* Navigation Items. |
16
|
1717 |
*/ |
19
|
1718 |
.wp-block-navigation-item .wp-block-navigation-item__content { |
18
|
1719 |
cursor: text; |
|
1720 |
} |
19
|
1721 |
.wp-block-navigation-item.is-editing, .wp-block-navigation-item.is-selected { |
18
|
1722 |
min-width: 20px; |
|
1723 |
} |
19
|
1724 |
.wp-block-navigation-item .block-list-appender { |
18
|
1725 |
margin-top: 16px; |
|
1726 |
margin-right: auto; |
|
1727 |
margin-bottom: 16px; |
|
1728 |
margin-left: 16px; |
|
1729 |
} |
16
|
1730 |
|
19
|
1731 |
.wp-block-navigation-link__invalid-item { |
|
1732 |
color: #000; |
|
1733 |
} |
|
1734 |
|
|
1735 |
.wp-block-navigation-link__missing_text-tooltip { |
|
1736 |
position: absolute; |
|
1737 |
width: 1px; |
|
1738 |
height: 1px; |
|
1739 |
padding: 0; |
|
1740 |
margin: -1px; |
|
1741 |
overflow: hidden; |
18
|
1742 |
} |
|
1743 |
|
|
1744 |
/** |
|
1745 |
* Menu item setup state. Is shown when a menu item has no URL configured. |
|
1746 |
*/ |
|
1747 |
.wp-block-navigation-link__placeholder { |
|
1748 |
position: relative; |
19
|
1749 |
text-decoration: none !important; |
|
1750 |
box-shadow: none !important; |
|
1751 |
background-image: none !important; |
|
1752 |
} |
|
1753 |
.wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text span { |
|
1754 |
--wp-underline-color: var(--wp-admin-theme-color); |
|
1755 |
background-image: linear-gradient(45deg, transparent 20%, var(--wp-underline-color) 30%, var(--wp-underline-color) 36%, transparent 46%), linear-gradient(135deg, transparent 54%, var(--wp-underline-color) 64%, var(--wp-underline-color) 70%, transparent 80%); |
|
1756 |
background-position: 0 100%; |
|
1757 |
background-size: 6px 3px; |
|
1758 |
background-repeat: repeat-x; |
|
1759 |
padding-bottom: 0.1em; |
|
1760 |
} |
|
1761 |
.is-dark-theme .wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text span { |
|
1762 |
--wp-underline-color: #fff; |
|
1763 |
} |
|
1764 |
.wp-block-navigation-link__placeholder.wp-block-navigation-item__content { |
18
|
1765 |
cursor: pointer; |
|
1766 |
} |
19
|
1767 |
|
|
1768 |
/** |
|
1769 |
* Link Control Transforms |
|
1770 |
*/ |
|
1771 |
.link-control-transform { |
|
1772 |
border-top: 1px solid #ccc; |
|
1773 |
padding: 0 16px 8px 16px; |
|
1774 |
} |
|
1775 |
|
|
1776 |
.link-control-transform__subheading { |
|
1777 |
font-size: 11px; |
|
1778 |
text-transform: uppercase; |
|
1779 |
font-weight: 500; |
|
1780 |
color: #1e1e1e; |
|
1781 |
margin-bottom: 1.5em; |
18
|
1782 |
} |
|
1783 |
|
19
|
1784 |
.link-control-transform__items { |
|
1785 |
display: flex; |
|
1786 |
justify-content: space-between; |
|
1787 |
} |
|
1788 |
|
|
1789 |
.link-control-transform__item { |
|
1790 |
flex-basis: 33%; |
|
1791 |
flex-direction: column; |
|
1792 |
gap: 8px; |
|
1793 |
height: auto; |
|
1794 |
} |
|
1795 |
|
|
1796 |
.wp-block-navigation-submenu { |
|
1797 |
display: block; |
|
1798 |
} |
|
1799 |
.wp-block-navigation-submenu .wp-block-navigation__submenu-container { |
|
1800 |
z-index: 28; |
|
1801 |
} |
|
1802 |
.wp-block-navigation-submenu.is-selected > .wp-block-navigation__submenu-container, .wp-block-navigation-submenu.has-child-selected > .wp-block-navigation__submenu-container { |
|
1803 |
visibility: visible !important; |
|
1804 |
opacity: 1 !important; |
|
1805 |
min-width: 200px !important; |
|
1806 |
height: auto !important; |
|
1807 |
width: auto !important; |
|
1808 |
position: absolute; |
|
1809 |
left: -1px; |
|
1810 |
top: 100%; |
|
1811 |
} |
|
1812 |
@media (min-width: 782px) { |
|
1813 |
.wp-block-navigation-submenu.is-selected > .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container, .wp-block-navigation-submenu.has-child-selected > .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container { |
|
1814 |
left: 100%; |
|
1815 |
top: -1px; |
|
1816 |
} |
|
1817 |
.wp-block-navigation-submenu.is-selected > .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container::before, .wp-block-navigation-submenu.has-child-selected > .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container::before { |
|
1818 |
content: ""; |
|
1819 |
position: absolute; |
|
1820 |
right: 100%; |
|
1821 |
height: 100%; |
|
1822 |
display: block; |
|
1823 |
width: 0.5em; |
|
1824 |
background: transparent; |
|
1825 |
} |
18
|
1826 |
} |
16
|
1827 |
|
9
|
1828 |
.block-editor-block-list__block[data-type="core/nextpage"] { |
16
|
1829 |
max-width: 100%; |
18
|
1830 |
text-align: center; |
16
|
1831 |
margin-top: 28px; |
18
|
1832 |
margin-bottom: 28px; |
|
1833 |
} |
9
|
1834 |
|
|
1835 |
.wp-block-nextpage { |
|
1836 |
display: block; |
|
1837 |
text-align: center; |
18
|
1838 |
white-space: nowrap; |
|
1839 |
} |
|
1840 |
.wp-block-nextpage > span { |
|
1841 |
font-size: 13px; |
|
1842 |
position: relative; |
|
1843 |
text-transform: uppercase; |
|
1844 |
font-weight: 600; |
|
1845 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
1846 |
color: #757575; |
|
1847 |
border-radius: 4px; |
|
1848 |
background: #fff; |
|
1849 |
padding: 6px 8px; |
|
1850 |
height: 24px; |
|
1851 |
} |
|
1852 |
.wp-block-nextpage::before { |
|
1853 |
content: ""; |
|
1854 |
position: absolute; |
|
1855 |
top: calc(50%); |
|
1856 |
left: 0; |
|
1857 |
right: 0; |
|
1858 |
border-top: 3px dashed #ccc; |
|
1859 |
} |
|
1860 |
|
|
1861 |
.wp-block-navigation .wp-block-page-list > div, |
|
1862 |
.wp-block-navigation .wp-block-page-list { |
|
1863 |
background-color: inherit; |
|
1864 |
} |
|
1865 |
.wp-block-navigation.items-justified-space-between .wp-block-page-list > div, |
|
1866 |
.wp-block-navigation.items-justified-space-between .wp-block-page-list { |
|
1867 |
display: contents; |
|
1868 |
flex: 1; |
|
1869 |
} |
|
1870 |
.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list > div, .wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list, .wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list > div, .wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list { |
|
1871 |
flex: inherit; |
|
1872 |
} |
|
1873 |
|
|
1874 |
.wp-block-pages-list__item__link { |
|
1875 |
pointer-events: none; |
|
1876 |
} |
|
1877 |
|
19
|
1878 |
@media (min-width: 600px) { |
|
1879 |
.wp-block-page-list-modal { |
|
1880 |
max-width: 480px; |
|
1881 |
} |
18
|
1882 |
} |
|
1883 |
|
|
1884 |
.wp-block-page-list-modal-buttons { |
|
1885 |
display: flex; |
|
1886 |
justify-content: flex-end; |
19
|
1887 |
gap: 12px; |
|
1888 |
} |
|
1889 |
|
|
1890 |
.wp-block-page-list .open-on-click:focus-within > .wp-block-navigation__submenu-container { |
|
1891 |
visibility: visible; |
|
1892 |
opacity: 1; |
|
1893 |
width: auto; |
|
1894 |
height: auto; |
|
1895 |
min-width: 200px; |
|
1896 |
} |
|
1897 |
|
|
1898 |
.wp-block-page-list .components-notice { |
|
1899 |
margin-left: 0; |
18
|
1900 |
} |
9
|
1901 |
|
16
|
1902 |
.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus { |
18
|
1903 |
min-height: auto !important; |
|
1904 |
} |
|
1905 |
|
|
1906 |
.block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder] { |
|
1907 |
opacity: 1; |
|
1908 |
} |
|
1909 |
|
|
1910 |
.block-editor-block-list__block[data-empty=true] + .block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder] { |
|
1911 |
opacity: 0; |
|
1912 |
} |
16
|
1913 |
|
18
|
1914 |
.wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline { |
|
1915 |
display: inline-block; |
|
1916 |
} |
9
|
1917 |
|
19
|
1918 |
.wp-block-pullquote.has-text-align-left p, |
|
1919 |
.wp-block-pullquote.has-text-align-right p, |
18
|
1920 |
.wp-block[data-align=left] > .wp-block-pullquote p, |
|
1921 |
.wp-block[data-align=right] > .wp-block-pullquote p { |
|
1922 |
font-size: 20px; |
|
1923 |
} |
9
|
1924 |
|
16
|
1925 |
.wp-block-pullquote blockquote p { |
9
|
1926 |
font-size: 28px; |
18
|
1927 |
line-height: 1.6; |
|
1928 |
} |
9
|
1929 |
|
18
|
1930 |
.wp-block-pullquote.is-style-solid-color blockquote p { |
|
1931 |
font-size: 32px; |
|
1932 |
} |
|
1933 |
.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation { |
|
1934 |
text-transform: none; |
|
1935 |
font-style: normal; |
|
1936 |
} |
9
|
1937 |
|
|
1938 |
.wp-block-pullquote .wp-block-pullquote__citation { |
18
|
1939 |
color: inherit; |
|
1940 |
} |
9
|
1941 |
|
16
|
1942 |
.wp-block-rss li a > div { |
18
|
1943 |
display: inline; |
|
1944 |
} |
16
|
1945 |
|
|
1946 |
.wp-block-rss__placeholder-form { |
|
1947 |
display: flex; |
18
|
1948 |
align-items: stretch; |
|
1949 |
} |
|
1950 |
.wp-block-rss__placeholder-form > * { |
|
1951 |
margin-bottom: 8px; |
|
1952 |
} |
|
1953 |
@media (min-width: 782px) { |
16
|
1954 |
.wp-block-rss__placeholder-form > * { |
18
|
1955 |
margin-bottom: 0; |
|
1956 |
} |
|
1957 |
} |
16
|
1958 |
|
|
1959 |
.wp-block-rss__placeholder-input { |
|
1960 |
display: flex; |
|
1961 |
align-items: stretch; |
18
|
1962 |
flex-grow: 1; |
|
1963 |
} |
|
1964 |
.wp-block-rss__placeholder-input .components-base-control__field { |
|
1965 |
margin: 0; |
|
1966 |
display: flex; |
|
1967 |
align-items: stretch; |
|
1968 |
flex-grow: 1; |
|
1969 |
margin-right: 8px; |
|
1970 |
} |
|
1971 |
|
|
1972 |
.wp-block[data-align=center] .wp-block-search .wp-block-search__inside-wrapper { |
|
1973 |
margin: auto; |
|
1974 |
} |
16
|
1975 |
|
18
|
1976 |
.wp-block-search .wp-block-search__button { |
|
1977 |
height: auto; |
|
1978 |
border-radius: initial; |
19
|
1979 |
display: flex; |
|
1980 |
align-items: center; |
18
|
1981 |
} |
|
1982 |
.wp-block-search__components-button-group { |
|
1983 |
margin-top: 10px; |
|
1984 |
} |
16
|
1985 |
|
|
1986 |
.block-editor-block-list__block[data-type="core/separator"] { |
|
1987 |
padding-top: 0.1px; |
18
|
1988 |
padding-bottom: 0.1px; |
|
1989 |
} |
19
|
1990 |
.block-editor-block-list__block[data-type="core/separator"].wp-block-separator.is-style-dots { |
|
1991 |
background: none !important; |
|
1992 |
} |
9
|
1993 |
|
18
|
1994 |
[data-type="core/shortcode"] .block-editor-plain-text { |
|
1995 |
max-height: 250px; |
|
1996 |
} |
|
1997 |
[data-type="core/shortcode"].components-placeholder { |
|
1998 |
min-height: 0; |
|
1999 |
} |
9
|
2000 |
|
16
|
2001 |
.blocks-shortcode__textarea { |
|
2002 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
2003 |
padding: 6px 8px; |
|
2004 |
box-shadow: 0 0 0 transparent; |
|
2005 |
transition: box-shadow 0.1s linear; |
|
2006 |
border-radius: 2px; |
|
2007 |
border: 1px solid #757575; |
|
2008 |
/* Fonts smaller than 16px causes mobile safari to zoom. */ |
|
2009 |
font-size: 16px; |
|
2010 |
/* Override core line-height. To be reviewed. */ |
18
|
2011 |
line-height: normal; |
|
2012 |
} |
|
2013 |
@media (prefers-reduced-motion: reduce) { |
|
2014 |
.blocks-shortcode__textarea { |
|
2015 |
transition-duration: 0s; |
|
2016 |
transition-delay: 0s; |
|
2017 |
} |
|
2018 |
} |
|
2019 |
@media (min-width: 600px) { |
|
2020 |
.blocks-shortcode__textarea { |
|
2021 |
font-size: 13px; |
|
2022 |
/* Override core line-height. To be reviewed. */ |
|
2023 |
line-height: normal; |
|
2024 |
} |
|
2025 |
} |
|
2026 |
.blocks-shortcode__textarea:focus { |
|
2027 |
border-color: var(--wp-admin-theme-color); |
|
2028 |
box-shadow: 0 0 0 1px var(--wp-admin-theme-color); |
|
2029 |
outline: 2px solid transparent; |
|
2030 |
} |
|
2031 |
.blocks-shortcode__textarea::-webkit-input-placeholder { |
|
2032 |
color: rgba(30, 30, 30, 0.62); |
|
2033 |
} |
|
2034 |
.blocks-shortcode__textarea::-moz-placeholder { |
|
2035 |
opacity: 1; |
|
2036 |
color: rgba(30, 30, 30, 0.62); |
|
2037 |
} |
|
2038 |
.blocks-shortcode__textarea:-ms-input-placeholder { |
|
2039 |
color: rgba(30, 30, 30, 0.62); |
|
2040 |
} |
|
2041 |
|
19
|
2042 |
.wp-block[data-align=center] > .wp-block-site-logo, |
|
2043 |
.wp-block-site-logo.aligncenter > div { |
|
2044 |
display: table; |
18
|
2045 |
margin-left: auto; |
|
2046 |
margin-right: auto; |
|
2047 |
} |
16
|
2048 |
|
18
|
2049 |
.wp-block-site-logo a { |
|
2050 |
pointer-events: none; |
|
2051 |
} |
|
2052 |
.wp-block-site-logo .custom-logo-link { |
|
2053 |
cursor: inherit; |
|
2054 |
} |
|
2055 |
.wp-block-site-logo .custom-logo-link:focus { |
|
2056 |
box-shadow: none; |
|
2057 |
} |
|
2058 |
.wp-block-site-logo .custom-logo-link.is-transient img { |
|
2059 |
opacity: 0.3; |
|
2060 |
} |
|
2061 |
.wp-block-site-logo img { |
|
2062 |
display: block; |
19
|
2063 |
height: auto; |
18
|
2064 |
max-width: 100%; |
|
2065 |
} |
19
|
2066 |
|
|
2067 |
.wp-block-site-logo.wp-block-site-logo .components-placeholder, |
|
2068 |
.wp-block-site-logo.wp-block-site-logo .components-resizable-box__container { |
|
2069 |
border-radius: inherit; |
|
2070 |
} |
|
2071 |
.wp-block-site-logo.wp-block-site-logo.is-default-size .components-placeholder { |
18
|
2072 |
height: 120px; |
19
|
2073 |
width: 120px; |
|
2074 |
} |
|
2075 |
.wp-block-site-logo.wp-block-site-logo .components-placeholder { |
|
2076 |
display: flex; |
|
2077 |
justify-content: center; |
|
2078 |
align-items: center; |
|
2079 |
box-shadow: none; |
|
2080 |
padding: 0; |
|
2081 |
min-height: 48px; |
|
2082 |
min-width: 48px; |
|
2083 |
height: 100%; |
|
2084 |
width: 100%; |
|
2085 |
color: currentColor; |
|
2086 |
background: transparent; |
|
2087 |
} |
|
2088 |
.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-form-file-upload { |
18
|
2089 |
display: none; |
|
2090 |
} |
19
|
2091 |
.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-placeholder__preview { |
18
|
2092 |
position: absolute; |
|
2093 |
top: 4px; |
|
2094 |
right: 4px; |
|
2095 |
bottom: 4px; |
|
2096 |
left: 4px; |
|
2097 |
background: rgba(255, 255, 255, 0.8); |
|
2098 |
display: flex; |
|
2099 |
align-items: center; |
|
2100 |
justify-content: center; |
|
2101 |
} |
19
|
2102 |
.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-drop-zone__content-text { |
18
|
2103 |
display: none; |
|
2104 |
} |
19
|
2105 |
.wp-block-site-logo.wp-block-site-logo .components-placeholder::before { |
|
2106 |
content: ""; |
|
2107 |
display: block; |
|
2108 |
position: absolute; |
|
2109 |
top: 0; |
|
2110 |
right: 0; |
|
2111 |
bottom: 0; |
|
2112 |
left: 0; |
|
2113 |
border: 1px dashed currentColor; |
|
2114 |
opacity: 0.4; |
|
2115 |
pointer-events: none; |
|
2116 |
border-radius: inherit; |
|
2117 |
} |
|
2118 |
.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-placeholder__fieldset { |
|
2119 |
width: auto; |
|
2120 |
} |
|
2121 |
.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button { |
|
2122 |
color: inherit; |
|
2123 |
padding: 0; |
|
2124 |
display: flex; |
|
2125 |
justify-content: center; |
|
2126 |
align-items: center; |
|
2127 |
width: 48px; |
|
2128 |
height: 48px; |
|
2129 |
border-radius: 50%; |
|
2130 |
position: relative; |
|
2131 |
visibility: hidden; |
|
2132 |
background: transparent; |
|
2133 |
transition: all 0.1s linear; |
|
2134 |
} |
|
2135 |
@media (prefers-reduced-motion: reduce) { |
|
2136 |
.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button { |
|
2137 |
transition-duration: 0s; |
|
2138 |
transition-delay: 0s; |
|
2139 |
} |
|
2140 |
} |
|
2141 |
.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button > svg { |
|
2142 |
color: #fff; |
|
2143 |
} |
|
2144 |
.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-placeholder__illustration { |
|
2145 |
position: absolute; |
|
2146 |
top: 0; |
|
2147 |
right: 0; |
|
2148 |
bottom: 0; |
|
2149 |
left: 0; |
|
2150 |
width: 100%; |
|
2151 |
height: 100%; |
|
2152 |
stroke: currentColor; |
|
2153 |
stroke-dasharray: 3; |
|
2154 |
opacity: 0.4; |
|
2155 |
} |
|
2156 |
.wp-block-site-logo.wp-block-site-logo.is-selected .components-button.components-button { |
|
2157 |
background: var(--wp-admin-theme-color); |
|
2158 |
border-color: var(--wp-admin-theme-color); |
|
2159 |
border-style: solid; |
|
2160 |
color: #fff; |
|
2161 |
opacity: 1; |
|
2162 |
visibility: visible; |
|
2163 |
} |
18
|
2164 |
|
|
2165 |
.wp-block-site-tagline__placeholder { |
|
2166 |
padding: 1em 0; |
|
2167 |
border: 1px dashed; |
|
2168 |
} |
|
2169 |
|
|
2170 |
.wp-block-site-title__placeholder { |
|
2171 |
padding: 1em 0; |
|
2172 |
border: 1px dashed; |
|
2173 |
} |
|
2174 |
|
|
2175 |
.wp-block-social-links .wp-social-link { |
|
2176 |
line-height: 0; |
|
2177 |
} |
16
|
2178 |
.wp-block-social-links .wp-social-link button { |
18
|
2179 |
font-size: inherit; |
16
|
2180 |
color: currentColor; |
18
|
2181 |
height: auto; |
|
2182 |
line-height: 0; |
|
2183 |
padding: 0.25em; |
|
2184 |
} |
16
|
2185 |
|
|
2186 |
.wp-block-social-links.is-style-pill-shape .wp-social-link button { |
18
|
2187 |
padding-left: calc((2/3) * 1em); |
|
2188 |
padding-right: calc((2/3) * 1em); |
|
2189 |
} |
16
|
2190 |
|
19
|
2191 |
.wp-block-social-links.is-style-logos-only .wp-social-link button { |
|
2192 |
padding: 0; |
|
2193 |
} |
|
2194 |
|
16
|
2195 |
.wp-block-social-links div.block-editor-url-input { |
|
2196 |
display: inline-block; |
18
|
2197 |
margin-left: 8px; |
|
2198 |
} |
19
|
2199 |
.wp-block-social-links.wp-block-social-links { |
|
2200 |
background: none; |
|
2201 |
} |
16
|
2202 |
|
18
|
2203 |
.wp-social-link:hover { |
|
2204 |
transform: none; |
|
2205 |
} |
16
|
2206 |
|
|
2207 |
.editor-styles-wrapper .wp-block-social-links { |
18
|
2208 |
padding: 0; |
|
2209 |
} |
|
2210 |
|
|
2211 |
.wp-block-social-links__social-placeholder { |
|
2212 |
display: flex; |
|
2213 |
opacity: 0.8; |
|
2214 |
list-style: none; |
|
2215 |
} |
|
2216 |
.wp-block-social-links__social-placeholder > .wp-social-link { |
|
2217 |
padding-left: 0 !important; |
|
2218 |
margin-left: 0 !important; |
|
2219 |
padding-right: 0 !important; |
|
2220 |
margin-right: 0 !important; |
|
2221 |
width: 0 !important; |
|
2222 |
visibility: hidden; |
|
2223 |
} |
|
2224 |
.wp-block-social-links__social-placeholder > .wp-block-social-links__social-placeholder-icons { |
|
2225 |
display: flex; |
|
2226 |
} |
|
2227 |
.wp-block-social-links__social-placeholder .wp-social-link { |
|
2228 |
padding: 0.25em; |
|
2229 |
} |
|
2230 |
.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link { |
|
2231 |
padding-left: calc((2/3) * 1em); |
|
2232 |
padding-right: calc((2/3) * 1em); |
|
2233 |
} |
19
|
2234 |
.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link { |
|
2235 |
padding: 0; |
|
2236 |
} |
18
|
2237 |
.wp-block-social-links__social-placeholder .wp-social-link::before { |
|
2238 |
content: ""; |
|
2239 |
display: block; |
|
2240 |
width: 1em; |
|
2241 |
height: 1em; |
|
2242 |
border-radius: 50%; |
|
2243 |
} |
|
2244 |
.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link::before { |
|
2245 |
background: currentColor; |
|
2246 |
} |
|
2247 |
|
|
2248 |
.wp-block-social-links .wp-block-social-links__social-prompt { |
19
|
2249 |
min-height: 24px; |
18
|
2250 |
list-style: none; |
|
2251 |
order: 2; |
|
2252 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
2253 |
font-size: 13px; |
|
2254 |
line-height: 24px; |
|
2255 |
margin-top: auto; |
|
2256 |
margin-bottom: auto; |
|
2257 |
cursor: default; |
|
2258 |
padding-right: 8px; |
|
2259 |
} |
16
|
2260 |
|
18
|
2261 |
.wp-block[data-align=center] > .wp-block-social-links { |
|
2262 |
justify-content: center; |
|
2263 |
} |
16
|
2264 |
|
18
|
2265 |
.block-editor-block-preview__content .components-button:disabled { |
|
2266 |
opacity: 1; |
|
2267 |
} |
16
|
2268 |
|
|
2269 |
.wp-social-link.wp-social-link__is-incomplete { |
18
|
2270 |
opacity: 0.5; |
|
2271 |
} |
|
2272 |
@media (prefers-reduced-motion: reduce) { |
|
2273 |
.wp-social-link.wp-social-link__is-incomplete { |
|
2274 |
transition-duration: 0s; |
|
2275 |
transition-delay: 0s; |
|
2276 |
} |
|
2277 |
} |
16
|
2278 |
|
|
2279 |
.wp-block-social-links .is-selected .wp-social-link__is-incomplete, |
|
2280 |
.wp-social-link.wp-social-link__is-incomplete:hover, |
|
2281 |
.wp-social-link.wp-social-link__is-incomplete:focus { |
|
2282 |
opacity: 1; |
18
|
2283 |
} |
16
|
2284 |
|
18
|
2285 |
.block-editor-block-list__block[data-type="core/spacer"]::before { |
|
2286 |
content: ""; |
|
2287 |
display: block; |
|
2288 |
position: absolute; |
19
|
2289 |
z-index: 1; |
18
|
2290 |
width: 100%; |
19
|
2291 |
min-height: 8px; |
|
2292 |
min-width: 8px; |
|
2293 |
height: 100%; |
18
|
2294 |
} |
16
|
2295 |
|
18
|
2296 |
.wp-block-spacer.is-hovered .block-library-spacer__resize-container, |
16
|
2297 |
.block-library-spacer__resize-container.has-show-handle { |
18
|
2298 |
background: rgba(0, 0, 0, 0.1); |
|
2299 |
} |
|
2300 |
.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container, |
|
2301 |
.is-dark-theme .block-library-spacer__resize-container.has-show-handle { |
|
2302 |
background: rgba(255, 255, 255, 0.15); |
|
2303 |
} |
16
|
2304 |
|
|
2305 |
.block-library-spacer__resize-container { |
|
2306 |
clear: both; |
18
|
2307 |
} |
19
|
2308 |
.block-library-spacer__resize-container:not(.is-resizing) { |
|
2309 |
height: 100% !important; |
|
2310 |
width: 100% !important; |
|
2311 |
} |
18
|
2312 |
.block-library-spacer__resize-container .components-resizable-box__handle::before { |
|
2313 |
content: none; |
|
2314 |
} |
|
2315 |
.block-library-spacer__resize-container.resize-horizontal { |
|
2316 |
margin-bottom: 0; |
|
2317 |
} |
9
|
2318 |
|
16
|
2319 |
.wp-block-table { |
18
|
2320 |
margin: 0; |
|
2321 |
} |
|
2322 |
.wp-block[data-align=left] > .wp-block-table, .wp-block[data-align=right] > .wp-block-table, .wp-block[data-align=center] > .wp-block-table { |
|
2323 |
height: auto; |
|
2324 |
} |
|
2325 |
.wp-block[data-align=left] > .wp-block-table table, .wp-block[data-align=right] > .wp-block-table table, .wp-block[data-align=center] > .wp-block-table table { |
|
2326 |
width: auto; |
|
2327 |
} |
|
2328 |
.wp-block[data-align=left] > .wp-block-table td, |
|
2329 |
.wp-block[data-align=left] > .wp-block-table th, .wp-block[data-align=right] > .wp-block-table td, |
|
2330 |
.wp-block[data-align=right] > .wp-block-table th, .wp-block[data-align=center] > .wp-block-table td, |
|
2331 |
.wp-block[data-align=center] > .wp-block-table th { |
|
2332 |
word-break: break-word; |
|
2333 |
} |
|
2334 |
.wp-block[data-align=center] > .wp-block-table { |
|
2335 |
text-align: initial; |
|
2336 |
} |
|
2337 |
.wp-block[data-align=center] > .wp-block-table table { |
|
2338 |
margin: 0 auto; |
|
2339 |
} |
|
2340 |
.wp-block-table td, |
|
2341 |
.wp-block-table th { |
|
2342 |
border: 1px solid; |
|
2343 |
} |
|
2344 |
.wp-block-table td.is-selected, |
|
2345 |
.wp-block-table th.is-selected { |
|
2346 |
border-color: var(--wp-admin-theme-color); |
|
2347 |
box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color); |
|
2348 |
border-style: double; |
|
2349 |
} |
|
2350 |
.wp-block-table figcaption { |
|
2351 |
color: #555; |
|
2352 |
font-size: 13px; |
|
2353 |
text-align: center; |
|
2354 |
} |
|
2355 |
.is-dark-theme .wp-block-table figcaption { |
|
2356 |
color: rgba(255, 255, 255, 0.65); |
|
2357 |
} |
9
|
2358 |
|
16
|
2359 |
.blocks-table__placeholder-form.blocks-table__placeholder-form { |
|
2360 |
display: flex; |
|
2361 |
flex-direction: column; |
18
|
2362 |
align-items: flex-start; |
|
2363 |
} |
|
2364 |
.blocks-table__placeholder-form.blocks-table__placeholder-form > * { |
|
2365 |
margin-bottom: 8px; |
|
2366 |
} |
|
2367 |
@media (min-width: 782px) { |
|
2368 |
.blocks-table__placeholder-form.blocks-table__placeholder-form { |
|
2369 |
flex-direction: row; |
|
2370 |
align-items: flex-end; |
|
2371 |
} |
16
|
2372 |
.blocks-table__placeholder-form.blocks-table__placeholder-form > * { |
18
|
2373 |
margin-bottom: 0; |
|
2374 |
} |
|
2375 |
} |
9
|
2376 |
|
16
|
2377 |
.blocks-table__placeholder-input { |
|
2378 |
width: 112px; |
|
2379 |
margin-right: 8px; |
18
|
2380 |
margin-bottom: 0; |
|
2381 |
} |
|
2382 |
.blocks-table__placeholder-input input { |
|
2383 |
height: 36px; |
|
2384 |
} |
|
2385 |
.blocks-table__placeholder-input .components-base-control__field { |
|
2386 |
margin-bottom: 0; |
|
2387 |
} |
9
|
2388 |
|
19
|
2389 |
@media (min-width: 600px) { |
|
2390 |
.block-editor-template-part__selection-modal { |
|
2391 |
width: calc(100% - 32px); |
|
2392 |
height: calc(100% - 120px); |
|
2393 |
} |
|
2394 |
} |
|
2395 |
@media (min-width: 782px) { |
|
2396 |
.block-editor-template-part__selection-modal { |
|
2397 |
width: 750px; |
|
2398 |
} |
|
2399 |
} |
|
2400 |
@media (min-width: 960px) { |
|
2401 |
.block-editor-template-part__selection-modal { |
|
2402 |
height: 70%; |
|
2403 |
} |
18
|
2404 |
} |
16
|
2405 |
|
|
2406 |
.wp-block-text-columns .block-editor-rich-text__editable:focus { |
18
|
2407 |
outline: 1px solid #ddd; |
|
2408 |
} |
|
2409 |
|
|
2410 |
.wp-block[data-align=center] > .wp-block-video { |
|
2411 |
text-align: center; |
|
2412 |
} |
16
|
2413 |
|
18
|
2414 |
.wp-block-video { |
|
2415 |
position: relative; |
|
2416 |
} |
|
2417 |
.wp-block-video.is-transient video { |
|
2418 |
opacity: 0.3; |
|
2419 |
} |
|
2420 |
.wp-block-video .components-spinner { |
|
2421 |
position: absolute; |
|
2422 |
top: 50%; |
|
2423 |
left: 50%; |
|
2424 |
margin-top: -9px; |
|
2425 |
margin-left: -9px; |
|
2426 |
} |
9
|
2427 |
|
16
|
2428 |
.editor-video-poster-control .components-base-control__label { |
18
|
2429 |
display: block; |
|
2430 |
} |
9
|
2431 |
.editor-video-poster-control .components-button { |
18
|
2432 |
margin-right: 8px; |
|
2433 |
} |
|
2434 |
|
|
2435 |
.block-library-video-tracks-editor { |
|
2436 |
z-index: 159990; |
|
2437 |
} |
|
2438 |
|
|
2439 |
.block-library-video-tracks-editor > .components-popover__content { |
|
2440 |
width: 360px; |
|
2441 |
} |
|
2442 |
|
|
2443 |
.block-library-video-tracks-editor__track-list-track { |
|
2444 |
display: flex; |
|
2445 |
place-content: space-between; |
|
2446 |
align-items: baseline; |
|
2447 |
padding-left: 12px; |
|
2448 |
} |
9
|
2449 |
|
18
|
2450 |
.block-library-video-tracks-editor__single-track-editor-label-language { |
|
2451 |
display: flex; |
|
2452 |
margin-top: 12px; |
|
2453 |
} |
|
2454 |
.block-library-video-tracks-editor__single-track-editor-label-language > .components-base-control { |
|
2455 |
width: 50%; |
|
2456 |
} |
|
2457 |
.block-library-video-tracks-editor__single-track-editor-label-language > .components-base-control:first-child { |
|
2458 |
margin-right: 16px; |
|
2459 |
} |
|
2460 |
|
|
2461 |
.block-library-video-tracks-editor__single-track-editor-kind-select { |
|
2462 |
max-width: 240px; |
|
2463 |
} |
|
2464 |
|
|
2465 |
.block-library-video-tracks-editor__single-track-editor-buttons-container { |
|
2466 |
display: flex; |
|
2467 |
place-content: space-between; |
|
2468 |
margin-top: 32px; |
|
2469 |
} |
16
|
2470 |
|
18
|
2471 |
.block-library-video-tracks-editor__single-track-editor-edit-track-label { |
|
2472 |
margin-top: 4px; |
|
2473 |
margin-bottom: 12px; |
|
2474 |
color: #757575; |
|
2475 |
text-transform: uppercase; |
|
2476 |
font-size: 11px; |
|
2477 |
font-weight: 500; |
|
2478 |
display: block; |
|
2479 |
} |
|
2480 |
|
|
2481 |
.block-library-video-tracks-editor > .components-popover__content > div { |
|
2482 |
padding: 0; |
|
2483 |
} |
|
2484 |
|
|
2485 |
.block-library-video-tracks-editor__track-list .components-menu-group__label, |
|
2486 |
.block-library-video-tracks-editor__add-tracks-container .components-menu-group__label { |
|
2487 |
padding: 0; |
|
2488 |
} |
|
2489 |
|
|
2490 |
.block-library-video-tracks-editor__single-track-editor, |
|
2491 |
.block-library-video-tracks-editor__track-list, |
|
2492 |
.block-library-video-tracks-editor__add-tracks-container { |
|
2493 |
padding: 12px; |
|
2494 |
} |
16
|
2495 |
|
18
|
2496 |
.block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__label { |
|
2497 |
margin-bottom: 4px; |
|
2498 |
} |
|
2499 |
.block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__field { |
|
2500 |
margin-bottom: 12px; |
|
2501 |
} |
|
2502 |
.block-library-video-tracks-editor__single-track-editor .components-base-control .components-text-control__input { |
|
2503 |
margin-left: 0; |
|
2504 |
} |
|
2505 |
.block-library-video-tracks-editor__single-track-editor .components-base-control .components-input-control__label { |
|
2506 |
margin-bottom: 4px; |
|
2507 |
} |
|
2508 |
|
|
2509 |
.editor-styles-wrapper ul.wp-block-post-template { |
|
2510 |
padding-left: 0; |
|
2511 |
margin-left: 0; |
|
2512 |
list-style: none; |
|
2513 |
} |
|
2514 |
|
|
2515 |
.block-library-query-toolbar__popover .components-popover__content { |
|
2516 |
min-width: 230px; |
|
2517 |
} |
|
2518 |
|
|
2519 |
.wp-block-query__create-new-link { |
|
2520 |
padding: 0 16px 16px 56px; |
|
2521 |
} |
|
2522 |
|
19
|
2523 |
.block-library-query__pattern-selection-content .block-editor-block-patterns-list { |
|
2524 |
display: grid; |
|
2525 |
grid-template-columns: 1fr 1fr 1fr; |
|
2526 |
grid-gap: 8px; |
|
2527 |
} |
|
2528 |
.block-library-query__pattern-selection-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item { |
|
2529 |
margin-bottom: 0; |
|
2530 |
} |
|
2531 |
.block-library-query__pattern-selection-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item .block-editor-block-preview__container { |
|
2532 |
max-height: 250px; |
|
2533 |
} |
|
2534 |
|
|
2535 |
.block-editor-query-pattern__selection-modal .components-modal__content { |
|
2536 |
overflow: hidden; |
|
2537 |
padding: 0; |
|
2538 |
} |
|
2539 |
.block-editor-query-pattern__selection-modal .components-modal__content::before { |
|
2540 |
margin-bottom: 0; |
|
2541 |
} |
|
2542 |
|
|
2543 |
@media (min-width: 600px) { |
|
2544 |
.block-editor-query-pattern__selection-modal { |
|
2545 |
width: calc(100% - 32px); |
|
2546 |
height: calc(100% - 120px); |
|
2547 |
} |
|
2548 |
} |
|
2549 |
@media (min-width: 782px) { |
|
2550 |
.block-editor-query-pattern__selection-modal { |
|
2551 |
width: 750px; |
|
2552 |
} |
|
2553 |
} |
|
2554 |
@media (min-width: 960px) { |
|
2555 |
.block-editor-query-pattern__selection-modal { |
|
2556 |
height: 80%; |
|
2557 |
width: 80%; |
|
2558 |
max-height: none; |
|
2559 |
} |
|
2560 |
} |
|
2561 |
|
|
2562 |
.wp-block[data-align=center] > .wp-block-query-pagination { |
|
2563 |
justify-content: center; |
18
|
2564 |
} |
|
2565 |
|
|
2566 |
.editor-styles-wrapper .wp-block-query-pagination { |
|
2567 |
max-width: 100%; |
|
2568 |
} |
|
2569 |
.editor-styles-wrapper .wp-block-query-pagination.block-editor-block-list__layout { |
|
2570 |
margin: 0; |
|
2571 |
} |
|
2572 |
|
|
2573 |
.wp-block-query-pagination > .wp-block-query-pagination-next, |
|
2574 |
.wp-block-query-pagination > .wp-block-query-pagination-previous, |
|
2575 |
.wp-block-query-pagination > .wp-block-query-pagination-numbers { |
|
2576 |
margin-left: 0; |
|
2577 |
margin-top: 0.5em; |
|
2578 |
/*rtl:ignore*/ |
|
2579 |
margin-right: 0.5em; |
|
2580 |
margin-bottom: 0.5em; |
|
2581 |
} |
|
2582 |
.wp-block-query-pagination > .wp-block-query-pagination-next:last-child, |
|
2583 |
.wp-block-query-pagination > .wp-block-query-pagination-previous:last-child, |
|
2584 |
.wp-block-query-pagination > .wp-block-query-pagination-numbers:last-child { |
|
2585 |
/*rtl:ignore*/ |
|
2586 |
margin-right: 0; |
|
2587 |
} |
|
2588 |
|
|
2589 |
.wp-block-query-pagination-numbers a { |
|
2590 |
text-decoration: underline; |
|
2591 |
} |
|
2592 |
.wp-block-query-pagination-numbers .page-numbers { |
|
2593 |
margin-right: 2px; |
|
2594 |
} |
|
2595 |
.wp-block-query-pagination-numbers .page-numbers:last-child { |
|
2596 |
/*rtl:ignore*/ |
|
2597 |
margin-right: 0; |
|
2598 |
} |
|
2599 |
|
19
|
2600 |
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder, |
|
2601 |
.wp-block-post-featured-image.wp-block-post-featured-image .components-resizable-box__container { |
|
2602 |
border-radius: inherit; |
|
2603 |
} |
|
2604 |
.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder, |
|
2605 |
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder { |
|
2606 |
justify-content: center; |
|
2607 |
align-items: center; |
|
2608 |
box-shadow: none; |
|
2609 |
padding: 0; |
|
2610 |
color: currentColor; |
|
2611 |
background: transparent; |
|
2612 |
min-height: 200px; |
|
2613 |
} |
|
2614 |
.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-form-file-upload, |
|
2615 |
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-form-file-upload { |
|
2616 |
display: none; |
|
2617 |
} |
|
2618 |
.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-placeholder__preview, |
|
2619 |
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-placeholder__preview { |
|
2620 |
position: absolute; |
|
2621 |
top: 4px; |
|
2622 |
right: 4px; |
|
2623 |
bottom: 4px; |
|
2624 |
left: 4px; |
|
2625 |
background: rgba(255, 255, 255, 0.8); |
|
2626 |
display: flex; |
|
2627 |
align-items: center; |
|
2628 |
justify-content: center; |
|
2629 |
} |
|
2630 |
.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder::before, |
|
2631 |
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder::before { |
|
2632 |
content: ""; |
|
2633 |
display: block; |
|
2634 |
position: absolute; |
|
2635 |
top: 0; |
|
2636 |
right: 0; |
|
2637 |
bottom: 0; |
|
2638 |
left: 0; |
|
2639 |
border: 1px dashed currentColor; |
|
2640 |
opacity: 0.4; |
|
2641 |
pointer-events: none; |
|
2642 |
border-radius: inherit; |
|
2643 |
} |
|
2644 |
.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-placeholder__fieldset, |
|
2645 |
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-placeholder__fieldset { |
|
2646 |
width: auto; |
|
2647 |
} |
|
2648 |
.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button, |
|
2649 |
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button { |
|
2650 |
color: inherit; |
|
2651 |
padding: 0; |
|
2652 |
display: flex; |
|
2653 |
justify-content: center; |
|
2654 |
align-items: center; |
|
2655 |
width: 48px; |
|
2656 |
height: 48px; |
|
2657 |
border-radius: 50%; |
|
2658 |
position: relative; |
|
2659 |
visibility: hidden; |
|
2660 |
background: transparent; |
|
2661 |
transition: all 0.1s linear; |
|
2662 |
} |
|
2663 |
@media (prefers-reduced-motion: reduce) { |
|
2664 |
.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button, |
|
2665 |
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button { |
|
2666 |
transition-duration: 0s; |
|
2667 |
transition-delay: 0s; |
|
2668 |
} |
|
2669 |
} |
|
2670 |
.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button > svg, |
|
2671 |
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button > svg { |
|
2672 |
color: #fff; |
|
2673 |
} |
|
2674 |
.wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-placeholder__illustration, |
|
2675 |
.wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-placeholder__illustration { |
|
2676 |
position: absolute; |
|
2677 |
top: 0; |
|
2678 |
right: 0; |
|
2679 |
bottom: 0; |
|
2680 |
left: 0; |
|
2681 |
width: 100%; |
|
2682 |
height: 100%; |
|
2683 |
stroke: currentColor; |
|
2684 |
stroke-dasharray: 3; |
|
2685 |
opacity: 0.4; |
|
2686 |
} |
|
2687 |
.wp-block-post-featured-image.wp-block-post-featured-image[style*=height] .components-placeholder { |
|
2688 |
min-height: 48px; |
|
2689 |
min-width: 48px; |
|
2690 |
height: 100%; |
|
2691 |
width: 100%; |
|
2692 |
} |
|
2693 |
.wp-block-post-featured-image.wp-block-post-featured-image.is-selected .components-button.components-button { |
|
2694 |
background: var(--wp-admin-theme-color); |
|
2695 |
border-color: var(--wp-admin-theme-color); |
|
2696 |
border-style: solid; |
|
2697 |
color: #fff; |
|
2698 |
opacity: 1; |
|
2699 |
visibility: visible; |
|
2700 |
} |
|
2701 |
|
18
|
2702 |
div[data-type="core/post-featured-image"] img { |
|
2703 |
max-width: 100%; |
|
2704 |
height: auto; |
|
2705 |
display: block; |
|
2706 |
} |
|
2707 |
|
19
|
2708 |
.wp-block-post-comments__placeholder * { |
|
2709 |
pointer-events: none; |
18
|
2710 |
} |
|
2711 |
|
19
|
2712 |
.wp-block-post-comments-form * { |
|
2713 |
pointer-events: none; |
|
2714 |
} |
|
2715 |
.wp-block-post-comments-form *.block-editor-warning * { |
|
2716 |
pointer-events: auto; |
18
|
2717 |
} |
16
|
2718 |
|
18
|
2719 |
:root .editor-styles-wrapper { |
19
|
2720 |
/* |
|
2721 |
* Our classes uses the same values we set for gradient value attributes, |
|
2722 |
* and we can not use spacing because of WP multi site kses rule. |
|
2723 |
*/ |
18
|
2724 |
/* stylelint-disable function-comma-space-after */ |
|
2725 |
/* stylelint-enable function-comma-space-after */ |
|
2726 |
} |
|
2727 |
:root .editor-styles-wrapper .has-very-light-gray-background-color { |
|
2728 |
background-color: #eee; |
|
2729 |
} |
|
2730 |
:root .editor-styles-wrapper .has-very-dark-gray-background-color { |
|
2731 |
background-color: #313131; |
|
2732 |
} |
|
2733 |
:root .editor-styles-wrapper .has-very-light-gray-color { |
|
2734 |
color: #eee; |
|
2735 |
} |
|
2736 |
:root .editor-styles-wrapper .has-very-dark-gray-color { |
|
2737 |
color: #313131; |
|
2738 |
} |
|
2739 |
:root .editor-styles-wrapper .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background { |
|
2740 |
background: linear-gradient(135deg, #00d084 0%, #0693e3 100%); |
|
2741 |
} |
|
2742 |
:root .editor-styles-wrapper .has-purple-crush-gradient-background { |
|
2743 |
background: linear-gradient(135deg, #34e2e4 0%, #4721fb 50%, #ab1dfe 100%); |
|
2744 |
} |
|
2745 |
:root .editor-styles-wrapper .has-hazy-dawn-gradient-background { |
|
2746 |
background: linear-gradient(135deg, #faaca8 0%, #dad0ec 100%); |
|
2747 |
} |
|
2748 |
:root .editor-styles-wrapper .has-subdued-olive-gradient-background { |
|
2749 |
background: linear-gradient(135deg, #fafae1 0%, #67a671 100%); |
|
2750 |
} |
|
2751 |
:root .editor-styles-wrapper .has-atomic-cream-gradient-background { |
|
2752 |
background: linear-gradient(135deg, #fdd79a 0%, #004a59 100%); |
|
2753 |
} |
|
2754 |
:root .editor-styles-wrapper .has-nightshade-gradient-background { |
|
2755 |
background: linear-gradient(135deg, #330968 0%, #31cdcf 100%); |
|
2756 |
} |
|
2757 |
:root .editor-styles-wrapper .has-midnight-gradient-background { |
|
2758 |
background: linear-gradient(135deg, #020381 0%, #2874fc 100%); |
|
2759 |
} |
|
2760 |
|
19
|
2761 |
.editor-styles-wrapper { |
|
2762 |
--wp--preset--font-size--normal: 16px; |
|
2763 |
--wp--preset--font-size--huge: 42px; |
18
|
2764 |
} |
|
2765 |
|
19
|
2766 |
.editor-styles-wrapper .has-regular-font-size { |
16
|
2767 |
font-size: 16px; |
18
|
2768 |
} |
|
2769 |
|
19
|
2770 |
.editor-styles-wrapper .has-larger-font-size { |
|
2771 |
font-size: 42px; |
18
|
2772 |
} |
16
|
2773 |
|
19
|
2774 |
.editor-styles-wrapper .has-normal-font-size { |
|
2775 |
font-size: var(--wp--preset--font-size--normal); |
18
|
2776 |
} |
|
2777 |
|
|
2778 |
.editor-styles-wrapper .has-huge-font-size { |
19
|
2779 |
font-size: var(--wp--preset--font-size--huge); |
18
|
2780 |
} |
16
|
2781 |
|
|
2782 |
/** |
|
2783 |
* Editor Normalization Styles |
|
2784 |
* |
|
2785 |
* These are only output in the editor, but styles here are NOT prefixed .editor-styles-wrapper. |
|
2786 |
* This allows us to create normalization styles that are easily overridden by editor styles. |
19
|
2787 |
*/ |