lxslider.css 3.3 KB

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