Projet

Général

Profil

Paste
Télécharger (5,07 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / libraries / flexslider-version / flexslider.css @ 87dbc3bf

1
/*
2
 * jQuery FlexSlider v2.2.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
*********************************/
15
.flex-container a:active,
16
.flexslider a:active,
17
.flex-container a:focus,
18
.flexslider a:focus  {outline: none;}
19
.slides,
20
.flex-control-nav,
21
.flex-direction-nav {margin: 0; padding: 0; list-style: none;}
22

    
23
/* Icon Fonts
24
*********************************/
25
/* Font-face Icons */
26
@font-face {
27
        font-family: 'flexslider-icon';
28
        src:url('fonts/flexslider-icon.eot');
29
        src:url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'),
30
                url('fonts/flexslider-icon.woff') format('woff'),
31
                url('fonts/flexslider-icon.ttf') format('truetype'),
32
                url('fonts/flexslider-icon.svg#flexslider-icon') format('svg');
33
        font-weight: normal;
34
        font-style: normal;
35
}
36

    
37
/* FlexSlider Necessary Styles
38
*********************************/
39
.flexslider {margin: 0; padding: 0;}
40
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
41
.flexslider .slides img {width: 100%; display: block;}
42
.flex-pauseplay span {text-transform: capitalize;}
43

    
44
/* Clearfix for the .slides element */
45
.slides:after {content: "\0020"; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
46
html[xmlns] .slides {display: block;}
47
* html .slides {height: 1%;}
48

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

    
54
/* FlexSlider Default Theme
55
*********************************/
56
.flexslider { margin: 0 0 60px; background: #fff; border: 4px solid #fff; position: relative; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; -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); box-shadow: 0 1px 4px rgba(0,0,0,.2); zoom: 1; }
57
.flex-viewport { max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; }
58
.loading .flex-viewport { max-height: 300px; }
59
.flexslider .slides { zoom: 1; }
60
.carousel li { margin-right: 5px; }
61

    
62
/* Direction Nav */
63
.flex-direction-nav {*height: 0;}
64
.flex-direction-nav a  { display: block; width: 40px; height: 40px; margin: -20px 0 0; position: absolute; top: 50%; z-index: 10; overflow: hidden; opacity: 0; cursor: pointer; color: rgba(0,0,0,0.8); text-shadow: 1px 1px 0 rgba(255,255,255,0.3); -webkit-transition: all .3s ease; -moz-transition: all .3s ease; transition: all .3s ease; }
65
.flex-direction-nav .flex-prev { left: -50px; }
66
.flex-direction-nav .flex-next { right: -50px; text-align: right; }
67
.flexslider:hover .flex-prev { opacity: 0.7; left: 10px; }
68
.flexslider:hover .flex-next { opacity: 0.7; right: 10px; }
69
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover { opacity: 1; }
70
.flex-direction-nav .flex-disabled { opacity: 0!important; filter:alpha(opacity=0); cursor: default; }
71
.flex-direction-nav a:before  { font-family: "flexslider-icon"; font-size: 40px; display: inline-block; content: '\f001'; }
72
.flex-direction-nav a.flex-next:before  { content: '\f002'; }
73

    
74
/* Pause/Play */
75
.flex-pauseplay a { display: block; width: 20px; height: 20px; position: absolute; bottom: 5px; left: 10px; opacity: 0.8; z-index: 10; overflow: hidden; cursor: pointer; color: #000; }
76
.flex-pauseplay a:before  { font-family: "flexslider-icon"; font-size: 20px; display: inline-block; content: '\f004'; }
77
.flex-pauseplay a:hover  { opacity: 1; }
78
.flex-pauseplay a.flex-play:before { content: '\f003'; }
79

    
80
/* Control Nav */
81
.flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center;}
82
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
83
.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; -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); -moz-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); -o-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); box-shadow: inset 0 0 3px rgba(0,0,0,0.3); }
84
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
85
.flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }
86

    
87
.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
88
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
89
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
90
.flex-control-thumbs img:hover {opacity: 1;}
91
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}
92

    
93
@media screen and (max-width: 860px) {
94
  .flex-direction-nav .flex-prev { opacity: 1; left: 10px;}
95
  .flex-direction-nav .flex-next { opacity: 1; right: 10px;}
96
}