mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-04 01:39:37 +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
78 lines
2.0 KiB
CSS
78 lines
2.0 KiB
CSS
.wp-block-video.wp-block-video.is-selected .components-placeholder{
|
|
background-color:#fff;
|
|
border:none;
|
|
border-radius:2px;
|
|
box-shadow:inset 0 0 0 1px #1e1e1e;
|
|
color:#1e1e1e;
|
|
}
|
|
.wp-block-video.wp-block-video.is-selected .components-placeholder>svg{
|
|
opacity:0;
|
|
}
|
|
.wp-block-video.wp-block-video.is-selected .components-placeholder .components-placeholder__illustration{
|
|
display:none;
|
|
}
|
|
.wp-block-video.wp-block-video.is-selected .components-placeholder:before{
|
|
opacity:0;
|
|
}
|
|
.wp-block-video.wp-block-video .components-button,.wp-block-video.wp-block-video .components-placeholder__instructions,.wp-block-video.wp-block-video .components-placeholder__label{
|
|
transition:none;
|
|
}
|
|
|
|
.wp-block[data-align=center]>.wp-block-video{
|
|
text-align:center;
|
|
}
|
|
|
|
.wp-block-video{
|
|
position:relative;
|
|
}
|
|
.wp-block-video.is-transient video{
|
|
opacity:.3;
|
|
}
|
|
.wp-block-video .components-spinner{
|
|
margin-right:-9px;
|
|
margin-top:-9px;
|
|
position:absolute;
|
|
right:50%;
|
|
top:50%;
|
|
}
|
|
|
|
.editor-video-poster-control .components-base-control__label{
|
|
display:block;
|
|
}
|
|
.editor-video-poster-control .components-button{
|
|
margin-left:8px;
|
|
}
|
|
|
|
.block-library-video-tracks-editor{
|
|
z-index:159990;
|
|
}
|
|
|
|
.block-library-video-tracks-editor__track-list-track{
|
|
padding-right:12px;
|
|
}
|
|
|
|
.block-library-video-tracks-editor__single-track-editor-kind-select{
|
|
max-width:240px;
|
|
}
|
|
|
|
.block-library-video-tracks-editor__single-track-editor-edit-track-label{
|
|
color:#757575;
|
|
display:block;
|
|
font-size:11px;
|
|
font-weight:500;
|
|
margin-top:4px;
|
|
text-transform:uppercase;
|
|
}
|
|
|
|
.block-library-video-tracks-editor>.components-popover__content{
|
|
padding:0;
|
|
width:360px;
|
|
}
|
|
|
|
.block-library-video-tracks-editor__add-tracks-container .components-menu-group__label,.block-library-video-tracks-editor__track-list .components-menu-group__label{
|
|
padding:0;
|
|
}
|
|
|
|
.block-library-video-tracks-editor__add-tracks-container,.block-library-video-tracks-editor__single-track-editor,.block-library-video-tracks-editor__track-list{
|
|
padding:12px;
|
|
} |