summaryrefslogtreecommitdiffstats
path: root/wp-includes/css/dist/block-library/editor-rtl.css
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/css/dist/block-library/editor-rtl.css')
-rw-r--r--wp-includes/css/dist/block-library/editor-rtl.css201
1 files changed, 114 insertions, 87 deletions
diff --git a/wp-includes/css/dist/block-library/editor-rtl.css b/wp-includes/css/dist/block-library/editor-rtl.css
index 6e1d7ba..bd85c5e 100644
--- a/wp-includes/css/dist/block-library/editor-rtl.css
+++ b/wp-includes/css/dist/block-library/editor-rtl.css
@@ -63,44 +63,13 @@ ul.wp-block-archives{
}
.wp-block-button:focus{
box-shadow:0 0 0 1px #fff, 0 0 0 3px var(--wp-admin-theme-color);
- outline:2px solid transparent;
+ outline:2px solid #0000;
outline-offset:-2px;
}
.wp-block-button[data-rich-text-placeholder]:after{
opacity:.8;
}
-.wp-block-button__inline-link{
- color:#757575;
- height:0;
- max-width:290px;
- overflow:hidden;
-}
-.wp-block-button__inline-link-input__suggestions{
- max-width:290px;
-}
-@media (min-width:782px){
- .wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{
- max-width:260px;
- }
-}
-@media (min-width:960px){
- .wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{
- max-width:290px;
- }
-}
-.is-selected .wp-block-button__inline-link{
- height:auto;
- overflow:visible;
-}
-
-.wp-button-label__width .components-button-group{
- display:block;
-}
-.wp-button-label__width .components-base-control__field{
- margin-bottom:12px;
-}
-
div[data-type="core/button"]{
display:table;
}
@@ -311,11 +280,11 @@ html :where(.wp-block-column){
}
.wp-block-comment-author-avatar__placeholder{
- stroke:currentColor;
- stroke-dasharray:3;
border:1px dashed;
height:100%;
width:100%;
+ stroke:currentColor;
+ stroke-dasharray:3;
}
.wp-block[data-align=center]>.wp-block-comments-pagination{
@@ -453,9 +422,13 @@ html :where(.wp-block-column){
.wp-block-embed .components-placeholder__error{
word-break:break-word;
}
-.wp-block-embed .components-placeholder__learn-more{
+
+.wp-block-embed__learn-more{
margin-top:1em;
}
+.wp-block-post-content .wp-block-embed__learn-more a{
+ color:var(--wp-admin-theme-color);
+}
.block-library-embed__interactive-overlay{
bottom:0;
@@ -513,6 +486,56 @@ html :where(.wp-block-column){
margin-right:.75em;
}
+.wp-block-form-input .is-input-hidden{
+ background:repeating-linear-gradient(-45deg, #0000, #0000 5px, currentColor 0, currentColor 6px);
+ border:1px dashed;
+ box-sizing:border-box;
+ font-size:.85em;
+ opacity:.3;
+ padding:.5em;
+}
+.wp-block-form-input .is-input-hidden input[type=text]{
+ background:#0000;
+}
+.wp-block-form-input.is-selected .is-input-hidden{
+ background:none;
+ opacity:1;
+}
+.wp-block-form-input.is-selected .is-input-hidden input[type=text]{
+ background:unset;
+}
+
+.wp-block-form-submission-notification>*{
+ background:repeating-linear-gradient(-45deg, #0000, #0000 5px, currentColor 0, currentColor 6px);
+ border:1px dashed;
+ box-sizing:border-box;
+ opacity:.25;
+}
+.wp-block-form-submission-notification.is-selected>*,.wp-block-form-submission-notification:has(.is-selected)>*{
+ background:none;
+ opacity:1;
+}
+.wp-block-form-submission-notification.is-selected:after,.wp-block-form-submission-notification:has(.is-selected):after{
+ display:none !important;
+}
+.wp-block-form-submission-notification:after{
+ align-items:center;
+ display:flex;
+ font-size:1.1em;
+ height:100%;
+ justify-content:center;
+ position:absolute;
+ right:0;
+ top:0;
+ width:100%;
+}
+.wp-block-form-submission-notification.form-notification-type-success:after{
+ content:attr(data-message-success);
+}
+.wp-block-form-submission-notification.form-notification-type-error:after{
+ content:attr(data-message-error);
+}
+
.wp-block-freeform.block-library-rich-text__tinymce{
height:auto;
}
@@ -591,7 +614,7 @@ html :where(.wp-block-column){
width:96%;
}
.wp-block-freeform.block-library-rich-text__tinymce img::selection{
- background-color:transparent;
+ background-color:initial;
}
.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{
-ms-user-select:element;
@@ -611,14 +634,14 @@ html :where(.wp-block-column){
padding-top:.5em;
}
.wp-block-freeform.block-library-rich-text__tinymce .wpview{
- border:1px solid transparent;
+ border:1px solid #0000;
clear:both;
margin-bottom:16px;
position:relative;
width:99.99%;
}
.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{
- background:transparent;
+ background:#0000;
display:block;
max-width:100%;
}
@@ -637,17 +660,17 @@ html :where(.wp-block-column){
padding:10px;
}
.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{
- word-wrap:break-word;
border:1px solid #ddd;
margin:0;
padding:1em 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;
+ border-color:#0000;
}
.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{
display:block;
@@ -723,7 +746,7 @@ html :where(.wp-block-column){
div[data-type="core/freeform"]:before{
border:1px solid #ddd;
- outline:1px solid transparent;
+ outline:1px solid #0000;
transition:border-color .1s linear,box-shadow .1s linear;
}
@media (prefers-reduced-motion:reduce){
@@ -916,7 +939,7 @@ figure.wp-block-gallery .components-spinner{
box-shadow:0 0 0 1px #fff inset, 0 0 0 3px var(--wp-admin-theme-color) inset;
content:"";
left:0;
- outline:2px solid transparent;
+ outline:2px solid #0000;
pointer-events:none;
position:absolute;
right:0;
@@ -955,7 +978,7 @@ figure.wp-block-gallery .components-spinner{
}
}
.block-library-gallery-item__inline-menu:hover{
- box-shadow:0 .7px 1px rgba(0,0,0,.1),0 1.2px 1.7px -.2px rgba(0,0,0,.1),0 2.3px 3.3px -.5px rgba(0,0,0,.1);
+ box-shadow:0 .7px 1px #0000001a,0 1.2px 1.7px -.2px #0000001a,0 2.3px 3.3px -.5px #0000001a;
}
@media (min-width:600px){
.columns-7 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__inline-menu{
@@ -1114,7 +1137,7 @@ figure.wp-block-gallery .components-spinner{
.block-library-html__edit .block-editor-plain-text:focus{
border-color:var(--wp-admin-theme-color) !important;
box-shadow:0 0 0 1px var(--wp-admin-theme-color) !important;
- outline:2px solid transparent !important;
+ outline:2px solid #0000 !important;
}
.wp-block-image.wp-block-image.is-selected .components-placeholder{
@@ -1131,9 +1154,12 @@ figure.wp-block-gallery .components-spinner{
.wp-block-image.wp-block-image.is-selected .components-placeholder .components-placeholder__illustration{
display:none;
}
-.wp-block-image.wp-block-image.is-selected .components-placeholder:before{
+.wp-block-image.wp-block-image .block-bindings-media-placeholder-message,.wp-block-image.wp-block-image.is-selected .components-placeholder:before{
opacity:0;
}
+.wp-block-image.wp-block-image.is-selected .block-bindings-media-placeholder-message{
+ opacity:1;
+}
.wp-block-image.wp-block-image .components-button,.wp-block-image.wp-block-image .components-placeholder__instructions,.wp-block-image.wp-block-image .components-placeholder__label{
transition:none;
}
@@ -1245,6 +1271,10 @@ figure.wp-block-image:not(.wp-block){
width:36px;
}
+.wp-block-image__toolbar_content_textarea{
+ width:250px;
+}
+
.wp-block-latest-posts{
padding-right:2.5em;
}
@@ -1428,7 +1458,7 @@ figure.wp-block-image:not(.wp-block){
}
.block-library-colors-selector .block-library-colors-selector__state-selection{
border-radius:11px;
- box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);
+ box-shadow:inset 0 0 0 1px #0003;
height:22px;
line-height:20px;
margin-left:auto;
@@ -1469,7 +1499,7 @@ figure.wp-block-image:not(.wp-block){
}
.wp-block-navigation .wp-block .wp-block .block-editor-button-block-appender{
- background-color:transparent;
+ background-color:initial;
color:#1e1e1e;
}
@keyframes loadingpulse{
@@ -1503,7 +1533,7 @@ figure.wp-block-image:not(.wp-block){
.wp-block-navigation-placeholder__preview{
align-items:center;
- background:transparent;
+ background:#0000;
color:currentColor;
display:flex;
font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;
@@ -1593,8 +1623,8 @@ figure.wp-block-image:not(.wp-block){
padding:0 0 0 6px;
}
.wp-block-navigation-placeholder__actions__indicator svg{
- fill:currentColor;
margin-left:4px;
+ fill:currentColor;
}
.wp-block-navigation .components-placeholder.is-medium .components-placeholder__fieldset{
@@ -1745,7 +1775,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
.wp-block-navigation__overlay-menu-preview.open{
background-color:#fff;
box-shadow:inset 0 0 0 1px #e0e0e0;
- outline:1px solid transparent;
+ outline:1px solid #0000;
}
.wp-block-navigation-placeholder__actions hr+hr,.wp-block-navigation__toolbar-menu-selector.components-toolbar-group:empty{
@@ -1785,7 +1815,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
.wp-block-navigation__menu-inspector-controls{
overflow-x:auto;
- scrollbar-color:transparent transparent;
+ scrollbar-color:#0000 #0000;
scrollbar-gutter:stable both-edges;
scrollbar-width:thin;
will-change:transform;
@@ -1795,23 +1825,23 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
width:12px;
}
.wp-block-navigation__menu-inspector-controls::-webkit-scrollbar-track{
- background-color:transparent;
+ background-color:initial;
}
.wp-block-navigation__menu-inspector-controls::-webkit-scrollbar-thumb{
background-clip:padding-box;
- background-color:transparent;
- border:3px solid transparent;
+ background-color:initial;
+ border:3px solid #0000;
border-radius:8px;
}
.wp-block-navigation__menu-inspector-controls:focus-within::-webkit-scrollbar-thumb,.wp-block-navigation__menu-inspector-controls:focus::-webkit-scrollbar-thumb,.wp-block-navigation__menu-inspector-controls:hover::-webkit-scrollbar-thumb{
background-color:#949494;
}
.wp-block-navigation__menu-inspector-controls:focus,.wp-block-navigation__menu-inspector-controls:focus-within,.wp-block-navigation__menu-inspector-controls:hover{
- scrollbar-color:#949494 transparent;
+ scrollbar-color:#949494 #0000;
}
@media (hover:none){
.wp-block-navigation__menu-inspector-controls{
- scrollbar-color:#949494 transparent;
+ scrollbar-color:#949494 #0000;
}
}
@@ -1859,7 +1889,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
}
.wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text span{
--wp-underline-color:var(--wp-admin-theme-color);
- background-image:linear-gradient(-45deg, transparent 20%, var(--wp-underline-color) 30%, var(--wp-underline-color) 36%, transparent 46%), linear-gradient(-135deg, transparent 54%, var(--wp-underline-color) 64%, var(--wp-underline-color) 70%, transparent 80%);
+ background-image:linear-gradient(-45deg, #0000 20%, var(--wp-underline-color) 30%, var(--wp-underline-color) 36%, #0000 46%), linear-gradient(-135deg, #0000 54%, var(--wp-underline-color) 64%, var(--wp-underline-color) 70%, #0000 80%);
background-position:100% 100%;
background-repeat:repeat-x;
background-size:6px 3px;
@@ -1918,7 +1948,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
top:-1px;
}
.wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container:before,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container:before{
- background:transparent;
+ background:#0000;
content:"";
display:block;
height:100%;
@@ -2000,10 +2030,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
width:auto;
}
-.wp-block-page-list .components-notice{
- margin-right:0;
-}
-
.wp-block-page-list__loading-indicator-container{
padding:8px 12px;
}
@@ -2067,6 +2093,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
display:flex;
height:auto;
justify-content:center;
+ text-align:center;
}
.wp-block-search__components-button-group{
margin-top:10px;
@@ -2106,7 +2133,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
.blocks-shortcode__textarea:focus{
border-color:var(--wp-admin-theme-color) !important;
box-shadow:0 0 0 1px var(--wp-admin-theme-color) !important;
- outline:2px solid transparent !important;
+ outline:2px solid #0000 !important;
}
.wp-block-site-logo.aligncenter>div,.wp-block[data-align=center]>.wp-block-site-logo{
@@ -2205,7 +2232,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
.block-library-site-logo__inspector-media-replace-container img{
aspect-ratio:1;
border-radius:50% !important;
- box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);
+ box-shadow:inset 0 0 0 1px #0003;
min-width:20px;
width:20px;
}
@@ -2345,10 +2372,10 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
}
.block-library-spacer__resize-container.has-show-handle,.wp-block-spacer.is-hovered .block-library-spacer__resize-container,.wp-block-spacer.is-selected.custom-sizes-disabled{
- background:rgba(0,0,0,.1);
+ background:#0000001a;
}
.is-dark-theme .block-library-spacer__resize-container.has-show-handle,.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container,.is-dark-theme .wp-block-spacer.is-selected.custom-sizes-disabled{
- background:hsla(0,0%,100%,.15);
+ background:#ffffff26;
}
.block-library-spacer__resize-container{
@@ -2362,12 +2389,10 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
content:none;
}
.block-library-spacer__resize-container.resize-horizontal{
+ height:100% !important;
margin-bottom:0;
}
-.wp-block-table{
- margin:0;
-}
.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{
height:auto;
}
@@ -2400,28 +2425,18 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
align-items:flex-start;
display:flex;
flex-direction:column;
-}
-.blocks-table__placeholder-form.blocks-table__placeholder-form>*{
- margin-bottom:8px;
+ gap:8px;
}
@media (min-width:782px){
.blocks-table__placeholder-form.blocks-table__placeholder-form{
align-items:flex-end;
flex-direction:row;
}
- .blocks-table__placeholder-form.blocks-table__placeholder-form>*{
- margin-bottom:0;
- }
}
.blocks-table__placeholder-input{
- margin-bottom:0;
- margin-left:8px;
width:112px;
}
-.blocks-table__placeholder-input input{
- height:36px;
-}
.block-editor-template-part__selection-modal{
z-index:1000001;
@@ -2555,9 +2570,9 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
}
.block-library-query__pattern-selection-content .block-editor-block-patterns-list{
- grid-gap:8px;
display:grid;
grid-template-columns:1fr 1fr 1fr;
+ grid-gap:8px;
}
.block-library-query__pattern-selection-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item{
margin-bottom:0;
@@ -2702,6 +2717,13 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
min-width:48px;
width:100%;
}
+.wp-block-post-featured-image>a{
+ cursor:default;
+}
+.wp-block-post-featured-image.is-selected .components-placeholder.has-illustration .components-button,.wp-block-post-featured-image.is-selected .components-placeholder.has-illustration .components-placeholder__instructions,.wp-block-post-featured-image.is-selected .components-placeholder.has-illustration .components-placeholder__label{
+ opacity:1;
+ pointer-events:auto;
+}
div[data-type="core/post-featured-image"] img{
display:block;
@@ -2715,6 +2737,11 @@ div[data-type="core/post-featured-image"] img{
.wp-block-post-comments-form .block-editor-warning *{
pointer-events:auto;
}
+
+.wp-block-post-content.wp-block-post-content{
+ -webkit-user-select:none;
+ user-select:none;
+}
.wp-element-button{
cursor:revert;
}
@@ -2755,26 +2782,26 @@ div[data-type="core/post-featured-image"] img{
background:linear-gradient(-135deg, #020381, #2874fc);
}
-.editor-styles-wrapper{
+:where(.editor-styles-wrapper){
--wp--preset--font-size--normal:16px;
--wp--preset--font-size--huge:42px;
}
-.editor-styles-wrapper .has-regular-font-size{
+:where(.editor-styles-wrapper) .has-regular-font-size{
font-size:16px;
}
-.editor-styles-wrapper .has-larger-font-size{
+:where(.editor-styles-wrapper) .has-larger-font-size{
font-size:42px;
}
-.editor-styles-wrapper .has-normal-font-size{
+:where(.editor-styles-wrapper) .has-normal-font-size{
font-size:var(--wp--preset--font-size--normal);
}
-.editor-styles-wrapper .has-huge-font-size{
+:where(.editor-styles-wrapper) .has-huge-font-size{
font-size:var(--wp--preset--font-size--huge);
}
-.editor-styles-wrapper iframe:not([frameborder]){
+:where(.editor-styles-wrapper) iframe:not([frameborder]){
border:0;
} \ No newline at end of file