9
|
1 |
@charset "UTF-8"; |
|
2 |
/** |
|
3 |
* Colors |
|
4 |
*/ |
|
5 |
/** |
16
|
6 |
* Deprecated colors. |
|
7 |
* Please avoid using these. |
|
8 |
*/ |
|
9 |
/** |
9
|
10 |
* Breakpoints & Media Queries |
|
11 |
*/ |
|
12 |
/** |
16
|
13 |
* Colors |
|
14 |
*/ |
|
15 |
/** |
|
16 |
* Deprecated colors. |
|
17 |
* Please avoid using these. |
|
18 |
*/ |
|
19 |
/** |
|
20 |
* Fonts & basic variables. |
|
21 |
*/ |
|
22 |
/** |
|
23 |
* Grid System. |
|
24 |
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ |
|
25 |
*/ |
|
26 |
/** |
|
27 |
* Dimensions. |
|
28 |
*/ |
|
29 |
/** |
|
30 |
* Shadows. |
|
31 |
*/ |
|
32 |
/** |
|
33 |
* Editor widths. |
|
34 |
*/ |
|
35 |
/** |
|
36 |
* Block UI. |
|
37 |
*/ |
|
38 |
/** |
|
39 |
* Border radii. |
9
|
40 |
*/ |
|
41 |
/** |
|
42 |
* Breakpoint mixins |
|
43 |
*/ |
|
44 |
/** |
|
45 |
* Long content fade mixin |
|
46 |
* |
|
47 |
* Creates a fading overlay to signify that the content is longer |
|
48 |
* than the space allows. |
|
49 |
*/ |
|
50 |
/** |
16
|
51 |
* Focus styles. |
9
|
52 |
*/ |
|
53 |
/** |
|
54 |
* Applies editor left position to the selector passed as argument |
|
55 |
*/ |
|
56 |
/** |
|
57 |
* Styles that are reused verbatim in a few places |
|
58 |
*/ |
|
59 |
/** |
|
60 |
* Allows users to opt-out of animations via OS-level preferences. |
|
61 |
*/ |
16
|
62 |
/** |
|
63 |
* Reset default styles for JavaScript UI based pages. |
|
64 |
* This is a WP-admin agnostic reset |
|
65 |
*/ |
|
66 |
/** |
|
67 |
* Reset the WP Admin page styles for Gutenberg-like pages. |
|
68 |
*/ |
|
69 |
:root { |
|
70 |
--wp-admin-theme-color: #007cba; |
|
71 |
--wp-admin-theme-color-darker-10: #006ba1; |
|
72 |
--wp-admin-theme-color-darker-20: #005a87; } |
|
73 |
|
|
74 |
#start-resizable-editor-section { |
|
75 |
display: none; } |
|
76 |
|
|
77 |
.block-editor-autocompleters__block .block-editor-block-icon { |
|
78 |
margin-left: 8px; } |
|
79 |
|
|
80 |
.block-editor-block-alignment-matrix-toolbar__popover .components-popover__content { |
|
81 |
min-width: 0; |
|
82 |
width: auto; } |
|
83 |
.block-editor-block-alignment-matrix-toolbar__popover .components-popover__content > div { |
|
84 |
padding: 8px; } |
9
|
85 |
|
|
86 |
.block-editor-block-icon { |
|
87 |
display: flex; |
|
88 |
align-items: center; |
|
89 |
justify-content: center; |
|
90 |
width: 24px; |
16
|
91 |
height: 24px; } |
9
|
92 |
.block-editor-block-icon.has-colors svg { |
|
93 |
fill: currentColor; } |
|
94 |
.block-editor-block-icon svg { |
|
95 |
min-width: 20px; |
|
96 |
min-height: 20px; |
|
97 |
max-width: 24px; |
|
98 |
max-height: 24px; } |
|
99 |
|
16
|
100 |
.block-editor-block-inspector .components-base-control { |
|
101 |
margin-bottom: 24px; } |
|
102 |
.block-editor-block-inspector .components-base-control:last-child { |
|
103 |
margin-bottom: 8px; } |
|
104 |
|
|
105 |
.block-editor-block-inspector .components-panel__body { |
|
106 |
border: none; |
|
107 |
border-top: 1px solid #f0f0f0; } |
|
108 |
|
|
109 |
.block-editor-block-inspector .block-editor-block-card { |
|
110 |
padding: 16px; } |
|
111 |
|
9
|
112 |
.block-editor-block-inspector__no-blocks { |
|
113 |
display: block; |
|
114 |
font-size: 13px; |
|
115 |
background: #fff; |
|
116 |
padding: 32px 16px; |
|
117 |
text-align: center; } |
|
118 |
|
16
|
119 |
.block-editor-block-list__layout .block-editor-block-list__block .reusable-block-edit-panel * { |
9
|
120 |
z-index: 1; } |
|
121 |
|
16
|
122 |
.block-editor-block-styles .block-editor-block-list__block { |
|
123 |
margin: 0; } |
9
|
124 |
|
16
|
125 |
/** |
|
126 |
* Notices & Block Selected/Hover Styles. |
|
127 |
*/ |
9
|
128 |
.block-editor-block-list__layout .block-editor-block-list__block { |
|
129 |
position: relative; |
|
130 |
overflow-wrap: break-word; |
|
131 |
/** |
|
132 |
* Notices |
|
133 |
*/ |
|
134 |
/** |
16
|
135 |
* Block Layout |
9
|
136 |
*/ } |
|
137 |
.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui { |
16
|
138 |
margin: -10px 0 12px 0; } |
9
|
139 |
.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui { |
|
140 |
margin: 0 0 12px 0; |
|
141 |
width: 100%; } |
|
142 |
.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice { |
|
143 |
margin-right: 0; |
|
144 |
margin-left: 0; } |
|
145 |
.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content { |
|
146 |
font-size: 13px; } |
16
|
147 |
.block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus { |
|
148 |
outline: none; } |
|
149 |
.block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus::after { |
9
|
150 |
position: absolute; |
16
|
151 |
z-index: 1; |
9
|
152 |
pointer-events: none; |
16
|
153 |
content: ""; |
|
154 |
top: 1px; |
|
155 |
bottom: 1px; |
|
156 |
right: 1px; |
|
157 |
left: 1px; |
|
158 |
box-shadow: 0 0 0 1.5px #007cba; |
|
159 |
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color); |
|
160 |
border-radius: 1px; } |
|
161 |
.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus::after { |
|
162 |
box-shadow: 0 0 0 1.5px #fff; } |
9
|
163 |
.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) { |
|
164 |
opacity: 0.5; |
|
165 |
transition: opacity 0.1s linear; } |
16
|
166 |
@media (prefers-reduced-motion: reduce) { |
|
167 |
.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) { |
|
168 |
transition-duration: 0s; } } |
9
|
169 |
.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .block-editor-block-list__block, .block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused { |
|
170 |
opacity: 1; } |
|
171 |
|
16
|
172 |
.block-editor-block-list__layout .block-editor-block-list__block, |
|
173 |
.block-editor-block-list__layout .block-list-appender { |
|
174 |
position: relative; } |
|
175 |
.block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before, |
|
176 |
.block-editor-block-list__layout .block-list-appender.is-drop-target::before { |
|
177 |
content: ""; |
|
178 |
position: absolute; |
|
179 |
z-index: 0; |
|
180 |
pointer-events: none; |
|
181 |
transition: border-color 0.1s linear, border-style 0.1s linear, box-shadow 0.1s linear; |
|
182 |
top: -14px; |
|
183 |
left: 0; |
|
184 |
right: 0; |
|
185 |
border-top: 4px solid #007cba; |
|
186 |
border-top: 4px solid var(--wp-admin-theme-color); } |
|
187 |
.block-editor-block-list__layout .block-editor-block-list__block.is-drop-target.is-dropping-horizontally::before, |
|
188 |
.block-editor-block-list__layout .block-list-appender.is-drop-target.is-dropping-horizontally::before { |
|
189 |
top: 0; |
|
190 |
bottom: 0; |
|
191 |
right: -6px; |
|
192 |
border-top: none; |
|
193 |
border-right: 4px solid #007cba; |
|
194 |
border-right: 4px solid var(--wp-admin-theme-color); } |
9
|
195 |
|
16
|
196 |
/** |
|
197 |
* Cross-Block Selection |
|
198 |
*/ |
|
199 |
.block-editor-block-list__layout { |
|
200 |
position: relative; } |
|
201 |
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::after, |
|
202 |
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered::after, |
|
203 |
.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after, |
|
204 |
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected::after { |
|
205 |
position: absolute; |
|
206 |
z-index: 1; |
|
207 |
pointer-events: none; |
|
208 |
content: ""; |
|
209 |
top: 1px; |
|
210 |
bottom: 1px; |
|
211 |
right: 1px; |
|
212 |
left: 1px; } |
|
213 |
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::after, |
|
214 |
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered::after, |
|
215 |
.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after, |
|
216 |
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected::after { |
|
217 |
box-shadow: 0 0 0 1.5px #007cba; |
|
218 |
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color); |
|
219 |
border-radius: 1px; |
|
220 |
transition: box-shadow 0.2s ease-out; |
|
221 |
outline: 2px solid transparent; } |
|
222 |
@media (prefers-reduced-motion: reduce) { |
|
223 |
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::after, |
|
224 |
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered::after, |
|
225 |
.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after, |
|
226 |
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected::after { |
|
227 |
transition-duration: 0s; } } |
|
228 |
.is-dark-theme .is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::after, .is-dark-theme |
|
229 |
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered::after, .is-dark-theme |
|
230 |
.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after, .is-dark-theme |
|
231 |
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected::after { |
|
232 |
box-shadow: 0 0 0 1.5px #fff; } |
|
233 |
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected .components-placeholder ::selection, |
|
234 |
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered .components-placeholder ::selection, |
|
235 |
.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted .components-placeholder ::selection, |
|
236 |
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .components-placeholder ::selection { |
|
237 |
background: transparent; } |
|
238 |
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered:not(.is-selected)::after { |
|
239 |
box-shadow: 0 0 0 1px #949494; } |
|
240 |
.is-block-moving-mode .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected { |
|
241 |
box-shadow: 0 0 0 1.5px #007cba; |
|
242 |
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color); |
|
243 |
outline: 1.5px solid transparent; } |
|
244 |
.is-block-moving-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::before { |
|
245 |
content: ""; |
|
246 |
position: absolute; |
|
247 |
z-index: 0; |
|
248 |
pointer-events: none; |
|
249 |
transition: border-color 0.1s linear, border-style 0.1s linear, box-shadow 0.1s linear; |
|
250 |
left: 0; |
|
251 |
right: 0; |
|
252 |
top: -14px; |
|
253 |
border-radius: 2px; |
|
254 |
border-top: 4px solid #ccc; } |
|
255 |
.is-block-moving-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::after { |
|
256 |
content: none; } |
|
257 |
.is-block-moving-mode.can-insert-moving-block .block-editor-block-list__layout .block-editor-block-list__block.is-selected::before { |
|
258 |
border-color: #007cba; |
|
259 |
border-color: var(--wp-admin-theme-color); } |
9
|
260 |
|
16
|
261 |
.is-block-moving-mode.block-editor-block-list__block-selection-button { |
|
262 |
opacity: 0; |
|
263 |
font-size: 1px; |
|
264 |
height: 1px; |
|
265 |
padding: 0; } |
9
|
266 |
|
|
267 |
/** |
|
268 |
* Block styles and alignments |
|
269 |
*/ |
|
270 |
.block-editor-block-list__layout .block-editor-block-list__block.has-warning { |
|
271 |
min-height: 36px; } |
|
272 |
|
16
|
273 |
.block-editor-block-list__layout .block-editor-block-list__block::after { |
|
274 |
content: ""; |
|
275 |
pointer-events: none; |
|
276 |
position: absolute; |
|
277 |
top: 0; |
|
278 |
left: 0; |
|
279 |
bottom: 0; |
|
280 |
right: 0; |
|
281 |
border-radius: 2px; |
|
282 |
box-shadow: 0 0 0 1.5px transparent; |
|
283 |
transition: box-shadow 0.1s ease-in; } |
|
284 |
@media (prefers-reduced-motion: reduce) { |
|
285 |
.block-editor-block-list__layout .block-editor-block-list__block::after { |
|
286 |
transition-duration: 0s; } } |
|
287 |
|
|
288 |
.block-editor-block-list__layout .block-editor-block-list__block.has-warning > * { |
9
|
289 |
pointer-events: none; |
|
290 |
-webkit-user-select: none; |
|
291 |
-ms-user-select: none; |
|
292 |
user-select: none; } |
|
293 |
|
16
|
294 |
.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-warning { |
9
|
295 |
pointer-events: all; } |
|
296 |
|
16
|
297 |
.block-editor-block-list__layout .block-editor-block-list__block.has-warning::after { |
9
|
298 |
content: ""; |
|
299 |
position: absolute; |
16
|
300 |
top: 0; |
|
301 |
left: 0; |
|
302 |
bottom: 0; |
|
303 |
right: 0; |
|
304 |
border-radius: 2px; |
|
305 |
background-color: rgba(255, 255, 255, 0.4); } |
9
|
306 |
|
16
|
307 |
.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected::after { |
9
|
308 |
background-color: transparent; } |
|
309 |
|
16
|
310 |
.block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-inner-blocks > .block-editor-block-list__layout.has-overlay::after { |
|
311 |
display: none; } |
9
|
312 |
|
16
|
313 |
.block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-inner-blocks > .block-editor-block-list__layout.has-overlay .block-editor-block-list__layout.has-overlay::after { |
|
314 |
display: block; } |
9
|
315 |
|
16
|
316 |
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block { |
|
317 |
cursor: default; } |
9
|
318 |
|
|
319 |
.block-editor-block-list__layout .block-editor-block-list__block[data-clear="true"] { |
|
320 |
float: none; } |
|
321 |
|
|
322 |
.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter { |
|
323 |
right: auto; |
|
324 |
left: 8px; } |
|
325 |
|
16
|
326 |
.block-editor-block-list__layout .wp-block { |
|
327 |
margin-right: auto; |
|
328 |
margin-left: auto; } |
9
|
329 |
|
16
|
330 |
.wp-block[data-align="left"], .wp-block[data-align="right"] { |
|
331 |
width: 100%; |
|
332 |
height: 0; } |
|
333 |
.wp-block[data-align="left"]::before, .wp-block[data-align="right"]::before { |
|
334 |
content: none; } |
9
|
335 |
|
16
|
336 |
.wp-block[data-align="left"] > *, |
|
337 |
.wp-block[data-align="right"] > * { |
|
338 |
z-index: 21; } |
9
|
339 |
|
16
|
340 |
.wp-block[data-align="left"] > * { |
|
341 |
float: left; |
|
342 |
margin-right: 2em; } |
|
343 |
|
|
344 |
.wp-block[data-align="right"] > * { |
|
345 |
float: right; |
|
346 |
margin-left: 2em; } |
|
347 |
|
|
348 |
.wp-block[data-align="full"], .wp-block[data-align="wide"] { |
|
349 |
clear: both; } |
9
|
350 |
|
|
351 |
/** |
|
352 |
* In-Canvas Inserter |
|
353 |
*/ |
|
354 |
.block-editor-block-list .block-editor-inserter { |
|
355 |
margin: 8px; |
|
356 |
cursor: move; |
|
357 |
cursor: grab; } |
|
358 |
|
|
359 |
.block-editor-block-list__insertion-point { |
|
360 |
position: relative; |
|
361 |
z-index: 6; |
|
362 |
margin-top: -14px; } |
|
363 |
|
|
364 |
.block-editor-block-list__insertion-point-indicator { |
|
365 |
position: absolute; |
|
366 |
top: calc(50% - 1px); |
16
|
367 |
height: 1.5px; |
9
|
368 |
right: 0; |
|
369 |
left: 0; |
16
|
370 |
background: #007cba; |
|
371 |
background: var(--wp-admin-theme-color); } |
9
|
372 |
|
|
373 |
.block-editor-block-list__insertion-point-inserter { |
|
374 |
display: none; |
|
375 |
justify-content: center; |
16
|
376 |
cursor: text; } |
9
|
377 |
@media (min-width: 480px) { |
|
378 |
.block-editor-block-list__insertion-point-inserter { |
|
379 |
display: flex; } } |
16
|
380 |
.block-editor-block-list__insertion-point-inserter.is-inserter-hidden .block-editor-inserter__toggle { |
|
381 |
visibility: hidden; |
|
382 |
pointer-events: none; } |
|
383 |
|
|
384 |
.block-editor-block-list__block-popover-inserter { |
|
385 |
position: absolute; |
|
386 |
top: -9999em; |
|
387 |
margin-bottom: 14px; } |
|
388 |
.block-editor-block-list__block-popover-inserter.is-visible { |
|
389 |
position: static; } |
|
390 |
|
|
391 |
.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon, |
|
392 |
.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon, |
|
393 |
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon, |
|
394 |
.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon { |
|
395 |
background: #1e1e1e; |
|
396 |
border-radius: 2px; |
|
397 |
color: #fff; |
|
398 |
padding: 0; |
|
399 |
min-width: 24px; |
|
400 |
height: 24px; } |
|
401 |
.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon:hover, |
|
402 |
.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon:hover, |
|
403 |
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover, |
|
404 |
.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon:hover { |
|
405 |
color: #fff; } |
9
|
406 |
|
16
|
407 |
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button, |
|
408 |
.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button { |
|
409 |
animation: block-editor-inserter__toggle__fade-in-animation-delayed 0.3s ease; |
|
410 |
animation-fill-mode: forwards; } |
|
411 |
@media (prefers-reduced-motion: reduce) { |
|
412 |
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button, |
|
413 |
.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button { |
|
414 |
animation-duration: 1ms; } } |
|
415 |
|
|
416 |
@keyframes block-editor-inserter__toggle__fade-in-animation-delayed { |
|
417 |
0% { |
|
418 |
opacity: 0; } |
|
419 |
80% { |
|
420 |
opacity: 0; } |
|
421 |
100% { |
|
422 |
opacity: 1; } } |
|
423 |
|
|
424 |
@keyframes block-editor-inserter__toggle__fade-in-animation { |
|
425 |
from { |
|
426 |
opacity: 0; |
|
427 |
transform: scale(0); } |
|
428 |
to { |
9
|
429 |
opacity: 1; |
16
|
430 |
transform: scale(1); } } |
|
431 |
|
|
432 |
.wp-block .block-list-appender .block-editor-inserter__toggle { |
|
433 |
animation: block-editor-inserter__toggle__fade-in-animation 0.1s ease; |
|
434 |
animation-fill-mode: forwards; } |
|
435 |
@media (prefers-reduced-motion: reduce) { |
|
436 |
.wp-block .block-list-appender .block-editor-inserter__toggle { |
|
437 |
animation-duration: 1ms; } } |
|
438 |
|
|
439 |
.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender { |
|
440 |
display: none; } |
|
441 |
.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender .block-editor-inserter__toggle { |
|
442 |
opacity: 0; |
|
443 |
transform: scale(0); } |
9
|
444 |
|
|
445 |
.block-editor-block-list__block > .block-editor-block-list__insertion-point { |
|
446 |
position: absolute; |
|
447 |
top: -16px; |
|
448 |
height: 28px; |
|
449 |
bottom: auto; |
16
|
450 |
right: 14px; |
|
451 |
left: 14px; } |
9
|
452 |
|
|
453 |
.block-editor-block-list__block .block-editor-block-list__block-html-textarea { |
|
454 |
display: block; |
|
455 |
margin: 0; |
|
456 |
width: 100%; |
|
457 |
border: none; |
|
458 |
outline: none; |
|
459 |
box-shadow: none; |
|
460 |
resize: none; |
|
461 |
overflow: hidden; |
|
462 |
font-family: Menlo, Consolas, monaco, monospace; |
16
|
463 |
font-size: 15px; |
9
|
464 |
line-height: 150%; |
|
465 |
transition: padding 0.2s linear; } |
16
|
466 |
@media (prefers-reduced-motion: reduce) { |
|
467 |
.block-editor-block-list__block .block-editor-block-list__block-html-textarea { |
|
468 |
transition-duration: 0s; } } |
9
|
469 |
.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus { |
|
470 |
box-shadow: none; } |
|
471 |
|
|
472 |
/** |
|
473 |
* Block Toolbar when contextual. |
|
474 |
*/ |
16
|
475 |
.block-editor-block-contextual-toolbar { |
|
476 |
border: 1px solid #1e1e1e; |
|
477 |
border-radius: 2px; |
|
478 |
background-color: #fff; } |
|
479 |
.block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar-group, |
|
480 |
.block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar { |
|
481 |
border-left-color: #1e1e1e; } |
|
482 |
.block-editor-block-contextual-toolbar .block-editor-block-mover-button { |
|
483 |
overflow: hidden; } |
|
484 |
.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.block-editor-block-mover-button { |
|
485 |
min-width: 24px; |
|
486 |
width: 24px; } |
|
487 |
.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-up-button svg { |
|
488 |
margin-top: 3px; } |
|
489 |
.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-down-button svg { |
|
490 |
margin-bottom: 3px; } |
|
491 |
.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button:focus::before { |
|
492 |
right: 0 !important; |
|
493 |
min-width: 0; |
|
494 |
width: 100%; } |
9
|
495 |
|
16
|
496 |
/** |
|
497 |
* Block Label for Navigation/Selection Mode |
|
498 |
*/ |
|
499 |
.block-editor-block-list__block-selection-button { |
|
500 |
display: block; |
|
501 |
z-index: 22; } |
|
502 |
.block-editor-block-list__block-selection-button .components-button { |
|
503 |
font-size: 13px; |
|
504 |
height: 46px; |
|
505 |
padding: 12px 16px; |
|
506 |
position: relative; |
|
507 |
top: -1px; |
|
508 |
box-shadow: 0 0 0 1px #1e1e1e; |
|
509 |
border-radius: 1px; |
|
510 |
background-color: #fff; } |
|
511 |
.block-editor-block-list__block-selection-button .components-button:focus { |
|
512 |
box-shadow: 0 0 0 1.5px #007cba; |
|
513 |
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color); } |
9
|
514 |
|
|
515 |
/** |
16
|
516 |
* Warnings. |
9
|
517 |
*/ |
|
518 |
.block-editor-block-list__block .block-editor-warning { |
|
519 |
z-index: 5; |
16
|
520 |
position: relative; } |
|
521 |
.block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning { |
|
522 |
margin-bottom: auto; } |
|
523 |
|
|
524 |
/** |
|
525 |
* Popovers. |
|
526 |
*/ |
|
527 |
.block-editor-block-list__insertion-point-popover.is-without-arrow { |
|
528 |
z-index: 28; |
|
529 |
position: absolute; } |
|
530 |
.block-editor-block-list__insertion-point-popover.is-without-arrow .components-popover__content.components-popover__content { |
|
531 |
background: none; |
|
532 |
border: none; |
|
533 |
box-shadow: none; |
|
534 |
overflow-y: visible; |
|
535 |
margin-right: 0; } |
|
536 |
|
|
537 |
.components-popover.block-editor-block-list__block-popover { |
|
538 |
z-index: 31; |
|
539 |
position: absolute; } |
|
540 |
.components-popover.block-editor-block-list__block-popover .components-popover__content { |
|
541 |
margin: 0 !important; |
|
542 |
min-width: auto; |
|
543 |
width: max-content; |
|
544 |
background: none; |
|
545 |
border: none; |
|
546 |
box-shadow: none; |
|
547 |
overflow-y: visible; |
|
548 |
pointer-events: none; } |
|
549 |
.components-popover.block-editor-block-list__block-popover .components-popover__content > * { |
|
550 |
pointer-events: all; } |
|
551 |
.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__block-selection-button, |
|
552 |
.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar { |
|
553 |
margin-bottom: 12px; } |
|
554 |
.is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover { |
|
555 |
opacity: 0; } |
|
556 |
|
|
557 |
.is-dragging-components-draggable .components-tooltip { |
|
558 |
display: none; } |
|
559 |
|
|
560 |
.block-editor-block-list__block .block-list-appender { |
|
561 |
margin: 8px 0; } |
|
562 |
.has-background .block-editor-block-list__block .block-list-appender { |
|
563 |
margin: 20px 8px; } |
|
564 |
.block-editor-block-list__block .block-list-appender .block-list-appender__toggle { |
|
565 |
padding: 0; |
|
566 |
opacity: 1; |
|
567 |
transform: scale(1); |
|
568 |
transition: all 0.1s ease; } |
|
569 |
@media (prefers-reduced-motion: reduce) { |
|
570 |
.block-editor-block-list__block .block-list-appender .block-list-appender__toggle { |
|
571 |
transition-duration: 0s; } } |
9
|
572 |
|
|
573 |
.block-list-appender > .block-editor-inserter { |
|
574 |
display: block; } |
|
575 |
|
16
|
576 |
.block-editor-block-list__block:not(.is-selected):not(.has-child-selected):not(.block-editor-block-list__layout) .block-editor-block-list__layout > .block-list-appender .block-list-appender__toggle { |
|
577 |
opacity: 0; |
|
578 |
transform: scale(0); } |
|
579 |
|
|
580 |
.block-editor-block-breadcrumb { |
|
581 |
list-style: none; |
|
582 |
padding: 0; |
|
583 |
margin: 0; } |
|
584 |
.block-editor-block-breadcrumb li { |
|
585 |
display: inline-block; |
|
586 |
margin: 0; } |
|
587 |
.block-editor-block-breadcrumb li:not(:last-child)::after { |
|
588 |
content: "←"; } |
|
589 |
|
|
590 |
.block-editor-block-breadcrumb__button.components-button { |
|
591 |
height: 24px; |
|
592 |
line-height: 24px; |
|
593 |
padding: 0; |
|
594 |
position: relative; } |
|
595 |
.block-editor-block-breadcrumb__button.components-button:hover:not(:disabled) { |
|
596 |
text-decoration: underline; |
|
597 |
box-shadow: none; } |
|
598 |
.block-editor-block-breadcrumb__button.components-button:focus { |
|
599 |
box-shadow: none; } |
|
600 |
.block-editor-block-breadcrumb__button.components-button:focus::before { |
|
601 |
content: ""; |
|
602 |
display: block; |
|
603 |
position: absolute; |
|
604 |
border-radius: 2px; |
|
605 |
top: 1px; |
|
606 |
left: 1px; |
|
607 |
bottom: 1px; |
|
608 |
right: 1px; |
|
609 |
box-shadow: inset 0 0 0 1.5px #007cba; |
|
610 |
box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color); } |
|
611 |
|
|
612 |
.block-editor-block-breadcrumb__current { |
|
613 |
cursor: default; } |
|
614 |
|
|
615 |
.block-editor-block-breadcrumb__button.components-button, |
|
616 |
.block-editor-block-breadcrumb__current { |
|
617 |
color: #1e1e1e; |
|
618 |
padding: 0 8px; |
|
619 |
font-size: inherit; } |
|
620 |
|
|
621 |
.block-editor-block-card { |
9
|
622 |
display: flex; |
16
|
623 |
align-items: flex-start; } |
|
624 |
|
|
625 |
.block-editor-block-card__icon { |
|
626 |
border: 1px solid #ccd0d4; |
|
627 |
padding: 7px; |
|
628 |
margin-left: 10px; |
|
629 |
height: 36px; |
|
630 |
width: 36px; } |
|
631 |
|
|
632 |
.block-editor-block-card__content { |
|
633 |
flex-grow: 1; } |
|
634 |
|
|
635 |
.block-editor-block-card__title { |
|
636 |
font-weight: 500; } |
|
637 |
.block-editor-block-card__title.block-editor-block-card__title { |
|
638 |
margin: 0 0 5px; } |
|
639 |
|
|
640 |
.block-editor-block-card__description { |
|
641 |
font-size: 13px; } |
|
642 |
|
|
643 |
.block-editor-block-card .block-editor-block-icon { |
|
644 |
margin-right: -2px; |
|
645 |
margin-left: 10px; |
|
646 |
padding: 0 3px; |
|
647 |
width: 36px; |
|
648 |
height: 24px; } |
9
|
649 |
|
|
650 |
/** |
|
651 |
* Invalid block comparison |
|
652 |
*/ |
|
653 |
.block-editor-block-compare { |
|
654 |
overflow: auto; |
|
655 |
height: auto; } |
|
656 |
@media (min-width: 600px) { |
|
657 |
.block-editor-block-compare { |
|
658 |
max-height: 70%; } } |
|
659 |
|
|
660 |
.block-editor-block-compare__wrapper { |
|
661 |
display: flex; |
|
662 |
padding-bottom: 16px; } |
|
663 |
.block-editor-block-compare__wrapper > div { |
|
664 |
display: flex; |
|
665 |
justify-content: space-between; |
|
666 |
flex-direction: column; |
|
667 |
width: 50%; |
|
668 |
padding: 0 0 0 16px; |
|
669 |
min-width: 200px; } |
|
670 |
.block-editor-block-compare__wrapper > div button { |
|
671 |
float: left; } |
|
672 |
.block-editor-block-compare__wrapper .block-editor-block-compare__converted { |
|
673 |
border-right: 1px solid #ddd; |
16
|
674 |
padding-right: 15px; |
|
675 |
padding-left: 0; } |
9
|
676 |
.block-editor-block-compare__wrapper .block-editor-block-compare__html { |
|
677 |
font-family: Menlo, Consolas, monaco, monospace; |
|
678 |
font-size: 12px; |
16
|
679 |
color: #1e1e1e; |
9
|
680 |
border-bottom: 1px solid #ddd; |
|
681 |
padding-bottom: 15px; |
|
682 |
line-height: 1.7; } |
|
683 |
.block-editor-block-compare__wrapper .block-editor-block-compare__html span { |
|
684 |
background-color: #e6ffed; |
|
685 |
padding-top: 3px; |
|
686 |
padding-bottom: 3px; } |
|
687 |
.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added { |
|
688 |
background-color: #acf2bd; } |
|
689 |
.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed { |
|
690 |
background-color: #d94f4f; } |
|
691 |
.block-editor-block-compare__wrapper .block-editor-block-compare__preview { |
|
692 |
padding: 0; |
|
693 |
padding-top: 14px; } |
|
694 |
.block-editor-block-compare__wrapper .block-editor-block-compare__preview p { |
|
695 |
font-size: 12px; |
|
696 |
margin-top: 0; } |
|
697 |
.block-editor-block-compare__wrapper .block-editor-block-compare__action { |
|
698 |
margin-top: 14px; } |
|
699 |
.block-editor-block-compare__wrapper .block-editor-block-compare__heading { |
|
700 |
font-size: 1em; |
|
701 |
font-weight: 400; |
|
702 |
margin: 0.67em 0; } |
|
703 |
|
16
|
704 |
.block-editor-block-draggable-chip-wrapper { |
|
705 |
position: absolute; |
|
706 |
top: -60px; } |
9
|
707 |
|
16
|
708 |
.block-editor-block-draggable-chip { |
|
709 |
background-color: #1e1e1e; |
|
710 |
border-radius: 2px; |
|
711 |
border: 1px solid #1e1e1e; |
|
712 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); |
|
713 |
color: #fff; |
|
714 |
cursor: grabbing; |
|
715 |
display: inline-flex; |
|
716 |
height: 48px; |
|
717 |
min-width: 72px; |
|
718 |
padding: 0 12px; |
|
719 |
-webkit-user-select: none; |
|
720 |
-ms-user-select: none; |
|
721 |
user-select: none; } |
|
722 |
.block-editor-block-draggable-chip svg { |
|
723 |
fill: currentColor; } |
|
724 |
.block-editor-block-draggable-chip .block-editor-block-draggable-chip__content { |
|
725 |
margin: auto; } |
|
726 |
.block-editor-block-draggable-chip .components-flex__item { |
|
727 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
728 |
font-size: 13px; } |
|
729 |
|
|
730 |
.is-dragging.is-selected, |
|
731 |
.is-dragging.is-multi-selected { |
|
732 |
display: none !important; } |
|
733 |
|
|
734 |
.block-editor-block-mobile-toolbar { |
9
|
735 |
display: flex; |
16
|
736 |
flex-direction: row; |
|
737 |
border-left: 1px solid #ddd; } |
|
738 |
.block-editor-block-mobile-toolbar .block-editor-block-mover-button { |
|
739 |
width: 36px; |
|
740 |
height: 36px; |
|
741 |
border-radius: 2px; |
|
742 |
padding: 3px; |
|
743 |
margin: 0; |
|
744 |
justify-content: center; |
|
745 |
align-items: center; } |
|
746 |
.block-editor-block-mobile-toolbar .block-editor-block-mover-button .dashicon { |
|
747 |
margin: auto; } |
|
748 |
.block-editor-block-mobile-toolbar .block-editor-block-mover { |
|
749 |
display: flex; |
|
750 |
margin-left: auto; } |
|
751 |
.block-editor-block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover-button { |
|
752 |
float: right; } |
9
|
753 |
|
16
|
754 |
.block-editor-block-mover { |
|
755 |
display: inline-flex; |
|
756 |
flex-direction: row; } |
9
|
757 |
|
16
|
758 |
.block-editor-block-mover-button__description { |
9
|
759 |
display: none; } |
|
760 |
|
16
|
761 |
.block-editor-block-mover-button.has-icon { |
|
762 |
padding: 0; } |
|
763 |
|
|
764 |
.block-editor-block-mover .components-toolbar-group, |
|
765 |
.block-editor-block-mover .components-toolbar { |
|
766 |
flex: 1; |
|
767 |
flex-direction: row; } |
|
768 |
@media (min-width: 600px) { |
|
769 |
.block-editor-block-mover .components-toolbar-group, |
|
770 |
.block-editor-block-mover .components-toolbar { |
|
771 |
flex-direction: column; } } |
|
772 |
|
|
773 |
.block-editor-block-mover.is-horizontal .components-toolbar-group, |
|
774 |
.block-editor-block-mover.is-horizontal .components-toolbar { |
|
775 |
flex-direction: row; } |
|
776 |
|
9
|
777 |
@media (min-width: 600px) { |
16
|
778 |
.block-editor-block-mover .block-editor-block-mover-button { |
|
779 |
padding: 0 !important; |
|
780 |
height: 24px; |
|
781 |
width: 48px; } } |
|
782 |
|
|
783 |
@media (min-width: 600px) { |
|
784 |
.block-editor-block-mover .block-editor-block-mover-button::before { |
|
785 |
right: 8px !important; |
|
786 |
left: 8px !important; } } |
|
787 |
|
|
788 |
@media (min-width: 600px) { |
|
789 |
.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-up-button svg, |
|
790 |
.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-up-button svg { |
|
791 |
margin-bottom: -8px; } |
|
792 |
.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-up-button::before, |
|
793 |
.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-up-button::before { |
|
794 |
bottom: 0; |
|
795 |
height: calc(100% - 1px); } |
|
796 |
.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-down-button svg, |
|
797 |
.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-down-button svg { |
|
798 |
margin-top: -8px; } |
|
799 |
.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-down-button::before, |
|
800 |
.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-down-button::before { |
|
801 |
top: 0; |
|
802 |
height: calc(100% - 1px); } } |
|
803 |
|
|
804 |
.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.has-icon { |
|
805 |
height: 48px; |
|
806 |
width: 24px; |
|
807 |
padding-right: 0; |
|
808 |
padding-left: 0; } |
|
809 |
.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.has-icon::before { |
|
810 |
top: 0; |
|
811 |
bottom: 0; |
|
812 |
min-width: 0; |
|
813 |
width: auto; |
|
814 |
height: auto; } |
|
815 |
|
|
816 |
.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-up-button.has-icon svg { |
|
817 |
margin-right: 0; |
|
818 |
margin-left: -8px; |
|
819 |
margin-bottom: 0; } |
|
820 |
|
|
821 |
.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-up-button.has-icon::before { |
|
822 |
right: 0 !important; |
|
823 |
left: 0 !important; } |
|
824 |
|
|
825 |
.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-down-button.has-icon svg { |
|
826 |
margin-right: -8px; |
|
827 |
margin-left: 0; |
|
828 |
margin-top: 0; } |
|
829 |
|
|
830 |
.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-down-button.has-icon::before { |
|
831 |
right: 0 !important; |
|
832 |
left: 0 !important; |
|
833 |
width: calc(100% + 1px); } |
9
|
834 |
|
|
835 |
.block-editor-block-navigation__container { |
|
836 |
padding: 7px; } |
|
837 |
|
|
838 |
.block-editor-block-navigation__label { |
16
|
839 |
margin: 0 0 12px; |
|
840 |
color: #757575; |
|
841 |
text-transform: uppercase; |
|
842 |
font-size: 11px; |
|
843 |
font-weight: 500; } |
9
|
844 |
|
16
|
845 |
.block-editor-block-navigation__container { |
|
846 |
padding: 7px; } |
|
847 |
|
|
848 |
.block-editor-block-navigation-tree { |
|
849 |
width: 100%; |
|
850 |
border-collapse: collapse; |
9
|
851 |
padding: 0; |
|
852 |
margin: 0; } |
|
853 |
|
16
|
854 |
.block-editor-block-navigation-leaf { |
|
855 |
position: relative; } |
|
856 |
.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents { |
|
857 |
display: flex; |
|
858 |
align-items: center; |
|
859 |
width: calc(100% - 0.8em); |
|
860 |
height: auto; |
|
861 |
padding: 12px 6px; |
|
862 |
margin-top: auto; |
|
863 |
margin-bottom: auto; |
|
864 |
text-align: right; |
|
865 |
color: #40464d; |
|
866 |
border-radius: 2px; } |
|
867 |
.components-modal__content .block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents { |
|
868 |
padding-right: 0; |
|
869 |
padding-left: 0; } |
|
870 |
.block-editor-block-navigation-leaf.is-visible .block-editor-block-navigation-block-contents { |
|
871 |
opacity: 1; |
|
872 |
animation: edit-post__fade-in-animation 0.2s ease-out 0s; |
|
873 |
animation-fill-mode: forwards; } |
|
874 |
@media (prefers-reduced-motion: reduce) { |
|
875 |
.block-editor-block-navigation-leaf.is-visible .block-editor-block-navigation-block-contents { |
|
876 |
animation-duration: 1ms; } } |
|
877 |
.block-editor-block-navigation-leaf .block-editor-block-icon { |
|
878 |
align-self: flex-start; |
|
879 |
margin-left: 6px; } |
|
880 |
.block-editor-block-navigation-leaf.is-selected .block-editor-block-icon svg, |
|
881 |
.block-editor-block-navigation-leaf.is-selected:focus .block-editor-block-icon svg { |
|
882 |
color: #fff; |
|
883 |
background: #1e1e1e; |
|
884 |
box-shadow: 0 0 0 1px #1e1e1e; |
|
885 |
border-radius: 1px; } |
|
886 |
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell, |
|
887 |
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell, |
|
888 |
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__contents-cell { |
|
889 |
padding-top: 0; |
|
890 |
padding-bottom: 0; } |
|
891 |
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell, |
|
892 |
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell { |
|
893 |
width: 36px; |
|
894 |
opacity: 0; |
|
895 |
vertical-align: top; } |
|
896 |
@media (prefers-reduced-motion: reduce) { |
|
897 |
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell, |
|
898 |
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell { |
|
899 |
transition-duration: 0s; } } |
|
900 |
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell.is-visible, |
|
901 |
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell.is-visible { |
|
902 |
opacity: 1; |
|
903 |
animation: edit-post__fade-in-animation 0.2s ease-out 0s; |
|
904 |
animation-fill-mode: forwards; } |
|
905 |
@media (prefers-reduced-motion: reduce) { |
|
906 |
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell.is-visible, |
|
907 |
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell.is-visible { |
|
908 |
animation-duration: 1ms; } } |
|
909 |
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell, |
|
910 |
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell .components-button.has-icon, |
|
911 |
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell, |
|
912 |
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell .components-button.has-icon { |
|
913 |
width: 24px; |
|
914 |
min-width: 24px; |
|
915 |
padding: 0; } |
|
916 |
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell { |
|
917 |
padding-top: 8px; } |
|
918 |
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell-alignment-wrapper { |
|
919 |
display: flex; |
|
920 |
height: 100%; |
|
921 |
flex-direction: column; |
|
922 |
align-items: center; } |
|
923 |
.block-editor-block-navigation-leaf .block-editor-block-mover-button { |
|
924 |
position: relative; |
|
925 |
width: 36px; |
|
926 |
height: 24px; } |
|
927 |
.block-editor-block-navigation-leaf .block-editor-block-mover-button svg { |
|
928 |
position: relative; |
|
929 |
height: 24px; } |
|
930 |
.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-up-button { |
|
931 |
align-items: flex-end; } |
|
932 |
.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-up-button svg { |
|
933 |
bottom: -4px; } |
|
934 |
.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-down-button { |
|
935 |
align-items: flex-start; } |
|
936 |
.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-down-button svg { |
|
937 |
top: -4px; } |
|
938 |
.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus:enabled { |
|
939 |
box-shadow: none; |
|
940 |
outline: none; } |
|
941 |
.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus { |
|
942 |
box-shadow: none; |
|
943 |
outline: none; } |
|
944 |
.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus::before { |
|
945 |
box-shadow: inset 0 0 0 1.5px #007cba, inset 0 0 0 4px #fff; |
|
946 |
box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color), inset 0 0 0 4px #fff; |
|
947 |
outline: 2px solid transparent; } |
|
948 |
.block-editor-block-navigation-leaf .block-editor-block-mover-button::before { |
9
|
949 |
content: ""; |
|
950 |
position: absolute; |
16
|
951 |
display: block; |
|
952 |
border-radius: 2px; |
|
953 |
height: 16px; |
|
954 |
min-width: 100%; |
|
955 |
right: 0; |
|
956 |
left: 0; |
|
957 |
animation: components-button__appear-animation 0.1s ease; |
|
958 |
animation-fill-mode: forwards; } |
|
959 |
@media (prefers-reduced-motion: reduce) { |
|
960 |
.block-editor-block-navigation-leaf .block-editor-block-mover-button::before { |
|
961 |
animation-duration: 1ms; } } |
|
962 |
.block-editor-block-navigation-leaf .block-editor-inserter__toggle { |
|
963 |
background: #1e1e1e; |
|
964 |
color: #fff; |
|
965 |
height: 24px; |
|
966 |
margin: 6px 1px 6px 6px; |
|
967 |
min-width: 24px; } |
|
968 |
.block-editor-block-navigation-leaf .block-editor-inserter__toggle:active { |
|
969 |
color: #fff; } |
9
|
970 |
|
16
|
971 |
.block-editor-block-navigation-block-slot__description, |
|
972 |
.block-editor-block-navigation-block-select-button__description, |
|
973 |
.block-editor-block-navigation-appender__description { |
9
|
974 |
display: none; } |
16
|
975 |
|
|
976 |
.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-block__contents-container, |
|
977 |
.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-appender__container, |
|
978 |
.block-editor-block-navigation-appender__cell .block-editor-block-navigation-block__contents-container, |
|
979 |
.block-editor-block-navigation-appender__cell .block-editor-block-navigation-appender__container { |
|
980 |
display: flex; } |
|
981 |
|
|
982 |
.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-block__contents-container, |
|
983 |
.block-editor-block-navigation-appender__cell .block-editor-block-navigation-block__contents-container { |
|
984 |
min-height: 56px; } |
9
|
985 |
|
16
|
986 |
.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line, |
|
987 |
.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line { |
|
988 |
position: relative; |
|
989 |
flex-shrink: 0; |
|
990 |
width: 24px; } |
|
991 |
.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line:first-child, |
|
992 |
.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line:first-child { |
|
993 |
width: 18px; } |
|
994 |
.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.has-item, |
|
995 |
.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item { |
|
996 |
margin-left: 6px; } |
|
997 |
.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line::before, |
|
998 |
.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line::before { |
|
999 |
content: ""; |
|
1000 |
display: block; |
|
1001 |
position: absolute; |
|
1002 |
top: 1px; |
|
1003 |
bottom: -2px; |
|
1004 |
left: -1px; |
|
1005 |
border-left: 2px solid #a2aab2; } |
|
1006 |
.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.is-terminated::before, |
|
1007 |
.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.is-terminated::before { |
|
1008 |
border-color: transparent; } |
|
1009 |
.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.has-item.is-last-row, |
|
1010 |
.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item.is-last-row { |
|
1011 |
height: 26px; } |
|
1012 |
.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.has-item::after, |
|
1013 |
.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item::after { |
|
1014 |
content: ""; |
|
1015 |
display: block; |
|
1016 |
position: absolute; |
|
1017 |
top: 26px; |
|
1018 |
right: 100%; |
|
1019 |
width: 5px; |
|
1020 |
border-bottom: 2px solid #a2aab2; } |
9
|
1021 |
|
16
|
1022 |
.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item.is-last-row { |
|
1023 |
height: 16px; } |
|
1024 |
.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item.is-last-row::after { |
|
1025 |
top: 100%; } |
9
|
1026 |
|
16
|
1027 |
.block-editor-block-parent-selector { |
|
1028 |
background: #fff; |
|
1029 |
border-radius: 2px; } |
|
1030 |
.block-editor-block-parent-selector .block-editor-block-parent-selector__button { |
|
1031 |
width: 48px; |
|
1032 |
height: 48px; |
|
1033 |
border: 1px solid #1e1e1e; |
|
1034 |
border-radius: 2px; } |
9
|
1035 |
|
16
|
1036 |
.block-editor-block-patterns-list__item { |
|
1037 |
border-radius: 2px; |
|
1038 |
cursor: pointer; |
|
1039 |
margin-top: 16px; |
|
1040 |
transition: all 0.05s ease-in-out; |
|
1041 |
position: relative; |
|
1042 |
border: 1px solid transparent; } |
|
1043 |
.block-editor-block-patterns-list__item:hover { |
|
1044 |
border: 1px solid #007cba; |
|
1045 |
border: 1px solid var(--wp-admin-theme-color); } |
|
1046 |
.block-editor-block-patterns-list__item:focus { |
|
1047 |
box-shadow: inset 0 0 0 1px #fff, 0 0 0 1.5px #007cba; |
|
1048 |
box-shadow: inset 0 0 0 1px #fff, 0 0 0 1.5px var(--wp-admin-theme-color); |
|
1049 |
outline: 2px solid transparent; } |
|
1050 |
.block-editor-block-patterns-list__item.is-placeholder { |
|
1051 |
min-height: 100px; } |
9
|
1052 |
|
16
|
1053 |
.block-editor-block-patterns-list__item-title { |
|
1054 |
padding: 4px; |
|
1055 |
font-size: 12px; |
|
1056 |
text-align: center; } |
|
1057 |
|
|
1058 |
.block-editor-block-preview__container { |
|
1059 |
position: relative; |
9
|
1060 |
width: 100%; |
16
|
1061 |
overflow: hidden; } |
|
1062 |
.block-editor-block-preview__container.editor-styles-wrapper { |
|
1063 |
padding: 0; |
|
1064 |
margin: 0; } |
|
1065 |
|
|
1066 |
.block-editor-block-preview__content { |
|
1067 |
position: absolute; |
|
1068 |
top: 0; |
|
1069 |
right: 0; |
|
1070 |
transform-origin: top right; |
|
1071 |
text-align: initial; |
|
1072 |
margin: 0; |
|
1073 |
overflow: visible; |
|
1074 |
min-height: auto; } |
|
1075 |
.block-editor-block-preview__content .block-editor-block-list__insertion-point, |
|
1076 |
.block-editor-block-preview__content .block-editor-block-drop-zone, |
|
1077 |
.block-editor-block-preview__content .reusable-block-indicator, |
|
1078 |
.block-editor-block-preview__content .block-list-appender { |
|
1079 |
display: none; } |
|
1080 |
.block-editor-block-preview__content .block-editor-block-list__layout.is-root-container { |
|
1081 |
padding-right: 0; |
|
1082 |
padding-left: 0; } |
|
1083 |
.block-editor-block-preview__content .block-editor-block-list__layout.is-root-container > .wp-block[data-align="full"] { |
|
1084 |
margin-right: 0; |
|
1085 |
margin-left: 0; } |
|
1086 |
|
|
1087 |
.block-editor-block-settings-menu__popover .components-dropdown-menu__menu { |
|
1088 |
padding: 0; } |
9
|
1089 |
|
|
1090 |
.block-editor-block-styles { |
|
1091 |
display: flex; |
|
1092 |
flex-wrap: wrap; |
|
1093 |
justify-content: space-between; } |
|
1094 |
|
|
1095 |
.block-editor-block-styles__item { |
|
1096 |
width: calc(50% - 4px); |
|
1097 |
margin: 4px 0; |
|
1098 |
flex-shrink: 0; |
|
1099 |
cursor: pointer; |
|
1100 |
overflow: hidden; |
16
|
1101 |
border-radius: 2px; |
|
1102 |
padding: 6px; |
|
1103 |
display: flex; |
|
1104 |
flex-direction: column; } |
9
|
1105 |
.block-editor-block-styles__item:focus { |
16
|
1106 |
box-shadow: 0 0 0 1.5px #007cba; |
|
1107 |
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color); |
|
1108 |
outline: 2px solid transparent; } |
|
1109 |
.block-editor-block-styles__item:hover .block-editor-block-styles__item-preview { |
|
1110 |
border-color: #007cba; |
|
1111 |
border-color: var(--wp-admin-theme-color); } |
|
1112 |
.block-editor-block-styles__item.is-active .block-editor-block-styles__item-label { |
|
1113 |
font-weight: bold; } |
|
1114 |
.block-editor-block-styles__item.is-active .block-editor-block-styles__item-preview { |
|
1115 |
border: 2px solid #1e1e1e; } |
9
|
1116 |
|
|
1117 |
.block-editor-block-styles__item-preview { |
|
1118 |
outline: 1px solid transparent; |
|
1119 |
padding: 0; |
16
|
1120 |
border-radius: 2px; |
9
|
1121 |
display: flex; |
16
|
1122 |
overflow: hidden; |
|
1123 |
background: #fff; |
|
1124 |
align-items: center; |
|
1125 |
flex-grow: 1; |
|
1126 |
min-height: 80px; } |
|
1127 |
|
|
1128 |
.block-editor-block-switcher__styles__menugroup { |
|
1129 |
position: relative; } |
9
|
1130 |
|
|
1131 |
.block-editor-block-styles__item-label { |
|
1132 |
text-align: center; |
16
|
1133 |
padding: 4px 0; } |
9
|
1134 |
|
|
1135 |
.block-editor-block-switcher { |
16
|
1136 |
position: relative; } |
9
|
1137 |
|
16
|
1138 |
.block-editor-block-switcher__no-switcher-icon, |
|
1139 |
.block-editor-block-switcher__toggle { |
|
1140 |
position: relative; } |
|
1141 |
|
|
1142 |
.components-button.block-editor-block-switcher__toggle, |
|
1143 |
.components-button.block-editor-block-switcher__no-switcher-icon { |
9
|
1144 |
margin: 0; |
|
1145 |
display: block; |
16
|
1146 |
height: 48px; } |
|
1147 |
.components-button.block-editor-block-switcher__toggle .block-editor-block-icon, |
|
1148 |
.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon { |
|
1149 |
margin: auto; } |
9
|
1150 |
|
16
|
1151 |
.components-button.block-editor-block-switcher__no-switcher-icon { |
9
|
1152 |
width: 48px; } |
16
|
1153 |
.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-blocks-icon { |
9
|
1154 |
margin-left: auto; |
|
1155 |
margin-right: auto; } |
|
1156 |
|
|
1157 |
.components-button.block-editor-block-switcher__no-switcher-icon:disabled { |
16
|
1158 |
opacity: 1; } |
|
1159 |
.components-button.block-editor-block-switcher__no-switcher-icon:disabled, |
9
|
1160 |
.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors { |
16
|
1161 |
color: #1e1e1e !important; } |
9
|
1162 |
|
16
|
1163 |
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon, |
|
1164 |
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon, |
|
1165 |
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon, |
|
1166 |
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon { |
|
1167 |
padding: 0; } |
|
1168 |
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon, |
|
1169 |
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon, |
|
1170 |
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon, |
|
1171 |
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon { |
|
1172 |
height: 100%; |
9
|
1173 |
position: relative; |
|
1174 |
margin: 0 auto; |
|
1175 |
display: flex; |
16
|
1176 |
align-items: center; } |
|
1177 |
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon::before, |
|
1178 |
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon::before, |
|
1179 |
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon::before, |
|
1180 |
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon::before { |
|
1181 |
top: 8px; |
|
1182 |
left: 8px; |
|
1183 |
bottom: 8px; |
|
1184 |
right: 8px; } |
9
|
1185 |
|
16
|
1186 |
.components-popover.block-editor-block-switcher__popover .components-popover__content { |
|
1187 |
min-width: 300px; } |
9
|
1188 |
|
16
|
1189 |
.components-popover.block-editor-block-switcher__popover .components-popover__content > div { |
|
1190 |
min-width: auto; |
|
1191 |
display: flex; |
|
1192 |
background: #fff; |
|
1193 |
padding: 0; } |
|
1194 |
.components-popover.block-editor-block-switcher__popover .components-popover__content > div .components-menu-group { |
|
1195 |
padding: 16px; |
|
1196 |
margin: 0; } |
|
1197 |
|
|
1198 |
.block-editor-block-switcher__popover .components-popover__content .block-editor-block-styles { |
|
1199 |
margin: 0 -3px; } |
9
|
1200 |
|
|
1201 |
.block-editor-block-switcher__popover .components-popover__content .components-panel__body { |
|
1202 |
border: 0; |
|
1203 |
position: relative; |
|
1204 |
z-index: 1; } |
|
1205 |
|
|
1206 |
.block-editor-block-switcher__popover .components-popover__content .components-panel__body + .components-panel__body { |
16
|
1207 |
border-top: 1px solid #f0f0f0; } |
9
|
1208 |
|
16
|
1209 |
.block-editor-block-switcher__popover__preview__parent .block-editor-block-switcher__popover__preview__container { |
|
1210 |
position: absolute; |
|
1211 |
top: -12px; |
|
1212 |
right: calc(100% + 32px); } |
9
|
1213 |
|
16
|
1214 |
.block-editor-block-switcher__preview__popover { |
|
1215 |
display: none; } |
|
1216 |
.block-editor-block-switcher__preview__popover.components-popover { |
|
1217 |
margin-right: 4px; |
|
1218 |
margin-top: 11px; } |
|
1219 |
@media (min-width: 782px) { |
|
1220 |
.block-editor-block-switcher__preview__popover { |
|
1221 |
display: block; } } |
|
1222 |
.block-editor-block-switcher__preview__popover .components-popover__content { |
|
1223 |
box-shadow: none; |
|
1224 |
border: 1px solid #1e1e1e; |
|
1225 |
background: #fff; |
|
1226 |
border-radius: 2px; } |
|
1227 |
.block-editor-block-switcher__preview__popover .block-editor-block-switcher__preview { |
|
1228 |
width: 300px; |
|
1229 |
height: auto; |
|
1230 |
padding: 16px; } |
9
|
1231 |
|
16
|
1232 |
.block-editor-block-switcher__preview-title { |
|
1233 |
margin-bottom: 12px; |
|
1234 |
color: #757575; |
|
1235 |
text-transform: uppercase; |
|
1236 |
font-size: 11px; |
|
1237 |
font-weight: 500; } |
|
1238 |
|
|
1239 |
.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle, |
|
1240 |
.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon { |
|
1241 |
height: 48px; } |
|
1242 |
|
|
1243 |
.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon { |
|
1244 |
width: 48px; } |
|
1245 |
|
|
1246 |
.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon, |
|
1247 |
.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-switcher__transform, |
|
1248 |
.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-icon, |
|
1249 |
.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform { |
|
1250 |
width: 48px; |
|
1251 |
height: 48px; } |
|
1252 |
|
|
1253 |
.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-switcher__transform, |
|
1254 |
.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform { |
|
1255 |
padding: 12px; } |
9
|
1256 |
|
|
1257 |
.block-editor-block-types-list { |
|
1258 |
list-style: none; |
16
|
1259 |
padding: 4px; |
|
1260 |
margin-right: -4px; |
|
1261 |
margin-left: -4px; |
9
|
1262 |
overflow: hidden; |
|
1263 |
display: flex; |
|
1264 |
flex-wrap: wrap; } |
|
1265 |
|
16
|
1266 |
.block-editor-block-variation-picker .components-placeholder__instructions { |
|
1267 |
margin-bottom: 0; } |
|
1268 |
|
|
1269 |
.block-editor-block-variation-picker .components-placeholder__fieldset { |
|
1270 |
flex-direction: column; } |
|
1271 |
|
|
1272 |
.block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset { |
|
1273 |
max-width: 90%; } |
|
1274 |
|
|
1275 |
.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations { |
|
1276 |
display: flex; |
|
1277 |
justify-content: flex-start; |
|
1278 |
flex-direction: row; |
|
1279 |
flex-wrap: wrap; |
|
1280 |
width: 100%; |
|
1281 |
margin: 16px 0; |
|
1282 |
padding: 0; |
|
1283 |
list-style: none; } |
|
1284 |
.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations > li { |
|
1285 |
list-style: none; |
|
1286 |
margin: 8px 0 0 8px; |
|
1287 |
flex-shrink: 1; |
|
1288 |
max-width: 100px; } |
|
1289 |
.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations > li button { |
|
1290 |
display: flex; } |
|
1291 |
.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation { |
|
1292 |
padding: 8px; } |
|
1293 |
.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation-label { |
|
1294 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
1295 |
font-size: 12px; |
|
1296 |
display: block; |
|
1297 |
margin-left: 12px; |
|
1298 |
text-align: center; } |
|
1299 |
|
|
1300 |
.block-editor-block-variation-picker__variation { |
|
1301 |
width: 100%; } |
|
1302 |
.block-editor-block-variation-picker__variation.components-button.has-icon { |
|
1303 |
justify-content: center; |
|
1304 |
width: auto; } |
|
1305 |
.block-editor-block-variation-picker__variation.components-button.has-icon.is-secondary { |
|
1306 |
background-color: #fff; } |
|
1307 |
.block-editor-block-variation-picker__variation.components-button { |
|
1308 |
height: auto; |
|
1309 |
padding: 0; } |
|
1310 |
.block-editor-block-variation-picker__variation::before { |
|
1311 |
content: ""; |
|
1312 |
padding-bottom: 100%; } |
|
1313 |
.block-editor-block-variation-picker__variation:first-child { |
|
1314 |
margin-right: 0; } |
|
1315 |
.block-editor-block-variation-picker__variation:last-child { |
|
1316 |
margin-left: 0; } |
|
1317 |
|
|
1318 |
.block-editor-button-block-appender { |
|
1319 |
display: flex; |
|
1320 |
flex-direction: column; |
|
1321 |
align-items: center; |
|
1322 |
justify-content: center; |
|
1323 |
padding: 8px; |
|
1324 |
width: 100%; |
|
1325 |
height: auto; |
|
1326 |
color: #1e1e1e; |
|
1327 |
box-shadow: inset 0 0 0 1px #1e1e1e; } |
|
1328 |
.block-editor-button-block-appender:hover { |
|
1329 |
box-shadow: inset 0 0 0 1px #007cba; |
|
1330 |
box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color); } |
|
1331 |
.block-editor-button-block-appender:focus { |
|
1332 |
box-shadow: inset 0 0 0 2px #007cba; |
|
1333 |
box-shadow: inset 0 0 0 2px var(--wp-admin-theme-color); } |
|
1334 |
.block-editor-button-block-appender:active { |
|
1335 |
color: #000; } |
|
1336 |
.block-editor-button-block-appender.block-list-appender__toggle { |
|
1337 |
display: flex; |
|
1338 |
flex-direction: row; |
|
1339 |
color: #1e1e1e; |
|
1340 |
box-shadow: none; |
|
1341 |
height: 24px; |
|
1342 |
padding: 0; |
|
1343 |
margin-right: 8px; } |
|
1344 |
.block-editor-button-block-appender.block-list-appender__toggle:active { |
|
1345 |
color: #fff; } |
|
1346 |
.block-editor-button-block-appender.block-list-appender__toggle > svg { |
|
1347 |
width: 24px; |
|
1348 |
background-color: #1e1e1e; |
|
1349 |
color: #fff; |
|
1350 |
border-radius: 2px; } |
|
1351 |
|
|
1352 |
.block-editor-color-gradient-control__color-indicator { |
|
1353 |
margin-bottom: 8px; } |
|
1354 |
|
|
1355 |
.block-editor-color-gradient-control__button-tabs { |
|
1356 |
display: block; |
|
1357 |
margin-bottom: 8px; } |
|
1358 |
|
|
1359 |
.block-editor-panel-color-gradient-settings .component-color-indicator { |
|
1360 |
vertical-align: text-bottom; } |
|
1361 |
|
|
1362 |
.block-editor-panel-color-gradient-settings__panel-title .component-color-indicator { |
|
1363 |
display: inline-block; } |
|
1364 |
|
|
1365 |
.block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator { |
|
1366 |
display: none; } |
9
|
1367 |
|
|
1368 |
.block-editor-contrast-checker > .components-notice { |
|
1369 |
margin: 0; } |
|
1370 |
|
|
1371 |
.block-editor-default-block-appender { |
16
|
1372 |
clear: both; |
|
1373 |
margin-right: auto; |
|
1374 |
margin-left: auto; |
|
1375 |
position: relative; } |
|
1376 |
.block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover { |
|
1377 |
outline: 1px solid transparent; } |
9
|
1378 |
.block-editor-default-block-appender textarea.block-editor-default-block-appender__content { |
16
|
1379 |
font-family: inherit; |
|
1380 |
font-size: inherit; |
9
|
1381 |
border: none; |
|
1382 |
background: none; |
|
1383 |
box-shadow: none; |
|
1384 |
display: block; |
|
1385 |
cursor: text; |
|
1386 |
width: 100%; |
|
1387 |
outline: 1px solid transparent; |
|
1388 |
transition: 0.2s outline; |
|
1389 |
resize: none; |
16
|
1390 |
margin-top: 28px; |
|
1391 |
margin-bottom: 28px; |
|
1392 |
padding: 0 0 0 50px; |
|
1393 |
color: rgba(30, 30, 30, 0.62); } |
|
1394 |
@media (prefers-reduced-motion: reduce) { |
|
1395 |
.block-editor-default-block-appender textarea.block-editor-default-block-appender__content { |
|
1396 |
transition-duration: 0s; } } |
9
|
1397 |
.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content { |
|
1398 |
color: rgba(255, 255, 255, 0.65); } |
|
1399 |
.block-editor-default-block-appender .components-drop-zone__content-icon { |
|
1400 |
display: none; } |
|
1401 |
|
16
|
1402 |
.block-editor-default-block-appender__content { |
|
1403 |
line-height: 1.8; } |
|
1404 |
|
|
1405 |
.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter, |
|
1406 |
.block-editor-default-block-appender .block-editor-inserter { |
9
|
1407 |
position: absolute; |
16
|
1408 |
top: 0; |
|
1409 |
height: 32px; } |
|
1410 |
.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle, |
|
1411 |
.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle { |
9
|
1412 |
margin-left: 0; } |
|
1413 |
|
|
1414 |
.block-editor-block-list__empty-block-inserter, |
|
1415 |
.block-editor-default-block-appender .block-editor-inserter { |
|
1416 |
left: 8px; } |
|
1417 |
@media (min-width: 600px) { |
|
1418 |
.block-editor-block-list__empty-block-inserter, |
|
1419 |
.block-editor-default-block-appender .block-editor-inserter { |
16
|
1420 |
display: flex; |
|
1421 |
height: 100%; } } |
9
|
1422 |
.block-editor-block-list__empty-block-inserter:disabled, |
|
1423 |
.block-editor-default-block-appender .block-editor-inserter:disabled { |
|
1424 |
display: none; } |
16
|
1425 |
|
|
1426 |
@media (min-width: 600px) { |
|
1427 |
.block-editor-default-block-appender .block-editor-inserter { |
|
1428 |
align-items: center; } } |
|
1429 |
|
|
1430 |
.block-editor-link-control { |
|
1431 |
position: relative; |
|
1432 |
min-width: 360px; } |
|
1433 |
.components-popover__content .block-editor-link-control { |
|
1434 |
min-width: auto; |
|
1435 |
width: 90vw; |
|
1436 |
max-width: 360px; } |
|
1437 |
|
|
1438 |
.block-editor-link-control__search-input-wrapper { |
|
1439 |
position: relative; } |
9
|
1440 |
|
16
|
1441 |
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"] { |
|
1442 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
1443 |
padding: 6px 8px; |
|
1444 |
box-shadow: 0 0 0 transparent; |
|
1445 |
transition: box-shadow 0.1s linear; |
|
1446 |
border-radius: 2px; |
|
1447 |
border: 1px solid #757575; |
|
1448 |
/* Fonts smaller than 16px causes mobile safari to zoom. */ |
|
1449 |
font-size: 16px; |
|
1450 |
/* Override core line-height. To be reviewed. */ |
|
1451 |
line-height: normal; |
|
1452 |
width: calc(100% - 32px); |
|
1453 |
display: block; |
|
1454 |
padding: 11px 16px; |
|
1455 |
padding-left: 36px; |
|
1456 |
margin: 16px; |
|
1457 |
position: relative; |
|
1458 |
border: 1px solid #ddd; |
|
1459 |
border-radius: 2px; } |
|
1460 |
@media (prefers-reduced-motion: reduce) { |
|
1461 |
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"] { |
|
1462 |
transition-duration: 0s; } } |
9
|
1463 |
@media (min-width: 600px) { |
16
|
1464 |
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"] { |
|
1465 |
font-size: 13px; |
|
1466 |
/* Override core line-height. To be reviewed. */ |
|
1467 |
line-height: normal; } } |
|
1468 |
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]:focus { |
|
1469 |
border-color: #007cba; |
|
1470 |
border-color: var(--wp-admin-theme-color); |
|
1471 |
box-shadow: 0 0 0 0.5px #007cba; |
|
1472 |
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color); |
|
1473 |
outline: 2px solid transparent; } |
|
1474 |
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]::-webkit-input-placeholder { |
|
1475 |
color: rgba(30, 30, 30, 0.62); } |
|
1476 |
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]::-moz-placeholder { |
|
1477 |
opacity: 1; |
|
1478 |
color: rgba(30, 30, 30, 0.62); } |
|
1479 |
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]:-ms-input-placeholder { |
|
1480 |
color: rgba(30, 30, 30, 0.62); } |
|
1481 |
.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]::-webkit-input-placeholder { |
|
1482 |
color: rgba(255, 255, 255, 0.65); } |
|
1483 |
.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]::-moz-placeholder { |
|
1484 |
opacity: 1; |
|
1485 |
color: rgba(255, 255, 255, 0.65); } |
|
1486 |
.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]:-ms-input-placeholder { |
|
1487 |
color: rgba(255, 255, 255, 0.65); } |
|
1488 |
|
|
1489 |
.block-editor-link-control .block-editor-link-control__search-input .components-base-control__field { |
|
1490 |
margin-bottom: 0; } |
|
1491 |
|
|
1492 |
.block-editor-link-control__search-error { |
|
1493 |
margin: -8px 16px 16px; } |
9
|
1494 |
|
16
|
1495 |
.block-editor-link-control__search-actions { |
|
1496 |
position: absolute; |
|
1497 |
/* |
|
1498 |
* Actions must be positioned on top of URLInput, since the input will grow |
|
1499 |
* when suggestions are rendered. |
|
1500 |
* |
|
1501 |
* Compensate for: |
|
1502 |
* - Input margin ($grid-unit-20) |
|
1503 |
* - Border (1px) |
|
1504 |
* - Vertically, for the difference in height between the input (40px) and |
|
1505 |
* the icon buttons. |
|
1506 |
* - Horizontally, pad to the minimum of: default input padding, or the |
|
1507 |
* equivalent of the vertical padding. |
|
1508 |
*/ |
|
1509 |
top: 19px; |
|
1510 |
left: 19px; } |
|
1511 |
|
|
1512 |
.block-editor-link-control__search-results-wrapper { |
|
1513 |
position: relative; |
|
1514 |
margin-top: -15px; } |
|
1515 |
.block-editor-link-control__search-results-wrapper::before, .block-editor-link-control__search-results-wrapper::after { |
|
1516 |
content: ""; |
|
1517 |
position: absolute; |
|
1518 |
right: -1px; |
|
1519 |
left: 16px; |
|
1520 |
display: block; |
|
1521 |
pointer-events: none; |
|
1522 |
z-index: 100; } |
|
1523 |
.block-editor-link-control__search-results-wrapper::before { |
|
1524 |
height: 8px; |
|
1525 |
top: 0; |
|
1526 |
bottom: auto; |
|
1527 |
background: linear-gradient(to bottom, white 0%, rgba(255, 255, 255, 0) 100%); } |
|
1528 |
.block-editor-link-control__search-results-wrapper::after { |
|
1529 |
height: 16px; |
|
1530 |
bottom: 0; |
|
1531 |
top: auto; |
|
1532 |
background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, white 100%); } |
|
1533 |
|
|
1534 |
.block-editor-link-control__search-results-label { |
|
1535 |
padding: 15px 30px 0 30px; |
|
1536 |
display: block; |
|
1537 |
font-size: 1.1em; } |
9
|
1538 |
|
16
|
1539 |
.block-editor-link-control__search-results { |
|
1540 |
margin: 0; |
|
1541 |
padding: 8px 16px 8px; |
|
1542 |
max-height: 200px; |
|
1543 |
overflow-y: auto; } |
|
1544 |
.block-editor-link-control__search-results.is-loading { |
|
1545 |
opacity: 0.2; } |
9
|
1546 |
|
16
|
1547 |
.block-editor-link-control__search-item { |
|
1548 |
position: relative; |
|
1549 |
display: flex; |
|
1550 |
align-items: center; |
|
1551 |
font-size: 13px; |
|
1552 |
cursor: pointer; |
|
1553 |
background: #fff; |
|
1554 |
width: 100%; |
|
1555 |
border: none; |
|
1556 |
text-align: right; |
|
1557 |
padding: 10px 15px; |
|
1558 |
border-radius: 5px; |
|
1559 |
height: auto; } |
|
1560 |
.block-editor-link-control__search-item:hover, .block-editor-link-control__search-item:focus { |
|
1561 |
background-color: #ddd; } |
|
1562 |
.block-editor-link-control__search-item:focus:not(:disabled) { |
|
1563 |
box-shadow: 0 0 0 1.5px #007cba inset; |
|
1564 |
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color) inset; } |
|
1565 |
.block-editor-link-control__search-item.is-selected { |
|
1566 |
background: #f0f0f0; } |
|
1567 |
.block-editor-link-control__search-item.is-selected .block-editor-link-control__search-item-type { |
|
1568 |
background: #fff; } |
|
1569 |
.block-editor-link-control__search-item.is-current { |
|
1570 |
background: transparent; |
|
1571 |
border: 0; |
|
1572 |
width: 100%; |
|
1573 |
cursor: default; |
|
1574 |
padding: 16px; |
|
1575 |
padding-right: 24px; } |
|
1576 |
.block-editor-link-control__search-item .block-editor-link-control__search-item-header { |
|
1577 |
display: block; |
|
1578 |
margin-left: 24px; |
|
1579 |
overflow: hidden; |
|
1580 |
white-space: nowrap; } |
|
1581 |
.block-editor-link-control__search-item .block-editor-link-control__search-item-icon { |
|
1582 |
margin-left: 1em; |
|
1583 |
min-width: 24px; } |
|
1584 |
.block-editor-link-control__search-item .block-editor-link-control__search-item-info, |
|
1585 |
.block-editor-link-control__search-item .block-editor-link-control__search-item-title { |
|
1586 |
max-width: 230px; |
|
1587 |
overflow: hidden; |
|
1588 |
text-overflow: ellipsis; } |
|
1589 |
.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark { |
|
1590 |
color: #1e1e1e; } |
|
1591 |
.block-editor-link-control__search-item .block-editor-link-control__search-item-title { |
|
1592 |
display: block; |
|
1593 |
margin-bottom: 0.2em; |
|
1594 |
font-weight: 500; } |
|
1595 |
.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark { |
|
1596 |
font-weight: 700; |
|
1597 |
color: #000; |
|
1598 |
background-color: transparent; } |
|
1599 |
.block-editor-link-control__search-item .block-editor-link-control__search-item-title span { |
|
1600 |
font-weight: normal; } |
|
1601 |
.block-editor-link-control__search-item .block-editor-link-control__search-item-info { |
|
1602 |
display: block; |
|
1603 |
color: #6c7781; |
|
1604 |
font-size: 0.9em; |
|
1605 |
line-height: 1.3; } |
|
1606 |
.block-editor-link-control__search-item .block-editor-link-control__search-item-type { |
|
1607 |
display: block; |
|
1608 |
padding: 3px 8px; |
|
1609 |
margin-right: auto; |
|
1610 |
font-size: 0.9em; |
|
1611 |
background-color: #f0f0f0; |
|
1612 |
border-radius: 2px; } |
|
1613 |
|
|
1614 |
.block-editor-link-control__loading { |
|
1615 |
margin: 16px; |
9
|
1616 |
display: flex; |
|
1617 |
align-items: center; } |
16
|
1618 |
.block-editor-link-control__loading .components-spinner { |
|
1619 |
margin-top: 0; } |
9
|
1620 |
|
16
|
1621 |
.components-button + .block-editor-link-control__search-create { |
|
1622 |
margin-top: 20px; |
|
1623 |
overflow: visible; |
|
1624 |
padding: 12px 15px; } |
|
1625 |
.components-button + .block-editor-link-control__search-create::before { |
|
1626 |
content: ""; |
|
1627 |
position: absolute; |
|
1628 |
top: -10px; |
|
1629 |
right: 0; |
|
1630 |
display: block; |
|
1631 |
width: 100%; |
|
1632 |
border-top: 1px solid #ddd; } |
9
|
1633 |
|
16
|
1634 |
.block-editor-link-control__search-results div[role="menu"] > .block-editor-link-control__search-item.block-editor-link-control__search-item { |
|
1635 |
padding: 10px; } |
|
1636 |
|
|
1637 |
.block-editor-link-control__settings { |
|
1638 |
border-top: 1px solid #ddd; |
|
1639 |
margin: 0; |
|
1640 |
padding: 16px 24px; } |
|
1641 |
.block-editor-link-control__settings :last-child { |
|
1642 |
margin-bottom: 0; } |
|
1643 |
|
|
1644 |
.block-editor-link-control__setting { |
|
1645 |
margin-bottom: 16px; } |
|
1646 |
.block-editor-link-control__setting :last-child { |
|
1647 |
margin-bottom: 0; } |
9
|
1648 |
|
16
|
1649 |
.block-editor-link-control .block-editor-link-control__search-input .components-spinner { |
|
1650 |
display: block; } |
|
1651 |
.block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner { |
|
1652 |
position: absolute; |
|
1653 |
right: auto; |
|
1654 |
bottom: auto; |
|
1655 |
/* |
|
1656 |
* Position spinner to the left of the actions. |
|
1657 |
* |
|
1658 |
* Compensate for: |
|
1659 |
* - Input margin ($grid-unit-20) |
|
1660 |
* - Border (1px) |
|
1661 |
* - Vertically, for the difference in height between the input (40px) |
|
1662 |
* and the spinner. |
|
1663 |
* - Horizontally, adjust for the width occupied by the icon buttons, |
|
1664 |
* then artificially create spacing that mimics as if the spinner |
|
1665 |
* were center-padded to the same width as an icon button. |
|
1666 |
*/ |
|
1667 |
top: 28px; |
|
1668 |
left: 62px; } |
9
|
1669 |
|
16
|
1670 |
.block-editor-link-control__search-item-action { |
|
1671 |
margin-right: auto; |
|
1672 |
flex-shrink: 0; } |
9
|
1673 |
|
16
|
1674 |
.block-editor-line-height-control { |
|
1675 |
margin-bottom: 24px; } |
|
1676 |
.block-editor-line-height-control input { |
|
1677 |
display: block; |
|
1678 |
max-width: 60px; } |
9
|
1679 |
|
16
|
1680 |
.block-editor-image-size-control { |
|
1681 |
margin-bottom: 1em; } |
|
1682 |
.block-editor-image-size-control .block-editor-image-size-control__row { |
|
1683 |
display: flex; |
|
1684 |
justify-content: space-between; } |
|
1685 |
.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width, |
|
1686 |
.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height { |
|
1687 |
margin-bottom: 0.5em; } |
|
1688 |
.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width input, |
|
1689 |
.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height input { |
|
1690 |
line-height: 1.25; } |
|
1691 |
.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width { |
|
1692 |
margin-left: 5px; } |
|
1693 |
.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height { |
|
1694 |
margin-right: 5px; } |
9
|
1695 |
|
16
|
1696 |
.block-editor-block-list__layout.has-overlay::after { |
|
1697 |
content: ""; |
|
1698 |
position: absolute; |
|
1699 |
top: -14px; |
|
1700 |
left: -14px; |
|
1701 |
bottom: -14px; |
|
1702 |
right: -14px; |
|
1703 |
z-index: 60; } |
9
|
1704 |
|
16
|
1705 |
[data-align="full"] .has-overlay::after { |
|
1706 |
left: 0; |
|
1707 |
right: 0; } |
9
|
1708 |
|
|
1709 |
.block-editor-block-types-list__list-item { |
|
1710 |
display: block; |
|
1711 |
width: 33.33%; |
16
|
1712 |
padding: 0; |
|
1713 |
margin: 0; } |
9
|
1714 |
|
16
|
1715 |
.components-button.block-editor-block-types-list__item { |
9
|
1716 |
display: flex; |
|
1717 |
flex-direction: column; |
|
1718 |
width: 100%; |
|
1719 |
font-size: 13px; |
|
1720 |
color: #32373c; |
16
|
1721 |
padding: 8px; |
9
|
1722 |
align-items: stretch; |
|
1723 |
justify-content: center; |
|
1724 |
cursor: pointer; |
|
1725 |
background: transparent; |
|
1726 |
word-break: break-word; |
16
|
1727 |
border-radius: 2px; |
9
|
1728 |
border: 1px solid transparent; |
|
1729 |
transition: all 0.05s ease-in-out; |
16
|
1730 |
position: relative; |
|
1731 |
height: auto; } |
|
1732 |
@media (prefers-reduced-motion: reduce) { |
|
1733 |
.components-button.block-editor-block-types-list__item { |
|
1734 |
transition-duration: 0s; } } |
|
1735 |
.components-button.block-editor-block-types-list__item:disabled { |
9
|
1736 |
opacity: 0.6; |
|
1737 |
cursor: default; } |
16
|
1738 |
.components-button.block-editor-block-types-list__item:not(:disabled):hover { |
|
1739 |
border-color: #007cba; |
|
1740 |
border-color: var(--wp-admin-theme-color); |
|
1741 |
color: #007cba !important; |
|
1742 |
color: var(--wp-admin-theme-color) !important; } |
|
1743 |
.components-button.block-editor-block-types-list__item:not(:disabled).is-active { |
|
1744 |
color: #fff; |
|
1745 |
background: #1e1e1e; |
9
|
1746 |
outline: 2px solid transparent; |
|
1747 |
outline-offset: -2px; } |
|
1748 |
|
|
1749 |
.block-editor-block-types-list__item-icon { |
|
1750 |
padding: 12px 20px; |
16
|
1751 |
border-radius: 2px; |
|
1752 |
color: #1e1e1e; |
9
|
1753 |
transition: all 0.05s ease-in-out; } |
16
|
1754 |
@media (prefers-reduced-motion: reduce) { |
|
1755 |
.block-editor-block-types-list__item-icon { |
|
1756 |
transition-duration: 0s; } } |
9
|
1757 |
.block-editor-block-types-list__item-icon .block-editor-block-icon { |
|
1758 |
margin-right: auto; |
|
1759 |
margin-left: auto; } |
|
1760 |
.block-editor-block-types-list__item-icon svg { |
|
1761 |
transition: all 0.15s ease-out; } |
16
|
1762 |
@media (prefers-reduced-motion: reduce) { |
|
1763 |
.block-editor-block-types-list__item-icon svg { |
|
1764 |
transition-duration: 0s; } } |
9
|
1765 |
|
|
1766 |
.block-editor-block-types-list__item-title { |
16
|
1767 |
padding: 4px 2px 8px; |
|
1768 |
font-size: 12px; } |
|
1769 |
|
|
1770 |
.modal-open .block-editor-media-replace-flow__options { |
|
1771 |
display: none; } |
|
1772 |
|
|
1773 |
.block-editor-media-replace-flow__options .components-popover__content > div { |
|
1774 |
padding-top: 16px; } |
9
|
1775 |
|
16
|
1776 |
.block-editor-media-replace-flow__indicator { |
|
1777 |
margin-right: 4px; } |
|
1778 |
|
|
1779 |
.block-editor-media-replace-flow__media-upload-menu { |
|
1780 |
margin-bottom: 16px; } |
|
1781 |
|
|
1782 |
.block-editor-media-flow__url-input .block-editor-media-replace-flow__image-url-label { |
|
1783 |
top: 16px; } |
9
|
1784 |
|
16
|
1785 |
.block-editor-media-flow__url-input .block-editor-link-control { |
|
1786 |
margin-top: -16px; |
|
1787 |
width: auto; } |
|
1788 |
.block-editor-media-flow__url-input .block-editor-link-control .components-base-control .components-base-control__field { |
|
1789 |
margin-bottom: 0; } |
|
1790 |
.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item-title { |
|
1791 |
max-width: 180px; |
|
1792 |
margin-top: 16px; } |
|
1793 |
.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item.is-current { |
|
1794 |
width: auto; |
|
1795 |
padding: 0; } |
|
1796 |
.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"] { |
|
1797 |
margin: 16px 0 0 0; |
|
1798 |
width: 100%; } |
|
1799 |
.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-actions { |
|
1800 |
left: 4px; } |
9
|
1801 |
|
16
|
1802 |
.block-editor-media-flow__error { |
|
1803 |
padding: 0 20px 20px 20px; |
|
1804 |
max-width: 255px; } |
|
1805 |
.block-editor-media-flow__error .components-with-notices-ui { |
|
1806 |
max-width: 255px; } |
|
1807 |
.block-editor-media-flow__error .components-with-notices-ui .components-notice__content { |
|
1808 |
overflow: hidden; |
|
1809 |
word-wrap: break-word; } |
|
1810 |
.block-editor-media-flow__error .components-with-notices-ui .components-notice__dismiss { |
|
1811 |
position: absolute; |
|
1812 |
left: 10px; } |
|
1813 |
|
|
1814 |
.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button { |
|
1815 |
margin-bottom: 0; } |
9
|
1816 |
|
|
1817 |
.block-editor-media-placeholder__url-input-form { |
|
1818 |
display: flex; } |
|
1819 |
.block-editor-media-placeholder__url-input-form input[type="url"].block-editor-media-placeholder__url-input-field { |
|
1820 |
width: 100%; |
|
1821 |
flex-grow: 1; |
|
1822 |
border: none; |
|
1823 |
border-radius: 0; |
|
1824 |
margin: 2px; } |
|
1825 |
@media (min-width: 600px) { |
|
1826 |
.block-editor-media-placeholder__url-input-form input[type="url"].block-editor-media-placeholder__url-input-field { |
|
1827 |
width: 300px; } } |
|
1828 |
|
|
1829 |
.block-editor-media-placeholder__url-input-submit-button { |
|
1830 |
flex-shrink: 1; } |
|
1831 |
|
|
1832 |
.block-editor-media-placeholder__button { |
|
1833 |
margin-bottom: 0.5rem; } |
16
|
1834 |
|
|
1835 |
.block-editor-media-placeholder__cancel-button.is-link { |
|
1836 |
margin: 1em; |
|
1837 |
display: block; } |
9
|
1838 |
|
16
|
1839 |
.block-editor-media-placeholder.is-appender { |
|
1840 |
min-height: 0; } |
|
1841 |
.block-editor-media-placeholder.is-appender:hover { |
|
1842 |
cursor: pointer; |
|
1843 |
box-shadow: 0 0 0 1px #007cba; |
|
1844 |
box-shadow: 0 0 0 1px var(--wp-admin-theme-color); } |
9
|
1845 |
|
|
1846 |
.block-editor-multi-selection-inspector__card { |
|
1847 |
display: flex; |
|
1848 |
align-items: flex-start; |
|
1849 |
padding: 16px; } |
|
1850 |
|
|
1851 |
.block-editor-multi-selection-inspector__card-content { |
|
1852 |
flex-grow: 1; } |
|
1853 |
|
|
1854 |
.block-editor-multi-selection-inspector__card-title { |
|
1855 |
font-weight: 500; |
|
1856 |
margin-bottom: 5px; } |
|
1857 |
|
|
1858 |
.block-editor-multi-selection-inspector__card-description { |
|
1859 |
font-size: 13px; } |
|
1860 |
|
|
1861 |
.block-editor-multi-selection-inspector__card .block-editor-block-icon { |
|
1862 |
margin-right: -2px; |
|
1863 |
margin-left: 10px; |
|
1864 |
padding: 0 3px; |
|
1865 |
width: 36px; |
|
1866 |
height: 24px; } |
|
1867 |
|
|
1868 |
.block-editor .block-editor-plain-text { |
|
1869 |
box-shadow: none; |
|
1870 |
font-family: inherit; |
|
1871 |
font-size: inherit; |
|
1872 |
color: inherit; |
|
1873 |
line-height: inherit; |
|
1874 |
border: none; |
|
1875 |
padding: 0; |
|
1876 |
margin: 0; |
|
1877 |
width: 100%; } |
|
1878 |
|
16
|
1879 |
.block-editor-responsive-block-control { |
|
1880 |
margin-bottom: 28px; |
|
1881 |
border-bottom: 1px solid #d7dade; |
|
1882 |
padding-bottom: 14px; } |
|
1883 |
.block-editor-responsive-block-control:last-child { |
|
1884 |
padding-bottom: 0; |
|
1885 |
border-bottom: 0; } |
9
|
1886 |
|
16
|
1887 |
.block-editor-responsive-block-control__title { |
|
1888 |
margin: 0; |
|
1889 |
margin-bottom: 0.6em; |
|
1890 |
margin-right: -3px; } |
9
|
1891 |
|
16
|
1892 |
.block-editor-responsive-block-control__label { |
|
1893 |
font-weight: 600; |
|
1894 |
margin-bottom: 0.6em; |
|
1895 |
margin-right: -3px; } |
|
1896 |
|
|
1897 |
.block-editor-responsive-block-control__inner { |
|
1898 |
margin-right: -1px; } |
|
1899 |
|
|
1900 |
.block-editor-responsive-block-control__toggle { |
|
1901 |
margin-right: 1px; } |
9
|
1902 |
|
16
|
1903 |
.block-editor-responsive-block-control .components-base-control__help { |
|
1904 |
border: 0; |
|
1905 |
clip: rect(1px, 1px, 1px, 1px); |
|
1906 |
-webkit-clip-path: inset(50%); |
|
1907 |
clip-path: inset(50%); |
|
1908 |
height: 1px; |
|
1909 |
margin: -1px; |
|
1910 |
overflow: hidden; |
|
1911 |
padding: 0; |
|
1912 |
position: absolute; |
|
1913 |
width: 1px; |
|
1914 |
word-wrap: normal !important; } |
|
1915 |
|
|
1916 |
.block-editor-format-toolbar .components-dropdown-menu__toggle { |
|
1917 |
justify-content: center; } |
|
1918 |
|
|
1919 |
.block-editor-rich-text__editable > p:first-child { |
|
1920 |
margin-top: 0; } |
|
1921 |
|
|
1922 |
.block-editor-rich-text__editable [data-rich-text-placeholder] { |
|
1923 |
pointer-events: none; } |
9
|
1924 |
|
16
|
1925 |
.block-editor-rich-text__editable [data-rich-text-placeholder]::after { |
|
1926 |
content: attr(data-rich-text-placeholder); |
|
1927 |
opacity: 0.62; } |
|
1928 |
|
|
1929 |
.block-editor-rich-text__editable:focus { |
|
1930 |
outline: none; } |
|
1931 |
.block-editor-rich-text__editable:focus [data-rich-text-format-boundary] { |
|
1932 |
border-radius: 2px; } |
|
1933 |
.block-editor-rich-text__editable:focus:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]::after { |
|
1934 |
display: none; } |
|
1935 |
|
|
1936 |
figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before { |
|
1937 |
opacity: 0.8; } |
|
1938 |
|
|
1939 |
.components-popover.block-editor-rich-text__inline-format-toolbar { |
|
1940 |
z-index: 99998; } |
|
1941 |
.components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content { |
|
1942 |
width: auto; |
|
1943 |
min-width: auto; |
|
1944 |
margin-bottom: 8px; |
|
1945 |
box-shadow: none; |
|
1946 |
border: 1px solid #1e1e1e; |
9
|
1947 |
border-radius: 2px; |
16
|
1948 |
background-color: #fff; } |
|
1949 |
.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar-group, |
|
1950 |
.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar { |
|
1951 |
border: none; } |
|
1952 |
.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar__control, |
|
1953 |
.components-popover.block-editor-rich-text__inline-format-toolbar .components-dropdown-menu__toggle { |
|
1954 |
min-width: 48px; |
|
1955 |
min-height: 48px; |
|
1956 |
padding-right: 12px; |
|
1957 |
padding-left: 12px; } |
9
|
1958 |
|
|
1959 |
.block-editor-skip-to-selected-block { |
|
1960 |
position: absolute; |
|
1961 |
top: -9999em; } |
|
1962 |
.block-editor-skip-to-selected-block:focus { |
|
1963 |
height: auto; |
|
1964 |
width: auto; |
|
1965 |
display: block; |
|
1966 |
font-size: 14px; |
|
1967 |
font-weight: 600; |
|
1968 |
padding: 15px 23px 14px; |
|
1969 |
background: #f1f1f1; |
16
|
1970 |
color: #007cba; |
|
1971 |
color: var(--wp-admin-theme-color); |
9
|
1972 |
line-height: normal; |
|
1973 |
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); |
|
1974 |
text-decoration: none; |
|
1975 |
outline: none; |
|
1976 |
z-index: 100000; } |
16
|
1977 |
|
|
1978 |
.block-editor-tool-selector__help { |
|
1979 |
margin-top: 8px; |
|
1980 |
margin-right: -12px; |
|
1981 |
margin-left: -12px; |
|
1982 |
margin-bottom: -12px; |
|
1983 |
padding: 12px 20px; |
|
1984 |
border-top: 1px solid #ddd; |
|
1985 |
color: #6c7781; } |
9
|
1986 |
|
|
1987 |
.block-editor-block-list__block .block-editor-url-input, |
|
1988 |
.components-popover .block-editor-url-input, |
|
1989 |
.block-editor-url-input { |
|
1990 |
flex-grow: 1; |
|
1991 |
position: relative; |
|
1992 |
padding: 1px; } |
|
1993 |
.block-editor-block-list__block .block-editor-url-input input[type="text"], |
|
1994 |
.components-popover .block-editor-url-input input[type="text"], |
|
1995 |
.block-editor-url-input input[type="text"] { |
|
1996 |
width: 100%; |
|
1997 |
padding: 8px; |
|
1998 |
border: none; |
|
1999 |
border-radius: 0; |
|
2000 |
margin-right: 0; |
|
2001 |
margin-left: 0; |
|
2002 |
/* Fonts smaller than 16px causes mobile safari to zoom. */ |
|
2003 |
font-size: 16px; } |
|
2004 |
@media (min-width: 600px) { |
|
2005 |
.block-editor-block-list__block .block-editor-url-input input[type="text"], |
|
2006 |
.components-popover .block-editor-url-input input[type="text"], |
|
2007 |
.block-editor-url-input input[type="text"] { |
|
2008 |
width: 300px; } } |
|
2009 |
@media (min-width: 600px) { |
|
2010 |
.block-editor-block-list__block .block-editor-url-input input[type="text"], |
|
2011 |
.components-popover .block-editor-url-input input[type="text"], |
|
2012 |
.block-editor-url-input input[type="text"] { |
|
2013 |
font-size: 13px; } } |
|
2014 |
.block-editor-block-list__block .block-editor-url-input input[type="text"]::-ms-clear, |
|
2015 |
.components-popover .block-editor-url-input input[type="text"]::-ms-clear, |
|
2016 |
.block-editor-url-input input[type="text"]::-ms-clear { |
|
2017 |
display: none; } |
16
|
2018 |
.block-editor-block-list__block .block-editor-url-input.is-full-width, |
|
2019 |
.components-popover .block-editor-url-input.is-full-width, |
|
2020 |
.block-editor-url-input.is-full-width { |
|
2021 |
width: 100%; } |
|
2022 |
.block-editor-block-list__block .block-editor-url-input.is-full-width .block-editor-url-input__input[type="text"], |
|
2023 |
.components-popover .block-editor-url-input.is-full-width .block-editor-url-input__input[type="text"], |
|
2024 |
.block-editor-url-input.is-full-width .block-editor-url-input__input[type="text"] { |
|
2025 |
width: 100%; } |
|
2026 |
.block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions, |
|
2027 |
.components-popover .block-editor-url-input.is-full-width__suggestions, |
|
2028 |
.block-editor-url-input.is-full-width__suggestions { |
|
2029 |
width: 100%; } |
9
|
2030 |
.block-editor-block-list__block .block-editor-url-input .components-spinner, |
|
2031 |
.components-popover .block-editor-url-input .components-spinner, |
|
2032 |
.block-editor-url-input .components-spinner { |
|
2033 |
position: absolute; |
|
2034 |
left: 8px; |
16
|
2035 |
bottom: 17px; |
9
|
2036 |
margin: 0; } |
|
2037 |
|
16
|
2038 |
.block-editor-url-input__input[type="text"] { |
|
2039 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
2040 |
padding: 6px 8px; |
|
2041 |
box-shadow: 0 0 0 transparent; |
|
2042 |
transition: box-shadow 0.1s linear; |
|
2043 |
border-radius: 2px; |
|
2044 |
border: 1px solid #757575; |
|
2045 |
/* Fonts smaller than 16px causes mobile safari to zoom. */ |
|
2046 |
font-size: 16px; |
|
2047 |
/* Override core line-height. To be reviewed. */ |
|
2048 |
line-height: normal; } |
|
2049 |
@media (prefers-reduced-motion: reduce) { |
|
2050 |
.block-editor-url-input__input[type="text"] { |
|
2051 |
transition-duration: 0s; } } |
|
2052 |
@media (min-width: 600px) { |
|
2053 |
.block-editor-url-input__input[type="text"] { |
|
2054 |
font-size: 13px; |
|
2055 |
/* Override core line-height. To be reviewed. */ |
|
2056 |
line-height: normal; } } |
|
2057 |
.block-editor-url-input__input[type="text"]:focus { |
|
2058 |
border-color: #007cba; |
|
2059 |
border-color: var(--wp-admin-theme-color); |
|
2060 |
box-shadow: 0 0 0 0.5px #007cba; |
|
2061 |
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color); |
|
2062 |
outline: 2px solid transparent; } |
|
2063 |
.block-editor-url-input__input[type="text"]::-webkit-input-placeholder { |
|
2064 |
color: rgba(30, 30, 30, 0.62); } |
|
2065 |
.block-editor-url-input__input[type="text"]::-moz-placeholder { |
|
2066 |
opacity: 1; |
|
2067 |
color: rgba(30, 30, 30, 0.62); } |
|
2068 |
.block-editor-url-input__input[type="text"]:-ms-input-placeholder { |
|
2069 |
color: rgba(30, 30, 30, 0.62); } |
|
2070 |
.is-dark-theme .block-editor-url-input__input[type="text"]::-webkit-input-placeholder { |
|
2071 |
color: rgba(255, 255, 255, 0.65); } |
|
2072 |
.is-dark-theme .block-editor-url-input__input[type="text"]::-moz-placeholder { |
|
2073 |
opacity: 1; |
|
2074 |
color: rgba(255, 255, 255, 0.65); } |
|
2075 |
.is-dark-theme .block-editor-url-input__input[type="text"]:-ms-input-placeholder { |
|
2076 |
color: rgba(255, 255, 255, 0.65); } |
|
2077 |
|
9
|
2078 |
.block-editor-url-input__suggestions { |
|
2079 |
max-height: 200px; |
|
2080 |
transition: all 0.15s ease-in-out; |
|
2081 |
padding: 4px 0; |
|
2082 |
width: 302px; |
|
2083 |
overflow-y: auto; } |
16
|
2084 |
@media (prefers-reduced-motion: reduce) { |
|
2085 |
.block-editor-url-input__suggestions { |
|
2086 |
transition-duration: 0s; } } |
9
|
2087 |
|
|
2088 |
.block-editor-url-input__suggestions, |
|
2089 |
.block-editor-url-input .components-spinner { |
|
2090 |
display: none; } |
|
2091 |
@media (min-width: 600px) { |
|
2092 |
.block-editor-url-input__suggestions, |
|
2093 |
.block-editor-url-input .components-spinner { |
|
2094 |
display: inherit; } } |
|
2095 |
|
|
2096 |
.block-editor-url-input__suggestion { |
|
2097 |
padding: 4px 8px; |
|
2098 |
color: #6c7781; |
|
2099 |
display: block; |
|
2100 |
font-size: 13px; |
|
2101 |
cursor: pointer; |
|
2102 |
background: #fff; |
|
2103 |
width: 100%; |
|
2104 |
border: none; |
|
2105 |
text-align: right; |
|
2106 |
box-shadow: none; } |
|
2107 |
.block-editor-url-input__suggestion:hover { |
16
|
2108 |
background: #ddd; } |
9
|
2109 |
.block-editor-url-input__suggestion:focus, .block-editor-url-input__suggestion.is-selected { |
16
|
2110 |
background: #005a87; |
|
2111 |
background: var(--wp-admin-theme-color-darker-20); |
9
|
2112 |
color: #fff; |
|
2113 |
outline: none; } |
|
2114 |
|
16
|
2115 |
.components-toolbar-group > .block-editor-url-input__button, |
9
|
2116 |
.components-toolbar > .block-editor-url-input__button { |
|
2117 |
position: inherit; } |
|
2118 |
|
|
2119 |
.block-editor-url-input__button .block-editor-url-input__back { |
|
2120 |
margin-left: 4px; |
|
2121 |
overflow: visible; } |
|
2122 |
.block-editor-url-input__button .block-editor-url-input__back::after { |
|
2123 |
content: ""; |
|
2124 |
position: absolute; |
|
2125 |
display: block; |
|
2126 |
width: 1px; |
|
2127 |
height: 24px; |
|
2128 |
left: -1px; |
16
|
2129 |
background: #ddd; } |
9
|
2130 |
|
|
2131 |
.block-editor-url-input__button-modal { |
16
|
2132 |
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); |
|
2133 |
border: 1px solid #ddd; |
9
|
2134 |
background: #fff; } |
|
2135 |
|
|
2136 |
.block-editor-url-input__button-modal-line { |
|
2137 |
display: flex; |
|
2138 |
flex-direction: row; |
|
2139 |
flex-grow: 1; |
|
2140 |
flex-shrink: 1; |
|
2141 |
min-width: 0; |
|
2142 |
align-items: flex-start; } |
|
2143 |
.block-editor-url-input__button-modal-line .components-button { |
|
2144 |
flex-shrink: 0; |
|
2145 |
width: 36px; |
|
2146 |
height: 36px; } |
|
2147 |
|
16
|
2148 |
.block-editor-url-popover__additional-controls { |
|
2149 |
border-top: 1px solid #ddd; } |
|
2150 |
|
|
2151 |
.block-editor-url-popover__additional-controls > div[role="menu"] .components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary) > svg { |
|
2152 |
box-shadow: none; } |
|
2153 |
|
|
2154 |
.block-editor-url-popover__additional-controls div[role="menu"] > .components-button { |
|
2155 |
padding-right: 2px; } |
|
2156 |
|
9
|
2157 |
.block-editor-url-popover__row { |
|
2158 |
display: flex; } |
|
2159 |
|
|
2160 |
.block-editor-url-popover__row > :not(.block-editor-url-popover__settings-toggle) { |
|
2161 |
flex-grow: 1; } |
|
2162 |
|
16
|
2163 |
.block-editor-url-popover .components-button.has-icon { |
9
|
2164 |
padding: 3px; } |
16
|
2165 |
.block-editor-url-popover .components-button.has-icon > svg { |
9
|
2166 |
padding: 5px; |
16
|
2167 |
border-radius: 2px; |
9
|
2168 |
height: 30px; |
|
2169 |
width: 30px; } |
16
|
2170 |
.block-editor-url-popover .components-button.has-icon:not(:disabled):focus { |
9
|
2171 |
box-shadow: none; } |
16
|
2172 |
.block-editor-url-popover .components-button.has-icon:not(:disabled):focus > svg { |
|
2173 |
box-shadow: inset 0 0 0 1.5px #007cba, inset 0 0 0 4px #fff; |
|
2174 |
box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color), inset 0 0 0 4px #fff; |
|
2175 |
outline: 2px solid transparent; } |
9
|
2176 |
|
|
2177 |
.block-editor-url-popover__settings-toggle { |
|
2178 |
flex-shrink: 0; |
|
2179 |
border-radius: 0; |
16
|
2180 |
border-right: 1px solid #ddd; |
9
|
2181 |
margin-right: 1px; } |
|
2182 |
.block-editor-url-popover__settings-toggle[aria-expanded="true"] .dashicon { |
|
2183 |
transform: rotate(-180deg); } |
|
2184 |
|
16
|
2185 |
.block-editor-url-popover__input-container .components-base-control:last-child, |
|
2186 |
.block-editor-url-popover__input-container .components-base-control:last-child .components-base-control__field { |
|
2187 |
margin-bottom: 0; } |
|
2188 |
|
9
|
2189 |
.block-editor-url-popover__settings { |
16
|
2190 |
display: block; |
9
|
2191 |
padding: 16px; |
16
|
2192 |
border-top: 1px solid #ddd; } |
|
2193 |
|
|
2194 |
.block-editor-url-popover__link-editor, |
|
2195 |
.block-editor-url-popover__link-viewer { |
|
2196 |
display: flex; } |
|
2197 |
.block-editor-url-popover__link-editor .block-editor-url-input .components-base-control__field, |
|
2198 |
.block-editor-url-popover__link-viewer .block-editor-url-input .components-base-control__field { |
9
|
2199 |
margin-bottom: 0; } |
16
|
2200 |
.block-editor-url-popover__link-editor .block-editor-url-input .components-spinner, |
|
2201 |
.block-editor-url-popover__link-viewer .block-editor-url-input .components-spinner { |
|
2202 |
bottom: 9px; } |
|
2203 |
|
|
2204 |
.block-editor-url-popover__link-viewer-url { |
|
2205 |
margin: 7px; |
|
2206 |
flex-grow: 1; |
|
2207 |
flex-shrink: 1; |
|
2208 |
overflow: hidden; |
|
2209 |
text-overflow: ellipsis; |
|
2210 |
white-space: nowrap; |
|
2211 |
min-width: 150px; |
|
2212 |
max-width: 500px; } |
|
2213 |
.block-editor-url-popover__link-viewer-url.has-invalid-link { |
|
2214 |
color: #d94f4f; } |
9
|
2215 |
|
|
2216 |
.block-editor-warning { |
16
|
2217 |
align-items: center; |
9
|
2218 |
display: flex; |
16
|
2219 |
flex-wrap: wrap; |
|
2220 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
2221 |
font-size: 13px; |
|
2222 |
padding: 6px 12px; |
|
2223 |
border: 1px solid #1e1e1e; |
|
2224 |
border-radius: 2px; |
|
2225 |
background-color: #fff; } |
9
|
2226 |
.block-editor-warning .block-editor-warning__message { |
|
2227 |
line-height: 1.4; |
|
2228 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
16
|
2229 |
font-size: 13px; |
|
2230 |
margin: 1em 0; } |
|
2231 |
.block-editor-warning p.block-editor-warning__message.block-editor-warning__message { |
|
2232 |
min-height: auto; } |
9
|
2233 |
.block-editor-warning .block-editor-warning__contents { |
|
2234 |
display: flex; |
|
2235 |
flex-direction: row; |
|
2236 |
justify-content: space-between; |
|
2237 |
flex-wrap: wrap; |
16
|
2238 |
align-items: baseline; |
9
|
2239 |
width: 100%; } |
|
2240 |
.block-editor-warning .block-editor-warning__actions { |
|
2241 |
display: flex; } |
|
2242 |
.block-editor-warning .block-editor-warning__action { |
16
|
2243 |
margin: 0 8px 0 0; } |
9
|
2244 |
|
|
2245 |
.block-editor-warning__secondary { |
16
|
2246 |
margin: auto 8px auto 0; } |
9
|
2247 |
|
|
2248 |
.block-editor-writing-flow { |
|
2249 |
display: flex; |
|
2250 |
flex-direction: column; } |
|
2251 |
|
|
2252 |
.block-editor-writing-flow__click-redirect { |
|
2253 |
cursor: text; } |
16
|
2254 |
|
|
2255 |
.html-anchor-control .components-external-link { |
|
2256 |
display: block; |
|
2257 |
margin-top: 8px; } |
|
2258 |
|
|
2259 |
#end-resizable-editor-section { |
|
2260 |
display: none; } |
|
2261 |
|
|
2262 |
/** |
|
2263 |
* Block Toolbar |
|
2264 |
*/ |
|
2265 |
.block-editor-block-toolbar { |
|
2266 |
display: flex; |
|
2267 |
flex-grow: 1; |
|
2268 |
width: 100%; |
|
2269 |
overflow: auto; |
|
2270 |
position: relative; |
|
2271 |
transition: border-color 0.1s linear, box-shadow 0.1s linear; } |
|
2272 |
@media (prefers-reduced-motion: reduce) { |
|
2273 |
.block-editor-block-toolbar { |
|
2274 |
transition-duration: 0s; } } |
|
2275 |
@media (min-width: 600px) { |
|
2276 |
.block-editor-block-toolbar { |
|
2277 |
overflow: inherit; } } |
|
2278 |
.block-editor-block-toolbar .components-toolbar-group, |
|
2279 |
.block-editor-block-toolbar .components-toolbar { |
|
2280 |
background: none; |
|
2281 |
line-height: 0; |
|
2282 |
margin-top: -1px; |
|
2283 |
margin-bottom: -1px; |
|
2284 |
border: 0; |
|
2285 |
border-left: 1px solid #ddd; } |
|
2286 |
.block-editor-block-toolbar > :last-child, |
|
2287 |
.block-editor-block-toolbar > :last-child .components-toolbar-group, |
|
2288 |
.block-editor-block-toolbar > :last-child .components-toolbar { |
|
2289 |
border-left: none; } |
|
2290 |
|
|
2291 |
.block-editor-block-toolbar .components-toolbar-group, |
|
2292 |
.block-editor-block-toolbar .components-toolbar, |
|
2293 |
.block-editor-format-toolbar .components-toolbar-group, |
|
2294 |
.block-editor-format-toolbar .components-toolbar { |
|
2295 |
display: flex; |
|
2296 |
flex-wrap: nowrap; } |
|
2297 |
|
|
2298 |
.block-editor-block-toolbar__slot { |
|
2299 |
display: inline-block; |
|
2300 |
line-height: 0; } |
|
2301 |
@supports ((position: -webkit-sticky) or (position: sticky)) { |
|
2302 |
.block-editor-block-toolbar__slot { |
|
2303 |
display: inline-flex; } } |
|
2304 |
|
|
2305 |
.block-editor-block-toolbar__block-parent-selector-wrapper { |
|
2306 |
position: absolute; |
|
2307 |
top: -1px; |
|
2308 |
right: -1px; |
|
2309 |
opacity: 0; |
|
2310 |
transition: all 60ms linear; |
|
2311 |
z-index: -1; } |
|
2312 |
@media (prefers-reduced-motion: reduce) { |
|
2313 |
.block-editor-block-toolbar__block-parent-selector-wrapper { |
|
2314 |
transition-duration: 0s; } } |
|
2315 |
.is-showing-movers .block-editor-block-toolbar__block-parent-selector-wrapper { |
|
2316 |
opacity: 1; |
|
2317 |
transform: translateY(-60px); } |
|
2318 |
.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar__block-parent-selector-wrapper { |
|
2319 |
display: none; } |
|
2320 |
|
|
2321 |
.block-editor-block-toolbar-animated-width-container { |
|
2322 |
position: relative; |
|
2323 |
overflow: hidden; |
|
2324 |
transition: width 300ms; } |
|
2325 |
|
|
2326 |
.block-editor-block-toolbar-content-enter { |
|
2327 |
position: absolute; |
|
2328 |
top: 0; |
|
2329 |
right: 0; |
|
2330 |
width: auto; |
|
2331 |
opacity: 0; } |
|
2332 |
|
|
2333 |
.block-editor-block-toolbar-content-enter-active { |
|
2334 |
position: absolute; |
|
2335 |
opacity: 1; |
|
2336 |
transition: opacity 300ms; } |
|
2337 |
|
|
2338 |
.block-editor-block-toolbar-content-exit { |
|
2339 |
width: auto; |
|
2340 |
opacity: 1; |
|
2341 |
pointer-events: none; } |
|
2342 |
|
|
2343 |
.block-editor-block-toolbar-content-exit-active { |
|
2344 |
opacity: 0; |
|
2345 |
transition: opacity 300ms; } |
|
2346 |
|
|
2347 |
.block-editor-inserter { |
|
2348 |
display: inline-block; |
|
2349 |
background: none; |
|
2350 |
border: none; |
|
2351 |
padding: 0; |
|
2352 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
2353 |
font-size: 13px; |
|
2354 |
line-height: 1.4; } |
|
2355 |
@media (min-width: 782px) { |
|
2356 |
.block-editor-inserter { |
|
2357 |
position: relative; } } |
|
2358 |
|
|
2359 |
.block-editor-inserter__popover .block-editor-inserter__menu { |
|
2360 |
margin: -12px; } |
|
2361 |
.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__tabs .components-tab-panel__tabs { |
|
2362 |
top: 60px; } |
|
2363 |
.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__main-area { |
|
2364 |
overflow: visible; |
|
2365 |
height: auto; } |
|
2366 |
.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__preview-container { |
|
2367 |
display: none; } |
|
2368 |
|
|
2369 |
.block-editor-inserter__toggle.components-button { |
|
2370 |
display: inline-flex; |
|
2371 |
align-items: center; |
|
2372 |
cursor: pointer; |
|
2373 |
border: none; |
|
2374 |
outline: none; |
|
2375 |
padding: 0; |
|
2376 |
transition: color 0.2s ease; } |
|
2377 |
@media (prefers-reduced-motion: reduce) { |
|
2378 |
.block-editor-inserter__toggle.components-button { |
|
2379 |
transition-duration: 0s; } } |
|
2380 |
|
|
2381 |
.block-editor-inserter__menu { |
|
2382 |
height: 100%; |
|
2383 |
position: relative; |
|
2384 |
overflow: visible; } |
|
2385 |
|
|
2386 |
.block-editor-inserter__main-area { |
|
2387 |
width: auto; |
|
2388 |
overflow-y: auto; |
|
2389 |
height: 100%; } |
|
2390 |
@media (min-width: 782px) { |
|
2391 |
.block-editor-inserter__main-area { |
|
2392 |
width: 350px; } } |
|
2393 |
|
|
2394 |
.block-editor-inserter__inline-elements { |
|
2395 |
margin-top: -1px; } |
|
2396 |
|
|
2397 |
.block-editor-inserter__menu.is-bottom::after { |
|
2398 |
border-bottom-color: #fff; } |
|
2399 |
|
|
2400 |
.components-popover.block-editor-inserter__popover { |
|
2401 |
z-index: 99998; } |
|
2402 |
|
|
2403 |
.block-editor-inserter__search { |
|
2404 |
padding: 16px; |
|
2405 |
position: -webkit-sticky; |
|
2406 |
position: sticky; |
|
2407 |
top: 0; |
|
2408 |
background: #fff; |
|
2409 |
z-index: 1; } |
|
2410 |
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input { |
|
2411 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
2412 |
padding: 6px 8px; |
|
2413 |
box-shadow: 0 0 0 transparent; |
|
2414 |
transition: box-shadow 0.1s linear; |
|
2415 |
border-radius: 2px; |
|
2416 |
border: 1px solid #757575; |
|
2417 |
/* Fonts smaller than 16px causes mobile safari to zoom. */ |
|
2418 |
font-size: 16px; |
|
2419 |
/* Override core line-height. To be reviewed. */ |
|
2420 |
line-height: normal; |
|
2421 |
display: block; |
|
2422 |
padding: 16px 16px 16px 48px; |
|
2423 |
background: #f0f0f0; |
|
2424 |
border: none; |
|
2425 |
width: 100%; |
|
2426 |
height: 48px; |
|
2427 |
/* Fonts smaller than 16px causes mobile safari to zoom. */ |
|
2428 |
font-size: 16px; } |
|
2429 |
@media (prefers-reduced-motion: reduce) { |
|
2430 |
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input { |
|
2431 |
transition-duration: 0s; } } |
|
2432 |
@media (min-width: 600px) { |
|
2433 |
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input { |
|
2434 |
font-size: 13px; |
|
2435 |
/* Override core line-height. To be reviewed. */ |
|
2436 |
line-height: normal; } } |
|
2437 |
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input:focus { |
|
2438 |
border-color: #007cba; |
|
2439 |
border-color: var(--wp-admin-theme-color); |
|
2440 |
box-shadow: 0 0 0 0.5px #007cba; |
|
2441 |
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color); |
|
2442 |
outline: 2px solid transparent; } |
|
2443 |
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-input-placeholder { |
|
2444 |
color: rgba(30, 30, 30, 0.62); } |
|
2445 |
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-moz-placeholder { |
|
2446 |
opacity: 1; |
|
2447 |
color: rgba(30, 30, 30, 0.62); } |
|
2448 |
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input:-ms-input-placeholder { |
|
2449 |
color: rgba(30, 30, 30, 0.62); } |
|
2450 |
.is-dark-theme .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-input-placeholder { |
|
2451 |
color: rgba(255, 255, 255, 0.65); } |
|
2452 |
.is-dark-theme .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-moz-placeholder { |
|
2453 |
opacity: 1; |
|
2454 |
color: rgba(255, 255, 255, 0.65); } |
|
2455 |
.is-dark-theme .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input:-ms-input-placeholder { |
|
2456 |
color: rgba(255, 255, 255, 0.65); } |
|
2457 |
@media (min-width: 600px) { |
|
2458 |
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input { |
|
2459 |
font-size: 13px; } } |
|
2460 |
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input:focus { |
|
2461 |
background: #fff; |
|
2462 |
box-shadow: 0 0 0 1.5px #007cba; |
|
2463 |
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color); } |
|
2464 |
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input:-ms-input-placeholder { |
|
2465 |
color: #606a73; } |
|
2466 |
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-ms-input-placeholder { |
|
2467 |
color: #606a73; } |
|
2468 |
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::placeholder { |
|
2469 |
color: #606a73; } |
|
2470 |
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-decoration, .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-cancel-button, .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-results-button, .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-results-decoration { |
|
2471 |
-webkit-appearance: none; } |
|
2472 |
|
|
2473 |
.block-editor-inserter__search-icon { |
|
2474 |
position: absolute; |
|
2475 |
top: 0; |
|
2476 |
left: 20px; |
|
2477 |
bottom: 0; |
|
2478 |
display: flex; |
|
2479 |
align-items: center; } |
|
2480 |
.block-editor-inserter__search-icon > svg { |
|
2481 |
margin: 8px; } |
|
2482 |
|
|
2483 |
.block-editor-inserter__tabs { |
|
2484 |
display: flex; |
|
2485 |
flex-direction: column; |
|
2486 |
margin-top: -8px; } |
|
2487 |
.block-editor-inserter__tabs .components-tab-panel__tabs { |
|
2488 |
position: -webkit-sticky; |
|
2489 |
position: sticky; |
|
2490 |
top: 72px; |
|
2491 |
background: #fff; |
|
2492 |
z-index: 1; |
|
2493 |
border-bottom: 1px solid #ddd; } |
|
2494 |
.block-editor-inserter__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item { |
|
2495 |
flex-grow: 1; |
|
2496 |
margin-bottom: -1px; } |
|
2497 |
.block-editor-inserter__tabs .components-tab-panel__tab-content { |
|
2498 |
display: flex; |
|
2499 |
flex-grow: 1; |
|
2500 |
flex-direction: column; |
|
2501 |
position: relative; } |
|
2502 |
|
|
2503 |
.block-editor-inserter__panel-header { |
|
2504 |
display: inline-flex; |
|
2505 |
align-items: center; |
|
2506 |
padding: 16px 16px 0; } |
|
2507 |
|
|
2508 |
.block-editor-inserter__panel-content { |
|
2509 |
padding: 0 16px; } |
|
2510 |
|
|
2511 |
.block-editor-inserter__panel-title { |
|
2512 |
margin: 0 0 0 12px; |
|
2513 |
color: #757575; |
|
2514 |
text-transform: uppercase; |
|
2515 |
font-size: 11px; |
|
2516 |
font-weight: 500; } |
|
2517 |
|
|
2518 |
.block-editor-inserter__block-list { |
|
2519 |
flex-grow: 1; |
|
2520 |
position: relative; } |
|
2521 |
|
|
2522 |
.block-editor-inserter__popover .block-editor-block-types-list { |
|
2523 |
margin: 0 -8px; } |
|
2524 |
|
|
2525 |
.block-editor-inserter__reusable-blocks-panel { |
|
2526 |
position: relative; |
|
2527 |
text-align: left; } |
|
2528 |
|
|
2529 |
.block-editor-inserter__manage-reusable-blocks { |
|
2530 |
display: inline-block; |
|
2531 |
margin: 16px; } |
|
2532 |
|
|
2533 |
.block-editor-inserter__no-results { |
|
2534 |
padding: 32px; |
|
2535 |
margin-top: 64px; |
|
2536 |
text-align: center; } |
|
2537 |
|
|
2538 |
.block-editor-inserter__no-results-icon { |
|
2539 |
fill: #b5bcc2; } |
|
2540 |
|
|
2541 |
.block-editor-inserter__child-blocks { |
|
2542 |
padding: 0 16px; } |
|
2543 |
|
|
2544 |
.block-editor-inserter__parent-block-header { |
|
2545 |
display: flex; |
|
2546 |
align-items: center; } |
|
2547 |
.block-editor-inserter__parent-block-header h2 { |
|
2548 |
font-size: 13px; } |
|
2549 |
.block-editor-inserter__parent-block-header .block-editor-block-icon { |
|
2550 |
margin-left: 8px; } |
|
2551 |
|
|
2552 |
.block-editor-inserter__preview-container { |
|
2553 |
display: none; |
|
2554 |
width: 300px; |
|
2555 |
background: #fff; |
|
2556 |
border-radius: 2px; |
|
2557 |
border: 1px solid #ddd; |
|
2558 |
position: absolute; |
|
2559 |
top: 16px; |
|
2560 |
right: calc(100% + 16px); } |
|
2561 |
@media (min-width: 782px) { |
|
2562 |
.block-editor-inserter__preview-container { |
|
2563 |
display: block; } } |
|
2564 |
.block-editor-inserter__preview-container .block-editor-block-card { |
|
2565 |
padding: 16px; } |
|
2566 |
.block-editor-inserter__preview-container .block-editor-block-card__title { |
|
2567 |
font-size: 13px; } |
|
2568 |
|
|
2569 |
.block-editor-inserter__preview-content { |
|
2570 |
min-height: 144px; |
|
2571 |
background: #f0f0f0; |
|
2572 |
display: -ms-grid; |
|
2573 |
display: grid; |
|
2574 |
flex-grow: 1; |
|
2575 |
align-items: center; } |
|
2576 |
|
|
2577 |
.block-editor-inserter__preview-content-missing { |
|
2578 |
flex: 1; |
|
2579 |
display: flex; |
|
2580 |
justify-content: center; |
|
2581 |
align-items: center; |
|
2582 |
min-height: 144px; |
|
2583 |
color: #606a73; |
|
2584 |
background: #f0f0f0; } |
|
2585 |
|
|
2586 |
.block-editor-inserter__tips { |
|
2587 |
border-top: 1px solid #ddd; |
|
2588 |
padding: 16px; |
|
2589 |
flex-shrink: 0; } |
|
2590 |
|
|
2591 |
.block-editor-inserter__manage-reusable-blocks-container { |
|
2592 |
padding: 16px; } |
|
2593 |
|
|
2594 |
.block-editor-inserter__quick-inserter { |
|
2595 |
width: 100%; } |
|
2596 |
@media (min-width: 782px) { |
|
2597 |
.block-editor-inserter__quick-inserter { |
|
2598 |
width: 350px; } } |
|
2599 |
|
|
2600 |
.block-editor-inserter__quick-inserter-results { |
|
2601 |
padding-bottom: 16px; } |
|
2602 |
.block-editor-inserter__quick-inserter-results .block-editor-inserter__panel-header { |
|
2603 |
height: 0; |
|
2604 |
padding: 0; |
|
2605 |
float: right; } |
|
2606 |
|
|
2607 |
.block-editor-inserter__quick-inserter-patterns { |
|
2608 |
display: -ms-grid; |
|
2609 |
display: grid; |
|
2610 |
-ms-grid-columns: 1fr 1fr; |
|
2611 |
grid-template-columns: 1fr 1fr; |
|
2612 |
grid-gap: 8px; } |
|
2613 |
|
|
2614 |
.block-editor-inserter__quick-inserter-separator { |
|
2615 |
border-top: 1px solid #ddd; } |
|
2616 |
|
|
2617 |
.block-editor-inserter__popover.is-quick > .components-popover__content > div { |
|
2618 |
padding: 0; } |
|
2619 |
|
|
2620 |
.block-editor-inserter__quick-inserter-expand.components-button { |
|
2621 |
display: block; |
|
2622 |
background: #1e1e1e; |
|
2623 |
color: #fff; |
|
2624 |
width: 100%; |
|
2625 |
height: 44px; |
|
2626 |
border-radius: 0; } |
|
2627 |
.block-editor-inserter__quick-inserter-expand.components-button:hover { |
|
2628 |
color: #fff; } |
|
2629 |
.block-editor-inserter__quick-inserter-expand.components-button:focus:not(:disabled) { |
|
2630 |
box-shadow: inset 0 0 0 1.5px #1e1e1e, inset 0 0 0 2px #fff; } |
|
2631 |
|
|
2632 |
.block-editor-post-preview__dropdown { |
|
2633 |
display: none; |
|
2634 |
margin-left: 12px; |
|
2635 |
padding: 0; } |
|
2636 |
|
|
2637 |
.block-editor-post-preview__button-resize.block-editor-post-preview__button-resize { |
|
2638 |
padding-right: 40px; } |
|
2639 |
.block-editor-post-preview__button-resize.block-editor-post-preview__button-resize.has-icon { |
|
2640 |
padding-right: 8px; } |
|
2641 |
|
|
2642 |
.block-editor-post-preview__dropdown-content .components-popover__content { |
|
2643 |
overflow-y: visible; } |
|
2644 |
|
|
2645 |
.block-editor-post-preview__dropdown-content .components-menu-group + .components-menu-group { |
|
2646 |
border-top: 1px solid #ccc; |
|
2647 |
padding: 8px 12px; |
|
2648 |
margin-right: -12px; |
|
2649 |
margin-left: -12px; } |
|
2650 |
|
|
2651 |
@media (min-width: 600px) { |
|
2652 |
.editor-post-preview { |
|
2653 |
display: none; } |
|
2654 |
.block-editor-post-preview__dropdown { |
|
2655 |
display: flex; } } |