95 border: none; |
140 border: none; |
96 display: flex; |
141 display: flex; |
97 align-items: flex-start; |
142 align-items: flex-start; |
98 margin: 0 -1px 0 0; |
143 margin: 0 -1px 0 0; |
99 padding: 2px 1px 2px 5px; |
144 padding: 2px 1px 2px 5px; |
100 color: #23282d; |
145 color: #1e1e1e; |
101 text-align: right; } |
146 text-align: right; |
|
147 border-radius: 2px; } |
102 .document-outline__button:disabled { |
148 .document-outline__button:disabled { |
103 cursor: default; } |
149 cursor: default; } |
104 .document-outline__button:focus { |
150 .document-outline__button:focus { |
105 background-color: #fff; |
151 box-shadow: 0 0 0 1.5px #007cba; |
106 color: #191e23; |
152 box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color); |
107 box-shadow: inset 0 0 0 1px #6c7781, inset 0 0 0 2px #fff; |
153 outline: 2px solid transparent; } |
108 outline: 2px solid transparent; |
|
109 outline-offset: -2px; } |
|
110 |
154 |
111 .document-outline__level { |
155 .document-outline__level { |
112 background: #e2e4e7; |
156 background: #ddd; |
113 color: #23282d; |
157 color: #1e1e1e; |
114 border-radius: 3px; |
158 border-radius: 3px; |
115 font-size: 13px; |
159 font-size: 13px; |
116 padding: 1px 6px; |
160 padding: 1px 6px; |
117 margin-left: 4px; } |
161 margin-left: 4px; } |
118 .is-invalid .document-outline__level { |
162 .is-invalid .document-outline__level { |
119 background: #f0b849; } |
163 background: #f0b849; } |
120 |
164 |
121 .document-outline__item-content { |
165 .document-outline__item-content { |
122 padding: 1px 0; } |
166 padding: 1px 0; } |
123 |
167 |
|
168 .components-editor-notices__dismissible { |
|
169 position: -webkit-sticky; |
|
170 position: sticky; |
|
171 top: 0; |
|
172 left: 0; |
|
173 color: #1e1e1e; } |
|
174 |
|
175 .components-editor-notices__pinned { |
|
176 position: relative; |
|
177 right: 0; |
|
178 top: 0; |
|
179 left: 0; |
|
180 color: #1e1e1e; } |
|
181 |
|
182 .components-editor-notices__dismissible .components-notice, |
|
183 .components-editor-notices__pinned .components-notice { |
|
184 box-sizing: border-box; |
|
185 margin: 0; |
|
186 border-bottom: 1px solid rgba(0, 0, 0, 0.2); |
|
187 padding: 0 12px; |
|
188 min-height: 60px; } |
|
189 .components-editor-notices__dismissible .components-notice .components-notice__dismiss, |
|
190 .components-editor-notices__pinned .components-notice .components-notice__dismiss { |
|
191 margin-top: 12px; } |
|
192 |
|
193 .components-editor-notices__snackbar { |
|
194 width: 100%; } |
|
195 @media (min-width: 782px) { |
|
196 .components-editor-notices__snackbar { |
|
197 width: fit-content; |
|
198 width: -moz-fit-content; } } |
|
199 |
|
200 .entities-saved-states__panel { |
|
201 box-sizing: border-box; |
|
202 background: #fff; |
|
203 position: fixed; |
|
204 z-index: 100001; |
|
205 top: 46px; |
|
206 bottom: 0; |
|
207 left: 0; |
|
208 right: 0; |
|
209 overflow: auto; |
|
210 box-sizing: border-box; } |
|
211 .entities-saved-states__panel *, |
|
212 .entities-saved-states__panel *::before, |
|
213 .entities-saved-states__panel *::after { |
|
214 box-sizing: inherit; } |
|
215 .entities-saved-states__panel .entities-saved-states__find-entity { |
|
216 display: none; } |
|
217 .entities-saved-states__panel .entities-saved-states__find-entity-small { |
|
218 display: block; } |
|
219 @media (min-width: 782px) { |
|
220 .entities-saved-states__panel { |
|
221 z-index: 99998; |
|
222 top: 32px; |
|
223 right: auto; |
|
224 width: 280px; |
|
225 border-right: 1px solid #ddd; } |
|
226 body.is-fullscreen-mode .entities-saved-states__panel { |
|
227 top: 0; } |
|
228 .entities-saved-states__panel .entities-saved-states__find-entity { |
|
229 display: block; } |
|
230 .entities-saved-states__panel .entities-saved-states__find-entity-small { |
|
231 display: none; } } |
|
232 .entities-saved-states__panel .entities-saved-states__panel-header { |
|
233 background: #fff; |
|
234 padding-right: 8px; |
|
235 padding-left: 8px; |
|
236 height: 61px; |
|
237 border-bottom: 1px solid #ddd; |
|
238 display: flex; |
|
239 align-items: center; |
|
240 align-content: space-between; } |
|
241 .entities-saved-states__panel .entities-saved-states__panel-header .editor-entities-saved-states__save-button { |
|
242 margin: auto; } |
|
243 .entities-saved-states__panel .entities-saved-states__panel-header .components-button.has-icon { |
|
244 position: absolute; |
|
245 left: 8px; } |
|
246 .entities-saved-states__panel .entities-saved-states__text-prompt { |
|
247 border-bottom: 1px solid #ddd; |
|
248 padding: 16px; |
|
249 padding-bottom: 4px; } |
|
250 |
124 .editor-error-boundary { |
251 .editor-error-boundary { |
125 max-width: 610px; |
|
126 margin: auto; |
252 margin: auto; |
127 max-width: 780px; |
253 max-width: 780px; |
128 padding: 20px; |
254 padding: 20px; |
129 margin-top: 60px; |
255 margin-top: 60px; |
130 box-shadow: 0 3px 30px rgba(25, 30, 35, 0.2); } |
256 box-shadow: 0 3px 30px rgba(0, 0, 0, 0.2); } |
131 |
257 |
132 .editor-page-attributes__template { |
258 .editor-page-attributes__template { |
133 margin-bottom: 10px; } |
259 margin-bottom: 10px; } |
134 .editor-page-attributes__template label, |
260 .editor-page-attributes__template label, |
135 .editor-page-attributes__template select { |
261 .editor-page-attributes__template select { |
230 .editor-post-locked-modal__avatar { |
372 .editor-post-locked-modal__avatar { |
231 float: right; |
373 float: right; |
232 margin: 5px; |
374 margin: 5px; |
233 margin-left: 15px; } |
375 margin-left: 15px; } |
234 |
376 |
235 .editor-post-permalink { |
377 .editor-post-publish-button__button.has-changes-dot::before { |
236 display: inline-flex; |
378 background: currentcolor; |
237 align-items: center; |
|
238 background: #fff; |
|
239 padding: 5px; |
|
240 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
241 font-size: 13px; |
|
242 height: 40px; |
|
243 white-space: nowrap; |
|
244 border: 1px solid #b5bcc2; |
|
245 background-clip: padding-box; |
|
246 border-right: 0; |
|
247 box-shadow: 3px 0 0 0 #555d66; |
|
248 outline: 1px solid transparent; |
|
249 margin-right: -15px; |
|
250 margin-left: -15px; } |
|
251 .is-dark-theme .editor-post-permalink { |
|
252 box-shadow: 3px 0 0 0 #d7dade; } |
|
253 @media (min-width: 600px) { |
|
254 .editor-post-permalink { |
|
255 margin-right: -1px; |
|
256 margin-left: -1px; } } |
|
257 .editor-post-permalink button { |
|
258 flex-shrink: 0; } |
|
259 |
|
260 .editor-post-permalink__copy { |
|
261 border-radius: 4px; |
379 border-radius: 4px; |
262 padding: 6px; } |
380 content: ""; |
263 |
381 height: 8px; |
264 .editor-post-permalink__copy.is-copied { |
382 margin: auto -3px auto 5px; |
265 opacity: 0.3; } |
383 width: 8px; } |
266 |
|
267 .editor-post-permalink__label { |
|
268 margin: 0 5px 0 10px; |
|
269 font-weight: 600; } |
|
270 |
|
271 .editor-post-permalink__link { |
|
272 color: #7e8993; |
|
273 text-decoration: underline; |
|
274 margin-left: 10px; |
|
275 width: 100%; |
|
276 overflow: hidden; |
|
277 position: relative; |
|
278 white-space: nowrap; } |
|
279 .editor-post-permalink__link::after { |
|
280 content: ""; |
|
281 display: block; |
|
282 position: absolute; |
|
283 -webkit-touch-callout: none; |
|
284 -webkit-user-select: none; |
|
285 -moz-user-select: none; |
|
286 -ms-user-select: none; |
|
287 user-select: none; |
|
288 pointer-events: none; |
|
289 background: linear-gradient(to left, rgba(255, 255, 255, 0), #fff 90%); |
|
290 top: 1px; |
|
291 bottom: 1px; |
|
292 left: 1px; |
|
293 right: auto; |
|
294 width: 20%; |
|
295 height: auto; } |
|
296 |
|
297 .editor-post-permalink-editor { |
|
298 width: 100%; |
|
299 min-width: 20%; |
|
300 display: inline-flex; |
|
301 align-items: center; } |
|
302 .editor-post-permalink-editor .editor-post-permalink__editor-container { |
|
303 flex: 0 1 100%; |
|
304 display: flex; |
|
305 overflow: hidden; |
|
306 padding: 1px 0; } |
|
307 .editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix { |
|
308 flex: 1 1 auto; } |
|
309 @media (min-width: 600px) { |
|
310 .editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix { |
|
311 flex: 1 0 auto; } } |
|
312 .editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__edit { |
|
313 flex: 1 1 100%; } |
|
314 .editor-post-permalink-editor .editor-post-permalink-editor__save { |
|
315 margin-right: auto; } |
|
316 |
|
317 .editor-post-permalink-editor__prefix { |
|
318 color: #6c7781; |
|
319 min-width: 20%; |
|
320 overflow: hidden; |
|
321 position: relative; |
|
322 white-space: nowrap; |
|
323 text-overflow: ellipsis; } |
|
324 |
|
325 .editor-post-permalink input[type="text"].editor-post-permalink-editor__edit { |
|
326 min-width: 10%; |
|
327 width: 100%; |
|
328 margin: 0 3px; |
|
329 padding: 2px 4px; } |
|
330 |
|
331 .editor-post-permalink-editor__suffix { |
|
332 color: #6c7781; |
|
333 margin-left: 6px; |
|
334 flex: 0 0 0%; } |
|
335 |
384 |
336 .editor-post-publish-panel { |
385 .editor-post-publish-panel { |
337 background: #fff; |
386 background: #fff; } |
338 color: #555d66; } |
|
339 |
387 |
340 .editor-post-publish-panel__content { |
388 .editor-post-publish-panel__content { |
341 min-height: calc(100% - 140px); } |
389 min-height: calc(100% - 144px); } |
342 .editor-post-publish-panel__content .components-spinner { |
390 .editor-post-publish-panel__content .components-spinner { |
343 display: block; |
391 display: block; |
344 float: none; |
|
345 margin: 100px auto 0; } |
392 margin: 100px auto 0; } |
346 |
393 |
347 .editor-post-publish-panel__header { |
394 .editor-post-publish-panel__header { |
348 background: #fff; |
395 background: #fff; |
349 padding-right: 16px; |
396 padding-right: 16px; |
350 height: 56px; |
397 padding-left: 16px; |
351 border-bottom: 1px solid #e2e4e7; |
398 height: 61px; |
|
399 border-bottom: 1px solid #ddd; |
352 display: flex; |
400 display: flex; |
353 align-items: center; |
401 align-items: center; |
354 align-content: space-between; } |
402 align-content: space-between; } |
|
403 .editor-post-publish-panel__header .components-button { |
|
404 width: 100%; |
|
405 justify-content: center; } |
|
406 .editor-post-publish-panel__header .has-icon { |
|
407 margin-right: auto; |
|
408 width: auto; } |
|
409 |
|
410 .editor-post-publish-panel__header-publish-button, |
|
411 .editor-post-publish-panel__header-cancel-button { |
|
412 flex-grow: 1; } |
|
413 @media (min-width: 480px) { |
|
414 .editor-post-publish-panel__header-publish-button, |
|
415 .editor-post-publish-panel__header-cancel-button { |
|
416 max-width: 160px; } } |
355 |
417 |
356 .editor-post-publish-panel__header-publish-button { |
418 .editor-post-publish-panel__header-publish-button { |
357 display: flex; |
419 padding-left: 4px; } |
358 justify-content: flex-end; |
420 |
359 flex-grow: 1; |
421 .editor-post-publish-panel__header-cancel-button { |
360 text-align: left; |
422 padding-right: 4px; } |
361 flex-wrap: nowrap; } |
|
362 |
423 |
363 .editor-post-publish-panel__header-published { |
424 .editor-post-publish-panel__header-published { |
364 flex-grow: 1; } |
425 flex-grow: 1; } |
365 |
426 |
366 .editor-post-publish-panel__footer { |
427 .editor-post-publish-panel__footer { |
489 |
539 |
490 .editor-post-taxonomies__hierarchical-terms-filter { |
540 .editor-post-taxonomies__hierarchical-terms-filter { |
491 margin-bottom: 8px; |
541 margin-bottom: 8px; |
492 width: 100%; } |
542 width: 100%; } |
493 |
543 |
494 .editor-post-text-editor { |
544 .edit-post-text-editor__body textarea.editor-post-text-editor { |
495 border: 1px solid #e2e4e7; |
545 border: 1px solid #ccc; |
496 display: block; |
546 display: block; |
497 margin: 0 0 2em; |
547 margin: 0; |
498 width: 100%; |
548 width: 100%; |
499 box-shadow: none; |
549 box-shadow: none; |
500 resize: none; |
550 resize: none; |
501 overflow: hidden; |
551 overflow: hidden; |
502 font-family: Menlo, Consolas, monaco, monospace; |
552 font-family: Menlo, Consolas, monaco, monospace; |
503 line-height: 150%; |
553 line-height: 2.4; |
|
554 border-radius: 0; |
|
555 min-height: 200px; |
|
556 padding: 16px; |
504 /* Fonts smaller than 16px causes mobile safari to zoom. */ |
557 /* Fonts smaller than 16px causes mobile safari to zoom. */ |
505 font-size: 16px; } |
558 font-size: 16px !important; } |
506 @media (min-width: 600px) { |
559 @media (min-width: 600px) { |
507 .editor-post-text-editor { |
560 .edit-post-text-editor__body textarea.editor-post-text-editor { |
508 font-size: 14px; } } |
561 padding: 24px; } } |
509 .editor-post-text-editor:hover, .editor-post-text-editor:focus { |
562 @media (min-width: 600px) { |
510 border: 1px solid #e2e4e7; |
563 .edit-post-text-editor__body textarea.editor-post-text-editor { |
|
564 font-size: 15px !important; } } |
|
565 .edit-post-text-editor__body textarea.editor-post-text-editor:focus { |
|
566 border: 1px solid #1e1e1e; |
511 box-shadow: none; |
567 box-shadow: none; |
512 outline: 1px solid #e2e4e7; |
568 position: relative; } |
513 outline-offset: -2px; } |
569 |
514 |
570 .edit-post-post-visibility__dialog, |
515 .editor-post-text-editor__toolbar { |
571 .editor-post-visibility__dialog-fieldset { |
516 display: flex; |
|
517 flex-direction: row; |
|
518 flex-wrap: wrap; } |
|
519 .editor-post-text-editor__toolbar button { |
|
520 height: 30px; |
|
521 background: none; |
|
522 padding: 0 8px; |
|
523 margin: 3px 4px; |
|
524 text-align: center; |
|
525 cursor: pointer; |
|
526 font-family: Menlo, Consolas, monaco, monospace; |
|
527 color: #555d66; |
|
528 border: 1px solid transparent; } |
|
529 .editor-post-text-editor__toolbar button:first-child { |
|
530 margin-right: 0; } |
|
531 .editor-post-text-editor__toolbar button:hover, .editor-post-text-editor__toolbar button:focus { |
|
532 outline: none; |
|
533 border: 1px solid #555d66; } |
|
534 |
|
535 .editor-post-text-editor__bold { |
|
536 font-weight: 600; } |
|
537 |
|
538 .editor-post-text-editor__italic { |
|
539 font-style: italic; } |
|
540 |
|
541 .editor-post-text-editor__link { |
|
542 text-decoration: underline; |
|
543 color: #0085ba; } |
|
544 |
|
545 body.admin-color-sunrise .editor-post-text-editor__link{ |
|
546 color: #d1864a; } |
|
547 |
|
548 body.admin-color-ocean .editor-post-text-editor__link{ |
|
549 color: #a3b9a2; } |
|
550 |
|
551 body.admin-color-midnight .editor-post-text-editor__link{ |
|
552 color: #e14d43; } |
|
553 |
|
554 body.admin-color-ectoplasm .editor-post-text-editor__link{ |
|
555 color: #a7b656; } |
|
556 |
|
557 body.admin-color-coffee .editor-post-text-editor__link{ |
|
558 color: #c2a68c; } |
|
559 |
|
560 body.admin-color-blue .editor-post-text-editor__link{ |
|
561 color: #82b4cb; } |
|
562 |
|
563 body.admin-color-light .editor-post-text-editor__link{ |
|
564 color: #0085ba; } |
|
565 |
|
566 .editor-post-text-editor__del { |
|
567 text-decoration: line-through; } |
|
568 |
|
569 .edit-post-post-visibility__dialog .editor-post-visibility__dialog-fieldset { |
|
570 padding: 4px; |
572 padding: 4px; |
571 padding-top: 0; } |
573 padding-top: 0; } |
572 |
574 .edit-post-post-visibility__dialog .editor-post-visibility__dialog-legend, |
573 .edit-post-post-visibility__dialog .editor-post-visibility__dialog-legend { |
575 .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-legend { |
574 font-weight: 600; |
576 font-weight: 600; |
575 margin-bottom: 1em; |
577 margin-bottom: 1em; |
576 margin-top: 0.5em; |
578 margin-top: 0.5em; |
577 padding: 0; } |
579 padding: 0; } |
578 |
580 .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"], |
579 .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio { |
581 .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"] { |
580 margin-top: 2px; } |
582 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
581 |
583 padding: 6px 8px; |
582 .edit-post-post-visibility__dialog .editor-post-visibility__dialog-label { |
584 box-shadow: 0 0 0 transparent; |
583 font-weight: 600; } |
585 transition: box-shadow 0.1s linear; |
584 |
586 border-radius: 2px; |
585 .edit-post-post-visibility__dialog .editor-post-visibility__dialog-info { |
587 border: 1px solid #757575; |
586 margin-top: 0; |
588 /* Fonts smaller than 16px causes mobile safari to zoom. */ |
587 margin-right: 28px; } |
589 font-size: 16px; |
588 |
590 /* Override core line-height. To be reviewed. */ |
589 .edit-post-post-visibility__dialog .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info { |
591 line-height: normal; |
590 margin-bottom: 0; } |
592 border: 1px solid #1e1e1e; |
591 |
593 margin-left: 12px; |
592 .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input { |
594 transition: none; |
593 margin-right: 28px; } |
595 border-radius: 50%; |
594 |
596 margin-top: 2px; } |
595 .edit-post-post-visibility__dialog.components-popover.is-bottom { |
597 @media (prefers-reduced-motion: reduce) { |
596 z-index: 100001; } |
598 .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"], |
597 |
599 .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"] { |
598 .editor-post-title__block { |
600 transition-duration: 0s; } } |
599 position: relative; |
601 @media (min-width: 600px) { |
600 padding: 5px 0; |
602 .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"], |
601 font-size: 16px; } |
603 .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"] { |
602 @media (min-width: 600px) { |
604 font-size: 13px; |
603 .editor-post-title__block { |
605 /* Override core line-height. To be reviewed. */ |
604 padding: 5px 2px; } } |
606 line-height: normal; } } |
605 .editor-post-title__block .editor-post-title__input { |
607 .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:focus, |
|
608 .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:focus { |
|
609 border-color: #007cba; |
|
610 border-color: var(--wp-admin-theme-color); |
|
611 box-shadow: 0 0 0 0.5px #007cba; |
|
612 box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color); |
|
613 outline: 2px solid transparent; } |
|
614 .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]::-webkit-input-placeholder, |
|
615 .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]::-webkit-input-placeholder { |
|
616 color: rgba(30, 30, 30, 0.62); } |
|
617 .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]::-moz-placeholder, |
|
618 .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]::-moz-placeholder { |
|
619 opacity: 1; |
|
620 color: rgba(30, 30, 30, 0.62); } |
|
621 .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:-ms-input-placeholder, |
|
622 .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:-ms-input-placeholder { |
|
623 color: rgba(30, 30, 30, 0.62); } |
|
624 .is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]::-webkit-input-placeholder, .is-dark-theme |
|
625 .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]::-webkit-input-placeholder { |
|
626 color: rgba(255, 255, 255, 0.65); } |
|
627 .is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]::-moz-placeholder, .is-dark-theme |
|
628 .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]::-moz-placeholder { |
|
629 opacity: 1; |
|
630 color: rgba(255, 255, 255, 0.65); } |
|
631 .is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:-ms-input-placeholder, .is-dark-theme |
|
632 .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:-ms-input-placeholder { |
|
633 color: rgba(255, 255, 255, 0.65); } |
|
634 .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:checked::before, |
|
635 .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:checked::before { |
|
636 width: 7px; |
|
637 height: 7px; |
|
638 margin: 8px 8px 0 0; |
|
639 background-color: #fff; |
|
640 border: 3px solid #fff; } |
|
641 @media (min-width: 782px) { |
|
642 .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:checked::before, |
|
643 .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:checked::before { |
|
644 width: 6px; |
|
645 height: 6px; |
|
646 margin: 4px 4px 0 0; } } |
|
647 .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:focus, |
|
648 .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:focus { |
|
649 box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #007cba; |
|
650 box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--wp-admin-theme-color); |
|
651 outline: 2px solid transparent; } |
|
652 .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:checked, |
|
653 .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:checked { |
|
654 background: #007cba; |
|
655 background: var(--wp-admin-theme-color); |
|
656 border-color: #007cba; |
|
657 border-color: var(--wp-admin-theme-color); } |
|
658 .edit-post-post-visibility__dialog .editor-post-visibility__dialog-label, |
|
659 .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-label { |
|
660 font-weight: 600; } |
|
661 .edit-post-post-visibility__dialog .editor-post-visibility__dialog-info, |
|
662 .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-info { |
|
663 margin-top: 0; |
|
664 margin-right: 28px; } |
|
665 .edit-post-post-visibility__dialog .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info, |
|
666 .editor-post-visibility__dialog-fieldset .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info { |
|
667 margin-bottom: 0; } |
|
668 .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"], |
|
669 .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"] { |
|
670 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
671 padding: 6px 8px; |
|
672 box-shadow: 0 0 0 transparent; |
|
673 transition: box-shadow 0.1s linear; |
|
674 border-radius: 2px; |
|
675 border: 1px solid #757575; |
|
676 /* Fonts smaller than 16px causes mobile safari to zoom. */ |
|
677 font-size: 16px; |
|
678 /* Override core line-height. To be reviewed. */ |
|
679 line-height: normal; |
|
680 margin-right: 28px; } |
|
681 @media (prefers-reduced-motion: reduce) { |
|
682 .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"], |
|
683 .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"] { |
|
684 transition-duration: 0s; } } |
|
685 @media (min-width: 600px) { |
|
686 .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"], |
|
687 .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"] { |
|
688 font-size: 13px; |
|
689 /* Override core line-height. To be reviewed. */ |
|
690 line-height: normal; } } |
|
691 .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]:focus, |
|
692 .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]:focus { |
|
693 border-color: #007cba; |
|
694 border-color: var(--wp-admin-theme-color); |
|
695 box-shadow: 0 0 0 0.5px #007cba; |
|
696 box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color); |
|
697 outline: 2px solid transparent; } |
|
698 .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]::-webkit-input-placeholder, |
|
699 .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]::-webkit-input-placeholder { |
|
700 color: rgba(30, 30, 30, 0.62); } |
|
701 .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]::-moz-placeholder, |
|
702 .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]::-moz-placeholder { |
|
703 opacity: 1; |
|
704 color: rgba(30, 30, 30, 0.62); } |
|
705 .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]:-ms-input-placeholder, |
|
706 .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]:-ms-input-placeholder { |
|
707 color: rgba(30, 30, 30, 0.62); } |
|
708 .is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]::-webkit-input-placeholder, .is-dark-theme |
|
709 .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]::-webkit-input-placeholder { |
|
710 color: rgba(255, 255, 255, 0.65); } |
|
711 .is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]::-moz-placeholder, .is-dark-theme |
|
712 .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]::-moz-placeholder { |
|
713 opacity: 1; |
|
714 color: rgba(255, 255, 255, 0.65); } |
|
715 .is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]:-ms-input-placeholder, .is-dark-theme |
|
716 .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]:-ms-input-placeholder { |
|
717 color: rgba(255, 255, 255, 0.65); } |
|
718 |
|
719 .editor-post-title { |
|
720 position: relative; } |
|
721 .editor-post-title .editor-post-title__input { |
606 display: block; |
722 display: block; |
607 width: 100%; |
723 width: 100%; |
608 margin: 0; |
724 margin: 0; |
609 box-shadow: none; |
725 box-shadow: none; |
610 background: transparent; |
726 background: transparent; |
611 font-family: "Noto Serif", serif; |
|
612 line-height: 1.4; |
|
613 color: #191e23; |
|
614 transition: border 0.1s ease-out, box-shadow 0.1s linear; |
727 transition: border 0.1s ease-out, box-shadow 0.1s linear; |
615 padding: 19px 14px; |
728 padding: 19px 0; |
616 word-break: keep-all; |
729 word-break: keep-all; |
|
730 font-family: inherit; |
|
731 color: inherit; |
617 border: 1px solid transparent; |
732 border: 1px solid transparent; |
618 border-right-width: 0; |
733 border-right-width: 0; |
619 border-left-width: 0; |
734 border-left-width: 0; |
|
735 border-radius: 0; |
620 outline: 1px solid transparent; |
736 outline: 1px solid transparent; |
621 font-size: 2.441em; |
737 font-size: 2.44em; |
622 font-weight: 600; } |
738 font-weight: bold; |
|
739 line-height: 1.4; } |
|
740 @media (prefers-reduced-motion: reduce) { |
|
741 .editor-post-title .editor-post-title__input { |
|
742 transition-duration: 0s; } } |
623 @media (min-width: 600px) { |
743 @media (min-width: 600px) { |
624 .editor-post-title__block .editor-post-title__input { |
744 .editor-post-title .editor-post-title__input { |
625 border-width: 1px; |
745 border-width: 1px; } } |
626 border-right-width: 0; } } |
746 .editor-post-title .editor-post-title__input::-webkit-input-placeholder { |
627 .editor-post-title__block .editor-post-title__input::-webkit-input-placeholder { |
747 color: rgba(30, 30, 30, 0.55); } |
628 color: rgba(22, 36, 53, 0.55); } |
748 .editor-post-title .editor-post-title__input::-moz-placeholder { |
629 .editor-post-title__block .editor-post-title__input::-moz-placeholder { |
749 color: rgba(30, 30, 30, 0.55); } |
630 color: rgba(22, 36, 53, 0.55); } |
750 .editor-post-title .editor-post-title__input:-ms-input-placeholder { |
631 .editor-post-title__block .editor-post-title__input:-ms-input-placeholder { |
751 color: rgba(30, 30, 30, 0.55); } |
632 color: rgba(22, 36, 53, 0.55); } |
752 .editor-post-title .editor-post-title__input:focus { |
633 .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input { |
753 border: 1px solid transparent; |
634 border-color: rgba(66, 88, 99, 0.4); |
754 outline: 1px solid transparent; |
635 box-shadow: inset -3px 0 0 0 #555d66; } |
755 box-shadow: none; } |
636 .is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input { |
756 .editor-post-title.is-focus-mode .editor-post-title__input { |
637 border-color: rgba(255, 255, 255, 0.45); |
|
638 box-shadow: inset -3px 0 0 0 #d7dade; } |
|
639 @media (min-width: 600px) { |
|
640 .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input { |
|
641 box-shadow: 3px 0 0 0 #555d66; } |
|
642 .is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input { |
|
643 box-shadow: 3px 0 0 0 #d7dade; } } |
|
644 .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar):not(.is-selected) .editor-post-title__input:hover { |
|
645 box-shadow: 3px 0 0 0 #e2e4e7; } |
|
646 .editor-post-title__block.is-focus-mode .editor-post-title__input { |
|
647 opacity: 0.5; |
757 opacity: 0.5; |
648 transition: opacity 0.1s linear; } |
758 transition: opacity 0.1s linear; } |
649 .editor-post-title__block.is-focus-mode .editor-post-title__input:focus { |
759 @media (prefers-reduced-motion: reduce) { |
|
760 .editor-post-title.is-focus-mode .editor-post-title__input { |
|
761 transition-duration: 0s; } } |
|
762 .editor-post-title.is-focus-mode .editor-post-title__input:focus { |
650 opacity: 1; } |
763 opacity: 1; } |
651 |
764 |
652 .editor-post-title .editor-post-permalink { |
|
653 font-size: 13px; |
|
654 color: #191e23; |
|
655 position: absolute; |
|
656 top: -34px; |
|
657 right: 0; |
|
658 left: 0; } |
|
659 @media (min-width: 600px) { |
|
660 .editor-post-title .editor-post-permalink { |
|
661 right: 2px; |
|
662 left: 2px; } } |
|
663 |
|
664 .editor-post-trash.components-button { |
765 .editor-post-trash.components-button { |
665 width: 100%; |
766 margin-right: -6px; } |
666 color: #c92c2c; |
767 |
667 justify-content: center; } |
768 .table-of-contents__popover.components-popover .components-popover__content { |
668 .editor-post-trash.components-button:hover, .editor-post-trash.components-button:focus { |
|
669 color: #b52727; } |
|
670 |
|
671 .table-of-contents__popover.components-popover:not(.is-mobile) .components-popover__content { |
|
672 min-width: 380px; } |
769 min-width: 380px; } |
673 |
770 |
674 .table-of-contents__popover .components-popover__content { |
771 .components-popover.table-of-contents__popover { |
|
772 z-index: 99998; } |
|
773 |
|
774 .table-of-contents__popover .components-popover__content > div { |
675 padding: 16px; } |
775 padding: 16px; } |
676 @media (min-width: 600px) { |
776 |
677 .table-of-contents__popover .components-popover__content { |
777 @media (min-width: 600px) { |
678 max-height: calc(100vh - 120px); |
778 .table-of-contents__popover .components-popover__content { |
679 overflow-y: auto; } } |
779 max-height: calc(100vh - 120px); |
|
780 overflow-y: auto; } } |
680 |
781 |
681 .table-of-contents__popover hr { |
782 .table-of-contents__popover hr { |
682 margin: 10px -16px 0; } |
783 margin: 10px -16px 0; } |
683 |
784 |
|
785 .table-of-contents__wrapper:focus::before { |
|
786 content: ""; |
|
787 display: block; |
|
788 position: absolute; |
|
789 top: 0; |
|
790 left: 0; |
|
791 bottom: 0; |
|
792 right: 0; |
|
793 box-shadow: inset 0 0 0 1.5px #007cba; |
|
794 box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color); } |
|
795 |
684 .table-of-contents__counts { |
796 .table-of-contents__counts { |
685 display: flex; |
797 display: flex; |
686 flex-wrap: wrap; } |
798 flex-wrap: wrap; |
|
799 margin: 0; } |
687 |
800 |
688 .table-of-contents__count { |
801 .table-of-contents__count { |
689 width: 25%; |
802 flex-basis: 25%; |
690 display: flex; |
803 display: flex; |
691 flex-direction: column; |
804 flex-direction: column; |
692 font-size: 13px; |
805 font-size: 13px; |
693 color: #6c7781; } |
806 color: #6c7781; |
|
807 padding-left: 8px; |
|
808 margin-bottom: 0; } |
|
809 .table-of-contents__count:last-child { |
|
810 padding-left: 0; } |
694 |
811 |
695 .table-of-contents__number, |
812 .table-of-contents__number, |
696 .table-of-contents__popover .word-count { |
813 .table-of-contents__popover .word-count { |
697 font-size: 21px; |
814 font-size: 21px; |
698 font-weight: 400; |
815 font-weight: 400; |