flexslider.css 4.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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;overflow:hidden;}
  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;}
  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. * html .slides {height: 1%;}
  29. /* No JavaScript Fallback */
  30. /* If you are not using another script, such as Modernizr, make sure you
  31. * include js that eliminates this class on page load */
  32. .no-js .slides > li:first-child {display: block;}
  33. /* FlexSlider Default Theme
  34. *********************************/
  35. .flexslider {margin: 0 0 60px; background: #fff; border: 1px solid #c3e7fd; position: relative; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.2); -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); -o-box-shadow: 0 1px 4px rgba(0,0,0,.2); zoom: 1;}
  36. .flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
  37. .loading .flex-viewport {max-height: 300px;}
  38. .flexslider .slides {zoom: 1;}
  39. .carousel li {margin-right: 5px}
  40. /* Direction Nav */
  41. .flex-direction-nav a {width: 30px; height: 30px; margin: -20px 0 0; display: block; background: url(../img/bg_direction_nav.png) no-repeat 0 0; position: absolute; top: 50%; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all .3s ease;}
  42. .flex-direction-nav .flex-next {background-position: 100% 0; right: -36px; }
  43. .flex-direction-nav .flex-prev {left: -36px;}
  44. .flexslider:hover .flex-next {opacity: 0.8; right: 5px;}
  45. .flexslider:hover .flex-prev {opacity: 0.8; left: 5px;}
  46. .flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;}
  47. .flex-direction-nav .disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}
  48. /* Control Nav */
  49. .flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center;}
  50. .flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
  51. .flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); 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);}
  52. .flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
  53. .flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }
  54. .flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
  55. .flex-control-thumbs li {width: 25%; float: left; margin: 0;}
  56. .flex-control-thumbs img {width: 100%; display: block; opacity: .8; cursor: pointer;border-bottom:10px solid #fff}
  57. .flex-control-thumbs img:hover {opacity: 1;border-bottom:10px solid #90ee90}
  58. .flex-control-thumbs img.active {opacity: 1; cursor: default;}
  59. img.flex-active {border-bottom:10px solid #c3e7fd}
  60. @media screen and (max-width: 860px) {
  61. .flex-direction-nav .flex-prev {opacity: 1; left: 0;}
  62. .flex-direction-nav .flex-next {opacity: 1; right: 0;}
  63. }
  64. .thumb6 .flex-control-thumbs li {width: 16.6%;}
  65. .thumb5 .flex-control-thumbs li {width: 20%;}
  66. .thumb4 .flex-control-thumbs li {width: 25%;}
  67. .thumb3 .flex-control-thumbs li {width: 33.3%;}
  68. .thumb2 .flex-control-thumbs li {width: 50%;}
  69. .slides p{
  70. font-weight: bolder;
  71. text-align:center;
  72. background-color:#c3e7fd;
  73. height:30px;
  74. line-height:30px;
  75. }