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 / sticky-two-col / style.css

style.css in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/sticky-two-col/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 /* === Sticky Two Column Block === */
2
3 .bkbg-s2c-app { display: none; }
4
5 .bkbg-s2c-section {
6 width: 100%;
7 box-sizing: border-box;
8 }
9
10 .bkbg-s2c-shell {
11 display: flex;
12 gap: 48px;
13 align-items: flex-start;
14 }
15
16 /* ---- Scrolling column ---- */
17 .bkbg-s2c-scroll {
18 flex: 1;
19 min-width: 0;
20 }
21
22 /* ---- Sticky column ---- */
23 .bkbg-s2c-sticky {
24 flex-shrink: 0;
25 position: sticky;
26 }
27
28 .bkbg-s2c-sticky-inner {
29 border-radius: 16px;
30 overflow: hidden;
31 width: 100%;
32 }
33
34 /* Sticky panel image area */
35 .bkbg-s2c-panel-img {
36 width: 100%;
37 border-radius: 16px;
38 overflow: hidden;
39 position: relative;
40 }
41
42 .bkbg-s2c-panel-img img {
43 width: 100%;
44 height: 100%;
45 object-fit: cover;
46 display: block;
47 transition: opacity 0.4s ease;
48 }
49
50 .bkbg-s2c-panel-img.fading img { opacity: 0; }
51
52 /* Icon placeholder */
53 .bkbg-s2c-panel-placeholder {
54 display: flex;
55 align-items: center;
56 justify-content: center;
57 font-size: 64px;
58 min-height: 280px;
59 border-radius: 16px;
60 transition: background 0.4s ease;
61 }
62
63 /* ---- Feature items (scrolling) ---- */
64 .bkbg-s2c-item {
65 padding: 28px 0;
66 transition: opacity 0.3s ease, border-color 0.3s ease;
67 opacity: 0.5;
68 }
69
70 .bkbg-s2c-item.active { opacity: 1; }
71
72 .bkbg-s2c-item-inner {
73 display: flex;
74 gap: 16px;
75 align-items: flex-start;
76 }
77
78 .bkbg-s2c-icon {
79 display: flex;
80 align-items: center;
81 justify-content: center;
82 border-radius: 10px;
83 flex-shrink: 0;
84 transition: background 0.3s ease;
85 line-height: 1;
86 }
87 .bkbg-s2c-icon svg { width: 1em; height: 1em; fill: currentColor; }
88 .bkbg-s2c-icon .dashicons { font-size: inherit; width: 1em; height: 1em; line-height: 1; }
89 .bkbg-s2c-icon .bkbg-icon-img { width: 1em; height: 1em; object-fit: contain; }
90
91 .bkbg-s2c-item-text { flex: 1; min-width: 0; }
92
93 .bkbg-s2c-eyebrow {
94 font-family: var(--bks2c-eb-font-family, inherit);
95 font-size: var(--bks2c-eb-font-size-d, 12px);
96 line-height: var(--bks2c-eb-line-height-d, 1.4);
97 letter-spacing: var(--bks2c-eb-letter-spacing-d, 0.1em);
98 word-spacing: var(--bks2c-eb-word-spacing-d, normal);
99 font-weight: var(--bks2c-eb-font-weight, 700);
100 font-style: var(--bks2c-eb-font-style, normal);
101 text-decoration: var(--bks2c-eb-text-decoration, none);
102 text-transform: var(--bks2c-eb-text-transform, uppercase);
103 margin-bottom: 6px;
104 }
105
106 .bkbg-s2c-item-text h3.bkbg-s2c-title {
107 font-family: var(--bks2c-tt-font-family, inherit);
108 font-size: var(--bks2c-tt-font-size-d, clamp(18px, 2vw, 24px));
109 line-height: var(--bks2c-tt-line-height-d, var(--bks2c-title-lh, 1.2));
110 letter-spacing: var(--bks2c-tt-letter-spacing-d, normal);
111 word-spacing: var(--bks2c-tt-word-spacing-d, normal);
112 font-weight: var(--bks2c-tt-font-weight, var(--bks2c-title-fw, 800));
113 font-style: var(--bks2c-tt-font-style, normal);
114 text-decoration: var(--bks2c-tt-text-decoration, none);
115 text-transform: var(--bks2c-tt-text-transform, none);
116 margin: 0 0 10px;
117 }
118
119 .bkbg-s2c-text {
120 font-family: var(--bks2c-bd-font-family, inherit);
121 font-size: var(--bks2c-bd-font-size-d, 15px);
122 line-height: var(--bks2c-bd-line-height-d, var(--bks2c-body-lh, 1.75));
123 letter-spacing: var(--bks2c-bd-letter-spacing-d, normal);
124 word-spacing: var(--bks2c-bd-word-spacing-d, normal);
125 font-weight: var(--bks2c-bd-font-weight, inherit);
126 font-style: var(--bks2c-bd-font-style, normal);
127 text-decoration: var(--bks2c-bd-text-decoration, none);
128 text-transform: var(--bks2c-bd-text-transform, none);
129 margin: 0;
130 }
131
132 /* Progress bar */
133 .bkbg-s2c-progress {
134 height: 3px;
135 background: rgba(0,0,0,0.08);
136 border-radius: 2px;
137 margin-top: 12px;
138 overflow: hidden;
139 }
140
141 .bkbg-s2c-progress-fill {
142 height: 100%;
143 border-radius: 2px;
144 width: 0;
145 transition: width 0.5s ease;
146 }
147
148 /* Divider (applied via border on scroll col) */
149
150 /* Responsive – typography */
151 @media (max-width: 1024px) {
152 .bkbg-s2c-eyebrow {
153 font-size: var(--bks2c-eb-font-size-t, var(--bks2c-eb-font-size-d, 12px));
154 line-height: var(--bks2c-eb-line-height-t, var(--bks2c-eb-line-height-d, 1.4));
155 letter-spacing: var(--bks2c-eb-letter-spacing-t, var(--bks2c-eb-letter-spacing-d, 0.1em));
156 word-spacing: var(--bks2c-eb-word-spacing-t, var(--bks2c-eb-word-spacing-d, normal));
157 }
158 .bkbg-s2c-item-text h3.bkbg-s2c-title {
159 font-size: var(--bks2c-tt-font-size-t, var(--bks2c-tt-font-size-d, clamp(18px, 2vw, 24px)));
160 line-height: var(--bks2c-tt-line-height-t, var(--bks2c-tt-line-height-d, var(--bks2c-title-lh, 1.2)));
161 letter-spacing: var(--bks2c-tt-letter-spacing-t, var(--bks2c-tt-letter-spacing-d, normal));
162 word-spacing: var(--bks2c-tt-word-spacing-t, var(--bks2c-tt-word-spacing-d, normal));
163 }
164 .bkbg-s2c-text {
165 font-size: var(--bks2c-bd-font-size-t, var(--bks2c-bd-font-size-d, 15px));
166 line-height: var(--bks2c-bd-line-height-t, var(--bks2c-bd-line-height-d, var(--bks2c-body-lh, 1.75)));
167 letter-spacing: var(--bks2c-bd-letter-spacing-t, var(--bks2c-bd-letter-spacing-d, normal));
168 word-spacing: var(--bks2c-bd-word-spacing-t, var(--bks2c-bd-word-spacing-d, normal));
169 }
170 }
171 @media (max-width: 767px) {
172 .bkbg-s2c-eyebrow {
173 font-size: var(--bks2c-eb-font-size-m, var(--bks2c-eb-font-size-t, var(--bks2c-eb-font-size-d, 12px)));
174 line-height: var(--bks2c-eb-line-height-m, var(--bks2c-eb-line-height-t, var(--bks2c-eb-line-height-d, 1.4)));
175 letter-spacing: var(--bks2c-eb-letter-spacing-m, var(--bks2c-eb-letter-spacing-t, var(--bks2c-eb-letter-spacing-d, 0.1em)));
176 word-spacing: var(--bks2c-eb-word-spacing-m, var(--bks2c-eb-word-spacing-t, var(--bks2c-eb-word-spacing-d, normal)));
177 }
178 .bkbg-s2c-item-text h3.bkbg-s2c-title {
179 font-size: var(--bks2c-tt-font-size-m, var(--bks2c-tt-font-size-t, var(--bks2c-tt-font-size-d, clamp(18px, 2vw, 24px))));
180 line-height: var(--bks2c-tt-line-height-m, var(--bks2c-tt-line-height-t, var(--bks2c-tt-line-height-d, var(--bks2c-title-lh, 1.2))));
181 letter-spacing: var(--bks2c-tt-letter-spacing-m, var(--bks2c-tt-letter-spacing-t, var(--bks2c-tt-letter-spacing-d, normal)));
182 word-spacing: var(--bks2c-tt-word-spacing-m, var(--bks2c-tt-word-spacing-t, var(--bks2c-tt-word-spacing-d, normal)));
183 }
184 .bkbg-s2c-text {
185 font-size: var(--bks2c-bd-font-size-m, var(--bks2c-bd-font-size-t, var(--bks2c-bd-font-size-d, 15px)));
186 line-height: var(--bks2c-bd-line-height-m, var(--bks2c-bd-line-height-t, var(--bks2c-bd-line-height-d, var(--bks2c-body-lh, 1.75))));
187 letter-spacing: var(--bks2c-bd-letter-spacing-m, var(--bks2c-bd-letter-spacing-t, var(--bks2c-bd-letter-spacing-d, normal)));
188 word-spacing: var(--bks2c-bd-word-spacing-m, var(--bks2c-bd-word-spacing-t, var(--bks2c-bd-word-spacing-d, normal)));
189 }
190 }
191
192 /* Responsive */
193 @media (max-width: 900px) {
194 .bkbg-s2c-shell { flex-direction: column !important; gap: 32px; }
195 .bkbg-s2c-sticky { position: static !important; width: 100% !important; }
196 .bkbg-s2c-item { opacity: 1 !important; }
197 }
198