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 / contact-section / style.css

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

209 lines 8.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* Contact Section — Style */
2 .bkbg-cs-wrapper {
3 box-sizing: border-box;
4 }
5
6 .bkbg-cs-inner {
7 display: flex;
8 gap: 48px;
9 align-items: flex-start;
10 }
11
12 /* Layout variants */
13 .bkbg-cs-inner.bkbg-cs--info-left { flex-direction: row; }
14 .bkbg-cs-inner.bkbg-cs--info-right { flex-direction: row-reverse; }
15 .bkbg-cs-inner.bkbg-cs--stacked { flex-direction: column; }
16
17 .bkbg-cs-section-title,
18 .bkbg-cs-title {
19 font-family: var(--bkcs-title-font-family, inherit);
20 font-size: var(--bkcs-title-font-size-d, var(--bkcs-title-font-size, var(--bkbg-cs-title-size, 36px)));
21 font-weight: var(--bkcs-title-font-weight, 800);
22 font-style: var(--bkcs-title-font-style, normal);
23 text-transform: var(--bkcs-title-text-transform, none);
24 text-decoration: var(--bkcs-title-text-decoration, none);
25 line-height: var(--bkcs-title-line-height-d, var(--bkcs-title-line-height, 1.2));
26 letter-spacing: var(--bkcs-title-letter-spacing-d, var(--bkcs-title-letter-spacing, normal));
27 word-spacing: var(--bkcs-title-word-spacing-d, var(--bkcs-title-word-spacing, normal));
28 color: var(--bkbg-cs-title-color, #111827);
29 margin: 0 0 10px;
30 }
31 .bkbg-cs-section-subtitle,
32 .bkbg-cs-subtitle {
33 font-family: var(--bkcs-sub-font-family, inherit);
34 font-size: var(--bkcs-sub-font-size-d, var(--bkcs-sub-font-size, var(--bkbg-cs-subtitle-size, 16px)));
35 font-weight: var(--bkcs-sub-font-weight, 400);
36 font-style: var(--bkcs-sub-font-style, normal);
37 text-transform: var(--bkcs-sub-text-transform, none);
38 text-decoration: var(--bkcs-sub-text-decoration, none);
39 line-height: var(--bkcs-sub-line-height-d, var(--bkcs-sub-line-height, 1.65));
40 letter-spacing: var(--bkcs-sub-letter-spacing-d, var(--bkcs-sub-letter-spacing, normal));
41 word-spacing: var(--bkcs-sub-word-spacing-d, var(--bkcs-sub-word-spacing, normal));
42 color: var(--bkbg-cs-subtitle-color, #6b7280);
43 margin: 0 0 32px;
44 }
45
46 /* Info column */
47 .bkbg-cs-info-col {
48 flex: 0 0 340px;
49 display: flex;
50 flex-direction: column;
51 gap: var(--bkbg-cs-card-gap, 16px);
52 }
53 .bkbg-cs-inner.bkbg-cs--stacked .bkbg-cs-info-col {
54 flex: 0 0 auto;
55 flex-direction: row;
56 flex-wrap: wrap;
57 }
58
59 /* Info card */
60 .bkbg-cs-card {
61 background: var(--bkbg-cs-card-bg, #f9fafb);
62 border-radius: var(--bkbg-cs-card-r, 12px);
63 padding: 18px 20px;
64 display: flex;
65 align-items: flex-start;
66 gap: 14px;
67 }
68 .bkbg-cs-card-icon {
69 width: 48px;
70 height: 48px;
71 border-radius: 50%;
72 background: var(--bkbg-cs-card-icon-bg, #ede9f7);
73 display: flex;
74 align-items: center;
75 justify-content: center;
76 font-size: var(--bkbg-cs-icon-sz, 22px);
77 flex-shrink: 0;
78 }
79 .bkbg-cs-card-icon svg { width: 1em; height: 1em; fill: currentColor; }
80 .bkbg-cs-card-icon .dashicons { font-size: inherit; width: 1em; height: 1em; line-height: 1; }
81 .bkbg-cs-card-icon .bkbg-icon-img { width: 1em; height: 1em; object-fit: contain; }
82 .bkbg-cs-info-icon svg { width: 1em; height: 1em; fill: currentColor; }
83 .bkbg-cs-info-icon .dashicons { font-size: inherit; width: 1em; height: 1em; line-height: 1; }
84 .bkbg-cs-info-icon .bkbg-icon-img { width: 1em; height: 1em; object-fit: contain; }
85 .bkbg-cs-card-label {
86 font-size: var(--bkbg-cs-label-sz, 11px);
87 text-transform: uppercase;
88 letter-spacing: 0.08em;
89 font-weight: 700;
90 color: var(--bkbg-cs-card-label-color, #9ca3af);
91 margin-bottom: 3px;
92 }
93 .bkbg-cs-card-value {
94 font-size: 15px;
95 color: var(--bkbg-cs-card-value-color, #111827);
96 font-weight: 500;
97 line-height: 1.45;
98 }
99
100 /* Form + map column */
101 .bkbg-cs-main-col { flex: 1; min-width: 0; }
102
103 /* Map */
104 .bkbg-cs-map {
105 width: 100%;
106 border-radius: var(--bkbg-cs-form-r, 14px);
107 overflow: hidden;
108 margin-bottom: 24px;
109 }
110 .bkbg-cs-map iframe { display: block; width: 100%; height: var(--bkbg-cs-map-h, 280px); border: none; }
111
112 /* Form */
113 .bkbg-cs-form {
114 background: var(--bkbg-cs-form-bg, #ffffff);
115 border-radius: var(--bkbg-cs-form-r, 14px);
116 padding: 28px;
117 }
118 .bkbg-cs-form-row { display: flex; gap: 16px; }
119 .bkbg-cs-form-row .bkbg-cs-field { flex: 1; }
120
121 .bkbg-cs-field {
122 display: flex;
123 flex-direction: column;
124 gap: 6px;
125 margin-bottom: 16px;
126 }
127 .bkbg-cs-field label {
128 font-size: 13px;
129 font-weight: 600;
130 color: var(--bkbg-cs-field-label-color, #374151);
131 }
132 .bkbg-cs-field input,
133 .bkbg-cs-field textarea,
134 .bkbg-cs-field select {
135 background: var(--bkbg-cs-field-bg, #f9fafb);
136 border: 1px solid var(--bkbg-cs-field-border, #e5e7eb);
137 border-radius: var(--bkbg-cs-field-r, 8px);
138 padding: 10px 14px;
139 font-size: var(--bkbg-cs-field-sz, 14px);
140 color: #111827;
141 width: 100%;
142 box-sizing: border-box;
143 transition: border-color 0.15s;
144 }
145 .bkbg-cs-field input:focus,
146 .bkbg-cs-field textarea:focus {
147 outline: none;
148 border-color: var(--bkbg-cs-btn-bg, #6c3fb5);
149 }
150 .bkbg-cs-field textarea { resize: vertical; min-height: 110px; }
151
152 .bkbg-cs-submit {
153 background: var(--bkbg-cs-btn-bg, #6c3fb5);
154 color: var(--bkbg-cs-btn-color, #ffffff);
155 border: none;
156 border-radius: var(--bkbg-cs-btn-r, 8px);
157 padding: 12px 32px;
158 font-size: 15px;
159 font-weight: 700;
160 cursor: pointer;
161 transition: opacity 0.15s;
162 }
163 .bkbg-cs-submit:hover { opacity: 0.85; }
164
165 .bkbg-cs-form-msg {
166 margin-top: 12px;
167 font-size: 14px;
168 font-weight: 600;
169 min-height: 1em;
170 }
171 .bkbg-cs-form-msg.is-success { color: #059669; }
172 .bkbg-cs-form-msg.is-error { color: #dc2626; }
173
174 /* Responsive */
175 @media (max-width: 1024px) {
176 .bkbg-cs-section-title, .bkbg-cs-title {
177 font-size: var(--bkcs-title-font-size-t, var(--bkcs-title-font-size-d, var(--bkcs-title-font-size, var(--bkbg-cs-title-size, 36px))));
178 line-height: var(--bkcs-title-line-height-t, var(--bkcs-title-line-height-d, var(--bkcs-title-line-height, 1.2)));
179 letter-spacing: var(--bkcs-title-letter-spacing-t, var(--bkcs-title-letter-spacing-d, var(--bkcs-title-letter-spacing, normal)));
180 word-spacing: var(--bkcs-title-word-spacing-t, var(--bkcs-title-word-spacing-d, var(--bkcs-title-word-spacing, normal)));
181 }
182 .bkbg-cs-section-subtitle, .bkbg-cs-subtitle {
183 font-size: var(--bkcs-sub-font-size-t, var(--bkcs-sub-font-size-d, var(--bkcs-sub-font-size, var(--bkbg-cs-subtitle-size, 16px))));
184 line-height: var(--bkcs-sub-line-height-t, var(--bkcs-sub-line-height-d, var(--bkcs-sub-line-height, 1.65)));
185 letter-spacing: var(--bkcs-sub-letter-spacing-t, var(--bkcs-sub-letter-spacing-d, var(--bkcs-sub-letter-spacing, normal)));
186 word-spacing: var(--bkcs-sub-word-spacing-t, var(--bkcs-sub-word-spacing-d, var(--bkcs-sub-word-spacing, normal)));
187 }
188 }
189 @media (max-width: 767px) {
190 .bkbg-cs-section-title, .bkbg-cs-title {
191 font-size: var(--bkcs-title-font-size-m, var(--bkcs-title-font-size-t, var(--bkcs-title-font-size-d, var(--bkcs-title-font-size, var(--bkbg-cs-title-size, 36px)))));
192 line-height: var(--bkcs-title-line-height-m, var(--bkcs-title-line-height-t, var(--bkcs-title-line-height-d, var(--bkcs-title-line-height, 1.2))));
193 letter-spacing: var(--bkcs-title-letter-spacing-m, var(--bkcs-title-letter-spacing-t, var(--bkcs-title-letter-spacing-d, var(--bkcs-title-letter-spacing, normal))));
194 word-spacing: var(--bkcs-title-word-spacing-m, var(--bkcs-title-word-spacing-t, var(--bkcs-title-word-spacing-d, var(--bkcs-title-word-spacing, normal))));
195 }
196 .bkbg-cs-section-subtitle, .bkbg-cs-subtitle {
197 font-size: var(--bkcs-sub-font-size-m, var(--bkcs-sub-font-size-t, var(--bkcs-sub-font-size-d, var(--bkcs-sub-font-size, var(--bkbg-cs-subtitle-size, 16px)))));
198 line-height: var(--bkcs-sub-line-height-m, var(--bkcs-sub-line-height-t, var(--bkcs-sub-line-height-d, var(--bkcs-sub-line-height, 1.65))));
199 letter-spacing: var(--bkcs-sub-letter-spacing-m, var(--bkcs-sub-letter-spacing-t, var(--bkcs-sub-letter-spacing-d, var(--bkcs-sub-letter-spacing, normal))));
200 word-spacing: var(--bkcs-sub-word-spacing-m, var(--bkcs-sub-word-spacing-t, var(--bkcs-sub-word-spacing-d, var(--bkcs-sub-word-spacing, normal))));
201 }
202 .bkbg-cs-inner.bkbg-cs--info-left,
203 .bkbg-cs-inner.bkbg-cs--info-right {
204 flex-direction: column;
205 }
206 .bkbg-cs-info-col { flex: 0 0 auto; width: 100%; }
207 .bkbg-cs-form-row { flex-direction: column; gap: 0; }
208 }
209