flexslider.css 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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 {margin: 0; padding: 0;}
  22. .flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
  23. .flexslider .slides img {width: 100%; display: block;border-radius: 5px;}
  24. .flex-pauseplay span {text-transform: capitalize;}
  25. /* Clearfix for the .slides element */
  26. .slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
  27. html[xmlns] .slides {display: block;}
  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 {margin: 0 0 60px; background: #fff; position: relative; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; ,0,0,.2); zoom: 1;}
  35. .flex-viewport {max-height:1500px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
  36. .loading .flex-viewport {max-height: 300px;}
  37. .flexslider .slides {zoom: 1;}
  38. .carousel li {margin-right: 5px}
  39. /* Direction Nav */
  40. .flex-direction-nav a {width: 30px; height: 30px; margin: -20px 0 0; display: block; background: url(../images/bg_direction_nav.png) no-repeat 0 0; position: absolute; top: 50%; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all .3s ease;}
  41. .flex-direction-nav .flex-next {background-position: 100% 0; right: -36px; }
  42. .flex-direction-nav .flex-prev {left: -36px;}
  43. .flexslider:hover .flex-next {opacity: 0.8; right: 5px;}
  44. .flexslider:hover .flex-prev {opacity: 0.8; left: 5px;}
  45. .flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;}
  46. .flex-direction-nav .disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}
  47. /* Control Nav */
  48. .flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center;}
  49. .flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
  50. .flex-control-paging li a {width: 11px; height: 11px; display: block; background: #C5C5C5; cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3);}
  51. .flex-control-paging li a:hover { background: #2DBEEA; }
  52. .flex-control-paging li a.flex-active { background: #2DBEEA; cursor: default; }
  53. .flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
  54. .flex-control-thumbs li {width: 25%; float: left; margin: 0;}
  55. .flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
  56. .flex-control-thumbs img:hover {opacity: 1;}
  57. .flex-control-thumbs .active {opacity: 1; cursor: default;}
  58. @media screen and (max-width: 860px) {
  59. .flex-direction-nav .flex-prev {opacity: 1; left: 0;}
  60. .flex-direction-nav .flex-next {opacity: 1; right: 0;}
  61. }
  62. @media screen and (max-width: 800px) {
  63. .flexslider .slides img {width: 74%;margin-left: 17%;}
  64. }
  65. @media screen and (max-width: 320px) {
  66. .flexslider .slides img {
  67. width: 90%;
  68. margin-left: 8.5%;
  69. }
  70. .flex-control-paging li a {
  71. width: 9px;
  72. height: 9px;
  73. }
  74. }