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 / content-slider / style.css

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

198 lines 7.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* Content Slider — bkcs- */
2 .bkcs-wrap {
3 position: relative;
4 overflow: hidden;
5 border-radius: var(--bkcs-radius, 12px);
6 }
7
8 /* ── Track ── */
9 .bkcs-track {
10 position: relative;
11 height: var(--bkcs-height, 480px);
12 }
13
14 .bkcs-slide {
15 position: absolute;
16 inset: 0;
17 display: none;
18 align-items: center;
19 justify-content: center;
20 background-size: cover;
21 background-position: center;
22 animation: bkcsFadeIn 0.5s ease;
23 }
24 .bkcs-slide.bkcs-active { display: flex; }
25
26 /* Slide transition */
27 .bkcs-transition-slide .bkcs-slide {
28 display: flex;
29 transform: translateX(100%);
30 transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
31 animation: none;
32 }
33 .bkcs-transition-slide .bkcs-slide.bkcs-active { transform: translateX(0); }
34 .bkcs-transition-slide .bkcs-slide.bkcs-leaving { transform: translateX(-100%); }
35
36 @keyframes bkcsFadeIn {
37 from { opacity:0; transform:translateY(8px); }
38 to { opacity:1; transform:translateY(0); }
39 }
40
41 /* Editor single slide */
42 .bkcs-wrap:not([data-autoplay]) .bkcs-slide {
43 position: relative;
44 display: flex;
45 height: var(--bkcs-height, 480px);
46 }
47
48 /* ── Caption ── */
49 .bkcs-caption {
50 display: flex;
51 flex-direction: column;
52 gap: 14px;
53 padding: 40px 60px;
54 width: 100%;
55 max-width: 800px;
56 position: relative;
57 z-index: 2;
58 }
59
60 .bkcs-heading {
61 font-family: var(--bkcs-head-font-family, inherit);
62 font-size: var(--bkcs-head-font-size-d, clamp(24px, 4vw, 52px));
63 font-weight: var(--bkcs-head-font-weight, 800);
64 font-style: var(--bkcs-head-font-style, normal);
65 text-transform: var(--bkcs-head-text-transform, none);
66 text-decoration: var(--bkcs-head-text-decoration, none);
67 line-height: var(--bkcs-head-line-height-d, 1.15);
68 letter-spacing: var(--bkcs-head-letter-spacing-d, normal);
69 word-spacing: var(--bkcs-head-word-spacing-d, normal);
70 margin: 0;
71 color: inherit;
72 text-shadow: 0 2px 8px rgba(0,0,0,0.2);
73 }
74 .bkcs-subtext {
75 font-family: var(--bkcs-sub-font-family, inherit);
76 font-size: var(--bkcs-sub-font-size-d, clamp(14px, 2vw, 18px));
77 font-weight: var(--bkcs-sub-font-weight, 400);
78 font-style: var(--bkcs-sub-font-style, normal);
79 text-transform: var(--bkcs-sub-text-transform, none);
80 text-decoration: var(--bkcs-sub-text-decoration, none);
81 line-height: var(--bkcs-sub-line-height-d, 1.55);
82 letter-spacing: var(--bkcs-sub-letter-spacing-d, normal);
83 word-spacing: var(--bkcs-sub-word-spacing-d, normal);
84 margin: 0;
85 opacity: 0.9;
86 max-width: 560px;
87 }
88 .bkcs-btn {
89 display: inline-block;
90 padding: 13px 30px;
91 background: rgba(255,255,255,0.18);
92 border: 2px solid currentColor;
93 border-radius: 40px;
94 font-family: var(--bkcs-btn-font-family, inherit);
95 font-size: var(--bkcs-btn-font-size-d, 15px);
96 font-weight: var(--bkcs-btn-font-weight, 700);
97 font-style: var(--bkcs-btn-font-style, normal);
98 text-transform: var(--bkcs-btn-text-transform, none);
99 text-decoration: var(--bkcs-btn-text-decoration, none);
100 line-height: var(--bkcs-btn-line-height-d, 1.4);
101 letter-spacing: var(--bkcs-btn-letter-spacing-d, normal);
102 word-spacing: var(--bkcs-btn-word-spacing-d, normal);
103 color: inherit !important;
104 width: fit-content;
105 backdrop-filter: blur(4px);
106 transition: background 0.2s;
107 }
108 .bkcs-btn:hover { background: rgba(255,255,255,0.32); }
109
110 /* ── Arrows ── */
111 .bkcs-arrows {
112 position: absolute;
113 top: 50%; left: 0; right: 0;
114 transform: translateY(-50%);
115 display: flex;
116 justify-content: space-between;
117 padding: 0 16px;
118 z-index: 10;
119 pointer-events: none;
120 }
121 .bkcs-arrow {
122 pointer-events: all;
123 background: rgba(0,0,0,0.25);
124 border: 2px solid rgba(255,255,255,0.4);
125 color: #fff;
126 border-radius: 50%;
127 width: 48px; height: 48px;
128 font-size: 28px;
129 display: flex; align-items: center; justify-content: center;
130 cursor: pointer;
131 transition: background 0.2s;
132 }
133 .bkcs-arrow:hover { background: rgba(0,0,0,0.5); }
134
135 /* ── Dots ── */
136 .bkcs-dots {
137 position: absolute;
138 bottom: 16px; left: 50%;
139 transform: translateX(-50%);
140 display: flex; gap: 8px;
141 z-index: 10;
142 }
143 .bkcs-dot {
144 width: 10px; height: 10px;
145 border-radius: 50%;
146 background: rgba(255,255,255,0.5);
147 border: none; cursor: pointer;
148 transition: background 0.2s, transform 0.2s; padding: 0;
149 }
150 .bkcs-dot-active, .bkcs-dot.bkcs-dot-active {
151 background: #fff; transform: scale(1.3);
152 }
153
154 @media (max-width: 600px) {
155 .bkcs-caption { padding: 24px 20px; }
156 }
157
158 @media (max-width: 1024px) {
159 .bkcs-heading {
160 font-size: var(--bkcs-head-font-size-t, var(--bkcs-head-font-size-d, clamp(24px, 4vw, 52px)));
161 line-height: var(--bkcs-head-line-height-t, var(--bkcs-head-line-height-d, 1.15));
162 letter-spacing: var(--bkcs-head-letter-spacing-t, var(--bkcs-head-letter-spacing-d, normal));
163 word-spacing: var(--bkcs-head-word-spacing-t, var(--bkcs-head-word-spacing-d, normal));
164 }
165 .bkcs-subtext {
166 font-size: var(--bkcs-sub-font-size-t, var(--bkcs-sub-font-size-d, clamp(14px, 2vw, 18px)));
167 line-height: var(--bkcs-sub-line-height-t, var(--bkcs-sub-line-height-d, 1.55));
168 letter-spacing: var(--bkcs-sub-letter-spacing-t, var(--bkcs-sub-letter-spacing-d, normal));
169 word-spacing: var(--bkcs-sub-word-spacing-t, var(--bkcs-sub-word-spacing-d, normal));
170 }
171 .bkcs-btn {
172 font-size: var(--bkcs-btn-font-size-t, var(--bkcs-btn-font-size-d, 15px));
173 line-height: var(--bkcs-btn-line-height-t, var(--bkcs-btn-line-height-d, 1.4));
174 letter-spacing: var(--bkcs-btn-letter-spacing-t, var(--bkcs-btn-letter-spacing-d, normal));
175 word-spacing: var(--bkcs-btn-word-spacing-t, var(--bkcs-btn-word-spacing-d, normal));
176 }
177 }
178 @media (max-width: 767px) {
179 .bkcs-heading {
180 font-size: var(--bkcs-head-font-size-m, var(--bkcs-head-font-size-t, var(--bkcs-head-font-size-d, clamp(24px, 4vw, 52px))));
181 line-height: var(--bkcs-head-line-height-m, var(--bkcs-head-line-height-t, var(--bkcs-head-line-height-d, 1.15)));
182 letter-spacing: var(--bkcs-head-letter-spacing-m, var(--bkcs-head-letter-spacing-t, var(--bkcs-head-letter-spacing-d, normal)));
183 word-spacing: var(--bkcs-head-word-spacing-m, var(--bkcs-head-word-spacing-t, var(--bkcs-head-word-spacing-d, normal)));
184 }
185 .bkcs-subtext {
186 font-size: var(--bkcs-sub-font-size-m, var(--bkcs-sub-font-size-t, var(--bkcs-sub-font-size-d, clamp(14px, 2vw, 18px))));
187 line-height: var(--bkcs-sub-line-height-m, var(--bkcs-sub-line-height-t, var(--bkcs-sub-line-height-d, 1.55)));
188 letter-spacing: var(--bkcs-sub-letter-spacing-m, var(--bkcs-sub-letter-spacing-t, var(--bkcs-sub-letter-spacing-d, normal)));
189 word-spacing: var(--bkcs-sub-word-spacing-m, var(--bkcs-sub-word-spacing-t, var(--bkcs-sub-word-spacing-d, normal)));
190 }
191 .bkcs-btn {
192 font-size: var(--bkcs-btn-font-size-m, var(--bkcs-btn-font-size-t, var(--bkcs-btn-font-size-d, 15px)));
193 line-height: var(--bkcs-btn-line-height-m, var(--bkcs-btn-line-height-t, var(--bkcs-btn-line-height-d, 1.4)));
194 letter-spacing: var(--bkcs-btn-letter-spacing-m, var(--bkcs-btn-letter-spacing-t, var(--bkcs-btn-letter-spacing-d, normal)));
195 word-spacing: var(--bkcs-btn-word-spacing-m, var(--bkcs-btn-word-spacing-t, var(--bkcs-btn-word-spacing-d, normal)));
196 }
197 }
198