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-start-end-times / _src / step-start-end-times.css

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

315 lines 5.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Reusable Setup Wizard time-choice editor presentation.
3 *
4 * @package Booking Calendar
5 */
6
7
8 .wpbc_setup_wizard__time-choices-editor {
9 display: flex;
10 flex-flow: column nowrap;
11 gap: 20px;
12 }
13
14 .wpbc_setup_wizard__time-list-panel {
15 padding: 24px 30px 22px;
16 border: 1px solid var(--wpbc-wizard-border);
17 border-radius: 6px;
18 background: #fff;
19 box-shadow: 0 2px 8px rgba(25, 35, 45, 0.04);
20 }
21
22 .wpbc_setup_wizard__time-list-toolbar {
23 display: flex;
24 flex-flow: row nowrap;
25 align-items: center;
26 justify-content: space-between;
27 gap: 18px 30px;
28 padding-bottom: 20px;
29 border-bottom: 1px solid #dfe5eb;
30 }
31
32 .wpbc_setup_wizard__time-list-heading {
33 flex: 0 0 250px;
34 }
35
36 .wpbc_setup_wizard__time-list-heading h2 {
37 margin: 0 0 4px;
38 font-size: 22px;
39 line-height: 1.2;
40 }
41
42 .wpbc_setup_wizard__time-list-heading p {
43 margin: 0;
44 color: var(--wpbc-wizard-muted);
45 font-size: 14px;
46 line-height: 1.45;
47 }
48
49 .wpbc_setup_wizard__time-generator {
50 display: flex;
51 flex: 1 1 auto;
52 flex-flow: row nowrap;
53 align-items: center;
54 justify-content: flex-end;
55 gap: 8px 12px;
56 font-size: 12px;
57 font-weight: 400;
58 }
59
60 .wpbc_setup_wizard__time-generator label {
61 display: flex;
62 align-items: center;
63 gap: 6px;
64 font-size: 12px;
65 font-weight: 400;
66 white-space: nowrap;
67 }
68
69 .wpbc_setup_wizard__time-generator select {
70 width: 112px;
71 min-width: 112px;
72 min-height: 42px;
73 margin: 0;
74 font-size: 13px;
75 }
76
77 .wpbc_setup_wizard__time-generator span {
78 font-size: 12px;
79 }
80
81 .wpbc_setup_wizard__time-generator button {
82 min-height: 30px !important;
83 }
84
85 .wpbc_setup_wizard__time-generator label:nth-of-type(3) select {
86 width: 130px;
87 min-width: 130px;
88 }
89
90 .wpbc_setup_wizard__generate-times,
91 .wpbc_setup_wizard__add-time,
92 .wpbc_setup_wizard__copy-start-times {
93 display: inline-flex !important;
94 min-height: 42px !important;
95 align-items: center;
96 justify-content: center;
97 gap: 6px;
98 padding: 6px 14px !important;
99 font-size: 13px !important;
100 white-space: nowrap;
101 }
102
103 .wpbc_setup_wizard__time-list-body {
104 display: flex;
105 min-width: 0;
106 align-items: stretch;
107 }
108
109 .wpbc_setup_wizard__time-choice-list {
110 display: flex;
111 min-width: 0;
112 flex: 1 1 auto;
113 flex-flow: row wrap;
114 align-items: center;
115 align-content: flex-start;
116 gap: 12px 15px;
117 justify-content: flex-start;
118 padding-block: 24px 4px;
119 padding-inline: 0 28px;
120 }
121
122 .wpbc_setup_wizard__time-list-actions {
123 display: flex;
124 flex: 0 0 250px;
125 flex-flow: column nowrap;
126 align-items: center;
127 justify-content: center;
128 gap: 10px;
129 padding-block: 24px 4px;
130 padding-inline: 28px 0;
131 border-inline-start: 1px solid #dfe5eb;
132 }
133
134 .wpbc_setup_wizard__time-list-actions .wpbc_setup_wizard__add-time {
135 width: 100%;
136 min-height: 48px !important;
137 font-size: 14px !important;
138 }
139
140 .wpbc_setup_wizard__clear-times {
141 font-size: 13px;
142 line-height: 1.5;
143 }
144
145 .wpbc_setup_wizard__time-choice {
146 display: flex;
147 min-width: 0;
148 max-width: 360px;
149 align-items: center;
150 padding: 2px;
151 border-radius: 5px;
152 flex: 0 1 auto;
153 gap: 2px;
154 background: #fafafa;
155 }
156
157 .wpbc_setup_wizard__time-choice.is-dragging {
158 opacity: 0.45;
159 }
160
161 .wpbc_setup_wizard__time-choice.is-drag-placeholder {
162 border: 1px dashed #8c9bab;
163 background: #f0f6fc;
164 opacity: 0.55;
165 }
166
167 .wpbc_setup_wizard__time-choice select {
168 width: min(100%, 120px);
169 max-width: 118px;
170 min-width: 0;
171 flex: 1 1 auto;
172 min-height: 42px;
173 margin: 0;
174 font-size: 14px;
175 }
176
177 .wpbc_setup_wizard__time-choice-move,
178 .wpbc_setup_wizard__time-choice-remove {
179 display: inline-flex;
180 width: 34px;
181 height: 34px;
182 flex: 0 0 34px;
183 align-items: center;
184 justify-content: center;
185 padding: 0;
186 border: 0;
187 border-radius: 50%;
188 background: transparent;
189 color: #34404c;
190 cursor: pointer;
191 }
192
193 .wpbc_setup_wizard__time-choice-move i::before,
194 .wpbc_setup_wizard__time-choice-remove i::before {
195 vertical-align: middle;
196 }
197 .wpbc_setup_wizard__time-choice-move {
198 cursor: grab;
199 }
200
201 .wpbc_setup_wizard__time-choice.is-dragging .wpbc_setup_wizard__time-choice-move {
202 cursor: grabbing;
203 }
204
205 .wpbc_setup_wizard__time-choice-move:hover,
206 .wpbc_setup_wizard__time-choice-move:focus,
207 .wpbc_setup_wizard__time-choice-remove:hover,
208 .wpbc_setup_wizard__time-choice-remove:focus {
209 background: #f0f2f4;
210 color: #1d2327;
211 }
212
213 .wpbc_setup_wizard__time-copy-row {
214 display: flex;
215 align-items: center;
216 justify-content: center;
217 gap: 22px;
218 }
219
220 .wpbc_setup_wizard__time-copy-row > span {
221 height: 1px;
222 flex: 1 1 auto;
223 background: #cfd8e2;
224 }
225
226 .wpbc_setup_wizard__time-list-panel [aria-invalid="true"],
227 .wpbc_setup_wizard__time-choice-list [aria-invalid="true"] {
228 border-color: #d63638;
229 box-shadow: 0 0 0 1px #d63638;
230 }
231
232 @media screen and (max-width: 1380px) {
233 .wpbc_setup_wizard__time-list-toolbar,
234 .wpbc_setup_wizard__time-generator {
235 flex-wrap: wrap;
236 }
237
238 .wpbc_setup_wizard__time-generator {
239 justify-content: flex-start;
240 }
241
242 .wpbc_setup_wizard__time-choice {
243 max-width: none;
244 }
245
246 .wpbc_setup_wizard__time-list-actions {
247 flex-basis: 220px;
248 }
249 }
250
251 @media screen and (max-width: 782px) {
252 .wpbc_setup_wizard__time-list-panel {
253 padding: 16px;
254 }
255
256 .wpbc_setup_wizard__time-list-toolbar {
257 align-items: flex-start;
258 flex-flow: column nowrap;
259 }
260
261 .wpbc_setup_wizard__time-list-heading,
262 .wpbc_setup_wizard__time-generator {
263 width: 100%;
264 flex-basis: auto;
265 }
266
267 .wpbc_setup_wizard__time-generator,
268 .wpbc_setup_wizard__time-generator label {
269 align-items: stretch;
270 }
271
272 .wpbc_setup_wizard__time-generator label {
273 flex: 1 1 150px;
274 flex-flow: column nowrap;
275 }
276
277 .wpbc_setup_wizard__time-generator select,
278 .wpbc_setup_wizard__generate-times,
279 .wpbc_setup_wizard__add-time {
280 width: 100%;
281 }
282
283 .wpbc_setup_wizard__time-list-body {
284 flex-flow: column nowrap;
285 }
286
287 .wpbc_setup_wizard__time-choice-list {
288 padding: 18px 0;
289 }
290
291 .wpbc_setup_wizard__time-list-actions {
292 flex-basis: auto;
293 padding: 16px 0 0;
294 border-top: 1px solid #dfe5eb;
295 border-inline-start: 0;
296 }
297
298 .wpbc_setup_wizard__time-choice {
299 flex-basis: 100%;
300 }
301
302 .wpbc_setup_wizard__time-choice select {
303 width: 100%;
304 max-width: none;
305 }
306
307 .wpbc_setup_wizard__time-copy-row {
308 gap: 10px;
309 }
310 }
311
312 [dir="rtl"] .wpbc_setup_wizard__copy-start-times .menu_icon {
313 transform: scaleX(-1);
314 }
315