PluginProbe
Booking Calendar / 11.9
Booking Calendar v11.9
11.9 11.8.4 11.8.3 11.8.2 11.8.1 11.8 11.7 11.6.1 11.6 11.5 11.4.3 11.4.2 11.4.1 11.4 11.3 11.2.1 11.2 11.1 11.0 10.15.7 10.15.6 10.1.3 10.10 10.10.1 10.10.2 All 205 releases
booking / includes / page-setup-wizard / step-services / _src / step-services.css

step-services.css in Booking Calendar 11.9, at includes/page-setup-wizard/step-services/_src/step-services.css

381 lines 7.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Modular Services step presentation.
3 *
4 * @package Booking Calendar
5 */
6
7 .wpbc_setup_wizard__services-layout {
8 display: grid;
9 grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.85fr);
10 gap: 10px;
11 }
12
13 .wpbc_setup_wizard__services-list-panel,
14 .wpbc_setup_wizard__service-details-panel {
15 border: 1px solid var(--wpbc-wizard-border);
16 border-radius: 6px;
17 background: #fff;
18 box-shadow: 0 2px 8px rgba(25, 35, 45, 0.04);
19 }
20
21 .wpbc_setup_wizard__services-list-panel {
22 padding: 20px;
23 }
24
25 .wpbc_setup_wizard__services-list-panel h2,
26 .wpbc_setup_wizard__service-details-heading h2 {
27 margin: 0;
28 font-size: 19px;
29 font-weight: 600;
30 }
31
32 .wpbc_setup_wizard__services-list {
33 display: grid;
34 gap: 10px;
35 margin: 20px 0;
36 }
37
38 .wpbc_setup_wizard__service-card {
39 display: grid;
40 grid-template-columns: minmax(0, 1fr) 36px;
41 align-items: center;
42 min-height: 78px;
43 border: 1px solid var(--wpbc-wizard-border);
44 border-radius: 5px;
45 background: #fff;
46 cursor: default;
47 }
48
49 .wpbc_setup_wizard__service-card-selection {
50 display: grid;
51 grid-template-columns: 24px 40px minmax(0, 1fr);
52 align-items: center;
53 gap: 10px;
54 min-width: 0;
55 min-height: 76px;
56 padding: 10px 8px 10px 12px;
57 box-sizing: border-box;
58 cursor: pointer;
59 }
60
61 .wpbc_setup_wizard__service-card:hover,
62 .wpbc_setup_wizard__service-card:focus-within {
63 border-color: var(--wp-admin-theme-color, #2271b1);
64 }
65
66 .wpbc_setup_wizard__service-card.is-selected {
67 border-color: var(--wp-admin-theme-color, #2271b1);
68 box-shadow: 0 0 0 1px var(--wp-admin-theme-color, #2271b1);
69 }
70
71 .wpbc_setup_wizard__service-card.is-selected .wpbc_setup_wizard__radio-mark {
72 border: 7px solid var(--wp-admin-theme-color, #2271b1);
73 }
74
75 .wpbc_setup_wizard__service-card-picture {
76 display: inline-flex;
77 width: 40px;
78 height: 40px;
79 flex: 0 0 40px;
80 align-items: center;
81 justify-content: center;
82 overflow: hidden;
83 border: 2px solid #fff;
84 border-radius: 50%;
85 outline: #d4d4d7 solid 1px;
86 background: #f0f0f1;
87 box-sizing: border-box;
88 color: #8c8f94;
89 }
90
91 .wpbc_setup_wizard__service-card-picture img {
92 display: block;
93 width: 100%;
94 max-width: none;
95 height: 100%;
96 object-fit: cover;
97 }
98
99 .wpbc_setup_wizard__service-card-picture > [hidden] {
100 display: none !important;
101 }
102
103 .wpbc_setup_wizard__service-card-copy {
104 display: grid;
105 gap: 5px;
106 min-width: 0;
107 }
108
109 .wpbc_setup_wizard__service-card-copy strong {
110 overflow: hidden;
111 font-size: 15px;
112 text-overflow: ellipsis;
113 white-space: nowrap;
114 }
115
116 .wpbc_setup_wizard__service-card-copy > span {
117 color: var(--wpbc-wizard-muted);
118 font-size: 13px;
119 }
120
121 .wpbc_setup_wizard__service-card-copy em {
122 padding: 3px 9px;
123 border-radius: 12px;
124 background: #edfaef;
125 color: #087a24;
126 font-style: normal;
127 }
128
129 .wpbc_setup_wizard__service-card-remove {
130 display: inline-flex;
131 width: 32px;
132 height: 32px;
133 align-items: center;
134 justify-content: center;
135 align-self: center;
136 padding: 0 0 3px;
137 border: 0;
138 border-radius: 50%;
139 background: transparent;
140 color: #646970;
141 cursor: pointer;
142 }
143
144 .wpbc_setup_wizard__service-card-remove:hover {
145 background: #fcf0f1;
146 color: #b32d2e;
147 }
148
149 .wpbc_setup_wizard__service-card-remove:focus {
150 outline: none;
151 box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--wp-admin-theme-color, #2271b1);
152 }
153
154 .wpbc_setup_wizard__service-card-remove:disabled {
155 background: transparent;
156 color: #a7aaad;
157 cursor: not-allowed;
158 opacity: 0.55;
159 }
160
161 .wpbc_setup_wizard__add-service {
162 display: inline-flex !important;
163 width: 100%;
164 min-height: 42px !important;
165 align-items: center;
166 justify-content: center;
167 gap: 8px;
168 }
169
170 .wpbc_setup_wizard__service-details-panel {
171 padding: 20px 24px;
172 }
173
174 .wpbc_setup_wizard__service-details-heading {
175 display: flex;
176 align-items: baseline;
177 justify-content: space-between;
178 gap: 16px;
179 margin-bottom: 18px;
180 }
181
182 .wpbc_setup_wizard__service-details-heading > span {
183 color: var(--wpbc-wizard-muted);
184 font-size: 12px;
185 }
186
187 .wpbc_setup_wizard__service-details-grid {
188 display: grid;
189 grid-template-columns: minmax(0, 1.55fr) minmax(235px, 0.9fr);
190 gap: 24px;
191 }
192
193 .wpbc_setup_wizard__service-details-panel .wpbc_setup_wizard__field input[type="text"],
194 .wpbc_setup_wizard__service-details-panel .wpbc_setup_wizard__field input[type="number"],
195 .wpbc_setup_wizard__service-details-panel .wpbc_setup_wizard__field textarea {
196 width: 100%;
197 max-width: none;
198 min-height: 42px;
199 box-sizing: border-box;
200 margin: 0;
201 padding: 8px 12px;
202 border-color: #aeb6bf;
203 border-radius: 4px;
204 background: #fff;
205 font-size: 15px;
206 }
207
208 .wpbc_setup_wizard__service-details-panel .wpbc_setup_wizard__field textarea {
209 min-height: 122px;
210 resize: vertical;
211 }
212
213 .wpbc_setup_wizard__price-control {
214 display: flex;
215 align-items: center;
216 border: 1px solid #aeb6bf;
217 border-radius: 4px;
218 background: #fff;
219 }
220
221 .wpbc_setup_wizard__price-control input[type="number"] {
222 border: 0;
223 box-shadow: none;
224 }
225
226 .wpbc_setup_wizard__price-control input:disabled {
227 background: transparent;
228 color: #78838e;
229 }
230
231 .wpbc_setup_wizard__edition-badge {
232 display: inline-block;
233 margin-left: 5px;
234 padding: 2px 7px;
235 border-radius: 10px;
236 background: #5946b2;
237 color: #fff;
238 font-size: 10px;
239 vertical-align: 2px;
240 }
241
242 .wpbc_setup_wizard__service-picture-preview {
243 display: flex;
244 width: 100%;
245 height: 105px;
246 min-height: 105px;
247 max-height: 105px;
248 flex: 1 1 100%;
249 align-items: center;
250 justify-content: center;
251 overflow: hidden;
252 margin: 0 0 12px;
253 padding: 4px;
254 border: 1px solid #c3c4c7;
255 border-radius: 4px;
256 background: #fcfcfc;
257 box-sizing: border-box;
258 color: #507593;
259 }
260
261 .wpbc_setup_wizard__service-picture-preview .menu_icon::before {
262 font-size: 30px;
263 }
264
265 .wpbc_setup_wizard__service-picture-preview img {
266 display: block;
267 width: 100%;
268 max-width: none;
269 height: 100%;
270 object-fit: cover;
271 }
272
273 .wpbc_setup_wizard__service-picture-preview > [hidden] {
274 display: none !important;
275 }
276
277 .wpbc_setup_wizard__service-picture-actions {
278 display: flex;
279 flex-wrap: wrap;
280 gap: 8px;
281 }
282
283 .wpbc_setup_wizard__service-time-grid {
284 display: grid;
285 grid-column: 1 / -1;
286 grid-template-columns: repeat(3, minmax(0, 1fr));
287 gap: 18px;
288 }
289
290 .wpbc_setup_wizard__service-number-control {
291 display: grid;
292 grid-template-columns: minmax(82px, 0.38fr) minmax(110px, 1fr);
293 align-items: center;
294 gap: 12px;
295 }
296
297 .wpbc_setup_wizard__service-number-control input[type="range"] {
298 width: 100%;
299 margin: 0;
300 accent-color: var(--wp-admin-theme-color, #2271b1);
301 }
302
303 .wpbc_setup_wizard__service-summary {
304 display: grid;
305 grid-template-columns: minmax(0, 1fr) minmax(250px, 0.8fr);
306 gap: 22px;
307 margin-top: 18px;
308 padding: 16px;
309 }
310
311 .wpbc_setup_wizard__service-summary p {
312 display: flex;
313 align-items: center;
314 gap: 9px;
315 margin: 0;
316 color: var(--wpbc-wizard-info-copy);
317 }
318
319 .wpbc_setup_wizard__service-summary p:first-child {
320 display: grid;
321 gap: 4px;
322 color: var(--wpbc-wizard-info-text);
323 }
324
325 .wpbc_setup_wizard__service-summary p + p {
326 padding-left: 22px;
327 border-left: 1px solid var(--wpbc-wizard-info-border);
328 }
329
330 [dir="rtl"] .wpbc_setup_wizard__edition-badge {
331 margin-right: 5px;
332 margin-left: 0;
333 }
334
335 [dir="rtl"] .wpbc_setup_wizard__service-summary p + p {
336 padding-right: 22px;
337 padding-left: 0;
338 border-right: 1px solid var(--wpbc-wizard-info-border);
339 border-left: 0;
340 }
341
342 @media screen and (max-width: 1160px) {
343 .wpbc_setup_wizard__services-layout {
344 grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.6fr);
345 }
346
347 .wpbc_setup_wizard__service-details-grid {
348 grid-template-columns: 1fr;
349 }
350
351 .wpbc_setup_wizard__service-time-grid {
352 grid-column: auto;
353 grid-template-columns: 1fr;
354 }
355 }
356
357 @media screen and (max-width: 782px) {
358 .wpbc_setup_wizard__services-layout,
359 .wpbc_setup_wizard__service-summary {
360 grid-template-columns: 1fr;
361 }
362
363 .wpbc_setup_wizard__services-list-panel,
364 .wpbc_setup_wizard__service-details-panel {
365 padding: 18px;
366 }
367
368 .wpbc_setup_wizard__service-summary p + p,
369 [dir="rtl"] .wpbc_setup_wizard__service-summary p + p {
370 padding: 14px 0 0;
371 border: 0;
372 border-top: 1px solid var(--wpbc-wizard-info-border);
373 }
374 }
375
376 @media screen and (max-width: 480px) {
377 .wpbc_setup_wizard__service-number-control {
378 grid-template-columns: 1fr;
379 }
380 }
381