PluginProbe
Booking Calendar / 11.0
Booking Calendar v11.0
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 10.11.4 10.12.0 10.12.1 All 199 releases
booking / css / calendar.css

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

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