@pimaonline/pimaonline-themepack 3.10.13 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +12 -23
- package/dist/css/main.css +1 -1
- package/dist/css/plugins/alt-icons.css +1 -1
- package/dist/css/plugins/font-awesome.css +1 -1
- package/dist/css/routes.css +1 -1
- package/dist/css/themes/ait/styles.css +1 -1
- package/dist/css/themes/ajs/styles.css +1 -1
- package/dist/css/themes/ant/styles.css +1 -0
- package/dist/css/themes/art/styles.css +1 -1
- package/dist/css/themes/aviation/styles.css +1 -1
- package/dist/css/themes/bct/styles.css +1 -1
- package/dist/css/themes/bio/styles.css +1 -1
- package/dist/css/themes/business/styles.css +1 -1
- package/dist/css/themes/cad/styles.css +1 -1
- package/dist/css/themes/cards/styles.css +1 -1
- package/dist/css/themes/cas/styles.css +1 -0
- package/dist/css/themes/cda/styles.css +1 -1
- package/dist/css/themes/chm/styles.css +1 -0
- package/dist/css/themes/cis/styles.css +1 -1
- package/dist/css/themes/communication/styles.css +1 -1
- package/dist/css/themes/computer-information-systems/styles.css +1 -1
- package/dist/css/themes/culinary/styles.css +1 -1
- package/dist/css/themes/culinary/versions/black-marble.css +1 -1
- package/dist/css/themes/culinary/versions/stainless.css +1 -1
- package/dist/css/themes/culinary/versions/wood.css +1 -1
- package/dist/css/themes/dental/styles.css +1 -1
- package/dist/css/themes/ece/styles.css +1 -1
- package/dist/css/themes/ecn/styles.css +1 -1
- package/dist/css/themes/eng/styles.css +1 -1
- package/dist/css/themes/fashion/styles.css +1 -1
- package/dist/css/themes/fitness/styles.css +1 -1
- package/dist/css/themes/fsc/styles.css +1 -1
- package/dist/css/themes/geography/styles.css +1 -1
- package/dist/css/themes/geology/styles.css +1 -1
- package/dist/css/themes/health-it/styles.css +1 -1
- package/dist/css/themes/history/styles.css +1 -1
- package/dist/css/themes/hrm/styles.css +1 -1
- package/dist/css/themes/hrs/styles.css +1 -1
- package/dist/css/themes/journalism/styles.css +1 -1
- package/dist/css/themes/lang/styles.css +1 -1
- package/dist/css/themes/lgm/styles.css +1 -1
- package/dist/css/themes/machine/styles.css +1 -1
- package/dist/css/themes/math/styles.css +1 -1
- package/dist/css/themes/mgt/styles.css +1 -1
- package/dist/css/themes/minimalist/styles.css +1 -1
- package/dist/css/themes/mkt/styles.css +1 -0
- package/dist/css/themes/music/styles.css +1 -1
- package/dist/css/themes/nursing/styles.css +1 -0
- package/dist/css/themes/philosophy/styles.css +1 -1
- package/dist/css/themes/pht/styles.css +1 -1
- package/dist/css/themes/phy/styles.css +1 -0
- package/dist/css/themes/pos/styles.css +1 -0
- package/dist/css/themes/psy/styles.css +1 -1
- package/dist/css/themes/reading/styles.css +1 -0
- package/dist/css/themes/resort/styles.css +1 -1
- package/dist/css/themes/soc/styles.css +1 -1
- package/dist/css/themes/ss/styles.css +1 -1
- package/dist/css/themes/tps/styles.css +1 -0
- package/dist/css/themes/university/styles.css +1 -1
- package/dist/css/themes/vet/styles.css +1 -1
- package/dist/css/themes/welding/styles.css +1 -1
- package/dist/css/themes/writing/styles.css +1 -1
- package/dist/img/general/arrow-right-black.svg +1 -0
- package/dist/img/general/arrow-right-primary-blue.svg +1 -0
- package/dist/img/general/arrow-right-white.svg +1 -0
- package/dist/img/theme-images/ant/texture.png +0 -0
- package/dist/img/theme-images/cas/city-vector.svg +92 -0
- package/dist/img/theme-images/cas/farm-vector.svg +1 -0
- package/dist/img/theme-images/cas/ocean-vector.svg +1 -0
- package/dist/img/theme-images/cas/recycle-symbol.svg +1 -0
- package/dist/img/theme-images/chm/chem-letters/letter-a.png +0 -0
- package/dist/img/theme-images/chm/chem-letters/letter-b.png +0 -0
- package/dist/img/theme-images/chm/chem-letters/letter-c.png +0 -0
- package/dist/img/theme-images/chm/chem-letters/letter-d.png +0 -0
- package/dist/img/theme-images/chm/chem-letters/letter-e.png +0 -0
- package/dist/img/theme-images/chm/chem-letters/letter-f.png +0 -0
- package/dist/img/theme-images/chm/chem-letters/letter-g.png +0 -0
- package/dist/img/theme-images/chm/chem-letters/letter-h.png +0 -0
- package/dist/img/theme-images/chm/chem-letters/letter-i.png +0 -0
- package/dist/img/theme-images/chm/chem-letters/letter-j.png +0 -0
- package/dist/img/theme-images/chm/chem-letters/letter-k.png +0 -0
- package/dist/img/theme-images/chm/chem-letters/letter-l.png +0 -0
- package/dist/img/theme-images/chm/chem-letters/letter-m.png +0 -0
- package/dist/img/theme-images/chm/chem-letters/letter-n.png +0 -0
- package/dist/img/theme-images/chm/chem-letters/letter-o.png +0 -0
- package/dist/img/theme-images/chm/chem-letters/letter-p.png +0 -0
- package/dist/img/theme-images/chm/chem-letters/letter-q.png +0 -0
- package/dist/img/theme-images/chm/chem-letters/letter-r.png +0 -0
- package/dist/img/theme-images/chm/chem-letters/letter-s.png +0 -0
- package/dist/img/theme-images/chm/chem-letters/letter-t.png +0 -0
- package/dist/img/theme-images/chm/chem-letters/letter-u.png +0 -0
- package/dist/img/theme-images/chm/chem-letters/letter-v.png +0 -0
- package/dist/img/theme-images/chm/chem-letters/letter-w.png +0 -0
- package/dist/img/theme-images/chm/chem-letters/letter-x.png +0 -0
- package/dist/img/theme-images/chm/chem-letters/letter-y.png +0 -0
- package/dist/img/theme-images/chm/chem-letters/letter-z.png +0 -0
- package/dist/img/theme-images/mkt/blue/bluebars.svg +36 -0
- package/dist/img/theme-images/mkt/blue/blueheader.jpg +0 -0
- package/dist/img/theme-images/mkt/blue/bluepie.svg +42 -0
- package/dist/img/theme-images/mkt/green/greenbars.svg +36 -0
- package/dist/img/theme-images/mkt/green/greenheader.jpg +0 -0
- package/dist/img/theme-images/mkt/green/greenpie.svg +42 -0
- package/dist/img/theme-images/mkt/yellow/yellowbars.svg +36 -0
- package/dist/img/theme-images/mkt/yellow/yellowheader.jpg +0 -0
- package/dist/img/theme-images/mkt/yellow/yellowpie.svg +42 -0
- package/dist/img/theme-images/nursing/blue/bottomright-blue.svg +95 -0
- package/dist/img/theme-images/nursing/blue/topleft-blue.svg +111 -0
- package/dist/img/theme-images/nursing/green/bottomright-green.svg +95 -0
- package/dist/img/theme-images/nursing/green/topleft-green.svg +111 -0
- package/dist/img/theme-images/nursing/purple/bottomright-purple.svg +95 -0
- package/dist/img/theme-images/nursing/purple/topleft-purple.svg +111 -0
- package/dist/img/theme-images/nursing/teal/bottomright-teal.svg +95 -0
- package/dist/img/theme-images/nursing/teal/topleft-teal.svg +111 -0
- package/dist/img/theme-images/phy/background.svg +150 -0
- package/dist/img/theme-images/phy/tape-style1.svg +8 -0
- package/dist/img/theme-images/reading/bg10.jpg +0 -0
- package/dist/js/scripts2.js +1 -1018
- package/dist/js/themes/cas.js +1 -0
- package/dist/js/themes/chm.js +1 -0
- package/dist/js/themes/ecn.js +1 -13
- package/dist/js/themes/hrs.js +1 -19
- package/dist/js/themes/ss.js +1 -197
- package/dist/plugins/fancybox/fancybox-example.html +1 -1
- package/dist/plugins/fancybox/helpers/jquery.fancybox-buttons.js +2 -122
- package/dist/plugins/fancybox/helpers/jquery.fancybox-buttons.js.LICENSE.txt +15 -0
- package/dist/plugins/fancybox/helpers/jquery.fancybox-media.js +2 -201
- package/dist/plugins/fancybox/helpers/jquery.fancybox-media.js.LICENSE.txt +64 -0
- package/dist/plugins/fancybox/helpers/jquery.fancybox-thumbs.js +2 -165
- package/dist/plugins/fancybox/helpers/jquery.fancybox-thumbs.js.LICENSE.txt +16 -0
- package/dist/plugins/fancybox/jquery.fancybox.js +2 -2018
- package/dist/plugins/fancybox/jquery.fancybox.js.LICENSE.txt +11 -0
- package/dist/plugins/fancybox/jquery.fancybox.pack.js +2 -46
- package/dist/plugins/fancybox/jquery.fancybox.pack.js.LICENSE.txt +1 -0
- package/dist/plugins/flashcards/flashcards-example.html +1 -1
- package/dist/plugins/flashcards/js/flash_cards.min.js +1 -12
- package/dist/plugins/flashcards/js/plugins/flash_cards.js +1 -62
- package/dist/plugins/flashcards/js/plugins/jquery.cycle.js +2 -1148
- package/dist/plugins/flashcards/js/plugins/jquery.cycle.js.LICENSE.txt +20 -0
- package/dist/plugins/flashcards/js/vendor/jquery-1.7.2.js +2 -9404
- package/dist/plugins/flashcards/js/vendor/jquery-1.7.2.js.LICENSE.txt +22 -0
- package/dist/plugins/flashcards/js/vendor/jquery-1.7.2.min.js +2 -4
- package/dist/plugins/flashcards/js/vendor/jquery-1.7.2.min.js.LICENSE.txt +1 -0
- package/dist/plugins/flashcards/js/vendor/modernizr-2.5.3.min.js +1 -4
- package/dist/plugins/floating-particles/floating-particles.js +1 -68
- package/dist/plugins/global-homepage-overrides/global-homepage-overrides.js +1 -53
- package/dist/plugins/preview-banner/preview-banner.js +1 -57
- package/package.json +22 -11
- package/dist/js/jumpTo.js +0 -4
- package/dist/js/scripts.js +0 -327
@@ -0,0 +1,64 @@
|
|
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
|
+
*/
|
@@ -1,165 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
* version: 1.0.7 (Mon, 01 Oct 2012)
|
4
|
-
* @requires fancyBox v2.0 or later
|
5
|
-
*
|
6
|
-
* Usage:
|
7
|
-
* $(".fancybox").fancybox({
|
8
|
-
* helpers : {
|
9
|
-
* thumbs: {
|
10
|
-
* width : 50,
|
11
|
-
* height : 50
|
12
|
-
* }
|
13
|
-
* }
|
14
|
-
* });
|
15
|
-
*
|
16
|
-
*/
|
17
|
-
;(function ($) {
|
18
|
-
//Shortcut for fancyBox object
|
19
|
-
var F = $.fancybox;
|
20
|
-
|
21
|
-
//Add helper object
|
22
|
-
F.helpers.thumbs = {
|
23
|
-
defaults : {
|
24
|
-
width : 50, // thumbnail width
|
25
|
-
height : 50, // thumbnail height
|
26
|
-
position : 'bottom', // 'top' or 'bottom'
|
27
|
-
source : function ( item ) { // function to obtain the URL of the thumbnail image
|
28
|
-
var href;
|
29
|
-
|
30
|
-
if (item.element) {
|
31
|
-
href = $(item.element).find('img').attr('src');
|
32
|
-
}
|
33
|
-
|
34
|
-
if (!href && item.type === 'image' && item.href) {
|
35
|
-
href = item.href;
|
36
|
-
}
|
37
|
-
|
38
|
-
return href;
|
39
|
-
}
|
40
|
-
},
|
41
|
-
|
42
|
-
wrap : null,
|
43
|
-
list : null,
|
44
|
-
width : 0,
|
45
|
-
|
46
|
-
init: function (opts, obj) {
|
47
|
-
var that = this,
|
48
|
-
list,
|
49
|
-
thumbWidth = opts.width,
|
50
|
-
thumbHeight = opts.height,
|
51
|
-
thumbSource = opts.source;
|
52
|
-
|
53
|
-
//Build list structure
|
54
|
-
list = '';
|
55
|
-
|
56
|
-
for (var n = 0; n < obj.group.length; n++) {
|
57
|
-
list += '<li><a style="width:' + thumbWidth + 'px;height:' + thumbHeight + 'px;" href="javascript:jQuery.fancybox.jumpto(' + n + ');"></a></li>';
|
58
|
-
}
|
59
|
-
|
60
|
-
this.wrap = $('<div id="fancybox-thumbs"></div>').addClass(opts.position).appendTo('body');
|
61
|
-
this.list = $('<ul>' + list + '</ul>').appendTo(this.wrap);
|
62
|
-
|
63
|
-
//Load each thumbnail
|
64
|
-
$.each(obj.group, function (i) {
|
65
|
-
var el = obj.group[ i ],
|
66
|
-
href = thumbSource( el );
|
67
|
-
|
68
|
-
if (!href) {
|
69
|
-
return;
|
70
|
-
}
|
71
|
-
|
72
|
-
$("<img />").on("load", function () {
|
73
|
-
var width = this.width,
|
74
|
-
height = this.height,
|
75
|
-
widthRatio, heightRatio, parent;
|
76
|
-
|
77
|
-
if (!that.list || !width || !height) {
|
78
|
-
return;
|
79
|
-
}
|
80
|
-
|
81
|
-
//Calculate thumbnail width/height and center it
|
82
|
-
widthRatio = width / thumbWidth;
|
83
|
-
heightRatio = height / thumbHeight;
|
84
|
-
|
85
|
-
parent = that.list.children().eq(i).find('a');
|
86
|
-
|
87
|
-
if (widthRatio >= 1 && heightRatio >= 1) {
|
88
|
-
if (widthRatio > heightRatio) {
|
89
|
-
width = Math.floor(width / heightRatio);
|
90
|
-
height = thumbHeight;
|
91
|
-
|
92
|
-
} else {
|
93
|
-
width = thumbWidth;
|
94
|
-
height = Math.floor(height / widthRatio);
|
95
|
-
}
|
96
|
-
}
|
97
|
-
|
98
|
-
$(this).css({
|
99
|
-
width : width,
|
100
|
-
height : height,
|
101
|
-
top : Math.floor(thumbHeight / 2 - height / 2),
|
102
|
-
left : Math.floor(thumbWidth / 2 - width / 2)
|
103
|
-
});
|
104
|
-
|
105
|
-
parent.width(thumbWidth).height(thumbHeight);
|
106
|
-
|
107
|
-
$(this).hide().appendTo(parent).fadeIn(300);
|
108
|
-
|
109
|
-
})
|
110
|
-
.attr('src', href)
|
111
|
-
.attr('title', el.title);
|
112
|
-
});
|
113
|
-
|
114
|
-
//Set initial width
|
115
|
-
this.width = this.list.children().eq(0).outerWidth(true);
|
116
|
-
|
117
|
-
this.list.width(this.width * (obj.group.length + 1)).css('left', Math.floor($(window).width() * 0.5 - (obj.index * this.width + this.width * 0.5)));
|
118
|
-
},
|
119
|
-
|
120
|
-
beforeLoad: function (opts, obj) {
|
121
|
-
//Remove self if gallery do not have at least two items
|
122
|
-
if (obj.group.length < 2) {
|
123
|
-
obj.helpers.thumbs = false;
|
124
|
-
|
125
|
-
return;
|
126
|
-
}
|
127
|
-
|
128
|
-
//Increase bottom margin to give space for thumbs
|
129
|
-
obj.margin[ opts.position === 'top' ? 0 : 2 ] += ((opts.height) + 15);
|
130
|
-
},
|
131
|
-
|
132
|
-
afterShow: function (opts, obj) {
|
133
|
-
//Check if exists and create or update list
|
134
|
-
if (this.list) {
|
135
|
-
this.onUpdate(opts, obj);
|
136
|
-
|
137
|
-
} else {
|
138
|
-
this.init(opts, obj);
|
139
|
-
}
|
140
|
-
|
141
|
-
//Set active element
|
142
|
-
this.list.children().removeClass('active').eq(obj.index).addClass('active');
|
143
|
-
},
|
144
|
-
|
145
|
-
//Center list
|
146
|
-
onUpdate: function (opts, obj) {
|
147
|
-
if (this.list) {
|
148
|
-
this.list.stop(true).animate({
|
149
|
-
'left': Math.floor($(window).width() * 0.5 - (obj.index * this.width + this.width * 0.5))
|
150
|
-
}, 150);
|
151
|
-
}
|
152
|
-
},
|
153
|
-
|
154
|
-
beforeClose: function () {
|
155
|
-
if (this.wrap) {
|
156
|
-
this.wrap.remove();
|
157
|
-
}
|
158
|
-
|
159
|
-
this.wrap = null;
|
160
|
-
this.list = null;
|
161
|
-
this.width = 0;
|
162
|
-
}
|
163
|
-
}
|
164
|
-
|
165
|
-
}(jQuery));
|
1
|
+
/*! For license information please see jquery.fancybox-thumbs.js.LICENSE.txt */
|
2
|
+
!function(t){t.fancybox.helpers.thumbs={defaults:{width:50,height:50,position:"bottom",source:function(i){var h;return i.element&&(h=t(i.element).find("img").attr("src")),!h&&"image"===i.type&&i.href&&(h=i.href),h}},wrap:null,list:null,width:0,init:function(i,h){var e,s=this,o=i.width,n=i.height,l=i.source;e="";for(var a=0;a<h.group.length;a++)e+='<li><a style="width:'+o+"px;height:"+n+'px;" href="javascript:jQuery.fancybox.jumpto('+a+');"></a></li>';this.wrap=t('<div id="fancybox-thumbs"></div>').addClass(i.position).appendTo("body"),this.list=t("<ul>"+e+"</ul>").appendTo(this.wrap),t.each(h.group,(function(i){var e=h.group[i],a=l(e);a&&t("<img />").on("load",(function(){var h,e,l,a=this.width,r=this.height;s.list&&a&&r&&(h=a/o,e=r/n,l=s.list.children().eq(i).find("a"),h>=1&&e>=1&&(h>e?(a=Math.floor(a/e),r=n):(a=o,r=Math.floor(r/h))),t(this).css({width:a,height:r,top:Math.floor(n/2-r/2),left:Math.floor(o/2-a/2)}),l.width(o).height(n),t(this).hide().appendTo(l).fadeIn(300))})).attr("src",a).attr("title",e.title)})),this.width=this.list.children().eq(0).outerWidth(!0),this.list.width(this.width*(h.group.length+1)).css("left",Math.floor(.5*t(window).width()-(h.index*this.width+.5*this.width)))},beforeLoad:function(t,i){i.group.length<2?i.helpers.thumbs=!1:i.margin["top"===t.position?0:2]+=t.height+15},afterShow:function(t,i){this.list?this.onUpdate(t,i):this.init(t,i),this.list.children().removeClass("active").eq(i.index).addClass("active")},onUpdate:function(i,h){this.list&&this.list.stop(!0).animate({left:Math.floor(.5*t(window).width()-(h.index*this.width+.5*this.width))},150)},beforeClose:function(){this.wrap&&this.wrap.remove(),this.wrap=null,this.list=null,this.width=0}}}(jQuery);
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/*!
|
2
|
+
* Thumbnail helper for fancyBox
|
3
|
+
* version: 1.0.7 (Mon, 01 Oct 2012)
|
4
|
+
* @requires fancyBox v2.0 or later
|
5
|
+
*
|
6
|
+
* Usage:
|
7
|
+
* $(".fancybox").fancybox({
|
8
|
+
* helpers : {
|
9
|
+
* thumbs: {
|
10
|
+
* width : 50,
|
11
|
+
* height : 50
|
12
|
+
* }
|
13
|
+
* }
|
14
|
+
* });
|
15
|
+
*
|
16
|
+
*/
|