owl.carousel.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. /* Core Owl Carousel CSS File v1.3.3 */
  2. .owl-carousel .owl-wrapper:after {
  3. content: ".";
  4. display: block;
  5. clear: both;
  6. visibility: hidden;
  7. line-height: 0;
  8. height: 0;
  9. }
  10. /* display none until init */
  11. .owl-carousel{
  12. display: none;
  13. position: relative;
  14. width: 100%;
  15. -ms-touch-action: pan-y;
  16. }
  17. .owl-carousel .owl-wrapper{
  18. display: none;
  19. position: relative;
  20. -webkit-transform: translate3d(0px, 0px, 0px);
  21. -moz-transform: translate3d(0px, 0px, 0px);
  22. -o-transform: translate3d(0px, 0px, 0px);
  23. -ms-transform: translate3d(0px, 0px, 0px);
  24. transform: translate3d(0px, 0px, 0px);
  25. }
  26. .owl-carousel .owl-wrapper-outer {
  27. overflow: hidden;
  28. position: relative;
  29. width: 100%;
  30. padding-bottom: .2em;
  31. }
  32. .owl-carousel .owl-item{
  33. float: left;
  34. }
  35. .owl-controls .owl-page, .owl-controls .owl-buttons div {
  36. cursor: pointer;
  37. display: inline-block;
  38. margin: 0 0.3em;
  39. display:none;
  40. }
  41. .owl-controls {
  42. -webkit-user-select: none;
  43. -khtml-user-select: none;
  44. -moz-user-select: none;
  45. -ms-user-select: none;
  46. user-select: none;
  47. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  48. }
  49. .owl-buttons div{
  50. color: transparent;
  51. }
  52. .owl-buttons .owl-prev:before,.owl-buttons .owl-next:after {
  53. content: "\f104";
  54. font-family: 'FontAwesome';
  55. color:#fff;
  56. font-size: 2em;
  57. line-height: 1.25em;
  58. position: absolute;
  59. top:45%;
  60. opacity:.3;
  61. }
  62. .owl-buttons .owl-prev:before{
  63. left: 2%;
  64. }
  65. .owl-buttons .owl-next:after {
  66. content: "\f105";
  67. right:2%;
  68. }
  69. .owl-carousel .owl-wrapper:hover .owl-buttons .owl-prev:before,
  70. .owl-carousel .owl-wrapper:hover .owl-buttons .owl-next:after{
  71. opacity:1;
  72. }
  73. /* mouse grab icon */
  74. .grabbing {
  75. cursor:url(grabbing.png) 8 8, move;
  76. }
  77. /* fix */
  78. .owl-carousel .owl-wrapper,
  79. .owl-carousel .owl-item{
  80. -webkit-backface-visibility: hidden;
  81. -moz-backface-visibility: hidden;
  82. -ms-backface-visibility: hidden;
  83. -webkit-transform: translate3d(0,0,0);
  84. -moz-transform: translate3d(0,0,0);
  85. -ms-transform: translate3d(0,0,0);
  86. }
  87. .owl-pagination {
  88. display: none;
  89. }
  90. @media(max-width:640px){
  91. .owl-controls .owl-page, .owl-controls .owl-buttons div {
  92. width: 36px;
  93. height: 30px;
  94. }
  95. .owl-buttons .owl-prev:before, .owl-buttons .owl-next:before {
  96. font-size: 1.5em;
  97. line-height: 1.4em;
  98. }
  99. }
  100. @media(max-width:480px){
  101. .owl-buttons {
  102. top: -17%;
  103. }
  104. }
  105. @media(max-width:414px){
  106. .owl-buttons {
  107. top: -15%;
  108. }
  109. }
  110. @media(max-width:375px){
  111. .owl-buttons {
  112. top: -32px;
  113. }
  114. }