PluginProbe
Booking Calendar / 10.15.7
Booking Calendar v10.15.7
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 10.11.4 All 201 releases
booking / css / calendar.css

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

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