jquery.bxslider.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. /** VARIABLES
  2. ===================================*/
  3. /** RESET AND LAYOUT
  4. ===================================*/
  5. .bx-wrapper {
  6. position: relative;
  7. padding: 0;
  8. *zoom: 1;
  9. -ms-touch-action: pan-y;
  10. touch-action: pan-y;
  11. margin: 60px auto 60px auto;
  12. }
  13. .bx-wrapper img {
  14. max-width: 100%;
  15. display: block;
  16. margin: 0 auto;
  17. }
  18. .bxslider {
  19. margin: 0;
  20. padding: 0;
  21. }
  22. ul.bxslider {
  23. list-style: none;
  24. }
  25. .bx-viewport {
  26. /* fix other elements on the page moving (in Chrome) */
  27. -webkit-transform: translateZ(0);
  28. }
  29. /* gallery */
  30. #gallery .bw-wrapper{
  31. max-width: auto;
  32. }
  33. /** THEME
  34. ===================================*/
  35. .bx-wrapper {
  36. /* -moz-box-shadow: 0 0 5px #ccc;
  37. -webkit-box-shadow: 0 0 5px #ccc;
  38. box-shadow: 0 0 5px #ccc;
  39. border: 5px solid #fff;
  40. background: #fff; */
  41. }
  42. .bx-wrapper .bx-pager,
  43. .bx-wrapper .bx-controls-auto {
  44. position: absolute;
  45. bottom: -30px;
  46. width: 100%;
  47. }
  48. /* LOADER */
  49. .bx-wrapper .bx-loading {
  50. min-height: 50px;
  51. background: url('images/bx_loader.gif') center center no-repeat #ffffff;
  52. height: 100%;
  53. width: 100%;
  54. position: absolute;
  55. top: 0;
  56. left: 0;
  57. z-index: 2000;
  58. }
  59. /* PAGER */
  60. .bx-pager{
  61. display: none;
  62. }
  63. .bx-wrapper .bx-pager {
  64. text-align: center;
  65. font-size: .85em;
  66. font-family: Arial;
  67. font-weight: bold;
  68. color: #666;
  69. padding-top: 20px;
  70. }
  71. .bx-wrapper .bx-pager.bx-default-pager a {
  72. background: #666;
  73. text-indent: -9999px;
  74. display: block;
  75. width: 7px;
  76. height: 7px;
  77. margin: 0 5px;
  78. outline: 0;
  79. -moz-border-radius: 5px;
  80. -webkit-border-radius: 5px;
  81. border-radius: 5px;
  82. }
  83. .bx-wrapper .bx-pager.bx-default-pager a:hover,
  84. .bx-wrapper .bx-pager.bx-default-pager a.active,
  85. .bx-wrapper .bx-pager.bx-default-pager a:focus {
  86. background: #000;
  87. }
  88. .bx-wrapper .bx-pager-item,
  89. .bx-wrapper .bx-controls-auto .bx-controls-auto-item {
  90. display: inline-block;
  91. vertical-align: bottom;
  92. *zoom: 1;
  93. *display: inline;
  94. }
  95. .bx-wrapper .bx-pager-item {
  96. font-size: 0;
  97. line-height: 0;
  98. }
  99. /* DIRECTION CONTROLS (NEXT / PREV) */
  100. .bx-wrapper .bx-prev {
  101. left: 10px;
  102. background: url('../images/fleche_g.svg') no-repeat center;
  103. background-size: 15px auto;
  104. }
  105. .bx-wrapper .bx-prev:hover,
  106. .bx-wrapper .bx-prev:focus {
  107. background-position: center;
  108. }
  109. .bx-wrapper .bx-next {
  110. right: 10px;
  111. background: url('../images/fleche.svg') no-repeat center;
  112. background-size: 15px auto;
  113. }
  114. .bx-wrapper .bx-next:hover,
  115. .bx-wrapper .bx-next:focus {
  116. background-position: center;
  117. }
  118. .bx-wrapper .bx-controls-direction a {
  119. position: absolute;
  120. top: 50%;
  121. margin-top: -16px;
  122. outline: 0;
  123. width: 15px;
  124. height: auto;
  125. text-indent: -9999px;
  126. z-index: 9999;
  127. }
  128. .bx-wrapper .bx-controls-direction a.disabled {
  129. display: none;
  130. }
  131. /* AUTO CONTROLS (START / STOP) */
  132. .bx-wrapper .bx-controls-auto {
  133. text-align: center;
  134. }
  135. .bx-wrapper .bx-controls-auto .bx-start {
  136. display: block;
  137. text-indent: -9999px;
  138. width: 10px;
  139. height: 11px;
  140. outline: 0;
  141. background: url('images/controls.png') -86px -11px no-repeat;
  142. margin: 0 3px;
  143. }
  144. .bx-wrapper .bx-controls-auto .bx-start:hover,
  145. .bx-wrapper .bx-controls-auto .bx-start.active,
  146. .bx-wrapper .bx-controls-auto .bx-start:focus {
  147. background-position: -86px 0;
  148. }
  149. .bx-wrapper .bx-controls-auto .bx-stop {
  150. display: block;
  151. text-indent: -9999px;
  152. width: 9px;
  153. height: 11px;
  154. outline: 0;
  155. background: url('images/controls.png') -86px -44px no-repeat;
  156. margin: 0 3px;
  157. }
  158. .bx-wrapper .bx-controls-auto .bx-stop:hover,
  159. .bx-wrapper .bx-controls-auto .bx-stop.active,
  160. .bx-wrapper .bx-controls-auto .bx-stop:focus {
  161. background-position: -86px -33px;
  162. }
  163. /* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */
  164. .bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
  165. text-align: left;
  166. width: 80%;
  167. }
  168. .bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
  169. right: 0;
  170. width: 35px;
  171. }
  172. /* IMAGE CAPTIONS */
  173. .bx-wrapper .bx-caption {
  174. position: absolute;
  175. bottom: 0;
  176. left: 0;
  177. background: #666;
  178. background: rgba(80, 80, 80, 0.75);
  179. width: 100%;
  180. }
  181. .bx-wrapper .bx-caption span {
  182. color: #fff;
  183. font-family: Arial;
  184. display: block;
  185. font-size: .85em;
  186. padding: 10px;
  187. }