particle 1.0

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