@pimaonline/pimaonline-themepack 3.0.0 → 3.10.11
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE.md +30 -30
- package/README.md +100 -69
- package/dist/css/main.css +1 -1
- package/dist/css/plugins/alt-icons.css +1 -0
- package/dist/css/plugins/font-awesome.css +1 -1
- package/dist/css/routes.css +1 -1
- package/dist/css/themes/aviation/styles.css +1 -1
- package/dist/css/themes/bct/styles.css +1 -0
- package/dist/css/themes/bio/styles.css +1 -0
- package/dist/css/themes/business/styles.css +1 -1
- package/dist/css/themes/fsc/styles.css +1 -1
- package/dist/css/themes/hrs/styles.css +1 -1
- package/dist/css/themes/lgm/styles.css +1 -1
- package/dist/css/themes/psy/styles.css +1 -0
- package/dist/img/theme-images/bct/Blueprint-background.png +0 -0
- package/dist/img/theme-images/bio/original/dna.svg +1 -0
- package/dist/img/theme-images/bio/original/humans.svg +1 -0
- package/dist/img/theme-images/bio/original/leaves.svg +33 -0
- package/dist/img/theme-images/bio/original/marine-bottom.svg +1 -0
- package/dist/img/theme-images/bio/original/marine-top.svg +1 -0
- package/dist/img/theme-images/bio/original/microbes.svg +1 -0
- package/dist/img/theme-images/ecn/arrow-2.svg +4 -4
- package/dist/img/theme-images/ecn/arrow.svg +4 -4
- package/dist/img/theme-images/ecn/point.svg +3 -3
- package/dist/img/theme-images/eng/button-bkg.svg +178 -178
- package/dist/img/theme-images/eng/halftone.svg +177 -177
- package/dist/img/theme-images/eng/long-button-bkg.svg +353 -353
- package/dist/img/theme-images/fsc/bottomwave-pinkred.svg +16 -16
- package/dist/img/theme-images/fsc/bottomwave-redorange.svg +16 -16
- package/dist/img/theme-images/fsc/bottomwave-yellow.svg +16 -16
- package/dist/img/theme-images/fsc/bottomwave-yelloworange.svg +16 -16
- package/dist/img/theme-images/fsc/mainwave-pinkred.svg +16 -16
- package/dist/img/theme-images/fsc/mainwave-redorange.svg +16 -16
- package/dist/img/theme-images/fsc/mainwave-yellow.svg +16 -16
- package/dist/img/theme-images/fsc/mainwave-yelloworange.svg +16 -16
- package/dist/img/theme-images/music/half_note.svg +5 -5
- package/dist/img/theme-images/psy/counseling-icon.svg +1 -0
- package/dist/img/theme-images/psy/psych-icon.svg +17 -0
- package/dist/img/theme-images/resort/flourish-left.svg +32 -32
- package/dist/img/theme-images/resort/flourish-main.svg +37 -37
- package/dist/img/theme-images/resort/flourish-right.svg +31 -31
- package/dist/img/theme-images/resort/separator.svg +15 -15
- package/dist/img/theme-images/ss/blockquote.svg +2 -2
- package/dist/img/theme-images/ss/list-style.svg +3 -3
- package/dist/img/theme-images/ss/main-large-blob.svg +3 -3
- package/dist/img/theme-images/ss/main-small-blob.svg +3 -3
- package/dist/img/theme-images/ss/small-blob.svg +3 -3
- package/dist/img/theme-images/ss/tall-blob.svg +3 -3
- package/dist/img/theme-images/widgets/separator.svg +17 -17
- package/dist/js/jumpTo.js +3 -3
- package/dist/js/scripts.js +326 -326
- package/dist/js/scripts2.js +1006 -541
- package/dist/js/themes/ecn.js +13 -0
- package/dist/js/themes/hrs.js +19 -0
- package/dist/js/themes/ss.js +197 -0
- package/dist/plugins/fancybox/fancybox-example.html +51 -51
- package/dist/plugins/fancybox/fancybox.css +72 -72
- package/dist/plugins/fancybox/helpers/jquery.fancybox-buttons.css +97 -97
- package/dist/plugins/fancybox/helpers/jquery.fancybox-buttons.js +122 -122
- package/dist/plugins/fancybox/helpers/jquery.fancybox-media.js +201 -201
- package/dist/plugins/fancybox/helpers/jquery.fancybox-thumbs.css +54 -54
- package/dist/plugins/fancybox/helpers/jquery.fancybox-thumbs.js +165 -165
- package/dist/plugins/fancybox/jquery.fancybox.css +274 -274
- package/dist/plugins/fancybox/jquery.fancybox.js +2018 -2018
- package/dist/plugins/fancybox/jquery.fancybox.pack.js +46 -46
- package/dist/plugins/flashcards/README.md +135 -135
- package/dist/plugins/flashcards/config.rb +24 -24
- package/dist/plugins/flashcards/css/style.css +215 -215
- package/dist/plugins/flashcards/flashcards-example.html +65 -65
- package/dist/plugins/flashcards/index.html +90 -90
- package/dist/plugins/flashcards/js/flash_cards.min.js +11 -11
- package/dist/plugins/flashcards/js/plugins/flash_cards.js +62 -62
- package/dist/plugins/flashcards/js/plugins/jquery.cycle.js +1147 -1147
- package/dist/plugins/flashcards/js/vendor/jquery-1.7.2.js +9404 -9404
- package/dist/plugins/flashcards/js/vendor/jquery-1.7.2.min.js +3 -3
- package/dist/plugins/flashcards/js/vendor/modernizr-2.5.3.min.js +3 -3
- package/dist/plugins/flashcards/resources/fonts/flash_cards/flash_cards.svg +20 -20
- package/dist/plugins/floating-particles/floating-particles.js +67 -67
- package/dist/plugins/font-awesome-icons/webfonts/brands.svg +1460 -0
- package/dist/plugins/font-awesome-icons/webfonts/fa-brands-400.ttf +0 -0
- package/dist/plugins/font-awesome-icons/webfonts/fa-brands-400.woff2 +0 -0
- package/dist/plugins/font-awesome-icons/webfonts/fa-regular-400.ttf +0 -0
- package/dist/plugins/font-awesome-icons/webfonts/fa-regular-400.woff2 +0 -0
- package/dist/plugins/font-awesome-icons/webfonts/fa-solid-900.ttf +0 -0
- package/dist/plugins/font-awesome-icons/webfonts/fa-solid-900.woff2 +0 -0
- package/dist/plugins/font-awesome-icons/webfonts/fa-v4compatibility.ttf +0 -0
- package/dist/plugins/font-awesome-icons/webfonts/fa-v4compatibility.woff2 +0 -0
- package/dist/plugins/font-awesome-icons/webfonts/regular.svg +497 -0
- package/dist/plugins/font-awesome-icons/webfonts/solid.svg +4178 -0
- package/dist/plugins/global-homepage-overrides/global-homepage-overrides.css +539 -539
- package/dist/plugins/global-homepage-overrides/global-homepage-overrides.html +18 -18
- package/dist/plugins/global-homepage-overrides/global-homepage-overrides.js +52 -52
- package/dist/plugins/preview-banner/preview-banner.css +125 -125
- package/dist/plugins/preview-banner/preview-banner.html +17 -17
- package/dist/plugins/preview-banner/preview-banner.js +56 -56
- package/package.json +42 -39
- package/dist/plugins/font-awesome-icons/webfonts/fa-brands-400.eot +0 -0
- package/dist/plugins/font-awesome-icons/webfonts/fa-brands-400.svg +0 -3570
- package/dist/plugins/font-awesome-icons/webfonts/fa-brands-400.woff +0 -0
- package/dist/plugins/font-awesome-icons/webfonts/fa-regular-400.eot +0 -0
- package/dist/plugins/font-awesome-icons/webfonts/fa-regular-400.svg +0 -803
- package/dist/plugins/font-awesome-icons/webfonts/fa-regular-400.woff +0 -0
- package/dist/plugins/font-awesome-icons/webfonts/fa-solid-900.eot +0 -0
- package/dist/plugins/font-awesome-icons/webfonts/fa-solid-900.svg +0 -4700
- package/dist/plugins/font-awesome-icons/webfonts/fa-solid-900.woff +0 -0
@@ -1,201 +1,201 @@
|
|
1
|
-
/*!
|
2
|
-
* Media helper for fancyBox
|
3
|
-
* version: 1.0.6 (Fri, 14 Jun 2013)
|
4
|
-
* @requires fancyBox v2.0 or later
|
5
|
-
*
|
6
|
-
* Usage:
|
7
|
-
* $(".fancybox").fancybox({
|
8
|
-
* helpers : {
|
9
|
-
* media: true
|
10
|
-
* }
|
11
|
-
* });
|
12
|
-
*
|
13
|
-
* Set custom URL parameters:
|
14
|
-
* $(".fancybox").fancybox({
|
15
|
-
* helpers : {
|
16
|
-
* media: {
|
17
|
-
* youtube : {
|
18
|
-
* params : {
|
19
|
-
* autoplay : 0
|
20
|
-
* }
|
21
|
-
* }
|
22
|
-
* }
|
23
|
-
* }
|
24
|
-
* });
|
25
|
-
*
|
26
|
-
* Or:
|
27
|
-
* $(".fancybox").fancybox({,
|
28
|
-
* helpers : {
|
29
|
-
* media: true
|
30
|
-
* },
|
31
|
-
* youtube : {
|
32
|
-
* autoplay: 0
|
33
|
-
* }
|
34
|
-
* });
|
35
|
-
*
|
36
|
-
* Supports:
|
37
|
-
*
|
38
|
-
* Youtube
|
39
|
-
* http://www.youtube.com/watch?v=opj24KnzrWo
|
40
|
-
* http://www.youtube.com/embed/opj24KnzrWo
|
41
|
-
* http://youtu.be/opj24KnzrWo
|
42
|
-
* http://www.youtube-nocookie.com/embed/opj24KnzrWo
|
43
|
-
* Vimeo
|
44
|
-
* http://vimeo.com/40648169
|
45
|
-
* http://vimeo.com/channels/staffpicks/38843628
|
46
|
-
* http://vimeo.com/groups/surrealism/videos/36516384
|
47
|
-
* http://player.vimeo.com/video/45074303
|
48
|
-
* Metacafe
|
49
|
-
* http://www.metacafe.com/watch/7635964/dr_seuss_the_lorax_movie_trailer/
|
50
|
-
* http://www.metacafe.com/watch/7635964/
|
51
|
-
* Dailymotion
|
52
|
-
* http://www.dailymotion.com/video/xoytqh_dr-seuss-the-lorax-premiere_people
|
53
|
-
* Twitvid
|
54
|
-
* http://twitvid.com/QY7MD
|
55
|
-
* Twitpic
|
56
|
-
* http://twitpic.com/7p93st
|
57
|
-
* Instagram
|
58
|
-
* http://instagr.am/p/IejkuUGxQn/
|
59
|
-
* http://instagram.com/p/IejkuUGxQn/
|
60
|
-
* Google maps
|
61
|
-
* http://maps.google.com/maps?q=Eiffel+Tower,+Avenue+Gustave+Eiffel,+Paris,+France&t=h&z=17
|
62
|
-
* http://maps.google.com/?ll=48.857995,2.294297&spn=0.007666,0.021136&t=m&z=16
|
63
|
-
* http://maps.google.com/?ll=48.859463,2.292626&spn=0.000965,0.002642&t=m&z=19&layer=c&cbll=48.859524,2.292532&panoid=YJ0lq28OOy3VT2IqIuVY0g&cbp=12,151.58,,0,-15.56
|
64
|
-
*/
|
65
|
-
;(function ($) {
|
66
|
-
"use strict";
|
67
|
-
|
68
|
-
//Shortcut for fancyBox object
|
69
|
-
var F = $.fancybox,
|
70
|
-
format = function( url, rez, params ) {
|
71
|
-
params = params || '';
|
72
|
-
|
73
|
-
if ( $.type( params ) === "object" ) {
|
74
|
-
params = $.param(params, true);
|
75
|
-
}
|
76
|
-
|
77
|
-
$.each(rez, function(key, value) {
|
78
|
-
url = url.replace( '$' + key, value || '' );
|
79
|
-
});
|
80
|
-
|
81
|
-
if (params.length) {
|
82
|
-
url += ( url.indexOf('?') > 0 ? '&' : '?' ) + params;
|
83
|
-
}
|
84
|
-
|
85
|
-
return url;
|
86
|
-
};
|
87
|
-
|
88
|
-
//Add helper object
|
89
|
-
F.helpers.media = {
|
90
|
-
defaults : {
|
91
|
-
youtube : {
|
92
|
-
matcher : /(youtube\.com|youtu\.be|youtube-nocookie\.com)\/(watch\?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*)).*/i,
|
93
|
-
params : {
|
94
|
-
autoplay : 1,
|
95
|
-
autohide : 1,
|
96
|
-
fs : 1,
|
97
|
-
rel : 0,
|
98
|
-
hd : 1,
|
99
|
-
wmode : 'opaque',
|
100
|
-
enablejsapi : 1,
|
101
|
-
ps: 'docs',
|
102
|
-
controls: 1
|
103
|
-
},
|
104
|
-
type : 'iframe',
|
105
|
-
url : '//www.youtube.com/embed/$3'
|
106
|
-
},
|
107
|
-
vimeo : {
|
108
|
-
matcher : /(?:vimeo(?:pro)?.com)\/(?:[^\d]+)?(\d+)(?:.*)/,
|
109
|
-
params : {
|
110
|
-
autoplay : 1,
|
111
|
-
hd : 1,
|
112
|
-
show_title : 1,
|
113
|
-
show_byline : 1,
|
114
|
-
show_portrait : 0,
|
115
|
-
fullscreen : 1
|
116
|
-
},
|
117
|
-
type : 'iframe',
|
118
|
-
url : '//player.vimeo.com/video/$1'
|
119
|
-
},
|
120
|
-
metacafe : {
|
121
|
-
matcher : /metacafe.com\/(?:watch|fplayer)\/([\w\-]{1,10})/,
|
122
|
-
params : {
|
123
|
-
autoPlay : 'yes'
|
124
|
-
},
|
125
|
-
type : 'swf',
|
126
|
-
url : function( rez, params, obj ) {
|
127
|
-
obj.swf.flashVars = 'playerVars=' + $.param( params, true );
|
128
|
-
|
129
|
-
return '//www.metacafe.com/fplayer/' + rez[1] + '/.swf';
|
130
|
-
}
|
131
|
-
},
|
132
|
-
dailymotion : {
|
133
|
-
matcher : /dailymotion.com\/video\/(.*)\/?(.*)/,
|
134
|
-
params : {
|
135
|
-
additionalInfos : 0,
|
136
|
-
autoStart : 1
|
137
|
-
},
|
138
|
-
type : 'swf',
|
139
|
-
url : '//www.dailymotion.com/swf/video/$1'
|
140
|
-
},
|
141
|
-
twitvid : {
|
142
|
-
matcher : /twitvid\.com\/([a-zA-Z0-9_\-\?\=]+)/i,
|
143
|
-
params : {
|
144
|
-
autoplay : 0
|
145
|
-
},
|
146
|
-
type : 'iframe',
|
147
|
-
url : '//www.twitvid.com/embed.php?guid=$1'
|
148
|
-
},
|
149
|
-
twitpic : {
|
150
|
-
matcher : /twitpic\.com\/(?!(?:place|photos|events)\/)([a-zA-Z0-9\?\=\-]+)/i,
|
151
|
-
type : 'image',
|
152
|
-
url : '//twitpic.com/show/full/$1/'
|
153
|
-
},
|
154
|
-
instagram : {
|
155
|
-
matcher : /(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,
|
156
|
-
type : 'image',
|
157
|
-
url : '//$1/p/$2/media/?size=l'
|
158
|
-
},
|
159
|
-
google_maps : {
|
160
|
-
matcher : /maps\.google\.([a-z]{2,3}(\.[a-z]{2})?)\/(\?ll=|maps\?)(.*)/i,
|
161
|
-
type : 'iframe',
|
162
|
-
url : function( rez ) {
|
163
|
-
return '//maps.google.' + rez[1] + '/' + rez[3] + '' + rez[4] + '&output=' + (rez[4].indexOf('layer=c') > 0 ? 'svembed' : 'embed');
|
164
|
-
}
|
165
|
-
}
|
166
|
-
},
|
167
|
-
|
168
|
-
beforeLoad : function(opts, obj) {
|
169
|
-
var url = obj.href || '',
|
170
|
-
type = false,
|
171
|
-
what,
|
172
|
-
item,
|
173
|
-
rez,
|
174
|
-
params;
|
175
|
-
|
176
|
-
for (what in opts) {
|
177
|
-
if (opts.hasOwnProperty(what)) {
|
178
|
-
item = opts[ what ];
|
179
|
-
rez = url.match( item.matcher );
|
180
|
-
|
181
|
-
if (rez) {
|
182
|
-
type = item.type;
|
183
|
-
params = $.extend(true, {}, item.params, obj[ what ] || ($.isPlainObject(opts[ what ]) ? opts[ what ].params : null));
|
184
|
-
|
185
|
-
url = $.type( item.url ) === "function" ? item.url.call( this, rez, params, obj ) : format( item.url, rez, params );
|
186
|
-
|
187
|
-
break;
|
188
|
-
}
|
189
|
-
}
|
190
|
-
}
|
191
|
-
|
192
|
-
if (type) {
|
193
|
-
obj.href = url;
|
194
|
-
obj.type = type;
|
195
|
-
|
196
|
-
obj.autoHeight = false;
|
197
|
-
}
|
198
|
-
}
|
199
|
-
};
|
200
|
-
|
201
|
-
}(jQuery));
|
1
|
+
/*!
|
2
|
+
* Media helper for fancyBox
|
3
|
+
* version: 1.0.6 (Fri, 14 Jun 2013)
|
4
|
+
* @requires fancyBox v2.0 or later
|
5
|
+
*
|
6
|
+
* Usage:
|
7
|
+
* $(".fancybox").fancybox({
|
8
|
+
* helpers : {
|
9
|
+
* media: true
|
10
|
+
* }
|
11
|
+
* });
|
12
|
+
*
|
13
|
+
* Set custom URL parameters:
|
14
|
+
* $(".fancybox").fancybox({
|
15
|
+
* helpers : {
|
16
|
+
* media: {
|
17
|
+
* youtube : {
|
18
|
+
* params : {
|
19
|
+
* autoplay : 0
|
20
|
+
* }
|
21
|
+
* }
|
22
|
+
* }
|
23
|
+
* }
|
24
|
+
* });
|
25
|
+
*
|
26
|
+
* Or:
|
27
|
+
* $(".fancybox").fancybox({,
|
28
|
+
* helpers : {
|
29
|
+
* media: true
|
30
|
+
* },
|
31
|
+
* youtube : {
|
32
|
+
* autoplay: 0
|
33
|
+
* }
|
34
|
+
* });
|
35
|
+
*
|
36
|
+
* Supports:
|
37
|
+
*
|
38
|
+
* Youtube
|
39
|
+
* http://www.youtube.com/watch?v=opj24KnzrWo
|
40
|
+
* http://www.youtube.com/embed/opj24KnzrWo
|
41
|
+
* http://youtu.be/opj24KnzrWo
|
42
|
+
* http://www.youtube-nocookie.com/embed/opj24KnzrWo
|
43
|
+
* Vimeo
|
44
|
+
* http://vimeo.com/40648169
|
45
|
+
* http://vimeo.com/channels/staffpicks/38843628
|
46
|
+
* http://vimeo.com/groups/surrealism/videos/36516384
|
47
|
+
* http://player.vimeo.com/video/45074303
|
48
|
+
* Metacafe
|
49
|
+
* http://www.metacafe.com/watch/7635964/dr_seuss_the_lorax_movie_trailer/
|
50
|
+
* http://www.metacafe.com/watch/7635964/
|
51
|
+
* Dailymotion
|
52
|
+
* http://www.dailymotion.com/video/xoytqh_dr-seuss-the-lorax-premiere_people
|
53
|
+
* Twitvid
|
54
|
+
* http://twitvid.com/QY7MD
|
55
|
+
* Twitpic
|
56
|
+
* http://twitpic.com/7p93st
|
57
|
+
* Instagram
|
58
|
+
* http://instagr.am/p/IejkuUGxQn/
|
59
|
+
* http://instagram.com/p/IejkuUGxQn/
|
60
|
+
* Google maps
|
61
|
+
* http://maps.google.com/maps?q=Eiffel+Tower,+Avenue+Gustave+Eiffel,+Paris,+France&t=h&z=17
|
62
|
+
* http://maps.google.com/?ll=48.857995,2.294297&spn=0.007666,0.021136&t=m&z=16
|
63
|
+
* http://maps.google.com/?ll=48.859463,2.292626&spn=0.000965,0.002642&t=m&z=19&layer=c&cbll=48.859524,2.292532&panoid=YJ0lq28OOy3VT2IqIuVY0g&cbp=12,151.58,,0,-15.56
|
64
|
+
*/
|
65
|
+
;(function ($) {
|
66
|
+
"use strict";
|
67
|
+
|
68
|
+
//Shortcut for fancyBox object
|
69
|
+
var F = $.fancybox,
|
70
|
+
format = function( url, rez, params ) {
|
71
|
+
params = params || '';
|
72
|
+
|
73
|
+
if ( $.type( params ) === "object" ) {
|
74
|
+
params = $.param(params, true);
|
75
|
+
}
|
76
|
+
|
77
|
+
$.each(rez, function(key, value) {
|
78
|
+
url = url.replace( '$' + key, value || '' );
|
79
|
+
});
|
80
|
+
|
81
|
+
if (params.length) {
|
82
|
+
url += ( url.indexOf('?') > 0 ? '&' : '?' ) + params;
|
83
|
+
}
|
84
|
+
|
85
|
+
return url;
|
86
|
+
};
|
87
|
+
|
88
|
+
//Add helper object
|
89
|
+
F.helpers.media = {
|
90
|
+
defaults : {
|
91
|
+
youtube : {
|
92
|
+
matcher : /(youtube\.com|youtu\.be|youtube-nocookie\.com)\/(watch\?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*)).*/i,
|
93
|
+
params : {
|
94
|
+
autoplay : 1,
|
95
|
+
autohide : 1,
|
96
|
+
fs : 1,
|
97
|
+
rel : 0,
|
98
|
+
hd : 1,
|
99
|
+
wmode : 'opaque',
|
100
|
+
enablejsapi : 1,
|
101
|
+
ps: 'docs',
|
102
|
+
controls: 1
|
103
|
+
},
|
104
|
+
type : 'iframe',
|
105
|
+
url : '//www.youtube.com/embed/$3'
|
106
|
+
},
|
107
|
+
vimeo : {
|
108
|
+
matcher : /(?:vimeo(?:pro)?.com)\/(?:[^\d]+)?(\d+)(?:.*)/,
|
109
|
+
params : {
|
110
|
+
autoplay : 1,
|
111
|
+
hd : 1,
|
112
|
+
show_title : 1,
|
113
|
+
show_byline : 1,
|
114
|
+
show_portrait : 0,
|
115
|
+
fullscreen : 1
|
116
|
+
},
|
117
|
+
type : 'iframe',
|
118
|
+
url : '//player.vimeo.com/video/$1'
|
119
|
+
},
|
120
|
+
metacafe : {
|
121
|
+
matcher : /metacafe.com\/(?:watch|fplayer)\/([\w\-]{1,10})/,
|
122
|
+
params : {
|
123
|
+
autoPlay : 'yes'
|
124
|
+
},
|
125
|
+
type : 'swf',
|
126
|
+
url : function( rez, params, obj ) {
|
127
|
+
obj.swf.flashVars = 'playerVars=' + $.param( params, true );
|
128
|
+
|
129
|
+
return '//www.metacafe.com/fplayer/' + rez[1] + '/.swf';
|
130
|
+
}
|
131
|
+
},
|
132
|
+
dailymotion : {
|
133
|
+
matcher : /dailymotion.com\/video\/(.*)\/?(.*)/,
|
134
|
+
params : {
|
135
|
+
additionalInfos : 0,
|
136
|
+
autoStart : 1
|
137
|
+
},
|
138
|
+
type : 'swf',
|
139
|
+
url : '//www.dailymotion.com/swf/video/$1'
|
140
|
+
},
|
141
|
+
twitvid : {
|
142
|
+
matcher : /twitvid\.com\/([a-zA-Z0-9_\-\?\=]+)/i,
|
143
|
+
params : {
|
144
|
+
autoplay : 0
|
145
|
+
},
|
146
|
+
type : 'iframe',
|
147
|
+
url : '//www.twitvid.com/embed.php?guid=$1'
|
148
|
+
},
|
149
|
+
twitpic : {
|
150
|
+
matcher : /twitpic\.com\/(?!(?:place|photos|events)\/)([a-zA-Z0-9\?\=\-]+)/i,
|
151
|
+
type : 'image',
|
152
|
+
url : '//twitpic.com/show/full/$1/'
|
153
|
+
},
|
154
|
+
instagram : {
|
155
|
+
matcher : /(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,
|
156
|
+
type : 'image',
|
157
|
+
url : '//$1/p/$2/media/?size=l'
|
158
|
+
},
|
159
|
+
google_maps : {
|
160
|
+
matcher : /maps\.google\.([a-z]{2,3}(\.[a-z]{2})?)\/(\?ll=|maps\?)(.*)/i,
|
161
|
+
type : 'iframe',
|
162
|
+
url : function( rez ) {
|
163
|
+
return '//maps.google.' + rez[1] + '/' + rez[3] + '' + rez[4] + '&output=' + (rez[4].indexOf('layer=c') > 0 ? 'svembed' : 'embed');
|
164
|
+
}
|
165
|
+
}
|
166
|
+
},
|
167
|
+
|
168
|
+
beforeLoad : function(opts, obj) {
|
169
|
+
var url = obj.href || '',
|
170
|
+
type = false,
|
171
|
+
what,
|
172
|
+
item,
|
173
|
+
rez,
|
174
|
+
params;
|
175
|
+
|
176
|
+
for (what in opts) {
|
177
|
+
if (opts.hasOwnProperty(what)) {
|
178
|
+
item = opts[ what ];
|
179
|
+
rez = url.match( item.matcher );
|
180
|
+
|
181
|
+
if (rez) {
|
182
|
+
type = item.type;
|
183
|
+
params = $.extend(true, {}, item.params, obj[ what ] || ($.isPlainObject(opts[ what ]) ? opts[ what ].params : null));
|
184
|
+
|
185
|
+
url = $.type( item.url ) === "function" ? item.url.call( this, rez, params, obj ) : format( item.url, rez, params );
|
186
|
+
|
187
|
+
break;
|
188
|
+
}
|
189
|
+
}
|
190
|
+
}
|
191
|
+
|
192
|
+
if (type) {
|
193
|
+
obj.href = url;
|
194
|
+
obj.type = type;
|
195
|
+
|
196
|
+
obj.autoHeight = false;
|
197
|
+
}
|
198
|
+
}
|
199
|
+
};
|
200
|
+
|
201
|
+
}(jQuery));
|
@@ -1,55 +1,55 @@
|
|
1
|
-
#fancybox-thumbs {
|
2
|
-
position: fixed;
|
3
|
-
left: 0;
|
4
|
-
width: 100%;
|
5
|
-
overflow: hidden;
|
6
|
-
z-index: 8050;
|
7
|
-
}
|
8
|
-
|
9
|
-
#fancybox-thumbs.bottom {
|
10
|
-
bottom: 2px;
|
11
|
-
}
|
12
|
-
|
13
|
-
#fancybox-thumbs.top {
|
14
|
-
top: 2px;
|
15
|
-
}
|
16
|
-
|
17
|
-
#fancybox-thumbs ul {
|
18
|
-
position: relative;
|
19
|
-
list-style: none;
|
20
|
-
margin: 0;
|
21
|
-
padding: 0;
|
22
|
-
}
|
23
|
-
|
24
|
-
#fancybox-thumbs ul li {
|
25
|
-
float: left;
|
26
|
-
padding: 1px;
|
27
|
-
opacity: 0.5;
|
28
|
-
}
|
29
|
-
|
30
|
-
#fancybox-thumbs ul li.active {
|
31
|
-
opacity: 0.75;
|
32
|
-
padding: 0;
|
33
|
-
border: 1px solid #fff;
|
34
|
-
}
|
35
|
-
|
36
|
-
#fancybox-thumbs ul li:hover {
|
37
|
-
opacity: 1;
|
38
|
-
}
|
39
|
-
|
40
|
-
#fancybox-thumbs ul li a {
|
41
|
-
display: block;
|
42
|
-
position: relative;
|
43
|
-
overflow: hidden;
|
44
|
-
border: 1px solid #222;
|
45
|
-
background: #111;
|
46
|
-
outline: none;
|
47
|
-
}
|
48
|
-
|
49
|
-
#fancybox-thumbs ul li img {
|
50
|
-
display: block;
|
51
|
-
position: relative;
|
52
|
-
border: 0;
|
53
|
-
padding: 0;
|
54
|
-
max-width: none;
|
1
|
+
#fancybox-thumbs {
|
2
|
+
position: fixed;
|
3
|
+
left: 0;
|
4
|
+
width: 100%;
|
5
|
+
overflow: hidden;
|
6
|
+
z-index: 8050;
|
7
|
+
}
|
8
|
+
|
9
|
+
#fancybox-thumbs.bottom {
|
10
|
+
bottom: 2px;
|
11
|
+
}
|
12
|
+
|
13
|
+
#fancybox-thumbs.top {
|
14
|
+
top: 2px;
|
15
|
+
}
|
16
|
+
|
17
|
+
#fancybox-thumbs ul {
|
18
|
+
position: relative;
|
19
|
+
list-style: none;
|
20
|
+
margin: 0;
|
21
|
+
padding: 0;
|
22
|
+
}
|
23
|
+
|
24
|
+
#fancybox-thumbs ul li {
|
25
|
+
float: left;
|
26
|
+
padding: 1px;
|
27
|
+
opacity: 0.5;
|
28
|
+
}
|
29
|
+
|
30
|
+
#fancybox-thumbs ul li.active {
|
31
|
+
opacity: 0.75;
|
32
|
+
padding: 0;
|
33
|
+
border: 1px solid #fff;
|
34
|
+
}
|
35
|
+
|
36
|
+
#fancybox-thumbs ul li:hover {
|
37
|
+
opacity: 1;
|
38
|
+
}
|
39
|
+
|
40
|
+
#fancybox-thumbs ul li a {
|
41
|
+
display: block;
|
42
|
+
position: relative;
|
43
|
+
overflow: hidden;
|
44
|
+
border: 1px solid #222;
|
45
|
+
background: #111;
|
46
|
+
outline: none;
|
47
|
+
}
|
48
|
+
|
49
|
+
#fancybox-thumbs ul li img {
|
50
|
+
display: block;
|
51
|
+
position: relative;
|
52
|
+
border: 0;
|
53
|
+
padding: 0;
|
54
|
+
max-width: none;
|
55
55
|
}
|