| 1 |
/*******************************************************************************/ |
| 2 |
/* Booking Manager Respondive CSS *******************************************/ |
| 3 |
/*******************************************************************************/ |
| 4 |
|
| 5 |
/*******************************************************************************/ |
| 6 |
/* C O N F I G */ |
| 7 |
/*******************************************************************************/ |
| 8 |
/* WIDTH: of CALENDARs - its FULL width of Month(s) ROW (its NOT only one month) */ |
| 9 |
.datepick-inline { |
| 10 |
width:100% !important; /* Overrride the width of the calendar, which is set datepicker JS */ |
| 11 |
z-index: 10000; |
| 12 |
} |
| 13 |
/* HEIGHT: of C E L L S */ |
| 14 |
.datepick-inline .datepick-title-row th, |
| 15 |
.datepick-inline .datepick-days-cell{ |
| 16 |
height: 40px; |
| 17 |
} |
| 18 |
/* HEIGHT: of C E L L S in POPUP calendar */ |
| 19 |
#datepick-div.datepick-inline .datepick-title-row th, |
| 20 |
#datepick-div.datepick-inline .datepick-days-cell{ |
| 21 |
height: 25px; |
| 22 |
} |
| 23 |
|
| 24 |
/*******************************************************************************/ |
| 25 |
/* S T R U C T U R E & S i z e s ****************************************/ |
| 26 |
/*******************************************************************************/ |
| 27 |
/*RESET: Width, margin, padding */ |
| 28 |
div.check-out-div, |
| 29 |
div.check-in-div, |
| 30 |
div.date-content-top, |
| 31 |
div.date-content-bottom{ |
| 32 |
width: 0; |
| 33 |
height: 0; |
| 34 |
padding: 0; |
| 35 |
margin: 0; |
| 36 |
} |
| 37 |
|
| 38 |
/* RESET: Font sizes, padding, margin */ |
| 39 |
.datepick-inline .datepick, /* Month table */ |
| 40 |
.datepick-inline .datepick-header, /* Month header */ |
| 41 |
.datepick-inline .datepick-header span, /* Header span */ |
| 42 |
.datepick-inline .calendar-links, /* Prev Next months */ |
| 43 |
.datepick-inline .calendar-links a, /* Prev Next links */ |
| 44 |
.datepick-inline .datepick-days-cell, /* Date cell */ |
| 45 |
.datepick-inline .datepick-days-cell a, /* Active date cell */ |
| 46 |
.datepick-inline .datepick-days-cell div, /* Cehck in/out */ |
| 47 |
.datepick-inline .datepick-title-row, /* Week row */ |
| 48 |
.datepick-inline .datepick-title-row th { /* Week cell */ |
| 49 |
padding: 0px; |
| 50 |
margin: 0px; |
| 51 |
font-size:12px; |
| 52 |
border: 0 none; |
| 53 |
vertical-align: baseline; |
| 54 |
} |
| 55 |
#content .datepick-days-cell, /* Reset the padding in TD and TH elements of calendar to prevent conflict with some WP themes */ |
| 56 |
#content .datepick-title-row th{ |
| 57 |
padding: 0px; |
| 58 |
margin: 0px; |
| 59 |
} |
| 60 |
/* RESET: width to 100% */ |
| 61 |
.datepick-inline .datepick, |
| 62 |
.datepick-inline .datepick-header{ |
| 63 |
width:100%; |
| 64 |
} |
| 65 |
/* SIZE: Set width of calendar with several months */ |
| 66 |
.datepick-one-month { |
| 67 |
width:100%; |
| 68 |
float:left; |
| 69 |
} |
| 70 |
.cal_month_num_2 .datepick-one-month { |
| 71 |
width:50%; |
| 72 |
float:left; |
| 73 |
} |
| 74 |
.cal_month_num_3 .datepick-one-month { |
| 75 |
width:33.333333333333333%; |
| 76 |
float:left; |
| 77 |
} |
| 78 |
.cal_month_num_4 .datepick-one-month { |
| 79 |
width:25%; |
| 80 |
float:left; |
| 81 |
} |
| 82 |
.cal_month_num_5 .datepick-one-month { |
| 83 |
width:20%; |
| 84 |
float:left; |
| 85 |
} |
| 86 |
.cal_month_num_6 .datepick-one-month { |
| 87 |
width:16.6666666666666%; |
| 88 |
float:left; |
| 89 |
} |
| 90 |
.cal_month_num_7 .datepick-one-month { |
| 91 |
width:14.28571429%; |
| 92 |
float:left; |
| 93 |
} |
| 94 |
.cal_month_num_8 .datepick-one-month { |
| 95 |
width:12.5%; |
| 96 |
float:left; |
| 97 |
} |
| 98 |
.cal_month_num_9 .datepick-one-month { |
| 99 |
width:11.11111111%; |
| 100 |
float:left; |
| 101 |
} |
| 102 |
.cal_month_num_10 .datepick-one-month { |
| 103 |
width:10%; |
| 104 |
float:left; |
| 105 |
} |
| 106 |
.cal_month_num_11 .datepick-one-month { |
| 107 |
width:9.0909090909090909%; |
| 108 |
float:left; |
| 109 |
} |
| 110 |
.cal_month_num_12 .datepick-one-month { |
| 111 |
width:8.333333333333333%; |
| 112 |
float:left; |
| 113 |
} |
| 114 |
|
| 115 |
/* CLASS: for setting specific number of months in a row. Please check more in FAQ.*/ |
| 116 |
.months_num_in_row_1 .datepick-one-month { |
| 117 |
width:100%; |
| 118 |
float:left; |
| 119 |
} |
| 120 |
.months_num_in_row_2 .datepick-one-month { |
| 121 |
width:50%; |
| 122 |
float:left; |
| 123 |
} |
| 124 |
.months_num_in_row_3 .datepick-one-month { |
| 125 |
width:33.333333333333333%; |
| 126 |
float:left; |
| 127 |
} |
| 128 |
.months_num_in_row_4 .datepick-one-month { |
| 129 |
width:25%; |
| 130 |
float:left; |
| 131 |
} |
| 132 |
.months_num_in_row_5 .datepick-one-month { |
| 133 |
width:20%; |
| 134 |
float:left; |
| 135 |
} |
| 136 |
.months_num_in_row_6 .datepick-one-month { |
| 137 |
width:16.6666666666666%; |
| 138 |
float:left; |
| 139 |
} |
| 140 |
|
| 141 |
/* STRUCTURE: Previous & Next month links */ |
| 142 |
.datepick-inline .calendar-links{ |
| 143 |
float: left; |
| 144 |
width: 100%; |
| 145 |
height: auto; |
| 146 |
margin-bottom: -2.4em; |
| 147 |
padding: 0.4em 0; |
| 148 |
position: relative; |
| 149 |
text-decoration: none; |
| 150 |
} |
| 151 |
.datepick-inline .calendar-links .datepick-prev{ |
| 152 |
float: left; |
| 153 |
width: 49%; |
| 154 |
text-align: left; |
| 155 |
padding-left:1%; |
| 156 |
z-index:99; |
| 157 |
position: relative; |
| 158 |
line-height: 1.5em; |
| 159 |
} |
| 160 |
.datepick-inline .calendar-links .datepick-next{ |
| 161 |
float: right; |
| 162 |
text-align: right; |
| 163 |
width: 49%; |
| 164 |
padding-right:1%; |
| 165 |
z-index:99; |
| 166 |
position: relative; |
| 167 |
line-height: 1.5em; |
| 168 |
} |
| 169 |
.datepick-inline .calendar-links .datepick-prev a, |
| 170 |
.datepick-inline .calendar-links .datepick-next a{ |
| 171 |
font-size: 2em; |
| 172 |
} |
| 173 |
|
| 174 |
/* Week Titles height */ |
| 175 |
div.datepick-inline .datepick-title-row th{ |
| 176 |
height: auto !important; |
| 177 |
line-height: 2.18182; |
| 178 |
} |
| 179 |
/* Links: NO UNDERLINE, Cursor - Pointer */ |
| 180 |
.datepick-inline .calendar-links .datepick-prev a, |
| 181 |
.datepick-inline .calendar-links .datepick-next a, |
| 182 |
.datepick-inline .calendar-links .datepick-prev a:hover, |
| 183 |
.datepick-inline .calendar-links .datepick-next a:hover, |
| 184 |
.datepick-inline .datepick-days-cell, |
| 185 |
.datepick-inline .datepick-days-cell.timespartly.date_approved, |
| 186 |
.datepick-inline .datepick-days-cell.timespartly.date2approve, |
| 187 |
.datepick-inline .datepick-days-cell a, |
| 188 |
.datepick-inline .datepick-days-cell a:hover, /* FixIn: 5.4.5.9 */ |
| 189 |
.block_hints .block_free a, |
| 190 |
.block_hints .block_free a:hover, |
| 191 |
.block_hints .block_time a, |
| 192 |
.block_hints .block_time a:hover { |
| 193 |
text-decoration: none; |
| 194 |
cursor: pointer; |
| 195 |
box-shadow: none; /* FixIn: 5.4.5.9 */ |
| 196 |
} |
| 197 |
.datepick-inline .datepick-days-cell.datepick-unselectable, /* Default cursor for the unvailbale dates */ |
| 198 |
.datepick-inline .datepick-days-cell.datepick-unselectable a, |
| 199 |
.datepick-inline .datepick-days-cell.datepick-unselectable a:hover, |
| 200 |
.datepick-inline .datepick-days-cell.date_approved, |
| 201 |
.datepick-inline .datepick-days-cell.date2approve{ |
| 202 |
cursor: default; |
| 203 |
} |
| 204 |
/* ALIGN: Header */ |
| 205 |
.datepick-inline .datepick-header{ |
| 206 |
text-align: center; |
| 207 |
position: relative; |
| 208 |
line-height: 1.71429em; |
| 209 |
padding: 0.3em 0; |
| 210 |
} |
| 211 |
/* ALIGN: Cells and set standard width */ |
| 212 |
.datepick-inline .datepick-title-row th, |
| 213 |
.datepick-inline .datepick-days-cell{ |
| 214 |
text-align: center; |
| 215 |
vertical-align: middle; |
| 216 |
width: 14.28571429%; |
| 217 |
overflow: hidden; |
| 218 |
} |
| 219 |
.datepick-inline .datepick-days-cell a, |
| 220 |
.datepick-inline .datepick-days-cell span{ /* FixIn: 6.0.1.2 */ |
| 221 |
position:relative; |
| 222 |
z-index: 99; |
| 223 |
} |
| 224 |
|
| 225 |
|
| 226 |
/*******************************************************************************/ |
| 227 |
/* Check In / Out Times ************************************************/ |
| 228 |
/*******************************************************************************/ |
| 229 |
.block_hints .block_check_in_out.check_in_time, /* Item for the LEGEND */ |
| 230 |
.datepick-inline .timespartly.check_in_time, /* If we are using the Check in/out time, so hide the CLOCK icon */ |
| 231 |
.datepick-inline .timespartly.check_out_time { |
| 232 |
background-image: none; |
| 233 |
} |
| 234 |
/*Backgorounds*/ |
| 235 |
.block_hints .block_check_in_out.check_in_time div.check-in-div, /* Item for the LEGEND */ |
| 236 |
.block_hints .block_check_in_out.check_out_time div.check-out-div, /* Item for the LEGEND */ |
| 237 |
td.timespartly.check_in_time div.check-in-div, /* Define the check in/out time BACKGRUND */ |
| 238 |
td.timespartly.check_out_time div.check-out-div { |
| 239 |
border: 0px none; |
| 240 |
float: left; |
| 241 |
height: 200%; |
| 242 |
margin-bottom: -400%; |
| 243 |
position: relative; |
| 244 |
top: -50%; |
| 245 |
vertical-align: bottom; |
| 246 |
width: 20%; |
| 247 |
z-index: 0; |
| 248 |
} |
| 249 |
.block_hints .block_check_in_out.check_out_time div.check-out-div, /* Item for the LEGEND */ |
| 250 |
td.timespartly.check_out_time div.check-out-div { /* Define the check out position */ |
| 251 |
float: right; |
| 252 |
} |
| 253 |
|
| 254 |
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.*/ |
| 255 |
td.timespartly.check_in_time.check_out_time div.check-out-div { |
| 256 |
display: none; |
| 257 |
} |
| 258 |
|
| 259 |
/* HIDE check in/out elements, when: CELL OVER | DATE SELECTED | CHECK IN Date Selected */ |
| 260 |
.datepick-inline .datepick .datepick-unselectable.check_in_time div.check-in-div, |
| 261 |
.datepick-inline .datepick .datepick-unselectable.check_out_time div.check-out-div, |
| 262 |
.datepick-inline .datepick .datepick-days-cell-over.check_in_time div.check-in-div, |
| 263 |
.datepick-inline .datepick .datepick-days-cell-over.check_out_time div.check-out-div, |
| 264 |
.datepick-inline .datepick .datepick-current-day.check_in_time div.check-in-div, |
| 265 |
.datepick-inline .datepick .datepick-current-day.check_out_time div.check-out-div{ |
| 266 |
display: none; |
| 267 |
visibility: hidden; |
| 268 |
} |
| 269 |
/* Check In Pending & Check Out Approved || Check Out Pending & Check In Approved || dates //FixIn: 6.0.1.2 */ |
| 270 |
td.timespartly.check_in_time.check_out_time.check_in_time_date_approved.check_out_time_date2approve div.check-in-div, |
| 271 |
td.timespartly.check_in_time.check_out_time.check_out_time_date_approved.check_in_time_date2approve div.check-out-div, |
| 272 |
td.timespartly.check_in_time.check_out_time.check_in_time_date2approve.check_out_time_date_approved div.check-in-div, |
| 273 |
td.timespartly.check_in_time.check_out_time.check_out_time_date2approve.check_in_time_date_approved div.check-out-div { |
| 274 |
display: block; |
| 275 |
visibility: visible; |
| 276 |
width: 50%; |
| 277 |
float: left; |
| 278 |
} |
| 279 |
td.timespartly.check_in_time.check_out_time.check_out_time_date_approved.check_in_time_date2approve div.check-out-div, |
| 280 |
td.timespartly.check_in_time.check_out_time.check_out_time_date2approve.check_in_time_date_approved div.check-out-div { |
| 281 |
float: right; |
| 282 |
} |
| 283 |
td.timespartly.check_in_time.check_out_time.check_in_time_date_approved.check_out_time_date2approve span, |
| 284 |
td.timespartly.check_in_time.check_out_time.check_out_time_date_approved.check_in_time_date2approve span, |
| 285 |
td.timespartly.check_in_time.check_out_time.check_in_time_date_approved.check_out_time_date2approve div, |
| 286 |
td.timespartly.check_in_time.check_out_time.check_out_time_date_approved.check_in_time_date2approve div { |
| 287 |
cursor: default; |
| 288 |
} |
| 289 |
/*******************************************************************************/ |
| 290 |
|
| 291 |
|
| 292 |
/*******************************************************************************/ |
| 293 |
/* Set correct FONT of unselectable elements, when the check in date is selected */ |
| 294 |
/*******************************************************************************/ |
| 295 |
.datepick-inline .datepick .datepick-unselectable.check_in_time.date_approved, |
| 296 |
.datepick-inline .datepick .datepick-unselectable.check_out_time.date_approved, |
| 297 |
.datepick-inline .datepick .datepick-unselectable.check_in_time.date2approve, |
| 298 |
.datepick-inline .datepick .datepick-unselectable.check_out_time.date2approve { |
| 299 |
background-color: transparent; |
| 300 |
font-weight: 400; |
| 301 |
} |
| 302 |
/*******************************************************************************/ |
| 303 |
|
| 304 |
|
| 305 |
/*******************************************************************************/ |
| 306 |
/* W I D G E T **************************************************/ |
| 307 |
/*******************************************************************************/ |
| 308 |
/* Set HEIGHT of the CELLs in the Widget */ |
| 309 |
.widget_wpbm_item .hasDatepick .datepick-inline .datepick-title-row th, |
| 310 |
.widget_wpbm_item .hasDatepick .datepick-inline .datepick-days-cell{ |
| 311 |
height: 30px; |
| 312 |
} |
| 313 |
/* Set calendar WIDTH and MARGIN in Widget */ |
| 314 |
.widget_wpbm_item .bk_calendar_frame{ |
| 315 |
margin: 0 2%; |
| 316 |
width: 96% !important; |
| 317 |
} |
| 318 |
/* LEGEND items show in 2 rows in Widget */ |
| 319 |
.widget_wpbm_item .wpbm_hint_with_text{ |
| 320 |
float: left; |
| 321 |
margin: 0; |
| 322 |
width: 50% !important; |
| 323 |
} |
| 324 |
/* Set the WIDTH and MARGIN of the form FIELDS in Widget */ |
| 325 |
.widget_wpbm_item input, |
| 326 |
.widget_wpbm_item select, |
| 327 |
.widget_wpbm_item textarea, |
| 328 |
.widget_wpbm_item .wpdevelop input, |
| 329 |
.widget_wpbm_item .wpdevelop select, |
| 330 |
.widget_wpbm_item .wpdevelop textarea, |
| 331 |
div#datepick-div input, |
| 332 |
div#datepick-div select, |
| 333 |
div#datepick-div textarea { |
| 334 |
width: 96%; |
| 335 |
margin: auto; |
| 336 |
} |
| 337 |
/* SELECT BUTTON and CHECKBOX fields have the Auto Width in Widget */ |
| 338 |
/*.widget_wpbm_item select,*/ |
| 339 |
.widget_wpbm_item input[type=button], |
| 340 |
.widget_wpbm_item input[type=checkbox]{ |
| 341 |
width:auto; |
| 342 |
} |
| 343 |
|
| 344 |
|
| 345 |
/*******************************************************************************/ |
| 346 |
/* Legend of days, which is shown under calendar *******************************/ |
| 347 |
/*******************************************************************************/ |
| 348 |
/* Full Legend Frame */ |
| 349 |
.block_hints { |
| 350 |
width: 100%; |
| 351 |
clear: both; |
| 352 |
margin: 10px 0px 30px 0px !important; |
| 353 |
border: none; |
| 354 |
height: 30px; |
| 355 |
} |
| 356 |
/* Date CELL with TEXT description */ |
| 357 |
.wpbm_hint_with_text { |
| 358 |
float:left; |
| 359 |
width:auto; |
| 360 |
} |
| 361 |
/* Text Labels of Legend */ |
| 362 |
.block_text { |
| 363 |
float: none; |
| 364 |
height: 30px; |
| 365 |
line-height: 32px; |
| 366 |
margin: 0 0 10px; |
| 367 |
padding: 0 10px 0 35px; |
| 368 |
|
| 369 |
font-size: 0.9em; |
| 370 |
white-space: nowrap; |
| 371 |
word-wrap: normal; |
| 372 |
} |
| 373 |
/* Dates CELL of Legend */ |
| 374 |
.block_check_in_out, |
| 375 |
.block_pending, |
| 376 |
.block_time, |
| 377 |
.block_booked, |
| 378 |
.block_free { |
| 379 |
float: left; |
| 380 |
width: 30px; |
| 381 |
height: 30px; |
| 382 |
line-height: 28px; |
| 383 |
border: 1px solid #FEA; |
| 384 |
text-align: center; |
| 385 |
vertical-align: middle; |
| 386 |
overflow: hidden; |
| 387 |
} |
| 388 |
/* Font size for the TEXT in CELLa of Legend */ |
| 389 |
.block_pending a, |
| 390 |
.block_time a, |
| 391 |
.block_booked a, |
| 392 |
.block_free a, |
| 393 |
.block_pending, |
| 394 |
.block_time, |
| 395 |
.block_booked, |
| 396 |
.block_free , |
| 397 |
.wpbm_hint_with_text .block_check_in_out { |
| 398 |
font-size: 13px; |
| 399 |
font-weight: 400; |
| 400 |
} |
| 401 |
/* Clear Line */ |
| 402 |
.wpbm_clear_hint{ |
| 403 |
height:1px; |
| 404 |
width:100%; |
| 405 |
clear:both; |
| 406 |
} |
| 407 |
/* Day Rates. Additional info at the top and bottom of the day cell. */ |
| 408 |
.datepick-inline .datepick-days-cell div.date-content-bottom, |
| 409 |
.datepick-inline .datepick-days-cell div.date-content-top { |
| 410 |
font-size:0.7em; |
| 411 |
font-style: italic; |
| 412 |
line-height: 0.72em; |
| 413 |
text-align: center; |
| 414 |
padding:0; |
| 415 |
width:100%; |
| 416 |
text-shadow:none; |
| 417 |
} |
| 418 |
/*******************************************************************************/ |
| 419 |
/* Respondive Design For Mobile Devices ****************************************/ |
| 420 |
/*******************************************************************************/ |
| 421 |
@media (max-width: 480px) { |
| 422 |
} |
| 423 |
@media (max-width: 768px) { /* iPad mini and all iPhones and other Mobile Devices */ |
| 424 |
.bk_calendar_frame { /* Define the width of calendar to the 100% of the device screen*/ |
| 425 |
width:100% !important; |
| 426 |
} |
| 427 |
.datepick-inline .datepick-one-month { /* Show Only 1 month in a row */ |
| 428 |
width:100%; |
| 429 |
float:left; |
| 430 |
} |
| 431 |
.wpbm_form_div input[type="text"], |
| 432 |
.wpbm_form_div select, |
| 433 |
.wpbm_form_div textarea { |
| 434 |
width: 96% !important; |
| 435 |
margin: auto !important; |
| 436 |
} |
| 437 |
.wpbm_form_div input[type=button]{ |
| 438 |
width:auto !important; |
| 439 |
} |
| 440 |
.wpbm_form_div input[type=button]{ |
| 441 |
font-size: 1.1em; |
| 442 |
font-weight: 600; |
| 443 |
padding: 5px 20px !important; |
| 444 |
} |
| 445 |
|
| 446 |
|
| 447 |
} |
| 448 |
/* Declaration of resolutions for some future usage... *************************/ |
| 449 |
@media (min-width: 768px) and (max-width: 980px) { |
| 450 |
} |
| 451 |
@media (max-width: 980px) { |
| 452 |
} |
| 453 |
@media (min-width: 980px){ |
| 454 |
} |
| 455 |
@media (min-width: 1200px){ |
| 456 |
} |
| 457 |
@media screen and (max-width:380px) { |
| 458 |
} |
| 459 |
/* iPhone 2G-4S in portrait & landscape */ |
| 460 |
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) { |
| 461 |
} |
| 462 |
/* iPhone 5 in portrait & landscape */ |
| 463 |
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) { |
| 464 |
} |
| 465 |
/* iPad in portrait & landscape */ |
| 466 |
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) { |
| 467 |
} |
| 468 |
/* iPad mini and iPad 1 & 2 in portrait & landscape */ |
| 469 |
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (-webkit-min-device-pixel-ratio: 1) { |
| 470 |
} |
| 471 |
/* iPad 3 & 4 Media Queries - Retina iPads */ |
| 472 |
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (-webkit-min-device-pixel-ratio: 2) { |
| 473 |
} |
| 474 |
/*******************************************************************************/ |