owl.carousel.css 4.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. /*
  2. * Owl Carousel - Core
  3. */
  4. .owl-carousel {
  5. display: none;
  6. width: 100%;
  7. -webkit-tap-highlight-color: transparent;
  8. /* position relative and z-index fix webkit rendering fonts issue */
  9. position: relative;
  10. z-index: 1;
  11. }
  12. .owl-carousel .owl-stage {
  13. position: relative;
  14. -ms-touch-action: pan-Y;
  15. -moz-backface-visibility: hidden;
  16. /* fix firefox animation glitch */
  17. }
  18. .owl-carousel .owl-stage:after {
  19. content: ".";
  20. display: block;
  21. clear: both;
  22. visibility: hidden;
  23. line-height: 0;
  24. height: 0;
  25. }
  26. .owl-carousel .owl-stage-outer {
  27. position: relative;
  28. overflow: hidden;
  29. /* fix for flashing background */
  30. -webkit-transform: translate3d(0px, 0px, 0px);
  31. }
  32. .owl-carousel .owl-wrapper,
  33. .owl-carousel .owl-item {
  34. -webkit-backface-visibility: hidden;
  35. -moz-backface-visibility: hidden;
  36. -ms-backface-visibility: hidden;
  37. -webkit-transform: translate3d(0, 0, 0);
  38. -moz-transform: translate3d(0, 0, 0);
  39. -ms-transform: translate3d(0, 0, 0);
  40. }
  41. .owl-carousel .owl-item {
  42. position: relative;
  43. min-height: 1px;
  44. float: left;
  45. -webkit-backface-visibility: hidden;
  46. -webkit-tap-highlight-color: transparent;
  47. -webkit-touch-callout: none;
  48. }
  49. .owl-carousel .owl-item img {
  50. display: block;
  51. width: 100%;
  52. }
  53. .owl-carousel .owl-nav.disabled,
  54. .owl-carousel .owl-dots.disabled {
  55. display: none;
  56. }
  57. .owl-carousel .owl-nav .owl-prev,
  58. .owl-carousel .owl-nav .owl-next,
  59. .owl-carousel .owl-dot {
  60. cursor: pointer;
  61. cursor: hand;
  62. -webkit-user-select: none;
  63. -moz-user-select: none;
  64. -ms-user-select: none;
  65. user-select: none;
  66. }
  67. .owl-carousel.owl-loaded {
  68. display: block;
  69. }
  70. .owl-carousel.owl-loading {
  71. opacity: 0;
  72. display: block;
  73. }
  74. .owl-carousel.owl-hidden {
  75. opacity: 0;
  76. }
  77. .owl-carousel.owl-refresh .owl-item {
  78. visibility: hidden;
  79. }
  80. .owl-carousel.owl-drag .owl-item {
  81. -webkit-user-select: none;
  82. -moz-user-select: none;
  83. -ms-user-select: none;
  84. user-select: none;
  85. }
  86. .owl-carousel.owl-grab {
  87. cursor: move;
  88. cursor: -webkit-grab;
  89. cursor: grab;
  90. }
  91. .owl-carousel.owl-rtl {
  92. direction: rtl;
  93. }
  94. .owl-carousel.owl-rtl .owl-item {
  95. float: right;
  96. }
  97. /* No Js */
  98. .no-js .owl-carousel {
  99. display: block;
  100. }
  101. /*
  102. * Owl Carousel - Animate Plugin
  103. */
  104. .owl-carousel .animated {
  105. -webkit-animation-duration: 1000ms;
  106. animation-duration: 1000ms;
  107. -webkit-animation-fill-mode: both;
  108. animation-fill-mode: both;
  109. }
  110. .owl-carousel .owl-animated-in {
  111. z-index: 0;
  112. }
  113. .owl-carousel .owl-animated-out {
  114. z-index: 1;
  115. }
  116. .owl-carousel .fadeOut {
  117. -webkit-animation-name: fadeOut;
  118. animation-name: fadeOut;
  119. }
  120. @-webkit-keyframes fadeOut {
  121. 0% {
  122. opacity: 1;
  123. }
  124. 100% {
  125. opacity: 0;
  126. }
  127. }
  128. @keyframes fadeOut {
  129. 0% {
  130. opacity: 1;
  131. }
  132. 100% {
  133. opacity: 0;
  134. }
  135. }
  136. /*
  137. * Owl Carousel - Auto Height Plugin
  138. */
  139. .owl-height {
  140. -webkit-transition: height 500ms ease-in-out;
  141. transition: height 500ms ease-in-out;
  142. }
  143. /*
  144. * Owl Carousel - Lazy Load Plugin
  145. */
  146. .owl-carousel .owl-item .owl-lazy {
  147. opacity: 0;
  148. -webkit-transition: opacity 400ms ease;
  149. transition: opacity 400ms ease;
  150. }
  151. .owl-carousel .owl-item img.owl-lazy {
  152. -webkit-transform-style: preserve-3d;
  153. transform-style: preserve-3d;
  154. }
  155. /*
  156. * Owl Carousel - Video Plugin
  157. */
  158. .owl-carousel .owl-video-wrapper {
  159. position: relative;
  160. height: 100%;
  161. background: #000;
  162. }
  163. .owl-carousel .owl-video-play-icon {
  164. position: absolute;
  165. height: 80px;
  166. width: 80px;
  167. left: 50%;
  168. top: 50%;
  169. margin-left: -40px;
  170. margin-top: -40px;
  171. background: url("owl.video.play.png") no-repeat;
  172. cursor: pointer;
  173. z-index: 1;
  174. -webkit-backface-visibility: hidden;
  175. -webkit-transition: -webkit-transform 100ms ease;
  176. transition: -webkit-transform 100ms ease;
  177. transition: transform 100ms ease;
  178. transition: transform 100ms ease, -webkit-transform 100ms ease;
  179. }
  180. .owl-carousel .owl-video-play-icon:hover {
  181. -webkit-transform: scale(1.3, 1.3);
  182. transform: scale(1.3, 1.3);
  183. }
  184. .owl-carousel .owl-video-playing .owl-video-tn,
  185. .owl-carousel .owl-video-playing .owl-video-play-icon {
  186. display: none;
  187. }
  188. .owl-carousel .owl-video-tn {
  189. opacity: 0;
  190. height: 100%;
  191. background-position: center center;
  192. background-repeat: no-repeat;
  193. background-size: contain;
  194. -webkit-transition: opacity 400ms ease;
  195. transition: opacity 400ms ease;
  196. }
  197. .owl-carousel .owl-video-frame {
  198. position: relative;
  199. z-index: 1;
  200. height: 100%;
  201. width: 100%;
  202. }
  203. /*# sourceMappingURL=owl.carousel.css.map */