flexslider.css 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. /*
  2. * jQuery FlexSlider v2.7.0
  3. * http://www.woothemes.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. .carousel li {
  108. margin-right: 5px;
  109. }
  110. .flex-direction-nav {
  111. *height: 0;
  112. }
  113. .flex-direction-nav a {
  114. text-decoration: none;
  115. display: block;
  116. width: 40px;
  117. height: 25px;
  118. margin: -20px 0 0;
  119. position: absolute;
  120. top: 50%;
  121. z-index: 10;
  122. overflow: hidden;
  123. opacity: 0;
  124. cursor: pointer;
  125. color: rgba(0, 0, 0, 0.8);
  126. text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
  127. -webkit-transition: all 0.3s ease-in-out;
  128. -moz-transition: all 0.3s ease-in-out;
  129. -ms-transition: all 0.3s ease-in-out;
  130. -o-transition: all 0.3s ease-in-out;
  131. transition: all 0.3s ease-in-out;
  132. }
  133. .flex-direction-nav a:before {
  134. font-family: "FontAwesome";
  135. font-size: 33px;
  136. display: inline-block;
  137. content: '\f104';
  138. color: rgba(0, 0, 0, 0.8);
  139. text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
  140. }
  141. .flex-direction-nav a.flex-next:before {
  142. content: '\f105';
  143. font-family: FontAwesome;
  144. }
  145. .flex-direction-nav .flex-prev {
  146. left: -50px;
  147. }
  148. .flex-direction-nav .flex-next {
  149. right: -50px;
  150. text-align: right;
  151. }
  152. .flexslider:hover .flex-direction-nav .flex-prev {
  153. opacity: 0.7;
  154. left: 10px;
  155. }
  156. .flexslider:hover .flex-direction-nav .flex-prev:hover {
  157. opacity: 1;
  158. }
  159. .flexslider:hover .flex-direction-nav .flex-next {
  160. opacity: 0.7;
  161. right: 10px;
  162. }
  163. .flexslider:hover .flex-direction-nav .flex-next:hover {
  164. opacity: 1;
  165. }
  166. .flex-direction-nav .flex-disabled {
  167. opacity: 0!important;
  168. filter: alpha(opacity=0);
  169. cursor: default;
  170. z-index: -1;
  171. }
  172. .flex-pauseplay a {
  173. display: block;
  174. width: 20px;
  175. height: 20px;
  176. position: absolute;
  177. bottom: 5px;
  178. left: 10px;
  179. opacity: 0.8;
  180. z-index: 10;
  181. overflow: hidden;
  182. cursor: pointer;
  183. color: #000;
  184. }
  185. .flex-pauseplay a:before {
  186. font-family: "flexslider-icon";
  187. font-size: 20px;
  188. display: inline-block;
  189. content: '\f004';
  190. }
  191. .flex-pauseplay a:hover {
  192. opacity: 1;
  193. }
  194. .flex-pauseplay a.flex-play:before {
  195. content: '\f003';
  196. }
  197. .flex-control-nav {
  198. width: 100%;
  199. position: absolute;
  200. bottom: -40px;
  201. text-align: center;
  202. }
  203. .flex-control-nav li {
  204. margin: 0 6px;
  205. display: inline-block;
  206. zoom: 1;
  207. *display: inline;
  208. }
  209. .flex-control-paging li a {
  210. width: 11px;
  211. height: 11px;
  212. display: block;
  213. background: #666;
  214. background: rgba(0, 0, 0, 0.5);
  215. cursor: pointer;
  216. text-indent: -9999px;
  217. -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  218. -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  219. -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  220. box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  221. -webkit-border-radius: 20px;
  222. -moz-border-radius: 20px;
  223. border-radius: 20px;
  224. }
  225. .flex-control-paging li a:hover {
  226. background: #333;
  227. background: rgba(0, 0, 0, 0.7);
  228. }
  229. .flex-control-paging li a.flex-active {
  230. background: #000;
  231. background: rgba(0, 0, 0, 0.9);
  232. cursor: default;
  233. }
  234. .flex-control-thumbs {
  235. margin: 5px 0 0;
  236. position: static;
  237. overflow: hidden;
  238. }
  239. .flex-control-thumbs li {
  240. width: 25%;
  241. float: left;
  242. margin: 0;
  243. }
  244. .flex-control-thumbs img {
  245. width: 100%;
  246. height: auto;
  247. display: block;
  248. opacity: .7;
  249. cursor: pointer;
  250. -moz-user-select: none;
  251. -webkit-transition: all 1s ease;
  252. -moz-transition: all 1s ease;
  253. -ms-transition: all 1s ease;
  254. -o-transition: all 1s ease;
  255. transition: all 1s ease;
  256. }
  257. .flex-control-thumbs img:hover {
  258. opacity: 1;
  259. }
  260. .flex-control-thumbs .flex-active {
  261. opacity: 0.6;
  262. cursor: default;
  263. }
  264. /* ====================================================================================================================
  265. * RESPONSIVE
  266. * ==============================:======================================================================================*/
  267. @media screen and (max-width: 860px) {
  268. .flex-direction-nav .flex-prev {
  269. opacity: 1;
  270. left: 10px;
  271. }
  272. .flex-direction-nav .flex-next {
  273. opacity: 1;
  274. right: 10px;
  275. }
  276. }