|
1 @charset "UTF-8"; |
|
2 /** |
|
3 * Colors |
|
4 */ |
|
5 /** |
|
6 * Breakpoints & Media Queries |
|
7 */ |
|
8 /** |
|
9 * Often re-used variables |
|
10 */ |
|
11 /** |
|
12 * Breakpoint mixins |
|
13 */ |
|
14 /** |
|
15 * Long content fade mixin |
|
16 * |
|
17 * Creates a fading overlay to signify that the content is longer |
|
18 * than the space allows. |
|
19 */ |
|
20 /** |
|
21 * Button states and focus styles |
|
22 */ |
|
23 /** |
|
24 * Applies editor left position to the selector passed as argument |
|
25 */ |
|
26 /** |
|
27 * Applies editor right position to the selector passed as argument |
|
28 */ |
|
29 /** |
|
30 * Styles that are reused verbatim in a few places |
|
31 */ |
|
32 /** |
|
33 * Allows users to opt-out of animations via OS-level preferences. |
|
34 */ |
|
35 .block-editor-block-drop-zone { |
|
36 border: none; |
|
37 border-radius: 0; } |
|
38 .block-editor-block-drop-zone .components-drop-zone__content, |
|
39 .block-editor-block-drop-zone.is-dragging-over-element .components-drop-zone__content { |
|
40 display: none; } |
|
41 .block-editor-block-drop-zone.is-close-to-bottom { |
|
42 background: none; |
|
43 border-bottom: 3px solid #0085ba; } |
|
44 body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-bottom{ |
|
45 border-bottom: 3px solid #d1864a; } |
|
46 body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-bottom{ |
|
47 border-bottom: 3px solid #a3b9a2; } |
|
48 body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-bottom{ |
|
49 border-bottom: 3px solid #e14d43; } |
|
50 body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-bottom{ |
|
51 border-bottom: 3px solid #a7b656; } |
|
52 body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-bottom{ |
|
53 border-bottom: 3px solid #c2a68c; } |
|
54 body.admin-color-blue .block-editor-block-drop-zone.is-close-to-bottom{ |
|
55 border-bottom: 3px solid #82b4cb; } |
|
56 body.admin-color-light .block-editor-block-drop-zone.is-close-to-bottom{ |
|
57 border-bottom: 3px solid #0085ba; } |
|
58 .block-editor-block-drop-zone.is-close-to-top, .block-editor-block-drop-zone.is-appender.is-close-to-top, .block-editor-block-drop-zone.is-appender.is-close-to-bottom { |
|
59 background: none; |
|
60 border-top: 3px solid #0085ba; |
|
61 border-bottom: none; } |
|
62 body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-top, body.admin-color-sunrise .block-editor-block-drop-zone.is-appender.is-close-to-top, body.admin-color-sunrise .block-editor-block-drop-zone.is-appender.is-close-to-bottom{ |
|
63 border-top: 3px solid #d1864a; } |
|
64 body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-top, body.admin-color-ocean .block-editor-block-drop-zone.is-appender.is-close-to-top, body.admin-color-ocean .block-editor-block-drop-zone.is-appender.is-close-to-bottom{ |
|
65 border-top: 3px solid #a3b9a2; } |
|
66 body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-top, body.admin-color-midnight .block-editor-block-drop-zone.is-appender.is-close-to-top, body.admin-color-midnight .block-editor-block-drop-zone.is-appender.is-close-to-bottom{ |
|
67 border-top: 3px solid #e14d43; } |
|
68 body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-top, body.admin-color-ectoplasm .block-editor-block-drop-zone.is-appender.is-close-to-top, body.admin-color-ectoplasm .block-editor-block-drop-zone.is-appender.is-close-to-bottom{ |
|
69 border-top: 3px solid #a7b656; } |
|
70 body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-top, body.admin-color-coffee .block-editor-block-drop-zone.is-appender.is-close-to-top, body.admin-color-coffee .block-editor-block-drop-zone.is-appender.is-close-to-bottom{ |
|
71 border-top: 3px solid #c2a68c; } |
|
72 body.admin-color-blue .block-editor-block-drop-zone.is-close-to-top, body.admin-color-blue .block-editor-block-drop-zone.is-appender.is-close-to-top, body.admin-color-blue .block-editor-block-drop-zone.is-appender.is-close-to-bottom{ |
|
73 border-top: 3px solid #82b4cb; } |
|
74 body.admin-color-light .block-editor-block-drop-zone.is-close-to-top, body.admin-color-light .block-editor-block-drop-zone.is-appender.is-close-to-top, body.admin-color-light .block-editor-block-drop-zone.is-appender.is-close-to-bottom{ |
|
75 border-top: 3px solid #0085ba; } |
|
76 |
|
77 .block-editor-block-icon { |
|
78 display: flex; |
|
79 align-items: center; |
|
80 justify-content: center; |
|
81 width: 24px; |
|
82 height: 24px; |
|
83 margin: 0; |
|
84 border-radius: 4px; } |
|
85 .block-editor-block-icon.has-colors svg { |
|
86 fill: currentColor; } |
|
87 .block-editor-block-icon svg { |
|
88 min-width: 20px; |
|
89 min-height: 20px; |
|
90 max-width: 24px; |
|
91 max-height: 24px; } |
|
92 |
|
93 .block-editor-block-inspector__no-blocks { |
|
94 display: block; |
|
95 font-size: 13px; |
|
96 background: #fff; |
|
97 padding: 32px 16px; |
|
98 text-align: center; } |
|
99 |
|
100 .block-editor-block-inspector__card { |
|
101 display: flex; |
|
102 align-items: flex-start; |
|
103 margin: -16px; |
|
104 padding: 16px; } |
|
105 |
|
106 .block-editor-block-inspector__card-icon { |
|
107 border: 1px solid #ccd0d4; |
|
108 padding: 7px; |
|
109 margin-right: 10px; |
|
110 height: 36px; |
|
111 width: 36px; } |
|
112 |
|
113 .block-editor-block-inspector__card-content { |
|
114 flex-grow: 1; } |
|
115 |
|
116 .block-editor-block-inspector__card-title { |
|
117 font-weight: 500; |
|
118 margin-bottom: 5px; } |
|
119 |
|
120 .block-editor-block-inspector__card-description { |
|
121 font-size: 13px; } |
|
122 |
|
123 .block-editor-block-inspector__card .block-editor-block-icon { |
|
124 margin-left: -2px; |
|
125 margin-right: 10px; |
|
126 padding: 0 3px; |
|
127 width: 36px; |
|
128 height: 24px; } |
|
129 |
|
130 .block-editor-block-list__layout .components-draggable__clone .block-editor-block-contextual-toolbar { |
|
131 display: none !important; } |
|
132 |
|
133 .block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-list__block-edit::before { |
|
134 border: none; } |
|
135 |
|
136 .block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging > .block-editor-block-list__block-edit > * { |
|
137 background: #f8f9f9; } |
|
138 |
|
139 .block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging > .block-editor-block-list__block-edit > * > * { |
|
140 visibility: hidden; } |
|
141 |
|
142 .block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-mover, |
|
143 .block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-contextual-toolbar { |
|
144 display: none; } |
|
145 |
|
146 .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit .reusable-block-edit-panel * { |
|
147 z-index: 1; } |
|
148 |
|
149 /** |
|
150 * General layout |
|
151 */ |
|
152 @media (min-width: 600px) { |
|
153 .block-editor-block-list__layout { |
|
154 padding-left: 46px; |
|
155 padding-right: 46px; } } |
|
156 |
|
157 .block-editor-block-list__block .block-editor-block-list__layout { |
|
158 padding-left: 0; |
|
159 padding-right: 0; |
|
160 margin-left: -14px; |
|
161 margin-right: -14px; } |
|
162 |
|
163 .block-editor-block-list__layout .block-editor-default-block-appender > .block-editor-default-block-appender__content, |
|
164 .block-editor-block-list__layout > .block-editor-block-list__block > .block-editor-block-list__block-edit, |
|
165 .block-editor-block-list__layout > .block-editor-block-list__layout > .block-editor-block-list__block > .block-editor-block-list__block-edit { |
|
166 margin-top: 32px; |
|
167 margin-bottom: 32px; } |
|
168 |
|
169 .block-editor-block-list__layout .block-editor-block-list__block { |
|
170 position: relative; |
|
171 padding-left: 14px; |
|
172 padding-right: 14px; |
|
173 overflow-wrap: break-word; |
|
174 /** |
|
175 * Notices |
|
176 */ |
|
177 /** |
|
178 * Block border layout |
|
179 */ } |
|
180 @media (min-width: 600px) { |
|
181 .block-editor-block-list__layout .block-editor-block-list__block { |
|
182 padding-left: 43px; |
|
183 padding-right: 43px; } } |
|
184 .block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui { |
|
185 margin: -10px 20px 12px 20px; |
|
186 width: calc(100% - 40px); } |
|
187 .block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui { |
|
188 margin: 0 0 12px 0; |
|
189 width: 100%; } |
|
190 .block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice { |
|
191 margin-left: 0; |
|
192 margin-right: 0; } |
|
193 .block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content { |
|
194 font-size: 13px; } |
|
195 .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit { |
|
196 position: relative; } |
|
197 .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit::before { |
|
198 z-index: 0; |
|
199 content: ""; |
|
200 position: absolute; |
|
201 border: 1px solid transparent; |
|
202 border-left: none; |
|
203 box-shadow: none; |
|
204 transition: border-color 0.1s linear, box-shadow 0.1s linear; |
|
205 pointer-events: none; |
|
206 outline: 1px solid transparent; |
|
207 right: -14px; |
|
208 left: -14px; |
|
209 top: -14px; |
|
210 bottom: -14px; } |
|
211 .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit::before { |
|
212 border-color: rgba(66, 88, 99, 0.4); |
|
213 box-shadow: inset 3px 0 0 0 #555d66; } |
|
214 .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit::before { |
|
215 border-color: rgba(255, 255, 255, 0.45); |
|
216 box-shadow: inset 3px 0 0 0 #d7dade; } |
|
217 @media (min-width: 600px) { |
|
218 .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit::before { |
|
219 box-shadow: -3px 0 0 0 #555d66; } |
|
220 .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit::before { |
|
221 box-shadow: -3px 0 0 0 #d7dade; } } |
|
222 .block-editor-block-list__layout .block-editor-block-list__block.is-hovered > .block-editor-block-list__block-edit::before { |
|
223 box-shadow: -3px 0 0 0 #e2e4e7; } |
|
224 .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-hovered > .block-editor-block-list__block-edit::before { |
|
225 box-shadow: -3px 0 0 0 #40464d; } |
|
226 .block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) { |
|
227 opacity: 0.5; |
|
228 transition: opacity 0.1s linear; } |
|
229 .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 { |
|
230 opacity: 1; } |
|
231 |
|
232 /** |
|
233 * Cross-block selection |
|
234 */ |
|
235 |
|
236 .block-editor-block-list__layout .block-editor-block-list__block ::selection { |
|
237 background-color: #b3e7fe; } |
|
238 |
|
239 .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected *::selection { |
|
240 background-color: transparent; } |
|
241 |
|
242 .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block-edit::before { |
|
243 background: #b3e7fe; |
|
244 mix-blend-mode: multiply; |
|
245 top: -14px; |
|
246 bottom: -14px; } |
|
247 .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block-edit::before { |
|
248 mix-blend-mode: soft-light; } |
|
249 |
|
250 /** |
|
251 * Block styles and alignments |
|
252 */ |
|
253 .block-editor-block-list__layout .block-editor-block-list__block.has-warning { |
|
254 min-height: 36px; } |
|
255 |
|
256 .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit > * { |
|
257 pointer-events: none; |
|
258 -webkit-user-select: none; |
|
259 -moz-user-select: none; |
|
260 -ms-user-select: none; |
|
261 user-select: none; } |
|
262 |
|
263 .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit .block-editor-warning { |
|
264 pointer-events: all; } |
|
265 |
|
266 .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit::before { |
|
267 border-color: rgba(145, 151, 162, 0.25); |
|
268 border-left: 1px solid rgba(145, 151, 162, 0.25); } |
|
269 .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit::before { |
|
270 border-color: rgba(255, 255, 255, 0.35); } |
|
271 |
|
272 .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit::before { |
|
273 border-color: rgba(66, 88, 99, 0.4); |
|
274 border-left-color: transparent; } |
|
275 .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit::before { |
|
276 border-color: rgba(255, 255, 255, 0.45); } |
|
277 |
|
278 .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit::after { |
|
279 content: ""; |
|
280 position: absolute; |
|
281 background-color: rgba(248, 249, 249, 0.4); |
|
282 top: -14px; |
|
283 bottom: -14px; |
|
284 right: -14px; |
|
285 left: -14px; } |
|
286 |
|
287 .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected .block-editor-block-list__block-edit::after { |
|
288 background-color: transparent; } |
|
289 |
|
290 .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit::after { |
|
291 bottom: 22px; } |
|
292 @media (min-width: 600px) { |
|
293 .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit::after { |
|
294 bottom: -14px; } } |
|
295 |
|
296 .block-editor-block-list__layout .block-editor-block-list__block.is-typing .block-editor-block-list__empty-block-inserter, |
|
297 .block-editor-block-list__layout .block-editor-block-list__block.is-typing .block-editor-block-list__side-inserter { |
|
298 opacity: 0; |
|
299 animation: none; } |
|
300 |
|
301 .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__empty-block-inserter, |
|
302 .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter { |
|
303 animation: edit-post__fade-in-animation 0.2s ease-out 0s; |
|
304 animation-fill-mode: forwards; } |
|
305 @media (prefers-reduced-motion: reduce) { |
|
306 .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__empty-block-inserter, |
|
307 .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter { |
|
308 animation-duration: 1ms !important; } } |
|
309 |
|
310 .block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-block-list__block-edit::before { |
|
311 border: 1px dashed rgba(145, 151, 162, 0.25); } |
|
312 .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-block-list__block-edit::before { |
|
313 border-color: rgba(255, 255, 255, 0.35); } |
|
314 |
|
315 .block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected > .block-editor-block-list__block-edit::before { |
|
316 border-color: rgba(66, 88, 99, 0.4); |
|
317 border-left-color: transparent; } |
|
318 .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected > .block-editor-block-list__block-edit::before { |
|
319 border-color: rgba(255, 255, 255, 0.45); |
|
320 border-left-color: transparent; } |
|
321 |
|
322 .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"], .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] { |
|
323 z-index: 81; |
|
324 width: 100%; |
|
325 height: 0; } |
|
326 .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-list__block-edit, .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-list__block-edit { |
|
327 margin-top: 0; } |
|
328 .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-list__block-edit::before, .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-list__block-edit::before { |
|
329 content: none; } |
|
330 .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { |
|
331 margin-bottom: 1px; } |
|
332 .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { |
|
333 width: auto; |
|
334 border-bottom: 1px solid #b5bcc2; |
|
335 bottom: auto; } |
|
336 |
|
337 .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar { |
|
338 left: 0; |
|
339 right: auto; } |
|
340 |
|
341 .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { |
|
342 left: auto; |
|
343 right: 0; } |
|
344 |
|
345 @media (min-width: 600px) { |
|
346 .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar, |
|
347 .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar { |
|
348 top: 14px; } } |
|
349 |
|
350 .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-list__block-edit { |
|
351 /*!rtl:begin:ignore*/ |
|
352 float: left; |
|
353 margin-right: 2em; |
|
354 /*!rtl:end:ignore*/ } |
|
355 |
|
356 @media (min-width: 600px) { |
|
357 .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-toolbar { |
|
358 /*!rtl:begin:ignore*/ |
|
359 left: 14px; |
|
360 right: auto; |
|
361 /*!rtl:end:ignore*/ } } |
|
362 |
|
363 .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] > .block-editor-block-list__block-edit { |
|
364 /*!rtl:begin:ignore*/ |
|
365 float: right; |
|
366 margin-left: 2em; |
|
367 /*!rtl:end:ignore*/ } |
|
368 |
|
369 @media (min-width: 600px) { |
|
370 .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-toolbar { |
|
371 /*!rtl:begin:ignore*/ |
|
372 right: 14px; |
|
373 left: auto; |
|
374 /*!rtl:end:ignore*/ } } |
|
375 |
|
376 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"], .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] { |
|
377 clear: both; |
|
378 z-index: 20; } |
|
379 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover, |
|
380 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover, |
|
381 .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover { |
|
382 top: -44px; |
|
383 bottom: auto; |
|
384 min-height: 0; |
|
385 height: auto; |
|
386 width: auto; } |
|
387 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover::before, |
|
388 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover::before, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover::before, |
|
389 .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover::before { |
|
390 content: none; } |
|
391 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover .block-editor-block-mover__control, |
|
392 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover .block-editor-block-mover__control, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover .block-editor-block-mover__control, |
|
393 .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover .block-editor-block-mover__control { |
|
394 float: left; } |
|
395 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover, |
|
396 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover, |
|
397 .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover { |
|
398 display: none; } |
|
399 @media (min-width: 1280px) { |
|
400 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover, |
|
401 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover, |
|
402 .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover { |
|
403 display: block; } } |
|
404 @media (min-width: 600px) { |
|
405 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] .block-editor-block-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] .block-editor-block-toolbar { |
|
406 display: inline-flex; } } |
|
407 |
|
408 .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover, |
|
409 .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover { |
|
410 left: -13px; } |
|
411 |
|
412 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-list__breadcrumb { |
|
413 left: 0; } |
|
414 |
|
415 @media (min-width: 600px) { |
|
416 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] { |
|
417 margin-left: -45px; |
|
418 margin-right: -45px; } } |
|
419 |
|
420 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit { |
|
421 margin-left: -14px; |
|
422 margin-right: -14px; } |
|
423 @media (min-width: 600px) { |
|
424 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit { |
|
425 margin-left: -44px; |
|
426 margin-right: -44px; } } |
|
427 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit figure { |
|
428 width: 100%; } |
|
429 |
|
430 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit::before { |
|
431 left: 0; |
|
432 right: 0; |
|
433 border-left-width: 0; |
|
434 border-right-width: 0; } |
|
435 |
|
436 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover, |
|
437 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover { |
|
438 left: 1px; } |
|
439 |
|
440 .block-editor-block-list__layout .block-editor-block-list__block[data-clear="true"] { |
|
441 float: none; } |
|
442 |
|
443 .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-drop-zone { |
|
444 top: -4px; |
|
445 bottom: -3px; |
|
446 margin: 0 14px; } |
|
447 |
|
448 .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-inserter-with-shortcuts { |
|
449 display: none; } |
|
450 |
|
451 .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-block-list__empty-block-inserter, |
|
452 .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter { |
|
453 left: auto; |
|
454 right: 8px; } |
|
455 |
|
456 /** |
|
457 * Left and right side UI; Unified toolbar on Mobile |
|
458 */ |
|
459 .block-editor-block-list__block.is-multi-selected > .block-editor-block-mover, |
|
460 .block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover { |
|
461 position: absolute; |
|
462 width: 30px; |
|
463 height: 100%; |
|
464 max-height: 112px; } |
|
465 |
|
466 .block-editor-block-list__block.is-multi-selected > .block-editor-block-mover, |
|
467 .block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover { |
|
468 top: -15px; } |
|
469 |
|
470 @media (min-width: 600px) { |
|
471 .block-editor-block-list__block.is-multi-selected .block-editor-block-mover, .block-editor-block-list__block.is-selected .block-editor-block-mover, .block-editor-block-list__block.is-hovered .block-editor-block-mover { |
|
472 z-index: 80; } } |
|
473 |
|
474 .block-editor-block-list__block.is-multi-selected > .block-editor-block-mover, |
|
475 .block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover { |
|
476 padding-right: 2px; |
|
477 left: -45px; |
|
478 display: none; } |
|
479 @media (min-width: 600px) { |
|
480 .block-editor-block-list__block.is-multi-selected > .block-editor-block-mover, |
|
481 .block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover { |
|
482 display: block; } } |
|
483 |
|
484 .block-editor-block-list__block.is-multi-selected > .block-editor-block-mover { |
|
485 left: -30px; } |
|
486 |
|
487 .block-editor-block-list__block[data-align="left"].is-selected > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__block[data-align="right"].is-selected > .block-editor-block-list__block-edit > .block-editor-block-mover { |
|
488 display: none; } |
|
489 @media (min-width: 600px) { |
|
490 .block-editor-block-list__block[data-align="left"].is-selected > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__block[data-align="right"].is-selected > .block-editor-block-list__block-edit > .block-editor-block-mover { |
|
491 display: block; |
|
492 opacity: 1; |
|
493 animation: none; |
|
494 width: 45px; |
|
495 height: auto; |
|
496 padding-bottom: 14px; |
|
497 margin-top: 0; } } |
|
498 |
|
499 .block-editor-block-list__block[data-align="left"].is-hovered > .block-editor-block-list__block-edit > .block-editor-block-mover, |
|
500 .block-editor-block-list__block[data-align="left"].is-dragging > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__block[data-align="right"].is-hovered > .block-editor-block-list__block-edit > .block-editor-block-mover, |
|
501 .block-editor-block-list__block[data-align="right"].is-dragging > .block-editor-block-list__block-edit > .block-editor-block-mover { |
|
502 display: none; } |
|
503 |
|
504 /** |
|
505 * Mobile unified toolbar. |
|
506 */ |
|
507 .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar { |
|
508 display: flex; |
|
509 flex-direction: row; |
|
510 transform: translateY(15px); |
|
511 margin-top: 37px; |
|
512 margin-right: -14px; |
|
513 margin-left: -14px; |
|
514 border-top: 1px solid #b5bcc2; |
|
515 height: 37px; |
|
516 background-color: #fff; |
|
517 box-shadow: 0 5px 10px rgba(25, 30, 35, 0.05), 0 2px 2px rgba(25, 30, 35, 0.05); } |
|
518 @media (min-width: 600px) { |
|
519 .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar { |
|
520 display: none; } } |
|
521 @media (min-width: 600px) { |
|
522 .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar { |
|
523 box-shadow: none; } } |
|
524 .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter { |
|
525 position: relative; |
|
526 left: auto; |
|
527 top: auto; |
|
528 margin: 0; } |
|
529 .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle, |
|
530 .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control { |
|
531 width: 36px; |
|
532 height: 36px; |
|
533 border-radius: 4px; |
|
534 padding: 3px; |
|
535 margin: 0; |
|
536 justify-content: center; |
|
537 align-items: center; } |
|
538 .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle .dashicon, |
|
539 .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control .dashicon { |
|
540 margin: auto; } |
|
541 .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover { |
|
542 display: flex; |
|
543 margin-right: auto; } |
|
544 .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-inserter, |
|
545 .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control { |
|
546 float: left; } |
|
547 |
|
548 .block-editor-block-list__block[data-align="full"] .block-editor-block-list__block-mobile-toolbar { |
|
549 margin-left: 0; |
|
550 margin-right: 0; } |
|
551 |
|
552 /** |
|
553 * In-Canvas Inserter |
|
554 */ |
|
555 .block-editor-block-list .block-editor-inserter { |
|
556 margin: 8px; |
|
557 cursor: move; |
|
558 cursor: -webkit-grab; |
|
559 cursor: grab; } |
|
560 |
|
561 .block-editor-block-list__insertion-point { |
|
562 position: relative; |
|
563 z-index: 6; |
|
564 margin-top: -14px; } |
|
565 |
|
566 .block-editor-block-list__insertion-point-indicator { |
|
567 position: absolute; |
|
568 top: calc(50% - 1px); |
|
569 height: 2px; |
|
570 left: 0; |
|
571 right: 0; |
|
572 background: #0085ba; } |
|
573 |
|
574 body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator{ |
|
575 background: #d1864a; } |
|
576 |
|
577 body.admin-color-ocean .block-editor-block-list__insertion-point-indicator{ |
|
578 background: #a3b9a2; } |
|
579 |
|
580 body.admin-color-midnight .block-editor-block-list__insertion-point-indicator{ |
|
581 background: #e14d43; } |
|
582 |
|
583 body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator{ |
|
584 background: #a7b656; } |
|
585 |
|
586 body.admin-color-coffee .block-editor-block-list__insertion-point-indicator{ |
|
587 background: #c2a68c; } |
|
588 |
|
589 body.admin-color-blue .block-editor-block-list__insertion-point-indicator{ |
|
590 background: #82b4cb; } |
|
591 |
|
592 body.admin-color-light .block-editor-block-list__insertion-point-indicator{ |
|
593 background: #0085ba; } |
|
594 |
|
595 .block-editor-block-list__insertion-point-inserter { |
|
596 display: none; |
|
597 position: absolute; |
|
598 bottom: auto; |
|
599 left: 0; |
|
600 right: 0; |
|
601 justify-content: center; |
|
602 height: 22px; |
|
603 opacity: 0; |
|
604 transition: opacity 0.1s linear; } |
|
605 @media (min-width: 480px) { |
|
606 .block-editor-block-list__insertion-point-inserter { |
|
607 display: flex; } } |
|
608 .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle { |
|
609 margin-top: -8px; |
|
610 border-radius: 50%; |
|
611 color: #007cba; |
|
612 background: #fff; |
|
613 height: 36px; |
|
614 width: 36px; } |
|
615 .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):hover { |
|
616 box-shadow: none; } |
|
617 .block-editor-block-list__insertion-point-inserter:hover, .block-editor-block-list__insertion-point-inserter.is-visible { |
|
618 opacity: 1; } |
|
619 |
|
620 .edit-post-layout:not(.has-fixed-toolbar) .is-selected > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter, |
|
621 .edit-post-layout:not(.has-fixed-toolbar) .is-focused > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter { |
|
622 opacity: 0; |
|
623 pointer-events: none; } |
|
624 .edit-post-layout:not(.has-fixed-toolbar) .is-selected > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter:hover, .edit-post-layout:not(.has-fixed-toolbar) .is-selected > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter.is-visible, |
|
625 .edit-post-layout:not(.has-fixed-toolbar) .is-focused > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter:hover, |
|
626 .edit-post-layout:not(.has-fixed-toolbar) .is-focused > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter.is-visible { |
|
627 opacity: 1; |
|
628 pointer-events: auto; } |
|
629 |
|
630 .block-editor-block-list__block > .block-editor-block-list__insertion-point { |
|
631 position: absolute; |
|
632 top: -16px; |
|
633 height: 28px; |
|
634 bottom: auto; |
|
635 left: 0; |
|
636 right: 0; } |
|
637 @media (min-width: 600px) { |
|
638 .block-editor-block-list__block > .block-editor-block-list__insertion-point { |
|
639 left: -1px; |
|
640 right: -1px; } } |
|
641 |
|
642 .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__insertion-point { |
|
643 left: 0; |
|
644 right: 0; } |
|
645 |
|
646 .block-editor-block-list__block .block-editor-block-list__block-html-textarea { |
|
647 display: block; |
|
648 margin: 0; |
|
649 width: 100%; |
|
650 border: none; |
|
651 outline: none; |
|
652 box-shadow: none; |
|
653 resize: none; |
|
654 overflow: hidden; |
|
655 font-family: Menlo, Consolas, monaco, monospace; |
|
656 font-size: 14px; |
|
657 line-height: 150%; |
|
658 transition: padding 0.2s linear; } |
|
659 .block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus { |
|
660 box-shadow: none; } |
|
661 |
|
662 /** |
|
663 * Block Toolbar when contextual. |
|
664 */ |
|
665 .block-editor-block-list__block .block-editor-block-contextual-toolbar { |
|
666 z-index: 21; |
|
667 white-space: nowrap; |
|
668 text-align: left; |
|
669 pointer-events: none; |
|
670 position: absolute; |
|
671 bottom: 22px; |
|
672 left: -14px; |
|
673 right: -14px; |
|
674 border-top: 1px solid #b5bcc2; } |
|
675 .block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar { |
|
676 border-top: none; |
|
677 border-bottom: none; } |
|
678 @media (min-width: 600px) { |
|
679 .block-editor-block-list__block .block-editor-block-contextual-toolbar { |
|
680 border-top: none; } |
|
681 .block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar { |
|
682 border-top: 1px solid #b5bcc2; |
|
683 border-bottom: 1px solid #b5bcc2; } } |
|
684 |
|
685 .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, |
|
686 .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { |
|
687 margin-bottom: 1px; |
|
688 margin-top: -37px; |
|
689 box-shadow: -3px 0 0 0 #555d66; } |
|
690 .is-dark-theme .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, .is-dark-theme |
|
691 .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { |
|
692 box-shadow: -3px 0 0 0 #d7dade; } |
|
693 @media (min-width: 600px) { |
|
694 .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, |
|
695 .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { |
|
696 box-shadow: none; } } |
|
697 .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar .editor-block-toolbar, |
|
698 .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar .editor-block-toolbar { |
|
699 border-left: none; } |
|
700 |
|
701 .block-editor-block-list__block .block-editor-block-contextual-toolbar { |
|
702 margin-left: 0; |
|
703 margin-right: 0; } |
|
704 @media (min-width: 600px) { |
|
705 .block-editor-block-list__block .block-editor-block-contextual-toolbar { |
|
706 margin-left: -15px; |
|
707 margin-right: -15px; } } |
|
708 |
|
709 .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar { |
|
710 /*rtl:ignore*/ |
|
711 margin-right: 15px; } |
|
712 |
|
713 .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { |
|
714 /*rtl:ignore*/ |
|
715 margin-left: 15px; } |
|
716 |
|
717 .block-editor-block-list__block .block-editor-block-contextual-toolbar > * { |
|
718 pointer-events: auto; } |
|
719 |
|
720 .block-editor-block-list__block[data-align="full"] .block-editor-block-contextual-toolbar { |
|
721 left: 0; |
|
722 right: 0; } |
|
723 |
|
724 .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar { |
|
725 margin-left: -28px; } |
|
726 |
|
727 @media (min-width: 600px) { |
|
728 .block-editor-block-list__block .block-editor-block-contextual-toolbar { |
|
729 bottom: auto; |
|
730 left: auto; |
|
731 right: auto; |
|
732 box-shadow: none; |
|
733 transform: translateY(-52px); } |
|
734 @supports ((position: -webkit-sticky) or (position: sticky)) { |
|
735 .block-editor-block-list__block .block-editor-block-contextual-toolbar { |
|
736 position: -webkit-sticky; |
|
737 position: sticky; |
|
738 top: 51px; } } } |
|
739 |
|
740 .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar { |
|
741 /*rtl:ignore*/ |
|
742 float: left; } |
|
743 |
|
744 .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { |
|
745 /*rtl:ignore*/ |
|
746 float: right; } |
|
747 |
|
748 .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, |
|
749 .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { |
|
750 transform: translateY(-15px); } |
|
751 |
|
752 .block-editor-block-contextual-toolbar .block-editor-block-toolbar { |
|
753 width: 100%; } |
|
754 @media (min-width: 600px) { |
|
755 .block-editor-block-contextual-toolbar .block-editor-block-toolbar { |
|
756 width: auto; |
|
757 border-right: none; |
|
758 position: absolute; |
|
759 left: 1px; |
|
760 top: 1px; } } |
|
761 |
|
762 /** |
|
763 * Hover label |
|
764 */ |
|
765 .block-editor-block-list__breadcrumb { |
|
766 position: absolute; |
|
767 line-height: 1; |
|
768 z-index: 2; |
|
769 left: -17px; |
|
770 top: -31px; } |
|
771 .block-editor-block-list__breadcrumb .components-toolbar { |
|
772 padding: 0; |
|
773 border: none; |
|
774 line-height: 1; |
|
775 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
776 font-size: 11px; |
|
777 padding: 4px 4px; |
|
778 background: #e2e4e7; |
|
779 color: #191e23; } |
|
780 .is-dark-theme .block-editor-block-list__breadcrumb .components-toolbar { |
|
781 background: #40464d; |
|
782 color: #fff; } |
|
783 .block-editor-block-list__block:hover .block-editor-block-list__breadcrumb .components-toolbar { |
|
784 opacity: 0; |
|
785 animation: edit-post__fade-in-animation 60ms ease-out 0.5s; |
|
786 animation-fill-mode: forwards; } |
|
787 @media (prefers-reduced-motion: reduce) { |
|
788 .block-editor-block-list__block:hover .block-editor-block-list__breadcrumb .components-toolbar { |
|
789 animation-duration: 1ms !important; } } |
|
790 .editor-inner-blocks .block-editor-block-list__breadcrumb { |
|
791 z-index: 22; } |
|
792 [data-align="left"] .block-editor-block-list__breadcrumb { |
|
793 left: 0; } |
|
794 [data-align="right"] .block-editor-block-list__breadcrumb { |
|
795 left: auto; |
|
796 right: 0; } |
|
797 |
|
798 .block-editor-block-list__descendant-arrow::before { |
|
799 content: "→"; |
|
800 display: inline-block; |
|
801 padding: 0 4px; } |
|
802 .rtl .block-editor-block-list__descendant-arrow::before { |
|
803 content: "←"; } |
|
804 |
|
805 @media (min-width: 600px) { |
|
806 .block-editor-block-list__block::before { |
|
807 bottom: 0; |
|
808 content: ""; |
|
809 left: -28px; |
|
810 position: absolute; |
|
811 right: -28px; |
|
812 top: 0; } |
|
813 .block-editor-block-list__block .block-editor-block-list__block::before { |
|
814 left: 0; |
|
815 right: 0; } |
|
816 .block-editor-block-list__block[data-align="full"]::before { |
|
817 content: none; } } |
|
818 |
|
819 .block-editor-block-list__block .block-editor-warning { |
|
820 z-index: 5; |
|
821 position: relative; |
|
822 margin-right: -14px; |
|
823 margin-left: -14px; |
|
824 margin-bottom: -14px; |
|
825 transform: translateY(-14px); |
|
826 padding: 10px 14px; } |
|
827 @media (min-width: 600px) { |
|
828 .block-editor-block-list__block .block-editor-warning { |
|
829 padding: 10px 14px; } } |
|
830 |
|
831 .block-list-appender > .block-editor-inserter { |
|
832 display: block; } |
|
833 |
|
834 .block-list-appender__toggle { |
|
835 display: flex; |
|
836 align-items: center; |
|
837 justify-content: center; |
|
838 padding: 16px; |
|
839 outline: 1px dashed #8d96a0; |
|
840 width: 100%; |
|
841 color: #555d66; } |
|
842 .block-list-appender__toggle:hover { |
|
843 outline: 1px dashed #555d66; } |
|
844 |
|
845 /** |
|
846 * Invalid block comparison |
|
847 */ |
|
848 .block-editor-block-compare { |
|
849 overflow: auto; |
|
850 height: auto; } |
|
851 @media (min-width: 600px) { |
|
852 .block-editor-block-compare { |
|
853 max-height: 70%; } } |
|
854 |
|
855 .block-editor-block-compare__wrapper { |
|
856 display: flex; |
|
857 padding-bottom: 16px; } |
|
858 .block-editor-block-compare__wrapper > div { |
|
859 display: flex; |
|
860 justify-content: space-between; |
|
861 flex-direction: column; |
|
862 width: 50%; |
|
863 padding: 0 16px 0 0; |
|
864 min-width: 200px; } |
|
865 .block-editor-block-compare__wrapper > div button { |
|
866 float: right; } |
|
867 .block-editor-block-compare__wrapper .block-editor-block-compare__converted { |
|
868 border-left: 1px solid #ddd; |
|
869 padding-left: 15px; } |
|
870 .block-editor-block-compare__wrapper .block-editor-block-compare__html { |
|
871 font-family: Menlo, Consolas, monaco, monospace; |
|
872 font-size: 12px; |
|
873 color: #23282d; |
|
874 border-bottom: 1px solid #ddd; |
|
875 padding-bottom: 15px; |
|
876 line-height: 1.7; } |
|
877 .block-editor-block-compare__wrapper .block-editor-block-compare__html span { |
|
878 background-color: #e6ffed; |
|
879 padding-top: 3px; |
|
880 padding-bottom: 3px; } |
|
881 .block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added { |
|
882 background-color: #acf2bd; } |
|
883 .block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed { |
|
884 background-color: #d94f4f; } |
|
885 .block-editor-block-compare__wrapper .block-editor-block-compare__preview { |
|
886 padding: 0; |
|
887 padding-top: 14px; } |
|
888 .block-editor-block-compare__wrapper .block-editor-block-compare__preview p { |
|
889 font-size: 12px; |
|
890 margin-top: 0; } |
|
891 .block-editor-block-compare__wrapper .block-editor-block-compare__action { |
|
892 margin-top: 14px; } |
|
893 .block-editor-block-compare__wrapper .block-editor-block-compare__heading { |
|
894 font-size: 1em; |
|
895 font-weight: 400; |
|
896 margin: 0.67em 0; } |
|
897 |
|
898 .block-editor-block-mover { |
|
899 min-height: 56px; |
|
900 opacity: 0; } |
|
901 .block-editor-block-mover.is-visible { |
|
902 animation: edit-post__fade-in-animation 0.2s ease-out 0s; |
|
903 animation-fill-mode: forwards; } |
|
904 @media (prefers-reduced-motion: reduce) { |
|
905 .block-editor-block-mover.is-visible { |
|
906 animation-duration: 1ms !important; } } |
|
907 @media (min-width: 600px) { |
|
908 .block-editor-block-list__block:not([data-align="wide"]):not([data-align="full"]) .block-editor-block-mover { |
|
909 margin-top: -8px; } } |
|
910 |
|
911 .block-editor-block-mover__control { |
|
912 display: flex; |
|
913 align-items: center; |
|
914 justify-content: center; |
|
915 cursor: pointer; |
|
916 padding: 0; |
|
917 width: 28px; |
|
918 height: 24px; |
|
919 color: rgba(14, 28, 46, 0.62); } |
|
920 .block-editor-block-mover__control svg { |
|
921 width: 28px; |
|
922 height: 24px; |
|
923 padding: 2px 5px; } |
|
924 .is-dark-theme .block-editor-block-mover__control { |
|
925 color: rgba(255, 255, 255, 0.65); } |
|
926 .is-dark-theme .wp-block .wp-block .block-editor-block-mover__control, |
|
927 .wp-block .is-dark-theme .wp-block .block-editor-block-mover__control { |
|
928 color: rgba(14, 28, 46, 0.62); } |
|
929 .block-editor-block-mover__control[aria-disabled="true"] { |
|
930 cursor: default; |
|
931 pointer-events: none; |
|
932 color: rgba(130, 148, 147, 0.15); } |
|
933 .is-dark-theme .block-editor-block-mover__control[aria-disabled="true"] { |
|
934 color: rgba(255, 255, 255, 0.2); } |
|
935 |
|
936 .block-editor-block-mover__control-drag-handle { |
|
937 cursor: move; |
|
938 cursor: -webkit-grab; |
|
939 cursor: grab; |
|
940 fill: currentColor; |
|
941 border-radius: 4px; } |
|
942 .block-editor-block-mover__control-drag-handle, .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus { |
|
943 box-shadow: none; |
|
944 background: none; |
|
945 color: rgba(10, 24, 41, 0.7); } |
|
946 .is-dark-theme .block-editor-block-mover__control-drag-handle, .is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, .is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, .is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus { |
|
947 color: rgba(255, 255, 255, 0.75); } |
|
948 .is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle, |
|
949 .wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle, .is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, |
|
950 .wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, .is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, |
|
951 .wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, .is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus, |
|
952 .wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus { |
|
953 color: rgba(10, 24, 41, 0.7); } |
|
954 .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active { |
|
955 cursor: -webkit-grabbing; |
|
956 cursor: grabbing; } |
|
957 |
|
958 .block-editor-block-mover__description { |
|
959 display: none; } |
|
960 |
|
961 @media (min-width: 600px) { |
|
962 .block-editor-block-list__layout [data-align="right"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default), |
|
963 .block-editor-block-list__layout [data-align="left"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default), |
|
964 .block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default), .block-editor-block-list__layout [data-align="right"] |
|
965 .block-editor-block-mover__control, |
|
966 .block-editor-block-list__layout [data-align="left"] |
|
967 .block-editor-block-mover__control, |
|
968 .block-editor-block-list__layout .block-editor-block-list__layout |
|
969 .block-editor-block-mover__control { |
|
970 background: #fff; |
|
971 box-shadow: inset 0 0 0 1px #e2e4e7; } |
|
972 .block-editor-block-list__layout [data-align="right"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):nth-child(-n+2), |
|
973 .block-editor-block-list__layout [data-align="left"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):nth-child(-n+2), |
|
974 .block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):nth-child(-n+2), .block-editor-block-list__layout [data-align="right"] |
|
975 .block-editor-block-mover__control:nth-child(-n+2), |
|
976 .block-editor-block-list__layout [data-align="left"] |
|
977 .block-editor-block-mover__control:nth-child(-n+2), |
|
978 .block-editor-block-list__layout .block-editor-block-list__layout |
|
979 .block-editor-block-mover__control:nth-child(-n+2) { |
|
980 margin-bottom: -1px; } |
|
981 .block-editor-block-list__layout [data-align="right"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, .block-editor-block-list__layout [data-align="right"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, .block-editor-block-list__layout [data-align="right"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus, |
|
982 .block-editor-block-list__layout [data-align="left"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, |
|
983 .block-editor-block-list__layout [data-align="left"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, |
|
984 .block-editor-block-list__layout [data-align="left"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus, |
|
985 .block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, |
|
986 .block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, |
|
987 .block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus, .block-editor-block-list__layout [data-align="right"] |
|
988 .block-editor-block-mover__control:hover, .block-editor-block-list__layout [data-align="right"] |
|
989 .block-editor-block-mover__control:active, .block-editor-block-list__layout [data-align="right"] |
|
990 .block-editor-block-mover__control:focus, |
|
991 .block-editor-block-list__layout [data-align="left"] |
|
992 .block-editor-block-mover__control:hover, |
|
993 .block-editor-block-list__layout [data-align="left"] |
|
994 .block-editor-block-mover__control:active, |
|
995 .block-editor-block-list__layout [data-align="left"] |
|
996 .block-editor-block-mover__control:focus, |
|
997 .block-editor-block-list__layout .block-editor-block-list__layout |
|
998 .block-editor-block-mover__control:hover, |
|
999 .block-editor-block-list__layout .block-editor-block-list__layout |
|
1000 .block-editor-block-mover__control:active, |
|
1001 .block-editor-block-list__layout .block-editor-block-list__layout |
|
1002 .block-editor-block-mover__control:focus { |
|
1003 z-index: 1; } } |
|
1004 |
|
1005 .block-editor-block-navigation__container { |
|
1006 padding: 7px; } |
|
1007 |
|
1008 .block-editor-block-navigation__label { |
|
1009 margin: 0 0 8px; |
|
1010 color: #6c7781; } |
|
1011 |
|
1012 .block-editor-block-navigation__list, |
|
1013 .block-editor-block-navigation__paragraph { |
|
1014 padding: 0; |
|
1015 margin: 0; } |
|
1016 |
|
1017 .block-editor-block-navigation__list .block-editor-block-navigation__list { |
|
1018 margin-top: 2px; |
|
1019 border-left: 2px solid #a2aab2; |
|
1020 margin-left: 1em; } |
|
1021 .block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__list { |
|
1022 margin-left: 1.5em; } |
|
1023 .block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item { |
|
1024 position: relative; } |
|
1025 .block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item::before { |
|
1026 position: absolute; |
|
1027 left: 0; |
|
1028 background: #a2aab2; |
|
1029 width: 0.5em; |
|
1030 height: 2px; |
|
1031 content: ""; |
|
1032 top: calc(50% - 1px); } |
|
1033 .block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item-button { |
|
1034 margin-left: 0.8em; |
|
1035 width: calc(100% - 0.8em); } |
|
1036 .block-editor-block-navigation__list .block-editor-block-navigation__list > li:last-child { |
|
1037 position: relative; } |
|
1038 .block-editor-block-navigation__list .block-editor-block-navigation__list > li:last-child::after { |
|
1039 position: absolute; |
|
1040 content: ""; |
|
1041 background: #fff; |
|
1042 top: 19px; |
|
1043 bottom: 0; |
|
1044 left: -2px; |
|
1045 width: 2px; } |
|
1046 |
|
1047 .block-editor-block-navigation__item-button { |
|
1048 display: flex; |
|
1049 align-items: center; |
|
1050 width: 100%; |
|
1051 padding: 6px; |
|
1052 text-align: left; |
|
1053 color: #40464d; |
|
1054 border-radius: 4px; } |
|
1055 .block-editor-block-navigation__item-button .block-editor-block-icon { |
|
1056 margin-right: 6px; } |
|
1057 .block-editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled="true"]) { |
|
1058 color: #191e23; |
|
1059 border: none; |
|
1060 box-shadow: none; |
|
1061 background: #f3f4f5; } |
|
1062 .block-editor-block-navigation__item-button:focus:not(:disabled):not([aria-disabled="true"]) { |
|
1063 color: #191e23; |
|
1064 border: none; |
|
1065 box-shadow: none; |
|
1066 outline-offset: -2px; |
|
1067 outline: 1px dotted #555d66; } |
|
1068 .block-editor-block-navigation__item-button.is-selected, .block-editor-block-navigation__item-button.is-selected:focus { |
|
1069 color: #32373c; |
|
1070 background: #edeff0; } |
|
1071 |
|
1072 .block-editor-block-preview { |
|
1073 pointer-events: none; |
|
1074 padding: 10px; |
|
1075 overflow: hidden; |
|
1076 display: none; } |
|
1077 @media (min-width: 782px) { |
|
1078 .block-editor-block-preview { |
|
1079 display: block; } } |
|
1080 .block-editor-block-preview .block-editor-block-preview__content { |
|
1081 padding: 14px; |
|
1082 border: 1px solid #e2e4e7; |
|
1083 font-family: "Noto Serif", serif; } |
|
1084 .block-editor-block-preview .block-editor-block-preview__content > div { |
|
1085 transform: scale(0.9); |
|
1086 transform-origin: center top; |
|
1087 font-family: "Noto Serif", serif; } |
|
1088 .block-editor-block-preview .block-editor-block-preview__content > div section { |
|
1089 height: auto; } |
|
1090 .block-editor-block-preview .block-editor-block-preview__content > .reusable-block-indicator { |
|
1091 display: none; } |
|
1092 |
|
1093 .block-editor-block-preview__title { |
|
1094 margin-bottom: 10px; |
|
1095 color: #6c7781; } |
|
1096 |
|
1097 .block-editor-block-settings-menu__toggle .dashicon { |
|
1098 transform: rotate(90deg); } |
|
1099 |
|
1100 .block-editor-block-settings-menu__popover::before, .block-editor-block-settings-menu__popover::after { |
|
1101 margin-left: 2px; } |
|
1102 |
|
1103 .block-editor-block-settings-menu__popover .block-editor-block-settings-menu__content { |
|
1104 padding: 7px 0; } |
|
1105 |
|
1106 .block-editor-block-settings-menu__popover .block-editor-block-settings-menu__separator { |
|
1107 margin-top: 8px; |
|
1108 margin-bottom: 8px; |
|
1109 margin-left: 0; |
|
1110 margin-right: 0; |
|
1111 border-top: 1px solid #e2e4e7; } |
|
1112 .block-editor-block-settings-menu__popover .block-editor-block-settings-menu__separator:last-child { |
|
1113 display: none; } |
|
1114 |
|
1115 .block-editor-block-settings-menu__popover .block-editor-block-settings-menu__title { |
|
1116 display: block; |
|
1117 padding: 6px; |
|
1118 color: #6c7781; } |
|
1119 |
|
1120 .block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control { |
|
1121 width: 100%; |
|
1122 justify-content: flex-start; |
|
1123 background: none; |
|
1124 outline: none; |
|
1125 border-radius: 0; |
|
1126 color: #555d66; |
|
1127 text-align: left; |
|
1128 cursor: pointer; |
|
1129 border: none; |
|
1130 box-shadow: none; } |
|
1131 .block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control:hover:not(:disabled):not([aria-disabled="true"]) { |
|
1132 color: #191e23; |
|
1133 border: none; |
|
1134 box-shadow: none; |
|
1135 background: #f3f4f5; } |
|
1136 .block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control:focus:not(:disabled):not([aria-disabled="true"]) { |
|
1137 color: #191e23; |
|
1138 border: none; |
|
1139 box-shadow: none; |
|
1140 outline-offset: -2px; |
|
1141 outline: 1px dotted #555d66; } |
|
1142 .block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control .dashicon { |
|
1143 margin-right: 5px; } |
|
1144 |
|
1145 .block-editor-block-styles { |
|
1146 display: flex; |
|
1147 flex-wrap: wrap; |
|
1148 justify-content: space-between; } |
|
1149 |
|
1150 .block-editor-block-styles__item { |
|
1151 width: calc(50% - 4px); |
|
1152 margin: 4px 0; |
|
1153 flex-shrink: 0; |
|
1154 cursor: pointer; |
|
1155 overflow: hidden; |
|
1156 border-radius: 4px; |
|
1157 padding: 4px; } |
|
1158 .block-editor-block-styles__item.is-active { |
|
1159 color: #191e23; |
|
1160 box-shadow: 0 0 0 2px #00a0d2; |
|
1161 outline: 2px solid transparent; |
|
1162 outline-offset: -2px; |
|
1163 box-shadow: 0 0 0 2px #555d66; } |
|
1164 .block-editor-block-styles__item:focus { |
|
1165 color: #191e23; |
|
1166 box-shadow: 0 0 0 2px #00a0d2; |
|
1167 outline: 2px solid transparent; |
|
1168 outline-offset: -2px; } |
|
1169 .block-editor-block-styles__item:hover { |
|
1170 background: #f3f4f5; |
|
1171 color: #191e23; } |
|
1172 |
|
1173 .block-editor-block-styles__item-preview { |
|
1174 outline: 1px solid transparent; |
|
1175 border: 1px solid rgba(25, 30, 35, 0.2); |
|
1176 overflow: hidden; |
|
1177 padding: 0; |
|
1178 text-align: initial; |
|
1179 border-radius: 4px; |
|
1180 display: flex; |
|
1181 height: 60px; |
|
1182 background: #fff; } |
|
1183 .block-editor-block-styles__item-preview .block-editor-block-preview__content { |
|
1184 transform: scale(0.7); |
|
1185 transform-origin: center center; |
|
1186 width: 100%; |
|
1187 margin: 0; |
|
1188 padding: 0; |
|
1189 overflow: visible; |
|
1190 min-height: auto; } |
|
1191 |
|
1192 .block-editor-block-styles__item-label { |
|
1193 text-align: center; |
|
1194 padding: 4px 2px; } |
|
1195 |
|
1196 .block-editor-block-switcher { |
|
1197 position: relative; |
|
1198 height: 36px; } |
|
1199 |
|
1200 .components-icon-button.block-editor-block-switcher__toggle, |
|
1201 .components-icon-button.block-editor-block-switcher__no-switcher-icon { |
|
1202 margin: 0; |
|
1203 display: block; |
|
1204 height: 36px; |
|
1205 padding: 3px; } |
|
1206 |
|
1207 .components-icon-button.block-editor-block-switcher__no-switcher-icon { |
|
1208 width: 48px; } |
|
1209 .components-icon-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon { |
|
1210 margin-right: auto; |
|
1211 margin-left: auto; } |
|
1212 |
|
1213 .components-button.block-editor-block-switcher__no-switcher-icon:disabled { |
|
1214 background: #f3f4f5; |
|
1215 border-radius: 0; |
|
1216 opacity: 0.84; } |
|
1217 .components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors { |
|
1218 color: #555d66 !important; } |
|
1219 |
|
1220 .components-icon-button.block-editor-block-switcher__toggle { |
|
1221 width: auto; } |
|
1222 .components-icon-button.block-editor-block-switcher__toggle:active, .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled="true"]):hover, .components-icon-button.block-editor-block-switcher__toggle:not([aria-disabled="true"]):focus { |
|
1223 outline: none; |
|
1224 box-shadow: none; |
|
1225 background: none; |
|
1226 border: none; } |
|
1227 .components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon, |
|
1228 .components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform { |
|
1229 width: 42px; |
|
1230 height: 30px; |
|
1231 position: relative; |
|
1232 margin: 0 auto; |
|
1233 padding: 3px; |
|
1234 display: flex; |
|
1235 align-items: center; |
|
1236 transition: all 0.1s cubic-bezier(0.165, 0.84, 0.44, 1); } |
|
1237 .components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon::after { |
|
1238 content: ""; |
|
1239 pointer-events: none; |
|
1240 display: block; |
|
1241 width: 0; |
|
1242 height: 0; |
|
1243 border-left: 3px solid transparent; |
|
1244 border-right: 3px solid transparent; |
|
1245 border-top: 5px solid currentColor; |
|
1246 margin-left: 4px; |
|
1247 margin-right: 2px; } |
|
1248 .components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform { |
|
1249 margin-top: 6px; |
|
1250 border-radius: 4px; } |
|
1251 .components-icon-button.block-editor-block-switcher__toggle[aria-expanded="true"] .block-editor-block-icon, |
|
1252 .components-icon-button.block-editor-block-switcher__toggle[aria-expanded="true"] .block-editor-block-switcher__transform, |
|
1253 .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon, |
|
1254 .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform, |
|
1255 .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon, |
|
1256 .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform { |
|
1257 transform: translateY(-36px); } |
|
1258 .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon, |
|
1259 .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform { |
|
1260 box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; |
|
1261 outline: 2px solid transparent; |
|
1262 outline-offset: -2px; } |
|
1263 |
|
1264 .components-popover:not(.is-mobile).block-editor-block-switcher__popover .components-popover__content { |
|
1265 min-width: 300px; |
|
1266 max-width: 340px; } |
|
1267 |
|
1268 @media (min-width: 782px) { |
|
1269 .block-editor-block-switcher__popover .components-popover__content { |
|
1270 position: relative; } |
|
1271 .block-editor-block-switcher__popover .components-popover__content .block-editor-block-preview { |
|
1272 border: 1px solid #e2e4e7; |
|
1273 box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1); |
|
1274 background: #fff; |
|
1275 position: absolute; |
|
1276 left: 100%; |
|
1277 top: -1px; |
|
1278 bottom: -1px; |
|
1279 width: 300px; |
|
1280 height: auto; } } |
|
1281 |
|
1282 .block-editor-block-switcher__popover .components-popover__content .components-panel__body { |
|
1283 border: 0; |
|
1284 position: relative; |
|
1285 z-index: 1; } |
|
1286 |
|
1287 .block-editor-block-switcher__popover .components-popover__content .components-panel__body + .components-panel__body { |
|
1288 border-top: 1px solid #e2e4e7; } |
|
1289 |
|
1290 .block-editor-block-switcher__popover:not(.is-mobile) > .components-popover__content { |
|
1291 overflow-y: visible; } |
|
1292 |
|
1293 .block-editor-block-switcher__popover .block-editor-block-styles { |
|
1294 margin: 0 -3px; } |
|
1295 |
|
1296 .block-editor-block-switcher__popover .block-editor-block-types-list { |
|
1297 margin: 8px -8px -8px; } |
|
1298 |
|
1299 .block-editor-block-toolbar { |
|
1300 display: flex; |
|
1301 flex-grow: 1; |
|
1302 width: 100%; |
|
1303 overflow: auto; |
|
1304 position: relative; |
|
1305 transition: border-color 0.1s linear, box-shadow 0.1s linear; |
|
1306 border-left: 1px solid #b5bcc2; } |
|
1307 @media (min-width: 600px) { |
|
1308 .block-editor-block-toolbar { |
|
1309 overflow: inherit; |
|
1310 border-left: none; |
|
1311 box-shadow: -3px 0 0 0 #555d66; } |
|
1312 .is-dark-theme .block-editor-block-toolbar { |
|
1313 box-shadow: -3px 0 0 0 #d7dade; } } |
|
1314 .block-editor-block-toolbar .components-toolbar { |
|
1315 border: 0; |
|
1316 border-top: 1px solid #b5bcc2; |
|
1317 border-bottom: 1px solid #b5bcc2; |
|
1318 border-right: 1px solid #b5bcc2; } |
|
1319 .has-fixed-toolbar .block-editor-block-toolbar { |
|
1320 box-shadow: none; |
|
1321 border-left: 1px solid #e2e4e7; } |
|
1322 .has-fixed-toolbar .block-editor-block-toolbar .components-toolbar { |
|
1323 border-color: #e2e4e7; } |
|
1324 |
|
1325 .block-editor-block-types-list { |
|
1326 list-style: none; |
|
1327 padding: 2px 0; |
|
1328 overflow: hidden; |
|
1329 display: flex; |
|
1330 flex-wrap: wrap; } |
|
1331 |
|
1332 .block-editor-color-palette-control__color-palette { |
|
1333 display: inline-block; |
|
1334 margin-top: 0.6rem; } |
|
1335 |
|
1336 .block-editor-contrast-checker > .components-notice { |
|
1337 margin: 0; } |
|
1338 |
|
1339 .block-editor-default-block-appender { |
|
1340 clear: both; } |
|
1341 .block-editor-default-block-appender textarea.block-editor-default-block-appender__content { |
|
1342 font-family: "Noto Serif", serif; |
|
1343 font-size: 16px; |
|
1344 border: none; |
|
1345 background: none; |
|
1346 box-shadow: none; |
|
1347 display: block; |
|
1348 cursor: text; |
|
1349 width: 100%; |
|
1350 outline: 1px solid transparent; |
|
1351 transition: 0.2s outline; |
|
1352 resize: none; |
|
1353 padding: 0 50px 0 14px; |
|
1354 color: rgba(14, 28, 46, 0.62); } |
|
1355 .is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content { |
|
1356 color: rgba(255, 255, 255, 0.65); } |
|
1357 .block-editor-default-block-appender .block-editor-inserter__toggle:not([aria-expanded="true"]) { |
|
1358 opacity: 0; |
|
1359 transition: opacity 0.2s; } |
|
1360 .block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts { |
|
1361 animation: edit-post__fade-in-animation 0.2s ease-out 0s; |
|
1362 animation-fill-mode: forwards; } |
|
1363 @media (prefers-reduced-motion: reduce) { |
|
1364 .block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts { |
|
1365 animation-duration: 1ms !important; } } |
|
1366 .block-editor-default-block-appender:hover .block-editor-inserter__toggle { |
|
1367 opacity: 1; } |
|
1368 .block-editor-default-block-appender .components-drop-zone__content-icon { |
|
1369 display: none; } |
|
1370 |
|
1371 .block-editor-block-list__empty-block-inserter, |
|
1372 .block-editor-default-block-appender .block-editor-inserter, |
|
1373 .block-editor-inserter-with-shortcuts { |
|
1374 position: absolute; |
|
1375 top: 0; } |
|
1376 .block-editor-block-list__empty-block-inserter .components-icon-button, |
|
1377 .block-editor-default-block-appender .block-editor-inserter .components-icon-button, |
|
1378 .block-editor-inserter-with-shortcuts .components-icon-button { |
|
1379 width: 28px; |
|
1380 height: 28px; |
|
1381 margin-right: 12px; |
|
1382 padding: 0; } |
|
1383 .block-editor-block-list__empty-block-inserter .block-editor-block-icon, |
|
1384 .block-editor-default-block-appender .block-editor-inserter .block-editor-block-icon, |
|
1385 .block-editor-inserter-with-shortcuts .block-editor-block-icon { |
|
1386 margin: auto; } |
|
1387 .block-editor-block-list__empty-block-inserter .components-icon-button svg, |
|
1388 .block-editor-default-block-appender .block-editor-inserter .components-icon-button svg, |
|
1389 .block-editor-inserter-with-shortcuts .components-icon-button svg { |
|
1390 display: block; |
|
1391 margin: auto; } |
|
1392 .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle, |
|
1393 .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle, |
|
1394 .block-editor-inserter-with-shortcuts .block-editor-inserter__toggle { |
|
1395 margin-right: 0; } |
|
1396 .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, |
|
1397 .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, |
|
1398 .block-editor-inserter-with-shortcuts .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { |
|
1399 box-shadow: none; } |
|
1400 |
|
1401 .block-editor-block-list__empty-block-inserter, |
|
1402 .block-editor-default-block-appender .block-editor-inserter { |
|
1403 right: 8px; } |
|
1404 @media (min-width: 600px) { |
|
1405 .block-editor-block-list__empty-block-inserter, |
|
1406 .block-editor-default-block-appender .block-editor-inserter { |
|
1407 left: -44px; |
|
1408 right: auto; } } |
|
1409 .block-editor-block-list__empty-block-inserter:disabled, |
|
1410 .block-editor-default-block-appender .block-editor-inserter:disabled { |
|
1411 display: none; } |
|
1412 .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle, |
|
1413 .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle { |
|
1414 border-radius: 50%; |
|
1415 width: 28px; |
|
1416 height: 28px; |
|
1417 padding: 0; } |
|
1418 .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover), |
|
1419 .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover) { |
|
1420 color: rgba(10, 24, 41, 0.7); } |
|
1421 .is-dark-theme .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover), .is-dark-theme |
|
1422 .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover) { |
|
1423 color: rgba(255, 255, 255, 0.75); } |
|
1424 |
|
1425 .block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts, |
|
1426 .block-editor-default-block-appender .block-editor-inserter-with-shortcuts { |
|
1427 right: 14px; |
|
1428 display: none; |
|
1429 z-index: 5; } |
|
1430 @media (min-width: 600px) { |
|
1431 .block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts, |
|
1432 .block-editor-default-block-appender .block-editor-inserter-with-shortcuts { |
|
1433 right: 0; |
|
1434 display: flex; } } |
|
1435 |
|
1436 .block-editor__container .components-popover.components-font-size-picker__dropdown-content.is-bottom { |
|
1437 z-index: 100001; } |
|
1438 |
|
1439 .block-editor-inner-blocks.has-overlay::after { |
|
1440 content: ""; |
|
1441 position: absolute; |
|
1442 top: 0; |
|
1443 right: 0; |
|
1444 bottom: 0; |
|
1445 left: 0; |
|
1446 z-index: 120; } |
|
1447 |
|
1448 .block-editor-inserter-with-shortcuts { |
|
1449 display: flex; |
|
1450 align-items: center; } |
|
1451 .block-editor-inserter-with-shortcuts .components-icon-button { |
|
1452 border-radius: 4px; } |
|
1453 .block-editor-inserter-with-shortcuts .components-icon-button svg:not(.dashicon) { |
|
1454 height: 24px; |
|
1455 width: 24px; } |
|
1456 |
|
1457 .block-editor-inserter-with-shortcuts__block { |
|
1458 margin-right: 4px; |
|
1459 width: 36px; |
|
1460 height: 36px; |
|
1461 padding-top: 8px; |
|
1462 color: rgba(10, 24, 41, 0.7); } |
|
1463 .is-dark-theme .block-editor-inserter-with-shortcuts__block { |
|
1464 color: rgba(255, 255, 255, 0.75); } |
|
1465 |
|
1466 .block-editor-inserter { |
|
1467 display: inline-block; |
|
1468 background: none; |
|
1469 border: none; |
|
1470 padding: 0; |
|
1471 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
1472 font-size: 13px; |
|
1473 line-height: 1.4; } |
|
1474 @media (min-width: 782px) { |
|
1475 .block-editor-inserter { |
|
1476 position: relative; } } |
|
1477 |
|
1478 @media (min-width: 782px) { |
|
1479 .block-editor-inserter__popover:not(.is-mobile) > .components-popover__content { |
|
1480 overflow-y: visible; |
|
1481 height: 432px; } } |
|
1482 |
|
1483 .block-editor-inserter__toggle { |
|
1484 display: inline-flex; |
|
1485 align-items: center; |
|
1486 color: #555d66; |
|
1487 background: none; |
|
1488 cursor: pointer; |
|
1489 border: none; |
|
1490 outline: none; |
|
1491 transition: color 0.2s ease; } |
|
1492 |
|
1493 .block-editor-inserter__menu { |
|
1494 width: auto; |
|
1495 display: flex; |
|
1496 flex-direction: column; |
|
1497 height: 100%; } |
|
1498 @media (min-width: 782px) { |
|
1499 .block-editor-inserter__menu { |
|
1500 width: 400px; |
|
1501 position: relative; } |
|
1502 .block-editor-inserter__menu .block-editor-block-preview { |
|
1503 border: 1px solid #e2e4e7; |
|
1504 box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1); |
|
1505 background: #fff; |
|
1506 position: absolute; |
|
1507 left: 100%; |
|
1508 top: -1px; |
|
1509 bottom: -1px; |
|
1510 width: 300px; } } |
|
1511 |
|
1512 .block-editor-inserter__inline-elements { |
|
1513 margin-top: -1px; } |
|
1514 |
|
1515 .block-editor-inserter__menu.is-bottom::after { |
|
1516 border-bottom-color: #fff; } |
|
1517 |
|
1518 .components-popover input[type="search"].block-editor-inserter__search { |
|
1519 display: block; |
|
1520 margin: 16px; |
|
1521 padding: 11px 16px; |
|
1522 position: relative; |
|
1523 z-index: 1; |
|
1524 border-radius: 4px; |
|
1525 /* Fonts smaller than 16px causes mobile safari to zoom. */ |
|
1526 font-size: 16px; } |
|
1527 @media (min-width: 600px) { |
|
1528 .components-popover input[type="search"].block-editor-inserter__search { |
|
1529 font-size: 13px; } } |
|
1530 .components-popover input[type="search"].block-editor-inserter__search:focus { |
|
1531 color: #191e23; |
|
1532 border-color: #00a0d2; |
|
1533 box-shadow: 0 0 0 1px #00a0d2; |
|
1534 outline: 2px solid transparent; |
|
1535 outline-offset: -2px; } |
|
1536 |
|
1537 .block-editor-inserter__results { |
|
1538 flex-grow: 1; |
|
1539 overflow: auto; |
|
1540 position: relative; |
|
1541 z-index: 1; |
|
1542 padding: 0 16px 16px 16px; } |
|
1543 .block-editor-inserter__results:focus { |
|
1544 outline: 1px dotted #555d66; } |
|
1545 @media (min-width: 782px) { |
|
1546 .block-editor-inserter__results { |
|
1547 height: 394px; } } |
|
1548 .block-editor-inserter__results [role="presentation"] + .components-panel__body { |
|
1549 border-top: none; } |
|
1550 |
|
1551 .block-editor-inserter__popover .block-editor-block-types-list { |
|
1552 margin: 0 -8px; } |
|
1553 |
|
1554 .block-editor-inserter__reusable-blocks-panel { |
|
1555 position: relative; |
|
1556 text-align: right; } |
|
1557 |
|
1558 .block-editor-inserter__manage-reusable-blocks { |
|
1559 margin: 16px 0 0 16px; } |
|
1560 |
|
1561 .block-editor-inserter__no-results { |
|
1562 font-style: italic; |
|
1563 padding: 24px; |
|
1564 text-align: center; } |
|
1565 |
|
1566 .block-editor-inserter__child-blocks { |
|
1567 padding: 0 16px; } |
|
1568 |
|
1569 .block-editor-inserter__parent-block-header { |
|
1570 display: flex; |
|
1571 align-items: center; } |
|
1572 .block-editor-inserter__parent-block-header h2 { |
|
1573 font-size: 13px; } |
|
1574 .block-editor-inserter__parent-block-header .block-editor-block-icon { |
|
1575 margin-right: 8px; } |
|
1576 |
|
1577 .block-editor-block-types-list__list-item { |
|
1578 display: block; |
|
1579 width: 33.33%; |
|
1580 padding: 0 4px; |
|
1581 margin: 0 0 12px; } |
|
1582 |
|
1583 .block-editor-block-types-list__item { |
|
1584 display: flex; |
|
1585 flex-direction: column; |
|
1586 width: 100%; |
|
1587 font-size: 13px; |
|
1588 color: #32373c; |
|
1589 padding: 0; |
|
1590 align-items: stretch; |
|
1591 justify-content: center; |
|
1592 cursor: pointer; |
|
1593 background: transparent; |
|
1594 word-break: break-word; |
|
1595 border-radius: 4px; |
|
1596 border: 1px solid transparent; |
|
1597 transition: all 0.05s ease-in-out; |
|
1598 position: relative; } |
|
1599 .block-editor-block-types-list__item:disabled { |
|
1600 opacity: 0.6; |
|
1601 cursor: default; } |
|
1602 .block-editor-block-types-list__item:not(:disabled):hover::before { |
|
1603 content: ""; |
|
1604 display: block; |
|
1605 background: #f3f4f5; |
|
1606 color: #191e23; |
|
1607 position: absolute; |
|
1608 z-index: -1; |
|
1609 border-radius: 4px; |
|
1610 top: 0; |
|
1611 right: 0; |
|
1612 bottom: 0; |
|
1613 left: 0; } |
|
1614 .block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon, |
|
1615 .block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title { |
|
1616 color: currentColor; } |
|
1617 .block-editor-block-types-list__item:not(:disabled):active, .block-editor-block-types-list__item:not(:disabled).is-active, .block-editor-block-types-list__item:not(:disabled):focus { |
|
1618 position: relative; |
|
1619 outline: none; |
|
1620 color: #191e23; |
|
1621 box-shadow: 0 0 0 2px #00a0d2; |
|
1622 outline: 2px solid transparent; |
|
1623 outline-offset: -2px; } |
|
1624 .block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon, |
|
1625 .block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title, .block-editor-block-types-list__item:not(:disabled).is-active .block-editor-block-types-list__item-icon, |
|
1626 .block-editor-block-types-list__item:not(:disabled).is-active .block-editor-block-types-list__item-title, .block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon, |
|
1627 .block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title { |
|
1628 color: currentColor; } |
|
1629 |
|
1630 .block-editor-block-types-list__item-icon { |
|
1631 padding: 12px 20px; |
|
1632 border-radius: 4px; |
|
1633 color: #555d66; |
|
1634 transition: all 0.05s ease-in-out; } |
|
1635 .block-editor-block-types-list__item-icon .block-editor-block-icon { |
|
1636 margin-left: auto; |
|
1637 margin-right: auto; } |
|
1638 .block-editor-block-types-list__item-icon svg { |
|
1639 transition: all 0.15s ease-out; } |
|
1640 |
|
1641 .block-editor-block-types-list__item-title { |
|
1642 padding: 4px 2px 8px; } |
|
1643 |
|
1644 .block-editor-block-types-list__item-has-children .block-editor-block-types-list__item-icon { |
|
1645 background: #fff; |
|
1646 margin-right: 3px; |
|
1647 margin-bottom: 6px; |
|
1648 padding: 9px 20px 9px; |
|
1649 position: relative; |
|
1650 top: -2px; |
|
1651 left: -2px; |
|
1652 box-shadow: 0 0 0 1px #e2e4e7; } |
|
1653 |
|
1654 .block-editor-block-types-list__item-has-children .block-editor-block-types-list__item-icon-stack { |
|
1655 display: block; |
|
1656 background: #fff; |
|
1657 box-shadow: 0 0 0 1px #e2e4e7; |
|
1658 width: 100%; |
|
1659 height: 100%; |
|
1660 position: absolute; |
|
1661 z-index: -1; |
|
1662 bottom: -6px; |
|
1663 right: -6px; |
|
1664 border-radius: 4px; } |
|
1665 |
|
1666 .block-editor-media-placeholder__url-input-container { |
|
1667 width: 100%; } |
|
1668 .block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button { |
|
1669 margin-bottom: 0; } |
|
1670 |
|
1671 .block-editor-media-placeholder__url-input-form { |
|
1672 display: flex; } |
|
1673 .block-editor-media-placeholder__url-input-form input[type="url"].block-editor-media-placeholder__url-input-field { |
|
1674 width: 100%; |
|
1675 flex-grow: 1; |
|
1676 border: none; |
|
1677 border-radius: 0; |
|
1678 margin: 2px; } |
|
1679 @media (min-width: 600px) { |
|
1680 .block-editor-media-placeholder__url-input-form input[type="url"].block-editor-media-placeholder__url-input-field { |
|
1681 width: 300px; } } |
|
1682 |
|
1683 .block-editor-media-placeholder__url-input-submit-button { |
|
1684 flex-shrink: 1; } |
|
1685 |
|
1686 .block-editor-media-placeholder__button { |
|
1687 margin-bottom: 0.5rem; } |
|
1688 .block-editor-media-placeholder__button .dashicon { |
|
1689 vertical-align: middle; |
|
1690 margin-bottom: 3px; } |
|
1691 .block-editor-media-placeholder__button:hover { |
|
1692 color: #23282d; } |
|
1693 |
|
1694 .components-form-file-upload .block-editor-media-placeholder__button { |
|
1695 margin-right: 4px; } |
|
1696 |
|
1697 .block-editor-multi-selection-inspector__card { |
|
1698 display: flex; |
|
1699 align-items: flex-start; |
|
1700 margin: -16px; |
|
1701 padding: 16px; } |
|
1702 |
|
1703 .block-editor-multi-selection-inspector__card-content { |
|
1704 flex-grow: 1; } |
|
1705 |
|
1706 .block-editor-multi-selection-inspector__card-title { |
|
1707 font-weight: 500; |
|
1708 margin-bottom: 5px; } |
|
1709 |
|
1710 .block-editor-multi-selection-inspector__card-description { |
|
1711 font-size: 13px; } |
|
1712 |
|
1713 .block-editor-multi-selection-inspector__card .block-editor-block-icon { |
|
1714 margin-left: -2px; |
|
1715 margin-right: 10px; |
|
1716 padding: 0 3px; |
|
1717 width: 36px; |
|
1718 height: 24px; } |
|
1719 |
|
1720 .block-editor-panel-color-settings .component-color-indicator { |
|
1721 vertical-align: text-bottom; } |
|
1722 |
|
1723 .block-editor-panel-color-settings__panel-title .component-color-indicator { |
|
1724 display: inline-block; } |
|
1725 |
|
1726 .block-editor-panel-color-settings.is-opened .block-editor-panel-color-settings__panel-title .component-color-indicator { |
|
1727 display: none; } |
|
1728 |
|
1729 .block-editor .block-editor-plain-text { |
|
1730 box-shadow: none; |
|
1731 font-family: inherit; |
|
1732 font-size: inherit; |
|
1733 color: inherit; |
|
1734 line-height: inherit; |
|
1735 border: none; |
|
1736 padding: 0; |
|
1737 margin: 0; |
|
1738 width: 100%; } |
|
1739 |
|
1740 .block-editor-format-toolbar { |
|
1741 display: flex; |
|
1742 flex-shrink: 0; } |
|
1743 |
|
1744 .block-editor-format-toolbar__selection-position { |
|
1745 position: absolute; |
|
1746 transform: translateX(-50%); } |
|
1747 |
|
1748 .block-editor-format-toolbar .components-dropdown-menu__toggle .components-dropdown-menu__indicator::after { |
|
1749 margin: 7px; } |
|
1750 |
|
1751 .block-editor-rich-text { |
|
1752 position: relative; } |
|
1753 |
|
1754 .block-editor-rich-text__editable { |
|
1755 margin: 0; |
|
1756 position: relative; |
|
1757 white-space: pre-wrap !important; } |
|
1758 .block-editor-rich-text__editable > p:first-child { |
|
1759 margin-top: 0; } |
|
1760 .block-editor-rich-text__editable a { |
|
1761 color: #007fac; } |
|
1762 .block-editor-rich-text__editable code { |
|
1763 padding: 2px; |
|
1764 border-radius: 2px; |
|
1765 color: #23282d; |
|
1766 background: #f3f4f5; |
|
1767 font-family: Menlo, Consolas, monaco, monospace; |
|
1768 font-size: inherit; } |
|
1769 .is-multi-selected .block-editor-rich-text__editable code { |
|
1770 background: #67cffd; } |
|
1771 .block-editor-rich-text__editable:focus { |
|
1772 outline: none; } |
|
1773 .block-editor-rich-text__editable:focus *[data-rich-text-format-boundary] { |
|
1774 border-radius: 2px; } |
|
1775 .block-editor-rich-text__editable[data-is-placeholder-visible="true"] { |
|
1776 position: absolute; |
|
1777 top: 0; |
|
1778 width: 100%; |
|
1779 margin-top: 0; |
|
1780 height: 100%; } |
|
1781 .block-editor-rich-text__editable[data-is-placeholder-visible="true"] > p { |
|
1782 margin-top: 0; } |
|
1783 .block-editor-rich-text__editable + .block-editor-rich-text__editable { |
|
1784 pointer-events: none; } |
|
1785 .block-editor-rich-text__editable + .block-editor-rich-text__editable, |
|
1786 .block-editor-rich-text__editable + .block-editor-rich-text__editable p { |
|
1787 opacity: 0.62; } |
|
1788 .block-editor-rich-text__editable[data-is-placeholder-visible="true"] + figcaption.block-editor-rich-text__editable { |
|
1789 opacity: 0.8; } |
|
1790 |
|
1791 .block-editor-rich-text__inline-toolbar { |
|
1792 display: flex; |
|
1793 justify-content: center; |
|
1794 position: absolute; |
|
1795 top: -40px; |
|
1796 line-height: 0; |
|
1797 left: 0; |
|
1798 right: 0; |
|
1799 z-index: 1; } |
|
1800 .block-editor-rich-text__inline-toolbar ul.components-toolbar { |
|
1801 box-shadow: 0 2px 10px rgba(25, 30, 35, 0.1), 0 0 2px rgba(25, 30, 35, 0.1); } |
|
1802 |
|
1803 .block-editor-skip-to-selected-block { |
|
1804 position: absolute; |
|
1805 top: -9999em; } |
|
1806 .block-editor-skip-to-selected-block:focus { |
|
1807 height: auto; |
|
1808 width: auto; |
|
1809 display: block; |
|
1810 font-size: 14px; |
|
1811 font-weight: 600; |
|
1812 padding: 15px 23px 14px; |
|
1813 background: #f1f1f1; |
|
1814 color: #11a0d2; |
|
1815 line-height: normal; |
|
1816 box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); |
|
1817 text-decoration: none; |
|
1818 outline: none; |
|
1819 z-index: 100000; } |
|
1820 body.admin-color-sunrise .block-editor-skip-to-selected-block:focus{ |
|
1821 color: #c8b03c; } |
|
1822 body.admin-color-ocean .block-editor-skip-to-selected-block:focus{ |
|
1823 color: #a89d8a; } |
|
1824 body.admin-color-midnight .block-editor-skip-to-selected-block:focus{ |
|
1825 color: #77a6b9; } |
|
1826 body.admin-color-ectoplasm .block-editor-skip-to-selected-block:focus{ |
|
1827 color: #c77430; } |
|
1828 body.admin-color-coffee .block-editor-skip-to-selected-block:focus{ |
|
1829 color: #9fa47b; } |
|
1830 body.admin-color-blue .block-editor-skip-to-selected-block:focus{ |
|
1831 color: #d9ab59; } |
|
1832 body.admin-color-light .block-editor-skip-to-selected-block:focus{ |
|
1833 color: #c75726; } |
|
1834 |
|
1835 .block-editor-block-list__block .block-editor-url-input, |
|
1836 .components-popover .block-editor-url-input, |
|
1837 .block-editor-url-input { |
|
1838 flex-grow: 1; |
|
1839 position: relative; |
|
1840 padding: 1px; } |
|
1841 .block-editor-block-list__block .block-editor-url-input input[type="text"], |
|
1842 .components-popover .block-editor-url-input input[type="text"], |
|
1843 .block-editor-url-input input[type="text"] { |
|
1844 width: 100%; |
|
1845 padding: 8px; |
|
1846 border: none; |
|
1847 border-radius: 0; |
|
1848 margin-left: 0; |
|
1849 margin-right: 0; |
|
1850 /* Fonts smaller than 16px causes mobile safari to zoom. */ |
|
1851 font-size: 16px; } |
|
1852 @media (min-width: 600px) { |
|
1853 .block-editor-block-list__block .block-editor-url-input input[type="text"], |
|
1854 .components-popover .block-editor-url-input input[type="text"], |
|
1855 .block-editor-url-input input[type="text"] { |
|
1856 width: 300px; } } |
|
1857 @media (min-width: 600px) { |
|
1858 .block-editor-block-list__block .block-editor-url-input input[type="text"], |
|
1859 .components-popover .block-editor-url-input input[type="text"], |
|
1860 .block-editor-url-input input[type="text"] { |
|
1861 font-size: 13px; } } |
|
1862 .block-editor-block-list__block .block-editor-url-input input[type="text"]::-ms-clear, |
|
1863 .components-popover .block-editor-url-input input[type="text"]::-ms-clear, |
|
1864 .block-editor-url-input input[type="text"]::-ms-clear { |
|
1865 display: none; } |
|
1866 .block-editor-block-list__block .block-editor-url-input .components-spinner, |
|
1867 .components-popover .block-editor-url-input .components-spinner, |
|
1868 .block-editor-url-input .components-spinner { |
|
1869 position: absolute; |
|
1870 right: 8px; |
|
1871 top: 9px; |
|
1872 margin: 0; } |
|
1873 |
|
1874 .block-editor-url-input__suggestions { |
|
1875 max-height: 200px; |
|
1876 transition: all 0.15s ease-in-out; |
|
1877 padding: 4px 0; |
|
1878 width: 302px; |
|
1879 overflow-y: auto; } |
|
1880 |
|
1881 .block-editor-url-input__suggestions, |
|
1882 .block-editor-url-input .components-spinner { |
|
1883 display: none; } |
|
1884 @media (min-width: 600px) { |
|
1885 .block-editor-url-input__suggestions, |
|
1886 .block-editor-url-input .components-spinner { |
|
1887 display: inherit; } } |
|
1888 |
|
1889 .block-editor-url-input__suggestion { |
|
1890 padding: 4px 8px; |
|
1891 color: #6c7781; |
|
1892 display: block; |
|
1893 font-size: 13px; |
|
1894 cursor: pointer; |
|
1895 background: #fff; |
|
1896 width: 100%; |
|
1897 border: none; |
|
1898 text-align: left; |
|
1899 border: none; |
|
1900 box-shadow: none; } |
|
1901 .block-editor-url-input__suggestion:hover { |
|
1902 background: #e2e4e7; } |
|
1903 .block-editor-url-input__suggestion:focus, .block-editor-url-input__suggestion.is-selected { |
|
1904 background: rgb(0, 113, 158); |
|
1905 color: #fff; |
|
1906 outline: none; } |
|
1907 body.admin-color-sunrise .block-editor-url-input__suggestion:focus, body.admin-color-sunrise .block-editor-url-input__suggestion.is-selected{ |
|
1908 background: rgb(178, 114, 63); } |
|
1909 body.admin-color-ocean .block-editor-url-input__suggestion:focus, body.admin-color-ocean .block-editor-url-input__suggestion.is-selected{ |
|
1910 background: rgb(139, 157, 138); } |
|
1911 body.admin-color-midnight .block-editor-url-input__suggestion:focus, body.admin-color-midnight .block-editor-url-input__suggestion.is-selected{ |
|
1912 background: rgb(191, 65, 57); } |
|
1913 body.admin-color-ectoplasm .block-editor-url-input__suggestion:focus, body.admin-color-ectoplasm .block-editor-url-input__suggestion.is-selected{ |
|
1914 background: rgb(142, 155, 73); } |
|
1915 body.admin-color-coffee .block-editor-url-input__suggestion:focus, body.admin-color-coffee .block-editor-url-input__suggestion.is-selected{ |
|
1916 background: rgb(165, 141, 119); } |
|
1917 body.admin-color-blue .block-editor-url-input__suggestion:focus, body.admin-color-blue .block-editor-url-input__suggestion.is-selected{ |
|
1918 background: rgb(111, 153, 173); } |
|
1919 body.admin-color-light .block-editor-url-input__suggestion:focus, body.admin-color-light .block-editor-url-input__suggestion.is-selected{ |
|
1920 background: rgb(0, 113, 158); } |
|
1921 |
|
1922 .components-toolbar > .block-editor-url-input__button { |
|
1923 position: inherit; } |
|
1924 |
|
1925 .block-editor-url-input__button .block-editor-url-input__back { |
|
1926 margin-right: 4px; |
|
1927 overflow: visible; } |
|
1928 .block-editor-url-input__button .block-editor-url-input__back::after { |
|
1929 content: ""; |
|
1930 position: absolute; |
|
1931 display: block; |
|
1932 width: 1px; |
|
1933 height: 24px; |
|
1934 right: -1px; |
|
1935 background: #e2e4e7; } |
|
1936 |
|
1937 .block-editor-url-input__button-modal { |
|
1938 box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1); |
|
1939 border: 1px solid #e2e4e7; |
|
1940 background: #fff; } |
|
1941 |
|
1942 .block-editor-url-input__button-modal-line { |
|
1943 display: flex; |
|
1944 flex-direction: row; |
|
1945 flex-grow: 1; |
|
1946 flex-shrink: 1; |
|
1947 min-width: 0; |
|
1948 align-items: flex-start; } |
|
1949 .block-editor-url-input__button-modal-line .components-button { |
|
1950 flex-shrink: 0; |
|
1951 width: 36px; |
|
1952 height: 36px; } |
|
1953 |
|
1954 .block-editor-url-popover__row { |
|
1955 display: flex; } |
|
1956 |
|
1957 .block-editor-url-popover__row > :not(.block-editor-url-popover__settings-toggle) { |
|
1958 flex-grow: 1; } |
|
1959 |
|
1960 .block-editor-url-popover .components-icon-button { |
|
1961 padding: 3px; } |
|
1962 .block-editor-url-popover .components-icon-button > svg { |
|
1963 padding: 5px; |
|
1964 border-radius: 4px; |
|
1965 height: 30px; |
|
1966 width: 30px; } |
|
1967 .block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { |
|
1968 box-shadow: none; } |
|
1969 .block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover > svg { |
|
1970 color: #555d66; |
|
1971 box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; } |
|
1972 .block-editor-url-popover .components-icon-button:not(:disabled):focus { |
|
1973 box-shadow: none; } |
|
1974 .block-editor-url-popover .components-icon-button:not(:disabled):focus > svg { |
|
1975 box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; |
|
1976 outline: 2px solid transparent; |
|
1977 outline-offset: -2px; } |
|
1978 |
|
1979 .block-editor-url-popover__settings-toggle { |
|
1980 flex-shrink: 0; |
|
1981 border-radius: 0; |
|
1982 border-left: 1px solid #e2e4e7; |
|
1983 margin-left: 1px; } |
|
1984 .block-editor-url-popover__settings-toggle[aria-expanded="true"] .dashicon { |
|
1985 transform: rotate(180deg); } |
|
1986 |
|
1987 .block-editor-url-popover__settings { |
|
1988 padding: 16px; |
|
1989 border-top: 1px solid #e2e4e7; } |
|
1990 .block-editor-url-popover__settings .components-base-control:last-child .components-base-control__field { |
|
1991 margin-bottom: 0; } |
|
1992 |
|
1993 .block-editor-warning { |
|
1994 display: flex; |
|
1995 flex-direction: row; |
|
1996 justify-content: space-between; |
|
1997 flex-wrap: nowrap; |
|
1998 background-color: #fff; |
|
1999 border: 1px solid #e2e4e7; |
|
2000 text-align: left; |
|
2001 padding: 20px; } |
|
2002 .has-warning.is-multi-selected .block-editor-warning { |
|
2003 background-color: transparent; } |
|
2004 .is-selected .block-editor-warning { |
|
2005 border-color: rgba(66, 88, 99, 0.4); |
|
2006 border-left-color: transparent; } |
|
2007 .is-dark-theme .is-selected .block-editor-warning { |
|
2008 border-color: rgba(255, 255, 255, 0.45); } |
|
2009 .block-editor-warning .block-editor-warning__message { |
|
2010 line-height: 1.4; |
|
2011 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
2012 font-size: 13px; } |
|
2013 .block-editor-warning .block-editor-warning__contents { |
|
2014 display: flex; |
|
2015 flex-direction: row; |
|
2016 justify-content: space-between; |
|
2017 flex-wrap: wrap; |
|
2018 align-items: center; |
|
2019 width: 100%; } |
|
2020 .block-editor-warning .block-editor-warning__actions { |
|
2021 display: flex; } |
|
2022 .block-editor-warning .block-editor-warning__action { |
|
2023 margin: 0 6px 0 0; } |
|
2024 |
|
2025 .block-editor-warning__secondary { |
|
2026 margin: 3px 0 0 -4px; } |
|
2027 .block-editor-warning__secondary .components-icon-button { |
|
2028 width: auto; |
|
2029 padding: 8px 2px; } |
|
2030 @media (min-width: 600px) { |
|
2031 .block-editor-warning__secondary { |
|
2032 margin-left: 4px; } |
|
2033 .block-editor-warning__secondary .components-icon-button { |
|
2034 padding: 8px 4px; } } |
|
2035 .block-editor-warning__secondary .components-button svg { |
|
2036 transform: rotate(90deg); } |
|
2037 |
|
2038 .block-editor-writing-flow { |
|
2039 height: 100%; |
|
2040 display: flex; |
|
2041 flex-direction: column; } |
|
2042 |
|
2043 .block-editor-writing-flow__click-redirect { |
|
2044 flex-basis: 100%; |
|
2045 cursor: text; } |