mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-04 01:39:37 +01:00
043e2016a3
Props aristath, adamsilverstein, SergeyBiryukov, gziolo. Fixes #56388. Built from https://develop.svn.wordpress.org/trunk@55193 git-svn-id: http://core.svn.wordpress.org/trunk@54726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
83 lines
1.8 KiB
CSS
83 lines
1.8 KiB
CSS
.editor-styles-wrapper .wp-block-cover{
|
|
box-sizing:border-box;
|
|
}
|
|
.wp-block-cover.is-placeholder{
|
|
min-height:auto !important;
|
|
padding:0 !important;
|
|
}
|
|
.wp-block-cover.is-placeholder .block-library-cover__resize-container{
|
|
display:none;
|
|
}
|
|
.wp-block-cover.is-placeholder .components-placeholder.is-large{
|
|
justify-content:flex-start;
|
|
min-height:240px;
|
|
z-index:1;
|
|
}
|
|
.wp-block-cover.is-placeholder .components-placeholder.is-large+.block-library-cover__resize-container{
|
|
display:block;
|
|
min-height:240px;
|
|
}
|
|
.wp-block-cover.components-placeholder h2{
|
|
color:inherit;
|
|
}
|
|
.wp-block-cover.is-transient:before{
|
|
background-color:#fff;
|
|
opacity:.3;
|
|
}
|
|
.wp-block-cover .components-spinner{
|
|
left:50%;
|
|
margin:0;
|
|
position:absolute;
|
|
top:50%;
|
|
transform:translate(-50%, -50%);
|
|
z-index:1;
|
|
}
|
|
.wp-block-cover .wp-block-cover__inner-container{
|
|
margin-left:0;
|
|
margin-right:0;
|
|
text-align:left;
|
|
}
|
|
.wp-block-cover .wp-block-cover__placeholder-background-options{
|
|
width:100%;
|
|
}
|
|
.wp-block-cover .wp-block-cover__image--placeholder-image{
|
|
bottom:0;
|
|
left:0;
|
|
position:absolute;
|
|
right:0;
|
|
top:0;
|
|
}
|
|
|
|
[data-align=left]>.wp-block-cover,[data-align=right]>.wp-block-cover{
|
|
max-width:420px;
|
|
width:100%;
|
|
}
|
|
|
|
.block-library-cover__reset-button{
|
|
margin-left:auto;
|
|
}
|
|
|
|
.block-library-cover__resize-container{
|
|
bottom:0;
|
|
left:0;
|
|
min-height:50px;
|
|
position:absolute !important;
|
|
right:0;
|
|
top:0;
|
|
}
|
|
|
|
.block-library-cover__resize-container:not(.is-resizing){
|
|
height:auto !important;
|
|
}
|
|
|
|
.wp-block-cover>.components-drop-zone .components-drop-zone__content{
|
|
opacity:.8 !important;
|
|
}
|
|
|
|
.block-editor-block-patterns-list__list-item .has-parallax.wp-block-cover{
|
|
background-attachment:scroll;
|
|
}
|
|
|
|
.color-block-support-panel__inner-wrapper>:not(.block-editor-tools-panel-color-gradient-settings__item){
|
|
margin-top:24px;
|
|
} |