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