邓州市源盛农机专业合作社官网

flexslider.css 4.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. /*
  2. * jQuery FlexSlider v2.0
  3. * http://www.woothemes.com/flexslider/
  4. *
  5. * Copyright 2012 WooThemes
  6. * Free to use under the GPLv2 license.
  7. * http://www.gnu.org/licenses/gpl-2.0.html
  8. *
  9. * Contributing author: Tyler Smith (@mbmufffin)
  10. */
  11. /* Browser Resets */
  12. .flex-container a:active,
  13. .flexslider a:active,
  14. .flex-container a:focus,
  15. .flexslider a:focus {outline: none;}
  16. .slides,
  17. .flex-control-nav,
  18. .flex-direction-nav {margin: 0; padding: 0; list-style: none;}
  19. /* FlexSlider Necessary Styles
  20. *********************************/
  21. .flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
  22. .flexslider .slides img {width: 100%; display: block;}
  23. .flex-pauseplay span {text-transform: capitalize;}
  24. /* Clearfix for the .slides element */
  25. .slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
  26. html[xmlns] .slides {display: block;}
  27. * html .slides {height: 1%;}
  28. /* No JavaScript Fallback */
  29. /* If you are not using another script, such as Modernizr, make sure you
  30. * include js that eliminates this class on page load */
  31. .no-js .slides > li:first-child {display: block;}
  32. /* FlexSlider Default Theme
  33. *********************************/
  34. .flexslider {
  35. border: 0px;
  36. position: relative;
  37. zoom: 1;
  38. }
  39. .flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
  40. .loading .flex-viewport {max-height: 300px;}
  41. .flexslider .slides {zoom: 1;}
  42. .carousel li {margin-right: 5px}
  43. /* Direction Nav */
  44. .flex-direction-nav a {
  45. width: 50px;
  46. height: 50px;
  47. margin: 0;
  48. display: block;
  49. color: transparent;
  50. position: absolute;
  51. top: 43%;
  52. text-align: center;
  53. }
  54. .flex-direction-nav a:before {
  55. font-size: 5em;
  56. display: block;
  57. content: "\f104";
  58. font-family: FontAwesome;
  59. color: #fff;
  60. line-height: 0.6em;
  61. -webkit-transition: all .5s;
  62. -moz-transition: all .5s;
  63. transition: all .5s;
  64. }
  65. .flex-direction-nav .flex-next{
  66. right: -9%;
  67. }
  68. .flex-direction-nav .flex-next:before {
  69. content: "\f105";
  70. }
  71. .flex-direction-nav .flex-prev {left: -9%;}
  72. .flexslider:hover .flex-next {opacity: 1;}
  73. .flexslider:hover .flex-prev {opacity: 1;}
  74. .flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {
  75. opacity: 1;
  76. -webkit-transform: scale(1.2);
  77. -moz-transform: scale(1.2);
  78. -o-transform: scale(1.2);
  79. -ms-transform: scale(1.2);
  80. transform: scale(1.2);
  81. }
  82. .flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}
  83. /* Control Nav */
  84. .flex-control-nav {
  85. display: block;
  86. position: absolute;
  87. bottom: -50%;
  88. width: 100%;
  89. text-align: center;
  90. }
  91. .flex-control-nav li {margin: 0 8px; display: inline-block; zoom: 1; *display: inline;}
  92. .flex-control-paging li a {
  93. width: 15px;
  94. height: 15px;
  95. display: block;
  96. background: #fff;
  97. cursor: pointer;
  98. text-indent: -9999px;
  99. border-radius: 50%;
  100. border: 2px solid #FAFAFA;
  101. }
  102. .flex-control-paging li a.flex-active {
  103. background:#ffae00;
  104. cursor: default;
  105. }
  106. .flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
  107. .flex-control-thumbs li {width: 25%; float: left; margin: 0;}
  108. .flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
  109. .flex-control-thumbs img:hover {opacity: 1;}
  110. .flex-control-thumbs .flex-active {opacity: 1; cursor: default;}
  111. /* -- RESPONSIVE --*/
  112. @media screen and (max-width: 1366px){
  113. .flex-direction-nav .flex-prev {
  114. left: -5%;
  115. }
  116. .flex-direction-nav .flex-next {
  117. right: -5%;
  118. }
  119. }
  120. @media screen and (max-width: 1280px){
  121. .flex-direction-nav .flex-prev {
  122. left: 0;
  123. }
  124. .flex-direction-nav .flex-next {
  125. right: 0;
  126. }
  127. }
  128. @media screen and (max-width: 667px) {
  129. }
  130. @media screen and (max-width: 480px) {
  131. .flex-control-nav {
  132. bottom: -20%;
  133. }
  134. .flex-control-paging li a {
  135. width: 12px;
  136. height: 12px;
  137. }
  138. }
  139. @media screen and (max-width: 414px) {
  140. .flex-direction-nav a {
  141. width: 28px;
  142. height: 36px;
  143. }
  144. }
  145. @media screen and (max-width: 384px){
  146. .flex-direction-nav .flex-prev {
  147. left: -7px
  148. }
  149. .flex-direction-nav .flex-next {
  150. right: -7px
  151. }
  152. .flex-direction-nav a:before {
  153. font-size: 4em;
  154. }
  155. }
  156. @media screen and (max-width: 320px) {
  157. .flex-direction-nav .flex-next {
  158. right: -11px;
  159. }
  160. .flex-direction-nav .flex-prev {
  161. left: -11px;
  162. }
  163. }