PluginProbe
Booking Calendar / 10.1.3
Booking Calendar v10.1.3
11.8.2 11.8.1 11.8 11.7 11.6.1 11.6 11.5 11.4.3 11.4.2 11.4.1 11.4 11.3 11.2.1 11.2 11.1 11.0 10.15.7 10.15.6 10.1.3 10.10 10.10.1 10.10.2 10.11 10.11.2 10.11.3 All 202 releases
booking / css / calendar.css

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

854 lines 34.5 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
13 /*******************************************************************************/
14 /* Calendar structure: */
15 /*******************************************************************************/
16 /* WIDTH: of calendar - its FULL width of Month(s) ROW (its NOT only one month) */
17 /*
18 .bk_calendar_frame.cal_month_num_1.months_num_in_row_1
19 .hasDatepick
20 .datepick-inline
21 .calendar-links
22 .datepick-one-month
23 .datepick-one-month , ...
24
25 */
26 /* SIZE: Set width of calendar with several months */ /* FixIn: 9.7.3.4 */
27 /* FixIn: Standard entire calendar WIDTH ============================================================================ */
28 .wpbc_no_custom_width.bk_calendar_frame { width: 100%; min-width:201px; }
29 .wpbc_no_custom_width.cal_month_num_1 { max-width: 341px; }
30 .wpbc_no_custom_width.cal_month_num_2 { max-width: 682px; }
31 .wpbc_no_custom_width.cal_month_num_3 { max-width: 1023px; }
32 .wpbc_no_custom_width.cal_month_num_4 { max-width: 1364px; }
33 .wpbc_no_custom_width.cal_month_num_5 { max-width: 1705px; }
34 .wpbc_no_custom_width.cal_month_num_6 { max-width: 2046px; }
35 .wpbc_no_custom_width.cal_month_num_7 { max-width: 2387px; }
36 .wpbc_no_custom_width.cal_month_num_8 { max-width: 2728px; }
37 .wpbc_no_custom_width.cal_month_num_9 { max-width: 3069px; }
38 .wpbc_no_custom_width.cal_month_num_10 { max-width: 3410px; }
39 .wpbc_no_custom_width.cal_month_num_11 { max-width: 3751px; }
40 .wpbc_no_custom_width.cal_month_num_12 { max-width: 4092px; }
41 /* FixIn: Override width, if defined number of Months in a ROW ====================================================== */
42 .wpbc_no_custom_width.months_num_in_row_1 { max-width: 341px; }
43 .wpbc_no_custom_width.months_num_in_row_2 { max-width: 682px; }
44 .wpbc_no_custom_width.months_num_in_row_3 { max-width: 1023px; }
45 .wpbc_no_custom_width.months_num_in_row_4 { max-width: 1364px; }
46 .wpbc_no_custom_width.months_num_in_row_5 { max-width: 1705px; }
47 .wpbc_no_custom_width.months_num_in_row_6 { max-width: 2046px; }
48 /* FixIn: 9.8.12.1 - Min. WIDTH of all parent calendar tags ======================================================== */
49 .booking_form_div,
50 .wpbc_booking_form_structure,
51 .wpbc_structure_calendar,
52 .wpbc_calendar_wraper,
53 .wpbc_no_custom_width.bk_calendar_frame {
54 /*min-width: 173px;*/
55 /*min-width: Min(244px, 100%);*/
56 }
57 .wpbc_calendar_wraper{
58 min-width: 341px;
59 min-width: Min(341px, 100%);
60 }
61 /* FixIn: 9.8.3.1 - Min. WIDTH of calendar One Month, before Wrap to next ROW ====================================== */
62 .bk_calendar_frame .datepick-inline,
63 .bk_calendar_frame .datepick-one-month {
64 width: 100%;
65 }
66 .bk_calendar_frame .datepick-inline {
67 min-width: 173px;
68 min-width: Min(244px, 100%);
69 }
70 .bk_calendar_frame .datepick-one-month {
71 min-width: 169px;
72 min-width: Min(240px, 100%);
73 }
74 /* For small devices always set to full width screen */
75 @media (max-width: 400px) {
76 .bk_calendar_frame .datepick-inline{
77 min-width: 100%;
78 min-width: Max(100%, 201px);
79 }
80 .bk_calendar_frame .datepick-one-month{
81 min-width: 100%;
82 min-width: Max(100%, 195px);
83 }
84 }
85
86 /* FixIn: Your Customizations: Min. width of One Month in Calendar, before it start Wrap to next ROW ============ */
87 /*
88 Example of CSS for 280px: previously defined as: Min(240px, 100%);
89
90 .bk_calendar_frame .datepick-inline { min-width: Min(284px, 100%); }
91 .bk_calendar_frame .datepick-one-month { min-width: Min(280px, 100%); }
92
93 */
94
95 /* FixIn: 9.8.4.1 - container calendar font for small sections =================================================== */
96 /* @container(){...}: Mini Calendar @container queries - Change calendar font size, on very narrow sections
97
98 @CONTAINER()
99
100 Example: container: wpbc_c__datepick-one-month / inline-size;
101
102 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
103
104 'inline-size' - inline-size - Refers to the physical width (horizontal dimension) in horizontal modes, and to the physical height (vertical dimension) in vertical modes.
105 'size' - block size - Refers to the physical height (vertical dimension) in horizontal modes, and to the physical width (horizontal dimension) in vertical modes.
106 'normal' - default - NOT_A_CONTAINER_SIZE_QUERIES, it is query container STYLE queries.
107
108 CLAMP()
109
110 Calculator: https://www.marcbacon.com/tools/clamp-calculator/
111 Example:
112 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 )
113 font-size: clamp(0.563rem, 0.273rem + 5.455cqi, 0.75rem);
114 */
115 .datepick-one-month {
116 container: wpbc_c__datepick-one-month / inline-size;
117 }
118 /* For less than 140px of calendar month */
119 @container wpbc_c__datepick-one-month (inline-size < 140px) {
120 /* Month Table */
121 div.datepick-one-month table.datepick.wpbc_calendar *{
122 font-size: clamp(0.375rem, -0.205rem + 10.909cqi, 0.75rem);
123 }
124 }
125 .datepick-inline {
126 container: wpbc_c__datepick-inline / inline-size;
127 }
128 /* For less than 140px of calendar month */
129 @container wpbc_c__datepick-inline (inline-size < 140px) {
130 /* Month Titles */
131 div.datepick-one-month .datepick-header{
132 /* 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 ) */
133 font-size: clamp(0.563rem, 0.273rem + 5.455cqi, 0.75rem);
134 }
135 /* Prior | Next Links */
136 .calendar-links * {
137 font-size: clamp(0.438rem, -0.045rem + 9.091cqi, 0.75rem);
138 }
139 }
140
141 /* ================================================================================================================== */
142
143 /* ROWS for Calendar Months :: ------------------- 1 to 12 months with combination of showing several months in a row */
144 .bk_calendar_frame.months_num_in_row_1 .datepick-one-month, /* Specific number of months in a row. Please check more in FAQ.*/
145 .datepick-one-month { /* General */
146 flex: 1 1 100%;
147 }
148 .bk_calendar_frame.months_num_in_row_2 .datepick-one-month, /* Specific number of months in a row. Please check more in FAQ.*/
149 .cal_month_num_2 .datepick-one-month { /* General */
150 flex: 1 1 50%;
151 }
152 .bk_calendar_frame.months_num_in_row_3 .datepick-one-month, /* Specific number of months in a row. Please check more in FAQ.*/
153 .cal_month_num_3 .datepick-one-month { /* General */
154 flex: 1 1 33.333333333333333%;
155 }
156 .bk_calendar_frame.months_num_in_row_4 .datepick-one-month, /* Specific number of months in a row. Please check more in FAQ.*/
157 .cal_month_num_4 .datepick-one-month { /* General */
158 flex: 1 1 25%;
159 }
160 .bk_calendar_frame.months_num_in_row_5 .datepick-one-month, /* Specific number of months in a row. Please check more in FAQ.*/
161 .cal_month_num_5 .datepick-one-month { /* General */
162 flex: 1 1 20%;
163 }
164 .bk_calendar_frame.months_num_in_row_6 .datepick-one-month, /* Specific number of months in a row. Please check more in FAQ.*/
165 .cal_month_num_6 .datepick-one-month { /* General */
166 flex: 1 1 16.6666666666666%;
167 }
168 .cal_month_num_7 .datepick-one-month {
169 flex: 1 1 14.28571429%;
170 }
171 .cal_month_num_8 .datepick-one-month {
172 flex: 1 1 12.5%;
173 }
174 .cal_month_num_9 .datepick-one-month {
175 flex: 1 1 11.11111111%;
176 }
177 .cal_month_num_10 .datepick-one-month {
178 flex: 1 1 10%;
179 }
180 .cal_month_num_11 .datepick-one-month {
181 flex: 1 1 9.0909090909090909%;
182 }
183 .cal_month_num_12 .datepick-one-month {
184 flex: 1 1 8.333333333333333%;
185 }
186 /* ------------------------------------------------------------------------------------------------------------------ */
187 .bk_calendar_frame { /* FixIn: 9.3.1.4 */
188 position: relative;
189 }
190 .datepick-inline {
191 width:100%; /* Override the width of the calendar, which is set datepicker JS */ /* FixIn: 9.7.3.4 */
192 display: flex;
193 flex-flow: row wrap;
194 justify-content: center;
195 align-items: center;
196 padding: 1px; /* Outer padding in calendar. */
197 z-index: 10000;
198 }
199 .datepick-inline .datepick-one-month {
200 padding: 2px; /* Padding between months. */
201 box-sizing: border-box; /* FixIn: 9.6.1.6 */
202 }
203 /* HEIGHT: of C E L L S */
204 .datepick-inline .datepick-title-row th,
205 .datepick-inline .datepick-days-cell{
206 height: 48px;
207 }
208 @media (max-width: 400px) {
209 div.datepick-inline table .datepick-title-row th,
210 div.datepick-inline table .datepick-days-cell{
211 height: 40px !important;
212 }
213 }
214 /* HEIGHT: of C E L L S in POPUP calendar */
215 #datepick-div.datepick-inline .datepick-title-row th,
216 #datepick-div.datepick-inline .datepick-days-cell{
217 height: 35px;
218 }
219
220 /*******************************************************************************/
221 /* S T R U C T U R E & S i z e s ****************************************/
222 /*******************************************************************************/
223 /*RESET: Width, margin, padding */
224 div.check-out-div,
225 div.check-in-div,
226 div.date-content-top,
227 div.date-content-bottom{
228 width: 0;
229 height: 0;
230 padding: 0;
231 margin: 0;
232 }
233
234 /* RESET: Font sizes, padding, margin */
235 .datepick-inline .datepick, /* Month table */
236 .datepick-inline .datepick-header, /* Month header */
237 .datepick-inline .datepick-header span, /* Header span */
238 .datepick-inline .calendar-links, /* Prev Next months */
239 .datepick-inline .calendar-links a, /* Prev Next links */
240 .datepick-inline .datepick-days-cell, /* Date cell */
241 .datepick-inline .datepick-days-cell a, /* Active date cell */
242 .datepick-inline .datepick-days-cell div, /* Cehck in/out */
243 .datepick-inline .datepick-title-row, /* Week row */
244 .datepick-inline .datepick-title-row th { /* Week cell */
245 padding: 0;
246 margin: 0;
247 font-size:12px;
248 border: 0 none;
249 vertical-align: baseline;
250 }
251 .datepick-inline .datepick, /* Month table */
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 line-height: 1.4;
258 }
259 #content .datepick-days-cell, /* Reset the padding in TD and TH elements of calendar to prevent conflict with some WP themes */
260 #content .datepick-title-row th{
261 padding: 0;
262 margin: 0;
263 }
264 /* RESET: width to 100% */
265 .datepick-inline .datepick,
266 .datepick-inline .datepick-header{
267 width:100%;
268 }
269
270 /* STRUCTURE: Previous & Next month links */ /* FixIn: 9.3.1.4 */
271 .datepick-inline .calendar-links{
272 display:flex;
273 flex-flow: row nowrap;
274 justify-content: flex-start;
275 align-items: center;
276 width:100%;
277 height:40px;
278 margin-bottom: -40px;
279 }
280 .datepick-inline .calendar-links .datepick-prev,
281 .datepick-inline .calendar-links .datepick-next {
282 flex: 1 1 100%;
283 display: flex;
284 flex-flow: column nowrap;
285 justify-content: flex-end;
286 align-items: flex-start;
287 margin: 0 4px;
288 line-height: 2em;
289 }
290 .datepick-inline .calendar-links .datepick-next{
291 text-align: right;
292 align-items: flex-end
293 }
294 .datepick-inline .calendar-links .datepick-prev a,
295 .datepick-inline .calendar-links .datepick-next a{
296 font-size: 2em;
297 line-height: 2px;
298 position:absolute;
299 z-index:9999;
300 }
301 .datepick-inline .datepick-header {
302 line-height: 40px;
303 padding: 0;
304 }
305 .datepick-inline .datepick-header span{
306 /*font-size: 1.15em;*/
307 /*line-height: 1.2em;*/
308 font-size: 15px; /* FixIn: 9.8.12.1 */
309 line-height: 2em;
310 }
311 /* Week Titles height */
312 div.datepick-inline .datepick-title-row th{
313 height: auto !important;
314 line-height: 2.18182;
315 }
316 /* Links: NO UNDERLINE, Cursor - Pointer */
317 .datepick-inline .calendar-links .datepick-prev a,
318 .datepick-inline .calendar-links .datepick-next a,
319 .datepick-inline .calendar-links .datepick-prev a:hover,
320 .datepick-inline .calendar-links .datepick-next a:hover,
321 .datepick-inline .datepick-days-cell,
322 .datepick-inline .datepick-days-cell.timespartly.date_approved,
323 .datepick-inline .datepick-days-cell.timespartly.date2approve,
324 .datepick-inline .datepick-days-cell a,
325 .datepick-inline .datepick-days-cell a:hover, /* FixIn: 5.4.5.9 */
326 .block_hints .block_free a,
327 .block_hints .block_free a:hover,
328 .block_hints .block_time a,
329 .block_hints .block_time a:hover {
330 text-decoration: none;
331 cursor: pointer;
332 box-shadow: none; /* FixIn: 5.4.5.9 */
333 outline: none; /* FixIn: 9.3.1.4 */
334 text-shadow: none; /* FixIn: 9.3.1.4 */
335 }
336 .datepick-inline .datepick-days-cell.datepick-unselectable, /* Default cursor for the unvailbale dates */
337 .datepick-inline .datepick-days-cell.datepick-unselectable a,
338 .datepick-inline .datepick-days-cell.datepick-unselectable a:hover,
339 .datepick-inline .datepick-days-cell.date_approved,
340 .datepick-inline .datepick-days-cell.date2approve{
341 cursor: default;
342 }
343 /* ALIGN: Header */
344 .datepick-inline .datepick-header{
345 text-align: center;
346 position: relative;
347 }
348 /* ALIGN: Cells and set standard width */
349 .datepick-inline .datepick-title-row th,
350 .datepick-inline .datepick-days-cell{
351 text-align: center;
352 vertical-align: middle;
353 width: 14.28571429%;
354 overflow: hidden;
355 }
356 .datepick-inline .datepick-days-cell a,
357 .datepick-inline .datepick-days-cell span{ /* FixIn: 6.0.1.2 */
358 position:relative;
359 z-index: 99;
360 }
361
362
363 /*******************************************************************************/
364 /* Check In / Out Times ************************************************/
365 /*******************************************************************************/
366 .block_hints .block_check_in_out.check_in_time, /* Item for the LEGEND */
367 .datepick-inline .timespartly.check_in_time, /* If we are using the Check in/out time, so hide the CLOCK icon */
368 .datepick-inline .timespartly.check_out_time {
369 background-image: none;
370 }
371 /* Backgrounds */
372 .block_hints .block_check_in_out.check_in_time div.check-in-div, /* Item for the LEGEND */
373 .block_hints .block_check_in_out.check_out_time div.check-out-div, /* Item for the LEGEND */
374 td.timespartly.check_in_time div.check-in-div, /* Define the check in/out time BACKGROUND */
375 td.timespartly.check_out_time div.check-out-div {
376 border: 0px none;
377 float: left;
378 height: 200%;
379 margin-bottom: -400%;
380 position: relative;
381 top: -50%;
382 vertical-align: bottom;
383 width: 20%;
384 z-index: 0;
385 }
386 /*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+ */
387 .block_hints .block_check_in_out.check_in_time a, /* Item for the LEGEND */
388 .block_hints .block_check_in_out.check_out_time a, /* Item for the LEGEND */
389 td.timespartly.check_in_time a, /* Define the check in/out time BACKGROUND */
390 td.timespartly.check_out_time a {
391 text-shadow:none;
392 }
393 .block_hints .block_check_in_out.check_in_time em { /* FixIn: 7.0.1.37 Correct positioning of text in legend */
394 position: relative;
395 font-style: normal;
396 text-shadow: none;
397 }
398 /* Shift days numbers to the left | right for showing them in triangles */
399 /*
400 .block_hints .block_check_in_out.check_out_time a,
401 td.timespartly.check_out_time a {
402 margin-left: -50%;
403 }
404 .block_hints .block_check_in_out.check_in_time a,
405 td.timespartly.check_in_time a{
406 margin-right: -50%;
407 }*/
408 .wpbc_change_over_triangle .block_hints .block_check_in_out.check_in_time div.check-in-div, /* Item for the LEGEND */
409 .wpbc_change_over_triangle td.timespartly.check_in_time div.check-in-div { /* Define the check in/out time BACKGRUND */
410 height: 300%;
411 margin-bottom: -400%;
412 top: -50%;
413 width: 100% !important;
414 transform: rotate(45deg) translate(-100%,-10%)
415 }
416 .wpbc_change_over_triangle .block_hints .block_check_in_out.check_in_time div.check-in-div {
417 transform: rotate(45deg) translate(-85%,-10%)
418 }
419 .wpbc_change_over_triangle .block_hints .block_check_in_out.check_out_time div.check-out-div, /* Item for the LEGEND */
420 .wpbc_change_over_triangle td.timespartly.check_out_time div.check-out-div {
421 height: 300%;
422 margin-bottom: -400%;
423 top: -50%;
424 width: 100% !important;
425 transform: rotate(-135deg) translate(0,10%);
426 }
427 .wpbc_change_over_triangle2 .block_hints .block_check_in_out.check_in_time div.check-in-div, /* Item for the LEGEND */
428 .wpbc_change_over_triangle2 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(0,-10%);
434 }
435 .wpbc_change_over_triangle2 .block_hints .block_check_in_out.check_in_time div.check-in-div {
436 transform: rotate(-45deg) translate(-15%,-10%);
437 }
438 .wpbc_change_over_triangle2 .block_hints .block_check_in_out.check_out_time div.check-out-div, /* Item for the LEGEND */
439 .wpbc_change_over_triangle2 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(-100%,10%);
445 }
446 /*FixIn: 7.0.1.19 */
447 .block_hints .block_check_in_out.check_out_time div.check-out-div, /* Item for the LEGEND */
448 td.timespartly.check_out_time div.check-out-div { /* Define the check out position */
449 float: right;
450 }
451
452 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.*/
453 td.timespartly.check_in_time.check_out_time div.check-out-div {
454 display: none;
455 }
456
457 /* HIDE check in/out elements, when: CELL OVER | DATE SELECTED | CHECK IN Date Selected */
458 /*.datepick-inline .datepick .datepick-unselectable.check_in_time div.check-in-div,
459 .datepick-inline .datepick .datepick-unselectable.check_out_time div.check-out-div,*/ /*FixIn: 7.0.1.19 */
460 .datepick-inline .datepick .datepick-days-cell-over.check_in_time div.check-in-div,
461 .datepick-inline .datepick .datepick-days-cell-over.check_out_time div.check-out-div,
462 .datepick-inline .datepick .datepick-current-day.check_in_time div.check-in-div,
463 .datepick-inline .datepick .datepick-current-day.check_out_time div.check-out-div{
464 display: none;
465 visibility: hidden;
466 }
467 /* Check In Pending & Check Out Approved || Check Out Pending & Check In Approved || dates //FixIn: 6.0.1.2 */
468 td.timespartly.check_in_time.check_out_time.check_in_time_date_approved.check_out_time_date2approve div.check-in-div,
469 td.timespartly.check_in_time.check_out_time.check_out_time_date_approved.check_in_time_date2approve div.check-out-div,
470 td.timespartly.check_in_time.check_out_time.check_in_time_date2approve.check_out_time_date_approved div.check-in-div,
471 td.timespartly.check_in_time.check_out_time.check_out_time_date2approve.check_in_time_date_approved div.check-out-div {
472 display: block;
473 visibility: visible;
474 width: 50%;
475 float: left;
476 }
477 td.timespartly.check_in_time.check_out_time.check_out_time_date_approved.check_in_time_date2approve div.check-out-div,
478 td.timespartly.check_in_time.check_out_time.check_out_time_date2approve.check_in_time_date_approved div.check-out-div {
479 float: right;
480 }
481 td.timespartly.check_in_time.check_out_time.check_in_time_date_approved.check_out_time_date2approve span,
482 td.timespartly.check_in_time.check_out_time.check_out_time_date_approved.check_in_time_date2approve span,
483 td.timespartly.check_in_time.check_out_time.check_in_time_date_approved.check_out_time_date2approve div,
484 td.timespartly.check_in_time.check_out_time.check_out_time_date_approved.check_in_time_date2approve div {
485 cursor: default;
486 }
487
488 /*******************************************************************************/
489 /* Set correct FONT of unselectable elements, when the check in date is selected */
490 /*******************************************************************************/
491 .datepick-inline .datepick .datepick-unselectable.check_in_time.date_approved,
492 .datepick-inline .datepick .datepick-unselectable.check_out_time.date_approved,
493 .datepick-inline .datepick .datepick-unselectable.check_in_time.date2approve,
494 .datepick-inline .datepick .datepick-unselectable.check_out_time.date2approve {
495 /* background-color: transparent;*/ /*FixIn: 7.0.1.19 */
496 /* font-weight: 400;*/ /*FixIn: 9.5.0.2 */
497 }
498
499 /*******************************************************************************/
500 /* W I D G E T **************************************************/
501 /*******************************************************************************/
502 /* Set HEIGHT of the CELLs in the Widget */
503 .widget_wpdev_booking .hasDatepick .datepick-inline .datepick-title-row th,
504 .widget_wpdev_booking .hasDatepick .datepick-inline .datepick-days-cell{
505 height: 48px;
506 }
507 /* Set calendar WIDTH and MARGIN in Widget */
508 .widget_wpdev_booking .bk_calendar_frame{
509 margin: 0 2%;
510 width: 96% !important;
511 max-width: 96% !important; /* //FixIn: 9.6.2.1 */
512 min-width: 96% !important;
513 }
514 .widget_wpdev_booking .wpbc__row .bk_calendar_frame,
515 .widget_wpdev_booking .wpbc__field .bk_calendar_frame{
516 margin: 0;
517 width: 100% !important;
518 max-width: 100% !important;
519 min-width: 100% !important;
520 }
521 /* LEGEND items show in 2 rows in Widget */
522 .widget_wpdev_booking .wpdev_hint_with_text{
523 float: left;
524 margin: 0;
525 width: 50% !important;
526 }
527 /* Set the WIDTH and MARGIN of the form FIELDS in Widget */
528 .widget_wpdev_booking input,
529 .widget_wpdev_booking select,
530 .widget_wpdev_booking textarea,
531 .widget_wpdev_booking .wpdevelop input,
532 .widget_wpdev_booking .wpdevelop select,
533 .widget_wpdev_booking .wpdevelop textarea,
534 div#datepick-div input,
535 div#datepick-div select,
536 div#datepick-div textarea {
537 width: 96%;
538 margin: auto;
539 }
540 /* SELECT BUTTON and CHECKBOX fields have the Auto Width in Widget */
541 /*.widget_wpdev_booking select,*/
542 .widget_wpdev_booking input[type=button],
543 .widget_wpdev_booking input[type=checkbox]{
544 width:auto;
545 }
546
547 /*******************************************************************************/
548 /* Legend of days, which is shown under calendar *******************************/
549 /*******************************************************************************/
550 /* Full Legend Frame */
551 .block_hints {
552 display:flex;
553 flex-flow:row wrap;
554 justify-content:flex-start;
555 align-items:flex-start;
556 }
557 /* Date CELL with TEXT description */
558 .block_hints .wpdev_hint_with_text {
559 flex: 0 0 auto;
560
561 display:flex;
562 flex-flow:row nowrap; /* FixIn: 9.5.0.3 */
563 justify-content:flex-start;
564 align-items:center;
565 max-width: 100%; /* FixIn: 9.5.0.3 */
566 margin:10px 15px 5px 0;
567 }
568 /* Vertical orientation of Legend items */
569 .block_hints_vertical.block_hints .wpdev_hint_with_text {
570 flex: 0 0 100%;
571 }
572 /* Legend cell boxes and text */
573 .block_hints .wpdev_hint_with_text > * {
574 flex: 0 1 auto;
575 }
576 /* Text Labels of Legend */
577 .block_hints .wpdev_hint_with_text .block_text {
578 margin-left:5px;
579 }
580 /* Dates CELL of Legend */
581 .block_check_in_out,
582 .block_pending,
583 .block_time,
584 .block_booked,
585 .block_free {
586 /*float: left;*/
587 width: 30px;
588 height: 30px;
589 line-height: 28px;
590 border: 1px solid #FEA;
591 text-align: center;
592 vertical-align: middle;
593 overflow: hidden;
594 }
595 /* Font size for the TEXT in CELLa of Legend */
596 .block_pending a,
597 .block_time a,
598 .block_booked a,
599 .block_free a,
600 .block_pending,
601 .block_time,
602 .block_booked,
603 .block_free ,
604 .wpdev_hint_with_text .block_check_in_out {
605 font-size: 13px;
606 font-weight: 400;
607 }
608 /* Clear Line */
609 .wpdev_clear_hint{
610 height:1px;
611 width:100%;
612 clear:both;
613 }
614 /* Day Rates. Additional info at the top and bottom of the day cell. */
615 .datepick-inline .datepick-days-cell div.date-content-bottom,
616 .datepick-inline .datepick-days-cell div.date-content-top {
617 font-size:0.7em;
618 font-style: italic;
619 line-height: 0.72em;
620 text-align: center;
621 padding:0;
622 width:100%;
623 text-shadow:none;
624 position: relative;
625 }
626 /*******************************************************************************/
627 /* Responsive Design For Mobile Devices ****************************************/
628 /*******************************************************************************/
629 @media (max-width: 782px) {
630 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 */
631 width: 100% !important;
632 max-width: 100% !important;
633 }
634 }
635 @media (max-width: 400px) {
636 div.bk_calendar_frame.cal_month_num_1 {
637 width: 100% !important;
638 max-width: 100% !important;
639 }
640 .datepick-inline .datepick-one-month { /* Show Only 1 month in a row */
641 width:100%;
642 }
643 }
644
645 /*@media (max-width: 782px) {*/
646 /* .booking_form_div input[type="text"],*/
647 /* .booking_form_div select,*/
648 /* .booking_form_div textarea {*/
649 /* width: 100% !important;*/
650 /* min-width: 100% !important;*/
651 /* }*/
652 /*}*/
653
654 /*******************************************************************************/
655 /* T I M E S L O T S AS D.O.T.S //FixIn: 8.9.4.13 */
656 /*******************************************************************************/
657 .datepick-inline .datepick-days-cell .date-cell-content {
658 display: flex;
659 flex-flow: column nowrap;
660 justify-content: flex-start;
661 align-items: stretch;
662 width: 100%;
663 height: 100%;
664 }
665 .datepick-inline .datepick-days-cell .date-cell-content .date-content-top,
666 .datepick-inline .datepick-days-cell .date-cell-content .date-content-bottom {
667 flex: 1 1 35%;
668 line-height: normal;
669 }
670 .datepick-inline .datepick-days-cell .date-cell-content a {
671 flex: 1 1 30%;
672 }
673 .datepick-inline .timespartly .date-content-top{
674 display: flex;
675 flex-flow: row nowrap;
676 align-items: center;
677 overflow: hidden;
678 }
679 .datepick-inline .timespartly .date-content-top .wpbc_time_dots{
680 flex: 1 1 1px;
681 font-size: 20px;
682
683 position: absolute;
684 display: flex;
685 flex-flow: column nowrap;
686 align-items: center;
687 width: 100%;
688 }
689 /*******************************************************************************/
690 /* CHECK IN / OUT as P.O.L.Y.G.O.N.S //FixIn: 8.9.4.13 */
691 /*******************************************************************************/
692 /* Table Day Cell div boundary element */
693 .datepick-inline td.datepick-days-cell .wpbc-cell-box {
694 position: relative;
695 width: 100%;
696 height: 100%;
697 padding: 0;
698 margin: 0;
699 }
700 .wpbc-cell-box .wpbc-diagonal-el {
701 display: none; /* Do not visible by default ! */
702 position:absolute; /* Important to have parent element with "position: relative;" !!! */
703 top: 0;
704 left: 0;
705 width: 100%;
706 height: 100%;
707 box-sizing: border-box;
708 }
709 .wpbc-cell-box .wpbc-diagonal-el svg {
710 position: absolute;
711 top: 0;
712 left: 0;
713 width: 100%;
714 height: 100%;
715 }
716
717 /* Show Vertical Lines */
718 .wpbc-cell-box .wpbc-diagonal-el svg polygon:nth-child(1){
719 display: none;
720 }
721 .wpbc-cell-box .wpbc-diagonal-el svg polygon:nth-child(2){
722 display: block;
723 }
724 /* Show Diagonal Lines */
725 .wpbc_change_over_triangle .wpbc-cell-box .wpbc-diagonal-el svg polygon:nth-child(1){
726 display: block;
727 }
728 .wpbc_change_over_triangle .wpbc-cell-box .wpbc-diagonal-el svg polygon:nth-child(2){
729 display: none;
730 }
731 /* *** Fill diagonal COLOR for check in/out items in calendar skins: .wpbc-cell-box .wpbc-diagonal-el svg polygon{...} */
732 /* Show CO item only when we are have check in / out */
733 .datepick-inline td.datepick-days-cell.check_in_time .wpbc-cell-box .wpbc-diagonal-el,
734 .datepick-inline td.datepick-days-cell.check_out_time .wpbc-cell-box .wpbc-diagonal-el {
735 display: block;
736 }
737 /* Hide Times DOTs, when we are have "check in / out" Activated */
738 .datepick-inline td.datepick-days-cell.check_in_time .wpbc-cell-box .date-content-top,
739 .datepick-inline td.datepick-days-cell.check_out_time .wpbc-cell-box .date-content-top {
740 visibility: hidden;
741 }
742 /* When "C e l l O V E R" -- hide diagonal */
743 .datepick-inline .datepick td.datepick-days-cell.datepick-days-cell-over .wpbc-cell-box .wpbc-diagonal-el{
744 display: none;
745 }
746 /* S E L E C T E D Dates */
747 .datepick-inline .datepick-one-month .datepick td.datepick-days-cell.datepick-current-day .wpbc-cell-box .wpbc-diagonal-el{
748 display: none;
749 }
750 .check-in-div, .check-out-div {
751 display: none !important;
752 }
753 /** // FixIn:9.3.1.8
754 * Fix border width issue in Chrome browser
755 * https://stackoverflow.com/questions/71674803/html-tables-has-a-weird-bold-horizontal-line-due-to-border-collapse-property/71703247#71703247
756 */
757 div.datepick-inline table.datepick {
758 border-collapse: collapse;
759 border-spacing: 0;
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;
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;
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;
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;
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 /* ================================================================================================================== */