@pimaonline/pimaonline-themepack 2.4.1 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE.md +30 -0
- package/README.md +69 -111
- package/dist/css/main.css +1 -1
- package/dist/css/themes/ecn/styles.css +1 -0
- package/dist/css/themes/eng/styles.css +1 -0
- package/dist/css/themes/fsc/styles.css +1 -0
- package/dist/css/themes/lang/styles.css +1 -1
- package/dist/css/themes/ss/styles.css +1 -0
- package/dist/img/theme-images/ecn/arrow-2.svg +4 -0
- package/dist/img/theme-images/ecn/arrow.svg +4 -0
- package/dist/img/theme-images/ecn/point.svg +3 -0
- package/dist/img/theme-images/eng/button-bkg.svg +178 -0
- package/dist/img/theme-images/eng/halftone-banner.svg +1 -0
- package/dist/img/theme-images/eng/halftone.svg +177 -0
- package/dist/img/theme-images/eng/long-button-bkg.svg +353 -0
- package/dist/img/theme-images/fsc/bottomwave-pinkred.svg +17 -0
- package/dist/img/theme-images/fsc/bottomwave-redorange.svg +17 -0
- package/dist/img/theme-images/fsc/bottomwave-yellow.svg +17 -0
- package/dist/img/theme-images/fsc/bottomwave-yelloworange.svg +17 -0
- package/dist/img/theme-images/fsc/fire-icon.png +0 -0
- package/dist/img/theme-images/fsc/mainwave-pinkred.svg +17 -0
- package/dist/img/theme-images/fsc/mainwave-redorange.svg +17 -0
- package/dist/img/theme-images/fsc/mainwave-yellow.svg +17 -0
- package/dist/img/theme-images/fsc/mainwave-yelloworange.svg +17 -0
- package/dist/img/theme-images/lang/country-flags/argentina_flag.png +0 -0
- package/dist/img/theme-images/lang/country-flags/bolivia_flag.png +0 -0
- package/dist/img/theme-images/lang/country-flags/chile_flag.png +0 -0
- package/dist/img/theme-images/lang/country-flags/colombia_flag.png +0 -0
- package/dist/img/theme-images/lang/country-flags/costa-rica_flag.png +0 -0
- package/dist/img/theme-images/lang/country-flags/cuba_flag.png +0 -0
- package/dist/img/theme-images/lang/country-flags/dominican-republic_flag.png +0 -0
- package/dist/img/theme-images/lang/country-flags/ecuador_flag.png +0 -0
- package/dist/img/theme-images/lang/country-flags/el-salvador_flag.png +0 -0
- package/dist/img/theme-images/lang/country-flags/guatemala_flag.png +0 -0
- package/dist/img/theme-images/lang/country-flags/honduras_flag.png +0 -0
- package/dist/img/theme-images/lang/country-flags/mexico_flag.png +0 -0
- package/dist/img/theme-images/lang/country-flags/nicaragua_flag.png +0 -0
- package/dist/img/theme-images/lang/country-flags/panama_flag.png +0 -0
- package/dist/img/theme-images/lang/country-flags/paraguay_flag.png +0 -0
- package/dist/img/theme-images/lang/country-flags/peru_flag.png +0 -0
- package/dist/img/theme-images/lang/country-flags/puerto-rice_flag.png +0 -0
- package/dist/img/theme-images/lang/country-flags/spain_flag.png +0 -0
- package/dist/img/theme-images/lang/country-flags/uruguay_flag.png +0 -0
- package/dist/img/theme-images/lang/country-flags/venezuela_flag.png +0 -0
- package/dist/img/theme-images/music/half_note.svg +5 -5
- 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 +3 -0
- package/dist/img/theme-images/ss/list-style.svg +3 -0
- package/dist/img/theme-images/ss/main-large-blob.svg +3 -0
- package/dist/img/theme-images/ss/main-small-blob.svg +3 -0
- package/dist/img/theme-images/ss/small-blob.svg +3 -0
- package/dist/img/theme-images/ss/tall-blob.svg +3 -0
- 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 +541 -361
- 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/fa-brands-400.svg +3570 -3570
- package/dist/plugins/font-awesome-icons/webfonts/fa-regular-400.svg +803 -803
- package/dist/plugins/font-awesome-icons/webfonts/fa-solid-900.svg +4700 -4700
- 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 +39 -40
@@ -1,68 +1,68 @@
|
|
1
|
-
// JavaScript Document
|
2
|
-
window.addEventListener("DOMContentLoaded", function() {
|
3
|
-
|
4
|
-
let particleAmount = 75;
|
5
|
-
const get_body = document.querySelector("body");
|
6
|
-
|
7
|
-
const canvas_elem = document.createElement("canvas");
|
8
|
-
const ctx = canvas_elem.getContext("2d");
|
9
|
-
|
10
|
-
canvas_elem.id = "animated-bg";
|
11
|
-
canvas_elem.width = window.innerWidth;
|
12
|
-
canvas_elem.height = window.innerHeight;
|
13
|
-
get_body.prepend(canvas_elem);
|
14
|
-
|
15
|
-
const particleArray = [];
|
16
|
-
let particleFill = "rgba(255, 255, 255, .08)";
|
17
|
-
|
18
|
-
window.addEventListener("resize", function () {
|
19
|
-
canvas_elem.width = window.innerWidth;
|
20
|
-
canvas_elem.height = window.innerHeight;
|
21
|
-
});
|
22
|
-
|
23
|
-
class Particle {
|
24
|
-
constructor() {
|
25
|
-
this.x = Math.random() * ( (canvas_elem.width - 5) - 5 ) + 5;
|
26
|
-
this.y = Math.random() * canvas_elem.height;
|
27
|
-
this.size = Math.random() * (30 - 10) + 10;
|
28
|
-
this.speedX = 0;
|
29
|
-
this.speedY = Math.random() * (5 - 2) + 2 ;
|
30
|
-
}
|
31
|
-
update() {
|
32
|
-
if (this.y + this.size > canvas_elem.height || this.y + this.size < 0) {
|
33
|
-
this.speedY = -this.speedY;
|
34
|
-
}
|
35
|
-
this.x += this.speedX;
|
36
|
-
this.y += this.speedY;
|
37
|
-
}
|
38
|
-
draw() {
|
39
|
-
ctx.fillStyle = particleFill;
|
40
|
-
ctx.beginPath();
|
41
|
-
ctx.arc(this.x, this.y, this.size, 0, Math.PI * 2);
|
42
|
-
ctx.fill();
|
43
|
-
}
|
44
|
-
}
|
45
|
-
|
46
|
-
function init() {
|
47
|
-
for (let i = 0; i < particleAmount; i++) {
|
48
|
-
particleArray.push(new Particle());
|
49
|
-
}
|
50
|
-
}
|
51
|
-
init();
|
52
|
-
|
53
|
-
function handleParticles() {
|
54
|
-
for (let i = 0; i < particleArray.length; i++) {
|
55
|
-
particleArray[i].update();
|
56
|
-
particleArray[i].draw();
|
57
|
-
}
|
58
|
-
}
|
59
|
-
|
60
|
-
function animate() {
|
61
|
-
ctx.clearRect(0, 0, canvas_elem.width, canvas_elem.height);
|
62
|
-
handleParticles();
|
63
|
-
requestAnimationFrame(animate);
|
64
|
-
}
|
65
|
-
animate();
|
66
|
-
|
67
|
-
// end event listener
|
1
|
+
// JavaScript Document
|
2
|
+
window.addEventListener("DOMContentLoaded", function() {
|
3
|
+
|
4
|
+
let particleAmount = 75;
|
5
|
+
const get_body = document.querySelector("body");
|
6
|
+
|
7
|
+
const canvas_elem = document.createElement("canvas");
|
8
|
+
const ctx = canvas_elem.getContext("2d");
|
9
|
+
|
10
|
+
canvas_elem.id = "animated-bg";
|
11
|
+
canvas_elem.width = window.innerWidth;
|
12
|
+
canvas_elem.height = window.innerHeight;
|
13
|
+
get_body.prepend(canvas_elem);
|
14
|
+
|
15
|
+
const particleArray = [];
|
16
|
+
let particleFill = "rgba(255, 255, 255, .08)";
|
17
|
+
|
18
|
+
window.addEventListener("resize", function () {
|
19
|
+
canvas_elem.width = window.innerWidth;
|
20
|
+
canvas_elem.height = window.innerHeight;
|
21
|
+
});
|
22
|
+
|
23
|
+
class Particle {
|
24
|
+
constructor() {
|
25
|
+
this.x = Math.random() * ( (canvas_elem.width - 5) - 5 ) + 5;
|
26
|
+
this.y = Math.random() * canvas_elem.height;
|
27
|
+
this.size = Math.random() * (30 - 10) + 10;
|
28
|
+
this.speedX = 0;
|
29
|
+
this.speedY = Math.random() * (5 - 2) + 2 ;
|
30
|
+
}
|
31
|
+
update() {
|
32
|
+
if (this.y + this.size > canvas_elem.height || this.y + this.size < 0) {
|
33
|
+
this.speedY = -this.speedY;
|
34
|
+
}
|
35
|
+
this.x += this.speedX;
|
36
|
+
this.y += this.speedY;
|
37
|
+
}
|
38
|
+
draw() {
|
39
|
+
ctx.fillStyle = particleFill;
|
40
|
+
ctx.beginPath();
|
41
|
+
ctx.arc(this.x, this.y, this.size, 0, Math.PI * 2);
|
42
|
+
ctx.fill();
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
function init() {
|
47
|
+
for (let i = 0; i < particleAmount; i++) {
|
48
|
+
particleArray.push(new Particle());
|
49
|
+
}
|
50
|
+
}
|
51
|
+
init();
|
52
|
+
|
53
|
+
function handleParticles() {
|
54
|
+
for (let i = 0; i < particleArray.length; i++) {
|
55
|
+
particleArray[i].update();
|
56
|
+
particleArray[i].draw();
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
60
|
+
function animate() {
|
61
|
+
ctx.clearRect(0, 0, canvas_elem.width, canvas_elem.height);
|
62
|
+
handleParticles();
|
63
|
+
requestAnimationFrame(animate);
|
64
|
+
}
|
65
|
+
animate();
|
66
|
+
|
67
|
+
// end event listener
|
68
68
|
});
|