暂无描述

jquery.bxslider.css 3.8KB

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