flexslider.css 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. /*
  2. * jQuery FlexSlider v2.7.2
  3. * https://www.woocommerce.com/flexslider/
  4. *
  5. * Copyright 2012 WooThemes
  6. * Free to use under the GPLv2 and later license.
  7. * http://www.gnu.org/licenses/gpl-2.0.html
  8. *
  9. * Contributing author: Tyler Smith (@mbmufffin)
  10. *
  11. */
  12. /* ====================================================================================================================
  13. * FONT-FACE
  14. * ====================================================================================================================*/
  15. @font-face {
  16. font-family: 'flexslider-icon';
  17. src: url('../fonts/flexslider-icon.eot');
  18. src: url('../fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'), url('../fonts/flexslider-icon.woff') format('woff'), url('../fonts/flexslider-icon.ttf') format('truetype'), url('../fonts/flexslider-icon.svg#flexslider-icon') format('svg');
  19. font-weight: normal;
  20. font-style: normal;
  21. }
  22. /* ====================================================================================================================
  23. * RESETS
  24. * ====================================================================================================================*/
  25. .flex-container a:hover,
  26. .flex-slider a:hover {
  27. outline: none;
  28. }
  29. .slides,
  30. .slides > li,
  31. .flex-control-nav,
  32. .flex-direction-nav {
  33. margin: 0;
  34. padding: 0;
  35. list-style: none;
  36. }
  37. .flex-pauseplay span {
  38. text-transform: capitalize;
  39. }
  40. /* ====================================================================================================================
  41. * BASE STYLES
  42. * ====================================================================================================================*/
  43. .flexslider {
  44. margin: 0;
  45. padding: 0;
  46. }
  47. .flexslider .slides > li {
  48. display: none;
  49. -webkit-backface-visibility: hidden;
  50. }
  51. .flexslider .slides img {
  52. width: 100%;
  53. display: block;
  54. }
  55. .flexslider .slides:after {
  56. content: "\0020";
  57. display: block;
  58. clear: both;
  59. visibility: hidden;
  60. line-height: 0;
  61. height: 0;
  62. }
  63. html[xmlns] .flexslider .slides {
  64. display: block;
  65. }
  66. * html .flexslider .slides {
  67. height: 1%;
  68. }
  69. .no-js .flexslider .slides > li:first-child {
  70. display: block;
  71. }
  72. /* ====================================================================================================================
  73. * DEFAULT THEME
  74. * ====================================================================================================================*/
  75. .flexslider {
  76. margin: 0 0 60px;
  77. background: #fff;
  78. border: 4px solid #fff;
  79. position: relative;
  80. zoom: 1;
  81. -webkit-border-radius: 4px;
  82. -moz-border-radius: 4px;
  83. border-radius: 4px;
  84. -webkit-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  85. -moz-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  86. -o-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  87. box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  88. }
  89. .flexslider .slides {
  90. zoom: 1;
  91. }
  92. .flexslider .slides img {
  93. height: auto;
  94. -moz-user-select: none;
  95. }
  96. .flex-viewport {
  97. max-height: 2000px;
  98. -webkit-transition: all 1s ease;
  99. -moz-transition: all 1s ease;
  100. -ms-transition: all 1s ease;
  101. -o-transition: all 1s ease;
  102. transition: all 1s ease;
  103. }
  104. .loading .flex-viewport {
  105. max-height: 300px;
  106. }
  107. @-moz-document url-prefix() {
  108. .loading .flex-viewport {
  109. max-height: none;
  110. }
  111. }
  112. .carousel li {
  113. margin-right: 5px;
  114. }
  115. .flex-direction-nav {
  116. *height: 0;
  117. }
  118. .flex-direction-nav a {
  119. text-decoration: none;
  120. display: block;
  121. width: 40px;
  122. height: 40px;
  123. margin: -20px 0 0;
  124. position: absolute;
  125. top: 50%;
  126. z-index: 10;
  127. overflow: hidden;
  128. opacity: 0;
  129. cursor: pointer;
  130. color: rgba(0, 0, 0, 0.8);
  131. text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
  132. -webkit-transition: all 0.3s ease-in-out;
  133. -moz-transition: all 0.3s ease-in-out;
  134. -ms-transition: all 0.3s ease-in-out;
  135. -o-transition: all 0.3s ease-in-out;
  136. transition: all 0.3s ease-in-out;
  137. }
  138. .flex-direction-nav a:before {
  139. font-family: "flexslider-icon";
  140. font-size: 40px;
  141. display: inline-block;
  142. content: '\f001';
  143. color: rgba(0, 0, 0, 0.8);
  144. text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
  145. }
  146. .flex-direction-nav a.flex-next:before {
  147. content: '\f002';
  148. }
  149. .flex-direction-nav .flex-prev {
  150. left: -50px;
  151. }
  152. .flex-direction-nav .flex-next {
  153. right: -50px;
  154. text-align: right;
  155. }
  156. .flexslider:hover .flex-direction-nav .flex-prev {
  157. opacity: 0.7;
  158. left: 10px;
  159. }
  160. .flexslider:hover .flex-direction-nav .flex-prev:hover {
  161. opacity: 1;
  162. }
  163. .flexslider:hover .flex-direction-nav .flex-next {
  164. opacity: 0.7;
  165. right: 10px;
  166. }
  167. .flexslider:hover .flex-direction-nav .flex-next:hover {
  168. opacity: 1;
  169. }
  170. .flex-direction-nav .flex-disabled {
  171. opacity: 0!important;
  172. filter: alpha(opacity=0);
  173. cursor: default;
  174. z-index: -1;
  175. }
  176. .flex-pauseplay a {
  177. display: block;
  178. width: 20px;
  179. height: 20px;
  180. position: absolute;
  181. bottom: 5px;
  182. left: 10px;
  183. opacity: 0.8;
  184. z-index: 10;
  185. overflow: hidden;
  186. cursor: pointer;
  187. color: #000;
  188. }
  189. .flex-pauseplay a:before {
  190. font-family: "flexslider-icon";
  191. font-size: 20px;
  192. display: inline-block;
  193. content: '\f004';
  194. }
  195. .flex-pauseplay a:hover {
  196. opacity: 1;
  197. }
  198. .flex-pauseplay a.flex-play:before {
  199. content: '\f003';
  200. }
  201. .flex-control-nav {
  202. width: 100%;
  203. position: absolute;
  204. bottom: -40px;
  205. text-align: center;
  206. }
  207. .flex-control-nav li {
  208. margin: 0 6px;
  209. display: inline-block;
  210. zoom: 1;
  211. *display: inline;
  212. }
  213. .flex-control-paging li a {
  214. width: 11px;
  215. height: 11px;
  216. display: block;
  217. background: #666;
  218. background: rgba(0, 0, 0, 0.5);
  219. cursor: pointer;
  220. text-indent: -9999px;
  221. -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  222. -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  223. -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  224. box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  225. -webkit-border-radius: 20px;
  226. -moz-border-radius: 20px;
  227. border-radius: 20px;
  228. }
  229. .flex-control-paging li a:hover {
  230. background: #333;
  231. background: rgba(0, 0, 0, 0.7);
  232. }
  233. .flex-control-paging li a.flex-active {
  234. background: #000;
  235. background: rgba(0, 0, 0, 0.9);
  236. cursor: default;
  237. }
  238. .flex-control-thumbs {
  239. margin: 5px 0 0;
  240. position: static;
  241. overflow: hidden;
  242. }
  243. .flex-control-thumbs li {
  244. width: 25%;
  245. float: left;
  246. margin: 0;
  247. }
  248. .flex-control-thumbs img {
  249. width: 100%;
  250. height: auto;
  251. display: block;
  252. opacity: .7;
  253. cursor: pointer;
  254. -moz-user-select: none;
  255. -webkit-transition: all 1s ease;
  256. -moz-transition: all 1s ease;
  257. -ms-transition: all 1s ease;
  258. -o-transition: all 1s ease;
  259. transition: all 1s ease;
  260. }
  261. .flex-control-thumbs img:hover {
  262. opacity: 1;
  263. }
  264. .flex-control-thumbs .flex-active {
  265. opacity: 1;
  266. cursor: default;
  267. }
  268. /* ====================================================================================================================
  269. * RESPONSIVE
  270. * ====================================================================================================================*/
  271. @media screen and (max-width: 860px) {
  272. .flex-direction-nav .flex-prev {
  273. opacity: 1;
  274. left: 10px;
  275. }
  276. .flex-direction-nav .flex-next {
  277. opacity: 1;
  278. right: 10px;
  279. }
  280. }