_carousel.scss 8.83 KB
Newer Older
1 2 3 4 5 6 7
/* 
 * 	Core Owl Carousel CSS File
 *	v1.3.3
 */

/* clearfix */
.owl-carousel .owl-wrapper:after {
8 9 10 11 12 13
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
14
}
15

16
/* display none until init */
17 18 19 20 21 22 23 24 25 26 27
.owl-carousel {
  display: none;
  position: relative;
  width: 100%;
  -ms-touch-action: pan-y;
}

.owl-carousel .owl-wrapper {
  display: none;
  position: relative;
  -webkit-transform: translate3d(0px, 0px, 0px);
28
}
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47

.owl-carousel .owl-wrapper-outer {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.owl-carousel .owl-wrapper-outer.autoHeight {
  -webkit-transition: height 500ms ease-in-out;
  -moz-transition: height 500ms ease-in-out;
  -ms-transition: height 500ms ease-in-out;
  -o-transition: height 500ms ease-in-out;
  transition: height 500ms ease-in-out;
}

.owl-carousel .owl-item {
  float: left;
}

48
.owl-controls .owl-page,
49 50
.owl-controls .owl-buttons div {
  cursor: pointer;
51
}
52

53
.owl-controls {
54 55 56 57 58 59
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
60 61 62
}

/* mouse grab icon */
63 64
.grabbing {
  cursor: url(../images/grabbing.png) 8 8, move;
65 66 67
}

/* fix */
68 69 70 71 72 73 74 75
.owl-carousel .owl-wrapper,
.owl-carousel .owl-item {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
76
}
77

78 79 80 81 82 83
/* 
 *  Owl Carousel CSS3 Transitions 
 *  v1.3.2
 */

.owl-origin {
84 85 86 87 88 89 90
  -webkit-perspective: 1200px;
  -webkit-perspective-origin-x: 50%;
  -webkit-perspective-origin-y: 50%;
  -moz-perspective: 1200px;
  -moz-perspective-origin-x: 50%;
  -moz-perspective-origin-y: 50%;
  perspective: 1200px;
91
}
92

93 94 95 96 97 98 99
/* fade */
.owl-fade-out {
  z-index: 10;
  -webkit-animation: fadeOut .7s both ease;
  -moz-animation: fadeOut .7s both ease;
  animation: fadeOut .7s both ease;
}
100

101 102 103 104 105
.owl-fade-in {
  -webkit-animation: fadeIn .7s both ease;
  -moz-animation: fadeIn .7s both ease;
  animation: fadeIn .7s both ease;
}
106

107 108 109 110 111 112
/* backSlide */
.owl-backSlide-out {
  -webkit-animation: backSlideOut 1s both ease;
  -moz-animation: backSlideOut 1s both ease;
  animation: backSlideOut 1s both ease;
}
113

114 115 116 117 118
.owl-backSlide-in {
  -webkit-animation: backSlideIn 1s both ease;
  -moz-animation: backSlideIn 1s both ease;
  animation: backSlideIn 1s both ease;
}
119

120 121 122 123 124 125
/* goDown */
.owl-goDown-out {
  -webkit-animation: scaleToFade .7s ease both;
  -moz-animation: scaleToFade .7s ease both;
  animation: scaleToFade .7s ease both;
}
126

127 128 129 130 131
.owl-goDown-in {
  -webkit-animation: goDown .6s ease both;
  -moz-animation: goDown .6s ease both;
  animation: goDown .6s ease both;
}
132

133 134 135 136 137 138 139 140 141 142 143 144 145
/* scaleUp */
.owl-fadeUp-in {
  -webkit-animation: scaleUpFrom .5s ease both;
  -moz-animation: scaleUpFrom .5s ease both;
  animation: scaleUpFrom .5s ease both;
}

.owl-fadeUp-out {
  -webkit-animation: scaleUpTo .5s ease both;
  -moz-animation: scaleUpTo .5s ease both;
  animation: scaleUpTo .5s ease both;
}

146
/* Keyframes */
147 148 149

/*empty*/
@-webkit-keyframes empty {
150 151 152
  0% {
    opacity: 1;
  }
153
}
154

155
@-moz-keyframes empty {
156 157 158
  0% {
    opacity: 1;
  }
159
}
160

161
@keyframes empty {
162 163 164
  0% {
    opacity: 1;
  }
165
}
166

167
@-webkit-keyframes fadeIn {
168 169 170 171 172 173 174
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
175
}
176

177
@-moz-keyframes fadeIn {
178 179 180 181 182 183 184
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
185
}
186

187
@keyframes fadeIn {
188 189 190 191 192 193 194
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
195
}
196

197
@-webkit-keyframes fadeOut {
198 199 200 201 202 203 204
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
205
}
206

207
@-moz-keyframes fadeOut {
208 209 210 211 212 213 214
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
215
}
216

217
@keyframes fadeOut {
218 219 220 221 222 223 224
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
225
}
226

227
@-webkit-keyframes backSlideOut {
228 229 230 231 232 233 234 235 236 237 238 239 240 241
  25% {
    opacity: .5;
    -webkit-transform: translateZ(-500px);
  }

  75% {
    opacity: .5;
    -webkit-transform: translateZ(-500px) translateX(-200%);
  }

  100% {
    opacity: .5;
    -webkit-transform: translateZ(-500px) translateX(-200%);
  }
242
}
243

244
@-moz-keyframes backSlideOut {
245 246 247 248 249 250 251 252 253 254 255 256 257 258
  25% {
    opacity: .5;
    -moz-transform: translateZ(-500px);
  }

  75% {
    opacity: .5;
    -moz-transform: translateZ(-500px) translateX(-200%);
  }

  100% {
    opacity: .5;
    -moz-transform: translateZ(-500px) translateX(-200%);
  }
259
}
260

261
@keyframes backSlideOut {
262 263 264 265 266 267 268 269 270 271 272 273 274 275
  25% {
    opacity: .5;
    transform: translateZ(-500px);
  }

  75% {
    opacity: .5;
    transform: translateZ(-500px) translateX(-200%);
  }

  100% {
    opacity: .5;
    transform: translateZ(-500px) translateX(-200%);
  }
276
}
277

278
@-webkit-keyframes backSlideIn {
279 280 281 282 283 284 285 286 287 288 289 290 291 292
  0%, 25% {
    opacity: .5;
    -webkit-transform: translateZ(-500px) translateX(200%);
  }

  75% {
    opacity: .5;
    -webkit-transform: translateZ(-500px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateZ(0) translateX(0);
  }
293
}
294

295
@-moz-keyframes backSlideIn {
296 297 298 299 300 301 302 303 304 305 306 307 308 309
  0%, 25% {
    opacity: .5;
    -moz-transform: translateZ(-500px) translateX(200%);
  }

  75% {
    opacity: .5;
    -moz-transform: translateZ(-500px);
  }

  100% {
    opacity: 1;
    -moz-transform: translateZ(0) translateX(0);
  }
310
}
311

312
@keyframes backSlideIn {
313 314 315 316 317 318 319 320 321 322 323 324 325 326
  0%, 25% {
    opacity: .5;
    transform: translateZ(-500px) translateX(200%);
  }

  75% {
    opacity: .5;
    transform: translateZ(-500px);
  }

  100% {
    opacity: 1;
    transform: translateZ(0) translateX(0);
  }
327
}
328

329
@-webkit-keyframes scaleToFade {
330 331 332 333
  to {
    opacity: 0;
    -webkit-transform: scale(0.8);
  }
334
}
335

336
@-moz-keyframes scaleToFade {
337 338 339 340
  to {
    opacity: 0;
    -moz-transform: scale(0.8);
  }
341
}
342

343
@keyframes scaleToFade {
344 345 346 347
  to {
    opacity: 0;
    transform: scale(0.8);
  }
348
}
349

350
@-webkit-keyframes goDown {
351 352 353
  from {
    -webkit-transform: translateY(-100%);
  }
354
}
355

356
@-moz-keyframes goDown {
357 358 359
  from {
    -moz-transform: translateY(-100%);
  }
360
}
361

362
@keyframes goDown {
363 364 365
  from {
    transform: translateY(-100%);
  }
366 367 368
}

@-webkit-keyframes scaleUpFrom {
369 370 371 372
  from {
    opacity: 0;
    -webkit-transform: scale(1.5);
  }
373
}
374

375
@-moz-keyframes scaleUpFrom {
376 377 378 379
  from {
    opacity: 0;
    -moz-transform: scale(1.5);
  }
380
}
381

382
@keyframes scaleUpFrom {
383 384 385 386
  from {
    opacity: 0;
    transform: scale(1.5);
  }
387 388 389
}

@-webkit-keyframes scaleUpTo {
390 391 392 393
  to {
    opacity: 0;
    -webkit-transform: scale(1.5);
  }
394
}
395

396
@-moz-keyframes scaleUpTo {
397 398 399 400
  to {
    opacity: 0;
    -moz-transform: scale(1.5);
  }
401
}
402

403
@keyframes scaleUpTo {
404 405 406 407
  to {
    opacity: 0;
    transform: scale(1.5);
  }
408
}
409

410 411 412 413 414
/*
* 	Owl Carousel Owl Demo Theme 
*	v1.3.3
*/

415 416 417
.owl-theme .owl-controls {
  margin-top: 10px;
  text-align: center;
418 419 420 421
}

/* Styling Next and Prev buttons */

422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439
.owl-theme .owl-controls .owl-buttons div {
  color: #FFF;
  display: inline-block;
  zoom: 1;
  *display: inline;

  /*IE7 life-saver */
  margin: 5px;
  padding: 10px 10px;
  font-size: 12px;
  font-weight: bold;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;

  // background: red;
  // filter: Alpha(Opacity=50);/*IE7 fix
  // opacity: 0.5;
440
}
441

442 443
/* Clickable class fix problem with hover on touch devices */
/* Use it for non-touch hover action */
444 445
.owl-theme .owl-controls.clickable .owl-buttons div:hover {
  text-decoration: none;
446 447 448 449
}

/* Styling Pagination*/

450 451 452 453 454 455
.owl-theme .owl-controls .owl-page {
  display: inline-block;
  zoom: 1;
  *display: inline;

  /*IE7 life-saver */
456
}
457 458 459 460 461 462 463 464 465 466 467 468 469 470

.owl-theme .owl-controls .owl-page span {
  display: block;
  width: 16px;
  height: 16px;
  margin: 8px 9px;
  filter: Alpha(Opacity = 50);

  /*IE7 fix*/
  opacity: 0.4;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  background: $dark-gray;
471 472 473
}

.owl-theme .owl-controls .owl-page.active span,
474 475 476 477 478
.owl-theme .owl-controls.clickable .owl-page:hover span {
  filter: Alpha(Opacity = 100);

  /*IE7 fix*/
  opacity: 1;
479 480
}

481 482 483
.owl-theme .owl-controls.clickable .owl-page:focus span {
  outline: 1px solid;
}
484

485 486 487 488 489 490 491 492 493 494 495
/* If PaginationNumbers is true */

.owl-theme .owl-controls .owl-page span.owl-numbers {
  height: auto;
  width: auto;
  color: #FFF;
  padding: 2px 10px;
  font-size: 12px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
496 497 498
}

/* preloading images */
499 500 501
.owl-item.loading {
  min-height: 150px;
  background: url(../images/AjaxLoader.gif) no-repeat center center;
502 503
}

504 505 506 507 508 509 510 511 512 513
.item {
  .highlighted-fact-wrapper & {
    padding: 50px 0px;
    margin: 10px;
    color: #FFF;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-align: center;
  }
514
}
515 516 517 518 519 520 521 522 523 524

.highlighted-fact {
  margin-right: 5px;
  margin-left: 5px;
}

.owl-item {
  &:first-child {
    margin-left: 0;
  }
525
}
526

527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542
[class^='highlighted-fact-wrapper-'].owl-carousel:not([data-highlighted-carousel]){
    .owl-wrapper-outer{
      overflow: inherit;
    }
    .owl-wrapper{
      display:flex!important;
      flex-wrap: wrap;
      justify-content: space-between;
      width:100%!important;
      justify-content: space-between;
      .owl-item {
        float:inherit;
        flex-grow: 1;
        min-width: 33%;
        margin-bottom:1.5rem;
      }
543 544
    }
  }