PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.6
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.6
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 / vimeo-performance / style.css

style.css in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.6, at blocks/vimeo-performance/style.css

158 lines 3.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* ========================================
2 Vimeo Performance Embed
3 ======================================== */
4
5 .bkbg-vmp-wrap {
6 --bkbg-vmp-radius: 12px;
7 --bkbg-vmp-min-height: 350px;
8 --bkbg-vmp-play-size: 50px;
9 --bkbg-vmp-play-bg: #01adee;
10 --bkbg-vmp-play-color: #ffffff;
11 --bkbg-vmp-play-hover: 1.05;
12
13 width: 100%;
14 }
15
16 .bkbg-vmp-aspect {
17 width: 100%;
18 }
19
20 .bkbg-vmp-inner {
21 position: relative;
22 width: 100%;
23 min-height: var(--bkbg-vmp-min-height);
24 border-radius: var(--bkbg-vmp-radius);
25 overflow: hidden;
26 background: #0b1220;
27 }
28
29 .bkbg-vmp-wrap.has-shadow .bkbg-vmp-inner {
30 box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
31 }
32
33 .bkbg-vmp-media-layer {
34 position: absolute;
35 inset: 0;
36 }
37
38 .bkbg-vmp-poster-img {
39 width: 100%;
40 height: 100%;
41 display: block;
42 object-fit: cover;
43 transform: scale(1.02);
44 }
45
46 .bkbg-vmp-iframe {
47 position: absolute;
48 inset: 0;
49 width: 100%;
50 height: 100%;
51 border: 0;
52 }
53
54 .bkbg-vmp-embed {
55 position: absolute;
56 inset: 0;
57 }
58
59 .bkbg-vmp-wrap.is-playing .bkbg-vmp-media-layer,
60 .bkbg-vmp-wrap.is-playing .bkbg-vmp-play {
61 display: none;
62 }
63
64 .bkbg-vmp-play {
65 position: absolute;
66 left: 50%;
67 top: 50%;
68 transform: translate(-50%, -50%);
69
70 width: var(--bkbg-vmp-play-size);
71 height: var(--bkbg-vmp-play-size);
72 border: 0;
73 background: var(--bkbg-vmp-play-bg);
74 color: var(--bkbg-vmp-play-color);
75 display: inline-flex;
76 align-items: center;
77 justify-content: center;
78 cursor: pointer;
79 box-shadow: 0 12px 28px rgba(0,0,0,0.25);
80 transition: transform 160ms ease, filter 160ms ease;
81 z-index: 3;
82 }
83
84 .bkbg-vmp-wrap.is-play-circle .bkbg-vmp-play {
85 border-radius: 999px;
86 }
87
88 .bkbg-vmp-wrap.is-play-rounded .bkbg-vmp-play {
89 border-radius: 16px;
90 }
91
92 .bkbg-vmp-wrap.is-play-square .bkbg-vmp-play {
93 border-radius: 8px;
94 }
95
96 .bkbg-vmp-wrap.is-play-youtube .bkbg-vmp-play {
97 width: calc(var(--bkbg-vmp-play-size) * 1.65);
98 height: calc(var(--bkbg-vmp-play-size) * 1.08);
99 border-radius: calc(var(--bkbg-vmp-play-size) * 0.28);
100 }
101
102 .bkbg-vmp-play:hover {
103 transform: translate(-50%, -50%) scale(var(--bkbg-vmp-play-hover));
104 filter: brightness(1.03);
105 }
106
107 .bkbg-vmp-play:disabled {
108 opacity: 0.55;
109 cursor: not-allowed;
110 }
111
112 .bkbg-vmp-play-triangle {
113 width: 0;
114 height: 0;
115 border-left: calc(var(--bkbg-vmp-play-size) * 0.28) solid currentColor;
116 border-top: calc(var(--bkbg-vmp-play-size) * 0.17) solid transparent;
117 border-bottom: calc(var(--bkbg-vmp-play-size) * 0.17) solid transparent;
118 margin-left: calc(var(--bkbg-vmp-play-size) * 0.06);
119 }
120
121 .bkbg-vmp-empty {
122 position: absolute;
123 inset: 0;
124 display: flex;
125 align-items: center;
126 justify-content: center;
127 text-align: center;
128 color: rgba(255,255,255,0.88);
129 padding: 18px;
130 }
131
132 /* Inspector helpers */
133 .bkbg-vmp-media {
134 display: grid;
135 gap: 10px;
136 }
137
138 .bkbg-vmp-media-thumb {
139 width: 100%;
140 height: 120px;
141 object-fit: cover;
142 border-radius: 10px;
143 border: 1px solid rgba(0,0,0,0.12);
144 }
145
146 .bkbg-vmp-media-placeholder {
147 width: 100%;
148 height: 120px;
149 border-radius: 10px;
150 border: 1px dashed rgba(0,0,0,0.25);
151 background: rgba(0,0,0,0.03);
152 display: flex;
153 align-items: center;
154 justify-content: center;
155 color: rgba(0,0,0,0.6);
156 font-size: 12px;
157 }
158