| 1 |
.wpbc_setup_wizard__booking-resources-layout { |
| 2 |
display: -ms-flexbox; |
| 3 |
display: flex; |
| 4 |
gap: 10px; |
| 5 |
-ms-flex-align: stretch; |
| 6 |
align-items: stretch |
| 7 |
} |
| 8 |
.wpbc_setup_wizard__booking-resources-list-panel, |
| 9 |
.wpbc_setup_wizard__resource-details-panel { |
| 10 |
border: 1px solid var(--wpbc-wizard-border); |
| 11 |
border-radius: 6px; |
| 12 |
background: #fff; |
| 13 |
box-shadow: 0 2px 8px rgba(25,35,45,.04); |
| 14 |
box-sizing: border-box |
| 15 |
} |
| 16 |
.wpbc_setup_wizard__booking-resources-list-panel { |
| 17 |
width: 31%; |
| 18 |
min-width: 280px; |
| 19 |
padding: 20px |
| 20 |
} |
| 21 |
.wpbc_setup_wizard__resource-details-panel { |
| 22 |
width: 69%; |
| 23 |
min-width: 0; |
| 24 |
padding: 20px 24px |
| 25 |
} |
| 26 |
.wpbc_setup_wizard__booking-resources-list-panel h2, |
| 27 |
.wpbc_setup_wizard__resource-details-heading h2 { |
| 28 |
margin: 0; |
| 29 |
font-size: 19px; |
| 30 |
font-weight: 600 |
| 31 |
} |
| 32 |
.wpbc_setup_wizard__resource-list-section { |
| 33 |
margin-top: 20px |
| 34 |
} |
| 35 |
.wpbc_setup_wizard__resource-list-section--existing { |
| 36 |
padding-top: 18px; |
| 37 |
border-top: 1px solid var(--wpbc-wizard-border) |
| 38 |
} |
| 39 |
.wpbc_setup_wizard__resource-list-section h3 { |
| 40 |
margin: 0 0 3px; |
| 41 |
font-size: 15px |
| 42 |
} |
| 43 |
.wpbc_setup_wizard__add-resource-wrap > p, |
| 44 |
.wpbc_setup_wizard__resource-list-section > p { |
| 45 |
margin: 0 0 12px; |
| 46 |
color: var(--wpbc-wizard-muted); |
| 47 |
font-size: 12px |
| 48 |
} |
| 49 |
.wpbc_setup_wizard__existing-resource-list, |
| 50 |
.wpbc_setup_wizard__new-resource-list { |
| 51 |
display: -ms-flexbox; |
| 52 |
display: flex; |
| 53 |
-ms-flex-direction: column; |
| 54 |
flex-direction: column; |
| 55 |
gap: 10px |
| 56 |
} |
| 57 |
.wpbc_setup_wizard__existing-resource-list { |
| 58 |
max-height: 300px; |
| 59 |
overflow: auto; |
| 60 |
padding: 0 10px; |
| 61 |
scrollbar-width: thin |
| 62 |
} |
| 63 |
.wpbc_setup_wizard__existing-resource-card, |
| 64 |
.wpbc_setup_wizard__resource-card { |
| 65 |
display: -ms-flexbox; |
| 66 |
display: flex; |
| 67 |
min-height: 72px; |
| 68 |
-ms-flex-align: center; |
| 69 |
align-items: center; |
| 70 |
gap: 10px; |
| 71 |
border: 1px solid var(--wpbc-wizard-border); |
| 72 |
border-radius: 5px; |
| 73 |
background: #fff; |
| 74 |
box-sizing: border-box |
| 75 |
} |
| 76 |
.wpbc_setup_wizard__existing-resource-card { |
| 77 |
padding: 10px 12px; |
| 78 |
cursor: pointer |
| 79 |
} |
| 80 |
.wpbc_setup_wizard__existing-resource-card.is-selected, |
| 81 |
.wpbc_setup_wizard__existing-resource-card:focus-within, |
| 82 |
.wpbc_setup_wizard__existing-resource-card:hover, |
| 83 |
.wpbc_setup_wizard__resource-card.is-selected, |
| 84 |
.wpbc_setup_wizard__resource-card:focus-within, |
| 85 |
.wpbc_setup_wizard__resource-card:hover { |
| 86 |
border-color: var(--wp-admin-theme-color,#2271b1) |
| 87 |
} |
| 88 |
.wpbc_setup_wizard__existing-resource-card.is-selected, |
| 89 |
.wpbc_setup_wizard__resource-card.is-selected { |
| 90 |
box-shadow: 0 0 0 1px var(--wp-admin-theme-color,#2271b1) |
| 91 |
} |
| 92 |
.wpbc_setup_wizard__resource-card-selection { |
| 93 |
display: -ms-flexbox; |
| 94 |
display: flex; |
| 95 |
min-width: 0; |
| 96 |
min-height: 70px; |
| 97 |
-ms-flex: 1 1 auto; |
| 98 |
flex: 1 1 auto; |
| 99 |
-ms-flex-align: center; |
| 100 |
align-items: center; |
| 101 |
gap: 10px; |
| 102 |
padding: 10px 8px 10px 12px; |
| 103 |
box-sizing: border-box; |
| 104 |
cursor: pointer |
| 105 |
} |
| 106 |
.wpbc_setup_wizard__existing-resource-card.is-selected .wpbc_setup_wizard__radio-mark, |
| 107 |
.wpbc_setup_wizard__resource-card.is-selected .wpbc_setup_wizard__radio-mark { |
| 108 |
border: 7px solid var(--wp-admin-theme-color,#2271b1) |
| 109 |
} |
| 110 |
.wpbc_setup_wizard__resource-card-picture { |
| 111 |
display: -ms-inline-flexbox; |
| 112 |
display: inline-flex; |
| 113 |
width: 42px; |
| 114 |
height: 42px; |
| 115 |
-ms-flex: 0 0 42px; |
| 116 |
flex: 0 0 42px; |
| 117 |
-ms-flex-align: center; |
| 118 |
align-items: center; |
| 119 |
-ms-flex-pack: center; |
| 120 |
justify-content: center; |
| 121 |
overflow: hidden; |
| 122 |
border: 2px solid #fff; |
| 123 |
border-radius: 50%; |
| 124 |
outline: #d4d4d7 solid 1px; |
| 125 |
background: #f0f0f1; |
| 126 |
color: #8c8f94 |
| 127 |
} |
| 128 |
.wpbc_setup_wizard__resource-card-picture img { |
| 129 |
display: block; |
| 130 |
width: 100%; |
| 131 |
max-width: none; |
| 132 |
height: 100%; |
| 133 |
object-fit: cover |
| 134 |
} |
| 135 |
.wpbc_setup_wizard__resource-card-picture > [hidden] { |
| 136 |
display: none!important |
| 137 |
} |
| 138 |
.wpbc_setup_wizard__resource-card-copy { |
| 139 |
display: -ms-flexbox; |
| 140 |
display: flex; |
| 141 |
min-width: 0; |
| 142 |
-ms-flex: 1 1 auto; |
| 143 |
flex: 1 1 auto; |
| 144 |
-ms-flex-direction: column; |
| 145 |
flex-direction: column; |
| 146 |
gap: 4px |
| 147 |
} |
| 148 |
.wpbc_setup_wizard__resource-card-copy strong { |
| 149 |
overflow: hidden; |
| 150 |
font-size: 14px; |
| 151 |
text-overflow: ellipsis; |
| 152 |
white-space: nowrap |
| 153 |
} |
| 154 |
.wpbc_setup_wizard__resource-card-title-row { |
| 155 |
display: -ms-flexbox; |
| 156 |
display: flex; |
| 157 |
min-width: 0; |
| 158 |
-ms-flex-align: center; |
| 159 |
align-items: center; |
| 160 |
gap: 7px |
| 161 |
} |
| 162 |
.wpbc_setup_wizard__resource-card-title-row strong { |
| 163 |
min-width: 0; |
| 164 |
-ms-flex: 0 1 auto; |
| 165 |
flex: 0 1 auto |
| 166 |
} |
| 167 |
.wpbc_setup_wizard__resource-status-badge { |
| 168 |
display: -ms-inline-flexbox; |
| 169 |
display: inline-flex; |
| 170 |
min-height: 20px; |
| 171 |
-ms-flex: 0 0 auto; |
| 172 |
flex: 0 0 auto; |
| 173 |
-ms-flex-align: center; |
| 174 |
align-items: center; |
| 175 |
-ms-flex-pack: center; |
| 176 |
justify-content: center; |
| 177 |
padding: 1px 8px; |
| 178 |
border-radius: 999px; |
| 179 |
font-size: 11px; |
| 180 |
font-style: normal; |
| 181 |
font-weight: 600; |
| 182 |
line-height: 1.4; |
| 183 |
white-space: nowrap |
| 184 |
} |
| 185 |
.wpbc_setup_wizard__resource-status-badge.is-new { |
| 186 |
background: #e7f0ff; |
| 187 |
color: #174ea6 |
| 188 |
} |
| 189 |
.wpbc_setup_wizard__resource-status-badge.is-existing { |
| 190 |
background: #eef0f2; |
| 191 |
color: #626c76 |
| 192 |
} |
| 193 |
.wpbc_setup_wizard__resource-status-badge.is-changed { |
| 194 |
background: #fcf0d4; |
| 195 |
color: #7a3e00 |
| 196 |
} |
| 197 |
.wpbc_setup_wizard__resource-card-copy span { |
| 198 |
color: var(--wpbc-wizard-muted); |
| 199 |
font-size: 12px |
| 200 |
} |
| 201 |
.wpbc_setup_wizard__resource-card-remove { |
| 202 |
display: -ms-inline-flexbox; |
| 203 |
display: inline-flex; |
| 204 |
width: 34px; |
| 205 |
height: 34px; |
| 206 |
-ms-flex: 0 0 34px; |
| 207 |
flex: 0 0 34px; |
| 208 |
-ms-flex-align: center; |
| 209 |
align-items: center; |
| 210 |
-ms-flex-pack: center; |
| 211 |
justify-content: center; |
| 212 |
margin-right: 7px; |
| 213 |
padding: 0; |
| 214 |
border: 0; |
| 215 |
border-radius: 50%; |
| 216 |
background: 0 0; |
| 217 |
color: #646970; |
| 218 |
cursor: pointer |
| 219 |
} |
| 220 |
.wpbc_setup_wizard__resource-card-remove:hover { |
| 221 |
background: #fcf0f1; |
| 222 |
color: #b32d2e |
| 223 |
} |
| 224 |
.wpbc_setup_wizard__resource-card-remove:focus { |
| 225 |
outline: 0; |
| 226 |
box-shadow: 0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color,#2271b1) |
| 227 |
} |
| 228 |
.wpbc_setup_wizard__add-resource-wrap { |
| 229 |
margin-top: 16px |
| 230 |
} |
| 231 |
.wpbc_setup_wizard__add-resource { |
| 232 |
display: -ms-inline-flexbox!important; |
| 233 |
display: inline-flex!important; |
| 234 |
width: 100%; |
| 235 |
min-height: 44px!important; |
| 236 |
-ms-flex-align: center; |
| 237 |
align-items: center; |
| 238 |
-ms-flex-pack: center; |
| 239 |
justify-content: center; |
| 240 |
gap: 8px |
| 241 |
} |
| 242 |
.wpbc_setup_wizard__edition-badge { |
| 243 |
display: -ms-inline-flexbox; |
| 244 |
display: inline-flex; |
| 245 |
min-height: 22px; |
| 246 |
-ms-flex-align: center; |
| 247 |
align-items: center; |
| 248 |
-ms-flex-pack: center; |
| 249 |
justify-content: center; |
| 250 |
padding: 1px 8px; |
| 251 |
border-radius: 999px; |
| 252 |
background: #e7f0ff; |
| 253 |
color: #174ea6; |
| 254 |
font-size: 11px; |
| 255 |
font-weight: 600; |
| 256 |
line-height: 1.4; |
| 257 |
white-space: nowrap |
| 258 |
} |
| 259 |
.wpbc_setup_wizard__add-resource-wrap > p { |
| 260 |
margin: 8px 0 0; |
| 261 |
text-align: center |
| 262 |
} |
| 263 |
.wpbc_setup_wizard__resource-details-heading { |
| 264 |
display: -ms-flexbox; |
| 265 |
display: flex; |
| 266 |
-ms-flex-align: baseline; |
| 267 |
align-items: baseline; |
| 268 |
-ms-flex-pack: justify; |
| 269 |
justify-content: space-between; |
| 270 |
gap: 16px; |
| 271 |
margin-bottom: 18px |
| 272 |
} |
| 273 |
.wpbc_setup_wizard__resource-details-heading > span { |
| 274 |
color: var(--wpbc-wizard-muted); |
| 275 |
font-size: 12px |
| 276 |
} |
| 277 |
.wpbc_setup_wizard__resource-empty { |
| 278 |
display: -ms-flexbox; |
| 279 |
display: flex; |
| 280 |
min-height: 330px; |
| 281 |
-ms-flex-align: center; |
| 282 |
align-items: center; |
| 283 |
-ms-flex-pack: center; |
| 284 |
justify-content: center; |
| 285 |
padding: 24px; |
| 286 |
color: var(--wpbc-wizard-muted); |
| 287 |
text-align: center |
| 288 |
} |
| 289 |
.wpbc_setup_wizard__resource-details-fields[hidden], |
| 290 |
.wpbc_setup_wizard__resource-empty[hidden] { |
| 291 |
display: none!important |
| 292 |
} |
| 293 |
.wpbc_setup_wizard__resource-details-fields { |
| 294 |
display: -ms-flexbox; |
| 295 |
display: flex; |
| 296 |
-ms-flex-wrap: wrap; |
| 297 |
flex-wrap: wrap; |
| 298 |
gap: 22px 24px |
| 299 |
} |
| 300 |
.wpbc_setup_wizard__resource-description-field, |
| 301 |
.wpbc_setup_wizard__resource-title-field { |
| 302 |
width: calc(68% - 12px) |
| 303 |
} |
| 304 |
.wpbc_setup_wizard__resource-picture-field, |
| 305 |
.wpbc_setup_wizard__resource-price-field { |
| 306 |
width: calc(32% - 12px) |
| 307 |
} |
| 308 |
.wpbc_setup_wizard__resource-details-panel .wpbc_setup_wizard__field input[type=number], |
| 309 |
.wpbc_setup_wizard__resource-details-panel .wpbc_setup_wizard__field input[type=text], |
| 310 |
.wpbc_setup_wizard__resource-details-panel .wpbc_setup_wizard__field textarea { |
| 311 |
width: 100%; |
| 312 |
max-width: none; |
| 313 |
min-height: 42px; |
| 314 |
box-sizing: border-box; |
| 315 |
margin: 0; |
| 316 |
padding: 8px 12px; |
| 317 |
border-color: #aeb6bf; |
| 318 |
border-radius: 4px; |
| 319 |
background: #fff; |
| 320 |
font-size: 15px |
| 321 |
} |
| 322 |
.wpbc_setup_wizard__resource-details-panel .wpbc_setup_wizard__field textarea { |
| 323 |
min-height: 150px; |
| 324 |
resize: vertical |
| 325 |
} |
| 326 |
.wpbc_setup_wizard__resource-picture-preview { |
| 327 |
display: -ms-flexbox; |
| 328 |
display: flex; |
| 329 |
width: 100%; |
| 330 |
height: 130px; |
| 331 |
-ms-flex-align: center; |
| 332 |
align-items: center; |
| 333 |
-ms-flex-pack: center; |
| 334 |
justify-content: center; |
| 335 |
overflow: hidden; |
| 336 |
margin-bottom: 10px; |
| 337 |
padding: 4px; |
| 338 |
border: 1px solid #c3c4c7; |
| 339 |
border-radius: 4px; |
| 340 |
background: #fcfcfc; |
| 341 |
box-sizing: border-box; |
| 342 |
color: #507593 |
| 343 |
} |
| 344 |
.wpbc_setup_wizard__resource-picture-preview .menu_icon::before { |
| 345 |
font-size: 30px |
| 346 |
} |
| 347 |
.wpbc_setup_wizard__resource-picture-preview img { |
| 348 |
display: block; |
| 349 |
width: 100%; |
| 350 |
max-width: none; |
| 351 |
height: 100%; |
| 352 |
object-fit: cover |
| 353 |
} |
| 354 |
.wpbc_setup_wizard__resource-picture-preview > [hidden] { |
| 355 |
display: none!important |
| 356 |
} |
| 357 |
.wpbc_setup_wizard__resource-picture-actions { |
| 358 |
display: -ms-flexbox; |
| 359 |
display: flex; |
| 360 |
-ms-flex-wrap: wrap; |
| 361 |
flex-wrap: wrap; |
| 362 |
gap: 8px |
| 363 |
} |
| 364 |
[dir=rtl] .wpbc_setup_wizard__resource-card-remove { |
| 365 |
margin-right: 0; |
| 366 |
margin-left: 7px |
| 367 |
} |
| 368 |
@media screen and (max-width:1160px) { |
| 369 |
.wpbc_setup_wizard__booking-resources-list-panel { |
| 370 |
width: 36%; |
| 371 |
min-width: 245px |
| 372 |
} |
| 373 |
.wpbc_setup_wizard__resource-details-panel { |
| 374 |
width: 64% |
| 375 |
} |
| 376 |
.wpbc_setup_wizard__resource-description-field, |
| 377 |
.wpbc_setup_wizard__resource-picture-field, |
| 378 |
.wpbc_setup_wizard__resource-price-field, |
| 379 |
.wpbc_setup_wizard__resource-title-field { |
| 380 |
width: 100% |
| 381 |
} |
| 382 |
} |
| 383 |
@media screen and (max-width:782px) { |
| 384 |
.wpbc_setup_wizard__booking-resources-layout { |
| 385 |
-ms-flex-direction: column; |
| 386 |
flex-direction: column |
| 387 |
} |
| 388 |
.wpbc_setup_wizard__booking-resources-list-panel, |
| 389 |
.wpbc_setup_wizard__resource-details-panel { |
| 390 |
width: 100%; |
| 391 |
min-width: 0; |
| 392 |
padding: 18px |
| 393 |
} |
| 394 |
} |