PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.7
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.7
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / video-facade / style.css

style.css in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/video-facade/style.css

139 lines 5.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .bkbg-vf-wrapper {
2 box-sizing: border-box;
3 }
4 .bkbg-vf-facade {
5 position: relative;
6 width: 100%;
7 cursor: pointer;
8 overflow: hidden;
9 background: #111;
10 display: block;
11 }
12 .bkbg-vf-thumb {
13 position: absolute;
14 inset: 0;
15 width: 100%;
16 height: 100%;
17 object-fit: cover;
18 display: block;
19 transition: transform 0.4s ease;
20 }
21 .bkbg-vf-facade:hover .bkbg-vf-thumb {
22 transform: scale(1.035);
23 }
24 .bkbg-vf-overlay {
25 position: absolute;
26 inset: 0;
27 pointer-events: none;
28 }
29 .bkbg-vf-text {
30 position: absolute;
31 inset: 0;
32 display: flex;
33 flex-direction: column;
34 align-items: center;
35 justify-content: flex-end;
36 padding: 32px 24px;
37 text-align: center;
38 pointer-events: none;
39 }
40 .bkbg-vf-play {
41 position: absolute;
42 inset: 0;
43 display: flex;
44 align-items: center;
45 justify-content: center;
46 pointer-events: none;
47 transition: transform 0.2s ease;
48 }
49 .bkbg-vf-facade:hover .bkbg-vf-play {
50 transform: scale(1.08);
51 }
52 /* Pulsing ring animation */
53 @keyframes bkbg-vf-pulse {
54 0% {
55 box-shadow: 0 0 0 0 rgba(108, 63, 181, 0.45);
56 }
57 70% {
58 box-shadow: 0 0 0 20px rgba(108, 63, 181, 0);
59 }
60 100% {
61 box-shadow: 0 0 0 0 rgba(108, 63, 181, 0);
62 }
63 }
64 .bkbg-vf-play-btn-inner.is-pulsing {
65 animation: bkbg-vf-pulse 2s ease-in-out infinite;
66 }
67 /* Caption */
68 .bkbg-vf-caption {
69 margin-top: 12px;
70 text-align: center;
71 line-height: 1.5;
72 font-family: var(--bkvf-cp-ff, inherit);
73 font-size: var(--bkvf-cp-fsd, 13px);
74 font-weight: var(--bkvf-cp-fw, 400);
75 font-style: var(--bkvf-cp-fst, normal);
76 line-height: var(--bkvf-cp-lhd, 1.5);
77 letter-spacing: var(--bkvf-cp-lsd, normal);
78 word-spacing: var(--bkvf-cp-wsd, normal);
79 text-transform: var(--bkvf-cp-tt, none);
80 text-decoration: var(--bkvf-cp-td, none);
81 }
82
83 /* Title / subtitle overlays */
84 .bkbg-vf-title {
85 font-family: var(--bkvf-tt-ff, inherit);
86 font-size: var(--bkvf-tt-fsd, 28px);
87 font-weight: var(--bkvf-tt-fw, 800);
88 font-style: var(--bkvf-tt-fst, normal);
89 line-height: var(--bkvf-tt-lhd, 1.2);
90 letter-spacing: var(--bkvf-tt-lsd, normal);
91 word-spacing: var(--bkvf-tt-wsd, normal);
92 text-transform: var(--bkvf-tt-tt, none);
93 text-decoration: var(--bkvf-tt-td, none);
94 }
95 .bkbg-vf-subtitle {
96 font-family: var(--bkvf-st-ff, inherit);
97 font-size: var(--bkvf-st-fsd, 16px);
98 font-weight: var(--bkvf-st-fw, 400);
99 font-style: var(--bkvf-st-fst, normal);
100 line-height: var(--bkvf-st-lhd, 1.5);
101 letter-spacing: var(--bkvf-st-lsd, normal);
102 word-spacing: var(--bkvf-st-wsd, normal);
103 text-transform: var(--bkvf-st-tt, none);
104 text-decoration: var(--bkvf-st-td, none);
105 }
106 /* Iframe (inserted by JS on click) */
107 .bkbg-vf-iframe-wrap {
108 position: absolute;
109 inset: 0;
110 }
111 .bkbg-vf-iframe-wrap iframe {
112 width: 100%;
113 height: 100%;
114 border: 0;
115 display: block;
116 }
117 /* Fade in on scroll */
118 .bkbg-vf-wrapper {
119 opacity: 0;
120 transform: translateY(12px);
121 transition: opacity 0.55s ease, transform 0.55s ease;
122 }
123 .bkbg-vf-wrapper.is-visible {
124 opacity: 1;
125 transform: none;
126 }
127
128 /* Responsive typography */
129 @media (max-width: 1024px) {
130 .bkbg-vf-title { font-size: var(--bkvf-tt-fst1, var(--bkvf-tt-fsd, 28px)); line-height: var(--bkvf-tt-lht, var(--bkvf-tt-lhd, 1.2)); letter-spacing: var(--bkvf-tt-lst, var(--bkvf-tt-lsd, normal)); word-spacing: var(--bkvf-tt-wst, var(--bkvf-tt-wsd, normal)); }
131 .bkbg-vf-subtitle { font-size: var(--bkvf-st-fst1, var(--bkvf-st-fsd, 16px)); line-height: var(--bkvf-st-lht, var(--bkvf-st-lhd, 1.5)); letter-spacing: var(--bkvf-st-lst, var(--bkvf-st-lsd, normal)); word-spacing: var(--bkvf-st-wst, var(--bkvf-st-wsd, normal)); }
132 .bkbg-vf-caption { font-size: var(--bkvf-cp-fst1, var(--bkvf-cp-fsd, 13px)); line-height: var(--bkvf-cp-lht, var(--bkvf-cp-lhd, 1.5)); letter-spacing: var(--bkvf-cp-lst, var(--bkvf-cp-lsd, normal)); word-spacing: var(--bkvf-cp-wst, var(--bkvf-cp-wsd, normal)); }
133 }
134 @media (max-width: 767px) {
135 .bkbg-vf-title { font-size: var(--bkvf-tt-fsm, var(--bkvf-tt-fst1, var(--bkvf-tt-fsd, 28px))); line-height: var(--bkvf-tt-lhm, var(--bkvf-tt-lht, var(--bkvf-tt-lhd, 1.2))); letter-spacing: var(--bkvf-tt-lsm, var(--bkvf-tt-lst, var(--bkvf-tt-lsd, normal))); word-spacing: var(--bkvf-tt-wsm, var(--bkvf-tt-wst, var(--bkvf-tt-wsd, normal))); }
136 .bkbg-vf-subtitle { font-size: var(--bkvf-st-fsm, var(--bkvf-st-fst1, var(--bkvf-st-fsd, 16px))); line-height: var(--bkvf-st-lhm, var(--bkvf-st-lht, var(--bkvf-st-lhd, 1.5))); letter-spacing: var(--bkvf-st-lsm, var(--bkvf-st-lst, var(--bkvf-st-lsd, normal))); word-spacing: var(--bkvf-st-wsm, var(--bkvf-st-wst, var(--bkvf-st-wsd, normal))); }
137 .bkbg-vf-caption { font-size: var(--bkvf-cp-fsm, var(--bkvf-cp-fst1, var(--bkvf-cp-fsd, 13px))); line-height: var(--bkvf-cp-lhm, var(--bkvf-cp-lht, var(--bkvf-cp-lhd, 1.5))); letter-spacing: var(--bkvf-cp-lsm, var(--bkvf-cp-lst, var(--bkvf-cp-lsd, normal))); word-spacing: var(--bkvf-cp-wsm, var(--bkvf-cp-wst, var(--bkvf-cp-wsd, normal))); }
138 }
139