mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-16 07:35:39 +01:00
a41c798835
In addition to all the packages being updated to the latest versions, this commit also includes some mandatory changes to avoid editor breakage: - Update React to to 18.2.0. - Add the right stylesheets to support iframed block editors. Props ntsekouras, mamaduka, flixos90, desrosj, peterwilsoncc. See #57471. Built from https://develop.svn.wordpress.org/trunk@55246 git-svn-id: http://core.svn.wordpress.org/trunk@54779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
37 lines
1.9 KiB
CSS
37 lines
1.9 KiB
CSS
.block-editor-template-part__selection-modal{
|
|
z-index:1000001;
|
|
}
|
|
@media (min-width:600px){
|
|
.block-editor-template-part__selection-modal .components-modal__frame{
|
|
height:calc(100% - 120px);
|
|
width:calc(100% - 32px);
|
|
}
|
|
}
|
|
@media (min-width:782px){
|
|
.block-editor-template-part__selection-modal .components-modal__frame{
|
|
width:750px;
|
|
}
|
|
}
|
|
@media (min-width:960px){
|
|
.block-editor-template-part__selection-modal .components-modal__frame{
|
|
height:70%;
|
|
}
|
|
}
|
|
|
|
.block-library-template-part__selection-search{
|
|
background:#fff;
|
|
padding:16px 0;
|
|
position:sticky;
|
|
top:0;
|
|
z-index:2;
|
|
}
|
|
|
|
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.is-highlighted,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.is-selected,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-highlighted,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-selected{
|
|
box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color);
|
|
}
|
|
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.block-editor-block-list__block:not([contenteditable]):focus:after{
|
|
box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color);
|
|
}
|
|
.is-dark-theme .is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after,.is-dark-theme .is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.block-editor-block-list__block:not([contenteditable]):focus:after{
|
|
box-shadow:0 0 0 var(--wp-admin-border-width-focus) #fff;
|
|
} |