admin-notifications.css
1 month ago
review-alert-themes.css
1 month ago
sbr-review-alert-themes.css
1 month ago
sbr-review-alerts-frontend.css
1 month ago
sbr-styles.css
1 month ago
sbr-styles.min.css
1 month ago
sbr-styles.css
1876 lines
| 1 | |
| 2 | [id^=sb-reviews-container-] .sb-feed-container svg{ |
| 3 | height: unset; |
| 4 | max-width: unset; |
| 5 | } |
| 6 | [id^=sb-reviews-container-] .sb-fs { |
| 7 | width: 100%; |
| 8 | position: relative; |
| 9 | float: left; |
| 10 | box-sizing: border-box; |
| 11 | } |
| 12 | .sbr-screenreader{ |
| 13 | /* a11y (SMASH-1383 G7): standard visually-hidden clip pattern. The old |
| 14 | zero-size + text-indent technique is fragile — VoiceOver/Chromium prune |
| 15 | zero-size nodes from the a11y tree (the .sbr-feed-status override below |
| 16 | already worked around it for the live region; this makes ALL SR-only |
| 17 | text robust). */ |
| 18 | position: absolute !important; |
| 19 | width: 1px !important; |
| 20 | height: 1px !important; |
| 21 | padding: 0 !important; |
| 22 | margin: -1px !important; |
| 23 | overflow: hidden !important; |
| 24 | clip: rect(0 0 0 0) !important; |
| 25 | clip-path: inset(50%) !important; |
| 26 | white-space: nowrap !important; |
| 27 | border: 0 !important; |
| 28 | } |
| 29 | /* Live regions must STAY in the accessibility tree: zero-size elements (the |
| 30 | .sbr-screenreader technique above) are pruned by VoiceOver and Chromium, so |
| 31 | the Load More status updates were never announced. Use the visually-hidden |
| 32 | clip pattern for the status region instead. */ |
| 33 | .sbr-feed-status.sbr-screenreader{ |
| 34 | text-indent: 0 !important; |
| 35 | position: absolute !important; |
| 36 | width: 1px !important; |
| 37 | height: 1px !important; |
| 38 | line-height: normal !important; |
| 39 | margin: -1px !important; |
| 40 | padding: 0 !important; |
| 41 | overflow: hidden !important; |
| 42 | clip: rect(0 0 0 0) !important; |
| 43 | clip-path: inset(50%) !important; |
| 44 | white-space: nowrap !important; |
| 45 | border: 0 !important; |
| 46 | } |
| 47 | [id^=sb-reviews-container-] .sb-post-item::after, |
| 48 | [id^=sb-reviews-container-] .sb-feed-header::after{ |
| 49 | display: table; |
| 50 | content: ""; |
| 51 | clear: both; |
| 52 | } |
| 53 | /* |
| 54 | Customizer Container Styles |
| 55 | Header - Sidebar - Footer |
| 56 | */ |
| 57 | /*App Header*/ |
| 58 | [id^=sb-reviews-container-] .sb-header{ |
| 59 | height: 64px; |
| 60 | position: fixed; |
| 61 | display: flex; |
| 62 | flex-direction: row; |
| 63 | justify-content: space-between; |
| 64 | align-items: center; |
| 65 | background: #fff; |
| 66 | z-index: 99; |
| 67 | padding: 0 20px; |
| 68 | } |
| 69 | [id^=sb-reviews-container-] .sb-header-content{ |
| 70 | width: calc(100% - 160px); |
| 71 | display: flex; |
| 72 | flex-direction: row; |
| 73 | justify-content: space-between; |
| 74 | align-items: center; |
| 75 | height: 52px; |
| 76 | } |
| 77 | [id^=sb-reviews-container-] .sb-customizer-header{ |
| 78 | position: fixed !important; |
| 79 | padding: 0 20px; |
| 80 | } |
| 81 | |
| 82 | /*-------------------------------------------------------------- |
| 83 | Feed Preview |
| 84 | --------------------------------------------------------------*/ |
| 85 | [id^=sb-reviews-container-] .sb-fs{ |
| 86 | position: relative; |
| 87 | float: left; |
| 88 | box-sizing: border-box; |
| 89 | } |
| 90 | |
| 91 | [id^=sb-reviews-container-] .sb-feed-header-btn svg{ |
| 92 | width: 17px; |
| 93 | } |
| 94 | [id^=sb-reviews-container-] .sb-feed-header-bottom > div{ |
| 95 | display: inline-block; |
| 96 | } |
| 97 | [id^=sb-reviews-container-] .sb-feed-header[data-align="left"] .sb-feed-header-average, |
| 98 | [id^=sb-reviews-container-] .sb-feed-header[data-align="right"] .sb-feed-header-btn-ctn{ |
| 99 | float: left; |
| 100 | } |
| 101 | [id^=sb-reviews-container-] .sb-feed-header[data-align="right"] .sb-feed-header-average, |
| 102 | [id^=sb-reviews-container-] .sb-feed-header[data-align="left"] .sb-feed-header-btn-ctn{ |
| 103 | float: right; |
| 104 | } |
| 105 | [id^=sb-reviews-container-] .sb-feed-header[data-align="center"] .sb-feed-header-bottom > div{ |
| 106 | display: flex; |
| 107 | justify-content: center; |
| 108 | } |
| 109 | [id^=sb-reviews-container-] .sb-feed-header-average{ |
| 110 | display: inline-flex!important; |
| 111 | align-items: center; |
| 112 | } |
| 113 | [id^=sb-reviews-container-] .sb-feed-header-rating-icons{ |
| 114 | margin: 0 5px; |
| 115 | display: inline-flex; |
| 116 | justify-content: center; |
| 117 | } |
| 118 | /* Frontend-only line-height pin on the stars wrap. The wrap holds only |
| 119 | SVG stars (no text), so it has no business inheriting the host theme's |
| 120 | body line-height (Kadence 1.6 inflates the wrap to ~29px against 18px |
| 121 | stars, pushing the stars 5px above the subtext baseline). Scoped to |
| 122 | body:not(.wp-admin) so the customizer admin preview keeps its own |
| 123 | rendering (the React build's sb-common.css governs that surface, and |
| 124 | the wp-admin body's 1.4 line-height already collapses the wrap there). */ |
| 125 | body:not(.wp-admin) [id^=sb-reviews-container-] .sb-feed-header-rating-icons{ |
| 126 | line-height: 1; |
| 127 | } |
| 128 | /* No float on the star svg. The legacy float:left collapsed the icon wrappers |
| 129 | against host themes (e.g. Twenty Twenty-Four), so the header stars lost |
| 130 | vertical alignment and the half/last star broke. The inline-flex row doesn't |
| 131 | need it. The frontend loads only this stylesheet (sb-common.css is admin-only), |
| 132 | so dropping it here fixes the frontend; the customizer admin preview keeps its |
| 133 | own float via sb-common.css and renders unchanged. SMASH-1544. */ |
| 134 | [id^=sb-reviews-container-] .sb-feed-header-rating-icons svg{ |
| 135 | margin: 0 7px; |
| 136 | display: inline-flex; |
| 137 | justify-content: center; |
| 138 | width: 18px; |
| 139 | fill: currentColor; |
| 140 | margin: 0 2px; |
| 141 | } |
| 142 | /* Booking-only header: the hotel's real general-rating word (e.g. "Exceptional") |
| 143 | sits beside the 0-10 score in place of star icons. The score itself is badged |
| 144 | to match the per-card score badge (.sb-item-rating-score-badge), sized up a |
| 145 | touch for header prominence. SMASH-782. */ |
| 146 | /* 10px gap keeps the badge, the word and the "Over N Reviews" subtext evenly |
| 147 | spaced. The stars header gets its spacing from the icon-wrap margin; the |
| 148 | badge has none, so without this the subtext sits flush against it. */ |
| 149 | [id^=sb-reviews-container-] .sb-feed-header-average-booking{ |
| 150 | gap: 10px; |
| 151 | } |
| 152 | [id^=sb-reviews-container-] .sb-feed-header-average-booking .sb-feed-header-rating{ |
| 153 | background: #003580; |
| 154 | /* !important: the feed's header text-color rule otherwise wins and paints |
| 155 | the number dark-on-dark-blue (unreadable). The badge is always white. */ |
| 156 | color: #fff !important; |
| 157 | font-weight: 700 !important; |
| 158 | /* !important so 16px/16px win over the feed's generated header-rating font |
| 159 | rule (#id .sb-feed-header-rating), which has higher (ID) specificity. */ |
| 160 | font-size: 16px !important; |
| 161 | padding: 8px 6px; |
| 162 | border-radius: 6px 6px 6px 0; |
| 163 | min-width: auto; |
| 164 | text-align: center; |
| 165 | line-height: 16px !important; |
| 166 | } |
| 167 | [id^=sb-reviews-container-] .sb-feed-header-average-booking .sb-feed-header-rating-label{ |
| 168 | font-weight: 600; |
| 169 | } |
| 170 | |
| 171 | /*Posts Loop*/ |
| 172 | [data-layout="list"] .sb-post-item-wrap, |
| 173 | [data-layout="masonry"] .sb-post-item-wrap, |
| 174 | [data-layout="grid"] .sb-post-item-wrap, |
| 175 | [data-layout="carousel"] .sb-post-item-wrap { |
| 176 | width: 100%; |
| 177 | position: relative; |
| 178 | float: left; |
| 179 | box-sizing: border-box; |
| 180 | } |
| 181 | [id^=sb-reviews-container-] .sb-post-item { |
| 182 | position: relative; |
| 183 | } |
| 184 | [data-layout="carousel"] .sb-feed-posts .Carousel__RailWrapper-sc-hyhecw-1{ |
| 185 | width: 100%; |
| 186 | } |
| 187 | [data-post-style="regular"][data-layout="list"] .sb-post-item-wrap:last-of-type{ |
| 188 | border-bottom: 0px!important; |
| 189 | } |
| 190 | |
| 191 | [id^=sb-reviews-container-] .sb-grid-wrapper .sb-feed-posts{ |
| 192 | display: grid; |
| 193 | column-gap: var(--column-gutter) |
| 194 | } |
| 195 | [id^=sb-reviews-container-] .sb-grid-wrapper[data-grid-columns="1"] .sb-feed-posts{ |
| 196 | grid-template-columns: 1fr; |
| 197 | } |
| 198 | [id^=sb-reviews-container-] .sb-grid-wrapper[data-grid-columns="2"] .sb-feed-posts{ |
| 199 | grid-template-columns: 1fr 1fr; |
| 200 | } |
| 201 | [id^=sb-reviews-container-] .sb-grid-wrapper[data-grid-columns="3"] .sb-feed-posts{ |
| 202 | grid-template-columns: 1fr 1fr 1fr; |
| 203 | } |
| 204 | [id^=sb-reviews-container-] .sb-grid-wrapper[data-grid-columns="4"] .sb-feed-posts{ |
| 205 | grid-template-columns: 1fr 1fr 1fr 1fr; |
| 206 | } |
| 207 | [id^=sb-reviews-container-] .sb-grid-wrapper[data-grid-columns="5"] .sb-feed-posts{ |
| 208 | grid-template-columns: 1fr 1fr 1fr 1fr 1fr; |
| 209 | } |
| 210 | [id^=sb-reviews-container-] .sb-grid-wrapper[data-grid-columns="6"] .sb-feed-posts{ |
| 211 | grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr; |
| 212 | } |
| 213 | [id^=sb-reviews-container-] a.sb-feed-header-btn { |
| 214 | text-decoration: none; |
| 215 | } |
| 216 | |
| 217 | [id^=sb-reviews-container-] .sb-item-provider-icon{ |
| 218 | position: absolute; |
| 219 | width: 24px; |
| 220 | height: 24px; |
| 221 | right: 10px; |
| 222 | top: 10px; |
| 223 | } |
| 224 | [id^=sb-reviews-container-] .sb-item-provider-icon svg{ |
| 225 | width: 24px; |
| 226 | height: 24px; |
| 227 | float: left; |
| 228 | } |
| 229 | [id^=sb-reviews-container-] .sb-item-provider-icon img{ |
| 230 | width: 100%; |
| 231 | } |
| 232 | [id^=sb-reviews-container-] .sb-item-author-ctn{ |
| 233 | display: flex; |
| 234 | align-items: flex-start; |
| 235 | float: left; |
| 236 | } |
| 237 | [id^=sb-reviews-container-] .sb-item-author-img img{ |
| 238 | float: left; |
| 239 | } |
| 240 | [id^=sb-reviews-container-] .sb-item-name-date span{ |
| 241 | display: block; |
| 242 | width: 100%; |
| 243 | } |
| 244 | |
| 245 | /* Star Rating - Container-scoped styles */ |
| 246 | [id^=sb-reviews-container-] .sb-item-rating-ctn { |
| 247 | display: inline-flex; |
| 248 | } |
| 249 | [id^=sb-reviews-container-] .sb-item-rating{ |
| 250 | display: flex; |
| 251 | align-items: center; |
| 252 | } |
| 253 | [id^=sb-reviews-container-] .sb-item-rating-icon svg{ |
| 254 | fill: currentColor; |
| 255 | margin: 0 2px; |
| 256 | float: left; |
| 257 | width: 20px; |
| 258 | height: 20px; |
| 259 | } |
| 260 | [id^=sb-reviews-container-] .sb-item-rating-icon-dimmed svg{ |
| 261 | filter: grayscale(1); |
| 262 | } |
| 263 | [id^=sb-reviews-container-] .sb-feed-item-icon-half { |
| 264 | display: inline-block; |
| 265 | position: relative; |
| 266 | } |
| 267 | |
| 268 | [id^=sb-reviews-container-] .sb-item-rating-icon-halfdimmed { |
| 269 | position: absolute; |
| 270 | width: 50%; |
| 271 | overflow: hidden; |
| 272 | left: 0px; |
| 273 | top: 0px; |
| 274 | } |
| 275 | [data-icon-size="small"] .sb-item-rating-icon svg{ |
| 276 | width: 16px; |
| 277 | height: 16px; |
| 278 | } |
| 279 | |
| 280 | [data-icon-size="medium"] .sb-item-author-img, |
| 281 | [data-icon-size="medium"] .sb-item-author-img img { |
| 282 | width: 56px; |
| 283 | min-width: 56px; |
| 284 | height: 56px; |
| 285 | } |
| 286 | [id^=sb-reviews-container-] .sb-load-button{ |
| 287 | height: auto; |
| 288 | } |
| 289 | |
| 290 | [id^=sb-reviews-container-] .sb-item-author-date-ctn, |
| 291 | [id^=sb-reviews-container-] .sb-item-author-ctn, |
| 292 | [id^=sb-reviews-container-] .sb-item-text, |
| 293 | [id^=sb-reviews-container-] .sb-item-rating, |
| 294 | [id^=sb-reviews-container-] .sb-item-author-img, |
| 295 | [id^=sb-reviews-container-] .sb-item-name-date > span{ |
| 296 | z-index: 1 |
| 297 | } |
| 298 | [id^=sb-reviews-container-] .sb-item-author-date-ctn { |
| 299 | padding-right: 34px; |
| 300 | } |
| 301 | [id^=sb-reviews-container-] .sbr-narrow .sb-item-author-date-ctn{ |
| 302 | padding-right: 21px; |
| 303 | } |
| 304 | [id^=sb-reviews-container-] .sbr-narrow .sb-item-author-img, |
| 305 | [id^=sb-reviews-container-] .sbr-narrow .sb-item-author-img img{ |
| 306 | width: 44px; |
| 307 | min-width: 44px; |
| 308 | height: 44px; |
| 309 | } |
| 310 | [id^=sb-reviews-container-] .sbr-narrow .sb-item-provider-icon{ |
| 311 | width: 20px; |
| 312 | height: 20px; |
| 313 | right: 1px; |
| 314 | top: 1px; |
| 315 | } |
| 316 | |
| 317 | /* |
| 318 | Owl Carousel Styling |
| 319 | */ |
| 320 | [data-layout="carousel"] .owl-nav button{ |
| 321 | position: absolute; |
| 322 | width: 30px; |
| 323 | height: 30px; |
| 324 | top: calc(50% - 15px); |
| 325 | left: 0; |
| 326 | display: inline-flex; |
| 327 | opacity: .7; |
| 328 | border-radius: 50%; |
| 329 | background: #fff!important; |
| 330 | color: #000!important; |
| 331 | box-shadow: 0 0 5px 0 rgb(0 0 0 / 20%); |
| 332 | overflow: hidden; |
| 333 | line-height: 99999; |
| 334 | -webkit-transition: .2s; |
| 335 | transition: .2s; |
| 336 | } |
| 337 | [data-layout="carousel"] .owl-nav button:before { |
| 338 | content: ''; |
| 339 | position: absolute; |
| 340 | width: 8px; |
| 341 | height: 8px; |
| 342 | top: 10px; |
| 343 | left: 11px; |
| 344 | border-left: 2px solid currentColor; |
| 345 | border-bottom: 2px solid currentColor; |
| 346 | -webkit-transform: rotate(45deg); |
| 347 | transform: rotate(45deg); |
| 348 | } |
| 349 | [data-layout="carousel"] .owl-nav .owl-next{ |
| 350 | left: unset; |
| 351 | right: 0; |
| 352 | } |
| 353 | [data-layout="carousel"] .owl-nav .owl-next:before { |
| 354 | left: 7px; |
| 355 | -webkit-transform: rotate(-135deg); |
| 356 | transform: rotate(-135deg); |
| 357 | } |
| 358 | |
| 359 | [data-layout="carousel"] .owl-nav button:hover { |
| 360 | opacity: 1; |
| 361 | } |
| 362 | [data-layout="carousel"] .owl-dots{ |
| 363 | position: relative; |
| 364 | text-align: center; |
| 365 | padding-right: 4px; |
| 366 | } |
| 367 | [data-layout="carousel"] .owl-dot { |
| 368 | width: 10px; |
| 369 | height: 10px; |
| 370 | background: #E6E6EB!important; |
| 371 | border-radius: 50px; |
| 372 | margin: 0 4px; |
| 373 | display: inline-block; |
| 374 | } |
| 375 | [data-layout="carousel"] .owl-dot.active { |
| 376 | background: #d0d0d8!important; |
| 377 | } |
| 378 | [id^=sb-reviews-container-] .sbr-provider-google .sb-item-author-img, |
| 379 | [id^=sb-reviews-container-] .sbr-provider-google img { |
| 380 | border-radius: 0 !important; |
| 381 | } |
| 382 | |
| 383 | [id^=sb-reviews-container-] .sb-item-author-img, |
| 384 | [id^=sb-reviews-container-] .sb-item-author-img img { |
| 385 | width: 56px; |
| 386 | min-width: 56px; |
| 387 | height: 56px; |
| 388 | border-radius: 50px; |
| 389 | } |
| 390 | [id^=sb-reviews-container-] .sb-item-author-img{ |
| 391 | background-size: cover; |
| 392 | background-position: center center; |
| 393 | } |
| 394 | |
| 395 | |
| 396 | /** Frontend Only **/ |
| 397 | [id^=sb-reviews-container-] .sb-feed-posts::after { |
| 398 | display: table; |
| 399 | content: " "; |
| 400 | clear: both; |
| 401 | } |
| 402 | [id^=sb-reviews-container-] .sbr-hidden { |
| 403 | visibility: hidden; |
| 404 | } |
| 405 | .sbr-feed-error { |
| 406 | border: 1px solid #ddd; |
| 407 | background: #eee; |
| 408 | color: #333; |
| 409 | margin: 0 auto 10px; |
| 410 | padding: 10px 15px; |
| 411 | font-size: 13px; |
| 412 | text-align: center; |
| 413 | clear: both; |
| 414 | -moz-border-radius: 4px; |
| 415 | -webkit-border-radius: 4px; |
| 416 | border-radius: 4px |
| 417 | } |
| 418 | |
| 419 | .sbr-feed-error p { |
| 420 | padding: 5px 0!important; |
| 421 | margin: 0!important; |
| 422 | line-height: 1.3!important; |
| 423 | font-size: 13px |
| 424 | } |
| 425 | |
| 426 | .sbr-feed-error p:first-child b { |
| 427 | font-size: 14px |
| 428 | } |
| 429 | |
| 430 | .sbr-feed-error ol,.sbr-feed-error ul { |
| 431 | padding: 5px 0 5px 20px!important; |
| 432 | margin: 0!important |
| 433 | } |
| 434 | |
| 435 | .sbr-feed-error li { |
| 436 | padding: 1px 0!important; |
| 437 | margin: 0!important |
| 438 | } |
| 439 | |
| 440 | .sbr-feed-error span { |
| 441 | font-size: 12px; |
| 442 | font-style: italic |
| 443 | } |
| 444 | [id^=sb-reviews-container-] .sb-num-diff-hide { |
| 445 | display: none; |
| 446 | } |
| 447 | [id^=sb-reviews-container-] .sb-load-button-ctn { |
| 448 | position: relative; |
| 449 | } |
| 450 | [id^=sb-reviews-container-] .sb-expand { |
| 451 | display: inline-block; |
| 452 | } |
| 453 | /* a11y (A11Y-074): read-more toggle converted from <a href="#"> to <button> -- |
| 454 | neutralise UA button chrome so it renders identically to the old inline anchor */ |
| 455 | [id^=sb-reviews-container-] .sb-expand button { |
| 456 | -webkit-appearance: none; |
| 457 | appearance: none; |
| 458 | border: 0; |
| 459 | background: none; |
| 460 | padding: 0; |
| 461 | margin: 0; |
| 462 | font: inherit; |
| 463 | line-height: inherit; |
| 464 | color: inherit; |
| 465 | cursor: pointer; |
| 466 | vertical-align: baseline; |
| 467 | box-sizing: border-box; |
| 468 | } |
| 469 | [id^=sb-reviews-container-] .sb-more { |
| 470 | margin-left: 6px; |
| 471 | } |
| 472 | [id^=sb-reviews-container-] .sb-media-wrap { |
| 473 | width: 100%; |
| 474 | display: flex; |
| 475 | justify-content: flex-start; |
| 476 | flex-wrap: wrap; |
| 477 | margin-top: 15px; |
| 478 | gap: 8px; |
| 479 | } |
| 480 | [id^=sb-reviews-container-] .sb-media-placeholder { |
| 481 | clear: both; |
| 482 | } |
| 483 | [id^=sb-reviews-container-] .sb-single-image img, |
| 484 | [id^=sb-reviews-container-] .sb-single-image { |
| 485 | height: 64px; |
| 486 | width: 64px; |
| 487 | border-radius: 5px; |
| 488 | } |
| 489 | [id^=sb-reviews-container-] .sb-single-image { |
| 490 | background-position: center center; |
| 491 | background-size: cover; |
| 492 | } |
| 493 | [id^=sb-reviews-container-] .sb-single-image img{ |
| 494 | opacity: 0; |
| 495 | visibility: hidden |
| 496 | } |
| 497 | [id^=sb-reviews-container-] .sb-btn { |
| 498 | align-items: center; |
| 499 | border: 0; |
| 500 | border-radius: 4px; |
| 501 | box-shadow: 0 2px 5px rgb(60 66 87 / 5%), 0 1px 1px rgb(0 0 0 / 5%), inset 0 -1px 1px rgb(0 0 0 / 12%); |
| 502 | cursor: pointer; |
| 503 | display: flex; |
| 504 | font-weight: 600; |
| 505 | justify-content: center; |
| 506 | outline: none; |
| 507 | padding: 0; |
| 508 | position: relative; |
| 509 | transition: all .15s ease-in-out; |
| 510 | color: #fff; |
| 511 | } |
| 512 | [id^=sb-reviews-container-] .sb-btn[data-icon-position=left]:not([data-onlyicon=false]) .sb-btn-icon { |
| 513 | margin-right: 7px |
| 514 | } |
| 515 | [id^=sb-reviews-container-] .sb-feed-header-btn { |
| 516 | padding: 8px 20px 8px 12px; |
| 517 | } |
| 518 | [id^=sb-reviews-container-] .sb-btn[data-icon-position=left]:not([data-onlyicon=false]) { |
| 519 | flex-direction: row |
| 520 | } |
| 521 | [id^=sb-reviews-container-] .sb-btn[data-boxshadow=false],.sb-btn[data-boxshadow=false]:active,.sb-btn[data-boxshadow=false]:focus { |
| 522 | box-shadow: none |
| 523 | } |
| 524 | |
| 525 | [id^=sb-reviews-container-] .sb-btn:active { |
| 526 | -webkit-transform: scale(.98); |
| 527 | transform: scale(.98) |
| 528 | } |
| 529 | |
| 530 | [id^=sb-reviews-container-] .sb-btn:focus { |
| 531 | box-shadow: 0 2px 5px rgba(60,66,87,.05),0 1px 1px rgba(0,0,0,.05),inset 0 -1px 1px rgba(0,0,0,.12) |
| 532 | } |
| 533 | [id^=sb-reviews-container-] .sb-feed-header-btn:focus-visible, |
| 534 | [id^=sb-reviews-container-] .sb-btn:focus-visible, |
| 535 | [id^=sb-reviews-container-] .sb-expand button:focus-visible, |
| 536 | [id^=sb-reviews-container-] a.sb-single-image:focus-visible { |
| 537 | outline: 2px solid #141B38; |
| 538 | outline-offset: 2px; |
| 539 | } |
| 540 | |
| 541 | [id^=sb-reviews-container-] .sb-btn[data-full-width=true] { |
| 542 | width: 100% |
| 543 | } |
| 544 | [id^=sb-reviews-container-] .sb-load-button { |
| 545 | padding: 15px 0px 15px 0px; |
| 546 | color: #141B38; |
| 547 | } |
| 548 | [id^=sb-reviews-container-] .sb-feed-header-btn svg { |
| 549 | width: 17px; |
| 550 | } |
| 551 | [id^=sb-reviews-container-] .sb-btn svg, .sb-btn svg path { |
| 552 | fill: currentColor; |
| 553 | } |
| 554 | [id^=sb-reviews-container-] .sb-btn svg { |
| 555 | float: left; |
| 556 | height: auto; |
| 557 | } |
| 558 | /* Lightbox Hover */ |
| 559 | [id^=sb-reviews-container-] .sb-single-image { |
| 560 | position:relative; |
| 561 | } |
| 562 | [id^=sb-reviews-container-] .sb-thumbnail-hover { |
| 563 | box-sizing: border-box; |
| 564 | opacity: 0; |
| 565 | display: block; |
| 566 | position: absolute; |
| 567 | top: 0; |
| 568 | right: 0; |
| 569 | bottom: 0; |
| 570 | left: 0; |
| 571 | z-index: 10; |
| 572 | color: #fff; |
| 573 | background: #333; |
| 574 | border-radius: 5px; |
| 575 | background: rgba(0,0,0,.6); |
| 576 | transition: opacity .6s ease-in-out; |
| 577 | -moz-transition: opacity .6s ease-in-out; |
| 578 | -webkit-transition: opacity .6s ease-in-out |
| 579 | } |
| 580 | [id^=sb-reviews-container-] .sb-thumbnail-hover:hover { |
| 581 | opacity: 1; |
| 582 | display: block; |
| 583 | transition: opacity .2s ease-in-out; |
| 584 | -moz-transition: opacity .2s ease-in-out; |
| 585 | -webkit-transition: opacity .2s ease-in-out; |
| 586 | } |
| 587 | |
| 588 | /* Loader */ |
| 589 | [id^=sb-reviews-container-] .sbr-loader{ |
| 590 | width: 20px; |
| 591 | height: 20px; |
| 592 | |
| 593 | position: relative; |
| 594 | top: 50%; |
| 595 | left: 50%; |
| 596 | margin: -10px 0 0 -10px; |
| 597 | background-color: #000; |
| 598 | background-color: rgba(0,0,0,0.5); |
| 599 | |
| 600 | border-radius: 100%; |
| 601 | -webkit-animation: sbr-sk-scaleout 1.0s infinite ease-in-out; |
| 602 | animation: sbr-sk-scaleout 1.0s infinite ease-in-out; |
| 603 | } |
| 604 | /* Loader in button */ |
| 605 | [id^=sb-reviews-container-] .sb-load-button-ctn .sbr-loader{ |
| 606 | position: absolute; |
| 607 | margin-top: -11px; |
| 608 | background-color: #fff; |
| 609 | opacity: 1; |
| 610 | } |
| 611 | @-webkit-keyframes sbr-sk-scaleout { |
| 612 | 0% { -webkit-transform: scale(0) } |
| 613 | 100% { |
| 614 | -webkit-transform: scale(1.0); |
| 615 | opacity: 0; |
| 616 | } |
| 617 | } |
| 618 | @keyframes sbr-sk-scaleout { |
| 619 | 0% { |
| 620 | -webkit-transform: scale(0); |
| 621 | -ms-transform: scale(0); |
| 622 | transform: scale(0); |
| 623 | } 100% { |
| 624 | -webkit-transform: scale(1.0); |
| 625 | -ms-transform: scale(1.0); |
| 626 | transform: scale(1.0); |
| 627 | opacity: 0; |
| 628 | } |
| 629 | } |
| 630 | |
| 631 | |
| 632 | |
| 633 | /* --- Lightbox --- */ |
| 634 | |
| 635 | .sbr_lightboxOverlay { |
| 636 | position: absolute; |
| 637 | top: 0; |
| 638 | left: 0; |
| 639 | z-index: 99999; |
| 640 | background-color: black; |
| 641 | filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80); |
| 642 | opacity: 0.9; |
| 643 | display: none; |
| 644 | } |
| 645 | /* WP 7.0+ iframed block editor canvas: sbr-feed.js's chained Lightbox init |
| 646 | appends #sbr_lightbox to <body> but doesn't reliably reach its trailing |
| 647 | .hide() call inside the iframe, so the container renders visible. jQuery |
| 648 | .fadeIn() on open sets inline display:block which beats this rule, so the |
| 649 | lightbox still opens normally when triggered. */ |
| 650 | #sbr_lightbox { display: none; } |
| 651 | .sbr_lightbox { |
| 652 | position: absolute; |
| 653 | left: 0; |
| 654 | width: 100%; |
| 655 | z-index: 100000; |
| 656 | line-height: 0; |
| 657 | font-weight: normal; |
| 658 | } |
| 659 | .sbr_lightbox .sbr_lb-image { |
| 660 | display: block; |
| 661 | height: auto; |
| 662 | max-width: inherit; |
| 663 | -webkit-border-radius: 3px; |
| 664 | -moz-border-radius: 3px; |
| 665 | -ms-border-radius: 3px; |
| 666 | -o-border-radius: 3px; |
| 667 | border-radius: 3px; |
| 668 | } |
| 669 | .sbr_lightbox a:hover, |
| 670 | .sbr_lightbox a:focus, |
| 671 | .sbr_lightbox a:active{ |
| 672 | outline: none; |
| 673 | } |
| 674 | .sbr_lightbox a img { |
| 675 | border: none; |
| 676 | } |
| 677 | .sbr_lb-outerContainer { |
| 678 | position: relative; |
| 679 | background-color: #000; |
| 680 | *zoom: 1; |
| 681 | width: 250px; |
| 682 | height: 250px; |
| 683 | margin: 0 auto 5px auto; |
| 684 | -webkit-border-radius: 3px; |
| 685 | -moz-border-radius: 3px; |
| 686 | -ms-border-radius: 3px; |
| 687 | -o-border-radius: 3px; |
| 688 | border-radius: 3px; |
| 689 | } |
| 690 | .sbr_lb-outerContainer:after { |
| 691 | content: ""; |
| 692 | display: table; |
| 693 | clear: both; |
| 694 | } |
| 695 | .sbr_lb-container { |
| 696 | position: relative; |
| 697 | padding: 4px; |
| 698 | top: 0; |
| 699 | left: 0; |
| 700 | width: 100%; |
| 701 | height: 100%; |
| 702 | bottom: 0; |
| 703 | right: 0; |
| 704 | |
| 705 | -webkit-border-radius: 3px; |
| 706 | -moz-border-radius: 3px; |
| 707 | -ms-border-radius: 3px; |
| 708 | -o-border-radius: 3px; |
| 709 | border-radius: 3px; |
| 710 | } |
| 711 | .sbr_lb-loader { |
| 712 | position: absolute; |
| 713 | top: 43%; |
| 714 | left: 0; |
| 715 | height: 25%; |
| 716 | width: 100%; |
| 717 | text-align: center; |
| 718 | line-height: 0; |
| 719 | } |
| 720 | .sbr_lb-cancel { |
| 721 | display: block; |
| 722 | width: 32px; |
| 723 | height: 32px; |
| 724 | margin: 0 auto; |
| 725 | background-color: #666; |
| 726 | background-color: rgba(255,255,255,0.5); |
| 727 | |
| 728 | border-radius: 100%; |
| 729 | -webkit-animation: ctf-sk-scaleout 1.0s infinite ease-in-out; |
| 730 | animation: ctf-sk-scaleout 1.0s infinite ease-in-out; |
| 731 | } |
| 732 | |
| 733 | |
| 734 | .sbr_lb-nav { |
| 735 | /*position: absolute;*/ |
| 736 | top: 0; |
| 737 | left: 0; |
| 738 | /*height: 100%;*/ |
| 739 | width: 100%; |
| 740 | z-index: 10; |
| 741 | /*pointer-events: none;*/ |
| 742 | } |
| 743 | .sbr_lb-container > .nav { |
| 744 | left: 0; |
| 745 | } |
| 746 | .sbr_lb-nav a, |
| 747 | .sbr_lb-nav button { |
| 748 | position: absolute; |
| 749 | z-index: 100; |
| 750 | top: 0; |
| 751 | height: 90%; |
| 752 | background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=='); |
| 753 | } |
| 754 | |
| 755 | |
| 756 | /* Arrows */ |
| 757 | .sbr_lb-prev, .sbr_lb-next { |
| 758 | height: 100%; |
| 759 | cursor: pointer; |
| 760 | display: block; |
| 761 | } |
| 762 | .sbr_lb-nav .sbr_lb-prev { |
| 763 | /*width: 30%;*/ |
| 764 | width: 50px; |
| 765 | left: -70px; |
| 766 | padding-left: 10px; |
| 767 | padding-right: 10px; |
| 768 | float: left; |
| 769 | |
| 770 | filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0.5); |
| 771 | opacity: 0.5; |
| 772 | -webkit-transition: opacity 0.2s; |
| 773 | -moz-transition: opacity 0.2; |
| 774 | -o-transition: opacity 0.2s; |
| 775 | transition: opacity 0.2s; |
| 776 | |
| 777 | } |
| 778 | |
| 779 | .sbr_lb-nav .sbr_lb-prev:hover { |
| 780 | filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100); |
| 781 | opacity: 1; |
| 782 | } |
| 783 | |
| 784 | .sbr_lb-nav .sbr_lb-next { |
| 785 | /*width: 30%;*/ |
| 786 | width: 50px; |
| 787 | right: -70px; |
| 788 | padding-left: 10px; |
| 789 | padding-right: 10px; |
| 790 | float: right; |
| 791 | |
| 792 | filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0.5); |
| 793 | opacity: 0.5; |
| 794 | -webkit-transition: opacity 0.2s; |
| 795 | -moz-transition: opacity 0.2s; |
| 796 | -o-transition: opacity 0.2s; |
| 797 | transition: opacity 0.2s; |
| 798 | |
| 799 | } |
| 800 | |
| 801 | .sbr_lb-nav .sbr_lb-next:hover { |
| 802 | filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100); |
| 803 | opacity: 1; |
| 804 | } |
| 805 | |
| 806 | .sbr_lb-nav span{ |
| 807 | display: block; |
| 808 | top: 55%; |
| 809 | position: absolute; |
| 810 | left: 20px; |
| 811 | width: 34px; |
| 812 | height: 45px; |
| 813 | margin: -25px 0 0 0; |
| 814 | background: url(../images/sprite.png) no-repeat; |
| 815 | } |
| 816 | .sbr_lb-nav .sbr_lb-prev span{ |
| 817 | background-position: -53px 0; |
| 818 | } |
| 819 | .sbr_lb-nav .sbr_lb-next span{ |
| 820 | left: auto; |
| 821 | right: 20px; |
| 822 | background-position: -18px 0; |
| 823 | } |
| 824 | |
| 825 | |
| 826 | .sbr_lb-dataContainer { |
| 827 | margin: 0 auto; |
| 828 | padding-top: 5px; |
| 829 | *zoom: 1; |
| 830 | width: 100%; |
| 831 | font-family: "Open Sans", Helvetica, Arial, sans-serif; |
| 832 | |
| 833 | -moz-border-radius-bottomleft: 4px; |
| 834 | -webkit-border-bottom-left-radius: 4px; |
| 835 | border-bottom-left-radius: 4px; |
| 836 | -moz-border-radius-bottomright: 4px; |
| 837 | -webkit-border-bottom-right-radius: 4px; |
| 838 | border-bottom-right-radius: 4px; |
| 839 | } |
| 840 | .sbr_lb-dataContainer:after { |
| 841 | content: ""; |
| 842 | display: table; |
| 843 | clear: both; |
| 844 | } |
| 845 | .sbr_lb-data { |
| 846 | padding: 0 4px; |
| 847 | color: #ccc; |
| 848 | } |
| 849 | .sbr_lb-data .sbr_lb-details { |
| 850 | width: 85%; |
| 851 | float: left; |
| 852 | text-align: left; |
| 853 | line-height: 1.1; |
| 854 | } |
| 855 | .sbr_lb-data .sbr_lb-caption { |
| 856 | float: left; |
| 857 | font-size: 13px; |
| 858 | font-weight: normal; |
| 859 | line-height: 1.3; |
| 860 | padding-bottom: 3px; |
| 861 | color: #ccc; |
| 862 | |
| 863 | word-wrap: break-word; |
| 864 | -webkit-hyphens: auto; |
| 865 | -moz-hyphens: auto; |
| 866 | hyphens: auto; |
| 867 | } |
| 868 | .sbr_lb-data .sbr_lb-caption a, |
| 869 | .sbr_lb-data .sbr_lb-caption .ctf-screename-sep{ |
| 870 | color: #ccc; |
| 871 | font-weight: bold; |
| 872 | text-decoration: none; |
| 873 | } |
| 874 | .sbr_lb-data .sbr_lb-caption a:hover{ |
| 875 | color: #fff; |
| 876 | text-decoration: underline; |
| 877 | } |
| 878 | .sbr_lb-data .sbr_lb-caption .sbr_lightbox_username{ |
| 879 | float: left; |
| 880 | width: 100%; |
| 881 | color: #ccc; |
| 882 | padding-bottom: 0; |
| 883 | display: block; |
| 884 | margin: 0 0 5px 0; |
| 885 | } |
| 886 | .sbr_lb-data .sbr_lb-caption .sbr_lightbox_username{ |
| 887 | color: #ccc; |
| 888 | } |
| 889 | .sbr_lb-data .sbr_lb-caption .sbr_lightbox_username:hover p{ |
| 890 | color: #fff; |
| 891 | text-decoration: underline; |
| 892 | } |
| 893 | .sbr_lightbox .sbr_lightbox_username img { |
| 894 | float: left; |
| 895 | border: none; |
| 896 | width: 48px; |
| 897 | height: 48px; |
| 898 | margin-right: 10px; |
| 899 | background: #666; |
| 900 | |
| 901 | -moz-border-radius: 5px; |
| 902 | -webkit-border-radius: 5px; |
| 903 | border-radius: 5px; |
| 904 | } |
| 905 | .sbr_lightbox_username p{ |
| 906 | float: left; |
| 907 | margin: 0; |
| 908 | padding: 0; |
| 909 | color: #ccc; |
| 910 | line-height: 32px; |
| 911 | font-weight: bold; |
| 912 | font-size: 13px; |
| 913 | text-align: left; |
| 914 | } |
| 915 | |
| 916 | .sbr_lb-data .ctf-caption-text{ |
| 917 | width: 100%; |
| 918 | margin-left: 58px; |
| 919 | padding-top: 3px; |
| 920 | } |
| 921 | .sbr_lb-data .sbr_lb-caption .ctf-tweet-date, |
| 922 | .sbr_lb-data .sbr_lb-caption .ctf-author-screenname{ |
| 923 | font-weight: normal; |
| 924 | } |
| 925 | .sbr_lb-data .sbr_lb-info{ |
| 926 | width: 100%; |
| 927 | float: left; |
| 928 | clear: both; |
| 929 | } |
| 930 | .sbr_lb-data .sbr_lb-number { |
| 931 | display: block; |
| 932 | float: left; |
| 933 | clear: both; |
| 934 | padding: 5px 0 15px 0; |
| 935 | font-size: 12px; |
| 936 | color: #999999; |
| 937 | } |
| 938 | .sbr_lb-data .sbr_lb-close { |
| 939 | display: block; |
| 940 | float: right; |
| 941 | width: 30px; |
| 942 | height: 30px; |
| 943 | background: url(../images/close.png) top right no-repeat; |
| 944 | text-align: right; |
| 945 | outline: none; |
| 946 | filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70); |
| 947 | opacity: 0.7; |
| 948 | -webkit-transition: opacity 0.2s; |
| 949 | -moz-transition: opacity 0.2s; |
| 950 | -o-transition: opacity 0.2s; |
| 951 | transition: opacity 0.2s; |
| 952 | } |
| 953 | .sbr_lb-data .sbr_lb-close:hover { |
| 954 | cursor: pointer; |
| 955 | filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100); |
| 956 | opacity: 1; |
| 957 | } |
| 958 | |
| 959 | /* a11y: lightbox close/prev/next converted from <a> to <button> -- neutralise UA button chrome */ |
| 960 | .sbr_lb-nav button.sbr_lb-prev, |
| 961 | .sbr_lb-nav button.sbr_lb-next, |
| 962 | .sbr_lb-data button.sbr_lb-close { |
| 963 | -webkit-appearance: none; |
| 964 | appearance: none; |
| 965 | border: 0; |
| 966 | background-color: transparent; |
| 967 | font: inherit; |
| 968 | color: inherit; |
| 969 | cursor: pointer; |
| 970 | } |
| 971 | .sbr_lb-data button.sbr_lb-close { |
| 972 | padding: 0; |
| 973 | } |
| 974 | /* a11y: visible keyboard focus on the lightbox controls (replaces suppressed <a> outline) */ |
| 975 | #sbr_lightbox button.sbr_lb-prev:focus-visible, |
| 976 | #sbr_lightbox button.sbr_lb-next:focus-visible, |
| 977 | #sbr_lightbox button.sbr_lb-close:focus-visible { |
| 978 | outline: 2px solid #fff; |
| 979 | outline-offset: 2px; |
| 980 | } |
| 981 | |
| 982 | /* Lightbox video - must go after lighbox CSS */ |
| 983 | /* Leave a gap at the bottom of the nav for video controls */ |
| 984 | .sbr_lb-nav { |
| 985 | height: auto; |
| 986 | } |
| 987 | /* Remove 4px padding from lightbox container so video lines up */ |
| 988 | .sbr_lb-container{ |
| 989 | padding: 0; |
| 990 | } |
| 991 | .sbr_lb-container iframe { |
| 992 | position: absolute; |
| 993 | top: 0; |
| 994 | left:0; |
| 995 | width: 100%; |
| 996 | height: 100%; |
| 997 | z-index: 1; |
| 998 | } |
| 999 | /* Lightbox action links */ |
| 1000 | #sbr_lightbox .sbr_lightbox_action{ |
| 1001 | float: left; |
| 1002 | /*clear: both;*/ |
| 1003 | position: relative; |
| 1004 | padding: 0 0 0 10px; |
| 1005 | margin: 5px 0 0 10px; |
| 1006 | border-left: 1px solid #666; |
| 1007 | font-size: 12px; |
| 1008 | } |
| 1009 | #sbr_lightbox .sbr_lightbox_action a{ |
| 1010 | display: block; |
| 1011 | float: left; |
| 1012 | color: #999; |
| 1013 | text-decoration: none; |
| 1014 | } |
| 1015 | #sbr_lightbox .sbr_lightbox_action a:hover, |
| 1016 | #sbr_lightbox .sbr_lightbox_action a:focus{ |
| 1017 | color: #fff; |
| 1018 | } |
| 1019 | #sbr_lightbox .sbr_lightbox_action .fa, |
| 1020 | #sbr_lightbox .sbr_lightbox_action svg { |
| 1021 | margin-right: 5px; |
| 1022 | } |
| 1023 | #sbr_lightbox .sbr_lightbox_action.sbr_youtube .fa { |
| 1024 | font-size: 13px; |
| 1025 | } |
| 1026 | #sbr_lightbox .sbr_tooltip_social a svg { |
| 1027 | font-size: 19px; |
| 1028 | padding: 3px 4px; |
| 1029 | margin: auto; |
| 1030 | } |
| 1031 | /* Lightbox tooltip */ |
| 1032 | #sbr_lightbox .sbr_lightbox_tooltip{ |
| 1033 | display: none; |
| 1034 | position: absolute; |
| 1035 | width: 100px; |
| 1036 | bottom: 22px; |
| 1037 | left: 0; |
| 1038 | padding: 5px 10px; |
| 1039 | margin: 0; |
| 1040 | background: rgba(255,255,255,0.9); |
| 1041 | color: #222; |
| 1042 | font-size: 12px; |
| 1043 | line-height: 1.3; |
| 1044 | |
| 1045 | -moz-border-radius: 4px; |
| 1046 | -webkit-border-radius: 4px; |
| 1047 | border-radius: 4px; |
| 1048 | |
| 1049 | box-shadow: 0 0 10px rgba(0,0,0,0.4); |
| 1050 | -moz-box-shadow: 0 0 10px rgba(0,0,0,0.4); |
| 1051 | -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.4); |
| 1052 | |
| 1053 | -webkit-box-sizing: border-box; |
| 1054 | -moz-box-sizing: border-box; |
| 1055 | box-sizing: border-box; |
| 1056 | } |
| 1057 | #sbr_lightbox .sbr_lightbox_tooltip .fa-play{ |
| 1058 | position: absolute; |
| 1059 | font-size: 8px; |
| 1060 | bottom: -6px; |
| 1061 | left: 36px; |
| 1062 | color: rgba(255,255,255,0.9); |
| 1063 | } |
| 1064 | #sbr_lightbox .sbr_tooltip_social a .fa{ |
| 1065 | font-size: 16px; |
| 1066 | margin: 0; |
| 1067 | padding: 5px; |
| 1068 | } |
| 1069 | #sbr_lightbox .sbr_tooltip_social a#sbr_facebook_icon .fa, |
| 1070 | #sbr_lightbox .sbr_tooltip_social a#sbr_twitter_icon .fa, |
| 1071 | #sbr_lightbox .sbr_tooltip_social a#sbr_pinterest_icon .fa{ |
| 1072 | padding-top: 4px; |
| 1073 | font-size: 18px; |
| 1074 | } |
| 1075 | #sbr_lightbox .sbr_gdpr_notice { |
| 1076 | z-index: 6; |
| 1077 | display: block; |
| 1078 | position: absolute; |
| 1079 | top: 50%; |
| 1080 | left: 50%; |
| 1081 | margin-left: -44px; |
| 1082 | margin-top: -44px; |
| 1083 | padding: 20px; |
| 1084 | } |
| 1085 | #sbr_lightbox .sbr_gdpr_notice svg:not(:root).svg-inline--fa { |
| 1086 | position: relative; |
| 1087 | display: block !important; |
| 1088 | height: 48px; |
| 1089 | width: 48px; |
| 1090 | opacity: .8; |
| 1091 | } |
| 1092 | #sbr_lightbox .sbr_gdpr_notice:hover svg:not(:root).svg-inline--fa { |
| 1093 | opacity: 1; |
| 1094 | } |
| 1095 | /* Hide photos tooltip */ |
| 1096 | #sbr_lightbox #sbr_mod_box{ |
| 1097 | width: 280px; |
| 1098 | padding: 5px 10px 7px 10px; |
| 1099 | } |
| 1100 | /* Social icons tooltip */ |
| 1101 | #sbr_lightbox .sbr_tooltip_social{ |
| 1102 | width: 172px; |
| 1103 | padding: 5px 5px 4px 5px; |
| 1104 | } |
| 1105 | #sbr_lightbox .sbr_tooltip_social a{ |
| 1106 | color: #333; |
| 1107 | |
| 1108 | -moz-border-radius: 4px; |
| 1109 | -webkit-border-radius: 4px; |
| 1110 | border-radius: 4px; |
| 1111 | } |
| 1112 | #sbr_lightbox .sbr_lightbox_action #sbr_facebook_icon:hover{ background: #3b5998; } |
| 1113 | #sbr_lightbox .sbr_lightbox_action #sbr_twitter_icon:hover{ background: #00aced; } |
| 1114 | #sbr_lightbox .sbr_lightbox_action #sbr_google_icon:hover{ background: #dd4b39; } |
| 1115 | #sbr_lightbox .sbr_lightbox_action #sbr_linkedin_icon:hover{ background: #007bb6; } |
| 1116 | #sbr_lightbox .sbr_lightbox_action #sbr_pinterest_icon:hover{ background: #cb2027; } |
| 1117 | #sbr_lightbox .sbr_lightbox_action #sbr_email_icon:hover{ background: #333; } |
| 1118 | |
| 1119 | .sbr_lb-outerContainer, .sbr_lb-dataContainer{ |
| 1120 | min-width: 450px; |
| 1121 | } |
| 1122 | @media all and (max-width: 450px){ |
| 1123 | .sbr_lb-outerContainer, .sbr_lb-dataContainer { |
| 1124 | min-width: 0; /* Remove min-width on lightbox on mobile */ |
| 1125 | } |
| 1126 | } |
| 1127 | .sbr_lightbox .sbr_lb-image { |
| 1128 | display: block; |
| 1129 | height: auto; |
| 1130 | max-width: inherit; |
| 1131 | margin: 0 auto; |
| 1132 | -webkit-border-radius: 0; |
| 1133 | -moz-border-radius: 0; |
| 1134 | -ms-border-radius: 0; |
| 1135 | -o-border-radius: 0; |
| 1136 | border-radius: 0; |
| 1137 | } |
| 1138 | |
| 1139 | |
| 1140 | |
| 1141 | /* |
| 1142 | * Core Owl Carousel CSS File |
| 1143 | * v2.1.1 |
| 1144 | */ |
| 1145 | |
| 1146 | .sb-feed-posts.sbr_carousel { |
| 1147 | display: none; |
| 1148 | width: 100%; |
| 1149 | -webkit-tap-highlight-color: transparent; |
| 1150 | /* position relative and z-index fix webkit rendering fonts issue */ |
| 1151 | position: relative; |
| 1152 | z-index: 1; } |
| 1153 | .sbr_carousel { |
| 1154 | direction: ltr; |
| 1155 | } |
| 1156 | .sbr_carousel .sbr_owl2row-item, |
| 1157 | .sb-carousel-wrap .sb-feed-posts{ |
| 1158 | display: none; |
| 1159 | } |
| 1160 | .sbr-owl-stage { |
| 1161 | position: relative; |
| 1162 | -ms-touch-action: pan-Y; |
| 1163 | -moz-backface-visibility: hidden; |
| 1164 | /* fix firefox animation glitch */ } |
| 1165 | .sbr-owl-stage:after { |
| 1166 | content: "."; |
| 1167 | display: block; |
| 1168 | clear: both; |
| 1169 | visibility: hidden; |
| 1170 | line-height: 0; |
| 1171 | height: 0; } |
| 1172 | .sbr-owl-stage-outer { |
| 1173 | position: relative; |
| 1174 | overflow: hidden; |
| 1175 | /* fix for flashing background */ |
| 1176 | -webkit-transform: translate3d(0px, 0px, 0px); } |
| 1177 | .sbr-owl-wrapper, |
| 1178 | .sbr-owl-item { |
| 1179 | -webkit-backface-visibility: hidden; |
| 1180 | -moz-backface-visibility: hidden; |
| 1181 | -ms-backface-visibility: hidden; |
| 1182 | -webkit-transform: translate3d(0, 0, 0); |
| 1183 | -moz-transform: translate3d(0, 0, 0); |
| 1184 | -ms-transform: translate3d(0, 0, 0); } |
| 1185 | .sbr-owl-item { |
| 1186 | position: relative; |
| 1187 | min-height: 1px; |
| 1188 | padding: 0 5px; |
| 1189 | padding: 0; |
| 1190 | float: left; |
| 1191 | -webkit-backface-visibility: hidden; |
| 1192 | -webkit-tap-highlight-color: transparent; |
| 1193 | -webkit-touch-callout: none; } |
| 1194 | .sbr-owl-item img { |
| 1195 | display: block; |
| 1196 | width: 100%; } |
| 1197 | .sbr-owl-nav.disabled, |
| 1198 | .sbr-owl-dots.disabled { |
| 1199 | display: none; } |
| 1200 | .sbr-owl-nav .sbr-owl-prev, |
| 1201 | .sbr-owl-nav .sbr-owl-next, |
| 1202 | .sbr-owl-dot { |
| 1203 | cursor: pointer; |
| 1204 | cursor: hand; |
| 1205 | -webkit-user-select: none; |
| 1206 | -khtml-user-select: none; |
| 1207 | -moz-user-select: none; |
| 1208 | -ms-user-select: none; |
| 1209 | user-select: none; } |
| 1210 | .sbr_carousel.sbr-owl-loaded { |
| 1211 | display: block; } |
| 1212 | .sbr_carousel.sbr-owl-loading { |
| 1213 | opacity: 0; |
| 1214 | display: block; } |
| 1215 | .sbr_carousel.sbr-owl-hidden { |
| 1216 | opacity: 0; } |
| 1217 | .sbr_carousel.sbr-owl-refresh .sbr-owl-item { |
| 1218 | visibility: hidden; } |
| 1219 | .sbr_carousel.sbr-owl-drag .sbr-owl-item { |
| 1220 | padding: 0 calc( var(--column-gutter) / 2 ); |
| 1221 | -webkit-user-select: none; |
| 1222 | -moz-user-select: none; |
| 1223 | -ms-user-select: none; |
| 1224 | user-select: none; } |
| 1225 | .sbr_carousel.sbr-owl-grab { |
| 1226 | cursor: move; |
| 1227 | cursor: grab; } |
| 1228 | .sbr_carousel.sbr-owl-rtl { |
| 1229 | direction: rtl; } |
| 1230 | .sbr_carousel.sbr-owl-rtl .sbr-owl-item { |
| 1231 | float: right; } |
| 1232 | |
| 1233 | /* |
| 1234 | * Owl Carousel - Auto Height Plugin |
| 1235 | */ |
| 1236 | .sbr-owl-height { |
| 1237 | transition: height 500ms ease-in-out; } |
| 1238 | |
| 1239 | .sbr-owl-nav { |
| 1240 | margin-top: 10px; |
| 1241 | text-align: center; |
| 1242 | -webkit-tap-highlight-color: transparent; } |
| 1243 | .sbr-owl-nav { |
| 1244 | margin-top: 0; |
| 1245 | } |
| 1246 | |
| 1247 | .sbr-owl-nav .disabled { |
| 1248 | opacity: 0.5; |
| 1249 | cursor: default; } |
| 1250 | |
| 1251 | .sbr-owl-nav.disabled + .sbr-owl-dots { |
| 1252 | margin-top: 10px; } |
| 1253 | |
| 1254 | .sbr-owl-dots { |
| 1255 | text-align: center; |
| 1256 | -webkit-tap-highlight-color: transparent; |
| 1257 | padding: 5px 0; |
| 1258 | margin-top: 5px; |
| 1259 | } |
| 1260 | .sbr-owl-dots .sbr-owl-dot { |
| 1261 | display: inline-block; |
| 1262 | zoom: 1; |
| 1263 | *display: inline; } |
| 1264 | .sbr-owl-dots .sbr-owl-dot span { |
| 1265 | display: block; |
| 1266 | width: 12px; |
| 1267 | height: 12px; |
| 1268 | margin: 5px 7px; |
| 1269 | background: #333; |
| 1270 | filter: Alpha(Opacity=25);/*IE7 fix*/ |
| 1271 | opacity: 0.25; |
| 1272 | |
| 1273 | -webkit-backface-visibility: visible; |
| 1274 | transition: opacity 100ms ease; |
| 1275 | border-radius: 30px; |
| 1276 | } |
| 1277 | .sbr-owl-dots .sbr-owl-dot.active span, .sbr-owl-dots .sbr-owl-dot:hover span { |
| 1278 | filter: Alpha(Opacity=100);/*IE7 fix*/ |
| 1279 | opacity: 1; |
| 1280 | } |
| 1281 | |
| 1282 | .sbr-owl-item { |
| 1283 | display: inline-block; |
| 1284 | vertical-align: top; |
| 1285 | } |
| 1286 | .sbr-owl-stage-outer { |
| 1287 | overflow-x: hidden; |
| 1288 | overflow-y: hidden; |
| 1289 | } |
| 1290 | |
| 1291 | .sbr-owl-item > div { |
| 1292 | width: 100% !important; |
| 1293 | } |
| 1294 | .sbr-post-links { |
| 1295 | max-width: 100%; |
| 1296 | } |
| 1297 | .sbr-owl-item{ |
| 1298 | box-sizing: border-box; |
| 1299 | } |
| 1300 | |
| 1301 | /* Navigation arrows */ |
| 1302 | .sbr-owl-nav > div { |
| 1303 | position: absolute; |
| 1304 | top: 50%; |
| 1305 | font-size: 14px; |
| 1306 | display: inline-block; |
| 1307 | line-height: 1; |
| 1308 | |
| 1309 | background: rgba(255,255,255,0.3); |
| 1310 | padding: 6px 6px 6px 8px; |
| 1311 | border-radius: 50%; |
| 1312 | margin-top: -15px; |
| 1313 | color: #000; |
| 1314 | box-shadow: 0 0 5px 0 rgba(0,0,0,0.2); |
| 1315 | |
| 1316 | -webkit-transition: all .5s; |
| 1317 | -moz-transition: all .5s; |
| 1318 | -o-transition: all .5s; |
| 1319 | transition: all .5s; |
| 1320 | } |
| 1321 | .sbr_carousel:hover .sbr-owl-nav > div{ |
| 1322 | background: rgba(255,255,255,0.5); |
| 1323 | |
| 1324 | box-shadow: 0 0 5px 0 rgba(0,0,0,0.5); |
| 1325 | |
| 1326 | -webkit-transform:scale(1.1); /* Safari and Chrome */ |
| 1327 | -moz-transform:scale(1.1); /* Firefox */ |
| 1328 | -ms-transform:scale(1.1); /* IE 9 */ |
| 1329 | -o-transform:scale(1.1); /* Opera */ |
| 1330 | transform:scale(1.1); |
| 1331 | } |
| 1332 | .sbr_carousel:hover .sbr-owl-nav > div:hover { |
| 1333 | cursor: pointer; |
| 1334 | background: #fff; |
| 1335 | } |
| 1336 | .sbr-owl-nav .sbr-owl-prev { |
| 1337 | margin-left: 7px; |
| 1338 | padding: 6px 8px 6px 6px; |
| 1339 | left: 0; |
| 1340 | } |
| 1341 | .sbr-owl-nav .sbr-owl-next { |
| 1342 | margin-right: 7px; |
| 1343 | right: 0; |
| 1344 | } |
| 1345 | .sbr-owl-nav > div{ |
| 1346 | z-index: 999; |
| 1347 | background: #fff; |
| 1348 | } |
| 1349 | .sbr_carousel .sbr-owl-nav svg { |
| 1350 | height: 1.2em; |
| 1351 | box-sizing: unset; |
| 1352 | overflow: visible; |
| 1353 | width: 1em; |
| 1354 | display: inline-block; |
| 1355 | font-size: inherit; |
| 1356 | vertical-align: -0.125em; |
| 1357 | } |
| 1358 | |
| 1359 | |
| 1360 | /* Cols */ |
| 1361 | [id^=sb-reviews-container-] .sb-cols-2 .sb-post-item-wrap{ width: calc( 50% - calc((var(--column-gutter) * 1) / 2)); } |
| 1362 | [id^=sb-reviews-container-] .sb-cols-3 .sb-post-item-wrap{ width: calc( 33.33% - calc((var(--column-gutter) * 2 ) / 3) );} |
| 1363 | [id^=sb-reviews-container-] .sb-cols-4 .sb-post-item-wrap{ width: calc( 25% - calc((var(--column-gutter) * 3 ) / 4) );} |
| 1364 | [id^=sb-reviews-container-] .sb-cols-5 .sb-post-item-wrap{ width: calc( 20% - calc((var(--column-gutter) * 4 ) / 5) );} |
| 1365 | [id^=sb-reviews-container-] .sb-cols-6 .sb-post-item-wrap{ width: calc( 16.66% - calc((var(--column-gutter) * 5 ) / 6) );} |
| 1366 | [id^=sb-reviews-container-] .sb-cols-7 .sb-post-item-wrap{ width: calc( 14.28% - calc((var(--column-gutter) * 6 ) / 7) );} |
| 1367 | [id^=sb-reviews-container-] .sb-cols-8 .sb-post-item-wrap{ width: calc( 12.5% - calc((var(--column-gutter) * 7 ) / 8) );} |
| 1368 | [id^=sb-reviews-container-] .sb-cols-9 .sb-post-item-wrap{ width: calc( 11.11% - calc((var(--column-gutter) * 8 ) / 9) );} |
| 1369 | [id^=sb-reviews-container-] .sb-cols-10 .sb-post-item-wrap{ width: calc( 10% - calc((var(--column-gutter) * 9 ) / 10) );} |
| 1370 | |
| 1371 | |
| 1372 | @media all and (max-width: 640px){ |
| 1373 | [id^=sb-reviews-container-] .sb-colstablet-1 .sb-post-item-wrap{ width: 100%; } |
| 1374 | [id^=sb-reviews-container-] .sb-colstablet-2 .sb-post-item-wrap{ width: calc( 50% - calc((var(--column-gutter) * 1) / 2)); } |
| 1375 | [id^=sb-reviews-container-] .sb-colstablet-3 .sb-post-item-wrap{ width: calc( 33.33% - calc((var(--column-gutter) * 2 ) / 3) );} |
| 1376 | [id^=sb-reviews-container-] .sb-colstablet-4 .sb-post-item-wrap{ width: calc( 25% - calc((var(--column-gutter) * 3 ) / 4) );} |
| 1377 | [id^=sb-reviews-container-] .sb-colstablet-5 .sb-post-item-wrap{ width: calc( 20% - calc((var(--column-gutter) * 4 ) / 5) );} |
| 1378 | [id^=sb-reviews-container-] .sb-colstablet-6 .sb-post-item-wrap{ width: calc( 16.66% - calc((var(--column-gutter) * 5 ) / 6) );} |
| 1379 | [id^=sb-reviews-container-] .sb-colstablet-7 .sb-post-item-wrap{ width: calc( 14.28% - calc((var(--column-gutter) * 6 ) / 7) );} |
| 1380 | [id^=sb-reviews-container-] .sb-colstablet-8 .sb-post-item-wrap{ width: calc( 12.5% - calc((var(--column-gutter) * 7 ) / 8) );} |
| 1381 | [id^=sb-reviews-container-] .sb-colstablet-9 .sb-post-item-wrap{ width: calc( 11.11% - calc((var(--column-gutter) * 8 ) / 9) );} |
| 1382 | [id^=sb-reviews-container-] .sb-colstablet-10 .sb-post-item-wrap{ width: calc( 10% - calc((var(--column-gutter) * 9 ) / 10) );} |
| 1383 | |
| 1384 | [id^=sb-reviews-container-] .sb-grid-wrapper[data-grid-tablet-columns="1"] .sb-feed-posts { grid-template-columns: 1fr; } |
| 1385 | [id^=sb-reviews-container-] .sb-grid-wrapper[data-grid-tablet-columns="2"] .sb-feed-posts { grid-template-columns: 1fr 1fr; } |
| 1386 | [id^=sb-reviews-container-] .sb-grid-wrapper[data-grid-tablet-columns="3"] .sb-feed-posts { grid-template-columns: 1fr 1fr 1fr; } |
| 1387 | [id^=sb-reviews-container-] .sb-grid-wrapper[data-grid-tablet-columns="4"] .sb-feed-posts { grid-template-columns: 1fr 1fr 1fr 1fr; } |
| 1388 | [id^=sb-reviews-container-] .sb-grid-wrapper[data-grid-tablet-columns="5"] .sb-feed-posts { grid-template-columns: 1fr 1fr 1fr 1fr 1fr; } |
| 1389 | [id^=sb-reviews-container-] .sb-grid-wrapper[data-grid-tablet-columns="6"] .sb-feed-posts {grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr; } |
| 1390 | } |
| 1391 | |
| 1392 | @media all and (max-width: 480px){ |
| 1393 | [id^=sb-reviews-container-] .sb-colsmobile-1 .sb-post-item-wrap{ width: 100%; } |
| 1394 | [id^=sb-reviews-container-] .sb-colsmobile-2 .sb-post-item-wrap{ width: calc( 50% - calc((var(--column-gutter) * 1) / 2)); } |
| 1395 | [id^=sb-reviews-container-] .sb-colsmobile-3 .sb-post-item-wrap{ width: calc( 33.33% - calc((var(--column-gutter) * 2 ) / 3) );} |
| 1396 | [id^=sb-reviews-container-] .sb-colsmobile-4 .sb-post-item-wrap{ width: calc( 25% - calc((var(--column-gutter) * 3 ) / 4) );} |
| 1397 | [id^=sb-reviews-container-] .sb-colsmobile-5 .sb-post-item-wrap{ width: calc( 20% - calc((var(--column-gutter) * 4 ) / 5) );} |
| 1398 | [id^=sb-reviews-container-] .sb-colsmobile-6 .sb-post-item-wrap{ width: calc( 16.66% - calc((var(--column-gutter) * 5 ) / 6) );} |
| 1399 | [id^=sb-reviews-container-] .sb-colsmobile-7 .sb-post-item-wrap{ width: calc( 14.28% - calc((var(--column-gutter) * 6 ) / 7) );} |
| 1400 | [id^=sb-reviews-container-] .sb-colsmobile-8 .sb-post-item-wrap{ width: calc( 12.5% - calc((var(--column-gutter) * 7 ) / 8) );} |
| 1401 | [id^=sb-reviews-container-] .sb-colsmobile-9 .sb-post-item-wrap{ width: calc( 11.11% - calc((var(--column-gutter) * 8 ) / 9) );} |
| 1402 | [id^=sb-reviews-container-] .sb-colsmobile-10 .sb-post-item-wrap{ width: calc( 10% - calc((var(--column-gutter) * 9 ) / 10) );} |
| 1403 | [id^=sb-reviews-container-] .sb-grid-wrapper[data-grid-mobile-columns="1"] .sb-feed-posts { grid-template-columns: 1fr; } |
| 1404 | [id^=sb-reviews-container-] .sb-grid-wrapper[data-grid-mobile-columns="2"] .sb-feed-posts { grid-template-columns: 1fr 1fr; } |
| 1405 | [id^=sb-reviews-container-] .sb-grid-wrapper[data-grid-mobile-columns="3"] .sb-feed-posts { grid-template-columns: 1fr 1fr 1fr; } |
| 1406 | [id^=sb-reviews-container-] .sb-grid-wrapper[data-grid-mobile-columns="4"] .sb-feed-posts { grid-template-columns: 1fr 1fr 1fr 1fr; } |
| 1407 | [id^=sb-reviews-container-] .sb-grid-wrapper[data-grid-mobile-columns="5"] .sb-feed-posts { grid-template-columns: 1fr 1fr 1fr 1fr 1fr; } |
| 1408 | [id^=sb-reviews-container-] .sb-grid-wrapper[data-grid-mobile-columns="6"] .sb-feed-posts {grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr; } |
| 1409 | } |
| 1410 | |
| 1411 | /* Booking.com specific styles */ |
| 1412 | [id^=sb-reviews-container-] .sb-item-title { |
| 1413 | margin-bottom: 8px; |
| 1414 | font-weight: 600; |
| 1415 | font-size: 16px; |
| 1416 | clear: both; |
| 1417 | } |
| 1418 | |
| 1419 | [id^=sb-reviews-container-] .sb-item-pros-cons { |
| 1420 | margin-bottom: 12px; |
| 1421 | clear: both; |
| 1422 | } |
| 1423 | |
| 1424 | [id^=sb-reviews-container-] .sb-item-pros, |
| 1425 | [id^=sb-reviews-container-] .sb-item-cons { |
| 1426 | line-height: 1.5; |
| 1427 | } |
| 1428 | [id^=sb-reviews-container-] .sb-item-pros { |
| 1429 | margin-bottom: 6px; |
| 1430 | } |
| 1431 | [id^=sb-reviews-container-] .sb-reviewer-photos { |
| 1432 | clear: both; |
| 1433 | } |
| 1434 | |
| 1435 | [id^=sb-reviews-container-] .sb-pros-label { |
| 1436 | font-weight: 600; |
| 1437 | color: #28a745; |
| 1438 | margin-right: 4px; |
| 1439 | } |
| 1440 | |
| 1441 | [id^=sb-reviews-container-] .sb-cons-label { |
| 1442 | font-weight: 600; |
| 1443 | color: #dc3545; |
| 1444 | margin-right: 4px; |
| 1445 | } |
| 1446 | |
| 1447 | [id^=sb-reviews-container-] .sb-pros-text, |
| 1448 | [id^=sb-reviews-container-] .sb-cons-text { |
| 1449 | color: #333; |
| 1450 | } |
| 1451 | |
| 1452 | /* Reviewer photos */ |
| 1453 | [id^=sb-reviews-container-] .sb-item-reviewer-photos { |
| 1454 | margin-top: 12px; |
| 1455 | display: flex; |
| 1456 | flex-wrap: wrap; |
| 1457 | gap: 8px; |
| 1458 | } |
| 1459 | |
| 1460 | [id^=sb-reviews-container-] .sb-reviewer-photo-link { |
| 1461 | display: inline-block; |
| 1462 | border-radius: 4px; |
| 1463 | overflow: hidden; |
| 1464 | transition: transform 0.2s ease; |
| 1465 | cursor: pointer; |
| 1466 | } |
| 1467 | |
| 1468 | [id^=sb-reviews-container-] .sb-reviewer-photo-link:hover { |
| 1469 | transform: scale(1.05); |
| 1470 | } |
| 1471 | |
| 1472 | [id^=sb-reviews-container-] .sb-reviewer-photo { |
| 1473 | display: block; |
| 1474 | width: 90px; |
| 1475 | height: 90px; |
| 1476 | object-fit: cover; |
| 1477 | border-radius: 4px; |
| 1478 | } |
| 1479 | |
| 1480 | /* Lightbox styles */ |
| 1481 | .sbr-lightbox-overlay { |
| 1482 | position: fixed; |
| 1483 | top: 0; |
| 1484 | left: 0; |
| 1485 | width: 100%; |
| 1486 | height: 100%; |
| 1487 | background: rgba(0, 0, 0, 0.9); |
| 1488 | z-index: 999999; |
| 1489 | display: none; |
| 1490 | align-items: center; |
| 1491 | justify-content: center; |
| 1492 | opacity: 0; |
| 1493 | transition: opacity 0.3s ease; |
| 1494 | } |
| 1495 | |
| 1496 | .sbr-lightbox-overlay.sbr-active { |
| 1497 | display: flex; |
| 1498 | opacity: 1; |
| 1499 | } |
| 1500 | |
| 1501 | .sbr-lightbox-content { |
| 1502 | position: relative; |
| 1503 | max-width: 90%; |
| 1504 | max-height: 90%; |
| 1505 | display: flex; |
| 1506 | align-items: center; |
| 1507 | justify-content: center; |
| 1508 | } |
| 1509 | |
| 1510 | .sbr-lightbox-image { |
| 1511 | max-width: 100%; |
| 1512 | max-height: 90vh; |
| 1513 | object-fit: contain; |
| 1514 | border-radius: 4px; |
| 1515 | } |
| 1516 | |
| 1517 | .sbr-lightbox-close { |
| 1518 | position: absolute; |
| 1519 | top: 20px; |
| 1520 | right: 20px; |
| 1521 | width: 40px; |
| 1522 | height: 40px; |
| 1523 | background: rgba(255, 255, 255, 0.2); |
| 1524 | border: none; |
| 1525 | border-radius: 50%; |
| 1526 | cursor: pointer; |
| 1527 | font-size: 24px; |
| 1528 | color: white; |
| 1529 | display: flex; |
| 1530 | align-items: center; |
| 1531 | justify-content: center; |
| 1532 | transition: background 0.2s ease; |
| 1533 | z-index: 1000000; |
| 1534 | } |
| 1535 | |
| 1536 | .sbr-lightbox-close:hover { |
| 1537 | background: rgba(255, 255, 255, 0.3); |
| 1538 | } |
| 1539 | |
| 1540 | .sbr-lightbox-nav { |
| 1541 | position: absolute; |
| 1542 | top: 50%; |
| 1543 | transform: translateY(-50%); |
| 1544 | width: 50px; |
| 1545 | height: 50px; |
| 1546 | background: rgba(255, 255, 255, 0.2); |
| 1547 | border: none; |
| 1548 | border-radius: 50%; |
| 1549 | cursor: pointer; |
| 1550 | font-size: 24px; |
| 1551 | color: white; |
| 1552 | display: none; |
| 1553 | align-items: center; |
| 1554 | justify-content: center; |
| 1555 | transition: background 0.2s ease; |
| 1556 | } |
| 1557 | |
| 1558 | .sbr-lightbox-nav:hover { |
| 1559 | background: rgba(255, 255, 255, 0.3); |
| 1560 | } |
| 1561 | |
| 1562 | .sbr-lightbox-nav.sbr-prev { |
| 1563 | left: 20px; |
| 1564 | } |
| 1565 | |
| 1566 | .sbr-lightbox-nav.sbr-next { |
| 1567 | right: 20px; |
| 1568 | } |
| 1569 | |
| 1570 | .sbr-lightbox-overlay.sbr-has-multiple .sbr-lightbox-nav { |
| 1571 | display: flex; |
| 1572 | } |
| 1573 | |
| 1574 | .sbr-lightbox-loading { |
| 1575 | position: absolute; |
| 1576 | width: 40px; |
| 1577 | height: 40px; |
| 1578 | border: 3px solid rgba(255, 255, 255, 0.3); |
| 1579 | border-top-color: white; |
| 1580 | border-radius: 50%; |
| 1581 | animation: sbr-spin 0.8s linear infinite; |
| 1582 | } |
| 1583 | |
| 1584 | @keyframes sbr-spin { |
| 1585 | to { transform: rotate(360deg); } |
| 1586 | } |
| 1587 | |
| 1588 | /* Carousel a11y controls (SMASH-1383): pause/play toggle + visible focus for |
| 1589 | the Owl arrows/dots that are now keyboard-operable. */ |
| 1590 | .sbr-carousel-playpause{ |
| 1591 | display: inline-flex; |
| 1592 | align-items: center; |
| 1593 | justify-content: center; |
| 1594 | width: 32px; |
| 1595 | height: 32px; |
| 1596 | margin: 0 0 8px; |
| 1597 | padding: 0; |
| 1598 | border: 1px solid #434960; |
| 1599 | border-radius: 4px; |
| 1600 | background: #fff; |
| 1601 | color: #141B38; |
| 1602 | font-size: 11px; |
| 1603 | line-height: 1; |
| 1604 | cursor: pointer; |
| 1605 | } |
| 1606 | .sbr-carousel-playpause:hover{ |
| 1607 | background: #F3F4F5; |
| 1608 | } |
| 1609 | .sbr-owl-prev:focus-visible, |
| 1610 | .sbr-owl-next:focus-visible, |
| 1611 | .sbr-owl-dot:focus-visible, |
| 1612 | .sbr-carousel-playpause:focus-visible{ |
| 1613 | outline: 2px solid #0068A0; |
| 1614 | outline-offset: 2px; |
| 1615 | } |
| 1616 | /* ─────────────────────────────────────────────────────────────────── |
| 1617 | SMASH-782 Phase 2 — styles for NEW per-provider elements |
| 1618 | These rules target only the new elements added by the extras/ |
| 1619 | templates (airbnb-reply, booking score badge + helpful, aliexpress |
| 1620 | flag + variants + translated + followup). They do NOT touch the |
| 1621 | existing card / author / rating / text / media markup. Hex fallbacks |
| 1622 | inline so missing customizer tokens degrade gracefully. |
| 1623 | ─────────────────────────────────────────────────────────────────── */ |
| 1624 | |
| 1625 | /* AliExpress: country flag (inline next to author row) */ |
| 1626 | [id^="sb-reviews-container"] .sb-item-author-flag { |
| 1627 | margin-left: 4px; |
| 1628 | font-size: 14px; |
| 1629 | } |
| 1630 | |
| 1631 | /* AliExpress: translated indicator */ |
| 1632 | [id^="sb-reviews-container"] .sb-item-translated { |
| 1633 | font-size: 14px; |
| 1634 | color: #B5B8C1; |
| 1635 | font-style: italic; |
| 1636 | margin-bottom: 6px; |
| 1637 | } |
| 1638 | |
| 1639 | /* AliExpress: variants pills (parsed from metadata.item_spec) */ |
| 1640 | [id^="sb-reviews-container"] .sb-item-variants { |
| 1641 | display: flex; |
| 1642 | flex-wrap: wrap; |
| 1643 | gap: 6px; |
| 1644 | margin-top: 12px; |
| 1645 | } |
| 1646 | [id^="sb-reviews-container"] .sb-item-variants-pill { |
| 1647 | font-size: 12px; |
| 1648 | color: #8C8F9A; |
| 1649 | padding: 3px 10px; |
| 1650 | border: 1px solid #d1d5db; |
| 1651 | border-radius: 4px; |
| 1652 | } |
| 1653 | |
| 1654 | /* AliExpress: follow-up review (only renders when relay populates metadata.followup) */ |
| 1655 | [id^="sb-reviews-container"] .sb-item-followup { |
| 1656 | margin-top: 12px; |
| 1657 | padding: 10px 0 10px 12px; |
| 1658 | border-left: 1.5px solid #6b7280; |
| 1659 | } |
| 1660 | [id^="sb-reviews-container"] .sb-item-followup-header { |
| 1661 | display: flex; |
| 1662 | align-items: center; |
| 1663 | gap: 8px; |
| 1664 | margin-bottom: 4px; |
| 1665 | } |
| 1666 | [id^="sb-reviews-container"] .sb-item-followup-label { |
| 1667 | font-size: 14px; |
| 1668 | font-weight: 600; |
| 1669 | color: #141B38; |
| 1670 | } |
| 1671 | [id^="sb-reviews-container"] .sb-item-followup-date { |
| 1672 | font-size: 14px; |
| 1673 | color: #8C8F9A; |
| 1674 | } |
| 1675 | [id^="sb-reviews-container"] .sb-item-followup-text { |
| 1676 | font-size: 14px; |
| 1677 | color: #434960; |
| 1678 | line-height: 1.6; |
| 1679 | } |
| 1680 | |
| 1681 | /* Review section spacing. Each review section element carries |
| 1682 | .sbr-review-horizontal-element and gets a uniform 12px bottom gap; the last |
| 1683 | one drops it. Because the class sits on the section elements themselves (the |
| 1684 | ones removed when a section is toggled off), hiding any section keeps the |
| 1685 | spacing between the rest correct. The Rating keeps its own configurable |
| 1686 | (ID-scoped) margin and collapses cleanly against this. Currently applied to |
| 1687 | Booking; reusable for other providers. */ |
| 1688 | [id^="sb-reviews-container"] .sbr-review-horizontal-element { |
| 1689 | margin-bottom: 12px; |
| 1690 | } |
| 1691 | [id^="sb-reviews-container"] .sbr-review-horizontal-element:last-child { |
| 1692 | margin-bottom: 0; |
| 1693 | } |
| 1694 | |
| 1695 | /* Booking: numeric score badge (8.7 Very Good) */ |
| 1696 | [id^="sb-reviews-container"] .sb-item-rating-score { |
| 1697 | display: inline-flex; |
| 1698 | align-items: center; |
| 1699 | gap: 8px; |
| 1700 | } |
| 1701 | [id^="sb-reviews-container"] .sb-item-rating-score-badge { |
| 1702 | background: #003580; |
| 1703 | color: #fff; |
| 1704 | font-weight: normal; |
| 1705 | padding: 6px 4px; |
| 1706 | border-radius: 6px 6px 6px 0; |
| 1707 | min-width: 0; |
| 1708 | text-align: center; |
| 1709 | font-size: 14px; |
| 1710 | line-height: 14px; |
| 1711 | } |
| 1712 | [id^="sb-reviews-container"] .sb-item-rating-score-label { |
| 1713 | font-size: 14px; |
| 1714 | color: #8C8F9A; |
| 1715 | } |
| 1716 | |
| 1717 | /* Booking: helpful count */ |
| 1718 | [id^="sb-reviews-container"] .sb-item-helpful { |
| 1719 | display: flex; |
| 1720 | align-items: center; |
| 1721 | gap: 4px; |
| 1722 | font-size: 14px; |
| 1723 | color: #8C8F9A; |
| 1724 | margin-top: 12px; |
| 1725 | } |
| 1726 | |
| 1727 | /* Reply block (Airbnb host reply + future Trustpilot company reply) */ |
| 1728 | [id^="sb-reviews-container"] .sb-item-reply { |
| 1729 | clear: both; |
| 1730 | margin-top: 12px; |
| 1731 | padding: 10px 0 10px 12px; |
| 1732 | border-left: 1.5px solid #6b7280; |
| 1733 | } |
| 1734 | [id^="sb-reviews-container"] .sb-item-reply-header { |
| 1735 | display: flex; |
| 1736 | align-items: center; |
| 1737 | gap: 8px; |
| 1738 | margin-bottom: 4px; |
| 1739 | } |
| 1740 | [id^="sb-reviews-container"] .sb-item-reply-avatar { |
| 1741 | width: 28px; |
| 1742 | height: 28px; |
| 1743 | border-radius: 50%; |
| 1744 | object-fit: cover; |
| 1745 | flex-shrink: 0; |
| 1746 | } |
| 1747 | [id^="sb-reviews-container"] .sb-item-reply-name { |
| 1748 | font-weight: 600; |
| 1749 | font-size: 14px; |
| 1750 | color: #141B38; |
| 1751 | } |
| 1752 | [id^="sb-reviews-container"] .sb-item-reply-label { |
| 1753 | font-size: 14px; |
| 1754 | font-weight: 600; |
| 1755 | color: #141B38; |
| 1756 | } |
| 1757 | [id^="sb-reviews-container"] .sb-item-reply[data-from="host"] .sb-item-reply-label { |
| 1758 | font-size: 12px; |
| 1759 | margin-left: 1px; |
| 1760 | border: 1px solid #141B38; |
| 1761 | border-radius: 4px; |
| 1762 | padding: 0 3px; |
| 1763 | } |
| 1764 | [id^="sb-reviews-container"] .sb-item-reply-text { |
| 1765 | font-size: 14px; |
| 1766 | color: #434960; |
| 1767 | line-height: 1.65; |
| 1768 | } |
| 1769 | |
| 1770 | /* ── SMASH-782 Phase 2 — prototype parity refinements ───────────────── |
| 1771 | - Hide the legacy star rating for Booking cards (score badge replaces it) |
| 1772 | - Force inline display on new elements (legacy plugin styles force all |
| 1773 | spans inside .sb-post-item to display:block, collapsing flex layouts) |
| 1774 | - Helpful icon spacing |
| 1775 | ───────────────────────────────────────────────────────────────────── */ |
| 1776 | |
| 1777 | /* Booking: prototype renders score badge IN PLACE of stars. The legacy |
| 1778 | pipeline still emits .sb-item-rating with star SVGs nested as |
| 1779 | .sb-item-rating > span > .sb-item-rating-ctn > .sb-item-rating-icon. |
| 1780 | Hide the star container; score badge keeps showing because it lives |
| 1781 | in .sb-item-rating-score (rendered by extras/booking.php). */ |
| 1782 | [id^="sb-reviews-container"] .sb-post-item-wrap.sbr-provider-booking .sb-item-rating-ctn { |
| 1783 | display: none !important; |
| 1784 | } |
| 1785 | |
| 1786 | /* Legacy plugin styles force all SPAN elements inside .sb-post-item to |
| 1787 | `display: block` with `width: 0` for some descendants, which collapses |
| 1788 | our prototype-style inline headers (reply-header, followup-header, |
| 1789 | helpful, rating-score) into 0-width columns rendered against the |
| 1790 | right edge of the card. Force the new elements' spans back to |
| 1791 | inline/inline-flex AND set parent header widths to 100% so the flex |
| 1792 | children expand and lay out horizontally. `!important` is required |
| 1793 | to outrank the more-specific legacy rules. */ |
| 1794 | [id^="sb-reviews-container"] .sb-item-reply-name, |
| 1795 | [id^="sb-reviews-container"] .sb-item-reply-label, |
| 1796 | [id^="sb-reviews-container"] .sb-item-followup-label, |
| 1797 | [id^="sb-reviews-container"] .sb-item-followup-date, |
| 1798 | [id^="sb-reviews-container"] .sb-item-rating-score-badge, |
| 1799 | [id^="sb-reviews-container"] .sb-item-rating-score-label, |
| 1800 | [id^="sb-reviews-container"] .sb-item-helpful-count, |
| 1801 | [id^="sb-reviews-container"] .sb-item-author-flag { |
| 1802 | display: inline-block !important; |
| 1803 | width: auto !important; |
| 1804 | white-space: nowrap !important; |
| 1805 | flex-shrink: 0 !important; |
| 1806 | } |
| 1807 | [id^="sb-reviews-container"] .sb-item-reply-header, |
| 1808 | [id^="sb-reviews-container"] .sb-item-followup-header, |
| 1809 | [id^="sb-reviews-container"] .sb-item-rating-score, |
| 1810 | [id^="sb-reviews-container"] .sb-item-helpful { |
| 1811 | width: 100% !important; |
| 1812 | box-sizing: border-box; |
| 1813 | } |
| 1814 | /* Reduce the rating block padding for Booking since stars are hidden */ |
| 1815 | [id^="sb-reviews-container"] .sb-post-item-wrap.sbr-provider-booking .sb-item-rating { |
| 1816 | padding-top: 0; |
| 1817 | padding-bottom: 0; |
| 1818 | } |
| 1819 | |
| 1820 | /* Helpful icon inline alignment with text */ |
| 1821 | [id^="sb-reviews-container"] .sb-item-helpful-icon { |
| 1822 | flex-shrink: 0; |
| 1823 | width: 16px; |
| 1824 | height: 16px; |
| 1825 | display: inline-flex; |
| 1826 | } |
| 1827 | [id^="sb-reviews-container"] .sb-item-helpful-count { |
| 1828 | line-height: 1.4; |
| 1829 | } |
| 1830 | |
| 1831 | /* ── SMASH-782 — per-section read-more (Booking pros/cons) ────────────── |
| 1832 | Pure-CSS toggle: a hidden checkbox flipped by the `…` label swaps the |
| 1833 | truncated text for the full text. Used because the shared sbr-feed.js |
| 1834 | truncation only handles a single .sb-item-text per card, which Booking |
| 1835 | has none of. Scoped to .sbr-readmore-* so it never touches other |
| 1836 | providers' JS-driven .sb-expand. */ |
| 1837 | [id^="sb-reviews-container"] .sbr-readmore-full { |
| 1838 | display: none; |
| 1839 | } |
| 1840 | [id^="sb-reviews-container"] .sbr-readmore-toggle:checked ~ .sbr-readmore-short { |
| 1841 | display: none; |
| 1842 | } |
| 1843 | [id^="sb-reviews-container"] .sbr-readmore-toggle:checked ~ .sbr-readmore-full { |
| 1844 | display: inline; |
| 1845 | } |
| 1846 | [id^="sb-reviews-container"] .sb-readmore-label { |
| 1847 | cursor: pointer; |
| 1848 | } |
| 1849 | |
| 1850 | |
| 1851 | /* a11y (SMASH-1383) — SMASH-782 read-more + media element: |
| 1852 | keep the read-more checkbox focusable but visually hidden (never |
| 1853 | display:none), ring its visual label on keyboard focus, and ring the |
| 1854 | photo/lightbox links. */ |
| 1855 | .sbr-readmore-toggle{ |
| 1856 | position: absolute; |
| 1857 | width: 1px; |
| 1858 | height: 1px; |
| 1859 | margin: -1px; |
| 1860 | padding: 0; |
| 1861 | border: 0; |
| 1862 | clip: rect(0 0 0 0); |
| 1863 | clip-path: inset(50%); |
| 1864 | overflow: hidden; |
| 1865 | white-space: nowrap; |
| 1866 | } |
| 1867 | .sbr-readmore-toggle:focus-visible ~ .sbr-readmore-short .sb-readmore-label{ |
| 1868 | outline: 2px solid #0068A0; |
| 1869 | outline-offset: 2px; |
| 1870 | } |
| 1871 | .sb-reviewer-photo-link:focus-visible, |
| 1872 | .sb-single-image:focus-visible{ |
| 1873 | outline: 2px solid #0068A0; |
| 1874 | outline-offset: 2px; |
| 1875 | } |
| 1876 |