Projet

Général

Profil

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

root / drupal7 / sites / all / libraries / flexslider-2.5.0 / css / theme.less @ 4b706e38

1 0aee3c58 Assos Assos
/* ====================================================================================================================
2
 * DEFAULT THEME
3
 * ====================================================================================================================*/
4
5
6
.flexslider { 
7
8
  margin: @flexslider-margin; 
9
  background: @flexslider-bg; 
10
  border: @flexslider-border; 
11
  position: relative;
12
  zoom: 1; 
13
14
  .border-radius( @flexslider-border-radius );
15
  .box-shadow( @flexslider-box-shadow-x-axis, @flexslider-box-shadow-y-axis, @flexslider-box-shadow-blur, @flexslider-box-shadow-color, @flexslider-box-shadow-inset);
16
17
  .slides {
18
19
    zoom: 1;
20
21
  img {
22
    height: auto;
23
  }
24
  }
25
}
26
27
.flex-viewport { 
28
29
  max-height: @flex-viewport-max-height; 
30
31
  .transition();
32
33
  .loading &{
34
35
    max-height: @flex-viewport-loading-max-height;
36
37
  }
38
}
39
40
.carousel li { 
41
42
  margin-right: 5px; 
43
44
}
45
46
47
//
48
// Direction Nav
49
//
50
51
.flex-direction-nav {
52
53
  *height: 0;
54
55
  
56
  //
57
  // Global styles
58
  //
59
60
  a  { 
61
62
    text-decoration: none; 
63
    display: block; 
64
    width: 40px; 
65
    height: 40px; 
66
    margin: -20px 0 0; 
67
    position: absolute; 
68
    top: 50%; 
69
    z-index: 10; 
70
    overflow: hidden; 
71
    opacity: 0; 
72
    cursor: pointer; 
73
    color: @flex-direction-nav-color; 
74
    text-shadow: @flex-direction-nav-text-shadow;
75
76
    .transition( 0.3s, ease-in-out );
77
78
    &:before  { 
79
80
      font-family: "@{font-name}"; 
81
      font-size: 40px; 
82
      display: inline-block; 
83
      content: @flex-direction-nav-icon-prev;
84
      color: @flex-direction-nav-icon-color;
85
      text-shadow: @flex-direction-nav-icon-text-shadow;
86
87
    }
88
89
    &.flex-next:before { 
90
91
      content: @flex-direction-nav-icon-next;
92
93
    }
94
95
  }
96
97
98
  //
99
  // Prev
100
  //
101
102
  .flex-prev { 
103
104
    left: -50px;
105
106
  }
107
108
109
  //
110
  // Next
111
  //
112
113
  .flex-next { 
114
    
115
    right: -50px; 
116
    text-align: right;
117
118
  }
119
120
121
  //
122
  // Hover states
123
  //
124
125
  .flexslider:hover &{
126
    
127
    .flex-prev { 
128
129
      opacity: 0.7; 
130
      left: 10px;
131
132
      &:hover{
133
        
134
        opacity: 1;
135
136
      }
137
138
    }
139
    
140
    .flex-next { 
141
142
      opacity: 0.7; 
143
      right: 10px;
144
145
      &:hover{
146
        
147
        opacity: 1;
148
        
149
      }
150
151
    }
152
153
  }
154
155
156
  //
157
  // Disabled
158
  //
159
160
  .flex-disabled { 
161
162
    opacity: 0!important; 
163
    filter: alpha(opacity=0); 
164
    cursor: default;
165
166
  }
167
}
168
169
170
//
171
// Pause/Play
172
//
173
174
.flex-pauseplay a {
175
176
  display: block; 
177
  width: 20px; 
178
  height: 20px; 
179
  position: absolute; 
180
  bottom: 5px; 
181
  left: 10px; 
182
  opacity: 0.8; 
183
  z-index: 10; 
184
  overflow: hidden; 
185
  cursor: pointer; 
186
  color: #000;
187
188
  &:before { 
189
190
    font-family: "@{font-name}"; 
191
    font-size: 20px; 
192
    display: inline-block; 
193
    content: @flex-pauseplay-icon-pause;
194
195
  }
196
197
  &:hover {
198
199
    opacity: 1;
200
201
  }
202
203
  &.flex-play:before { 
204
205
    content: @flex-pauseplay-icon-play;
206
207
  }
208
209
}
210
211
212
//
213
// Control Nav
214
//
215
216
.flex-control-nav {
217
218
  width: 100%; 
219
  position: absolute; 
220
  bottom: -40px; 
221
  text-align: center;
222
223
  li {
224
    
225
    margin: 0 6px; 
226
    display: inline-block; 
227
    zoom: 1; 
228
    *display: inline;
229
230
  }
231
232
}
233
234
235
//
236
// Control paging
237
//
238
239
.flex-control-paging li {
240
241
  a {
242
243
    width: 11px; 
244
    height: 11px; 
245
    display: block; 
246
    background: #666; 
247
    background: rgba(0,0,0,0.5); 
248
    cursor: pointer; 
249
    text-indent: -9999px;
250
251
    .box-shadow( 0, 0, 3px, rgba(0,0,0,0.3), inset );
252
    .border-radius( 20px );
253
254
    &:hover { 
255
256
      background: #333; 
257
      background: rgba(0,0,0,0.7);
258
259
    }
260
261
    &.flex-active { 
262
263
      background: #000;
264
      background: rgba( 0, 0, 0, 0.9 );
265
      cursor: default;
266
267
    }
268
  }
269
}
270
271
272
.flex-control-thumbs {
273
274
  margin: @flex-control-thumbs; 
275
  position: static; 
276
  overflow: hidden;
277
278
  li {
279
280
    width: 25%; 
281
    float: left; 
282
    margin: 0;
283
284
  }
285
286
  img {
287
  
288
    width: 100%;
289
  height: auto;
290
    display: block; 
291
    opacity: .7; 
292
    cursor: pointer;
293
294
    .transition();
295
296
    &:hover {opacity: 1;}
297
298
  }
299
300
  .flex-active {
301
302
    opacity: 1; 
303
    cursor: default;
304
305
  }
306
}