WordPress/wp-includes/css/dist/block-library/editor.css

1029 lines
36 KiB
CSS
Raw Normal View History

/**
* Colors
*/
/**
* Breakpoints & Media Queries
*/
/**
* Often re-used variables
*/
/**
* Breakpoint mixins
*/
/**
* Long content fade mixin
*
* Creates a fading overlay to signify that the content is longer
* than the space allows.
*/
/**
* Button states and focus styles
*/
/**
* Applies editor left position to the selector passed as argument
*/
/**
* Applies editor right position to the selector passed as argument
*/
/**
* Styles that are reused verbatim in a few places
*/
.block-editor ul.wp-block-archives {
padding-left: 2.5em; }
.wp-block-audio {
margin: 0; }
.editor-block-list__block[data-type="core/button"][data-align="center"] {
text-align: center; }
.editor-block-list__block[data-type="core/button"][data-align="right"] {
/*!rtl:ignore*/
text-align: right; }
.wp-block-button {
display: inline-block;
margin-bottom: 0;
position: relative; }
.wp-block-button .editor-rich-text__tinymce.mce-content-body {
cursor: text; }
.wp-block-button:not(.has-text-color):not(.is-style-outline) .editor-rich-text__tinymce[data-is-placeholder-visible="true"] + .editor-rich-text__tinymce {
color: #fff; }
.wp-block-button .editor-rich-text__tinymce[data-is-placeholder-visible="true"] + .editor-rich-text__tinymce {
opacity: 0.8; }
.editor-block-preview__content .wp-block-button {
max-width: 100%; }
.editor-block-preview__content .wp-block-button .editor-rich-text__tinymce[data-is-placeholder-visible="true"] {
height: auto; }
.editor-block-preview__content .wp-block-button .wp-block-button__link {
max-width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis; }
.block-library-button__inline-link {
background: #fff;
display: flex;
flex-wrap: wrap;
align-items: center;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 13px;
line-height: 1.4;
width: 374px; }
.block-library-button__inline-link .editor-url-input {
width: auto; }
.block-library-button__inline-link .editor-url-input__suggestions {
width: 302px;
z-index: 6; }
.block-library-button__inline-link > .dashicon {
width: 36px; }
.block-library-button__inline-link .dashicon {
color: #8f98a1; }
.block-library-button__inline-link .editor-url-input input[type="text"]::-webkit-input-placeholder {
color: #8f98a1; }
.block-library-button__inline-link .editor-url-input input[type="text"]:-ms-input-placeholder {
color: #8f98a1; }
.block-library-button__inline-link .editor-url-input input[type="text"]::-ms-input-placeholder {
color: #8f98a1; }
.block-library-button__inline-link .editor-url-input input[type="text"]::placeholder {
color: #8f98a1; }
[data-align="center"] .block-library-button__inline-link {
margin-left: auto;
margin-right: auto; }
[data-align="right"] .block-library-button__inline-link {
margin-left: auto;
margin-right: 0; }
.block-editor .wp-block-categories ul {
padding-left: 2.5em; }
.block-editor .wp-block-categories ul ul {
margin-top: 6px; }
.wp-block-code .editor-plain-text {
font-family: Menlo, Consolas, monaco, monospace;
font-size: 14px;
color: #23282d; }
.wp-block-code .editor-plain-text:focus {
box-shadow: none; }
.components-tab-button {
display: inline-flex;
align-items: flex-end;
margin: 0;
padding: 3px;
background: none;
outline: none;
color: #555d66;
cursor: pointer;
position: relative;
height: 36px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 13px;
font-weight: 500;
border: 0; }
.components-tab-button.is-active, .components-tab-button.is-active:hover {
color: #fff; }
.components-tab-button:disabled {
cursor: default; }
.components-tab-button > span {
border: 1px solid transparent;
padding: 0 6px;
box-sizing: content-box;
height: 28px;
line-height: 28px; }
.components-tab-button:hover > span,
.components-tab-button:focus > span {
color: #555d66; }
.components-tab-button:not(:disabled).is-active > span,
.components-tab-button:not(:disabled):hover > span,
.components-tab-button:not(:disabled):focus > span {
border: 1px solid #555d66; }
.components-tab-button.is-active > span,
.components-tab-button.is-active:hover > span {
background-color: #555d66;
color: #fff; }
.wp-block-columns .editor-block-list__layout {
margin-left: 0;
margin-right: 0; }
.wp-block-columns .editor-block-list__layout .editor-block-list__block {
max-width: none; }
.editor-block-list__block[data-align="full"] .wp-block-columns > .editor-inner-blocks {
padding-left: 14px;
padding-right: 14px; }
@media (min-width: 600px) {
.editor-block-list__block[data-align="full"] .wp-block-columns > .editor-inner-blocks {
padding-left: 60px;
padding-right: 60px; } }
.wp-block-columns {
display: block; }
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout {
display: flex;
flex-wrap: wrap; }
@media (min-width: 600px) {
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout {
flex-wrap: nowrap; } }
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
display: flex;
flex-direction: column;
flex: 1;
padding-left: 0;
padding-right: 0;
margin-left: -14px;
margin-right: -14px;
min-width: 0;
word-break: break-word;
overflow-wrap: break-word;
flex-basis: 100%; }
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > div > .editor-inner-blocks {
margin-top: -28px;
margin-bottom: -28px; }
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit {
margin-top: 0;
margin-bottom: 0; }
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit::before {
left: 0;
right: 0; }
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > .editor-block-contextual-toolbar {
margin-left: -1px; }
@media (min-width: 600px) {
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
margin-left: 14px;
margin-right: 14px; } }
@media (min-width: 600px) {
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
flex-basis: 50%;
flex-grow: 0; } }
@media (min-width: 600px) {
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(odd) {
margin-right: 32px; }
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(even) {
margin-left: 32px; } }
@media (min-width: 600px) {
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:not(:first-child) {
margin-left: 32px; }
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:not(:last-child) {
margin-right: 32px; } }
.wp-block-columns [data-type="core/column"] {
pointer-events: none; }
.wp-block-columns [data-type="core/column"].is-hovered > .editor-block-list__block-edit::before {
content: none; }
.wp-block-columns [data-type="core/column"].is-hovered .editor-block-list__breadcrumb {
display: none; }
:not(.components-disabled) > .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > * {
pointer-events: all; }
.wp-block-cover-image .editor-rich-text__tinymce[data-is-empty="true"]::before,
.wp-block-cover .editor-rich-text__tinymce[data-is-empty="true"]::before {
position: inherit; }
.wp-block-cover-image .editor-rich-text__tinymce:focus a[data-mce-selected],
.wp-block-cover .editor-rich-text__tinymce:focus a[data-mce-selected] {
padding: 0 2px;
margin: 0 -2px;
border-radius: 2px;
box-shadow: none;
background: rgba(255, 255, 255, 0.3); }
.wp-block-cover-image.components-placeholder h2,
.wp-block-cover.components-placeholder h2 {
color: inherit; }
.wp-block-cover-image.has-left-content .editor-rich-text__inline-toolbar,
.wp-block-cover.has-left-content .editor-rich-text__inline-toolbar {
justify-content: flex-start; }
.wp-block-cover-image.has-right-content .editor-rich-text__inline-toolbar,
.wp-block-cover.has-right-content .editor-rich-text__inline-toolbar {
justify-content: flex-end; }
.wp-block-cover-image.components-placeholder,
.wp-block-cover.components-placeholder {
background: rgba(139, 139, 150, 0.1);
min-height: 200px; }
.is-dark-theme .wp-block-cover-image.components-placeholder, .is-dark-theme
.wp-block-cover.components-placeholder {
background: rgba(255, 255, 255, 0.15); }
[data-align="left"] .wp-block-cover-image,
[data-align="right"] .wp-block-cover-image, [data-align="left"]
.wp-block-cover,
[data-align="right"]
.wp-block-cover {
max-width: 305px;
width: 100%; }
.wp-block-embed {
margin: 0;
clear: both; }
@media (min-width: 600px) {
.wp-block-embed {
min-width: 360px; } }
.wp-block-embed.is-loading {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 1em;
min-height: 200px;
text-align: center;
background: #f8f9f9; }
.wp-block-embed.is-loading p {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 13px; }
.wp-block-embed .components-placeholder__error {
word-break: break-word; }
.wp-block-file {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0; }
.wp-block-file.is-transient {
animation: edit-post__loading-fade-animation 1.6s ease-in-out infinite; }
.wp-block-file .wp-block-file__content-wrapper {
flex-grow: 1; }
.wp-block-file .wp-block-file__textlink {
display: inline-block;
min-width: 1em; }
.wp-block-file .wp-block-file__textlink:focus {
box-shadow: none; }
.wp-block-file .wp-block-file__button-richtext-wrapper {
display: inline-block;
margin-left: 0.75em; }
.wp-block-file .wp-block-file__copy-url-button {
margin-left: 1em; }
.wp-block-freeform.block-library-rich-text__tinymce {
overflow: hidden;
/**
* The following gallery styles were replicated
* from the styles applied in the tinymce skin,
* /wp-includes/js/tinymce/skins/wordpress/wp-content.css.
*/ }
.wp-block-freeform.block-library-rich-text__tinymce p,
.wp-block-freeform.block-library-rich-text__tinymce li {
line-height: 1.8; }
.wp-block-freeform.block-library-rich-text__tinymce ul,
.wp-block-freeform.block-library-rich-text__tinymce ol {
padding-left: 2.5em;
margin-left: 0; }
.wp-block-freeform.block-library-rich-text__tinymce blockquote {
margin: 0;
box-shadow: inset 0 0 0 0 #e2e4e7;
border-left: 4px solid #000;
padding-left: 1em; }
.wp-block-freeform.block-library-rich-text__tinymce pre {
white-space: pre-wrap;
font-family: Menlo, Consolas, monaco, monospace;
font-size: 14px;
color: #23282d; }
.wp-block-freeform.block-library-rich-text__tinymce h1 {
font-size: 2em; }
.wp-block-freeform.block-library-rich-text__tinymce h2 {
font-size: 1.6em; }
.wp-block-freeform.block-library-rich-text__tinymce h3 {
font-size: 1.4em; }
.wp-block-freeform.block-library-rich-text__tinymce h4 {
font-size: 1.2em; }
.wp-block-freeform.block-library-rich-text__tinymce h5 {
font-size: 1.1em; }
.wp-block-freeform.block-library-rich-text__tinymce h6 {
font-size: 1em; }
.wp-block-freeform.block-library-rich-text__tinymce > *:first-child {
margin-top: 0; }
.wp-block-freeform.block-library-rich-text__tinymce > *:last-child {
margin-bottom: 0; }
.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus {
outline: none; }
.wp-block-freeform.block-library-rich-text__tinymce a {
color: #007fac; }
.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected] {
padding: 0 2px;
margin: 0 -2px;
border-radius: 2px;
box-shadow: 0 0 0 1px #e5f5fa;
background: #e5f5fa; }
.wp-block-freeform.block-library-rich-text__tinymce code {
padding: 2px;
border-radius: 2px;
color: #23282d;
background: #f3f4f5;
font-family: Menlo, Consolas, monaco, monospace;
font-size: 14px; }
.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected] {
background: #e8eaeb; }
.wp-block-freeform.block-library-rich-text__tinymce .alignright {
/*rtl:ignore*/
float: right;
/*rtl:ignore*/
margin: 0.5em 0 0.5em 1em; }
.wp-block-freeform.block-library-rich-text__tinymce .alignleft {
/*rtl:ignore*/
float: left;
/*rtl:ignore*/
margin: 0.5em 1em 0.5em 0; }
.wp-block-freeform.block-library-rich-text__tinymce .aligncenter {
display: block;
margin-left: auto;
margin-right: auto; }
.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag {
width: 96%;
height: 0;
display: block;
margin: 15px auto;
outline: 0;
cursor: default;
border: 2px dashed #bababa; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview-type-gallery::after {
content: "";
display: table;
clear: both; }
.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus {
outline: none; }
.wp-block-freeform.block-library-rich-text__tinymce .gallery a {
cursor: default; }
.wp-block-freeform.block-library-rich-text__tinymce .gallery {
margin: auto -6px;
padding: 6px 0;
line-height: 1;
overflow-x: hidden; }
.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item {
float: left;
margin: 0;
text-align: center;
padding: 6px;
box-sizing: border-box; }
.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,
.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon {
margin: 0; }
.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption {
font-size: 13px;
margin: 4px 0; }
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item {
width: 100%; }
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item {
width: 50%; }
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item {
width: 33.33333%; }
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item {
width: 25%; }
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item {
width: 20%; }
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item {
width: 16.66667%; }
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item {
width: 14.28571%; }
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item {
width: 12.5%; }
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item {
width: 11.11111%; }
.wp-block-freeform.block-library-rich-text__tinymce .gallery img {
max-width: 100%;
height: auto;
border: none;
padding: 0; }
.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active button,
.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active:hover button,
.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active i,
.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active:hover i {
color: #23282d; }
.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn i {
font-style: normal; }
.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-toolbar-grp > div {
padding: 1px 3px; }
.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .editor-block-list__block-edit::before {
outline: 1px solid #e2e4e7; }
.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"].is-hovered .editor-block-list__breadcrumb {
display: none; }
div[data-type="core/freeform"] .editor-block-contextual-toolbar + div {
margin-top: 0;
padding-top: 0; }
.block-library-classic__toolbar {
width: auto;
margin: 0 -14px;
position: -webkit-sticky;
position: sticky;
z-index: 10;
top: 14px;
transform: translateY(-14px);
padding: 0 14px; }
@media (min-width: 600px) {
.block-library-classic__toolbar {
padding: 0; } }
.block-library-classic__toolbar:empty {
height: 37px;
background: #f5f5f5;
border-bottom: 1px solid #e2e4e7; }
.block-library-classic__toolbar:empty::before {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 13px;
content: attr(data-placeholder);
color: #555d66;
line-height: 37px;
padding: 14px; }
.block-library-classic__toolbar .mce-tinymce-inline,
.block-library-classic__toolbar .mce-tinymce-inline > div,
.block-library-classic__toolbar div.mce-toolbar-grp,
.block-library-classic__toolbar div.mce-toolbar-grp > div,
.block-library-classic__toolbar .mce-menubar,
.block-library-classic__toolbar .mce-menubar > div {
height: auto !important;
width: 100% !important; }
.block-library-classic__toolbar .mce-container-body.mce-abs-layout {
overflow: visible; }
.block-library-classic__toolbar .mce-menubar,
.block-library-classic__toolbar div.mce-toolbar-grp {
position: static; }
.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child) {
display: none; }
.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar {
display: block; }
@media (min-width: 600px) {
.editor-block-list__block[data-type="core/freeform"] .editor-block-switcher__no-switcher-icon {
display: none; }
.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar {
float: right;
margin-right: 23px;
transform: translateY(-13px);
top: 14px; }
.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .editor-block-toolbar {
border: none;
margin-top: 3px; } }
@media (min-width: 600px) and (min-width: 782px) {
.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .editor-block-toolbar {
margin-top: 0; } }
@media (min-width: 600px) {
.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .editor-block-toolbar::before {
content: "";
display: block;
border-left: 1px solid #e2e4e7;
margin-top: 4px;
margin-bottom: 4px; }
.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .components-toolbar {
background: transparent;
border: none; }
.editor-block-list__block[data-type="core/freeform"] .mce-container.mce-toolbar.mce-stack-layout-item {
padding-right: 36px; } }
ul.wp-block-gallery li {
list-style-type: none; }
.blocks-gallery-item figure:not(.is-selected):focus {
outline: none; }
.blocks-gallery-item img:focus,
.blocks-gallery-item .is-selected {
outline: 4px solid #0085ba; }
body.admin-color-sunrise .blocks-gallery-item img:focus, body.admin-color-sunrise .blocks-gallery-item .is-selected {
outline: 4px solid #d1864a; }
body.admin-color-ocean .blocks-gallery-item img:focus, body.admin-color-ocean .blocks-gallery-item .is-selected {
outline: 4px solid #a3b9a2; }
body.admin-color-midnight .blocks-gallery-item img:focus, body.admin-color-midnight .blocks-gallery-item .is-selected {
outline: 4px solid #e14d43; }
body.admin-color-ectoplasm .blocks-gallery-item img:focus, body.admin-color-ectoplasm .blocks-gallery-item .is-selected {
outline: 4px solid #a7b656; }
body.admin-color-coffee .blocks-gallery-item img:focus, body.admin-color-coffee .blocks-gallery-item .is-selected {
outline: 4px solid #c2a68c; }
body.admin-color-blue .blocks-gallery-item img:focus, body.admin-color-blue .blocks-gallery-item .is-selected {
outline: 4px solid #82b4cb; }
body.admin-color-light .blocks-gallery-item img:focus, body.admin-color-light .blocks-gallery-item .is-selected {
outline: 4px solid #0085ba; }
.blocks-gallery-item .is-transient img {
opacity: 0.3; }
.blocks-gallery-item .editor-rich-text {
position: absolute;
bottom: 0;
width: 100%;
max-height: 100%;
overflow-y: auto; }
.blocks-gallery-item .editor-rich-text figcaption:not([data-is-placeholder-visible="true"]) {
position: relative;
overflow: hidden; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
.blocks-gallery-item .is-selected .editor-rich-text {
right: 0;
left: 0;
margin-top: -4px; } }
.blocks-gallery-item .is-selected .editor-rich-text .editor-rich-text__inline-toolbar {
top: 0; }
.blocks-gallery-item .is-selected .editor-rich-text .editor-rich-text__tinymce {
padding-top: 48px; }
.blocks-gallery-item .components-form-file-upload,
.blocks-gallery-item .components-button.block-library-gallery-add-item-button {
width: 100%;
height: 100%; }
.blocks-gallery-item .components-button.block-library-gallery-add-item-button {
display: flex;
flex-direction: column;
justify-content: center;
box-shadow: none;
border: none;
border-radius: 0;
min-height: 100px; }
.blocks-gallery-item .components-button.block-library-gallery-add-item-button .dashicon {
margin-top: 10px; }
.blocks-gallery-item .components-button.block-library-gallery-add-item-button:hover, .blocks-gallery-item .components-button.block-library-gallery-add-item-button:focus {
border: 1px solid #555d66; }
.blocks-gallery-item .editor-rich-text .editor-rich-text__tinymce a {
color: #fff; }
.blocks-gallery-item .editor-rich-text .editor-rich-text__tinymce:focus a[data-mce-selected] {
color: rgba(0, 0, 0, 0.2); }
.block-library-gallery-item__inline-menu {
padding: 2px;
position: absolute;
top: -2px;
right: -2px;
background-color: #0085ba;
display: inline-flex;
z-index: 20; }
body.admin-color-sunrise .block-library-gallery-item__inline-menu {
background-color: #d1864a; }
body.admin-color-ocean .block-library-gallery-item__inline-menu {
background-color: #a3b9a2; }
body.admin-color-midnight .block-library-gallery-item__inline-menu {
background-color: #e14d43; }
body.admin-color-ectoplasm .block-library-gallery-item__inline-menu {
background-color: #a7b656; }
body.admin-color-coffee .block-library-gallery-item__inline-menu {
background-color: #c2a68c; }
body.admin-color-blue .block-library-gallery-item__inline-menu {
background-color: #82b4cb; }
body.admin-color-light .block-library-gallery-item__inline-menu {
background-color: #0085ba; }
.block-library-gallery-item__inline-menu .components-button {
color: #fff; }
.block-library-gallery-item__inline-menu .components-button:hover, .block-library-gallery-item__inline-menu .components-button:focus {
color: #fff; }
.blocks-gallery-item__remove {
padding: 0; }
.blocks-gallery-item__remove.components-button:focus {
color: inherit; }
.blocks-gallery-item .components-spinner {
position: absolute;
top: 50%;
left: 50%;
margin-top: -9px;
margin-left: -9px; }
.is-selected .wp-block-gallery .blocks-gallery-image:nth-last-child(2),
.is-selected .wp-block-gallery .blocks-gallery-item:nth-last-child(2),
.is-typing .wp-block-gallery .blocks-gallery-image:nth-last-child(2),
.is-typing .wp-block-gallery .blocks-gallery-item:nth-last-child(2) {
margin-right: 0; }
.wp-block-heading h1,
.wp-block-heading h2,
.wp-block-heading h3,
.wp-block-heading h4,
.wp-block-heading h5,
.wp-block-heading h6 {
color: inherit;
margin: 0; }
.wp-block-heading h1 {
font-size: 2.44em; }
.wp-block-heading h2 {
font-size: 1.95em; }
.wp-block-heading h3 {
font-size: 1.56em; }
.wp-block-heading h4 {
font-size: 1.25em; }
.wp-block-heading h5 {
font-size: 1em; }
.wp-block-heading h6 {
font-size: 0.8em; }
.wp-block-heading h1.editor-rich-text__tinymce,
.wp-block-heading h2.editor-rich-text__tinymce,
.wp-block-heading h3.editor-rich-text__tinymce {
line-height: 1.4; }
.wp-block-heading h4.editor-rich-text__tinymce {
line-height: 1.5; }
.wp-block-html .editor-plain-text {
font-family: Menlo, Consolas, monaco, monospace;
font-size: 14px;
color: #23282d;
padding: 0.8em 1em;
border: 1px solid #e2e4e7;
border-radius: 4px; }
.wp-block-html .editor-plain-text:focus {
box-shadow: none; }
.wp-block-image {
position: relative; }
.wp-block-image.is-transient img {
opacity: 0.3; }
.wp-block-image figcaption img {
display: inline; }
.wp-block-image .components-spinner {
position: absolute;
top: 50%;
left: 50%;
margin-top: -9px;
margin-left: -9px; }
.wp-block-image .components-resizable-box__container {
display: inline-block; }
.wp-block-image .components-resizable-box__container img {
display: block;
width: 100%; }
.wp-block-image.is-focused .components-resizable-box__handle {
display: block;
z-index: 1; }
.editor-block-list__block[data-type="core/image"][data-align="center"] .wp-block-image {
margin-left: auto;
margin-right: auto; }
.editor-block-list__block[data-type="core/image"][data-align="center"][data-resized="false"] .wp-block-image > div {
margin-left: auto;
margin-right: auto; }
.edit-post-sidebar .block-library-image__dimensions {
margin-bottom: 1em; }
.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row {
display: flex;
justify-content: space-between; }
.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width,
.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height {
margin-bottom: 0.5em; }
.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width input,
.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height input {
line-height: 1.25; }
.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width {
margin-right: 5px; }
.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height {
margin-left: 5px; }
.editor-block-list__block[data-type="core/image"] .editor-block-toolbar .editor-url-input__button-modal {
position: absolute;
left: 0;
right: 0;
margin: -1px 0; }
@media (min-width: 600px) {
.editor-block-list__block[data-type="core/image"] .editor-block-toolbar .editor-url-input__button-modal {
margin: -1px; } }
[data-type="core/image"][data-align="center"] .editor-block-list__block-edit figure,
[data-type="core/image"][data-align="left"] .editor-block-list__block-edit figure,
[data-type="core/image"][data-align="right"] .editor-block-list__block-edit figure {
margin: 0;
display: table; }
[data-type="core/image"][data-align="center"] .editor-block-list__block-edit .editor-rich-text,
[data-type="core/image"][data-align="left"] .editor-block-list__block-edit .editor-rich-text,
[data-type="core/image"][data-align="right"] .editor-block-list__block-edit .editor-rich-text {
display: table-caption;
caption-side: bottom; }
[data-type="core/image"][data-align="wide"] figure img,
[data-type="core/image"][data-align="full"] figure img {
width: 100%; }
[data-type="core/image"] .editor-block-list__block-edit figure.is-resized {
margin: 0;
display: table; }
[data-type="core/image"] .editor-block-list__block-edit figure.is-resized .editor-rich-text {
display: table-caption;
caption-side: bottom; }
.wp-block-latest-comments.has-avatars .avatar {
margin-right: 10px; }
.wp-block-latest-comments__comment-excerpt p {
font-size: 14px;
line-height: 1.8;
margin: 5px 0 20px;
padding-top: 0; }
.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment {
min-height: 36px; }
.block-editor .wp-block-latest-posts {
padding-left: 2.5em; }
.block-editor .wp-block-latest-posts.is-grid {
padding-left: 0; }
.wp-block-media-text {
grid-template-areas: "media-text-media media-text-content" "resizer resizer"; }
.wp-block-media-text.has-media-on-the-right {
grid-template-areas: "media-text-content media-text-media" "resizer resizer"; }
.wp-block-media-text .__resizable_base__ {
grid-area: resizer; }
.wp-block-media-text .editor-media-container__resizer {
grid-area: media-text-media;
align-self: center;
width: 100% !important; }
.wp-block-media-text .editor-inner-blocks {
word-break: break-word;
grid-area: media-text-content;
text-align: initial;
padding: 0 8% 0 8%; }
.wp-block-media-text > .editor-inner-blocks > .editor-block-list__layout > .editor-block-list__block {
max-width: unset; }
figure.block-library-media-text__media-container {
margin: 0;
height: 100%;
width: 100%; }
.wp-block-media-text .block-library-media-text__media-container img,
.wp-block-media-text .block-library-media-text__media-container video {
vertical-align: middle;
width: 100%; }
.editor-media-container__resizer .components-resizable-box__handle {
display: none; }
.wp-block-media-text.is-selected:not(.is-stacked-on-mobile) .editor-media-container__resizer .components-resizable-box__handle {
display: block; }
@media (min-width: 600px) {
.wp-block-media-text.is-selected.is-stacked-on-mobile .editor-media-container__resizer .components-resizable-box__handle {
display: block; } }
.block-library-list .editor-rich-text__tinymce,
.block-library-list .editor-rich-text__tinymce ul,
.block-library-list .editor-rich-text__tinymce ol {
padding-left: 1.3em;
margin-left: 1.3em; }
.editor-block-list__block[data-type="core/more"] {
max-width: 100%;
text-align: center; }
.block-editor .wp-block-more {
display: block;
text-align: center;
white-space: nowrap; }
.block-editor .wp-block-more input[type="text"] {
position: relative;
font-size: 13px;
text-transform: uppercase;
font-weight: 600;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
color: #6c7781;
border: none;
box-shadow: none;
white-space: nowrap;
text-align: center;
margin: 0;
border-radius: 4px;
background: #fff;
padding: 6px 8px;
height: 24px; }
.block-editor .wp-block-more input[type="text"]:focus {
box-shadow: none; }
.block-editor .wp-block-more::before {
content: "";
position: absolute;
top: calc(50%);
left: 0;
right: 0;
border-top: 3px dashed #ccd0d4; }
.editor-visual-editor__block[data-type="core/nextpage"] {
max-width: 100%; }
.wp-block-nextpage {
display: block;
text-align: center;
white-space: nowrap; }
.wp-block-nextpage > span {
font-size: 13px;
position: relative;
display: inline-block;
text-transform: uppercase;
font-weight: 600;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
color: #6c7781;
border-radius: 4px;
background: #fff;
padding: 6px 8px;
height: 24px; }
.wp-block-nextpage::before {
content: "";
position: absolute;
top: calc(50%);
left: 0;
right: 0;
border-top: 3px dashed #ccd0d4; }
.editor-rich-text__tinymce[data-is-placeholder-visible="true"] + .editor-rich-text__tinymce.wp-block-paragraph {
padding-right: 108px; }
.wp-block .wp-block .editor-rich-text__tinymce[data-is-placeholder-visible="true"] + .editor-rich-text__tinymce.wp-block-paragraph {
padding-right: 36px; }
.wp-block-preformatted pre {
white-space: pre-wrap; }
.editor-block-list__block[data-type="core/pullquote"][data-align="left"] .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
.editor-block-list__block[data-type="core/pullquote"][data-align="left"] .editor-rich-text p, .editor-block-list__block[data-type="core/pullquote"][data-align="right"] .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
.editor-block-list__block[data-type="core/pullquote"][data-align="right"] .editor-rich-text p {
font-size: 20px; }
.wp-block-pullquote cite .editor-rich-text__tinymce[data-is-empty="true"]::before {
font-size: 14px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; }
.wp-block-pullquote .editor-rich-text__tinymce[data-is-empty="true"]::before {
width: 100%;
left: 50%;
transform: translateX(-50%); }
.wp-block-pullquote blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
.wp-block-pullquote blockquote > .editor-rich-text p {
font-size: 28px;
line-height: 1.6; }
.wp-block-pullquote.is-style-solid-color {
margin-left: 0;
margin-right: 0; }
.wp-block-pullquote.is-style-solid-color blockquote > .editor-rich-text p {
font-size: 32px; }
.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation {
text-transform: none;
font-style: normal; }
.wp-block-pullquote .wp-block-pullquote__citation {
color: inherit; }
.wp-block-quote {
margin: 0; }
.wp-block-quote__citation {
font-size: 13px; }
.wp-block-shortcode {
display: flex;
flex-direction: row;
padding: 14px;
background-color: #f8f9f9;
font-size: 13px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; }
.wp-block-shortcode label {
display: flex;
align-items: center;
margin-right: 8px;
white-space: nowrap;
font-weight: 600;
flex-shrink: 0; }
.wp-block-shortcode .editor-plain-text {
flex-grow: 1; }
.wp-block-shortcode .dashicon {
margin-right: 8px; }
.block-library-spacer__resize-container.is-selected {
background: #f3f4f5; }
.edit-post-visual-editor p.wp-block-subhead {
color: #6c7781;
font-size: 1.1em;
font-style: italic; }
.editor-block-list__block[data-type="core/table"][data-align="left"] table, .editor-block-list__block[data-type="core/table"][data-align="right"] table, .editor-block-list__block[data-type="core/table"][data-align="center"] table {
width: auto; }
.editor-block-list__block[data-type="core/table"][data-align="center"] {
text-align: initial; }
.editor-block-list__block[data-type="core/table"][data-align="center"] table {
margin: 0 auto; }
.wp-block-table table {
border-collapse: collapse;
width: 100%; }
.wp-block-table td,
.wp-block-table th {
padding: 0;
border: 1px solid currentColor; }
.wp-block-table td.is-selected,
.wp-block-table th.is-selected {
border-color: #00a0d2;
box-shadow: inset 0 0 0 1px #00a0d2;
border-style: double; }
.wp-block-table__cell-content {
padding: 0.5em; }
.wp-block-text-columns .editor-rich-text__tinymce:focus {
outline: 1px solid #e2e4e7; }
pre.wp-block-verse,
.wp-block-verse pre {
color: #191e23;
white-space: nowrap;
font-family: inherit;
font-size: inherit;
padding: 1em;
overflow: auto; }
.editor-block-list__block[data-align="center"] {
text-align: center; }
.editor-video-poster-control .components-button {
margin-right: 8px; }
.editor-video-poster-control .components-button + .components-button {
margin-top: 1em; }