PluginProbe
Booking Calendar / 10.11.2
Booking Calendar v10.11.2
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 10.11 10.11.2 10.11.3 All 202 releases
booking / css / calendar.css

calendar.css in Booking Calendar 10.11.2, at css/calendar.css

944 lines 38.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * @version 2.0
3 * @package: Booking Calendar Responsive CSS
4 * @category: Front-End
5 * @author wpdevelop
6 *
7 * @web-site https://wpbookingcalendar.com/
8 * @email info@wpbookingcalendar.com
9 *
10 * @modified 2023-11-11
11 */
12 :root{
13 /* Default Sizes */
14 --wpbc_cal_legend-day-cell-height: 40px;
15 --wpbc_cal_legend-day-cell-width: var(--wpbc_cal_legend-day-cell-height); /* Usually it has to be the same as --wpbc_cal_legend-day-cell-height */
16 --wpbc_cal_legend-day-cell-font-size: 14px;
17 }
18 /*******************************************************************************/
19 /* Calendar structure: */
20 /*******************************************************************************/
21 /* WIDTH: of calendar - its FULL width of Month(s) ROW (its NOT only one month) */
22 /*
23 .bk_calendar_frame.cal_month_num_1.months_num_in_row_1
24 .hasDatepick
25 .datepick-inline
26 .calendar-links
27 .datepick-one-month
28 .datepick-one-month , ...
29
30 */
31 /* SIZE: Set width of calendar with several months */ /* FixIn: 9.7.3.4 */
32 /* FixIn: Standard entire calendar WIDTH ============================================================================ */
33 .wpbc_no_custom_width.bk_calendar_frame { width: 100%; width: calc(100% - 4px); min-width:201px; }
34 .wpbc_no_custom_width.cal_month_num_1 { max-width: 341px; }
35 .wpbc_no_custom_width.cal_month_num_2 { max-width: 682px; }
36 .wpbc_no_custom_width.cal_month_num_3 { max-width: 1023px; }
37 .wpbc_no_custom_width.cal_month_num_4 { max-width: 1364px; }
38 .wpbc_no_custom_width.cal_month_num_5 { max-width: 1705px; }
39 .wpbc_no_custom_width.cal_month_num_6 { max-width: 2046px; }
40 .wpbc_no_custom_width.cal_month_num_7 { max-width: 2387px; }
41 .wpbc_no_custom_width.cal_month_num_8 { max-width: 2728px; }
42 .wpbc_no_custom_width.cal_month_num_9 { max-width: 3069px; }
43 .wpbc_no_custom_width.cal_month_num_10 { max-width: 3410px; }
44 .wpbc_no_custom_width.cal_month_num_11 { max-width: 3751px; }
45 .wpbc_no_custom_width.cal_month_num_12 { max-width: 4092px; }
46 /* FixIn: Override width, if defined number of Months in a ROW ====================================================== */
47 .wpbc_no_custom_width.months_num_in_row_1 { max-width: 341px; }
48 .wpbc_no_custom_width.months_num_in_row_2 { max-width: 682px; }
49 .wpbc_no_custom_width.months_num_in_row_3 { max-width: 1023px; }
50 .wpbc_no_custom_width.months_num_in_row_4 { max-width: 1364px; }
51 .wpbc_no_custom_width.months_num_in_row_5 { max-width: 1705px; }
52 .wpbc_no_custom_width.months_num_in_row_6 { max-width: 2046px; }
53 /* FixIn: 9.8.12.1 - Min. WIDTH of all parent calendar tags ======================================================== */
54 .booking_form_div,
55 .wpbc_booking_form_structure,
56 .wpbc_structure_calendar,
57 .wpbc_calendar_wraper,
58 .wpbc_no_custom_width.bk_calendar_frame {
59 /*min-width: 173px;*/
60 /*min-width: Min(244px, 100%);*/
61 }
62 .wpbc_calendar_wraper{
63 min-width: 341px;
64 min-width: Min(341px, 100%);
65 }
66 /* FixIn: 9.8.3.1 - Min. WIDTH of calendar One Month, before Wrap to next ROW ====================================== */
67 .bk_calendar_frame .datepick-inline,
68 .bk_calendar_frame .datepick-one-month {
69 width: 100%;
70 }
71 .bk_calendar_frame .datepick-inline {
72 min-width: 173px;
73 min-width: Min(244px, 100%);
74 }
75 .bk_calendar_frame .datepick-one-month {
76 min-width: 169px;
77 min-width: Min(240px, 100%);
78 }
79 /* For small devices always set to full width screen */
80 @media (max-width: 400px) {
81 .bk_calendar_frame .datepick-inline{
82 min-width: 100%;
83 min-width: Max(100%, 201px);
84 }
85 .bk_calendar_frame .datepick-one-month{
86 min-width: 100%;
87 min-width: Max(100%, 195px);
88 }
89 }
90
91 /* FixIn: Your Customizations: Min. width of One Month in Calendar, before it start Wrap to next ROW ============ */
92 /*
93 Example of CSS for 280px: previously defined as: Min(240px, 100%);
94
95 .bk_calendar_frame .datepick-inline { min-width: Min(284px, 100%); }
96 .bk_calendar_frame .datepick-one-month { min-width: Min(280px, 100%); }
97
98 */
99
100 /* FixIn: 9.8.4.1 - container calendar font for small sections =================================================== */
101 /* @container(){...}: Mini Calendar @container queries - Change calendar font size, on very narrow sections
102
103 @CONTAINER()
104
105 Example: container: wpbc_c__datepick-one-month / inline-size;
106
107 Docs: container: name / container-type; -> https://www.w3.org/TR/css-contain-3/#container-type , https://www.w3.org/TR/css-contain-3/#container-queries
108
109 'inline-size' - inline-size - Refers to the physical width (horizontal dimension) in horizontal modes, and to the physical height (vertical dimension) in vertical modes.
110 'size' - block size - Refers to the physical height (vertical dimension) in horizontal modes, and to the physical width (horizontal dimension) in vertical modes.
111 'normal' - default - NOT_A_CONTAINER_SIZE_QUERIES, it is query container STYLE queries.
112
113 CLAMP()
114
115 Calculator: https://www.marcbacon.com/tools/clamp-calculator/
116 Example:
117 From 85px - 140px of container. Fonts: 9px - 12px. CLAMP: https://www.marcbacon.com/tools/clamp-calculator/ vw == cqi ( https://www.w3.org/TR/css-contain-3/#container-lengths )
118 font-size: clamp(0.563rem, 0.273rem + 5.455cqi, 0.75rem);
119 */
120 .datepick-one-month {
121 container: wpbc_c__datepick-one-month / inline-size;
122 }
123 /* For less than 140px of calendar month */
124 @container wpbc_c__datepick-one-month (inline-size < 140px) {
125 /* Month Table */
126 div.datepick-one-month table.datepick.wpbc_calendar *{
127 font-size: clamp(0.375rem, -0.205rem + 10.909cqi, 0.75rem);
128 }
129 }
130 .datepick-inline {
131 container: wpbc_c__datepick-inline / inline-size;
132 }
133 /* For less than 140px of calendar month */
134 @container wpbc_c__datepick-inline (inline-size < 140px) {
135 /* Month Titles */
136 div.datepick-one-month .datepick-header{
137 /* From 85px - 140px of container. Fonts: 9px - 12px. CLAMP: https://www.marcbacon.com/tools/clamp-calculator/ vw == cqi ( https://www.w3.org/TR/css-contain-3/#container-lengths ) */
138 font-size: clamp(0.563rem, 0.273rem + 5.455cqi, 0.75rem);
139 }
140 /* Prior | Next Links */
141 .calendar-links * {
142 font-size: clamp(0.438rem, -0.045rem + 9.091cqi, 0.75rem);
143 }
144 }
145
146 /* ================================================================================================================== */
147
148 /* ROWS for Calendar Months :: ------------------- 1 to 12 months with combination of showing several months in a row */
149 .bk_calendar_frame.months_num_in_row_1 .datepick-one-month, /* Specific number of months in a row. Please check more in FAQ.*/
150 .datepick-one-month { /* General */
151 flex: 1 1 100%;
152 }
153 .bk_calendar_frame.months_num_in_row_2 .datepick-one-month, /* Specific number of months in a row. Please check more in FAQ.*/
154 .cal_month_num_2 .datepick-one-month { /* General */
155 flex: 1 1 50%;
156 }
157 .bk_calendar_frame.months_num_in_row_3 .datepick-one-month, /* Specific number of months in a row. Please check more in FAQ.*/
158 .cal_month_num_3 .datepick-one-month { /* General */
159 flex: 1 1 33.333333333333333%;
160 }
161 .bk_calendar_frame.months_num_in_row_4 .datepick-one-month, /* Specific number of months in a row. Please check more in FAQ.*/
162 .cal_month_num_4 .datepick-one-month { /* General */
163 flex: 1 1 25%;
164 }
165 .bk_calendar_frame.months_num_in_row_5 .datepick-one-month, /* Specific number of months in a row. Please check more in FAQ.*/
166 .cal_month_num_5 .datepick-one-month { /* General */
167 flex: 1 1 20%;
168 }
169 .bk_calendar_frame.months_num_in_row_6 .datepick-one-month, /* Specific number of months in a row. Please check more in FAQ.*/
170 .cal_month_num_6 .datepick-one-month { /* General */
171 flex: 1 1 16.6666666666666%;
172 }
173 .cal_month_num_7 .datepick-one-month {
174 flex: 1 1 14.28571429%;
175 }
176 .cal_month_num_8 .datepick-one-month {
177 flex: 1 1 12.5%;
178 }
179 .cal_month_num_9 .datepick-one-month {
180 flex: 1 1 11.11111111%;
181 }
182 .cal_month_num_10 .datepick-one-month {
183 flex: 1 1 10%;
184 }
185 .cal_month_num_11 .datepick-one-month {
186 flex: 1 1 9.0909090909090909%;
187 }
188 .cal_month_num_12 .datepick-one-month {
189 flex: 1 1 8.333333333333333%;
190 }
191 /* ------------------------------------------------------------------------------------------------------------------ */
192 .bk_calendar_frame { /* FixIn: 9.3.1.4 */
193 position: relative;
194 }
195 .datepick-inline {
196 width:100%; /* Override the width of the calendar, which is set datepicker JS */ /* FixIn: 9.7.3.4 */
197 display: flex;
198 flex-flow: row wrap;
199 justify-content: center;
200 align-items: center;
201 padding: 1px; /* Outer padding in calendar. */
202 z-index: 10000;
203 }
204 .datepick-inline .datepick-one-month {
205 padding: 2px; /* Padding between months. */
206 box-sizing: border-box; /* FixIn: 9.6.1.6 */
207 }
208 /* HEIGHT: of C E L L S */
209 .datepick-inline .datepick-title-row th,
210 .datepick-inline .datepick-days-cell{
211 height: 48px;
212 }
213 @media (max-width: 400px) {
214 div.datepick-inline table .datepick-title-row th,
215 div.datepick-inline table .datepick-days-cell{
216 height: 40px !important;
217 }
218 }
219 /* HEIGHT: of C E L L S in POPUP calendar */
220 #datepick-div.datepick-inline .datepick-title-row th,
221 #datepick-div.datepick-inline .datepick-days-cell{
222 height: 35px;
223 }
224
225 /*******************************************************************************/
226 /* S T R U C T U R E & S i z e s ****************************************/
227 /*******************************************************************************/
228 /*RESET: Width, margin, padding */
229 div.check-out-div,
230 div.check-in-div,
231 div.date-content-top,
232 div.date-content-bottom{
233 width: 0;
234 height: 0;
235 padding: 0;
236 margin: 0;
237 }
238
239 /* RESET: Font sizes, padding, margin */
240 .datepick-inline .datepick, /* Month table */
241 .datepick-inline .datepick-header, /* Month header */
242 .datepick-inline .datepick-header span, /* Header span */
243 .datepick-inline .calendar-links, /* Prev Next months */
244 .datepick-inline .calendar-links a, /* Prev Next links */
245 .datepick-inline .datepick-days-cell, /* Date cell */
246 .datepick-inline .datepick-days-cell a, /* Active date cell */
247 .datepick-inline .datepick-days-cell div, /* Cehck in/out */
248 .datepick-inline .datepick-title-row, /* Week row */
249 .datepick-inline .datepick-title-row th { /* Week cell */
250 padding: 0;
251 margin: 0;
252 font-size:12px;
253 border: 0 none;
254 vertical-align: baseline;
255 }
256 .datepick-inline .datepick, /* Month table */
257 .datepick-inline .datepick-days-cell, /* Date cell */
258 .datepick-inline .datepick-days-cell a, /* Active date cell */
259 .datepick-inline .datepick-days-cell div, /* Cehck in/out */
260 .datepick-inline .datepick-title-row, /* Week row */
261 .datepick-inline .datepick-title-row th { /* Week cell */
262 line-height: 1.4;
263 }
264 #content .datepick-days-cell, /* Reset the padding in TD and TH elements of calendar to prevent conflict with some WP themes */
265 #content .datepick-title-row th{
266 padding: 0;
267 margin: 0;
268 }
269 /* RESET: width to 100% */
270 .datepick-inline .datepick,
271 .datepick-inline .datepick-header{
272 width:100%;
273 }
274
275 /* STRUCTURE: Previous & Next month links */ /* FixIn: 9.3.1.4 */
276 .datepick-inline .calendar-links{
277 display:flex;
278 flex-flow: row nowrap;
279 justify-content: flex-start;
280 align-items: center;
281 width:100%;
282 height:40px;
283 margin-bottom: -40px;
284 }
285 .datepick-inline .calendar-links .datepick-prev,
286 .datepick-inline .calendar-links .datepick-next {
287 flex: 1 1 100%;
288 display: flex;
289 flex-flow: column nowrap;
290 justify-content: flex-end;
291 align-items: flex-start;
292 margin: 0 4px;
293 line-height: 2em;
294 }
295 .datepick-inline .calendar-links .datepick-next{
296 text-align: right;
297 align-items: flex-end
298 }
299 .datepick-inline .calendar-links .datepick-prev a,
300 .datepick-inline .calendar-links .datepick-next a{
301 font-size: 2em;
302 line-height: 2px;
303 position:absolute;
304 z-index:9999;
305 }
306 .datepick-inline .datepick-header {
307 line-height: 40px;
308 padding: 0;
309 }
310 .datepick-inline .datepick-header span{
311 /*font-size: 1.15em;*/
312 /*line-height: 1.2em;*/
313 font-size: 15px; /* FixIn: 9.8.12.1 */
314 line-height: 2em;
315 }
316 /* Week Titles height */
317 div.datepick-inline .datepick-title-row th{
318 height: auto !important;
319 line-height: 2.18182;
320 }
321 /* Links: NO UNDERLINE, Cursor - Pointer */
322 .datepick-inline .calendar-links .datepick-prev a,
323 .datepick-inline .calendar-links .datepick-next a,
324 .datepick-inline .calendar-links .datepick-prev a:hover,
325 .datepick-inline .calendar-links .datepick-next a:hover,
326 .datepick-inline .datepick-days-cell,
327 .datepick-inline .datepick-days-cell.timespartly.date_approved,
328 .datepick-inline .datepick-days-cell.timespartly.date2approve,
329 .datepick-inline .datepick-days-cell a,
330 .datepick-inline .datepick-days-cell a:hover, /* FixIn: 5.4.5.9 */
331 .block_hints .block_free a,
332 .block_hints .block_free a:hover,
333 .block_hints .block_time a,
334 .block_hints .block_time a:hover {
335 text-decoration: none;
336 cursor: pointer;
337 box-shadow: none; /* FixIn: 5.4.5.9 */
338 outline: none; /* FixIn: 9.3.1.4 */
339 text-shadow: none; /* FixIn: 9.3.1.4 */
340 }
341 .datepick-inline .datepick-days-cell.datepick-unselectable, /* Default cursor for the unvailbale dates */
342 .datepick-inline .datepick-days-cell.datepick-unselectable a,
343 .datepick-inline .datepick-days-cell.datepick-unselectable a:hover,
344 .datepick-inline .datepick-days-cell.date_approved,
345 .datepick-inline .datepick-days-cell.date2approve{
346 cursor: default;
347 }
348 /* ALIGN: Header */
349 .datepick-inline .datepick-header{
350 text-align: center;
351 position: relative;
352 }
353 /* ALIGN: Cells and set standard width */
354 .datepick-inline .datepick-title-row th,
355 .datepick-inline .datepick-days-cell{
356 text-align: center;
357 vertical-align: middle;
358 width: 14.28571429%;
359 overflow: hidden;
360 }
361 /* Fix to show calendar day cell borders with correct thickness */
362 .datepick-inline .datepick-days-cell{
363 overflow: visible;
364 }
365 .datepick-inline .datepick-days-cell a,
366 .datepick-inline .datepick-days-cell span{ /* FixIn: 6.0.1.2 */
367 position:relative;
368 z-index: 99;
369 }
370 /* // FixIn: 10.9.4.3 Fix padding in TD / TH in some themes. 2024-12-31 */
371 .datepick-inline table.datepick th,
372 .datepick-inline table.datepick td {
373 padding: 0 !important;
374 }
375
376 /*******************************************************************************/
377 /* Check In / Out Times ************************************************/
378 /*******************************************************************************/
379 .block_hints .block_check_in_out.check_in_time, /* Item for the LEGEND */
380 .datepick-inline .timespartly.check_in_time, /* If we are using the Check in/out time, so hide the CLOCK icon */
381 .datepick-inline .timespartly.check_out_time {
382 background-image: none;
383 }
384 /* Backgrounds */
385 .block_hints .block_check_in_out.check_in_time div.check-in-div, /* Item for the LEGEND */
386 .block_hints .block_check_in_out.check_out_time div.check-out-div, /* Item for the LEGEND */
387 td.timespartly.check_in_time div.check-in-div, /* Define the check in/out time BACKGROUND */
388 td.timespartly.check_out_time div.check-out-div {
389 border: 0px none;
390 float: left;
391 height: 200%;
392 margin-bottom: -400%;
393 position: relative;
394 top: -50%;
395 vertical-align: bottom;
396 width: 20%;
397 z-index: 0;
398 }
399 /*FixIn: 7.0.1.19 Beta Feature not tested enough! Support: Chrome 36.0+, MS IE 10.0+, Firefox 16.0+, Safari 9.0+, Opera 23.0+ */
400 .block_hints .block_check_in_out.check_in_time a, /* Item for the LEGEND */
401 .block_hints .block_check_in_out.check_out_time a, /* Item for the LEGEND */
402 td.timespartly.check_in_time a, /* Define the check in/out time BACKGROUND */
403 td.timespartly.check_out_time a {
404 text-shadow:none;
405 }
406 .block_hints .block_check_in_out.check_in_time em { /* FixIn: 7.0.1.37 Correct positioning of text in legend */
407 position: relative;
408 font-style: normal;
409 text-shadow: none;
410 }
411 /* Shift days numbers to the left | right for showing them in triangles */
412 /*
413 .block_hints .block_check_in_out.check_out_time a,
414 td.timespartly.check_out_time a {
415 margin-left: -50%;
416 }
417 .block_hints .block_check_in_out.check_in_time a,
418 td.timespartly.check_in_time a{
419 margin-right: -50%;
420 }*/
421 .wpbc_change_over_triangle .block_hints .block_check_in_out.check_in_time div.check-in-div, /* Item for the LEGEND */
422 .wpbc_change_over_triangle td.timespartly.check_in_time div.check-in-div { /* Define the check in/out time BACKGRUND */
423 height: 300%;
424 margin-bottom: -400%;
425 top: -50%;
426 width: 100% !important;
427 transform: rotate(45deg) translate(-100%,-10%)
428 }
429 .wpbc_change_over_triangle .block_hints .block_check_in_out.check_in_time div.check-in-div {
430 transform: rotate(45deg) translate(-85%,-10%)
431 }
432 .wpbc_change_over_triangle .block_hints .block_check_in_out.check_out_time div.check-out-div, /* Item for the LEGEND */
433 .wpbc_change_over_triangle td.timespartly.check_out_time div.check-out-div {
434 height: 300%;
435 margin-bottom: -400%;
436 top: -50%;
437 width: 100% !important;
438 transform: rotate(-135deg) translate(0,10%);
439 }
440 .wpbc_change_over_triangle2 .block_hints .block_check_in_out.check_in_time div.check-in-div, /* Item for the LEGEND */
441 .wpbc_change_over_triangle2 td.timespartly.check_in_time div.check-in-div { /* Define the check in/out time BACKGRUND */
442 height: 300%;
443 margin-bottom: -400%;
444 top: -50%;
445 width: 100% !important;
446 transform: rotate(-45deg) translate(0,-10%);
447 }
448 .wpbc_change_over_triangle2 .block_hints .block_check_in_out.check_in_time div.check-in-div {
449 transform: rotate(-45deg) translate(-15%,-10%);
450 }
451 .wpbc_change_over_triangle2 .block_hints .block_check_in_out.check_out_time div.check-out-div, /* Item for the LEGEND */
452 .wpbc_change_over_triangle2 td.timespartly.check_out_time div.check-out-div {
453 height: 300%;
454 margin-bottom: -400%;
455 top: -50%;
456 width: 100% !important;
457 transform: rotate(135deg) translate(-100%,10%);
458 }
459 /*FixIn: 7.0.1.19 */
460 .block_hints .block_check_in_out.check_out_time div.check-out-div, /* Item for the LEGEND */
461 td.timespartly.check_out_time div.check-out-div { /* Define the check out position */
462 float: right;
463 }
464
465 td.timespartly.check_in_time.check_out_time div.check-in-div, /* If we are have Together the check in and check out times, so this date is booked.*/
466 td.timespartly.check_in_time.check_out_time div.check-out-div {
467 display: none;
468 }
469
470 /* HIDE check in/out elements, when: CELL OVER | DATE SELECTED | CHECK IN Date Selected */
471 /*.datepick-inline .datepick .datepick-unselectable.check_in_time div.check-in-div,
472 .datepick-inline .datepick .datepick-unselectable.check_out_time div.check-out-div,*/ /*FixIn: 7.0.1.19 */
473 .datepick-inline .datepick .datepick-days-cell-over.check_in_time div.check-in-div,
474 .datepick-inline .datepick .datepick-days-cell-over.check_out_time div.check-out-div,
475 .datepick-inline .datepick .datepick-current-day.check_in_time div.check-in-div,
476 .datepick-inline .datepick .datepick-current-day.check_out_time div.check-out-div{
477 display: none;
478 visibility: hidden;
479 }
480 /* Check In Pending & Check Out Approved || Check Out Pending & Check In Approved || dates //FixIn: 6.0.1.2 */
481 td.timespartly.check_in_time.check_out_time.check_in_time_date_approved.check_out_time_date2approve div.check-in-div,
482 td.timespartly.check_in_time.check_out_time.check_out_time_date_approved.check_in_time_date2approve div.check-out-div,
483 td.timespartly.check_in_time.check_out_time.check_in_time_date2approve.check_out_time_date_approved div.check-in-div,
484 td.timespartly.check_in_time.check_out_time.check_out_time_date2approve.check_in_time_date_approved div.check-out-div {
485 display: block;
486 visibility: visible;
487 width: 50%;
488 float: left;
489 }
490 td.timespartly.check_in_time.check_out_time.check_out_time_date_approved.check_in_time_date2approve div.check-out-div,
491 td.timespartly.check_in_time.check_out_time.check_out_time_date2approve.check_in_time_date_approved div.check-out-div {
492 float: right;
493 }
494 td.timespartly.check_in_time.check_out_time.check_in_time_date_approved.check_out_time_date2approve span,
495 td.timespartly.check_in_time.check_out_time.check_out_time_date_approved.check_in_time_date2approve span,
496 td.timespartly.check_in_time.check_out_time.check_in_time_date_approved.check_out_time_date2approve div,
497 td.timespartly.check_in_time.check_out_time.check_out_time_date_approved.check_in_time_date2approve div {
498 cursor: default;
499 }
500
501 /*******************************************************************************/
502 /* Set correct FONT of unselectable elements, when the check in date is selected */
503 /*******************************************************************************/
504 .datepick-inline .datepick .datepick-unselectable.check_in_time.date_approved,
505 .datepick-inline .datepick .datepick-unselectable.check_out_time.date_approved,
506 .datepick-inline .datepick .datepick-unselectable.check_in_time.date2approve,
507 .datepick-inline .datepick .datepick-unselectable.check_out_time.date2approve {
508 /* background-color: transparent;*/ /*FixIn: 7.0.1.19 */
509 /* font-weight: 400;*/ /*FixIn: 9.5.0.2 */
510 }
511
512 /*******************************************************************************/
513 /* W I D G E T **************************************************/
514 /*******************************************************************************/
515 /* Set HEIGHT of the CELLs in the Widget */
516 .widget_wpdev_booking .hasDatepick .datepick-inline .datepick-title-row th,
517 .widget_wpdev_booking .hasDatepick .datepick-inline .datepick-days-cell{
518 height: 48px;
519 }
520 /* Set calendar WIDTH and MARGIN in Widget */
521 .widget_wpdev_booking .bk_calendar_frame{
522 margin: 0 2%;
523 width: 96% !important;
524 max-width: 96% !important; /* //FixIn: 9.6.2.1 */
525 min-width: 96% !important;
526 }
527 .widget_wpdev_booking .wpbc__row .bk_calendar_frame,
528 .widget_wpdev_booking .wpbc__field .bk_calendar_frame{
529 margin: 0;
530 width: 100% !important;
531 max-width: 100% !important;
532 min-width: 100% !important;
533 }
534 /* LEGEND items show in 2 rows in Widget */
535 .widget_wpdev_booking .wpdev_hint_with_text{
536 float: left;
537 margin: 0;
538 width: 50% !important;
539 }
540 /* Set the WIDTH and MARGIN of the form FIELDS in Widget */
541 .widget_wpdev_booking input,
542 .widget_wpdev_booking select,
543 .widget_wpdev_booking textarea,
544 .widget_wpdev_booking .wpdevelop input,
545 .widget_wpdev_booking .wpdevelop select,
546 .widget_wpdev_booking .wpdevelop textarea,
547 div#datepick-div input,
548 div#datepick-div select,
549 div#datepick-div textarea {
550 width: 96%;
551 margin: auto;
552 }
553 /* SELECT BUTTON and CHECKBOX fields have the Auto Width in Widget */
554 /*.widget_wpdev_booking select,*/
555 .widget_wpdev_booking input[type=button],
556 .widget_wpdev_booking input[type=checkbox]{
557 width:auto;
558 }
559
560 /*******************************************************************************/
561 /* Legend of days, which is shown under calendar *******************************/
562 /*******************************************************************************/
563 /* Full Legend Frame */
564 .block_hints {
565 display:flex;
566 flex-flow:row wrap;
567 justify-content:flex-start;
568 align-items:flex-start;
569 }
570 /* Date CELL with TEXT description */
571 .block_hints .wpdev_hint_with_text {
572 flex: 0 0 auto;
573
574 display:flex;
575 flex-flow:row nowrap; /* FixIn: 9.5.0.3 */
576 justify-content:flex-start;
577 align-items:center;
578 max-width: 100%; /* FixIn: 9.5.0.3 */
579 margin: 7px 15px 7px 0;
580 }
581 .wpdev_hint_with_text .datepick-inline td.datepick-days-cell .wpbc-cell-box {
582 /*width: 100%;*/
583 }
584 /* Vertical orientation of Legend items */
585 .block_hints_vertical.block_hints .wpdev_hint_with_text {
586 flex: 0 0 100%;
587 }
588 /* Legend cell boxes and text */
589 .block_hints .wpdev_hint_with_text > * {
590 flex: 0 1 auto;
591 }
592 /* Text Labels of Legend */
593 .block_hints .wpdev_hint_with_text .block_text {
594 margin-left:5px;
595 }
596 /* Dates CELL of Legend */
597 .block_check_in_out,
598 .block_pending,
599 .block_time,
600 .block_booked,
601 .block_free {
602 /*float: left;*/
603 width: 30px;
604 height: 30px;
605 line-height: 28px;
606 border: 1px solid #FEA;
607 text-align: center;
608 vertical-align: middle;
609 overflow: hidden;
610 }
611 /* Font size for the TEXT in CELLa of Legend */
612 .block_pending a,
613 .block_time a,
614 .block_booked a,
615 .block_free a,
616 .block_pending,
617 .block_time,
618 .block_booked,
619 .block_free ,
620 .wpdev_hint_with_text .block_check_in_out {
621 font-size: 13px;
622 font-weight: 400;
623 }
624 /* Clear Line */
625 .wpdev_clear_hint{
626 height:1px;
627 width:100%;
628 clear:both;
629 }
630 /* Day Rates. Additional info at the top and bottom of the day cell. */
631 .datepick-inline .datepick-days-cell div.date-content-bottom,
632 .datepick-inline .datepick-days-cell div.date-content-top {
633 font-size:0.7em;
634 font-style: normal;
635 line-height: 0.72em;
636 text-align: center;
637 padding:0;
638 width:100%;
639 text-shadow:none;
640 position: relative;
641 }
642 .datepick-inline .datepick-days-cell div.date-content-top div{
643 line-height: 40%;
644 }
645 /*******************************************************************************/
646 /* Responsive Design For Mobile Devices ****************************************/
647 /*******************************************************************************/
648 @media (max-width: 782px) {
649 div.bk_calendar_frame:not(.cal_month_num_1) { /* Define the width of calendar to the 100% of the device screen*/ /* //FixIn: 9.6.2.1 */
650 width: 100% !important;
651 max-width: 100% !important;
652 }
653 }
654 @media (max-width: 400px) {
655 div.bk_calendar_frame.cal_month_num_1 {
656 width: 100% !important;
657 max-width: 100% !important;
658 }
659 .datepick-inline .datepick-one-month { /* Show Only 1 month in a row */
660 width:100%;
661 }
662 }
663
664 /*@media (max-width: 782px) {*/
665 /* .booking_form_div input[type="text"],*/
666 /* .booking_form_div select,*/
667 /* .booking_form_div textarea {*/
668 /* width: 100% !important;*/
669 /* min-width: 100% !important;*/
670 /* }*/
671 /*}*/
672
673 /*******************************************************************************/
674 /* T I M E S L O T S AS D.O.T.S //FixIn: 8.9.4.13 */
675 /*******************************************************************************/
676 .datepick-inline .datepick-days-cell .date-cell-content {
677 display: flex;
678 flex-flow: column nowrap;
679 justify-content: flex-start;
680 align-items: stretch;
681 width: 100%;
682 height: 100%;
683 }
684 .datepick-inline .datepick-days-cell .date-cell-content .date-content-top,
685 .datepick-inline .datepick-days-cell .date-cell-content .date-content-bottom {
686 flex: 1 1 35%;
687 line-height: normal;
688
689 display: flex;
690 flex-flow:column nowrap;
691 justify-content: space-between;
692 align-items: center;
693 }
694 /** == In date hint - Availability == ------------------------------------------------------------------------------ */
695 .datepick-inline .datepick-days-cell .date-cell-content span.wpbc_in_date_hint__availability {
696 display: flex;
697 flex-flow: row nowrap;
698 justify-content: center;
699 align-items: baseline;
700 overflow: hidden;
701 }
702 .datepick-inline .datepick-days-cell .date-cell-content span.wpbc_in_date_hint__cost,
703 .datepick-inline .datepick-days-cell .date-cell-content span.wpbc_in_date_hint__availability * {
704 font-size: Max(8px, var(--wpbc_cal-text-cost-size, 0.7em));
705 line-height: 1;
706 display: flex;
707 flex-flow: column nowrap;
708 align-items: center;
709 justify-content: center;
710 }
711 .datepick-inline .datepick-days-cell .date-cell-content span.wpbc_in_date_hint__availability .wpbc_in_date_hint__availability_number{
712 font-weight: 600;
713 }
714 /** == End In date hint - Availability == -------------------------------------------------------------------------- */
715 .datepick-inline .datepick-days-cell .date-cell-content a,
716 .datepick-inline .datepick-days-cell .date-cell-content span {
717 flex: 1 1 30%;
718 display: flex;
719 flex-flow: column nowrap;
720 align-items: center;
721 justify-content: center;
722 }
723 .datepick-inline .timespartly .date-content-top{
724 display: flex;
725 flex-flow: row nowrap;
726 align-items: center;
727 overflow: hidden;
728 }
729 .datepick-inline .timespartly .date-content-top .wpbc_time_dots{
730 flex: 1 1 1px;
731 font-size: 20px;
732
733 position: absolute;
734 display: flex;
735 flex-flow: column nowrap;
736 align-items: center;
737 width: 100%;
738 }
739 /*******************************************************************************/
740 /* CHECK IN / OUT as P.O.L.Y.G.O.N.S //FixIn: 8.9.4.13 */
741 /*******************************************************************************/
742 /* Table Day Cell div boundary element */
743 .datepick-inline td.datepick-days-cell .wpbc-cell-box {
744 position: relative;
745 width: 100%;
746 height: 100%;
747 padding: 0;
748 margin: 0;
749 }
750 .wpbc-cell-box .wpbc-diagonal-el {
751 display: none; /* Do not visible by default ! */
752 position:absolute; /* Important to have parent element with "position: relative;" !!! */
753 top: 0;
754 left: 0;
755 width: 100%;
756 height: 100%;
757 box-sizing: border-box;
758 }
759 .wpbc-cell-box .wpbc-diagonal-el svg {
760 position: absolute;
761 top: 0;
762 left: 0;
763 width: 100%;
764 height: 100%;
765 }
766
767 /* Show Vertical Lines */
768 .wpbc-cell-box .wpbc-diagonal-el svg polygon:nth-child(1){
769 display: none;
770 }
771 .wpbc-cell-box .wpbc-diagonal-el svg polygon:nth-child(2){
772 display: block;
773 }
774 /* Show Diagonal Lines */
775 .wpbc_change_over_triangle .wpbc-cell-box .wpbc-diagonal-el svg polygon:nth-child(1){
776 display: block;
777 }
778 .wpbc_change_over_triangle .wpbc-cell-box .wpbc-diagonal-el svg polygon:nth-child(2){
779 display: none;
780 }
781 /* *** Fill diagonal COLOR for check in/out items in calendar skins: .wpbc-cell-box .wpbc-diagonal-el svg polygon{...} */
782 /* Show CO item only when we are have check in / out */
783 .datepick-inline td.datepick-days-cell.check_in_time .wpbc-cell-box .wpbc-diagonal-el,
784 .datepick-inline td.datepick-days-cell.check_out_time .wpbc-cell-box .wpbc-diagonal-el {
785 display: block;
786 }
787 /* Hide Times DOTs, when we are have "check in / out" Activated */
788 .datepick-inline td.datepick-days-cell.check_in_time .wpbc-cell-box .date-content-top,
789 .datepick-inline td.datepick-days-cell.check_out_time .wpbc-cell-box .date-content-top {
790 visibility: hidden;
791 }
792 /* When "C e l l O V E R" -- hide diagonal */
793 .datepick-inline .datepick td.datepick-days-cell.datepick-days-cell-over .wpbc-cell-box .wpbc-diagonal-el{
794 display: none;
795 }
796 /* S E L E C T E D Dates */
797 .datepick-inline .datepick-one-month .datepick td.datepick-days-cell.datepick-current-day .wpbc-cell-box .wpbc-diagonal-el{
798 display: none;
799 }
800 .check-in-div, .check-out-div {
801 display: none !important;
802 }
803 /** // FixIn:9.3.1.8
804 * Fix border width issue in Chrome browser
805 * https://stackoverflow.com/questions/71674803/html-tables-has-a-weird-bold-horizontal-line-due-to-border-collapse-property/71703247#71703247
806 */
807 div.datepick-inline table.datepick {
808 border-collapse: collapse !important;;
809 border-spacing: 0 !important;;
810 border-color: transparent !important;;
811 }
812 /* Chrome, Safari, AND NOW ALSO the Edge Browser and Firefox - it's for mobile devices: */
813 @media screen and (-webkit-min-device-pixel-ratio:0) {
814 div.datepick-inline table.datepick,
815 div.datepick-inline table.datepick th,
816 div.datepick-inline table.datepick td {
817 border-width: 0.69px !important;;
818 }
819 }
820 /* Chrome 29+ */
821 @media screen and (-webkit-min-device-pixel-ratio:0) and (min-resolution:.001dpcm) {
822 div.datepick-inline table.datepick,
823 div.datepick-inline table.datepick th,
824 div.datepick-inline table.datepick td {
825 border-width: 0.01px !important;;
826 }
827 }
828 /* iOS */
829 @supports (-webkit-touch-callout: none) {
830 div.datepick-inline table.datepick,
831 div.datepick-inline table.datepick th,
832 div.datepick-inline table.datepick td {
833 border-width: 0.68px !important;;
834 }
835 }
836 /* Chrome 22-28 *
837 @media screen and(-webkit-min-device-pixel-ratio:0) {
838 div.datepick-inline table.datepick {-chrome-:only(;
839 border-width: 0.01px;
840 );}
841 div.datepick-inline table.datepick th {-chrome-:only(;
842 border-width: 0.01px;
843 );}
844 div.datepick-inline table.datepick td {-chrome-:only(;
845 border-width: 0.01px !important;;
846 );}
847 }
848 */
849
850
851 /* ================================================================================================================== */
852 /* Tooltips Content for calendar *********************************************************************************** */
853 /* ================================================================================================================== */
854
855 /* T o o l t i p :: General Structure */
856 .wpbc_tooltip_section.tooltip__times ,
857 .wpbc_tooltip_section {
858 border-top:1px solid #eee;
859 margin: 7px 0 0;
860 padding: 5px 0 0;
861 font-size: 12px;
862 }
863 .wpbc_tooltip_section:first-child{
864 border:none;
865 margin-top:1px;
866 }
867 /* Description Word */
868 .wpbc_tooltip_section .wpbc_tooltip_title{
869 font-weight: 600;
870 }
871 /* Container of resource(s) */
872 .wpbc_tooltip_section .wpbc_tooltip_resource_container{
873 }
874 /* Resource Name */
875 .wpbc_tooltip_section .wpbc_tooltip_resource_container .wpbc_tooltip_header.tooltip_items_count_2,
876 .wpbc_tooltip_section .wpbc_tooltip_resource_container .wpbc_tooltip_header{
877 font-weight: 600;
878 }
879 /* Option Value */
880 .wpbc_tooltip_section .wpbc_tooltip_resource_container .wpbc_tooltip_item{
881 font-size:0.9em;
882 }
883 /* T o o l t i p :: Details */
884 .tooltip__booking_details.wpbc_tooltip_section .wpbc_tooltip_resource_container .wpbc_tooltip_item{
885 margin-left:20px;
886 }
887 .tooltip__booking_details.wpbc_tooltip_section .wpbc_tooltip_resource_container .wpbc_tooltip_item.tooltip_booked_time {
888 font-weight: 600;
889 font-size:0.85em;
890 }
891 /* T o o l t i p :: Cost -- show in 1 row for */
892 .tooltip__day_cost.wpbc_tooltip_section .wpbc_tooltip_title,
893 .tooltip__day_cost.wpbc_tooltip_section .wpbc_tooltip_resource_container,
894 .tooltip__day_cost.wpbc_tooltip_section .wpbc_tooltip_resource_container .wpbc_tooltip_item {
895 display: inline;
896 }
897 /* T o o l t i p :: Availability -- show in 1 row */
898 .tooltip__availability.wpbc_tooltip_section .wpbc_tooltip_title,
899 .tooltip__availability.wpbc_tooltip_section .wpbc_tooltip_resource_container,
900 .tooltip__availability.wpbc_tooltip_section .wpbc_tooltip_resource_container .wpbc_tooltip_item {
901 display:inline;
902 }
903 /* ================================================================================================================== */
904 /* End Tooltips Content ********************************************************************************************* */
905 /* ================================================================================================================== */
906 /* ================================================================================================================== */
907 /* Calendar Legend Items Size *************************************************************************************** */
908 /* ================================================================================================================== */
909 .block_hints.datepick .wpdev_hint_with_text .wpbc_calendar_legend_table_width_height {
910 border: 0;
911 box-shadow: none;
912 float: left;
913 padding: 0;
914
915 width: var(--wpbc_cal_legend-day-cell-width, 40px) !important;
916 min-width: var(--wpbc_cal_legend-day-cell-width, 40px);
917 height: var(--wpbc_cal_legend-day-cell-height, 40px);
918 }
919 .block_hints.datepick .wpdev_hint_with_text .wpbc_calendar_legend_table_width_height table.datepick.wpbc_calendar,
920 .block_hints.datepick .wpdev_hint_with_text .wpbc_calendar_legend_table_width_height .wpbc_calendar_legend_day_cell_height {
921 height: var(--wpbc_cal_legend-day-cell-height, 40px) !important;
922 width: var(--wpbc_cal_legend-day-cell-width, 40px) !important;
923 max-width: var(--wpbc_cal_legend-day-cell-width, 40px) !important;
924 min-width: var(--wpbc_cal_legend-day-cell-width, 40px) !important;
925 }
926 .block_hints.datepick .wpdev_hint_with_text .wpbc_calendar_legend_table_width_height .datepick-days-cell .date-cell-content a,
927 .block_hints.datepick .wpdev_hint_with_text .wpbc_calendar_legend_table_width_height .datepick-days-cell .date-cell-content span{
928 font-size: var(--wpbc_cal_legend-day-cell-font-size, 12px);
929 }
930 /* ================================================================================================================== */
931 /* Reset differnt CSS conflicts (such as with Elementor) in HTML Tables with Booking Calendar plugin ************** */
932 /* ================================================================================================================== */
933 table.datepick.wpbc_calendar{
934 margin:0;
935 }
936 .datepick-inline thead,
937 .datepick-inline tbody,
938 .datepick-inline tr,
939 .datepick-inline th,
940 .datepick-inline td {
941 background: transparent !important;
942 padding: 0 !important;
943 border-color: transparent !important;
944 }