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-working-hours / _src / step-working-hours.css

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

355 lines 7.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Modular Working Hours step presentation.
3 *
4 * @package Booking Calendar
5 */
6
7 .wpbc_setup_wizard__working-hours-panel {
8 padding: 18px 20px;
9 border: 1px solid var(--wpbc-wizard-border);
10 border-radius: 6px;
11 background: #fff;
12 box-shadow: 0 2px 8px rgba(25, 35, 45, 0.04);
13 }
14
15 .wpbc_setup_wizard__working-hours-master {
16 display: flex;
17 flex-direction: column;
18 gap: 5px;
19 margin: 0 4px 16px;
20 padding-bottom: 16px;
21 border-bottom: 1px solid #e1e6eb;
22 }
23
24 .wpbc_setup_wizard__working-hours-master label {
25 display: inline-flex;
26 align-items: center;
27 gap: 9px;
28 }
29
30 .wpbc_setup_wizard__working-hours-master p {
31 margin: 0 0 0 25px;
32 color: var(--wpbc-wizard-muted);
33 }
34
35 .wpbc_setup_wizard__working-hours-controls {
36 min-width: 0;
37 margin: 0;
38 padding: 0;
39 border: 0;
40 }
41
42 .wpbc_setup_wizard__working-hours-panel.is-disabled .wpbc_setup_wizard__working-hours-controls {
43 opacity: 0.55;
44 }
45
46 [dir="rtl"] .wpbc_setup_wizard__working-hours-master p {
47 margin-right: 25px;
48 margin-left: 0;
49 }
50
51 .wpbc_setup_wizard__working-hours-notice {
52 display: flex;
53 align-items: center;
54 gap: 14px;
55 padding: 12px 16px;
56 border: 1px solid var(--wpbc-wizard-info-border);
57 border-inline-start: 4px solid var(--wpbc-wizard-info-accent);
58 border-radius: 6px;
59 background: var(--wpbc-wizard-info-background);
60 color: var(--wpbc-wizard-info-copy);
61 }
62
63 .wpbc_setup_wizard__working-hours-notice .menu_icon {
64 color: var(--wpbc-wizard-info-accent);
65 font-size: 24px;
66 line-height: 1;
67 }
68 .wpbc_setup_wizard__working-hours-notice .menu_icon::before {
69 line-height: 2;
70 }
71
72 .wpbc_setup_wizard__working-hours-notice p {
73 margin: 0;
74 }
75
76 .wpbc_setup_wizard__working-hours-header,
77 .wpbc_setup_wizard__working-day {
78 display: grid;
79 grid-template-columns: 210px minmax(460px, 1fr) 190px;
80 align-items: start;
81 column-gap: 24px;
82 }
83
84 .wpbc_setup_wizard__working-hours-header {
85 align-items: center;
86 padding: 0px 4px 10px;
87 }
88
89 .wpbc_setup_wizard__copy-schedule-toggle {
90 display: inline-flex !important;
91 justify-self: end;
92 align-items: center;
93 gap: 7px;
94 }
95
96 .wpbc_setup_wizard__copy-schedule {
97 margin: 4px 4px 16px;
98 padding: 16px;
99 border: 1px solid #c8d7e6;
100 border-radius: 5px;
101 background: #f7fafc;
102 }
103
104 .wpbc_setup_wizard__copy-schedule-heading {
105 display: flex;
106 align-items: flex-start;
107 justify-content: space-between;
108 gap: 16px;
109 }
110
111 .wpbc_setup_wizard__copy-schedule-heading h2 {
112 margin: 0 0 4px;
113 font-size: 16px;
114 font-weight: 600;
115 }
116
117 .wpbc_setup_wizard__copy-schedule-heading p {
118 margin: 0;
119 color: var(--wpbc-wizard-muted);
120 }
121
122 .wpbc_setup_wizard__copy-schedule-close {
123 display: inline-flex;
124 width: 34px;
125 height: 34px;
126 flex: 0 0 34px;
127 align-items: center;
128 justify-content: center;
129 padding: 0;
130 border: 0;
131 border-radius: 50%;
132 background: transparent;
133 color: #3c434a;
134 cursor: pointer;
135 }
136
137 .wpbc_setup_wizard__copy-schedule-close:hover,
138 .wpbc_setup_wizard__copy-schedule-close:focus {
139 background: #e7edf3;
140 }
141
142 .wpbc_setup_wizard__copy-schedule-controls {
143 display: grid;
144 grid-template-columns: minmax(190px, 0.35fr) minmax(0, 1fr);
145 gap: 22px;
146 margin-top: 16px;
147 }
148
149 .wpbc_setup_wizard__copy-schedule-controls select {
150 width: 100%;
151 max-width: none;
152 min-height: 40px;
153 }
154
155 .wpbc_setup_wizard__copy-targets {
156 min-width: 0;
157 margin: 0;
158 padding: 0;
159 border: 0;
160 }
161
162 .wpbc_setup_wizard__copy-targets legend {
163 margin-bottom: 8px;
164 font-weight: 600;
165 }
166
167 .wpbc_setup_wizard__copy-targets > div {
168 display: flex;
169 flex-wrap: wrap;
170 gap: 8px 18px;
171 }
172
173 .wpbc_setup_wizard__copy-targets label {
174 display: inline-flex;
175 align-items: center;
176 gap: 6px;
177 }
178
179 .wpbc_setup_wizard__copy-schedule-actions {
180 display: flex;
181 justify-content: flex-end;
182 gap: 8px;
183 margin-top: 16px;
184 }
185
186 .wpbc_setup_wizard__working-day {
187 min-height: 62px;
188 padding: 10px 4px;
189 border-top: 1px solid #e1e6eb;
190 }
191
192 .wpbc_setup_wizard__working-day-toggle {
193 display: flex;
194 align-items: center;
195 gap: 14px;
196 min-height: 40px;
197 font-weight: 500;
198 }
199
200 .wpbc_setup_wizard__working-day-schedule,
201 .wpbc_setup_wizard__working-intervals {
202 display: grid;
203 gap: 8px;
204 }
205
206 .wpbc_setup_wizard__working-interval {
207 display: grid;
208 grid-template-columns: minmax(150px, 190px) 22px minmax(150px, 190px) 36px;
209 align-items: center;
210 gap: 12px;
211 }
212
213 .wpbc_setup_wizard__working-interval select,
214 .wpbc_setup_wizard__working-unavailable {
215 width: 100%;
216 max-width: none;
217 min-height: 40px;
218 margin: 0;
219 padding: 5px 30px 5px 12px;
220 border-color: #b7c0ca;
221 border-radius: 4px;
222 background-color: #fff;
223 font-size: 14px;
224 }
225
226 .wpbc_setup_wizard__working-unavailable {
227 width: min(100%, 190px);
228 background: #f0f2f4;
229 color: #7a858f;
230 }
231
232 .wpbc_setup_wizard__working-interval-separator {
233 color: #64717d;
234 font-size: 20px;
235 text-align: center;
236 }
237
238 .wpbc_setup_wizard__remove-interval,
239 .wpbc_setup_wizard__add-interval {
240 display: inline-flex;
241 align-items: center;
242 justify-content: center;
243 border: 0;
244 background: transparent;
245 color: var(--wp-admin-theme-color, #2271b1);
246 cursor: pointer;
247 }
248
249 .wpbc_setup_wizard__remove-interval {
250 width: 36px;
251 height: 36px;
252 padding: 0;
253 border-radius: 50%;
254 color: #52606d;
255 }
256
257 .wpbc_setup_wizard__remove-interval:hover,
258 .wpbc_setup_wizard__remove-interval:focus {
259 background: #f0f0f1;
260 color: #1d2327;
261 }
262
263 .wpbc_setup_wizard__add-interval {
264 justify-self: end;
265 gap: 9px;
266 min-height: 40px;
267 padding: 4px 8px;
268 font-size: 14px;
269 }
270
271 .wpbc_setup_wizard__add-interval .menu_icon {
272 display: inline-flex;
273 width: 26px;
274 height: 26px;
275 align-items: center;
276 justify-content: center;
277 border: 1px solid currentColor;
278 border-radius: 4px;
279 }
280
281 .wpbc_setup_wizard__working-hours-panel [aria-invalid="true"] {
282 border-color: #d63638;
283 box-shadow: 0 0 0 1px #d63638;
284 }
285
286 [dir="rtl"] .wpbc_setup_wizard__copy-schedule-toggle,
287 [dir="rtl"] .wpbc_setup_wizard__add-interval {
288 justify-self: start;
289 }
290
291 [dir="rtl"] .wpbc_setup_wizard__working-interval select,
292 [dir="rtl"] .wpbc_setup_wizard__working-unavailable {
293 padding-right: 12px;
294 padding-left: 30px;
295 }
296
297 @media screen and (max-width: 1160px) {
298 .wpbc_setup_wizard__working-hours-header,
299 .wpbc_setup_wizard__working-day {
300 grid-template-columns: 170px minmax(390px, 1fr) 150px;
301 column-gap: 16px;
302 }
303
304 .wpbc_setup_wizard__working-interval {
305 grid-template-columns: minmax(130px, 1fr) 18px minmax(130px, 1fr) 36px;
306 gap: 8px;
307 }
308 }
309
310 @media screen and (max-width: 782px) {
311 .wpbc_setup_wizard__working-hours-panel {
312 padding: 14px 16px 2px;
313 }
314
315 .wpbc_setup_wizard__working-hours-header {
316 display: flex;
317 justify-content: flex-end;
318 padding-top: 16px;
319 }
320
321 .wpbc_setup_wizard__working-hours-header > strong {
322 display: none;
323 }
324
325 .wpbc_setup_wizard__copy-schedule-controls {
326 grid-template-columns: 1fr;
327 }
328
329 .wpbc_setup_wizard__working-day {
330 grid-template-columns: 1fr;
331 gap: 8px;
332 padding: 14px 2px;
333 }
334
335 .wpbc_setup_wizard__working-day-toggle {
336 min-height: 32px;
337 }
338
339 .wpbc_setup_wizard__working-interval {
340 grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr) 36px;
341 }
342
343 .wpbc_setup_wizard__add-interval,
344 [dir="rtl"] .wpbc_setup_wizard__add-interval {
345 justify-self: start;
346 }
347 }
348
349 @media screen and (max-width: 480px) {
350 .wpbc_setup_wizard__working-interval {
351 grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr) 32px;
352 gap: 5px;
353 }
354 }
355