Current File : /home/pacjaorg/wpt.pacja.org/2024/wp-content/plugins/youtube-embed-plus/src/block/editor.scss |
/**
* #.# Editor Styles
*
* CSS for just Backend enqueued after style.scss
* which makes it higher in priority.
*/
.components-modal__frame.epytblock__modal {
position: absolute;
top: 25px;
left: 50% !important;
transform: translateX(-50%) !important;
width: 950px;
max-width: 90%;
height: calc(100vh - 50px);
max-height: calc(100vh - 50px);
.components-modal__header {
margin: 0;
}
.components-modal__content {
padding: 0;
> div:not([class]) {
height: 100%;
width: 100%;
display: block;
}
}
iframe {
width: 100%;
height: calc(100% - 60px);
display: block;
}
}
.epytblock {
.components-placeholder__fieldset {
max-width: 100%;
}
}
/*.edit-post-visual-editor
.block-editor-block-list__block[data-type="epyt/youtube"]
> div:first-child {
padding-top: 16px;
padding-bottom: 16px;
}
*/
.wp-block {
&[data-type="epyt/youtube"] {
> div {
&::after {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
opacity: 0;
cursor: pointer;
}
}
&.is-selected > div,
> div.components-placeholder {
&::after {
display: none;
}
}
}
}