| 1 |
/** TOOLBAR ***********************************************************************************************************/ |
| 2 |
|
| 3 |
/* Override default settings of main toolbar: ../includes/_toolbar_ui/_out/toolbar_ui.css */ |
| 4 |
#toolbar_booking_availability.wpbc_ajx_toolbar { |
| 5 |
margin: 0; /* margin: 0 0 10px 50px; */ |
| 6 |
} |
| 7 |
|
| 8 |
|
| 9 |
/** CONTENT ***********************************************************************************************************/ |
| 10 |
/* Main container */ |
| 11 |
.wpbc_ajx_avy__container { |
| 12 |
display: flex; |
| 13 |
flex-flow: row nowrap; |
| 14 |
justify-content: flex-start; |
| 15 |
align-items: flex-start; |
| 16 |
margin: 20px 0 0; |
| 17 |
} |
| 18 |
/* LEFT section */ |
| 19 |
.wpbc_ajx_avy__container .wpbc_ajx_avy__section_left { |
| 20 |
flex: 1 1 auto; |
| 21 |
display: flex; |
| 22 |
flex-flow: row wrap; |
| 23 |
justify-content: flex-start; |
| 24 |
align-items: flex-start; |
| 25 |
} |
| 26 |
/* Calendar in right section */ |
| 27 |
.wpbc_ajx_avy__calendar{ |
| 28 |
width:100%; |
| 29 |
max-width:100%; |
| 30 |
margin:0; |
| 31 |
} |
| 32 |
/* RIGHT section */ |
| 33 |
.wpbc_ajx_avy__container .wpbc_ajx_avy__section_right { |
| 34 |
flex: 0 1 auto; |
| 35 |
margin: 0 0 0 30px; |
| 36 |
|
| 37 |
display: flex; |
| 38 |
flex-flow: column wrap; |
| 39 |
justify-content: flex-start; |
| 40 |
align-items: flex-start; |
| 41 |
} |
| 42 |
|
| 43 |
|
| 44 |
/** WIDGETS ***********************************************************************************************************/ |
| 45 |
|
| 46 |
/* Widgets Section - Define width of widget here */ |
| 47 |
.wpbc_widgets { |
| 48 |
width:200px; /* WIDTH of WIDGETs*/ |
| 49 |
|
| 50 |
display: flex; |
| 51 |
flex-flow: column wrap; |
| 52 |
justify-content: flex-start; |
| 53 |
align-items: flex-start; |
| 54 |
} |
| 55 |
/* Widget */ |
| 56 |
.wpbc_widgets .wpbc_widget { |
| 57 |
margin: 0 0 20px; |
| 58 |
width:100%; |
| 59 |
flex: 1 1 100%; |
| 60 |
} |
| 61 |
/* Widget Header */ |
| 62 |
.wpbc_widget .wpbc_widget_header { |
| 63 |
width: 100%; |
| 64 |
height: 44px; |
| 65 |
|
| 66 |
border: 1px solid #ccc; |
| 67 |
background: #fff; |
| 68 |
|
| 69 |
font-weight: 600; |
| 70 |
text-shadow: none; |
| 71 |
|
| 72 |
display: flex; |
| 73 |
flex-flow: row nowrap; |
| 74 |
justify-content: flex-start; |
| 75 |
align-items: center; |
| 76 |
} |
| 77 |
/* Widget Header text */ |
| 78 |
.wpbc_widget .wpbc_widget_header .wpbc_widget_header_text { |
| 79 |
flex: 1 1 auto; |
| 80 |
padding: 0 15px; |
| 81 |
} |
| 82 |
/* Settings Link in right side of header */ |
| 83 |
.wpbc_widget .wpbc_widget_header .wpbc_widget_header_settings_link { |
| 84 |
flex: 0 0 auto; |
| 85 |
margin-left: auto; |
| 86 |
border-left: 1px solid #ccc; |
| 87 |
padding: 5px 10px; |
| 88 |
color: #0e70b7; |
| 89 |
display: none; |
| 90 |
} |
| 91 |
|
| 92 |
|
| 93 |
/** MOBILE ***********************************************************************************************************/ |
| 94 |
@media (max-width: 470px) { |
| 95 |
.wpbc_ajx_avy__container { |
| 96 |
flex-flow: row wrap; |
| 97 |
} |
| 98 |
div.wpbc_ajx_avy__container .wpbc_ajx_avy__section_right { |
| 99 |
margin: 30px 0; |
| 100 |
} |
| 101 |
div.wpbc_widgets { |
| 102 |
width:100%; |
| 103 |
} |
| 104 |
div.wpbc_widgets .wpbc_widget.wpbc_widget_available_unavailable { |
| 105 |
position: fixed; |
| 106 |
bottom: 0; |
| 107 |
z-index: 9999; |
| 108 |
padding: 0 2px; |
| 109 |
left: 0; |
| 110 |
margin: 0 0 -10px; |
| 111 |
} |
| 112 |
} |
| 113 |
|
| 114 |
/** Toolbar Dates Hints **********************************************************************************************/ |
| 115 |
#wpbc_hidden_template__select_booking_resource { |
| 116 |
flex: 0 1 auto; |
| 117 |
} |
| 118 |
#wpbc_toolbar_dates_hint{ |
| 119 |
flex: 1 1 auto; |
| 120 |
justify-content: flex-start; |
| 121 |
margin-left: 0; |
| 122 |
} |
| 123 |
#wpbc_toolbar_dates_hint .ui_element { |
| 124 |
|
| 125 |
} |
| 126 |
#wpbc_toolbar_dates_hint .ui_element .wpbc_help_text { |
| 127 |
font-size: 1.1em; |
| 128 |
line-height: 1.8em; |
| 129 |
height: auto; |
| 130 |
} |
| 131 |
#wpbc_toolbar_dates_hint .ui_element .wpbc_help_text *{ |
| 132 |
font-size: 1em; |
| 133 |
} |
| 134 |
#wpbc_toolbar_dates_hint .ui_element .wpbc_help_text strong{ |
| 135 |
|
| 136 |
} |
| 137 |
/* Dates hints */ |
| 138 |
.wpbc_ajx_toolbar .wpbc_help_text .wpbc_toolbar_dates_hints { |
| 139 |
font-size: 1.05em; |
| 140 |
|
| 141 |
display: block; |
| 142 |
/*flex-flow: row wrap;*/ |
| 143 |
/*width: 100%;*/ |
| 144 |
/*justify-content: flex-start;*/ |
| 145 |
/*align-items: first baseline;*/ |
| 146 |
} |
| 147 |
.wpbc_ajx_toolbar .wpbc_help_text .wpbc_toolbar_dates_hints span{ |
| 148 |
/*flex: 1 1 auto;*/ |
| 149 |
padding: 0 0.2em; |
| 150 |
} |
| 151 |
.wpbc_ajx_toolbar .wpbc_help_text .wpbc_toolbar_dates_hints span.wpbc_big_text, |
| 152 |
.wpbc_ajx_toolbar .wpbc_help_text .wpbc_toolbar_dates_hints span.wpbc_big_date{ |
| 153 |
font-size: 1.05em; |
| 154 |
font-weight: 600; |
| 155 |
padding: 0 0.3em; |
| 156 |
} |
| 157 |
/* Fix for round dates in calendars */ |
| 158 |
.block_hints .block_free, |
| 159 |
.block_hints .block_time, |
| 160 |
.block_hints .block_booked, |
| 161 |
.block_hints .block_pending, |
| 162 |
.block_hints .block_check_in_out, |
| 163 |
.datepick-inline .datepick-days-cell{ |
| 164 |
border-radius: 0 !important; /* at the WP Booking Calendar > Availability > Days Availability page we can not show round dates :( */ |
| 165 |
} |