169 lines
4.1 KiB
CSS
169 lines
4.1 KiB
CSS
/*
|
|
* jQuery FlexSlider v2.0
|
|
* http://www.woothemes.com/flexslider/
|
|
*
|
|
* Copyright 2012 WooThemes
|
|
* Free to use under the GPLv2 license.
|
|
* http://www.gnu.org/licenses/gpl-2.0.html
|
|
*
|
|
* Contributing author: Tyler Smith (@mbmufffin)
|
|
*/
|
|
|
|
|
|
/* Browser Resets */
|
|
.flex-container a:active,
|
|
.flexslider a:active,
|
|
.flex-container a:focus,
|
|
.flexslider a:focus {outline: none;}
|
|
.slides,
|
|
.flex-control-nav,
|
|
.flex-direction-nav {margin: 0; padding: 0; list-style: none;}
|
|
|
|
/* FlexSlider Necessary Styles
|
|
*********************************/
|
|
.flexslider {margin: 0; padding: 0;}
|
|
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;margin: 0;padding: 0;} /* Hide the slides before the JS is loaded. Avoids image jumping */
|
|
.flexslider .slides img {width: 100%; display: block;}
|
|
.flex-pauseplay span {text-transform: capitalize;}
|
|
|
|
/* Clearfix for the .slides element */
|
|
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
|
|
html[xmlns] .slides {display: block;}
|
|
* html .slides {height: 1%;}
|
|
|
|
/* No JavaScript Fallback */
|
|
/* If you are not using another script, such as Modernizr, make sure you
|
|
* include js that eliminates this class on page load */
|
|
.no-js .slides > li:first-child {display: block;}
|
|
|
|
|
|
/* FlexSlider Default Theme
|
|
*********************************/
|
|
.flexslider {position: relative; zoom: 1;}
|
|
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
|
|
.loading .flex-viewport {max-height: 300px;}
|
|
.flexslider .slides {zoom: 1;}
|
|
|
|
.carousel li {margin-right: 5px}
|
|
|
|
/* Play Pause */
|
|
.flex-pauseplay {
|
|
position: absolute;
|
|
bottom: 1em;
|
|
right: 3em;
|
|
text-align: center;
|
|
z-index: 2000;
|
|
background: #0077b3;
|
|
background: rgba(0,119,179,0.9);
|
|
}
|
|
.flex-pauseplay .flex-play,
|
|
.flex-pauseplay .flex-pause {
|
|
display: block;
|
|
width: 1em;
|
|
height: 1em;
|
|
line-height: 1em;
|
|
padding: 0.5em;
|
|
cursor: pointer;
|
|
|
|
color: #fff;
|
|
}
|
|
.flex-pauseplay .flex-play {}
|
|
.flex-pauseplay .flex-pause {}
|
|
|
|
|
|
|
|
/* Direction Nav */
|
|
.flex-direction-nav {
|
|
position: absolute;
|
|
bottom: 1em;
|
|
right: 6em;
|
|
padding: 0 0.25em;
|
|
text-align: center;
|
|
z-index: 2000;
|
|
background: #0077b3;
|
|
background: rgba(0,119,179,0.9);
|
|
}
|
|
.flex-direction-nav li {
|
|
display: block;
|
|
float: left;
|
|
zoom: 1;
|
|
padding: 0.5em 0.25em;
|
|
margin: 0;
|
|
height: 1em;
|
|
line-height: 1em;
|
|
}
|
|
.flex-direction-nav a {
|
|
display: block;
|
|
width: 1em;
|
|
height: 1em;
|
|
line-height: 1em;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
text-align: center;
|
|
z-index: 2000;
|
|
}
|
|
.flex-direction-nav .flex-next {}
|
|
.flex-direction-nav .flex-prev {}
|
|
.flex-direction-nav .disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}
|
|
|
|
|
|
/* Pager */
|
|
.flex-control-nav {
|
|
position: absolute;
|
|
overflow: hidden;
|
|
bottom: 1em;
|
|
right: 10.5em;
|
|
padding: 0 0.25em;
|
|
text-align: center;
|
|
z-index: 2000;
|
|
background: #0077b3;
|
|
background: rgba(0,119,179,0.9);
|
|
}
|
|
.flex-control-nav li {
|
|
display: block;
|
|
float: left;
|
|
zoom: 1;
|
|
padding: 0.5em 0.5em;
|
|
margin: 0;
|
|
height: 1em;
|
|
line-height: 1em;
|
|
}
|
|
.flex-control-paging li a {
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
height: 0.75em;
|
|
line-height: 0.75em;
|
|
width: 0.75em;
|
|
background: transparent;
|
|
border: 2px solid rgba(255,255,255,0.5);
|
|
margin: -2px;
|
|
color: transparent;
|
|
text-indent: -10000px;
|
|
|
|
-webkit-border-radius: 2em;
|
|
-moz-border-radius: 2em;
|
|
border-radius: 2em;
|
|
|
|
-webkit-transition: all 0.2s ease-out;
|
|
-moz-transition: all 0.2s ease-out;
|
|
transition: all 0.2s ease-out;
|
|
}
|
|
.flex-control-paging li a:hover {
|
|
border: 2px solid #fff;
|
|
}
|
|
.flex-control-paging li a.flex-active {
|
|
border: 2px solid #fff;
|
|
background: rgba(255,255,255,0.5);
|
|
}
|
|
|
|
.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
|
|
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
|
|
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
|
|
.flex-control-thumbs img:hover {opacity: 1;}
|
|
.flex-control-thumbs .active {opacity: 1; cursor: default;}
|
|
|
|
@media only screen and (-webkit-min-device-pixel-ratio: 2),
|
|
only screen and (-moz-min-device-pixel-ratio: 2),
|
|
only screen and (-o-min-device-pixel-ratio: 2/1),
|
|
only screen and (min-device-pixel-ratio: 2) {
|
|
} |