WordPress/wp-includes/css/dist/block-library/editor-rtl.css
aduth 0feb55f633 Editor: Update packages to apply bugfixes from Gutenberg 5.5.
- @wordpress/block-editor@2.0.1
- @wordpress/block-library@2.4.4
- @wordpress/blocks@6.2.4
- @wordpress/components@7.3.1
- @wordpress/dom@2.2.4
- @wordpress/e2e-tests@1.1.4
- @wordpress/edit-post@3.3.4
- @wordpress/editor@9.2.4
- @wordpress/format-library@1.4.4
- @wordpress/list-reusable-blocks@1.3.4
- @wordpress/nux@3.2.4

Props iseulde, kjellr, aduth, get_dave, talldanwp, jorgefilipecosta, afercia, nosolosw, jasmussen, netweb .

See https://github.com/WordPress/gutenberg/pull/14987 .
See https://github.com/WordPress/gutenberg/pull/15020 .
Fixes #46951 .

Built from https://develop.svn.wordpress.org/trunk@45255


git-svn-id: http://core.svn.wordpress.org/trunk@45064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-22 12:40:04 +00:00

1155 lines
40 KiB
CSS

/**
* 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
*/
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
.block-editor ul.wp-block-archives {
padding-right: 2.5em; }
.wp-block-audio {
margin: 0; }
.block-editor-block-list__block[data-type="core/button"][data-align="center"] {
text-align: center; }
.block-editor-block-list__block[data-type="core/button"][data-align="right"] {
text-align: right; }
.wp-block-button {
display: inline-block;
margin-bottom: 0;
position: relative; }
.wp-block-button [contenteditable] {
cursor: text; }
.wp-block-button:not(.has-text-color):not(.is-style-outline) .block-editor-rich-text__editable[data-is-placeholder-visible="true"] + .block-editor-rich-text__editable {
color: #fff; }
.wp-block-button .block-editor-rich-text__editable[data-is-placeholder-visible="true"] + .block-editor-rich-text__editable {
opacity: 0.8; }
.block-editor-block-preview__content .wp-block-button {
max-width: 100%; }
.block-editor-block-preview__content .wp-block-button .block-editor-rich-text__editable[data-is-placeholder-visible="true"] {
height: auto; }
.block-editor-block-preview__content .wp-block-button .wp-block-button__link {
max-width: 100%;
overflow: hidden;
white-space: nowrap !important;
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 .block-editor-url-input {
width: auto; }
.block-library-button__inline-link .block-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 .block-editor-url-input input[type="text"]:-ms-input-placeholder {
color: #8f98a1; }
.block-library-button__inline-link .block-editor-url-input input[type="text"]::-ms-input-placeholder {
color: #8f98a1; }
.block-library-button__inline-link .block-editor-url-input input[type="text"]::placeholder {
color: #8f98a1; }
[data-align="center"] .block-library-button__inline-link {
margin-right: auto;
margin-left: auto; }
[data-align="right"] .block-library-button__inline-link {
margin-right: auto;
margin-left: 0; }
.block-editor .wp-block-categories ul {
padding-right: 2.5em; }
.block-editor .wp-block-categories ul ul {
margin-top: 6px; }
.wp-block-code .block-editor-plain-text {
font-family: Menlo, Consolas, monaco, monospace;
color: #23282d;
/* Fonts smaller than 16px causes mobile safari to zoom. */
font-size: 16px; }
@media (min-width: 600px) {
.wp-block-code .block-editor-plain-text {
font-size: 13px; } }
.wp-block-code .block-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 .block-editor-block-list__layout {
margin-right: 0;
margin-left: 0; }
.wp-block-columns .block-editor-block-list__layout .block-editor-block-list__block {
max-width: none; }
.block-editor-block-list__block[data-align="full"] .wp-block-columns > .block-editor-inner-blocks {
padding-right: 14px;
padding-left: 14px; }
@media (min-width: 600px) {
.block-editor-block-list__block[data-align="full"] .wp-block-columns > .block-editor-inner-blocks {
padding-right: 60px;
padding-left: 60px; } }
.wp-block-columns {
display: block; }
.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout {
display: flex;
flex-wrap: wrap; }
@media (min-width: 782px) {
.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout {
flex-wrap: nowrap; } }
.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] {
display: flex;
flex-direction: column;
flex: 1;
padding-right: 0;
padding-left: 0;
margin-right: -14px;
margin-left: -14px;
min-width: 0;
word-break: break-word;
overflow-wrap: break-word;
flex-basis: 100%; }
.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit > div > .block-editor-inner-blocks {
margin-top: -28px;
margin-bottom: -28px; }
.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit {
margin-top: 0;
margin-bottom: 0; }
.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit::before {
right: 0;
left: 0; }
.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar {
margin-right: -1px; }
@media (min-width: 600px) {
.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] {
margin-right: 14px;
margin-left: 14px; } }
@media (min-width: 600px) {
.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] {
flex-basis: calc(50% - (16px + 28px));
flex-grow: 0; } }
@media (min-width: 600px) {
.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"]:nth-child(even) {
margin-right: calc(32px + 14px); } }
@media (min-width: 782px) {
.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"]:not(:first-child) {
margin-right: calc(32px + 14px); } }
.wp-block-columns [data-type="core/column"].is-hovered > .block-editor-block-list__block-edit::before {
content: none; }
.wp-block-columns [data-type="core/column"].is-hovered .block-editor-block-list__breadcrumb {
display: none; }
.wp-block-columns [data-type="core/column"] {
pointer-events: none; }
.wp-block-columns [data-type="core/column"] .block-editor-block-list__layout {
pointer-events: all; }
.wp-block-cover-image.components-placeholder h2,
.wp-block-cover.components-placeholder h2 {
color: inherit; }
.wp-block-cover-image.has-right-content .block-editor-rich-text__inline-toolbar,
.wp-block-cover-image.has-left-content .block-editor-rich-text__inline-toolbar,
.wp-block-cover.has-right-content .block-editor-rich-text__inline-toolbar,
.wp-block-cover.has-left-content .block-editor-rich-text__inline-toolbar {
display: inline-block; }
.wp-block-cover-image .block-editor-block-list__layout,
.wp-block-cover .block-editor-block-list__layout {
width: 100%; }
.wp-block-cover-image .block-editor-block-list__block,
.wp-block-cover .block-editor-block-list__block {
color: #f8f9f9; }
.wp-block-cover-image .wp-block-cover__inner-container,
.wp-block-cover .wp-block-cover__inner-container {
text-align: right; }
.wp-block-cover-image .wp-block-cover__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout,
.wp-block-cover .wp-block-cover__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout {
margin-right: 0;
margin-left: 0; }
.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.components-placeholder {
min-width: 0; } }
.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; }
.block-library-embed__interactive-overlay {
position: absolute;
top: 0;
right: 0;
left: 0;
bottom: 0;
opacity: 0; }
.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-right: 0.75em; }
.wp-block-file .wp-block-file__copy-url-button {
margin-right: 1em; }
.wp-block-freeform.block-library-rich-text__tinymce {
/* Remove blue highlighting of selected images in WebKit */
/* Image captions */
/* WP Views */ }
.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-right: 2.5em;
margin-right: 0; }
.wp-block-freeform.block-library-rich-text__tinymce blockquote {
margin: 0;
box-shadow: inset 0 0 0 0 #e2e4e7;
border-right: 4px solid #000;
padding-right: 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 {
float: right;
margin: 0.5em 0 0.5em 1em; }
.wp-block-freeform.block-library-rich-text__tinymce .alignleft {
float: left;
margin: 0.5em 1em 0.5em 0; }
.wp-block-freeform.block-library-rich-text__tinymce .aligncenter {
display: block;
margin-right: auto;
margin-left: auto; }
.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag {
width: 96%;
height: 20px;
display: block;
margin: 15px auto;
outline: 0;
cursor: default;
background-image: url(/wp-includes/js/tinymce/skins/wordpress/images/more-2x.png);
background-size: 1900px 20px;
background-repeat: no-repeat;
background-position: center; }
.wp-block-freeform.block-library-rich-text__tinymce img::selection {
background-color: transparent; }
.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp {
-ms-user-select: element; }
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption {
margin: 0;
/* dl browser reset */
max-width: 100%; }
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img {
display: block; }
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption * {
-webkit-user-drag: none; }
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd {
padding-top: 0.5em;
margin: 0;
/* browser dd reset */ }
.wp-block-freeform.block-library-rich-text__tinymce .wpview {
width: 99.99%;
/* All IE need hasLayout, incl. 11 (ugh, not again!!) */
position: relative;
clear: both;
margin-bottom: 16px;
border: 1px solid transparent; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe {
display: block;
max-width: 100%;
background: transparent; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim {
display: none; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder {
border: 1px dashed #e8eaeb;
padding: 10px; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error {
border: 1px solid #e8eaeb;
padding: 1em 0;
margin: 0;
word-wrap: break-word; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p {
margin: 0;
text-align: center; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,
.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error {
border-color: transparent; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons {
display: block;
margin: 0 auto;
width: 32px;
height: 32px;
font-size: 32px; }
.wp-block-freeform.block-library-rich-text__tinymce .wpview.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: right;
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; }
div[data-type="core/freeform"] .block-editor-block-list__block-edit::before {
transition: border-color 0.1s linear, box-shadow 0.1s linear;
border: 1px solid #e2e4e7;
outline: 1px solid transparent; }
div[data-type="core/freeform"].is-selected .block-editor-block-list__block-edit::before {
border-color: #b5bcc2;
border-right-color: transparent; }
div[data-type="core/freeform"].is-hovered .block-editor-block-list__breadcrumb {
display: none; }
div[data-type="core/freeform"] .editor-block-contextual-toolbar + div {
margin-top: 0;
padding-top: 0; }
div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce::after {
content: "";
display: table;
clear: both; }
.mce-toolbar-grp .mce-btn.mce-active button,
.mce-toolbar-grp .mce-btn.mce-active:hover button,
.mce-toolbar-grp .mce-btn.mce-active i,
.mce-toolbar-grp .mce-btn.mce-active:hover i {
color: #23282d; }
.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last {
margin-left: 0;
margin-right: 8px; }
.mce-toolbar-grp .mce-btn i {
font-style: normal; }
.block-library-classic__toolbar {
width: auto;
margin: 0 -14px;
position: -webkit-sticky;
position: sticky;
z-index: 10;
top: 14px;
transform: translateY(-14px);
border: 1px solid #e2e4e7;
border-bottom: none;
padding: 0 14px; }
.is-selected .block-library-classic__toolbar {
border-color: #b5bcc2;
border-right-color: transparent; }
@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 > div {
padding: 1px 3px; }
.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) {
.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-switcher__no-switcher-icon {
display: none; }
.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar {
float: left;
margin-left: 25px;
transform: translateY(-13px);
top: 14px; }
.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar {
border: none;
box-shadow: none;
margin-top: 3px; } }
@media (min-width: 600px) and (min-width: 782px) {
.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar {
margin-top: 0; } }
@media (min-width: 600px) {
.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar::before {
content: "";
display: block;
border-right: 1px solid #e2e4e7;
margin-top: 4px;
margin-bottom: 4px; }
.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar__control.components-button:hover {
background-color: transparent; }
.block-editor-block-list__block[data-type="core/freeform"] .block-editor-block-contextual-toolbar .components-toolbar {
background: transparent;
border: none; }
.block-editor-block-list__block[data-type="core/freeform"] .mce-container.mce-toolbar.mce-stack-layout-item {
padding-left: 36px; } }
ul.wp-block-gallery li {
list-style-type: none; }
.blocks-gallery-item figure:not(.is-selected):focus {
outline: none; }
.blocks-gallery-item .is-selected {
outline: 4px solid #0085ba; }
body.admin-color-sunrise .blocks-gallery-item .is-selected {
outline: 4px solid #d1864a; }
body.admin-color-ocean .blocks-gallery-item .is-selected {
outline: 4px solid #a3b9a2; }
body.admin-color-midnight .blocks-gallery-item .is-selected {
outline: 4px solid #e14d43; }
body.admin-color-ectoplasm .blocks-gallery-item .is-selected {
outline: 4px solid #a7b656; }
body.admin-color-coffee .blocks-gallery-item .is-selected {
outline: 4px solid #c2a68c; }
body.admin-color-blue .blocks-gallery-item .is-selected {
outline: 4px solid #82b4cb; }
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 .block-editor-rich-text {
position: absolute;
bottom: 0;
width: 100%;
max-height: 100%;
overflow-y: auto; }
.blocks-gallery-item .block-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 .block-editor-rich-text {
left: 0;
right: 0;
margin-top: -4px; } }
.blocks-gallery-item .is-selected .block-editor-rich-text .block-editor-rich-text__inline-toolbar {
top: 0; }
.blocks-gallery-item .is-selected .block-editor-rich-text figcaption {
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 .block-editor-rich-text figcaption a {
color: #fff; }
.block-library-gallery-item__inline-menu {
padding: 2px;
position: absolute;
top: -2px;
left: -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%;
right: 50%;
margin-top: -9px;
margin-right: -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-left: 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,
.wp-block-heading h2,
.wp-block-heading h3 {
line-height: 1.4; }
.wp-block-heading h4 {
line-height: 1.5; }
.wp-block-html .block-editor-plain-text {
font-family: Menlo, Consolas, monaco, monospace;
color: #23282d;
padding: 0.8em 1em;
border: 1px solid #e2e4e7;
border-radius: 4px;
/* Fonts smaller than 16px causes mobile safari to zoom. */
font-size: 16px; }
@media (min-width: 600px) {
.wp-block-html .block-editor-plain-text {
font-size: 13px; } }
.wp-block-html .block-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%;
right: 50%;
margin-top: -9px;
margin-right: -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; }
.block-editor-block-list__block[data-type="core/image"][data-align="center"] .wp-block-image {
margin-right: auto;
margin-left: auto; }
.block-editor-block-list__block[data-type="core/image"][data-align="center"][data-resized="false"] .wp-block-image > div {
margin-right: auto;
margin-left: 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-left: 5px; }
.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height {
margin-right: 5px; }
.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal {
position: absolute;
right: 0;
left: 0;
margin: -1px 0; }
@media (min-width: 600px) {
.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal {
margin: -1px; } }
[data-type="core/image"][data-align="center"] .block-editor-block-list__block-edit figure,
[data-type="core/image"][data-align="left"] .block-editor-block-list__block-edit figure,
[data-type="core/image"][data-align="right"] .block-editor-block-list__block-edit figure {
margin: 0;
display: table; }
[data-type="core/image"][data-align="center"] .block-editor-block-list__block-edit .block-editor-rich-text,
[data-type="core/image"][data-align="left"] .block-editor-block-list__block-edit .block-editor-rich-text,
[data-type="core/image"][data-align="right"] .block-editor-block-list__block-edit .block-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"] .block-editor-block-list__block-edit figure.is-resized {
margin: 0;
display: table; }
[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized .block-editor-rich-text {
display: table-caption;
caption-side: bottom; }
.wp-block-latest-comments.has-avatars .avatar {
margin-left: 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-right: 2.5em; }
.block-editor .wp-block-latest-posts.is-grid {
padding-right: 0; }
.wp-block-latest-posts li a > div {
display: inline; }
.wp-block-legacy-widget__edit-container,
.wp-block-legacy-widget__preview {
padding-right: 2.5em;
padding-left: 2.5em; }
.wp-block-legacy-widget__edit-container .widget-inside {
border: none;
display: block; }
.wp-block-legacy-widget__update-button {
margin-right: auto;
display: block; }
.wp-block-legacy-widget__edit-container .widget-inside {
box-shadow: none; }
.wp-block-legacy-widget__preview {
overflow: auto; }
.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 .block-editor-inner-blocks {
word-break: break-word;
grid-area: media-text-content;
text-align: initial;
padding: 0 8% 0 8%; }
.wp-block-media-text > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-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; } }
.editor-styles-wrapper .block-library-list ul,
.editor-styles-wrapper .block-library-list ol {
padding-right: 1.3em;
margin-right: 1.3em; }
.block-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%);
right: 0;
left: 0;
border-top: 3px dashed #ccd0d4; }
.block-editor-block-list__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%);
right: 0;
left: 0;
border-top: 3px dashed #ccd0d4; }
.block-editor-rich-text__editable[data-is-placeholder-visible="true"] + .block-editor-rich-text__editable.wp-block-paragraph {
padding-left: 108px; }
.wp-block .wp-block .block-editor-rich-text__editable[data-is-placeholder-visible="true"] + .block-editor-rich-text__editable.wp-block-paragraph {
padding-left: 36px; }
.wp-block-preformatted pre {
white-space: pre-wrap; }
.block-editor-block-list__block[data-type="core/pullquote"][data-align="left"] .block-editor-rich-text p, .block-editor-block-list__block[data-type="core/pullquote"][data-align="right"] .block-editor-rich-text p {
font-size: 20px; }
.wp-block-pullquote blockquote > .block-editor-rich-text p {
font-size: 28px;
line-height: 1.6; }
.wp-block-pullquote.is-style-solid-color {
margin-right: 0;
margin-left: 0; }
.wp-block-pullquote.is-style-solid-color blockquote > .block-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; }
.block-editor .wp-block-rss {
padding-right: 2.5em; }
.block-editor .wp-block-rss.is-grid {
padding-right: 0; }
.wp-block-search .wp-block-search__input {
border-radius: 4px;
border: 1px solid #8d96a0;
color: rgba(14, 28, 46, 0.62);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 13px; }
.wp-block-search .wp-block-search__input:focus {
outline: none; }
.wp-block-search .wp-block-search__button {
background: #f7f7f7;
border-radius: 4px;
border: 1px solid #ccc;
box-shadow: inset 0 -1px 0 #ccc;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 13px; }
.wp-block-search .wp-block-search__button .wp-block-search__button-rich-text {
padding: 6px 10px; }
.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-left: 8px;
white-space: nowrap;
font-weight: 600;
flex-shrink: 0; }
.wp-block-shortcode .block-editor-plain-text {
flex-grow: 1; }
.wp-block-shortcode .dashicon {
margin-left: 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; }
.block-editor-block-list__block[data-type="core/table"][data-align="left"] table, .block-editor-block-list__block[data-type="core/table"][data-align="right"] table, .block-editor-block-list__block[data-type="core/table"][data-align="center"] table {
width: auto; }
.block-editor-block-list__block[data-type="core/table"][data-align="center"] {
text-align: initial; }
.block-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 #000; }
.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; }
.block-editor .wp-block-tag-cloud a {
display: inline-block;
margin-left: 5px; }
.block-editor .wp-block-tag-cloud span {
display: inline-block;
margin-right: 5px;
color: #8f98a1;
text-decoration: none; }
.wp-block-text-columns .block-editor-rich-text__editable: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; }
.block-editor-block-list__block[data-align="center"] {
text-align: center; }
.editor-video-poster-control .components-button {
margin-left: 8px; }
.editor-video-poster-control .components-button + .components-button {
margin-top: 1em; }