9
|
1 |
/** |
|
2 |
* Colors |
|
3 |
*/ |
|
4 |
/** |
|
5 |
* Breakpoints & Media Queries |
|
6 |
*/ |
|
7 |
/** |
18
|
8 |
* SCSS Variables. |
|
9 |
* |
|
10 |
* Please use variables from this sheet to ensure consistency across the UI. |
|
11 |
* Don't add to this sheet unless you're pretty sure the value will be reused in many places. |
|
12 |
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI. |
16
|
13 |
*/ |
|
14 |
/** |
18
|
15 |
* Colors |
16
|
16 |
*/ |
|
17 |
/** |
|
18 |
* Fonts & basic variables. |
|
19 |
*/ |
|
20 |
/** |
|
21 |
* Grid System. |
|
22 |
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ |
|
23 |
*/ |
|
24 |
/** |
|
25 |
* Dimensions. |
|
26 |
*/ |
|
27 |
/** |
|
28 |
* Shadows. |
|
29 |
*/ |
|
30 |
/** |
|
31 |
* Editor widths. |
|
32 |
*/ |
|
33 |
/** |
18
|
34 |
* Block & Editor UI. |
16
|
35 |
*/ |
|
36 |
/** |
18
|
37 |
* Block paddings. |
|
38 |
*/ |
|
39 |
/** |
|
40 |
* React Native specific. |
|
41 |
* These variables do not appear to be used anywhere else. |
9
|
42 |
*/ |
|
43 |
/** |
19
|
44 |
* Converts a hex value into the rgb equivalent. |
|
45 |
* |
|
46 |
* @param {string} hex - the hexadecimal value to convert |
|
47 |
* @return {string} comma separated rgb values |
|
48 |
*/ |
|
49 |
/** |
9
|
50 |
* Breakpoint mixins |
|
51 |
*/ |
|
52 |
/** |
|
53 |
* Long content fade mixin |
|
54 |
* |
|
55 |
* Creates a fading overlay to signify that the content is longer |
|
56 |
* than the space allows. |
|
57 |
*/ |
|
58 |
/** |
16
|
59 |
* Focus styles. |
9
|
60 |
*/ |
|
61 |
/** |
|
62 |
* Applies editor left position to the selector passed as argument |
|
63 |
*/ |
|
64 |
/** |
|
65 |
* Styles that are reused verbatim in a few places |
|
66 |
*/ |
|
67 |
/** |
|
68 |
* Allows users to opt-out of animations via OS-level preferences. |
|
69 |
*/ |
16
|
70 |
/** |
|
71 |
* Reset default styles for JavaScript UI based pages. |
|
72 |
* This is a WP-admin agnostic reset |
|
73 |
*/ |
|
74 |
/** |
|
75 |
* Reset the WP Admin page styles for Gutenberg-like pages. |
|
76 |
*/ |
|
77 |
:root { |
|
78 |
--wp-admin-theme-color: #007cba; |
19
|
79 |
--wp-admin-theme-color--rgb: 0, 124, 186; |
16
|
80 |
--wp-admin-theme-color-darker-10: #006ba1; |
19
|
81 |
--wp-admin-theme-color-darker-10--rgb: 0, 107, 161; |
18
|
82 |
--wp-admin-theme-color-darker-20: #005a87; |
19
|
83 |
--wp-admin-theme-color-darker-20--rgb: 0, 90, 135; |
18
|
84 |
--wp-admin-border-width-focus: 2px; |
|
85 |
} |
|
86 |
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
|
87 |
:root { |
|
88 |
--wp-admin-border-width-focus: 1.5px; |
|
89 |
} |
|
90 |
} |
16
|
91 |
|
|
92 |
.components-panel__header.interface-complementary-area-header__small { |
|
93 |
background: #fff; |
18
|
94 |
padding-left: 4px; |
|
95 |
} |
|
96 |
.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title { |
|
97 |
overflow: hidden; |
|
98 |
text-overflow: ellipsis; |
|
99 |
white-space: nowrap; |
|
100 |
width: 100%; |
|
101 |
} |
|
102 |
@media (min-width: 782px) { |
|
103 |
.components-panel__header.interface-complementary-area-header__small { |
|
104 |
display: none; |
|
105 |
} |
|
106 |
} |
16
|
107 |
|
|
108 |
.interface-complementary-area-header { |
|
109 |
background: #fff; |
18
|
110 |
padding-left: 4px; |
|
111 |
} |
|
112 |
.interface-complementary-area-header .components-button.has-icon { |
|
113 |
display: none; |
|
114 |
margin-right: auto; |
|
115 |
} |
|
116 |
.interface-complementary-area-header .components-button.has-icon ~ .components-button { |
|
117 |
margin-right: 0; |
|
118 |
} |
|
119 |
@media (min-width: 782px) { |
16
|
120 |
.interface-complementary-area-header .components-button.has-icon { |
18
|
121 |
display: flex; |
|
122 |
} |
|
123 |
} |
16
|
124 |
|
19
|
125 |
@media (min-width: 782px) { |
|
126 |
.components-panel__header + .interface-complementary-area-header { |
|
127 |
margin-top: 0; |
|
128 |
} |
|
129 |
} |
|
130 |
|
16
|
131 |
.interface-complementary-area { |
|
132 |
background: #fff; |
|
133 |
color: #1e1e1e; |
18
|
134 |
} |
|
135 |
@media (min-width: 600px) { |
|
136 |
.interface-complementary-area { |
16
|
137 |
-webkit-overflow-scrolling: touch; |
18
|
138 |
} |
|
139 |
} |
|
140 |
@media (min-width: 782px) { |
|
141 |
.interface-complementary-area { |
|
142 |
width: 280px; |
|
143 |
} |
|
144 |
} |
|
145 |
.interface-complementary-area .components-panel { |
|
146 |
border: none; |
|
147 |
position: relative; |
|
148 |
z-index: 0; |
|
149 |
} |
|
150 |
.interface-complementary-area .components-panel__header { |
|
151 |
position: sticky; |
|
152 |
top: 0; |
|
153 |
z-index: 1; |
|
154 |
} |
|
155 |
.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs { |
|
156 |
top: 48px; |
|
157 |
} |
|
158 |
@media (min-width: 782px) { |
|
159 |
.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs { |
16
|
160 |
top: 0; |
18
|
161 |
} |
|
162 |
} |
|
163 |
.interface-complementary-area p { |
|
164 |
margin-top: 0; |
|
165 |
} |
19
|
166 |
.interface-complementary-area h2 { |
|
167 |
font-size: 13px; |
|
168 |
color: #1e1e1e; |
|
169 |
margin-bottom: 1.5em; |
|
170 |
} |
18
|
171 |
.interface-complementary-area h3 { |
19
|
172 |
font-size: 11px; |
|
173 |
text-transform: uppercase; |
|
174 |
font-weight: 500; |
18
|
175 |
color: #1e1e1e; |
|
176 |
margin-bottom: 1.5em; |
|
177 |
} |
|
178 |
.interface-complementary-area hr { |
|
179 |
border-top: none; |
|
180 |
border-bottom: 1px solid #f0f0f0; |
|
181 |
margin: 1.5em 0; |
|
182 |
} |
|
183 |
.interface-complementary-area div.components-toolbar-group, |
|
184 |
.interface-complementary-area div.components-toolbar { |
|
185 |
box-shadow: none; |
|
186 |
margin-bottom: 1.5em; |
|
187 |
} |
|
188 |
.interface-complementary-area div.components-toolbar-group:last-child, |
|
189 |
.interface-complementary-area div.components-toolbar:last-child { |
|
190 |
margin-bottom: 0; |
|
191 |
} |
|
192 |
.interface-complementary-area .block-editor-skip-to-selected-block:focus { |
|
193 |
top: auto; |
|
194 |
left: 10px; |
|
195 |
bottom: 10px; |
|
196 |
right: auto; |
|
197 |
} |
16
|
198 |
|
9
|
199 |
@media (min-width: 782px) { |
|
200 |
body.js.is-fullscreen-mode { |
16
|
201 |
margin-top: -32px; |
18
|
202 |
height: calc(100% + 32px); |
|
203 |
} |
|
204 |
body.js.is-fullscreen-mode #adminmenumain, |
|
205 |
body.js.is-fullscreen-mode #wpadminbar { |
|
206 |
display: none; |
|
207 |
} |
|
208 |
body.js.is-fullscreen-mode #wpcontent, |
|
209 |
body.js.is-fullscreen-mode #wpfooter { |
|
210 |
margin-right: 0; |
|
211 |
} |
|
212 |
} |
16
|
213 |
|
|
214 |
html.interface-interface-skeleton__html-container { |
|
215 |
position: fixed; |
18
|
216 |
width: 100%; |
|
217 |
} |
|
218 |
@media (min-width: 782px) { |
|
219 |
html.interface-interface-skeleton__html-container { |
|
220 |
position: initial; |
|
221 |
width: initial; |
|
222 |
} |
|
223 |
} |
16
|
224 |
|
|
225 |
.interface-interface-skeleton { |
|
226 |
display: flex; |
18
|
227 |
flex-direction: row; |
16
|
228 |
height: auto; |
|
229 |
max-height: 100%; |
|
230 |
position: fixed; |
|
231 |
top: 46px; |
|
232 |
right: 0; |
|
233 |
left: 0; |
18
|
234 |
bottom: 0; |
|
235 |
} |
|
236 |
@media (min-width: 783px) { |
|
237 |
.interface-interface-skeleton { |
|
238 |
top: 32px; |
|
239 |
} |
|
240 |
.is-fullscreen-mode .interface-interface-skeleton { |
|
241 |
top: 0; |
|
242 |
} |
|
243 |
} |
|
244 |
|
|
245 |
.interface-interface-skeleton__editor { |
|
246 |
display: flex; |
|
247 |
flex-direction: column; |
|
248 |
flex: 0 1 100%; |
|
249 |
overflow: hidden; |
|
250 |
} |
16
|
251 |
|
|
252 |
.interface-interface-skeleton { |
|
253 |
/* Set left position when auto-fold is not on the body element. */ |
18
|
254 |
right: 0; |
|
255 |
} |
|
256 |
@media (min-width: 783px) { |
|
257 |
.interface-interface-skeleton { |
|
258 |
right: 160px; |
|
259 |
} |
|
260 |
} |
16
|
261 |
|
|
262 |
.auto-fold .interface-interface-skeleton { |
18
|
263 |
/* Auto fold is when on smaller breakpoints, nav menu auto collapses. */ |
|
264 |
} |
|
265 |
@media (min-width: 783px) { |
|
266 |
.auto-fold .interface-interface-skeleton { |
|
267 |
right: 36px; |
|
268 |
} |
|
269 |
} |
|
270 |
@media (min-width: 961px) { |
|
271 |
.auto-fold .interface-interface-skeleton { |
|
272 |
right: 160px; |
|
273 |
} |
|
274 |
} |
16
|
275 |
|
|
276 |
/* Sidebar manually collapsed. */ |
|
277 |
.folded .interface-interface-skeleton { |
18
|
278 |
right: 0; |
|
279 |
} |
|
280 |
@media (min-width: 783px) { |
|
281 |
.folded .interface-interface-skeleton { |
|
282 |
right: 36px; |
|
283 |
} |
|
284 |
} |
16
|
285 |
|
|
286 |
body.is-fullscreen-mode .interface-interface-skeleton { |
18
|
287 |
right: 0 !important; |
|
288 |
} |
16
|
289 |
|
|
290 |
.interface-interface-skeleton__body { |
|
291 |
flex-grow: 1; |
|
292 |
display: flex; |
|
293 |
overflow: auto; |
18
|
294 |
overscroll-behavior-y: none; |
|
295 |
} |
|
296 |
@media (min-width: 782px) { |
|
297 |
.has-footer .interface-interface-skeleton__body { |
|
298 |
padding-bottom: 25px; |
|
299 |
} |
|
300 |
} |
16
|
301 |
|
|
302 |
.interface-interface-skeleton__content { |
|
303 |
flex-grow: 1; |
|
304 |
display: flex; |
|
305 |
flex-direction: column; |
18
|
306 |
overflow: auto; |
|
307 |
z-index: 20; |
|
308 |
} |
16
|
309 |
|
18
|
310 |
.interface-interface-skeleton__secondary-sidebar, |
16
|
311 |
.interface-interface-skeleton__sidebar { |
|
312 |
display: block; |
|
313 |
flex-shrink: 0; |
|
314 |
position: absolute; |
|
315 |
z-index: 100000; |
|
316 |
top: 0; |
|
317 |
left: 0; |
|
318 |
bottom: 0; |
|
319 |
right: 0; |
|
320 |
background: #fff; |
18
|
321 |
color: #1e1e1e; |
|
322 |
} |
|
323 |
@media (min-width: 782px) { |
|
324 |
.interface-interface-skeleton__secondary-sidebar, |
|
325 |
.interface-interface-skeleton__sidebar { |
|
326 |
position: relative !important; |
|
327 |
z-index: 90; |
|
328 |
width: auto; |
|
329 |
} |
|
330 |
} |
|
331 |
|
|
332 |
.interface-interface-skeleton__sidebar { |
|
333 |
overflow: auto; |
|
334 |
} |
|
335 |
@media (min-width: 782px) { |
|
336 |
.interface-interface-skeleton__sidebar { |
|
337 |
border-right: 1px solid #e0e0e0; |
|
338 |
} |
|
339 |
} |
9
|
340 |
|
|
341 |
@media (min-width: 782px) { |
18
|
342 |
.interface-interface-skeleton__secondary-sidebar { |
|
343 |
border-left: 1px solid #e0e0e0; |
|
344 |
} |
|
345 |
} |
16
|
346 |
|
|
347 |
.interface-interface-skeleton__header { |
|
348 |
flex-shrink: 0; |
|
349 |
height: auto; |
18
|
350 |
border-bottom: 1px solid #e0e0e0; |
16
|
351 |
z-index: 30; |
|
352 |
color: #1e1e1e; |
18
|
353 |
} |
9
|
354 |
|
16
|
355 |
.interface-interface-skeleton__footer { |
|
356 |
height: auto; |
|
357 |
flex-shrink: 0; |
18
|
358 |
border-top: 1px solid #e0e0e0; |
16
|
359 |
color: #1e1e1e; |
18
|
360 |
position: absolute; |
|
361 |
bottom: 0; |
|
362 |
right: 0; |
|
363 |
width: 100%; |
|
364 |
background-color: #fff; |
|
365 |
z-index: 90; |
|
366 |
display: none; |
|
367 |
} |
|
368 |
@media (min-width: 782px) { |
|
369 |
.interface-interface-skeleton__footer { |
|
370 |
display: flex; |
|
371 |
} |
|
372 |
} |
|
373 |
.interface-interface-skeleton__footer .block-editor-block-breadcrumb { |
|
374 |
z-index: 30; |
|
375 |
display: flex; |
|
376 |
background: #fff; |
|
377 |
height: 24px; |
|
378 |
align-items: center; |
|
379 |
font-size: 13px; |
|
380 |
padding: 0 18px; |
|
381 |
} |
16
|
382 |
|
|
383 |
.interface-interface-skeleton__actions { |
|
384 |
z-index: 100000; |
|
385 |
position: fixed !important; |
|
386 |
top: -9999em; |
|
387 |
bottom: auto; |
|
388 |
right: auto; |
|
389 |
left: 0; |
|
390 |
width: 280px; |
18
|
391 |
color: #1e1e1e; |
|
392 |
} |
|
393 |
.interface-interface-skeleton__actions:focus { |
|
394 |
top: auto; |
|
395 |
bottom: 0; |
|
396 |
} |
16
|
397 |
|
19
|
398 |
.interface-more-menu-dropdown { |
|
399 |
margin-right: -4px; |
|
400 |
} |
|
401 |
.interface-more-menu-dropdown .components-button { |
|
402 |
width: auto; |
|
403 |
padding: 0 2px; |
|
404 |
} |
|
405 |
@media (min-width: 600px) { |
|
406 |
.interface-more-menu-dropdown { |
|
407 |
margin-right: 0; |
|
408 |
} |
|
409 |
.interface-more-menu-dropdown .components-button { |
|
410 |
padding: 0 4px; |
|
411 |
} |
|
412 |
} |
|
413 |
|
|
414 |
.interface-more-menu-dropdown__content .components-popover__content { |
|
415 |
min-width: 280px; |
|
416 |
} |
|
417 |
@media (min-width: 480px) { |
|
418 |
.interface-more-menu-dropdown__content .components-popover__content { |
|
419 |
width: auto; |
|
420 |
max-width: 480px; |
|
421 |
} |
|
422 |
} |
|
423 |
.interface-more-menu-dropdown__content .components-popover__content .components-dropdown-menu__menu { |
|
424 |
padding: 0; |
|
425 |
} |
|
426 |
|
|
427 |
.components-popover.interface-more-menu-dropdown__content { |
|
428 |
z-index: 99998; |
|
429 |
} |
|
430 |
|
16
|
431 |
.interface-pinned-items { |
18
|
432 |
display: flex; |
|
433 |
} |
|
434 |
.interface-pinned-items .components-button:not(:first-child) { |
|
435 |
display: none; |
|
436 |
} |
|
437 |
@media (min-width: 600px) { |
|
438 |
.interface-pinned-items .components-button:not(:first-child) { |
|
439 |
display: flex; |
|
440 |
} |
|
441 |
} |
|
442 |
.interface-pinned-items .components-button { |
|
443 |
margin-right: 4px; |
|
444 |
} |
|
445 |
.interface-pinned-items .components-button svg { |
|
446 |
max-width: 24px; |
|
447 |
max-height: 24px; |
|
448 |
} |
9
|
449 |
|
19
|
450 |
@media (min-width: 600px) { |
|
451 |
.interface-preferences-modal { |
|
452 |
width: calc(100% - 32px); |
|
453 |
height: calc(100% - 120px); |
|
454 |
} |
|
455 |
} |
|
456 |
@media (min-width: 782px) { |
|
457 |
.interface-preferences-modal { |
|
458 |
width: 750px; |
|
459 |
} |
|
460 |
} |
|
461 |
@media (min-width: 960px) { |
|
462 |
.interface-preferences-modal { |
|
463 |
height: 70%; |
|
464 |
} |
|
465 |
} |
|
466 |
@media (max-width: 781px) { |
|
467 |
.interface-preferences-modal .components-modal__content { |
|
468 |
padding: 0; |
|
469 |
} |
|
470 |
.interface-preferences-modal .components-modal__content::before { |
|
471 |
content: none; |
|
472 |
} |
|
473 |
} |
|
474 |
|
|
475 |
.interface-preferences__tabs .components-tab-panel__tabs { |
|
476 |
position: absolute; |
|
477 |
top: 84px; |
|
478 |
right: 16px; |
|
479 |
width: 160px; |
|
480 |
} |
|
481 |
.interface-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item { |
|
482 |
border-radius: 2px; |
|
483 |
font-weight: 400; |
|
484 |
} |
|
485 |
.interface-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item.is-active { |
|
486 |
background: #f0f0f0; |
|
487 |
box-shadow: none; |
|
488 |
font-weight: 500; |
|
489 |
} |
|
490 |
.interface-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus:not(:disabled) { |
|
491 |
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); |
|
492 |
} |
|
493 |
.interface-preferences__tabs .components-tab-panel__tab-content { |
|
494 |
padding-right: 24px; |
|
495 |
margin-right: 160px; |
|
496 |
} |
|
497 |
|
|
498 |
@media (max-width: 781px) { |
|
499 |
.interface-preferences__provider { |
|
500 |
height: 100%; |
|
501 |
} |
|
502 |
} |
|
503 |
.interface-preferences-modal__section { |
|
504 |
margin: 0 0 2.5rem 0; |
|
505 |
} |
|
506 |
.interface-preferences-modal__section:last-child { |
|
507 |
margin: 0; |
|
508 |
} |
|
509 |
|
|
510 |
.interface-preferences-modal__section-title { |
|
511 |
font-size: 0.9rem; |
|
512 |
font-weight: 600; |
|
513 |
margin-top: 0; |
|
514 |
} |
|
515 |
|
|
516 |
.interface-preferences-modal__section-description { |
|
517 |
margin: -8px 0 8px 0; |
|
518 |
font-size: 12px; |
|
519 |
font-style: normal; |
|
520 |
color: #757575; |
|
521 |
} |
|
522 |
|
|
523 |
.interface-preferences-modal__option .components-base-control .components-base-control__field { |
|
524 |
align-items: center; |
|
525 |
display: flex; |
|
526 |
margin-bottom: 0; |
|
527 |
} |
|
528 |
.interface-preferences-modal__option .components-base-control .components-base-control__field > label { |
|
529 |
flex-grow: 1; |
|
530 |
padding: 0.6rem 10px 0.6rem 0; |
|
531 |
} |
|
532 |
.interface-preferences-modal__option .components-base-control__help { |
|
533 |
margin: -8px 58px 8px 0; |
|
534 |
font-size: 12px; |
|
535 |
font-style: normal; |
|
536 |
color: #757575; |
|
537 |
} |
|
538 |
|
9
|
539 |
.edit-post-header { |
16
|
540 |
height: 60px; |
9
|
541 |
background: #fff; |
|
542 |
display: flex; |
16
|
543 |
flex-wrap: wrap; |
|
544 |
align-items: center; |
18
|
545 |
max-width: 100vw; |
|
546 |
} |
|
547 |
@media (min-width: 280px) { |
|
548 |
.edit-post-header { |
|
549 |
flex-wrap: nowrap; |
|
550 |
} |
|
551 |
} |
|
552 |
.edit-post-header > .edit-post-header__settings { |
|
553 |
order: 1; |
|
554 |
} |
|
555 |
@supports (position: sticky) { |
9
|
556 |
.edit-post-header > .edit-post-header__settings { |
18
|
557 |
order: initial; |
|
558 |
} |
|
559 |
} |
9
|
560 |
|
16
|
561 |
.edit-post-header__toolbar { |
|
562 |
display: flex; |
|
563 |
flex-grow: 1; |
18
|
564 |
} |
|
565 |
.edit-post-header__toolbar .table-of-contents { |
|
566 |
display: none; |
|
567 |
} |
|
568 |
@media (min-width: 600px) { |
16
|
569 |
.edit-post-header__toolbar .table-of-contents { |
18
|
570 |
display: block; |
|
571 |
} |
|
572 |
} |
9
|
573 |
|
|
574 |
.edit-post-header__settings { |
|
575 |
display: inline-flex; |
16
|
576 |
align-items: center; |
|
577 |
flex-wrap: wrap; |
18
|
578 |
padding-left: 4px; |
|
579 |
/** |
|
580 |
* Buttons in the Toolbar |
|
581 |
*/ |
|
582 |
} |
|
583 |
@media (min-width: 600px) { |
|
584 |
.edit-post-header__settings { |
|
585 |
padding-left: 16px; |
|
586 |
} |
|
587 |
} |
16
|
588 |
.edit-post-header__settings .editor-post-saved-state, |
18
|
589 |
.edit-post-header__settings .components-button.components-button { |
|
590 |
margin-left: 4px; |
|
591 |
} |
|
592 |
@media (min-width: 600px) { |
|
593 |
.edit-post-header__settings .editor-post-saved-state, |
|
594 |
.edit-post-header__settings .components-button.components-button { |
|
595 |
margin-left: 12px; |
|
596 |
} |
|
597 |
} |
|
598 |
.edit-post-header__settings .editor-post-saved-state, |
|
599 |
.edit-post-header__settings .components-button.is-tertiary { |
16
|
600 |
padding: 0 6px; |
18
|
601 |
} |
19
|
602 |
.edit-post-header__settings .interface-more-menu-dropdown .components-button, |
18
|
603 |
.edit-post-header__settings .interface-pinned-items .components-button { |
|
604 |
margin-left: 0; |
|
605 |
} |
16
|
606 |
|
|
607 |
.edit-post-header-preview__grouping-external { |
|
608 |
display: flex; |
|
609 |
position: relative; |
18
|
610 |
padding-bottom: 0; |
|
611 |
} |
9
|
612 |
|
16
|
613 |
.edit-post-header-preview__button-external { |
|
614 |
padding-right: 8px; |
|
615 |
margin-left: auto; |
|
616 |
width: 100%; |
|
617 |
display: flex; |
18
|
618 |
justify-content: flex-start; |
|
619 |
} |
|
620 |
.edit-post-header-preview__button-external svg { |
|
621 |
margin-right: auto; |
|
622 |
} |
9
|
623 |
|
16
|
624 |
.edit-post-post-preview-dropdown .components-popover__content > div { |
18
|
625 |
padding-bottom: 0; |
|
626 |
} |
|
627 |
|
|
628 |
.show-icon-labels.interface-pinned-items .components-button.has-icon, |
|
629 |
.show-icon-labels .edit-post-header .components-button.has-icon, |
|
630 |
.edit-post-header__dropdown .components-button.has-icon { |
|
631 |
width: auto; |
|
632 |
} |
|
633 |
.show-icon-labels.interface-pinned-items .components-button.has-icon svg, |
|
634 |
.show-icon-labels .edit-post-header .components-button.has-icon svg, |
|
635 |
.edit-post-header__dropdown .components-button.has-icon svg { |
|
636 |
display: none; |
|
637 |
} |
|
638 |
.show-icon-labels.interface-pinned-items .components-button.has-icon::after, |
|
639 |
.show-icon-labels .edit-post-header .components-button.has-icon::after, |
|
640 |
.edit-post-header__dropdown .components-button.has-icon::after { |
|
641 |
content: attr(aria-label); |
|
642 |
} |
|
643 |
.show-icon-labels.interface-pinned-items .components-button.has-icon[aria-disabled=true], |
|
644 |
.show-icon-labels .edit-post-header .components-button.has-icon[aria-disabled=true], |
|
645 |
.edit-post-header__dropdown .components-button.has-icon[aria-disabled=true] { |
|
646 |
background-color: transparent; |
|
647 |
} |
|
648 |
.show-icon-labels.interface-pinned-items .is-tertiary:active, |
|
649 |
.show-icon-labels .edit-post-header .is-tertiary:active, |
|
650 |
.edit-post-header__dropdown .is-tertiary:active { |
|
651 |
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color); |
|
652 |
background-color: transparent; |
|
653 |
} |
|
654 |
.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon svg, |
|
655 |
.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle svg, |
|
656 |
.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon svg, |
|
657 |
.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle svg, |
|
658 |
.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon svg, |
|
659 |
.edit-post-header__dropdown .components-button.has-icon.button-toggle svg { |
|
660 |
display: block; |
|
661 |
} |
|
662 |
.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon::after, |
|
663 |
.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle::after, |
|
664 |
.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon::after, |
|
665 |
.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle::after, |
|
666 |
.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon::after, |
|
667 |
.edit-post-header__dropdown .components-button.has-icon.button-toggle::after { |
|
668 |
content: none; |
|
669 |
} |
|
670 |
.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon, |
|
671 |
.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon, |
|
672 |
.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon { |
|
673 |
width: 60px; |
|
674 |
} |
|
675 |
.show-icon-labels.interface-pinned-items .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon, |
|
676 |
.show-icon-labels .edit-post-header .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon, |
|
677 |
.edit-post-header__dropdown .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon { |
|
678 |
display: block; |
|
679 |
} |
|
680 |
.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle, |
|
681 |
.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button, |
|
682 |
.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle, |
|
683 |
.show-icon-labels .edit-post-header .interface-pinned-items .components-button, |
|
684 |
.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle, |
|
685 |
.edit-post-header__dropdown .interface-pinned-items .components-button { |
|
686 |
padding-right: 8px; |
|
687 |
padding-left: 8px; |
|
688 |
} |
|
689 |
@media (min-width: 600px) { |
|
690 |
.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle, |
|
691 |
.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button, |
|
692 |
.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle, |
|
693 |
.show-icon-labels .edit-post-header .interface-pinned-items .components-button, |
|
694 |
.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle, |
|
695 |
.edit-post-header__dropdown .interface-pinned-items .components-button { |
|
696 |
padding-right: 12px; |
|
697 |
padding-left: 12px; |
|
698 |
} |
|
699 |
} |
|
700 |
.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle, |
|
701 |
.show-icon-labels .edit-post-header .components-dropdown-menu__toggle, |
|
702 |
.edit-post-header__dropdown .components-dropdown-menu__toggle { |
|
703 |
margin-right: 8px; |
|
704 |
padding-right: 8px; |
|
705 |
padding-left: 8px; |
|
706 |
} |
|
707 |
@media (min-width: 600px) { |
|
708 |
.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle, |
|
709 |
.show-icon-labels .edit-post-header .components-dropdown-menu__toggle, |
|
710 |
.edit-post-header__dropdown .components-dropdown-menu__toggle { |
|
711 |
margin-right: 12px; |
|
712 |
padding-right: 12px; |
|
713 |
padding-left: 12px; |
|
714 |
} |
|
715 |
} |
|
716 |
.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle::after, |
|
717 |
.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle::after, |
|
718 |
.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle::after { |
|
719 |
content: none; |
|
720 |
} |
|
721 |
.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft::after, |
|
722 |
.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft::after, |
|
723 |
.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft::after { |
|
724 |
content: none; |
|
725 |
} |
|
726 |
@media (min-width: 600px) { |
|
727 |
.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft::after, |
|
728 |
.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft::after, |
|
729 |
.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft::after { |
|
730 |
content: attr(aria-label); |
|
731 |
} |
|
732 |
} |
|
733 |
|
|
734 |
.edit-post-header__dropdown .components-menu-item__button.components-menu-item__button, |
|
735 |
.edit-post-header__dropdown .components-button.editor-history__undo, |
|
736 |
.edit-post-header__dropdown .components-button.editor-history__redo, |
|
737 |
.edit-post-header__dropdown .table-of-contents .components-button, |
19
|
738 |
.edit-post-header__dropdown .components-button.block-editor-list-view { |
18
|
739 |
margin: 0; |
|
740 |
padding: 6px 40px 6px 6px; |
|
741 |
width: 14.625rem; |
|
742 |
text-align: right; |
|
743 |
justify-content: flex-start; |
|
744 |
} |
|
745 |
|
|
746 |
.show-icon-labels.interface-pinned-items { |
|
747 |
padding: 6px 12px 12px; |
|
748 |
margin-top: 0; |
|
749 |
margin-bottom: 0; |
|
750 |
margin-right: -12px; |
|
751 |
margin-left: -12px; |
|
752 |
border-bottom: 1px solid #ccc; |
|
753 |
display: block; |
|
754 |
} |
|
755 |
.show-icon-labels.interface-pinned-items > .components-button.has-icon { |
|
756 |
margin: 0; |
|
757 |
padding: 6px 8px 6px 6px; |
|
758 |
width: 14.625rem; |
|
759 |
justify-content: flex-start; |
|
760 |
} |
|
761 |
.show-icon-labels.interface-pinned-items > .components-button.has-icon[aria-expanded=true] svg { |
|
762 |
display: block; |
|
763 |
max-width: 24px; |
|
764 |
} |
|
765 |
.show-icon-labels.interface-pinned-items > .components-button.has-icon[aria-expanded=false] { |
|
766 |
padding-right: 40px; |
|
767 |
} |
|
768 |
.show-icon-labels.interface-pinned-items > .components-button.has-icon svg { |
|
769 |
margin-left: 8px; |
|
770 |
} |
16
|
771 |
|
19
|
772 |
.edit-post-fullscreen-mode-close.components-button { |
18
|
773 |
display: none; |
|
774 |
} |
|
775 |
@media (min-width: 782px) { |
19
|
776 |
.edit-post-fullscreen-mode-close.components-button { |
18
|
777 |
display: flex; |
|
778 |
align-items: center; |
|
779 |
align-self: stretch; |
|
780 |
border: none; |
19
|
781 |
background: #1e1e1e; |
18
|
782 |
color: #fff; |
|
783 |
border-radius: 0; |
|
784 |
height: 61px; |
|
785 |
width: 60px; |
|
786 |
position: relative; |
|
787 |
margin-bottom: -1px; |
|
788 |
} |
19
|
789 |
.edit-post-fullscreen-mode-close.components-button:active { |
18
|
790 |
color: #fff; |
|
791 |
} |
19
|
792 |
.edit-post-fullscreen-mode-close.components-button:focus { |
18
|
793 |
box-shadow: none; |
|
794 |
} |
19
|
795 |
.edit-post-fullscreen-mode-close.components-button::before { |
18
|
796 |
transition: box-shadow 0.1s ease; |
|
797 |
content: ""; |
|
798 |
display: block; |
|
799 |
position: absolute; |
|
800 |
top: 9px; |
|
801 |
left: 9px; |
|
802 |
bottom: 9px; |
|
803 |
right: 9px; |
|
804 |
border-radius: 4px; |
19
|
805 |
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #1e1e1e; |
18
|
806 |
} |
|
807 |
} |
|
808 |
@media (min-width: 782px) and (prefers-reduced-motion: reduce) { |
19
|
809 |
.edit-post-fullscreen-mode-close.components-button::before { |
18
|
810 |
transition-duration: 0s; |
|
811 |
transition-delay: 0s; |
|
812 |
} |
|
813 |
} |
|
814 |
@media (min-width: 782px) { |
19
|
815 |
.edit-post-fullscreen-mode-close.components-button:hover::before { |
18
|
816 |
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #757575; |
|
817 |
} |
|
818 |
} |
|
819 |
@media (min-width: 782px) { |
19
|
820 |
.edit-post-fullscreen-mode-close.components-button.has-icon:hover::before { |
|
821 |
box-shadow: none; |
|
822 |
} |
|
823 |
} |
|
824 |
@media (min-width: 782px) { |
|
825 |
.edit-post-fullscreen-mode-close.components-button:focus::before { |
18
|
826 |
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) rgba(255, 255, 255, 0.1), inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); |
|
827 |
} |
|
828 |
} |
19
|
829 |
.edit-post-fullscreen-mode-close.components-button .edit-post-fullscreen-mode-close_site-icon { |
18
|
830 |
width: 36px; |
19
|
831 |
height: 36px; |
18
|
832 |
border-radius: 2px; |
19
|
833 |
-o-object-fit: cover; |
|
834 |
object-fit: cover; |
|
835 |
margin-top: -1px; |
18
|
836 |
} |
9
|
837 |
|
|
838 |
.edit-post-header-toolbar { |
|
839 |
display: inline-flex; |
18
|
840 |
flex-grow: 1; |
16
|
841 |
align-items: center; |
18
|
842 |
border: none; |
|
843 |
} |
|
844 |
.edit-post-header-toolbar .edit-post-header-toolbar__left > .components-button { |
|
845 |
display: none; |
|
846 |
} |
|
847 |
@media (min-width: 600px) { |
|
848 |
.edit-post-header-toolbar .edit-post-header-toolbar__left > .components-button { |
|
849 |
display: inline-flex; |
|
850 |
} |
|
851 |
} |
|
852 |
.edit-post-header-toolbar .edit-post-header-toolbar__left > .edit-post-header-toolbar__inserter-toggle { |
|
853 |
display: inline-flex; |
|
854 |
} |
|
855 |
.edit-post-header-toolbar .edit-post-header-toolbar__left > .edit-post-header-toolbar__inserter-toggle svg { |
|
856 |
transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s; |
|
857 |
} |
|
858 |
@media (prefers-reduced-motion: reduce) { |
|
859 |
.edit-post-header-toolbar .edit-post-header-toolbar__left > .edit-post-header-toolbar__inserter-toggle svg { |
|
860 |
transition-duration: 0s; |
|
861 |
transition-delay: 0s; |
|
862 |
} |
|
863 |
} |
|
864 |
.edit-post-header-toolbar .edit-post-header-toolbar__left > .edit-post-header-toolbar__inserter-toggle.is-pressed svg { |
|
865 |
transform: rotate(-45deg); |
|
866 |
} |
19
|
867 |
.edit-post-header-toolbar .block-editor-list-view { |
18
|
868 |
display: none; |
|
869 |
} |
|
870 |
@media (min-width: 600px) { |
19
|
871 |
.edit-post-header-toolbar .block-editor-list-view { |
18
|
872 |
display: flex; |
|
873 |
} |
|
874 |
} |
|
875 |
.edit-post-header-toolbar .edit-post-header-toolbar__left > .components-button.has-icon, |
|
876 |
.edit-post-header-toolbar .edit-post-header-toolbar__left > .components-dropdown > .components-button.has-icon { |
|
877 |
height: 36px; |
|
878 |
min-width: 36px; |
|
879 |
padding: 6px; |
|
880 |
} |
|
881 |
.edit-post-header-toolbar .edit-post-header-toolbar__left > .components-button.has-icon.is-pressed, |
|
882 |
.edit-post-header-toolbar .edit-post-header-toolbar__left > .components-dropdown > .components-button.has-icon.is-pressed { |
|
883 |
background: #1e1e1e; |
|
884 |
} |
|
885 |
.edit-post-header-toolbar .edit-post-header-toolbar__left > .components-button.has-icon:focus:not(:disabled), |
|
886 |
.edit-post-header-toolbar .edit-post-header-toolbar__left > .components-dropdown > .components-button.has-icon:focus:not(:disabled) { |
|
887 |
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 1px #fff; |
|
888 |
outline: 1px solid transparent; |
|
889 |
} |
|
890 |
.edit-post-header-toolbar .edit-post-header-toolbar__left > .components-button.has-icon::before, |
|
891 |
.edit-post-header-toolbar .edit-post-header-toolbar__left > .components-dropdown > .components-button.has-icon::before { |
|
892 |
display: none; |
|
893 |
} |
9
|
894 |
|
18
|
895 |
@media (min-width: 600px) { |
|
896 |
.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left > * + .components-button, |
|
897 |
.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left > * + .components-dropdown > [aria-expanded=false] { |
|
898 |
transition: opacity 0.1s linear; |
|
899 |
} |
|
900 |
} |
|
901 |
@media (min-width: 600px) and (prefers-reduced-motion: reduce) { |
|
902 |
.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left > * + .components-button, |
|
903 |
.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left > * + .components-dropdown > [aria-expanded=false] { |
|
904 |
transition-duration: 0s; |
|
905 |
transition-delay: 0s; |
|
906 |
} |
|
907 |
} |
|
908 |
@media (min-width: 600px) { |
|
909 |
.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left > * + .components-button, .edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left > * + .components-dropdown > [aria-expanded=false] { |
|
910 |
opacity: 0; |
|
911 |
} |
|
912 |
} |
16
|
913 |
|
18
|
914 |
.edit-post-header-toolbar__left { |
|
915 |
display: inline-flex; |
|
916 |
align-items: center; |
|
917 |
padding-right: 8px; |
|
918 |
} |
|
919 |
@media (min-width: 600px) { |
|
920 |
.edit-post-header-toolbar__left { |
|
921 |
padding-right: 24px; |
|
922 |
} |
|
923 |
} |
|
924 |
@media (min-width: 1280px) { |
|
925 |
.edit-post-header-toolbar__left { |
|
926 |
padding-left: 8px; |
|
927 |
} |
|
928 |
} |
|
929 |
|
|
930 |
.edit-post-header-toolbar .edit-post-header-toolbar__left > .edit-post-header-toolbar__inserter-toggle.has-icon { |
16
|
931 |
margin-left: 8px; |
|
932 |
min-width: 32px; |
|
933 |
width: 32px; |
|
934 |
height: 32px; |
18
|
935 |
padding: 0; |
|
936 |
} |
|
937 |
.show-icon-labels .edit-post-header-toolbar .edit-post-header-toolbar__left > .edit-post-header-toolbar__inserter-toggle.has-icon { |
|
938 |
height: 36px; |
|
939 |
} |
|
940 |
|
|
941 |
.edit-post-header-toolbar .edit-post-header-toolbar__left > .edit-post-header-toolbar__inserter-toggle.has-text.has-icon { |
|
942 |
width: auto; |
|
943 |
padding: 0 8px; |
|
944 |
} |
|
945 |
|
|
946 |
.show-icon-labels .edit-post-header-toolbar__left > * + * { |
|
947 |
margin-right: 8px; |
|
948 |
} |
9
|
949 |
|
18
|
950 |
.edit-post-template-top-area { |
|
951 |
display: flex; |
|
952 |
flex-direction: column; |
|
953 |
align-content: space-between; |
|
954 |
width: 100%; |
|
955 |
align-items: center; |
|
956 |
} |
|
957 |
.edit-post-template-top-area .edit-post-template-title, |
|
958 |
.edit-post-template-top-area .edit-post-template-post-title { |
|
959 |
padding: 0; |
|
960 |
text-decoration: none; |
|
961 |
height: auto; |
|
962 |
} |
|
963 |
.edit-post-template-top-area .edit-post-template-title::before, |
|
964 |
.edit-post-template-top-area .edit-post-template-post-title::before { |
|
965 |
height: 100%; |
|
966 |
} |
|
967 |
.edit-post-template-top-area .edit-post-template-title.has-icon svg, |
|
968 |
.edit-post-template-top-area .edit-post-template-post-title.has-icon svg { |
|
969 |
order: 1; |
|
970 |
margin-left: 0; |
|
971 |
} |
|
972 |
.edit-post-template-top-area .edit-post-template-title { |
|
973 |
color: #1e1e1e; |
|
974 |
} |
|
975 |
.edit-post-template-top-area .edit-post-template-post-title { |
|
976 |
margin-top: 4px; |
|
977 |
max-width: 160px; |
|
978 |
white-space: nowrap; |
|
979 |
overflow: hidden; |
|
980 |
text-overflow: ellipsis; |
|
981 |
display: block; |
|
982 |
} |
|
983 |
.edit-post-template-top-area .edit-post-template-post-title::before { |
|
984 |
right: 0; |
|
985 |
left: 0; |
|
986 |
} |
|
987 |
@media (min-width: 1080px) { |
|
988 |
.edit-post-template-top-area .edit-post-template-post-title { |
19
|
989 |
max-width: 400px; |
18
|
990 |
} |
|
991 |
} |
|
992 |
|
|
993 |
.edit-post-template-top-area__popover .components-popover__content { |
|
994 |
min-width: 280px; |
19
|
995 |
padding: 8px; |
|
996 |
} |
|
997 |
.edit-post-template-top-area__popover .edit-post-template-details__description { |
|
998 |
color: #757575; |
18
|
999 |
} |
|
1000 |
|
|
1001 |
.edit-post-template-top-area__second-menu-group { |
19
|
1002 |
margin-right: -16px; |
|
1003 |
margin-left: -16px; |
|
1004 |
padding: 16px; |
18
|
1005 |
padding-bottom: 0; |
|
1006 |
border-top: 1px solid #ddd; |
|
1007 |
} |
|
1008 |
.edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button { |
|
1009 |
display: flex; |
|
1010 |
justify-content: center; |
|
1011 |
} |
|
1012 |
.edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button .components-menu-item__item { |
|
1013 |
margin-left: 0; |
19
|
1014 |
min-width: 0; |
18
|
1015 |
} |
9
|
1016 |
|
16
|
1017 |
.edit-post-keyboard-shortcut-help-modal__section { |
18
|
1018 |
margin: 0 0 2rem 0; |
|
1019 |
} |
16
|
1020 |
.edit-post-keyboard-shortcut-help-modal__main-shortcuts .edit-post-keyboard-shortcut-help-modal__shortcut-list { |
18
|
1021 |
margin-top: -25px; |
|
1022 |
} |
16
|
1023 |
.edit-post-keyboard-shortcut-help-modal__section-title { |
9
|
1024 |
font-size: 0.9rem; |
18
|
1025 |
font-weight: 600; |
|
1026 |
} |
16
|
1027 |
.edit-post-keyboard-shortcut-help-modal__shortcut { |
9
|
1028 |
display: flex; |
16
|
1029 |
align-items: baseline; |
9
|
1030 |
padding: 0.6rem 0; |
16
|
1031 |
border-top: 1px solid #ddd; |
18
|
1032 |
margin-bottom: 0; |
|
1033 |
} |
|
1034 |
.edit-post-keyboard-shortcut-help-modal__shortcut:last-child { |
|
1035 |
border-bottom: 1px solid #ddd; |
|
1036 |
} |
|
1037 |
.edit-post-keyboard-shortcut-help-modal__shortcut:empty { |
|
1038 |
display: none; |
|
1039 |
} |
16
|
1040 |
.edit-post-keyboard-shortcut-help-modal__shortcut-term { |
9
|
1041 |
font-weight: 600; |
16
|
1042 |
margin: 0 1rem 0 0; |
18
|
1043 |
text-align: left; |
|
1044 |
} |
16
|
1045 |
.edit-post-keyboard-shortcut-help-modal__shortcut-description { |
9
|
1046 |
flex: 1; |
|
1047 |
margin: 0; |
18
|
1048 |
flex-basis: auto; |
|
1049 |
} |
16
|
1050 |
.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination { |
|
1051 |
display: block; |
9
|
1052 |
background: none; |
|
1053 |
margin: 0; |
18
|
1054 |
padding: 0; |
|
1055 |
} |
|
1056 |
.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination + .edit-post-keyboard-shortcut-help-modal__shortcut-key-combination { |
|
1057 |
margin-top: 10px; |
|
1058 |
} |
16
|
1059 |
.edit-post-keyboard-shortcut-help-modal__shortcut-key { |
9
|
1060 |
padding: 0.25rem 0.5rem; |
|
1061 |
border-radius: 8%; |
18
|
1062 |
margin: 0 0.2rem 0 0.2rem; |
|
1063 |
} |
|
1064 |
.edit-post-keyboard-shortcut-help-modal__shortcut-key:last-child { |
|
1065 |
margin: 0 0.2rem 0 0; |
|
1066 |
} |
9
|
1067 |
|
16
|
1068 |
.edit-post-layout__metaboxes { |
18
|
1069 |
flex-shrink: 0; |
|
1070 |
clear: both; |
|
1071 |
} |
9
|
1072 |
|
16
|
1073 |
.edit-post-layout .components-editor-notices__snackbar { |
|
1074 |
position: fixed; |
|
1075 |
left: 0; |
|
1076 |
bottom: 40px; |
|
1077 |
padding-right: 16px; |
18
|
1078 |
padding-left: 16px; |
|
1079 |
} |
16
|
1080 |
|
|
1081 |
.edit-post-layout .components-editor-notices__snackbar { |
|
1082 |
/* Set left position when auto-fold is not on the body element. */ |
18
|
1083 |
right: 0; |
|
1084 |
} |
|
1085 |
@media (min-width: 783px) { |
|
1086 |
.edit-post-layout .components-editor-notices__snackbar { |
|
1087 |
right: 160px; |
|
1088 |
} |
|
1089 |
} |
16
|
1090 |
|
|
1091 |
.auto-fold .edit-post-layout .components-editor-notices__snackbar { |
18
|
1092 |
/* Auto fold is when on smaller breakpoints, nav menu auto collapses. */ |
|
1093 |
} |
|
1094 |
@media (min-width: 783px) { |
|
1095 |
.auto-fold .edit-post-layout .components-editor-notices__snackbar { |
|
1096 |
right: 36px; |
|
1097 |
} |
|
1098 |
} |
|
1099 |
@media (min-width: 961px) { |
|
1100 |
.auto-fold .edit-post-layout .components-editor-notices__snackbar { |
|
1101 |
right: 160px; |
|
1102 |
} |
|
1103 |
} |
16
|
1104 |
|
|
1105 |
/* Sidebar manually collapsed. */ |
|
1106 |
.folded .edit-post-layout .components-editor-notices__snackbar { |
18
|
1107 |
right: 0; |
|
1108 |
} |
|
1109 |
@media (min-width: 783px) { |
|
1110 |
.folded .edit-post-layout .components-editor-notices__snackbar { |
|
1111 |
right: 36px; |
|
1112 |
} |
|
1113 |
} |
16
|
1114 |
|
|
1115 |
body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { |
18
|
1116 |
right: 0 !important; |
|
1117 |
} |
9
|
1118 |
|
|
1119 |
.edit-post-layout .editor-post-publish-panel { |
|
1120 |
position: fixed; |
|
1121 |
z-index: 100001; |
|
1122 |
top: 46px; |
|
1123 |
bottom: 0; |
|
1124 |
left: 0; |
|
1125 |
right: 0; |
18
|
1126 |
overflow: auto; |
|
1127 |
} |
|
1128 |
@media (min-width: 782px) { |
|
1129 |
.edit-post-layout .editor-post-publish-panel { |
|
1130 |
z-index: 99998; |
|
1131 |
top: 32px; |
|
1132 |
right: auto; |
|
1133 |
width: 281px; |
|
1134 |
border-right: 1px solid #ddd; |
|
1135 |
transform: translateX(-100%); |
|
1136 |
animation: edit-post-post-publish-panel__slide-in-animation 0.1s forwards; |
|
1137 |
} |
|
1138 |
} |
|
1139 |
@media (min-width: 782px) and (prefers-reduced-motion: reduce) { |
|
1140 |
.edit-post-layout .editor-post-publish-panel { |
|
1141 |
animation-duration: 1ms; |
|
1142 |
animation-delay: 0s; |
|
1143 |
} |
|
1144 |
} |
|
1145 |
@media (min-width: 782px) { |
|
1146 |
body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel { |
|
1147 |
top: 0; |
|
1148 |
} |
|
1149 |
} |
|
1150 |
@media (min-width: 782px) { |
|
1151 |
[role=region]:focus .edit-post-layout .editor-post-publish-panel { |
|
1152 |
transform: translateX(0%); |
|
1153 |
} |
|
1154 |
} |
9
|
1155 |
|
|
1156 |
@keyframes edit-post-post-publish-panel__slide-in-animation { |
|
1157 |
100% { |
18
|
1158 |
transform: translateX(0%); |
|
1159 |
} |
|
1160 |
} |
16
|
1161 |
.edit-post-layout .editor-post-publish-panel__header-publish-button { |
18
|
1162 |
justify-content: center; |
|
1163 |
} |
9
|
1164 |
|
16
|
1165 |
.edit-post-layout__toggle-publish-panel, |
18
|
1166 |
.edit-post-layout__toggle-sidebar-panel, |
16
|
1167 |
.edit-post-layout__toggle-entities-saved-states-panel { |
|
1168 |
z-index: 100000; |
|
1169 |
position: fixed !important; |
9
|
1170 |
top: -9999em; |
|
1171 |
bottom: auto; |
|
1172 |
right: auto; |
|
1173 |
left: 0; |
|
1174 |
width: 280px; |
16
|
1175 |
background-color: #fff; |
|
1176 |
border: 1px dotted #ddd; |
|
1177 |
height: auto !important; |
|
1178 |
padding: 24px; |
|
1179 |
display: flex; |
18
|
1180 |
justify-content: center; |
|
1181 |
} |
|
1182 |
.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-publish-panel, .interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-publish-panel, |
|
1183 |
.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-sidebar-panel, |
|
1184 |
.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-sidebar-panel, |
|
1185 |
.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-entities-saved-states-panel, |
|
1186 |
.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-entities-saved-states-panel { |
|
1187 |
top: auto; |
|
1188 |
bottom: 0; |
|
1189 |
} |
9
|
1190 |
|
19
|
1191 |
.edit-post-block-manager__no-results { |
9
|
1192 |
font-style: italic; |
|
1193 |
padding: 24px 0; |
18
|
1194 |
text-align: center; |
|
1195 |
} |
9
|
1196 |
|
19
|
1197 |
.edit-post-block-manager__search { |
18
|
1198 |
margin: 16px 0; |
|
1199 |
} |
16
|
1200 |
|
19
|
1201 |
.edit-post-block-manager__disabled-blocks-count { |
|
1202 |
border: 1px solid #ddd; |
|
1203 |
border-width: 1px 0; |
|
1204 |
box-shadow: 32px 0 0 0 #fff, -32px 0 0 0 #fff; |
|
1205 |
padding: 8px; |
|
1206 |
background-color: #fff; |
|
1207 |
text-align: center; |
|
1208 |
font-style: italic; |
|
1209 |
position: sticky; |
|
1210 |
top: -1px; |
|
1211 |
z-index: 2; |
|
1212 |
} |
|
1213 |
.edit-post-block-manager__disabled-blocks-count ~ .edit-post-block-manager__results .edit-post-block-manager__category-title { |
|
1214 |
top: 35px; |
18
|
1215 |
} |
9
|
1216 |
|
19
|
1217 |
.edit-post-block-manager__category { |
|
1218 |
margin: 0 0 24px 0; |
18
|
1219 |
} |
9
|
1220 |
|
19
|
1221 |
.edit-post-block-manager__category-title { |
9
|
1222 |
position: sticky; |
|
1223 |
top: 0; |
|
1224 |
padding: 16px 0; |
16
|
1225 |
background-color: #fff; |
18
|
1226 |
z-index: 1; |
|
1227 |
} |
19
|
1228 |
.edit-post-block-manager__category-title .components-checkbox-control__label { |
18
|
1229 |
font-weight: 600; |
|
1230 |
} |
9
|
1231 |
|
19
|
1232 |
.edit-post-block-manager__show-all { |
18
|
1233 |
margin-left: 8px; |
|
1234 |
} |
9
|
1235 |
|
19
|
1236 |
.edit-post-block-manager__checklist { |
18
|
1237 |
margin-top: 0; |
|
1238 |
} |
9
|
1239 |
|
19
|
1240 |
.edit-post-block-manager__category-title, |
|
1241 |
.edit-post-block-manager__checklist-item { |
18
|
1242 |
border-bottom: 1px solid #ddd; |
|
1243 |
} |
19
|
1244 |
.edit-post-block-manager__category-title .components-base-control__field, |
|
1245 |
.edit-post-block-manager__checklist-item .components-base-control__field { |
18
|
1246 |
align-items: center; |
|
1247 |
display: flex; |
|
1248 |
margin: 0; |
|
1249 |
} |
19
|
1250 |
|
|
1251 |
.edit-post-block-manager__checklist-item { |
|
1252 |
margin-bottom: 0; |
|
1253 |
padding-right: 16px; |
|
1254 |
} |
|
1255 |
.components-modal__content .edit-post-block-manager__checklist-item.components-checkbox-control__input-container { |
18
|
1256 |
margin: 0 8px; |
|
1257 |
} |
19
|
1258 |
.edit-post-block-manager__checklist-item .components-checkbox-control__label { |
18
|
1259 |
display: flex; |
|
1260 |
align-items: center; |
|
1261 |
justify-content: space-between; |
|
1262 |
flex-grow: 1; |
19
|
1263 |
padding: 8px 0; |
18
|
1264 |
} |
19
|
1265 |
.edit-post-block-manager__checklist-item .block-editor-block-icon { |
18
|
1266 |
margin-left: 10px; |
|
1267 |
fill: #1e1e1e; |
|
1268 |
} |
9
|
1269 |
|
19
|
1270 |
.edit-post-block-manager__results { |
18
|
1271 |
border-top: 1px solid #ddd; |
|
1272 |
} |
9
|
1273 |
|
19
|
1274 |
.edit-post-block-manager__disabled-blocks-count + .edit-post-block-manager__results { |
|
1275 |
border-top-width: 0; |
|
1276 |
} |
|
1277 |
|
9
|
1278 |
.edit-post-meta-boxes-area { |
|
1279 |
position: relative; |
|
1280 |
/** |
18
|
1281 |
* The wordpress default for most meta-box elements is content-box. Some |
|
1282 |
* elements such as textarea and input are set to border-box in forms.css. |
|
1283 |
* These elements therefore specifically set back to border-box here, while |
|
1284 |
* other elements (such as .button) are unaffected by Gutenberg's style |
|
1285 |
* because of their higher specificity. |
|
1286 |
*/ |
9
|
1287 |
/* Match width and positioning of the meta boxes. Override default styles. */ |
18
|
1288 |
/* Override Default meta box stylings */ |
|
1289 |
} |
|
1290 |
.edit-post-meta-boxes-area__container, |
|
1291 |
.edit-post-meta-boxes-area .inside { |
|
1292 |
box-sizing: content-box; |
|
1293 |
} |
|
1294 |
.edit-post-meta-boxes-area textarea, |
|
1295 |
.edit-post-meta-boxes-area input { |
|
1296 |
box-sizing: border-box; |
|
1297 |
} |
19
|
1298 |
.edit-post-meta-boxes-area .postbox-header { |
|
1299 |
border-top: 1px solid #ddd; |
|
1300 |
border-bottom: 0; |
|
1301 |
} |
18
|
1302 |
.edit-post-meta-boxes-area #poststuff { |
|
1303 |
margin: 0 auto; |
|
1304 |
padding-top: 0; |
|
1305 |
min-width: auto; |
|
1306 |
} |
|
1307 |
.edit-post-meta-boxes-area #poststuff h3.hndle, |
|
1308 |
.edit-post-meta-boxes-area #poststuff .stuffbox > h3, |
|
1309 |
.edit-post-meta-boxes-area #poststuff h2.hndle { |
|
1310 |
/* WordPress selectors yolo */ |
|
1311 |
box-sizing: border-box; |
|
1312 |
color: inherit; |
|
1313 |
font-weight: 600; |
|
1314 |
outline: none; |
19
|
1315 |
padding: 0 24px; |
18
|
1316 |
position: relative; |
|
1317 |
width: 100%; |
|
1318 |
} |
|
1319 |
.edit-post-meta-boxes-area .postbox { |
|
1320 |
border: 0; |
|
1321 |
color: inherit; |
|
1322 |
margin-bottom: 0; |
|
1323 |
} |
|
1324 |
.edit-post-meta-boxes-area .postbox > .inside { |
|
1325 |
color: inherit; |
19
|
1326 |
padding: 0 24px 24px; |
18
|
1327 |
margin: 0; |
|
1328 |
} |
|
1329 |
.edit-post-meta-boxes-area .postbox .handlediv { |
|
1330 |
height: 44px; |
|
1331 |
width: 44px; |
|
1332 |
} |
|
1333 |
.edit-post-meta-boxes-area.is-loading::before { |
|
1334 |
position: absolute; |
|
1335 |
top: 0; |
|
1336 |
right: 0; |
|
1337 |
left: 0; |
|
1338 |
bottom: 0; |
|
1339 |
content: ""; |
|
1340 |
background: transparent; |
|
1341 |
z-index: 1; |
|
1342 |
} |
|
1343 |
.edit-post-meta-boxes-area .components-spinner { |
|
1344 |
position: absolute; |
|
1345 |
top: 10px; |
|
1346 |
left: 20px; |
|
1347 |
z-index: 5; |
|
1348 |
} |
|
1349 |
.edit-post-meta-boxes-area .is-hidden { |
|
1350 |
display: none; |
|
1351 |
} |
|
1352 |
.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox] { |
|
1353 |
border: 1px solid #757575; |
|
1354 |
} |
|
1355 |
.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:checked { |
|
1356 |
background: #fff; |
|
1357 |
border-color: #757575; |
|
1358 |
} |
|
1359 |
.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]::before { |
|
1360 |
margin: -3px -4px; |
|
1361 |
} |
9
|
1362 |
|
|
1363 |
.edit-post-meta-boxes-area__clear { |
18
|
1364 |
clear: both; |
|
1365 |
} |
|
1366 |
|
|
1367 |
.edit-post-editor__inserter-panel, |
|
1368 |
.edit-post-editor__list-view-panel { |
|
1369 |
height: 100%; |
|
1370 |
display: flex; |
|
1371 |
flex-direction: column; |
|
1372 |
} |
|
1373 |
|
|
1374 |
.edit-post-editor__list-view-panel { |
|
1375 |
min-width: 350px; |
|
1376 |
} |
|
1377 |
|
|
1378 |
.edit-post-editor__inserter-panel-header { |
|
1379 |
padding-top: 8px; |
|
1380 |
padding-left: 8px; |
|
1381 |
display: flex; |
|
1382 |
justify-content: flex-end; |
|
1383 |
} |
|
1384 |
|
|
1385 |
.edit-post-editor__inserter-panel-content, |
|
1386 |
.edit-post-editor__list-view-panel-content { |
|
1387 |
height: calc(100% - 36px - 8px); |
|
1388 |
} |
|
1389 |
|
|
1390 |
@media (min-width: 782px) { |
|
1391 |
.edit-post-editor__inserter-panel-content { |
|
1392 |
height: 100%; |
|
1393 |
} |
|
1394 |
} |
|
1395 |
|
|
1396 |
.edit-post-editor__list-view-panel-header { |
|
1397 |
align-items: center; |
|
1398 |
border-bottom: 1px solid #ddd; |
|
1399 |
display: flex; |
|
1400 |
justify-content: space-between; |
|
1401 |
height: 48px; |
|
1402 |
padding-right: 16px; |
|
1403 |
padding-left: 4px; |
|
1404 |
} |
|
1405 |
|
|
1406 |
.edit-post-editor__list-view-panel-content { |
|
1407 |
overflow-y: auto; |
19
|
1408 |
padding: 8px 6px; |
18
|
1409 |
} |
9
|
1410 |
|
|
1411 |
.components-panel__header.edit-post-sidebar__panel-tabs { |
|
1412 |
justify-content: flex-start; |
|
1413 |
padding-right: 0; |
16
|
1414 |
padding-left: 16px; |
9
|
1415 |
border-top: 0; |
18
|
1416 |
margin-top: 0; |
|
1417 |
} |
|
1418 |
.components-panel__header.edit-post-sidebar__panel-tabs ul { |
|
1419 |
display: flex; |
|
1420 |
} |
|
1421 |
.components-panel__header.edit-post-sidebar__panel-tabs li { |
|
1422 |
margin: 0; |
|
1423 |
} |
|
1424 |
.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon { |
|
1425 |
display: none; |
|
1426 |
margin: 0 auto 0 0; |
|
1427 |
padding: 0; |
|
1428 |
min-width: 24px; |
|
1429 |
height: 24px; |
|
1430 |
} |
|
1431 |
@media (min-width: 782px) { |
16
|
1432 |
.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon { |
18
|
1433 |
display: flex; |
|
1434 |
} |
|
1435 |
} |
9
|
1436 |
|
16
|
1437 |
.components-panel__body.is-opened.edit-post-last-revision__panel { |
|
1438 |
padding: 0; |
18
|
1439 |
height: 48px; |
|
1440 |
} |
9
|
1441 |
|
16
|
1442 |
.editor-post-last-revision__title.components-button { |
18
|
1443 |
padding: 16px; |
|
1444 |
} |
9
|
1445 |
|
|
1446 |
.editor-post-author__select { |
|
1447 |
margin: -5px 0; |
18
|
1448 |
width: 100%; |
|
1449 |
} |
|
1450 |
@supports (position: sticky) { |
|
1451 |
.editor-post-author__select { |
|
1452 |
width: auto; |
|
1453 |
} |
|
1454 |
} |
9
|
1455 |
|
|
1456 |
.edit-post-post-link__link-post-name { |
18
|
1457 |
font-weight: 600; |
|
1458 |
} |
9
|
1459 |
|
|
1460 |
.edit-post-post-link__preview-label { |
16
|
1461 |
font-weight: 400; |
18
|
1462 |
margin: 0; |
|
1463 |
} |
9
|
1464 |
|
|
1465 |
.edit-post-post-link__link { |
16
|
1466 |
text-align: right; |
|
1467 |
word-wrap: break-word; |
18
|
1468 |
display: block; |
|
1469 |
} |
16
|
1470 |
.edit-post-post-link__preview-link-container { |
18
|
1471 |
direction: ltr; |
|
1472 |
} |
9
|
1473 |
.edit-post-post-schedule { |
|
1474 |
width: 100%; |
16
|
1475 |
position: relative; |
18
|
1476 |
justify-content: left; |
|
1477 |
} |
|
1478 |
.edit-post-post-schedule span { |
|
1479 |
display: block; |
|
1480 |
width: 45%; |
|
1481 |
} |
9
|
1482 |
|
|
1483 |
.components-button.edit-post-post-schedule__toggle { |
18
|
1484 |
text-align: left; |
|
1485 |
} |
|
1486 |
|
|
1487 |
.edit-post-post-schedule__dialog .components-popover__content > div { |
|
1488 |
padding: 0; |
|
1489 |
} |
9
|
1490 |
|
16
|
1491 |
.editor-post-slug__input { |
|
1492 |
margin: -5px 0; |
18
|
1493 |
padding: 2px; |
|
1494 |
} |
9
|
1495 |
|
|
1496 |
.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft { |
|
1497 |
margin-top: 15px; |
|
1498 |
width: 100%; |
18
|
1499 |
text-align: center; |
|
1500 |
} |
9
|
1501 |
|
|
1502 |
.edit-post-post-visibility { |
16
|
1503 |
width: 100%; |
18
|
1504 |
justify-content: left; |
|
1505 |
} |
|
1506 |
.edit-post-post-visibility span { |
|
1507 |
display: block; |
|
1508 |
width: 45%; |
|
1509 |
} |
9
|
1510 |
|
16
|
1511 |
@media (min-width: 782px) { |
|
1512 |
.edit-post-post-visibility__dialog .components-popover__content { |
18
|
1513 |
width: 257px; |
|
1514 |
} |
|
1515 |
} |
9
|
1516 |
|
|
1517 |
.edit-post-post-visibility__dialog-legend { |
18
|
1518 |
font-weight: 600; |
|
1519 |
} |
9
|
1520 |
|
|
1521 |
.edit-post-post-visibility__choice { |
18
|
1522 |
margin: 10px 0; |
|
1523 |
} |
9
|
1524 |
|
|
1525 |
.edit-post-post-visibility__dialog-radio, |
|
1526 |
.edit-post-post-visibility__dialog-label { |
18
|
1527 |
vertical-align: top; |
|
1528 |
} |
9
|
1529 |
|
|
1530 |
.edit-post-post-visibility__dialog-password-input { |
|
1531 |
width: calc(100% - 20px); |
18
|
1532 |
margin-right: 20px; |
|
1533 |
} |
9
|
1534 |
|
|
1535 |
.edit-post-post-visibility__dialog-info { |
18
|
1536 |
color: #757575; |
9
|
1537 |
padding-right: 20px; |
|
1538 |
font-style: italic; |
|
1539 |
margin: 4px 0 0; |
18
|
1540 |
line-height: 1.4; |
|
1541 |
} |
9
|
1542 |
|
16
|
1543 |
.components-button.edit-post-sidebar__panel-tab { |
|
1544 |
border-radius: 0; |
|
1545 |
height: 48px; |
9
|
1546 |
background: transparent; |
|
1547 |
border: none; |
|
1548 |
box-shadow: none; |
|
1549 |
cursor: pointer; |
16
|
1550 |
display: inline-block; |
9
|
1551 |
padding: 3px 15px; |
|
1552 |
margin-right: 0; |
18
|
1553 |
font-weight: 500; |
|
1554 |
} |
|
1555 |
.components-button.edit-post-sidebar__panel-tab::after { |
|
1556 |
content: attr(data-label); |
|
1557 |
display: block; |
|
1558 |
font-weight: 600; |
|
1559 |
height: 0; |
|
1560 |
overflow: hidden; |
|
1561 |
speak: none; |
|
1562 |
visibility: hidden; |
|
1563 |
} |
|
1564 |
.components-button.edit-post-sidebar__panel-tab.is-active { |
|
1565 |
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) transparent, inset 0 -4px 0 0 var(--wp-admin-theme-color); |
|
1566 |
position: relative; |
|
1567 |
z-index: 1; |
|
1568 |
} |
|
1569 |
.components-button.edit-post-sidebar__panel-tab.is-active::before { |
|
1570 |
content: ""; |
|
1571 |
position: absolute; |
|
1572 |
top: 0; |
|
1573 |
bottom: 1px; |
|
1574 |
left: 0; |
|
1575 |
right: 0; |
|
1576 |
border-bottom: 4px solid transparent; |
|
1577 |
} |
|
1578 |
.components-button.edit-post-sidebar__panel-tab:focus { |
|
1579 |
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); |
|
1580 |
position: relative; |
|
1581 |
z-index: 1; |
|
1582 |
} |
|
1583 |
.components-button.edit-post-sidebar__panel-tab.is-active:focus { |
|
1584 |
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 -4px 0 0 var(--wp-admin-theme-color); |
|
1585 |
} |
|
1586 |
|
|
1587 |
@media (min-width: 782px) { |
|
1588 |
.edit-post-template__modal .components-base-control { |
|
1589 |
width: 320px; |
|
1590 |
} |
|
1591 |
} |
|
1592 |
.edit-post-template__modal .components-modal__header { |
|
1593 |
border-bottom: none; |
|
1594 |
} |
|
1595 |
.edit-post-template__modal .components-modal__content::before { |
|
1596 |
margin-bottom: 4px; |
|
1597 |
} |
|
1598 |
|
|
1599 |
.edit-post-template__modal-actions { |
|
1600 |
margin-top: 12px; |
|
1601 |
} |
|
1602 |
|
|
1603 |
.edit-post-template-modal__tip { |
|
1604 |
padding: 16px 24px; |
|
1605 |
background: #f0f0f0; |
|
1606 |
border-radius: 2px; |
|
1607 |
} |
|
1608 |
@media (min-width: 782px) { |
|
1609 |
.edit-post-template-modal__tip { |
|
1610 |
width: 240px; |
|
1611 |
} |
|
1612 |
} |
|
1613 |
|
19
|
1614 |
.edit-post-template__notice { |
|
1615 |
margin: 0 0 8px 0; |
|
1616 |
} |
|
1617 |
.edit-post-template__notice .components-notice__content { |
|
1618 |
margin: 0; |
|
1619 |
} |
|
1620 |
|
18
|
1621 |
.edit-post-template__actions button:not(:last-child) { |
|
1622 |
margin-left: 8px; |
|
1623 |
} |
|
1624 |
|
|
1625 |
h2.edit-post-template-summary__title { |
|
1626 |
line-height: 24px; |
19
|
1627 |
margin: 0 0 4px; |
|
1628 |
font-weight: 500; |
18
|
1629 |
} |
9
|
1630 |
|
16
|
1631 |
.edit-post-text-editor { |
|
1632 |
position: relative; |
|
1633 |
width: 100%; |
|
1634 |
background-color: #fff; |
18
|
1635 |
flex-grow: 1; |
|
1636 |
} |
19
|
1637 |
.edit-post-text-editor .editor-post-title { |
18
|
1638 |
max-width: none; |
|
1639 |
line-height: 1.4; |
|
1640 |
font-family: Menlo, Consolas, monaco, monospace; |
|
1641 |
font-size: 2.5em; |
|
1642 |
font-weight: normal; |
|
1643 |
border: 1px solid #949494; |
|
1644 |
padding: 16px; |
|
1645 |
} |
|
1646 |
@media (min-width: 600px) { |
19
|
1647 |
.edit-post-text-editor .editor-post-title { |
18
|
1648 |
padding: 24px; |
|
1649 |
} |
|
1650 |
} |
19
|
1651 |
.edit-post-text-editor .editor-post-title:focus { |
18
|
1652 |
border-color: var(--wp-admin-theme-color); |
|
1653 |
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); |
|
1654 |
} |
9
|
1655 |
|
|
1656 |
.edit-post-text-editor__body { |
16
|
1657 |
width: 100%; |
|
1658 |
padding: 0 12px 12px 12px; |
|
1659 |
max-width: 1080px; |
|
1660 |
margin-right: auto; |
18
|
1661 |
margin-left: auto; |
|
1662 |
} |
|
1663 |
@media (min-width: 960px) { |
|
1664 |
.edit-post-text-editor__body { |
|
1665 |
padding: 16px 24px 96px 24px; |
|
1666 |
padding: 0 24px 24px 24px; |
|
1667 |
} |
|
1668 |
} |
9
|
1669 |
|
16
|
1670 |
.edit-post-text-editor__toolbar { |
|
1671 |
position: sticky; |
|
1672 |
z-index: 1; |
|
1673 |
top: 0; |
|
1674 |
right: 0; |
|
1675 |
left: 0; |
|
1676 |
display: flex; |
|
1677 |
background: rgba(255, 255, 255, 0.8); |
18
|
1678 |
padding: 4px 12px; |
|
1679 |
} |
|
1680 |
@media (min-width: 600px) { |
|
1681 |
.edit-post-text-editor__toolbar { |
|
1682 |
padding: 12px; |
|
1683 |
} |
|
1684 |
} |
|
1685 |
@media (min-width: 960px) { |
|
1686 |
.edit-post-text-editor__toolbar { |
|
1687 |
padding: 12px 24px; |
|
1688 |
} |
|
1689 |
} |
|
1690 |
.edit-post-text-editor__toolbar h2 { |
|
1691 |
line-height: 36px; |
|
1692 |
margin: 0 0 0 auto; |
|
1693 |
font-size: 13px; |
|
1694 |
color: #1e1e1e; |
|
1695 |
} |
|
1696 |
.edit-post-text-editor__toolbar .components-button svg { |
|
1697 |
order: 1; |
|
1698 |
} |
9
|
1699 |
|
|
1700 |
.edit-post-visual-editor { |
|
1701 |
position: relative; |
18
|
1702 |
display: flex; |
|
1703 |
flex-flow: column; |
|
1704 |
background-color: #2f2f2f; |
19
|
1705 |
flex: 1 0 auto; |
18
|
1706 |
} |
|
1707 |
.edit-post-visual-editor .components-button { |
|
1708 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
1709 |
font-size: 13px; |
|
1710 |
padding: 6px 12px; |
|
1711 |
} |
|
1712 |
.edit-post-visual-editor .components-button.is-tertiary, .edit-post-visual-editor .components-button.has-icon { |
|
1713 |
padding: 6px; |
|
1714 |
} |
19
|
1715 |
|
|
1716 |
.edit-post-visual-editor__post-title-wrapper { |
|
1717 |
margin-top: 4rem; |
|
1718 |
margin-bottom: var(--wp--style--block-gap); |
18
|
1719 |
} |
16
|
1720 |
.edit-post-visual-editor__post-title-wrapper .editor-post-title { |
9
|
1721 |
margin-right: auto; |
|
1722 |
margin-left: auto; |
18
|
1723 |
} |
9
|
1724 |
|
18
|
1725 |
.edit-post-visual-editor__exit-template-mode { |
|
1726 |
position: absolute; |
|
1727 |
top: 8px; |
|
1728 |
right: 8px; |
|
1729 |
color: #fff; |
|
1730 |
} |
|
1731 |
.edit-post-visual-editor__exit-template-mode:active:not([aria-disabled=true]), .edit-post-visual-editor__exit-template-mode:focus:not([aria-disabled=true]), .edit-post-visual-editor__exit-template-mode:hover { |
|
1732 |
color: #f0f0f0; |
|
1733 |
} |
9
|
1734 |
|
18
|
1735 |
.edit-post-visual-editor__content-area { |
|
1736 |
width: 100%; |
|
1737 |
height: 100%; |
|
1738 |
position: relative; |
19
|
1739 |
box-sizing: border-box; |
18
|
1740 |
display: flex; |
19
|
1741 |
flex-grow: 1; |
18
|
1742 |
} |
16
|
1743 |
|
19
|
1744 |
.edit-post-welcome-guide, |
|
1745 |
.edit-template-welcome-guide { |
18
|
1746 |
width: 312px; |
|
1747 |
} |
19
|
1748 |
.edit-post-welcome-guide__image, |
|
1749 |
.edit-template-welcome-guide__image { |
18
|
1750 |
background: #00a0d2; |
|
1751 |
margin: 0 0 16px; |
|
1752 |
} |
19
|
1753 |
.edit-post-welcome-guide__image > img, |
|
1754 |
.edit-template-welcome-guide__image > img { |
|
1755 |
display: block; |
|
1756 |
max-width: 100%; |
|
1757 |
-o-object-fit: cover; |
|
1758 |
object-fit: cover; |
|
1759 |
} |
|
1760 |
.edit-post-welcome-guide__heading, |
|
1761 |
.edit-template-welcome-guide__heading { |
18
|
1762 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
1763 |
font-size: 24px; |
|
1764 |
line-height: 1.4; |
|
1765 |
margin: 16px 0 16px 0; |
|
1766 |
padding: 0 32px; |
|
1767 |
} |
19
|
1768 |
.edit-post-welcome-guide__text, |
|
1769 |
.edit-template-welcome-guide__text { |
18
|
1770 |
font-size: 13px; |
|
1771 |
line-height: 1.4; |
|
1772 |
margin: 0 0 24px 0; |
|
1773 |
padding: 0 32px; |
|
1774 |
} |
19
|
1775 |
.edit-post-welcome-guide__inserter-icon, |
|
1776 |
.edit-template-welcome-guide__inserter-icon { |
18
|
1777 |
margin: 0 4px; |
|
1778 |
vertical-align: text-top; |
|
1779 |
} |
16
|
1780 |
|
19
|
1781 |
.edit-template-welcome-guide .components-button svg { |
|
1782 |
fill: #fff; |
|
1783 |
} |
|
1784 |
|
|
1785 |
@media (min-width: 600px) { |
|
1786 |
.edit-post-start-page-options__modal { |
|
1787 |
width: calc(100% - 32px); |
|
1788 |
height: calc(100% - 120px); |
|
1789 |
} |
|
1790 |
} |
|
1791 |
@media (min-width: 782px) { |
|
1792 |
.edit-post-start-page-options__modal { |
|
1793 |
width: 750px; |
|
1794 |
} |
|
1795 |
} |
|
1796 |
@media (min-width: 960px) { |
|
1797 |
.edit-post-start-page-options__modal { |
|
1798 |
height: 70%; |
|
1799 |
} |
|
1800 |
} |
|
1801 |
.edit-post-start-page-options__modal .components-modal__header { |
|
1802 |
border-bottom: none; |
|
1803 |
} |
|
1804 |
.edit-post-start-page-options__modal .components-modal__content::before { |
|
1805 |
content: none; |
|
1806 |
} |
|
1807 |
|
|
1808 |
.edit-post-start-page-options__modal-content .block-editor-block-patterns-list { |
|
1809 |
column-count: 2; |
|
1810 |
column-gap: 24px; |
|
1811 |
} |
|
1812 |
.edit-post-start-page-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item { |
|
1813 |
break-inside: avoid-column; |
|
1814 |
margin-bottom: 24px; |
|
1815 |
} |
|
1816 |
.edit-post-start-page-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item .block-editor-block-preview__container { |
|
1817 |
min-height: 100px; |
|
1818 |
} |
|
1819 |
.edit-post-start-page-options__modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item .block-editor-block-preview__content { |
|
1820 |
width: 100%; |
|
1821 |
} |
|
1822 |
|
9
|
1823 |
/** |
|
1824 |
* Animations |
|
1825 |
*/ |
|
1826 |
@keyframes edit-post__fade-in-animation { |
|
1827 |
from { |
18
|
1828 |
opacity: 0; |
|
1829 |
} |
9
|
1830 |
to { |
18
|
1831 |
opacity: 1; |
|
1832 |
} |
|
1833 |
} |
9
|
1834 |
html.wp-toolbar { |
18
|
1835 |
background: #fff; |
|
1836 |
} |
9
|
1837 |
|
|
1838 |
body.block-editor-page { |
|
1839 |
background: #fff; |
16
|
1840 |
/* We hide legacy notices in Gutenberg Based Pages, because they were not designed in a way that scaled well. |
18
|
1841 |
Plugins can use Gutenberg notices if they need to pass on information to the user when they are editing. */ |
|
1842 |
} |
|
1843 |
body.block-editor-page #wpcontent { |
|
1844 |
padding-right: 0; |
|
1845 |
} |
|
1846 |
body.block-editor-page #wpbody-content { |
|
1847 |
padding-bottom: 0; |
|
1848 |
} |
|
1849 |
body.block-editor-page #wpbody-content > div:not(.block-editor):not(#screen-meta) { |
|
1850 |
display: none; |
|
1851 |
} |
|
1852 |
body.block-editor-page #wpfooter { |
|
1853 |
display: none; |
|
1854 |
} |
|
1855 |
body.block-editor-page .a11y-speak-region { |
|
1856 |
right: -1px; |
|
1857 |
top: -1px; |
|
1858 |
} |
|
1859 |
body.block-editor-page ul#adminmenu a.wp-has-current-submenu::after, |
|
1860 |
body.block-editor-page ul#adminmenu > li.current > a.current::after { |
|
1861 |
border-left-color: #fff; |
|
1862 |
} |
|
1863 |
body.block-editor-page .media-frame select.attachment-filters:last-of-type { |
|
1864 |
width: auto; |
|
1865 |
max-width: 100%; |
|
1866 |
} |
|
1867 |
|
|
1868 |
.block-editor-page #wpwrap { |
|
1869 |
overflow-y: auto; |
|
1870 |
} |
|
1871 |
@media (min-width: 782px) { |
|
1872 |
.block-editor-page #wpwrap { |
|
1873 |
overflow-y: initial; |
|
1874 |
} |
|
1875 |
} |
9
|
1876 |
|
16
|
1877 |
.edit-post-header, |
|
1878 |
.edit-post-text-editor, |
|
1879 |
.edit-post-sidebar, |
|
1880 |
.editor-post-publish-panel, |
|
1881 |
.components-popover, |
|
1882 |
.components-modal__frame, |
18
|
1883 |
.edit-post-editor__inserter-panel { |
|
1884 |
box-sizing: border-box; |
|
1885 |
} |
|
1886 |
.edit-post-header *, |
|
1887 |
.edit-post-header *::before, |
|
1888 |
.edit-post-header *::after, |
|
1889 |
.edit-post-text-editor *, |
|
1890 |
.edit-post-text-editor *::before, |
|
1891 |
.edit-post-text-editor *::after, |
|
1892 |
.edit-post-sidebar *, |
|
1893 |
.edit-post-sidebar *::before, |
|
1894 |
.edit-post-sidebar *::after, |
|
1895 |
.editor-post-publish-panel *, |
|
1896 |
.editor-post-publish-panel *::before, |
|
1897 |
.editor-post-publish-panel *::after, |
|
1898 |
.components-popover *, |
|
1899 |
.components-popover *::before, |
|
1900 |
.components-popover *::after, |
|
1901 |
.components-modal__frame *, |
|
1902 |
.components-modal__frame *::before, |
|
1903 |
.components-modal__frame *::after, |
|
1904 |
.edit-post-editor__inserter-panel *, |
|
1905 |
.edit-post-editor__inserter-panel *::before, |
|
1906 |
.edit-post-editor__inserter-panel *::after { |
|
1907 |
box-sizing: inherit; |
|
1908 |
} |
9
|
1909 |
|
|
1910 |
@media (min-width: 600px) { |
|
1911 |
.block-editor__container { |
|
1912 |
position: absolute; |
|
1913 |
top: 0; |
|
1914 |
left: 0; |
|
1915 |
bottom: 0; |
|
1916 |
right: 0; |
18
|
1917 |
min-height: calc(100vh - 46px); |
|
1918 |
} |
|
1919 |
} |
9
|
1920 |
@media (min-width: 782px) { |
|
1921 |
.block-editor__container { |
18
|
1922 |
min-height: calc(100vh - 32px); |
|
1923 |
} |
|
1924 |
body.is-fullscreen-mode .block-editor__container { |
|
1925 |
min-height: 100vh; |
|
1926 |
} |
|
1927 |
} |
9
|
1928 |
.block-editor__container img { |
|
1929 |
max-width: 100%; |
18
|
1930 |
height: auto; |
|
1931 |
} |
16
|
1932 |
|
|
1933 |
body.admin-color-light { |
|
1934 |
--wp-admin-theme-color: #0085ba; |
19
|
1935 |
--wp-admin-theme-color--rgb: 0, 133, 186; |
16
|
1936 |
--wp-admin-theme-color-darker-10: #0073a1; |
19
|
1937 |
--wp-admin-theme-color-darker-10--rgb: 0, 115, 161; |
18
|
1938 |
--wp-admin-theme-color-darker-20: #006187; |
19
|
1939 |
--wp-admin-theme-color-darker-20--rgb: 0, 97, 135; |
18
|
1940 |
--wp-admin-border-width-focus: 2px; |
|
1941 |
} |
|
1942 |
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
|
1943 |
body.admin-color-light { |
|
1944 |
--wp-admin-border-width-focus: 1.5px; |
|
1945 |
} |
|
1946 |
} |
16
|
1947 |
|
|
1948 |
body.admin-color-modern { |
|
1949 |
--wp-admin-theme-color: #3858e9; |
19
|
1950 |
--wp-admin-theme-color--rgb: 56, 88, 233; |
16
|
1951 |
--wp-admin-theme-color-darker-10: #2145e6; |
19
|
1952 |
--wp-admin-theme-color-darker-10--rgb: 33, 69, 230; |
18
|
1953 |
--wp-admin-theme-color-darker-20: #183ad6; |
19
|
1954 |
--wp-admin-theme-color-darker-20--rgb: 24, 58, 214; |
18
|
1955 |
--wp-admin-border-width-focus: 2px; |
|
1956 |
} |
|
1957 |
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
|
1958 |
body.admin-color-modern { |
|
1959 |
--wp-admin-border-width-focus: 1.5px; |
|
1960 |
} |
|
1961 |
} |
16
|
1962 |
|
|
1963 |
body.admin-color-blue { |
|
1964 |
--wp-admin-theme-color: #096484; |
19
|
1965 |
--wp-admin-theme-color--rgb: 9, 100, 132; |
16
|
1966 |
--wp-admin-theme-color-darker-10: #07526c; |
19
|
1967 |
--wp-admin-theme-color-darker-10--rgb: 7, 82, 108; |
18
|
1968 |
--wp-admin-theme-color-darker-20: #064054; |
19
|
1969 |
--wp-admin-theme-color-darker-20--rgb: 6, 64, 84; |
18
|
1970 |
--wp-admin-border-width-focus: 2px; |
|
1971 |
} |
|
1972 |
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
|
1973 |
body.admin-color-blue { |
|
1974 |
--wp-admin-border-width-focus: 1.5px; |
|
1975 |
} |
|
1976 |
} |
16
|
1977 |
|
|
1978 |
body.admin-color-coffee { |
|
1979 |
--wp-admin-theme-color: #46403c; |
19
|
1980 |
--wp-admin-theme-color--rgb: 70, 64, 60; |
16
|
1981 |
--wp-admin-theme-color-darker-10: #383330; |
19
|
1982 |
--wp-admin-theme-color-darker-10--rgb: 56, 51, 48; |
18
|
1983 |
--wp-admin-theme-color-darker-20: #2b2724; |
19
|
1984 |
--wp-admin-theme-color-darker-20--rgb: 43, 39, 36; |
18
|
1985 |
--wp-admin-border-width-focus: 2px; |
|
1986 |
} |
|
1987 |
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
|
1988 |
body.admin-color-coffee { |
|
1989 |
--wp-admin-border-width-focus: 1.5px; |
|
1990 |
} |
|
1991 |
} |
16
|
1992 |
|
|
1993 |
body.admin-color-ectoplasm { |
|
1994 |
--wp-admin-theme-color: #523f6d; |
19
|
1995 |
--wp-admin-theme-color--rgb: 82, 63, 109; |
16
|
1996 |
--wp-admin-theme-color-darker-10: #46365d; |
19
|
1997 |
--wp-admin-theme-color-darker-10--rgb: 70, 54, 93; |
18
|
1998 |
--wp-admin-theme-color-darker-20: #3a2c4d; |
19
|
1999 |
--wp-admin-theme-color-darker-20--rgb: 58, 44, 77; |
18
|
2000 |
--wp-admin-border-width-focus: 2px; |
|
2001 |
} |
|
2002 |
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
|
2003 |
body.admin-color-ectoplasm { |
|
2004 |
--wp-admin-border-width-focus: 1.5px; |
|
2005 |
} |
|
2006 |
} |
16
|
2007 |
|
|
2008 |
body.admin-color-midnight { |
|
2009 |
--wp-admin-theme-color: #e14d43; |
19
|
2010 |
--wp-admin-theme-color--rgb: 225, 77, 67; |
16
|
2011 |
--wp-admin-theme-color-darker-10: #dd382d; |
19
|
2012 |
--wp-admin-theme-color-darker-10--rgb: 221, 56, 45; |
18
|
2013 |
--wp-admin-theme-color-darker-20: #d02c21; |
19
|
2014 |
--wp-admin-theme-color-darker-20--rgb: 208, 44, 33; |
18
|
2015 |
--wp-admin-border-width-focus: 2px; |
|
2016 |
} |
|
2017 |
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
|
2018 |
body.admin-color-midnight { |
|
2019 |
--wp-admin-border-width-focus: 1.5px; |
|
2020 |
} |
|
2021 |
} |
16
|
2022 |
|
|
2023 |
body.admin-color-ocean { |
|
2024 |
--wp-admin-theme-color: #627c83; |
19
|
2025 |
--wp-admin-theme-color--rgb: 98, 124, 131; |
16
|
2026 |
--wp-admin-theme-color-darker-10: #576e74; |
19
|
2027 |
--wp-admin-theme-color-darker-10--rgb: 87, 110, 116; |
18
|
2028 |
--wp-admin-theme-color-darker-20: #4c6066; |
19
|
2029 |
--wp-admin-theme-color-darker-20--rgb: 76, 96, 102; |
18
|
2030 |
--wp-admin-border-width-focus: 2px; |
|
2031 |
} |
|
2032 |
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
|
2033 |
body.admin-color-ocean { |
|
2034 |
--wp-admin-border-width-focus: 1.5px; |
|
2035 |
} |
|
2036 |
} |
16
|
2037 |
|
|
2038 |
body.admin-color-sunrise { |
|
2039 |
--wp-admin-theme-color: #dd823b; |
19
|
2040 |
--wp-admin-theme-color--rgb: 221, 130, 59; |
16
|
2041 |
--wp-admin-theme-color-darker-10: #d97426; |
19
|
2042 |
--wp-admin-theme-color-darker-10--rgb: 217, 116, 38; |
18
|
2043 |
--wp-admin-theme-color-darker-20: #c36922; |
19
|
2044 |
--wp-admin-theme-color-darker-20--rgb: 195, 105, 34; |
18
|
2045 |
--wp-admin-border-width-focus: 2px; |
|
2046 |
} |
|
2047 |
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
|
2048 |
body.admin-color-sunrise { |
|
2049 |
--wp-admin-border-width-focus: 1.5px; |
|
2050 |
} |
|
2051 |
} |