nivo-rails-am 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,509 @@
1
+ /*
2
+ * jQuery Nivo Slider v3.2
3
+ * http://nivo.dev7studios.com
4
+ *
5
+ * Copyright 2012, Dev7studios
6
+ * Free to use and abuse under the MIT license.
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ */
9
+
10
+ /* The Nivo Slider styles */
11
+ .nivoSlider {
12
+ position:relative;
13
+ width:960px;
14
+ height:auto;
15
+ overflow: hidden;
16
+ margin-left: auto;
17
+ margin-right: auto;
18
+ text-align: center;
19
+ }
20
+ .nivoSlider img {
21
+ position:absolute;
22
+ top:0px;
23
+ left:0px;
24
+ max-width: 960px;
25
+ }
26
+ .nivo-main-image {
27
+ display: block !important;
28
+ position: relative !important;
29
+ width: 960px !important;
30
+ }
31
+
32
+ /* If an image is wrapped in a link */
33
+ .nivoSlider a.nivo-imageLink {
34
+ position:absolute;
35
+ top:0px;
36
+ left:0px;
37
+ width:960px;
38
+ height:100%;
39
+ border:0;
40
+ padding:0;
41
+ margin:0;
42
+ z-index:6;
43
+ display:none;
44
+ background:white;
45
+ filter:alpha(opacity=0);
46
+ opacity:0;
47
+ }
48
+ /* The slices and boxes in the Slider */
49
+ .nivo-slice {
50
+ display:block;
51
+ position:absolute;
52
+ z-index:5;
53
+ height:100%;
54
+ top:0;
55
+ }
56
+ .nivo-box {
57
+ display:block;
58
+ position:absolute;
59
+ z-index:5;
60
+ overflow:hidden;
61
+ }
62
+ .nivo-box img { display:block; }
63
+
64
+ /* Caption styles */
65
+ .nivo-caption {
66
+ position:absolute;
67
+ left:0px;
68
+ bottom:0px;
69
+ background:#000;
70
+ color:#fff;
71
+ width:960px;
72
+ z-index:8;
73
+ padding: 5px 10px;
74
+ opacity: 0.8;
75
+ overflow: hidden;
76
+ display: none;
77
+ -moz-opacity: 0.8;
78
+ filter:alpha(opacity=8);
79
+ -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
80
+ -moz-box-sizing: border-box; /* Firefox, other Gecko */
81
+ box-sizing: border-box; /* Opera/IE 8+ */
82
+ }
83
+ .nivo-caption p {
84
+ padding:5px;
85
+ margin:0;
86
+ }
87
+ .nivo-caption a {
88
+ display:inline !important;
89
+ }
90
+ .nivo-html-caption {
91
+ display:none;
92
+ }
93
+ /* Direction nav styles (e.g. Next & Prev) */
94
+ .nivo-directionNav a {
95
+ position:absolute;
96
+ top:45%;
97
+ z-index:9;
98
+ cursor:pointer;
99
+ }
100
+ .nivo-prevNav {
101
+ left:0px;
102
+ }
103
+ .nivo-nextNav {
104
+ right:0px;
105
+ }
106
+ /* Control nav styles (e.g. 1,2,3...) */
107
+ .nivo-controlNav {
108
+ text-align:center;
109
+ padding: 15px 0;
110
+ }
111
+ .nivo-controlNav a {
112
+ cursor:pointer;
113
+ }
114
+ .nivo-controlNav a.active {
115
+ font-weight:bold;
116
+ }
117
+
118
+ /* Themes */
119
+
120
+ .theme-light.slider-wrapper {
121
+ background: #fff;
122
+ padding: 10px;
123
+ }
124
+ .theme-light .nivoSlider {
125
+ position:relative;
126
+ background:#fff url(light/loading.gif) no-repeat 50% 50%;
127
+ margin-bottom:10px;
128
+ overflow: visible;
129
+ }
130
+ .theme-light .nivoSlider img {
131
+ position:absolute;
132
+ top:0px;
133
+ left:0px;
134
+ display:none;
135
+ }
136
+ .theme-light .nivoSlider a {
137
+ border:0;
138
+ display:block;
139
+ }
140
+
141
+ .theme-light .nivo-controlNav {
142
+ text-align: left;
143
+ padding: 0;
144
+ position: relative;
145
+ z-index: 10;
146
+ }
147
+ .theme-light .nivo-controlNav a {
148
+ display:inline-block;
149
+ width:10px;
150
+ height:10px;
151
+ background:url(light/bullets.png) no-repeat;
152
+ text-indent:-9999px;
153
+ border:0;
154
+ margin: 0 2px;
155
+ }
156
+ .theme-light .nivo-controlNav a.active {
157
+ background-position:0 960px;
158
+ }
159
+
160
+ .theme-light .nivo-directionNav a {
161
+ display:block;
162
+ width:30px;
163
+ height:30px;
164
+ background: url(light/arrows.png) no-repeat;
165
+ text-indent:-9999px;
166
+ border:0;
167
+ top: auto;
168
+ bottom: -36px;
169
+ z-index: 11;
170
+ }
171
+ .theme-light .nivo-directionNav a:hover {
172
+ background-color: #eee;
173
+ -webkit-border-radius: 2px;
174
+ -moz-border-radius: 2px;
175
+ border-radius: 2px;
176
+ }
177
+ .theme-light a.nivo-nextNav {
178
+ background-position:160% 50%;
179
+ right:0px;
180
+ }
181
+ .theme-light a.nivo-prevNav {
182
+ background-position:-60% 50%;
183
+ left: auto;
184
+ right: 35px;
185
+ }
186
+
187
+ .theme-light .nivo-caption {
188
+ font-family: Helvetica, Arial, sans-serif;
189
+ }
190
+ .theme-light .nivo-caption a {
191
+ color:#fff;
192
+ border-bottom:1px dotted #fff;
193
+ }
194
+ .theme-light .nivo-caption a:hover {
195
+ color:#fff;
196
+ }
197
+
198
+ .theme-light .nivo-controlNav.nivo-thumbs-enabled {
199
+ width: 80%;
200
+ }
201
+ .theme-light .nivo-controlNav.nivo-thumbs-enabled a {
202
+ width: auto;
203
+ height: auto;
204
+ background: none;
205
+ margin-bottom: 5px;
206
+ }
207
+ .theme-light .nivo-controlNav.nivo-thumbs-enabled img {
208
+ display: block;
209
+ width: 120px;
210
+ height: auto;
211
+ }
212
+
213
+ .theme-default .nivoSlider {
214
+ position:relative;
215
+ background:#fff url(default/loading.gif) no-repeat 50% 50%;
216
+ margin-bottom:10px;
217
+ -webkit-box-shadow: 0px 1px 5px 0px #4a4a4a;
218
+ -moz-box-shadow: 0px 1px 5px 0px #4a4a4a;
219
+ box-shadow: 0px 1px 5px 0px #4a4a4a;
220
+ }
221
+ .theme-default .nivoSlider img {
222
+ position:absolute;
223
+ top:0px;
224
+ left:0px;
225
+ display:none;
226
+ }
227
+ .theme-default .nivoSlider a {
228
+ border:0;
229
+ display:block;
230
+ }
231
+
232
+ .theme-default .nivo-controlNav {
233
+ text-align: center;
234
+ padding: 20px 0;
235
+ }
236
+ .theme-default .nivo-controlNav a {
237
+ display:inline-block;
238
+ width:22px;
239
+ height:22px;
240
+ background:url(default/bullets.png) no-repeat;
241
+ text-indent:-9999px;
242
+ border:0;
243
+ margin: 0 2px;
244
+ }
245
+ .theme-default .nivo-controlNav a.active {
246
+ background-position:0 -22px;
247
+ }
248
+
249
+ .theme-default .nivo-directionNav a {
250
+ display:block;
251
+ width:30px;
252
+ height:30px;
253
+ background:url(default/arrows.png) no-repeat;
254
+ text-indent:-9999px;
255
+ border:0;
256
+ opacity: 0;
257
+ -webkit-transition: all 200ms ease-in-out;
258
+ -moz-transition: all 200ms ease-in-out;
259
+ -o-transition: all 200ms ease-in-out;
260
+ transition: all 200ms ease-in-out;
261
+ }
262
+ .theme-default:hover .nivo-directionNav a { opacity: 1; }
263
+ .theme-default a.nivo-nextNav {
264
+ background-position:-30px 0;
265
+ right:15px;
266
+ }
267
+ .theme-default a.nivo-prevNav {
268
+ left:15px;
269
+ }
270
+
271
+ .theme-default .nivo-caption {
272
+ font-family: Helvetica, Arial, sans-serif;
273
+ }
274
+ .theme-default .nivo-caption a {
275
+ color:#fff;
276
+ border-bottom:1px dotted #fff;
277
+ }
278
+ .theme-default .nivo-caption a:hover {
279
+ color:#fff;
280
+ }
281
+
282
+ .theme-default .nivo-controlNav.nivo-thumbs-enabled {
283
+ width: 960px;
284
+ }
285
+ .theme-default .nivo-controlNav.nivo-thumbs-enabled a {
286
+ width: auto;
287
+ height: auto;
288
+ background: none;
289
+ margin-bottom: 5px;
290
+ }
291
+ .theme-default .nivo-controlNav.nivo-thumbs-enabled img {
292
+ display: block;
293
+ width: 120px;
294
+ height: auto;
295
+ }
296
+
297
+ .theme-dark.slider-wrapper {
298
+ background: #222;
299
+ padding: 10px;
300
+ }
301
+ .theme-dark .nivoSlider {
302
+ position:relative;
303
+ background:#fff url('/slider/dark/loading.gif') no-repeat 50% 50%;
304
+ margin-bottom:10px;
305
+ overflow: visible;
306
+ }
307
+ .theme-dark .nivoSlider img {
308
+ position:absolute;
309
+ top:0px;
310
+ left:0px;
311
+ display:none;
312
+ }
313
+ .theme-dark .nivoSlider a {
314
+ border:0;
315
+ display:block;
316
+ }
317
+
318
+ .theme-dark .nivo-controlNav {
319
+ padding: 0;
320
+ position: relative;
321
+ z-index: 10;
322
+ }
323
+ .theme-dark .nivo-controlNav a {
324
+ display:inline-block;
325
+ width:10px;
326
+ height:10px;
327
+ background:url('/slider/dark/bullets.png') no-repeat 0 2px;
328
+ text-indent:-9999px;
329
+ border:0;
330
+ margin: 0 2px;
331
+ }
332
+ .theme-dark .nivo-controlNav a.active {
333
+ background-position:0 960px;
334
+ }
335
+
336
+ .theme-dark .nivo-directionNav a {
337
+ display:block;
338
+ width:30px;
339
+ height:30px;
340
+ background: url('/slider/dark/arrows.png') no-repeat;
341
+ text-indent:-9999px;
342
+ border:0;
343
+ top: auto;
344
+ bottom: -36px;
345
+ z-index: 11;
346
+ }
347
+ .theme-dark .nivo-directionNav a:hover {
348
+ background-color: #333;
349
+ -webkit-border-radius: 2px;
350
+ -moz-border-radius: 2px;
351
+ border-radius: 2px;
352
+ }
353
+ .theme-dark a.nivo-nextNav {
354
+ background-position:-16px 50%;
355
+ right:5px;
356
+ }
357
+ .theme-dark a.nivo-prevNav {
358
+ background-position:11px 50%;
359
+ left: 5px;
360
+ }
361
+
362
+ .theme-dark .nivo-caption {
363
+ font-family: Helvetica, Arial, sans-serif;
364
+ }
365
+ .theme-dark .nivo-caption a {
366
+ color:#fff;
367
+ border-bottom:1px dotted #fff;
368
+ }
369
+ .theme-dark .nivo-caption a:hover {
370
+ color:#fff;
371
+ }
372
+
373
+ .theme-dark .nivo-controlNav.nivo-thumbs-enabled {
374
+ width: 80%;
375
+ }
376
+ .theme-dark .nivo-controlNav.nivo-thumbs-enabled a {
377
+ width: auto;
378
+ height: auto;
379
+ background: none;
380
+ margin-bottom: 5px;
381
+ }
382
+ .theme-dark .nivo-controlNav.nivo-thumbs-enabled img {
383
+ display: block;
384
+ width: 120px;
385
+ height: auto;
386
+ }
387
+
388
+ .theme-bar.slider-wrapper {
389
+ position: relative;
390
+ border: 1px solid #333;
391
+ overflow: hidden;
392
+ }
393
+ .theme-bar .nivoSlider {
394
+ position:relative;
395
+ background:#fff url(bar/loading.gif) no-repeat 50% 50%;
396
+ }
397
+ .theme-bar .nivoSlider img {
398
+ position:absolute;
399
+ top:0px;
400
+ left:0px;
401
+ display:none;
402
+ }
403
+ .theme-bar .nivoSlider a {
404
+ border:0;
405
+ display:block;
406
+ }
407
+
408
+ .theme-bar .nivo-controlNav {
409
+ position: absolute;
410
+ left: 0;
411
+ bottom: -41px;
412
+ z-index: 10;
413
+ width: 960px;
414
+ height: 30px;
415
+ text-align: center;
416
+ padding: 5px 0;
417
+ border-top: 1px solid #333;
418
+ background: #333;
419
+ background: -moz-linear-gradient(top, #565656 0%, #333333 960px); /* FF3.6+ */
420
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#565656), color-stop(960px,#333333)); /* Chrome,Safari4+ */
421
+ background: -webkit-linear-gradient(top, #565656 0%,#333333 960px); /* Chrome10+,Safari5.1+ */
422
+ background: -o-linear-gradient(top, #565656 0%,#333333 960px); /* Opera 11.10+ */
423
+ background: -ms-linear-gradient(top, #565656 0%,#333333 960px); /* IE10+ */
424
+ background: linear-gradient(to bottom, #565656 0%,#333333 960px); /* W3C */
425
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#565656', endColorstr='#333333',GradientType=0 ); /* IE6-9 */
426
+ opacity: 0.5;
427
+ -webkit-transition: all 200ms ease-in-out;
428
+ -moz-transition: all 200ms ease-in-out;
429
+ -o-transition: all 200ms ease-in-out;
430
+ transition: all 200ms ease-in-out;
431
+ }
432
+ .theme-bar:hover .nivo-controlNav {
433
+ bottom: 0;
434
+ opacity: 1;
435
+ }
436
+ .theme-bar .nivo-controlNav a {
437
+ display:inline-block;
438
+ width:22px;
439
+ height:22px;
440
+ background: url(bar/bullets.png) no-repeat;
441
+ text-indent:-9999px;
442
+ border:0;
443
+ margin: 5px 2px 0 2px;
444
+ }
445
+ .theme-bar .nivo-controlNav a.active {
446
+ background-position:0 -22px;
447
+ }
448
+
449
+ .theme-bar .nivo-directionNav a {
450
+ display:block;
451
+ border:0;
452
+ color: #fff;
453
+ text-transform: uppercase;
454
+ top: auto;
455
+ bottom: 10px;
456
+ z-index: 11;
457
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
458
+ font-size: 13px;
459
+ line-height: 20px;
460
+ opacity: 0.5;
461
+ -webkit-transition: all 200ms ease-in-out;
462
+ -moz-transition: all 200ms ease-in-out;
463
+ -o-transition: all 200ms ease-in-out;
464
+ transition: all 200ms ease-in-out;
465
+ }
466
+ .theme-bar a.nivo-nextNav { right: -50px; }
467
+ .theme-bar a.nivo-prevNav { left: -50px; }
468
+ .theme-bar:hover a.nivo-nextNav {
469
+ right: 15px;
470
+ opacity: 1;
471
+ }
472
+ .theme-bar:hover a.nivo-prevNav {
473
+ left: 15px;
474
+ opacity: 1;
475
+ }
476
+ .theme-bar .nivo-directionNav a:hover { color: #ddd; }
477
+
478
+ .theme-bar .nivo-caption {
479
+ font-family: Helvetica, Arial, sans-serif;
480
+ -webkit-transition: all 200ms ease-in-out;
481
+ -moz-transition: all 200ms ease-in-out;
482
+ -o-transition: all 200ms ease-in-out;
483
+ transition: all 200ms ease-in-out;
484
+ }
485
+ .theme-bar:hover .nivo-caption {
486
+ bottom: 41px;
487
+ }
488
+ .theme-bar .nivo-caption a {
489
+ color:#fff;
490
+ border-bottom:1px dotted #fff;
491
+ }
492
+ .theme-bar .nivo-caption a:hover {
493
+ color:#fff;
494
+ }
495
+
496
+ .theme-bar .nivo-controlNav.nivo-thumbs-enabled {
497
+ width: 960px;
498
+ }
499
+ .theme-bar .nivo-controlNav.nivo-thumbs-enabled a {
500
+ width: auto;
501
+ height: auto;
502
+ background: none;
503
+ margin-bottom: 5px;
504
+ }
505
+ .theme-bar .nivo-controlNav.nivo-thumbs-enabled img {
506
+ display: block;
507
+ width: 120px;
508
+ height: auto;
509
+ }