9
|
1 |
@charset "UTF-8"; |
|
2 |
/** |
|
3 |
* Colors |
|
4 |
*/ |
|
5 |
/** |
|
6 |
* Breakpoints & Media Queries |
|
7 |
*/ |
|
8 |
/** |
18
|
9 |
* SCSS Variables. |
|
10 |
* |
|
11 |
* Please use variables from this sheet to ensure consistency across the UI. |
|
12 |
* Don't add to this sheet unless you're pretty sure the value will be reused in many places. |
|
13 |
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI. |
16
|
14 |
*/ |
|
15 |
/** |
18
|
16 |
* Colors |
16
|
17 |
*/ |
|
18 |
/** |
|
19 |
* Fonts & basic variables. |
|
20 |
*/ |
|
21 |
/** |
|
22 |
* Grid System. |
|
23 |
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ |
|
24 |
*/ |
|
25 |
/** |
|
26 |
* Dimensions. |
|
27 |
*/ |
|
28 |
/** |
|
29 |
* Shadows. |
|
30 |
*/ |
|
31 |
/** |
|
32 |
* Editor widths. |
|
33 |
*/ |
|
34 |
/** |
18
|
35 |
* Block & Editor UI. |
16
|
36 |
*/ |
|
37 |
/** |
18
|
38 |
* Block paddings. |
|
39 |
*/ |
|
40 |
/** |
|
41 |
* React Native specific. |
|
42 |
* These variables do not appear to be used anywhere else. |
9
|
43 |
*/ |
|
44 |
/** |
19
|
45 |
* Converts a hex value into the rgb equivalent. |
|
46 |
* |
|
47 |
* @param {string} hex - the hexadecimal value to convert |
|
48 |
* @return {string} comma separated rgb values |
|
49 |
*/ |
|
50 |
/** |
9
|
51 |
* Breakpoint mixins |
|
52 |
*/ |
|
53 |
/** |
|
54 |
* Long content fade mixin |
|
55 |
* |
|
56 |
* Creates a fading overlay to signify that the content is longer |
|
57 |
* than the space allows. |
|
58 |
*/ |
|
59 |
/** |
16
|
60 |
* Focus styles. |
9
|
61 |
*/ |
|
62 |
/** |
|
63 |
* Applies editor left position to the selector passed as argument |
|
64 |
*/ |
|
65 |
/** |
|
66 |
* Styles that are reused verbatim in a few places |
|
67 |
*/ |
|
68 |
/** |
|
69 |
* Allows users to opt-out of animations via OS-level preferences. |
|
70 |
*/ |
16
|
71 |
/** |
|
72 |
* Reset default styles for JavaScript UI based pages. |
|
73 |
* This is a WP-admin agnostic reset |
|
74 |
*/ |
|
75 |
/** |
|
76 |
* Reset the WP Admin page styles for Gutenberg-like pages. |
|
77 |
*/ |
|
78 |
:root { |
|
79 |
--wp-admin-theme-color: #007cba; |
19
|
80 |
--wp-admin-theme-color--rgb: 0, 124, 186; |
16
|
81 |
--wp-admin-theme-color-darker-10: #006ba1; |
19
|
82 |
--wp-admin-theme-color-darker-10--rgb: 0, 107, 161; |
18
|
83 |
--wp-admin-theme-color-darker-20: #005a87; |
19
|
84 |
--wp-admin-theme-color-darker-20--rgb: 0, 90, 135; |
18
|
85 |
--wp-admin-border-width-focus: 2px; |
|
86 |
} |
|
87 |
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
|
88 |
:root { |
|
89 |
--wp-admin-border-width-focus: 1.5px; |
|
90 |
} |
|
91 |
} |
16
|
92 |
|
|
93 |
.editor-autocompleters__user .editor-autocompleters__no-avatar::before { |
|
94 |
/* stylelint-disable */ |
|
95 |
font: normal 20px/1 dashicons; |
|
96 |
/* stylelint-enable */ |
18
|
97 |
content: ""; |
16
|
98 |
margin-left: 5px; |
18
|
99 |
vertical-align: middle; |
|
100 |
} |
9
|
101 |
.editor-autocompleters__user .editor-autocompleters__user-avatar { |
|
102 |
margin-left: 8px; |
|
103 |
flex-grow: 0; |
|
104 |
flex-shrink: 0; |
|
105 |
max-width: none; |
|
106 |
width: 24px; |
18
|
107 |
height: 24px; |
|
108 |
} |
9
|
109 |
.editor-autocompleters__user .editor-autocompleters__user-name { |
|
110 |
white-space: nowrap; |
|
111 |
text-overflow: ellipsis; |
|
112 |
overflow: hidden; |
|
113 |
max-width: 200px; |
|
114 |
flex-shrink: 0; |
18
|
115 |
flex-grow: 1; |
|
116 |
} |
9
|
117 |
.editor-autocompleters__user .editor-autocompleters__user-slug { |
|
118 |
margin-right: 8px; |
18
|
119 |
color: #757575; |
9
|
120 |
white-space: nowrap; |
|
121 |
text-overflow: ellipsis; |
|
122 |
overflow: none; |
|
123 |
max-width: 100px; |
|
124 |
flex-grow: 0; |
18
|
125 |
flex-shrink: 0; |
|
126 |
} |
9
|
127 |
.editor-autocompleters__user:hover .editor-autocompleters__user-slug { |
18
|
128 |
color: var(--wp-admin-theme-color); |
|
129 |
} |
9
|
130 |
|
|
131 |
.document-outline { |
18
|
132 |
margin: 20px 0; |
|
133 |
} |
|
134 |
.document-outline ul { |
|
135 |
margin: 0; |
|
136 |
padding: 0; |
|
137 |
} |
9
|
138 |
|
|
139 |
.document-outline__item { |
|
140 |
display: flex; |
18
|
141 |
margin: 4px 0; |
|
142 |
} |
|
143 |
.document-outline__item a { |
|
144 |
text-decoration: none; |
|
145 |
} |
|
146 |
.document-outline__item .document-outline__emdash::before { |
|
147 |
color: #ddd; |
|
148 |
margin-left: 4px; |
|
149 |
} |
|
150 |
.document-outline__item.is-h2 .document-outline__emdash::before { |
|
151 |
content: "—"; |
|
152 |
} |
|
153 |
.document-outline__item.is-h3 .document-outline__emdash::before { |
|
154 |
content: "——"; |
|
155 |
} |
|
156 |
.document-outline__item.is-h4 .document-outline__emdash::before { |
|
157 |
content: "———"; |
|
158 |
} |
|
159 |
.document-outline__item.is-h5 .document-outline__emdash::before { |
|
160 |
content: "————"; |
|
161 |
} |
|
162 |
.document-outline__item.is-h6 .document-outline__emdash::before { |
|
163 |
content: "—————"; |
|
164 |
} |
9
|
165 |
|
|
166 |
.document-outline__button { |
|
167 |
cursor: pointer; |
|
168 |
background: none; |
|
169 |
border: none; |
|
170 |
display: flex; |
|
171 |
align-items: flex-start; |
|
172 |
margin: 0 -1px 0 0; |
|
173 |
padding: 2px 1px 2px 5px; |
16
|
174 |
color: #1e1e1e; |
|
175 |
text-align: right; |
18
|
176 |
border-radius: 2px; |
|
177 |
} |
|
178 |
.document-outline__button:disabled { |
|
179 |
cursor: default; |
|
180 |
} |
|
181 |
.document-outline__button:focus { |
|
182 |
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); |
|
183 |
outline: 2px solid transparent; |
|
184 |
} |
9
|
185 |
|
|
186 |
.document-outline__level { |
16
|
187 |
background: #ddd; |
|
188 |
color: #1e1e1e; |
9
|
189 |
border-radius: 3px; |
|
190 |
font-size: 13px; |
|
191 |
padding: 1px 6px; |
18
|
192 |
margin-left: 4px; |
|
193 |
} |
|
194 |
.is-invalid .document-outline__level { |
|
195 |
background: #f0b849; |
|
196 |
} |
9
|
197 |
|
|
198 |
.document-outline__item-content { |
18
|
199 |
padding: 1px 0; |
|
200 |
} |
9
|
201 |
|
18
|
202 |
.components-editor-notices__dismissible, |
16
|
203 |
.components-editor-notices__pinned { |
|
204 |
position: relative; |
|
205 |
right: 0; |
|
206 |
top: 0; |
|
207 |
left: 0; |
18
|
208 |
color: #1e1e1e; |
|
209 |
} |
16
|
210 |
.components-editor-notices__dismissible .components-notice, |
|
211 |
.components-editor-notices__pinned .components-notice { |
|
212 |
box-sizing: border-box; |
|
213 |
margin: 0; |
|
214 |
border-bottom: 1px solid rgba(0, 0, 0, 0.2); |
|
215 |
padding: 0 12px; |
18
|
216 |
min-height: 60px; |
|
217 |
} |
|
218 |
.components-editor-notices__dismissible .components-notice .components-notice__dismiss, |
|
219 |
.components-editor-notices__pinned .components-notice .components-notice__dismiss { |
|
220 |
margin-top: 12px; |
|
221 |
} |
16
|
222 |
|
|
223 |
.entities-saved-states__panel { |
|
224 |
box-sizing: border-box; |
|
225 |
background: #fff; |
|
226 |
position: fixed; |
|
227 |
z-index: 100001; |
|
228 |
top: 46px; |
|
229 |
bottom: 0; |
|
230 |
left: 0; |
|
231 |
right: 0; |
|
232 |
overflow: auto; |
18
|
233 |
box-sizing: border-box; |
|
234 |
} |
|
235 |
.entities-saved-states__panel *, |
|
236 |
.entities-saved-states__panel *::before, |
|
237 |
.entities-saved-states__panel *::after { |
|
238 |
box-sizing: inherit; |
|
239 |
} |
|
240 |
.entities-saved-states__panel .entities-saved-states__find-entity { |
|
241 |
display: none; |
|
242 |
} |
|
243 |
.entities-saved-states__panel .entities-saved-states__find-entity-small { |
|
244 |
display: block; |
|
245 |
} |
|
246 |
@media (min-width: 782px) { |
|
247 |
.entities-saved-states__panel { |
|
248 |
top: 32px; |
|
249 |
right: auto; |
|
250 |
width: 280px; |
|
251 |
border-right: 1px solid #ddd; |
|
252 |
} |
|
253 |
body.is-fullscreen-mode .entities-saved-states__panel { |
|
254 |
top: 0; |
|
255 |
} |
16
|
256 |
.entities-saved-states__panel .entities-saved-states__find-entity { |
18
|
257 |
display: block; |
|
258 |
} |
16
|
259 |
.entities-saved-states__panel .entities-saved-states__find-entity-small { |
18
|
260 |
display: none; |
|
261 |
} |
|
262 |
} |
|
263 |
.entities-saved-states__panel .entities-saved-states__panel-header { |
|
264 |
background: #fff; |
|
265 |
padding-right: 8px; |
|
266 |
padding-left: 8px; |
|
267 |
height: 61px; |
|
268 |
border-bottom: 1px solid #ddd; |
|
269 |
} |
|
270 |
.entities-saved-states__panel .entities-saved-states__text-prompt { |
|
271 |
padding: 16px; |
|
272 |
padding-bottom: 4px; |
|
273 |
} |
16
|
274 |
|
9
|
275 |
.editor-error-boundary { |
|
276 |
margin: auto; |
|
277 |
max-width: 780px; |
|
278 |
padding: 20px; |
|
279 |
margin-top: 60px; |
18
|
280 |
box-shadow: 0 10px 10px rgba(0, 0, 0, 0.25); |
|
281 |
} |
9
|
282 |
|
|
283 |
.editor-page-attributes__order { |
18
|
284 |
width: 100%; |
|
285 |
} |
|
286 |
.editor-page-attributes__order .components-base-control__field { |
|
287 |
display: flex; |
|
288 |
justify-content: space-between; |
|
289 |
align-items: center; |
|
290 |
} |
|
291 |
.editor-page-attributes__order input { |
|
292 |
width: 66px; |
|
293 |
} |
9
|
294 |
|
|
295 |
.editor-post-excerpt__textarea { |
|
296 |
width: 100%; |
18
|
297 |
margin-bottom: 10px; |
|
298 |
} |
9
|
299 |
|
|
300 |
.editor-post-featured-image { |
18
|
301 |
padding: 0; |
|
302 |
} |
|
303 |
.editor-post-featured-image__container { |
|
304 |
margin-bottom: 1em; |
|
305 |
position: relative; |
|
306 |
} |
|
307 |
.editor-post-featured-image .components-spinner { |
|
308 |
position: absolute; |
|
309 |
top: 50%; |
|
310 |
right: 50%; |
|
311 |
margin-top: -9px; |
|
312 |
margin-right: -9px; |
|
313 |
} |
|
314 |
.editor-post-featured-image .components-button + .components-button { |
|
315 |
display: block; |
|
316 |
margin-top: 1em; |
|
317 |
} |
|
318 |
.editor-post-featured-image .components-responsive-wrapper__content { |
|
319 |
max-width: 100%; |
|
320 |
width: auto; |
|
321 |
} |
9
|
322 |
|
|
323 |
.editor-post-featured-image__toggle, |
|
324 |
.editor-post-featured-image__preview { |
|
325 |
display: block; |
|
326 |
width: 100%; |
|
327 |
padding: 0; |
|
328 |
transition: all 0.1s ease-out; |
18
|
329 |
box-shadow: 0 0 0 0 var(--wp-admin-theme-color); |
|
330 |
} |
|
331 |
@media (prefers-reduced-motion: reduce) { |
|
332 |
.editor-post-featured-image__toggle, |
|
333 |
.editor-post-featured-image__preview { |
|
334 |
transition-duration: 0s; |
|
335 |
transition-delay: 0s; |
|
336 |
} |
|
337 |
} |
16
|
338 |
|
|
339 |
.editor-post-featured-image__preview { |
18
|
340 |
height: auto; |
|
341 |
} |
9
|
342 |
|
18
|
343 |
.editor-post-featured-image__preview:not(:disabled):not([aria-disabled=true]):focus { |
|
344 |
box-shadow: 0 0 0 4px var(--wp-admin-theme-color); |
|
345 |
} |
9
|
346 |
|
|
347 |
.editor-post-featured-image__toggle { |
16
|
348 |
border-radius: 2px; |
|
349 |
background-color: #f0f0f0; |
|
350 |
min-height: 90px; |
9
|
351 |
line-height: 20px; |
|
352 |
padding: 8px 0; |
18
|
353 |
text-align: center; |
|
354 |
} |
|
355 |
.editor-post-featured-image__toggle:hover { |
|
356 |
background: #ddd; |
|
357 |
color: #1e1e1e; |
|
358 |
} |
9
|
359 |
|
|
360 |
.editor-post-format { |
|
361 |
flex-direction: column; |
|
362 |
align-items: stretch; |
18
|
363 |
width: 100%; |
|
364 |
} |
9
|
365 |
|
|
366 |
.editor-post-format__content { |
|
367 |
display: inline-flex; |
|
368 |
justify-content: space-between; |
|
369 |
align-items: center; |
18
|
370 |
width: 100%; |
|
371 |
} |
9
|
372 |
|
|
373 |
.editor-post-format__suggestion { |
19
|
374 |
padding: 6px; |
9
|
375 |
text-align: left; |
18
|
376 |
font-size: 13px; |
|
377 |
} |
9
|
378 |
|
|
379 |
.editor-post-last-revision__title { |
|
380 |
width: 100%; |
18
|
381 |
font-weight: 600; |
|
382 |
} |
|
383 |
.editor-post-last-revision__title .dashicon { |
|
384 |
margin-left: 5px; |
|
385 |
} |
9
|
386 |
|
16
|
387 |
.components-button.editor-post-last-revision__title { |
18
|
388 |
height: 100%; |
|
389 |
} |
|
390 |
.components-button.editor-post-last-revision__title:hover, .components-button.editor-post-last-revision__title:active { |
|
391 |
background: #f0f0f0; |
|
392 |
} |
|
393 |
.components-button.editor-post-last-revision__title:focus { |
|
394 |
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); |
|
395 |
border-radius: 0; |
|
396 |
} |
9
|
397 |
|
19
|
398 |
@media (min-width: 600px) { |
|
399 |
.editor-post-locked-modal { |
|
400 |
max-width: 480px; |
|
401 |
} |
18
|
402 |
} |
|
403 |
.editor-post-locked-modal .components-modal__content { |
19
|
404 |
display: flex; |
18
|
405 |
} |
9
|
406 |
|
|
407 |
.editor-post-locked-modal__buttons { |
19
|
408 |
margin-top: 24px; |
18
|
409 |
} |
9
|
410 |
|
|
411 |
.editor-post-locked-modal__avatar { |
19
|
412 |
border-radius: 2px; |
|
413 |
margin-top: 16px; |
|
414 |
margin-left: 24px; |
18
|
415 |
} |
9
|
416 |
|
16
|
417 |
.editor-post-publish-button__button.has-changes-dot::before { |
|
418 |
background: currentcolor; |
9
|
419 |
border-radius: 4px; |
16
|
420 |
content: ""; |
|
421 |
height: 8px; |
|
422 |
margin: auto -3px auto 5px; |
18
|
423 |
width: 8px; |
|
424 |
} |
9
|
425 |
|
|
426 |
.editor-post-publish-panel { |
18
|
427 |
background: #fff; |
|
428 |
} |
9
|
429 |
|
|
430 |
.editor-post-publish-panel__content { |
18
|
431 |
min-height: calc(100% - 144px); |
|
432 |
} |
|
433 |
.editor-post-publish-panel__content .components-spinner { |
|
434 |
display: block; |
|
435 |
margin: 100px auto 0; |
|
436 |
} |
9
|
437 |
|
|
438 |
.editor-post-publish-panel__header { |
|
439 |
background: #fff; |
|
440 |
padding-right: 16px; |
16
|
441 |
padding-left: 16px; |
|
442 |
height: 61px; |
|
443 |
border-bottom: 1px solid #ddd; |
9
|
444 |
display: flex; |
|
445 |
align-items: center; |
18
|
446 |
align-content: space-between; |
|
447 |
} |
|
448 |
.editor-post-publish-panel__header .components-button { |
|
449 |
width: 100%; |
|
450 |
justify-content: center; |
|
451 |
} |
|
452 |
.editor-post-publish-panel__header .has-icon { |
|
453 |
margin-right: auto; |
|
454 |
width: auto; |
|
455 |
} |
|
456 |
|
|
457 |
.components-site-card { |
|
458 |
display: flex; |
|
459 |
align-items: center; |
|
460 |
margin: 16px 0; |
|
461 |
} |
|
462 |
|
|
463 |
.components-site-icon { |
|
464 |
border: none; |
|
465 |
border-radius: 2px; |
|
466 |
margin-left: 12px; |
|
467 |
height: 36px; |
|
468 |
width: 36px; |
|
469 |
} |
|
470 |
|
|
471 |
.components-site-name { |
|
472 |
display: block; |
|
473 |
font-size: 14px; |
|
474 |
} |
|
475 |
|
|
476 |
.components-site-home { |
|
477 |
display: block; |
|
478 |
color: #757575; |
|
479 |
font-size: 12px; |
|
480 |
} |
16
|
481 |
|
|
482 |
.editor-post-publish-panel__header-publish-button, |
|
483 |
.editor-post-publish-panel__header-cancel-button { |
18
|
484 |
flex-grow: 1; |
|
485 |
} |
|
486 |
@media (min-width: 480px) { |
|
487 |
.editor-post-publish-panel__header-publish-button, |
|
488 |
.editor-post-publish-panel__header-cancel-button { |
|
489 |
max-width: 160px; |
|
490 |
} |
|
491 |
} |
9
|
492 |
|
|
493 |
.editor-post-publish-panel__header-publish-button { |
18
|
494 |
padding-left: 4px; |
|
495 |
} |
16
|
496 |
|
|
497 |
.editor-post-publish-panel__header-cancel-button { |
18
|
498 |
padding-right: 4px; |
|
499 |
} |
9
|
500 |
|
|
501 |
.editor-post-publish-panel__header-published { |
18
|
502 |
flex-grow: 1; |
|
503 |
} |
9
|
504 |
|
|
505 |
.editor-post-publish-panel__footer { |
18
|
506 |
padding: 16px; |
|
507 |
} |
9
|
508 |
|
|
509 |
.components-button.editor-post-publish-panel__toggle.is-primary { |
|
510 |
display: inline-flex; |
18
|
511 |
align-items: center; |
|
512 |
} |
|
513 |
.components-button.editor-post-publish-panel__toggle.is-primary.is-busy .dashicon { |
|
514 |
display: none; |
|
515 |
} |
|
516 |
.components-button.editor-post-publish-panel__toggle.is-primary .dashicon { |
|
517 |
margin-left: -4px; |
|
518 |
} |
9
|
519 |
|
|
520 |
.editor-post-publish-panel__link { |
|
521 |
font-weight: 400; |
18
|
522 |
padding-right: 4px; |
|
523 |
} |
9
|
524 |
|
|
525 |
.editor-post-publish-panel__prepublish { |
18
|
526 |
padding: 16px; |
|
527 |
} |
|
528 |
.editor-post-publish-panel__prepublish strong { |
|
529 |
color: #1e1e1e; |
|
530 |
} |
|
531 |
.editor-post-publish-panel__prepublish .components-panel__body { |
|
532 |
background: #fff; |
|
533 |
margin-right: -16px; |
|
534 |
margin-left: -16px; |
|
535 |
} |
|
536 |
.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend { |
|
537 |
display: none; |
|
538 |
} |
9
|
539 |
|
|
540 |
.post-publish-panel__postpublish .components-panel__body { |
18
|
541 |
border-bottom: 1px solid #e0e0e0; |
|
542 |
border-top: none; |
|
543 |
} |
9
|
544 |
|
|
545 |
.post-publish-panel__postpublish-buttons { |
|
546 |
display: flex; |
|
547 |
align-content: space-between; |
|
548 |
flex-wrap: wrap; |
18
|
549 |
margin: -5px; |
|
550 |
} |
|
551 |
.post-publish-panel__postpublish-buttons > * { |
|
552 |
flex-grow: 1; |
|
553 |
margin: 5px; |
|
554 |
} |
|
555 |
.post-publish-panel__postpublish-buttons .components-button { |
|
556 |
height: auto; |
|
557 |
justify-content: center; |
|
558 |
padding: 3px 10px 4px; |
19
|
559 |
flex: 1; |
18
|
560 |
line-height: 1.6; |
|
561 |
text-align: center; |
|
562 |
white-space: normal; |
|
563 |
} |
|
564 |
.post-publish-panel__postpublish-buttons .components-clipboard-button { |
|
565 |
width: 100%; |
|
566 |
} |
9
|
567 |
|
19
|
568 |
.post-publish-panel__postpublish-post-address-container { |
|
569 |
display: flex; |
|
570 |
align-items: flex-end; |
18
|
571 |
margin-bottom: 16px; |
|
572 |
} |
19
|
573 |
.post-publish-panel__postpublish-post-address-container .components-base-control__field { |
|
574 |
margin-bottom: 0; |
|
575 |
} |
|
576 |
.post-publish-panel__postpublish-post-address-container .post-publish-panel__postpublish-post-address { |
|
577 |
flex: 1; |
|
578 |
} |
|
579 |
.post-publish-panel__postpublish-post-address-container input[readonly] { |
18
|
580 |
padding: 10px; |
|
581 |
background: #ddd; |
|
582 |
overflow: hidden; |
|
583 |
text-overflow: ellipsis; |
|
584 |
} |
9
|
585 |
|
19
|
586 |
.post-publish-panel__postpublish-post-address__copy-button-wrap { |
|
587 |
flex-shrink: 0; |
|
588 |
margin-right: 8px; |
|
589 |
} |
|
590 |
.post-publish-panel__postpublish-post-address__copy-button-wrap .components-button { |
|
591 |
height: 38px; |
|
592 |
} |
|
593 |
|
9
|
594 |
.post-publish-panel__postpublish-header { |
18
|
595 |
font-weight: 500; |
|
596 |
} |
9
|
597 |
|
|
598 |
.post-publish-panel__postpublish-subheader { |
18
|
599 |
margin: 0 0 8px; |
|
600 |
} |
9
|
601 |
|
|
602 |
.post-publish-panel__tip { |
18
|
603 |
color: #f0b849; |
|
604 |
} |
9
|
605 |
|
19
|
606 |
@media screen and (max-width: 782px) { |
|
607 |
.post-publish-panel__postpublish-post-address__button-wrap .components-button { |
|
608 |
height: 40px; |
|
609 |
} |
|
610 |
} |
9
|
611 |
.editor-post-saved-state { |
|
612 |
display: flex; |
|
613 |
align-items: center; |
16
|
614 |
width: 28px; |
|
615 |
padding: 12px 4px; |
|
616 |
color: #757575; |
|
617 |
overflow: hidden; |
18
|
618 |
white-space: nowrap; |
|
619 |
} |
19
|
620 |
.editor-post-saved-state.is-saving[aria-disabled=true], .editor-post-saved-state.is-saving[aria-disabled=true]:hover, .editor-post-saved-state.is-saved[aria-disabled=true], .editor-post-saved-state.is-saved[aria-disabled=true]:hover { |
|
621 |
background: transparent; |
|
622 |
color: #757575; |
|
623 |
} |
18
|
624 |
.editor-post-saved-state svg { |
|
625 |
display: inline-block; |
|
626 |
flex: 0 0 auto; |
|
627 |
fill: currentColor; |
|
628 |
margin-left: 8px; |
|
629 |
} |
|
630 |
@media (min-width: 600px) { |
|
631 |
.editor-post-saved-state { |
|
632 |
width: auto; |
|
633 |
padding: 8px 12px; |
|
634 |
text-indent: inherit; |
|
635 |
} |
16
|
636 |
.editor-post-saved-state svg { |
19
|
637 |
margin-left: 0; |
18
|
638 |
} |
|
639 |
} |
9
|
640 |
|
|
641 |
.editor-post-taxonomies__hierarchical-terms-list { |
|
642 |
max-height: 14em; |
16
|
643 |
overflow: auto; |
18
|
644 |
margin-right: -6px; |
|
645 |
padding-right: 6px; |
|
646 |
margin-top: -6px; |
|
647 |
padding-top: 6px; |
|
648 |
} |
9
|
649 |
|
|
650 |
.editor-post-taxonomies__hierarchical-terms-choice { |
18
|
651 |
margin-bottom: 8px; |
|
652 |
} |
9
|
653 |
|
|
654 |
.editor-post-taxonomies__hierarchical-terms-subchoices { |
|
655 |
margin-top: 8px; |
18
|
656 |
margin-right: 16px; |
|
657 |
} |
9
|
658 |
|
|
659 |
.components-button.editor-post-taxonomies__hierarchical-terms-submit, |
|
660 |
.components-button.editor-post-taxonomies__hierarchical-terms-add { |
18
|
661 |
margin-top: 12px; |
|
662 |
} |
9
|
663 |
|
|
664 |
.editor-post-taxonomies__hierarchical-terms-label { |
|
665 |
display: inline-block; |
18
|
666 |
margin-top: 12px; |
|
667 |
} |
9
|
668 |
|
|
669 |
.editor-post-taxonomies__hierarchical-terms-input { |
|
670 |
margin-top: 8px; |
18
|
671 |
} |
9
|
672 |
|
|
673 |
.editor-post-taxonomies__hierarchical-terms-filter { |
|
674 |
margin-bottom: 8px; |
18
|
675 |
width: 100%; |
|
676 |
} |
|
677 |
|
|
678 |
.editor-post-taxonomies__flat-term-most-used .editor-post-taxonomies__flat-term-most-used-label { |
|
679 |
font-weight: 400; |
|
680 |
margin-bottom: 12px; |
|
681 |
} |
|
682 |
|
|
683 |
.editor-post-taxonomies__flat-term-most-used-list { |
|
684 |
margin: 0; |
|
685 |
} |
|
686 |
.editor-post-taxonomies__flat-term-most-used-list li { |
|
687 |
display: inline-block; |
|
688 |
margin-left: 8px; |
|
689 |
} |
|
690 |
.editor-post-taxonomies__flat-term-most-used-list .components-button { |
|
691 |
font-size: 12px; |
|
692 |
} |
9
|
693 |
|
16
|
694 |
.edit-post-text-editor__body textarea.editor-post-text-editor { |
18
|
695 |
border: 1px solid #949494; |
|
696 |
border-radius: 0; |
9
|
697 |
display: block; |
16
|
698 |
margin: 0; |
9
|
699 |
width: 100%; |
|
700 |
box-shadow: none; |
|
701 |
resize: none; |
|
702 |
overflow: hidden; |
|
703 |
font-family: Menlo, Consolas, monaco, monospace; |
16
|
704 |
line-height: 2.4; |
|
705 |
min-height: 200px; |
18
|
706 |
transition: border 0.1s ease-out, box-shadow 0.1s linear; |
16
|
707 |
padding: 16px; |
9
|
708 |
/* Fonts smaller than 16px causes mobile safari to zoom. */ |
18
|
709 |
font-size: 16px !important; |
|
710 |
} |
|
711 |
@media (prefers-reduced-motion: reduce) { |
|
712 |
.edit-post-text-editor__body textarea.editor-post-text-editor { |
|
713 |
transition-duration: 0s; |
|
714 |
transition-delay: 0s; |
|
715 |
} |
|
716 |
} |
|
717 |
@media (min-width: 600px) { |
|
718 |
.edit-post-text-editor__body textarea.editor-post-text-editor { |
|
719 |
padding: 24px; |
|
720 |
} |
|
721 |
} |
|
722 |
@media (min-width: 600px) { |
|
723 |
.edit-post-text-editor__body textarea.editor-post-text-editor { |
|
724 |
font-size: 15px !important; |
|
725 |
} |
|
726 |
} |
|
727 |
.edit-post-text-editor__body textarea.editor-post-text-editor:focus { |
|
728 |
border-color: var(--wp-admin-theme-color); |
|
729 |
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); |
|
730 |
position: relative; |
|
731 |
} |
|
732 |
.edit-post-text-editor__body textarea.editor-post-text-editor::-webkit-input-placeholder { |
|
733 |
color: rgba(30, 30, 30, 0.62); |
|
734 |
} |
|
735 |
.edit-post-text-editor__body textarea.editor-post-text-editor::-moz-placeholder { |
|
736 |
color: rgba(30, 30, 30, 0.62); |
|
737 |
opacity: 1; |
|
738 |
} |
|
739 |
.edit-post-text-editor__body textarea.editor-post-text-editor:-ms-input-placeholder { |
|
740 |
color: rgba(30, 30, 30, 0.62); |
|
741 |
} |
9
|
742 |
|
16
|
743 |
.edit-post-post-visibility__dialog, |
|
744 |
.editor-post-visibility__dialog-fieldset { |
9
|
745 |
padding: 4px; |
18
|
746 |
padding-top: 0; |
|
747 |
} |
|
748 |
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-legend, |
|
749 |
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-legend { |
|
750 |
font-weight: 600; |
|
751 |
margin-bottom: 1em; |
|
752 |
margin-top: 0.5em; |
|
753 |
padding: 0; |
|
754 |
} |
|
755 |
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio], |
|
756 |
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio] { |
|
757 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
758 |
padding: 6px 8px; |
|
759 |
box-shadow: 0 0 0 transparent; |
|
760 |
transition: box-shadow 0.1s linear; |
|
761 |
border-radius: 2px; |
|
762 |
border: 1px solid #757575; |
|
763 |
/* Fonts smaller than 16px causes mobile safari to zoom. */ |
|
764 |
font-size: 16px; |
|
765 |
/* Override core line-height. To be reviewed. */ |
|
766 |
line-height: normal; |
|
767 |
border: 1px solid #1e1e1e; |
|
768 |
margin-left: 12px; |
|
769 |
transition: none; |
|
770 |
border-radius: 50%; |
|
771 |
width: 24px; |
|
772 |
height: 24px; |
|
773 |
margin-top: 2px; |
|
774 |
} |
|
775 |
@media (prefers-reduced-motion: reduce) { |
|
776 |
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio], |
|
777 |
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio] { |
|
778 |
transition-duration: 0s; |
|
779 |
transition-delay: 0s; |
|
780 |
} |
|
781 |
} |
|
782 |
@media (min-width: 600px) { |
|
783 |
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio], |
|
784 |
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio] { |
|
785 |
font-size: 13px; |
16
|
786 |
/* Override core line-height. To be reviewed. */ |
|
787 |
line-height: normal; |
18
|
788 |
} |
|
789 |
} |
|
790 |
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:focus, |
|
791 |
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:focus { |
|
792 |
border-color: var(--wp-admin-theme-color); |
|
793 |
box-shadow: 0 0 0 1px var(--wp-admin-theme-color); |
|
794 |
outline: 2px solid transparent; |
|
795 |
} |
|
796 |
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]::-webkit-input-placeholder, |
|
797 |
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]::-webkit-input-placeholder { |
|
798 |
color: rgba(30, 30, 30, 0.62); |
|
799 |
} |
|
800 |
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]::-moz-placeholder, |
|
801 |
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]::-moz-placeholder { |
|
802 |
opacity: 1; |
|
803 |
color: rgba(30, 30, 30, 0.62); |
|
804 |
} |
|
805 |
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:-ms-input-placeholder, |
|
806 |
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:-ms-input-placeholder { |
|
807 |
color: rgba(30, 30, 30, 0.62); |
|
808 |
} |
|
809 |
@media (min-width: 600px) { |
|
810 |
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio], |
|
811 |
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio] { |
|
812 |
height: 20px; |
|
813 |
width: 20px; |
|
814 |
} |
|
815 |
} |
|
816 |
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:checked::before, |
|
817 |
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:checked::before { |
|
818 |
box-sizing: inherit; |
|
819 |
width: 8px; |
|
820 |
height: 8px; |
|
821 |
transform: translate(-7px, 7px); |
|
822 |
margin: 0; |
|
823 |
background-color: #fff; |
|
824 |
border: 4px solid #fff; |
|
825 |
} |
|
826 |
@media (min-width: 600px) { |
|
827 |
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:checked::before, |
|
828 |
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:checked::before { |
|
829 |
transform: translate(-5px, 5px); |
|
830 |
} |
|
831 |
} |
|
832 |
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:focus, |
|
833 |
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:focus { |
|
834 |
box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color); |
|
835 |
outline: 2px solid transparent; |
|
836 |
} |
|
837 |
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:checked, |
|
838 |
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:checked { |
|
839 |
background: var(--wp-admin-theme-color); |
|
840 |
border-color: var(--wp-admin-theme-color); |
|
841 |
} |
|
842 |
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-label, |
|
843 |
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-label { |
|
844 |
font-weight: 600; |
|
845 |
} |
|
846 |
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-info, |
|
847 |
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-info { |
|
848 |
margin-top: 0; |
|
849 |
margin-right: 32px; |
|
850 |
} |
|
851 |
.edit-post-post-visibility__dialog .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info, |
|
852 |
.editor-post-visibility__dialog-fieldset .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info { |
|
853 |
margin-bottom: 0; |
|
854 |
} |
|
855 |
|
|
856 |
.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text] { |
|
857 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
858 |
padding: 6px 8px; |
|
859 |
box-shadow: 0 0 0 transparent; |
|
860 |
transition: box-shadow 0.1s linear; |
|
861 |
border-radius: 2px; |
|
862 |
border: 1px solid #757575; |
|
863 |
/* Fonts smaller than 16px causes mobile safari to zoom. */ |
|
864 |
font-size: 16px; |
|
865 |
/* Override core line-height. To be reviewed. */ |
|
866 |
line-height: normal; |
|
867 |
margin-right: 36px; |
|
868 |
margin-top: 8px; |
|
869 |
} |
|
870 |
@media (prefers-reduced-motion: reduce) { |
|
871 |
.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text] { |
|
872 |
transition-duration: 0s; |
|
873 |
transition-delay: 0s; |
|
874 |
} |
|
875 |
} |
|
876 |
@media (min-width: 600px) { |
|
877 |
.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text] { |
|
878 |
font-size: 13px; |
16
|
879 |
/* Override core line-height. To be reviewed. */ |
|
880 |
line-height: normal; |
18
|
881 |
} |
|
882 |
} |
|
883 |
.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]:focus { |
|
884 |
border-color: var(--wp-admin-theme-color); |
|
885 |
box-shadow: 0 0 0 1px var(--wp-admin-theme-color); |
|
886 |
outline: 2px solid transparent; |
|
887 |
} |
|
888 |
.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]::-webkit-input-placeholder { |
|
889 |
color: rgba(30, 30, 30, 0.62); |
|
890 |
} |
|
891 |
.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]::-moz-placeholder { |
|
892 |
opacity: 1; |
|
893 |
color: rgba(30, 30, 30, 0.62); |
|
894 |
} |
|
895 |
.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]:-ms-input-placeholder { |
|
896 |
color: rgba(30, 30, 30, 0.62); |
|
897 |
} |
9
|
898 |
|
16
|
899 |
.editor-post-title { |
18
|
900 |
position: relative; |
|
901 |
} |
19
|
902 |
.editor-post-title.is-focus-mode { |
|
903 |
opacity: 0.5; |
|
904 |
transition: opacity 0.1s linear; |
18
|
905 |
} |
|
906 |
@media (prefers-reduced-motion: reduce) { |
19
|
907 |
.editor-post-title.is-focus-mode { |
18
|
908 |
transition-duration: 0s; |
|
909 |
transition-delay: 0s; |
|
910 |
} |
|
911 |
} |
19
|
912 |
.editor-post-title.is-focus-mode:focus { |
18
|
913 |
opacity: 1; |
|
914 |
} |
9
|
915 |
|
|
916 |
.editor-post-trash.components-button { |
18
|
917 |
margin-top: 4px; |
|
918 |
} |
9
|
919 |
|
16
|
920 |
.table-of-contents__popover.components-popover .components-popover__content { |
18
|
921 |
min-width: 380px; |
|
922 |
} |
9
|
923 |
|
16
|
924 |
.components-popover.table-of-contents__popover { |
18
|
925 |
z-index: 99998; |
|
926 |
} |
16
|
927 |
|
|
928 |
.table-of-contents__popover .components-popover__content > div { |
18
|
929 |
padding: 16px; |
|
930 |
} |
16
|
931 |
@media (min-width: 600px) { |
|
932 |
.table-of-contents__popover .components-popover__content { |
|
933 |
max-height: calc(100vh - 120px); |
18
|
934 |
overflow-y: auto; |
|
935 |
} |
|
936 |
} |
9
|
937 |
.table-of-contents__popover hr { |
18
|
938 |
margin: 10px -16px 0; |
|
939 |
} |
9
|
940 |
|
16
|
941 |
.table-of-contents__wrapper:focus::before { |
|
942 |
content: ""; |
|
943 |
display: block; |
|
944 |
position: absolute; |
|
945 |
top: 0; |
|
946 |
left: 0; |
|
947 |
bottom: 0; |
|
948 |
right: 0; |
18
|
949 |
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); |
|
950 |
pointer-events: none; |
|
951 |
} |
16
|
952 |
|
9
|
953 |
.table-of-contents__counts { |
|
954 |
display: flex; |
16
|
955 |
flex-wrap: wrap; |
18
|
956 |
margin: 0; |
|
957 |
margin-top: -8px; |
|
958 |
} |
9
|
959 |
|
|
960 |
.table-of-contents__count { |
18
|
961 |
flex-basis: 33%; |
9
|
962 |
display: flex; |
|
963 |
flex-direction: column; |
|
964 |
font-size: 13px; |
18
|
965 |
color: #1e1e1e; |
16
|
966 |
padding-left: 8px; |
18
|
967 |
margin-bottom: 0; |
|
968 |
margin-top: 8px; |
|
969 |
} |
|
970 |
.table-of-contents__count:nth-child(4n) { |
|
971 |
padding-left: 0; |
|
972 |
} |
9
|
973 |
|
|
974 |
.table-of-contents__number, |
|
975 |
.table-of-contents__popover .word-count { |
|
976 |
font-size: 21px; |
|
977 |
font-weight: 400; |
|
978 |
line-height: 30px; |
18
|
979 |
color: #1e1e1e; |
|
980 |
} |
9
|
981 |
|
|
982 |
.table-of-contents__title { |
|
983 |
display: block; |
|
984 |
margin-top: 20px; |
|
985 |
font-size: 15px; |
18
|
986 |
font-weight: 600; |
|
987 |
} |
9
|
988 |
|
|
989 |
.editor-template-validation-notice { |
|
990 |
display: flex; |
|
991 |
justify-content: space-between; |
18
|
992 |
align-items: center; |
|
993 |
} |
|
994 |
.editor-template-validation-notice .components-button { |
|
995 |
margin-right: 5px; |
|
996 |
} |