Projet

Général

Profil

Paste
Télécharger (3,49 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / themes / simplecorp / css / plugins / flexslider.css @ b9383c72

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

    
12
 
13
/* Browser Resets */
14
.flex-container a:active,
15
.flexslider a:active,
16
.flex-container a:focus,
17
.flexslider a:focus  {outline: none;}
18
.slides,
19
.flex-control-nav,
20
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 
21

    
22
/* FlexSlider Necessary Styles
23
*********************************/ 
24
.flexslider {margin: 0; padding: 0;}
25
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
26
.flexslider .slides img {width: 100%; display: block;}
27
.flex-pauseplay span {text-transform: capitalize;}
28

    
29
/* Clearfix for the .slides element */
30
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
31
html[xmlns] .slides {display: block;} 
32
* html .slides {height: 1%;}
33

    
34
/* No JavaScript Fallback */
35
/* If you are not using another script, such as Modernizr, make sure you
36
 * include js that eliminates this class on page load */
37
.no-js .slides > li:first-child {display: block;}
38

    
39

    
40
/* FlexSlider Default Theme
41
*********************************/
42
.flexslider { position:relative; zoom: 1;  }
43
.loading .flex-viewport {max-height: 300px;}
44
.flexslider .slides {zoom: 1;}
45
.flexslider .slides > li {position: relative;  z-index: 1; width:940px; }
46

    
47

    
48
/* Caption style */
49
/* IE rgba() hack */
50
.flex-caption {zoom: 1;background:url("../../images/caption-bg.png") repeat;}
51
.flex-caption {width: 94%; padding: 3%; position: absolute; left: 0; bottom: 0;   color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.3); }
52
.flex-caption h3{margin:0;color:#9dcedf;}
53

    
54
/* Direction Nav */
55
.flex-direction-nav {*height: 0; z-index: 3;}
56
.flex-direction-nav a {color: #fff; font-size: 40px;display: block; background-color: rgba(204,204,204,0.5);-webkit-transition: background-color .2s linear; -moz-transition: background-color .2s linear;
57
 -o-transition: background-color .2s linear; transition: background-color .2s linear; z-index: 10; cursor: pointer; }
58
.flex-direction-nav .flex-next, .flex-direction-nav .flex-prev {padding: 5px 5px 5px 5px; width:30px;height:25px;text-align:center; line-height: 20px; }
59
.flex-direction-nav .flex-next { position: relative; margin-top: -30px; margin-right:0px;float:right; }
60
.flex-direction-nav .flex-prev { position: relative; margin-top: -30px; margin-left:0px;float:left; }
61
.flex-direction-nav li a:hover {background-color: #9dcedf; border-bottom: none;}
62
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;}
63
.flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}
64

    
65
/* Control Nav */
66
.flex-control-nav {width: 100%; position: relative; margin-top: 30px; text-align:center;display:block;}
67
.flex-control-nav li {margin: 0 0 0 5px; display: inline-block; zoom: 1; *display: inline;}
68
.flex-control-nav li:first-child {margin: 0;}
69
.flex-control-paging li a {width: 13px; height: 13px; display: block; background: url("../../images/bg_control_nav.png") no-repeat; cursor: pointer; text-indent: -999em;}
70
.flex-control-paging li a:hover { background-position: 0 -13px; }
71
.flex-control-paging li a.flex-active { background-position: 0 -26px; cursor: default; }
72

    
73

    
74
@media screen and (max-width: 860px) {
75
  .flex-direction-nav .flex-prev {opacity: 1; left: 0;}
76
  .flex-direction-nav .flex-next {opacity: 1; right: 0;}
77
}
78

    
79

    
80