mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-09 04:11:10 +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
62 lines
1.6 KiB
CSS
62 lines
1.6 KiB
CSS
.wp-block-site-logo.aligncenter>div,.wp-block[data-align=center]>.wp-block-site-logo{
|
|
display:table;
|
|
margin-left:auto;
|
|
margin-right:auto;
|
|
}
|
|
|
|
.wp-block-site-logo a{
|
|
pointer-events:none;
|
|
}
|
|
.wp-block-site-logo .custom-logo-link{
|
|
cursor:inherit;
|
|
}
|
|
.wp-block-site-logo .custom-logo-link:focus{
|
|
box-shadow:none;
|
|
}
|
|
.wp-block-site-logo .custom-logo-link.is-transient img{
|
|
opacity:.3;
|
|
}
|
|
.wp-block-site-logo img{
|
|
display:block;
|
|
height:auto;
|
|
max-width:100%;
|
|
}
|
|
|
|
.wp-block-site-logo.wp-block-site-logo.is-default-size .components-placeholder{
|
|
height:120px;
|
|
width:120px;
|
|
}
|
|
.wp-block-site-logo.wp-block-site-logo .components-resizable-box__container,.wp-block-site-logo.wp-block-site-logo>div{
|
|
border-radius:inherit;
|
|
}
|
|
.wp-block-site-logo.wp-block-site-logo .components-placeholder{
|
|
align-items:center;
|
|
border-radius:inherit;
|
|
display:flex;
|
|
height:100%;
|
|
justify-content:center;
|
|
min-height:48px;
|
|
min-width:48px;
|
|
padding:0;
|
|
width:100%;
|
|
}
|
|
.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-drop-zone__content-text,.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-form-file-upload{
|
|
display:none;
|
|
}
|
|
.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button{
|
|
align-items:center;
|
|
background:var(--wp-admin-theme-color);
|
|
border-color:var(--wp-admin-theme-color);
|
|
border-radius:50%;
|
|
border-style:solid;
|
|
color:#fff;
|
|
display:flex;
|
|
height:48px;
|
|
justify-content:center;
|
|
padding:0;
|
|
position:relative;
|
|
width:48px;
|
|
}
|
|
.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button>svg{
|
|
color:inherit;
|
|
} |