PluginProbe
Embed Plus for YouTube Gallery, Livestream and Lazy Loading with Facades / trunk
Embed Plus for YouTube Gallery, Livestream and Lazy Loading with Facades vtrunk
trunk 1.0 1.1 10.0 10.1 10.2 10.3 10.4 10.5 10.6 10.7 10.8 10.9 11.0 11.0.1 11.1 11.2 11.3 11.3.1 11.4 11.5 11.6 11.7 11.7.1 11.8 All 143 releases
youtube-embed-plus / src / block / editor.scss

editor.scss in Embed Plus for YouTube Gallery, Livestream and Lazy Loading with Facades trunk, at src/block/editor.scss

84 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * #.# Editor Styles
3 *
4 * CSS for just Backend enqueued after style.scss
5 * which makes it higher in priority.
6 */
7
8 .epytblock__modal {
9 .components-modal__children-container {
10 height: 100%;
11 }
12 }
13
14 .components-modal__frame.epytblock__modal {
15 position: absolute;
16 top: 25px;
17 left: 50% !important;
18 transform: translateX(-50%) !important;
19 width: 950px;
20 max-width: 90%;
21 height: calc(100vh - 50px);
22 max-height: calc(100vh - 50px);
23
24 .components-modal__header {
25 margin: 0;
26 }
27
28 .components-modal__content {
29 padding: 0;
30
31 >div:not([class]) {
32 height: 100%;
33 width: 100%;
34 display: block;
35 }
36 }
37
38 .components-modal__children-container {
39 height: 100%;
40 }
41
42 iframe {
43 width: 100%;
44 height: calc(100% - 60px);
45 display: block;
46 }
47 }
48
49 .epytblock {
50 .components-placeholder__fieldset {
51 max-width: 100%;
52 }
53 }
54
55 /*.edit-post-visual-editor
56 .block-editor-block-list__block[data-type="epyt/youtube"]
57 > div:first-child {
58 padding-top: 16px;
59 padding-bottom: 16px;
60 }
61 */
62 .wp-block {
63 &[data-type="epyt/youtube"]="epyt/youtube""] {
64 >div {
65 &::after {
66 content: "";
67 position: absolute;
68 top: 0;
69 left: 0;
70 right: 0;
71 bottom: 0;
72 opacity: 0;
73 cursor: pointer;
74 }
75 }
76
77 &.is-selected>div,
78 >div.components-placeholder {
79 &::after {
80 display: none;
81 }
82 }
83 }
84 }