j1m_lightbox 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.md +21 -0
- data/README.md +41 -0
- data/_data/modules/default/j1_lightbox-0.0.1/j1_colorbox.yml +106 -0
- data/_data/modules/default/j1_lightbox-0.0.1/j1_light_gallery.yml +162 -0
- data/_data/modules/default/j1_lightbox-0.0.1/j1_lightbox2.yml +168 -0
- data/_data/resources/default/j1_lightbox-0.0.1/resource.yml +84 -0
- data/assets/themes/j1/lightboxes/colorbox/css/theme_1/colorbox.css +93 -0
- data/assets/themes/j1/lightboxes/colorbox/css/theme_1/images/border.png +0 -0
- data/assets/themes/j1/lightboxes/colorbox/css/theme_1/images/controls.png +0 -0
- data/assets/themes/j1/lightboxes/colorbox/css/theme_1/images/loading.gif +0 -0
- data/assets/themes/j1/lightboxes/colorbox/css/theme_1/images/loading_background.png +0 -0
- data/assets/themes/j1/lightboxes/colorbox/css/theme_1/images/overlay.png +0 -0
- data/assets/themes/j1/lightboxes/colorbox/css/theme_2/colorbox.css +72 -0
- data/assets/themes/j1/lightboxes/colorbox/css/theme_2/images/controls.png +0 -0
- data/assets/themes/j1/lightboxes/colorbox/css/theme_2/images/loading.gif +0 -0
- data/assets/themes/j1/lightboxes/colorbox/css/theme_3/colorbox.css +68 -0
- data/assets/themes/j1/lightboxes/colorbox/css/theme_3/images/controls.png +0 -0
- data/assets/themes/j1/lightboxes/colorbox/css/theme_3/images/loading.gif +0 -0
- data/assets/themes/j1/lightboxes/colorbox/css/theme_4/colorbox.css +89 -0
- data/assets/themes/j1/lightboxes/colorbox/css/theme_4/images/border1.png +0 -0
- data/assets/themes/j1/lightboxes/colorbox/css/theme_4/images/border2.png +0 -0
- data/assets/themes/j1/lightboxes/colorbox/css/theme_4/images/loading.gif +0 -0
- data/assets/themes/j1/lightboxes/colorbox/css/theme_5/colorbox.css +81 -0
- data/assets/themes/j1/lightboxes/colorbox/css/theme_5/images/border.png +0 -0
- data/assets/themes/j1/lightboxes/colorbox/css/theme_5/images/controls.png +0 -0
- data/assets/themes/j1/lightboxes/colorbox/css/theme_5/images/loading.gif +0 -0
- data/assets/themes/j1/lightboxes/colorbox/css/theme_5/images/loading_background.png +0 -0
- data/assets/themes/j1/lightboxes/colorbox/js/jquery.colorbox.js +1105 -0
- data/assets/themes/j1/lightboxes/colorbox/js/jquery.colorbox.min.js +6 -0
- data/assets/themes/j1/lightboxes/light_gallery/css/lg-fb-comment-box.css +57 -0
- data/assets/themes/j1/lightboxes/light_gallery/css/lg-fb-comment-box.min.css +1 -0
- data/assets/themes/j1/lightboxes/light_gallery/css/lg-transitions.css +778 -0
- data/assets/themes/j1/lightboxes/light_gallery/css/lg-transitions.min.css +1 -0
- data/assets/themes/j1/lightboxes/light_gallery/css/lightgallery.css +967 -0
- data/assets/themes/j1/lightboxes/light_gallery/css/lightgallery.min.css +1 -0
- data/assets/themes/j1/lightboxes/light_gallery/css/theme/j1_template.css +290 -0
- data/assets/themes/j1/lightboxes/light_gallery/fonts/lg.eot +0 -0
- data/assets/themes/j1/lightboxes/light_gallery/fonts/lg.svg +47 -0
- data/assets/themes/j1/lightboxes/light_gallery/fonts/lg.ttf +0 -0
- data/assets/themes/j1/lightboxes/light_gallery/fonts/lg.woff +0 -0
- data/assets/themes/j1/lightboxes/light_gallery/img/icons/animation-w.png +0 -0
- data/assets/themes/j1/lightboxes/light_gallery/img/icons/customize-w.png +0 -0
- data/assets/themes/j1/lightboxes/light_gallery/img/icons/dynamic-w.png +0 -0
- data/assets/themes/j1/lightboxes/light_gallery/img/icons/facebook-icon.svg +10 -0
- data/assets/themes/j1/lightboxes/light_gallery/img/icons/googleplus-icon.svg +30 -0
- data/assets/themes/j1/lightboxes/light_gallery/img/icons/html5-w.png +0 -0
- data/assets/themes/j1/lightboxes/light_gallery/img/icons/linked-in.png +0 -0
- data/assets/themes/j1/lightboxes/light_gallery/img/icons/module-w.png +0 -0
- data/assets/themes/j1/lightboxes/light_gallery/img/icons/play-button.png +0 -0
- data/assets/themes/j1/lightboxes/light_gallery/img/icons/responsive-w.png +0 -0
- data/assets/themes/j1/lightboxes/light_gallery/img/icons/thumb-w.png +0 -0
- data/assets/themes/j1/lightboxes/light_gallery/img/icons/touch-w.png +0 -0
- data/assets/themes/j1/lightboxes/light_gallery/img/icons/twitter-icon.svg +15 -0
- data/assets/themes/j1/lightboxes/light_gallery/img/icons/twitter.png +0 -0
- data/assets/themes/j1/lightboxes/light_gallery/img/icons/video1-w.png +0 -0
- data/assets/themes/j1/lightboxes/light_gallery/img/icons/zoom-w.png +0 -0
- data/assets/themes/j1/lightboxes/light_gallery/img/icons/zoom.png +0 -0
- data/assets/themes/j1/lightboxes/light_gallery/img/loading.gif +0 -0
- data/assets/themes/j1/lightboxes/light_gallery/img/video-play.png +0 -0
- data/assets/themes/j1/lightboxes/light_gallery/img/vimeo-play.png +0 -0
- data/assets/themes/j1/lightboxes/light_gallery/img/youtube-play.png +0 -0
- data/assets/themes/j1/lightboxes/light_gallery/js/lg-autoplay.js +204 -0
- data/assets/themes/j1/lightboxes/light_gallery/js/lg-autoplay.min.js +4 -0
- data/assets/themes/j1/lightboxes/light_gallery/js/lg-fullscreen.js +116 -0
- data/assets/themes/j1/lightboxes/light_gallery/js/lg-fullscreen.min.js +4 -0
- data/assets/themes/j1/lightboxes/light_gallery/js/lg-hash.js +93 -0
- data/assets/themes/j1/lightboxes/light_gallery/js/lg-hash.min.js +4 -0
- data/assets/themes/j1/lightboxes/light_gallery/js/lg-pager.js +105 -0
- data/assets/themes/j1/lightboxes/light_gallery/js/lg-pager.min.js +4 -0
- data/assets/themes/j1/lightboxes/light_gallery/js/lg-share.js +92 -0
- data/assets/themes/j1/lightboxes/light_gallery/js/lg-share.min.js +4 -0
- data/assets/themes/j1/lightboxes/light_gallery/js/lg-thumbnail.js +473 -0
- data/assets/themes/j1/lightboxes/light_gallery/js/lg-thumbnail.min.js +4 -0
- data/assets/themes/j1/lightboxes/light_gallery/js/lg-video.js +312 -0
- data/assets/themes/j1/lightboxes/light_gallery/js/lg-video.min.js +4 -0
- data/assets/themes/j1/lightboxes/light_gallery/js/lg-zoom.js +497 -0
- data/assets/themes/j1/lightboxes/light_gallery/js/lg-zoom.min.js +4 -0
- data/assets/themes/j1/lightboxes/light_gallery/js/lightgallery.js +1340 -0
- data/assets/themes/j1/lightboxes/light_gallery/js/lightgallery.min.js +4 -0
- data/assets/themes/j1/lightboxes/lightbox2/css/lightbox.css +213 -0
- data/assets/themes/j1/lightboxes/lightbox2/css/lightbox.min.css +1 -0
- data/assets/themes/j1/lightboxes/lightbox2/images/close.png +0 -0
- data/assets/themes/j1/lightboxes/lightbox2/images/loading.gif +0 -0
- data/assets/themes/j1/lightboxes/lightbox2/images/next.png +0 -0
- data/assets/themes/j1/lightboxes/lightbox2/images/prev.png +0 -0
- data/assets/themes/j1/lightboxes/lightbox2/js/lightbox-plus-jquery.js +9719 -0
- data/assets/themes/j1/lightboxes/lightbox2/js/lightbox-plus-jquery.min.js +38 -0
- data/assets/themes/j1/lightboxes/lightbox2/js/lightbox-plus-jquery.min.map +1 -0
- data/assets/themes/j1/lightboxes/lightbox2/js/lightbox.js +508 -0
- data/assets/themes/j1/lightboxes/lightbox2/js/lightbox.min.js +13 -0
- data/assets/themes/j1/lightboxes/lightbox2/js/lightbox.min.map +1 -0
- data/exe/console +14 -0
- data/exe/setup +8 -0
- data/lib/j1m_lightbox.rb +5 -0
- data/lib/j1m_lightbox/version.rb +3 -0
- metadata +185 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c1996dfc35fb291a76ca339547d14618615a4402
|
4
|
+
data.tar.gz: a40e19bc646bade6f02a13bdd00afe1fc7c702cb
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 197f0bd14cbe67b968027e8837f40a97488bfc3b830c0b7c37ee59ec852e922eec2ebbb9913aeef101a344d4a4bb6d04cdb21d7dedffcfc29ea18cf81a30e887
|
7
|
+
data.tar.gz: be65d48be4e05ee8e259414ce79a76e3768473f4c94998b666aea6db445201a1172ac906d2aecba81cae1b8cb73e58b0f6bfb3b301e50ff8e65d96e118981854
|
data/LICENSE.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2017 Juergen Adams
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
# J1mNav
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/j1m_nav`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'j1m_nav'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install j1m_nav
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/j1m_nav.
|
36
|
+
|
37
|
+
|
38
|
+
## License
|
39
|
+
|
40
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
41
|
+
|
@@ -0,0 +1,106 @@
|
|
1
|
+
# ------------------------------------------------------------------------------
|
2
|
+
# J1: ~/_data/modules/j1_colorbox.yml
|
3
|
+
# Template specific configuration data for the lightbox J1 Colorbox
|
4
|
+
#
|
5
|
+
# Product/Info:
|
6
|
+
# https://jekyll.one
|
7
|
+
# https://github.com/jackmoore/colorbox
|
8
|
+
#
|
9
|
+
# Copyright (C) 2017 Juergen Adams
|
10
|
+
# Copyright (C) 2016 Jack Moore
|
11
|
+
#
|
12
|
+
# J1 Template is licensed under the MIT License.
|
13
|
+
# For details, see https://jekyll.one
|
14
|
+
# Colorbox is licensed under the MIT License.
|
15
|
+
# For details, see https://github.com/jackmoore/colorbox
|
16
|
+
#
|
17
|
+
# ------------------------------------------------------------------------------
|
18
|
+
|
19
|
+
# GENERAL settings
|
20
|
+
# -------------------------------------------------------------------------
|
21
|
+
|
22
|
+
# version
|
23
|
+
# --------------------------------------------------------------------
|
24
|
+
# Current version of the module
|
25
|
+
#
|
26
|
+
# values: string
|
27
|
+
# default: no defaults
|
28
|
+
#
|
29
|
+
version: 0.0.1
|
30
|
+
|
31
|
+
# enabled
|
32
|
+
# --------------------------------------------------------------------
|
33
|
+
# Enables|Disables the use of LightGallery for the template system
|
34
|
+
#
|
35
|
+
enabled: true
|
36
|
+
|
37
|
+
# -------------------------------------------------------------------
|
38
|
+
# J1 Colorbox default settings
|
39
|
+
#
|
40
|
+
defaults:
|
41
|
+
|
42
|
+
# -------------------------------------------------------
|
43
|
+
# behavior and appearance
|
44
|
+
#
|
45
|
+
transition: elastic
|
46
|
+
speed: 300
|
47
|
+
fadeOut: 300
|
48
|
+
width: false
|
49
|
+
initialWidth: 600
|
50
|
+
innerWidth: false
|
51
|
+
maxWidth: false
|
52
|
+
height: false
|
53
|
+
initialHeight: 450
|
54
|
+
innerHeight: false
|
55
|
+
maxHeight: false
|
56
|
+
scalePhotos: true
|
57
|
+
scrolling: true
|
58
|
+
opacity: 0.9
|
59
|
+
preloading: true
|
60
|
+
className: false
|
61
|
+
overlayClose: true
|
62
|
+
escKey: true
|
63
|
+
arrowKey: true
|
64
|
+
top: false
|
65
|
+
bottom: false
|
66
|
+
left: false
|
67
|
+
right: false
|
68
|
+
fixed: false
|
69
|
+
data: undefined
|
70
|
+
closeButton: true
|
71
|
+
fastIframe: true
|
72
|
+
open: false
|
73
|
+
reposition: true
|
74
|
+
loop: true
|
75
|
+
slideshow: false
|
76
|
+
slideshowAuto: true
|
77
|
+
slideshowSpeed: 2500
|
78
|
+
slideshowStart: start slideshow
|
79
|
+
slideshowStop: stop slideshow
|
80
|
+
photoRegex: '/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i'
|
81
|
+
|
82
|
+
# -------------------------------------------------------
|
83
|
+
# alternate image paths for high-res displays
|
84
|
+
#
|
85
|
+
retinaImage: false
|
86
|
+
retinaUrl: false
|
87
|
+
retinaSuffix: '@2x.$1'
|
88
|
+
|
89
|
+
# -------------------------------------------------------
|
90
|
+
# internationalization
|
91
|
+
#
|
92
|
+
current: image {current} of {total}
|
93
|
+
previous: previous
|
94
|
+
next: next
|
95
|
+
close: close
|
96
|
+
xhrError: This content failed to load.
|
97
|
+
imgError: This image failed to load.
|
98
|
+
|
99
|
+
# -------------------------------------------------------
|
100
|
+
# accessbility
|
101
|
+
#
|
102
|
+
returnFocus: true
|
103
|
+
trapFocus: true
|
104
|
+
|
105
|
+
|
106
|
+
|
@@ -0,0 +1,162 @@
|
|
1
|
+
# ------------------------------------------------------------------------------
|
2
|
+
# J1: ~/_data/modules/j1_light_gallery.yml
|
3
|
+
# Template specific configuration data for J1 Lightgallery
|
4
|
+
#
|
5
|
+
# Product/Info:
|
6
|
+
# https://jekyll.one
|
7
|
+
# https://sachinchoolur.github.io/lightGallery
|
8
|
+
# https://github.com/sachinchoolur/lightGallery
|
9
|
+
#
|
10
|
+
# Copyright (C) 2017 Juergen Adams
|
11
|
+
# Copyright (C) 2016 Sachin Choolur
|
12
|
+
#
|
13
|
+
# ------------------------------------------------------------------------------
|
14
|
+
|
15
|
+
# GENERAL settings
|
16
|
+
# -------------------------------------------------------------------------
|
17
|
+
|
18
|
+
# version
|
19
|
+
# --------------------------------------------------------------------
|
20
|
+
# Current version of the module
|
21
|
+
#
|
22
|
+
# values: string
|
23
|
+
# default: no defaults
|
24
|
+
#
|
25
|
+
version: 0.0.1
|
26
|
+
|
27
|
+
# enabled
|
28
|
+
# --------------------------------------------------------------------
|
29
|
+
# Enables|Disables the use of LightGallery for the template system
|
30
|
+
#
|
31
|
+
# values: boolean (true|false)
|
32
|
+
# default: false
|
33
|
+
#
|
34
|
+
enabled: true
|
35
|
+
|
36
|
+
# jsonPath
|
37
|
+
# --------------------------------------------------------------------
|
38
|
+
# Path to the JSON data file for AJAX loads
|
39
|
+
#
|
40
|
+
# values: string (path)
|
41
|
+
# default: /assets/data/galleries.json
|
42
|
+
#
|
43
|
+
jsonPath: /assets/data/galleries.json
|
44
|
+
|
45
|
+
|
46
|
+
# ------------------------------------------------------------------------------
|
47
|
+
# J1 Lightgallery default settings
|
48
|
+
#
|
49
|
+
defaults:
|
50
|
+
|
51
|
+
# -------------------------------------------------------
|
52
|
+
# behavior and appearance
|
53
|
+
#
|
54
|
+
autoplay:
|
55
|
+
enabled: false
|
56
|
+
pause: 5000
|
57
|
+
progressBar: true
|
58
|
+
fourceAutoplay: false
|
59
|
+
autoplayControls: true
|
60
|
+
appendAutoplayControlsTo: .lg-toolbar
|
61
|
+
|
62
|
+
fullScreen:
|
63
|
+
enabled: true
|
64
|
+
|
65
|
+
# -------------------------------------------------------
|
66
|
+
# HASH plugin
|
67
|
+
#
|
68
|
+
hash:
|
69
|
+
enabled: false
|
70
|
+
|
71
|
+
# -------------------------------------------------------
|
72
|
+
# PAGER plugin
|
73
|
+
#
|
74
|
+
pager:
|
75
|
+
enabled: false
|
76
|
+
|
77
|
+
# -------------------------------------------------------
|
78
|
+
# SHARE plugin
|
79
|
+
#
|
80
|
+
share:
|
81
|
+
enabled: false
|
82
|
+
facebook: true
|
83
|
+
facebookDropdownText: Facebook
|
84
|
+
twitter: true
|
85
|
+
twitterDropdownText: Twitter
|
86
|
+
googlePlus: true
|
87
|
+
googlePlusDropdownText: GooglePlus
|
88
|
+
pinterest: true
|
89
|
+
pinterestDropdownText: Pinterest
|
90
|
+
|
91
|
+
# -------------------------------------------------------
|
92
|
+
# THUMBNAIL plugin
|
93
|
+
#
|
94
|
+
thumbnail:
|
95
|
+
enabled: false
|
96
|
+
animateThumb: true
|
97
|
+
currentPagerPosition: middle
|
98
|
+
thumbWidth: 100
|
99
|
+
thumbContHeight: 100
|
100
|
+
thumbMargin: 5
|
101
|
+
exThumbImage: false
|
102
|
+
showThumbByDefault: true
|
103
|
+
toogleThumb: true
|
104
|
+
pullCaptionUp: true
|
105
|
+
enableThumbDrag: true
|
106
|
+
enableThumbSwipe: true
|
107
|
+
swipeThreshold: 50
|
108
|
+
loadYoutubeThumbnail: true
|
109
|
+
youtubeThumbSize: 1
|
110
|
+
loadVimeoThumbnail: true
|
111
|
+
vimeoThumbSize: thumbnail_small
|
112
|
+
loadDailymotionThumbnail: true
|
113
|
+
|
114
|
+
# -------------------------------------------------------
|
115
|
+
# VIDEO plugin
|
116
|
+
#
|
117
|
+
video:
|
118
|
+
videoMaxWidth: 855
|
119
|
+
youtubePlayerParams: false
|
120
|
+
vimeoPlayerParams: false
|
121
|
+
dailymotionPlayerParams: false
|
122
|
+
vkPlayerParams: false
|
123
|
+
videojs: false
|
124
|
+
videojsOptions: {}
|
125
|
+
|
126
|
+
# -------------------------------------------------------
|
127
|
+
# ZOOM plugin
|
128
|
+
#
|
129
|
+
zoom:
|
130
|
+
enabled: false
|
131
|
+
scale: 1
|
132
|
+
actualSize: true
|
133
|
+
enableZoomAfter: 300
|
134
|
+
|
135
|
+
galleries:
|
136
|
+
|
137
|
+
- gallery:
|
138
|
+
enabled: true
|
139
|
+
type: image
|
140
|
+
id: lg_old_times
|
141
|
+
title: Grand Pa around the 1930th
|
142
|
+
thumb_items: 2
|
143
|
+
thumb_spacing: 5
|
144
|
+
thumb_bordered: true
|
145
|
+
thumb_animate: true
|
146
|
+
css_classes: margin-bottom-20
|
147
|
+
images_path: /assets/images/gallery/images/old_times
|
148
|
+
images: [
|
149
|
+
image_01.jpg, image_02.jpg,
|
150
|
+
image_03.jpg, image_04.jpg
|
151
|
+
]
|
152
|
+
captions: [
|
153
|
+
"<p>Grand Pa's 80 Birthday</p><p>Collegues from the Painters Union</p>",
|
154
|
+
"<p>Grand Pa's 80 Birthday</p><p>Family and Friends at the restaurant</p>",
|
155
|
+
"<p>Grand Pa's annual journey</p><p>Down the Rhine</p>",
|
156
|
+
"<p>Grand Pa's annual journey<p><p>Having some Wine</p>"
|
157
|
+
]
|
158
|
+
options:
|
159
|
+
mode: lg-fade
|
160
|
+
cssEasing: cubic-bezier(0.25, 0, 0.25, 1)
|
161
|
+
|
162
|
+
|
@@ -0,0 +1,168 @@
|
|
1
|
+
# ------------------------------------------------------------------------------
|
2
|
+
# J1: ~/_data/modules/j1_lightbox2.yml
|
3
|
+
# Template specific configuration data for Lightbox V2
|
4
|
+
#
|
5
|
+
# Product/Info:
|
6
|
+
# http://jekyll.one
|
7
|
+
# http://lokeshdhakar.com/projects/lightbox2
|
8
|
+
#
|
9
|
+
# Copyright (C) 2017 Lokesh Dhakar
|
10
|
+
# Copyright (C) 2016 Juergen Adams
|
11
|
+
#
|
12
|
+
# J1 Template is licensed under the MIT License.
|
13
|
+
# For details, see https://jekyll.one
|
14
|
+
# Colorbox is licensed under the MIT License.
|
15
|
+
# For details, see https://github.com/lokesh/lightbox2/
|
16
|
+
#
|
17
|
+
# ------------------------------------------------------------------------------
|
18
|
+
|
19
|
+
# ------------------------------------------------------------------------------
|
20
|
+
# Lightbox V2
|
21
|
+
#
|
22
|
+
# JavaScript library that displays images and videos by filling the
|
23
|
+
# screen, and dimming out the rest of the web page. Enables gallery views
|
24
|
+
# for individual images, images sets and images are part of a carousel
|
25
|
+
# (e.g. Owl Carousel).
|
26
|
+
|
27
|
+
# GENERAL settings
|
28
|
+
# -------------------------------------------------------------------------
|
29
|
+
|
30
|
+
# version
|
31
|
+
# --------------------------------------------------------------------
|
32
|
+
# Current version of the module
|
33
|
+
#
|
34
|
+
# values: string
|
35
|
+
# default: no defaults
|
36
|
+
#
|
37
|
+
version: 0.0.1
|
38
|
+
|
39
|
+
# enabled
|
40
|
+
# --------------------------------------------------------------------
|
41
|
+
# Enables|Disables the use of LightGallery for the template system
|
42
|
+
#
|
43
|
+
# values: boolean (true|false)
|
44
|
+
# default: false
|
45
|
+
#
|
46
|
+
enabled: true
|
47
|
+
|
48
|
+
# -------------------------------------------------------------------
|
49
|
+
# J1 Lightbox default settings
|
50
|
+
#
|
51
|
+
|
52
|
+
# alwaysShowNavOnTouchDevices
|
53
|
+
# --------------------------------------------------------------
|
54
|
+
# If true, the left and right navigation arrows which appear
|
55
|
+
# on mouse hover when viewing image sets will always be visible
|
56
|
+
# on devices which support touch.
|
57
|
+
#
|
58
|
+
# values: boolean (false|true)
|
59
|
+
# default: false
|
60
|
+
#
|
61
|
+
# albumLabel
|
62
|
+
# --------------------------------------------------------------
|
63
|
+
# The text displayed below the caption when viewing an image
|
64
|
+
# set. The default text shows the current image number and the
|
65
|
+
# total number of images in the set.
|
66
|
+
#
|
67
|
+
# values: string
|
68
|
+
# default: "Image %1 of %2"
|
69
|
+
#
|
70
|
+
# disableScrolling
|
71
|
+
# --------------------------------------------------------------
|
72
|
+
# If true, prevent the page from scrolling while Lightbox is
|
73
|
+
# open. This works by settings overflow hidden on the body.
|
74
|
+
#
|
75
|
+
# values: boolean (false|true)
|
76
|
+
# default: false
|
77
|
+
#
|
78
|
+
# fadeDuration
|
79
|
+
# --------------------------------------------------------------
|
80
|
+
# The time it takes for the Lightbox container and overlay to
|
81
|
+
# fade in and out, measured in milliseconds.
|
82
|
+
#
|
83
|
+
# values: integer
|
84
|
+
# default: 600
|
85
|
+
#
|
86
|
+
# fitImagesInViewport
|
87
|
+
# --------------------------------------------------------------
|
88
|
+
# If true, resize images that would extend outside of the
|
89
|
+
# viewport so they fit neatly inside of it. This saves the
|
90
|
+
# user from having to scroll to see the entire image.
|
91
|
+
#
|
92
|
+
# values: boolean (false|true)
|
93
|
+
# default: true
|
94
|
+
#
|
95
|
+
# imageFadeDuration
|
96
|
+
# --------------------------------------------------------------
|
97
|
+
# The time it takes for the image to fade in once loaded,
|
98
|
+
# measured in milliseconds.
|
99
|
+
#
|
100
|
+
# values: integer (ms)
|
101
|
+
# default: 600
|
102
|
+
#
|
103
|
+
# maxWidth
|
104
|
+
# --------------------------------------------------------------
|
105
|
+
# If set, the image width will be limited to this number,
|
106
|
+
# measured in pixels.
|
107
|
+
#
|
108
|
+
# values: integer (px)
|
109
|
+
# default: no defaults
|
110
|
+
#
|
111
|
+
# maxHeight
|
112
|
+
# --------------------------------------------------------------
|
113
|
+
# If set, the image height will be limited to this number,
|
114
|
+
# measured in pixels.
|
115
|
+
#
|
116
|
+
# values: integer (px)
|
117
|
+
# default: no defaults
|
118
|
+
#
|
119
|
+
# positionFromTop
|
120
|
+
# --------------------------------------------------------------
|
121
|
+
# The distance from top of viewport that the Lightbox container
|
122
|
+
# will appear, measured in pixels.
|
123
|
+
#
|
124
|
+
# values: integer (px)
|
125
|
+
# default: 50
|
126
|
+
#
|
127
|
+
# resizeDuration
|
128
|
+
# --------------------------------------------------------------
|
129
|
+
# The time it takes for the Lightbox container to animate its
|
130
|
+
# width and height when transition between different size
|
131
|
+
# images, measured in milliseconds.
|
132
|
+
#
|
133
|
+
# values: integer (ms)
|
134
|
+
# default: 700
|
135
|
+
#
|
136
|
+
# showImageNumberLabel
|
137
|
+
# --------------------------------------------------------------
|
138
|
+
# If false, the text indicating the current image number and
|
139
|
+
# the total number of images in set (e.g. "image 2 of 4")
|
140
|
+
# will be hidden.
|
141
|
+
#
|
142
|
+
# values: boolean: true|false
|
143
|
+
# default: true
|
144
|
+
#
|
145
|
+
# wrapAround
|
146
|
+
# --------------------------------------------------------------
|
147
|
+
# If true, when a user reaches the last image in a set, the
|
148
|
+
# right navigation arrow will appear and they will be to
|
149
|
+
# continue moving forward which will take them back to the
|
150
|
+
# first image in the set.
|
151
|
+
#
|
152
|
+
# values: boolean (false|true)
|
153
|
+
# default: false 4
|
154
|
+
#
|
155
|
+
defaults:
|
156
|
+
|
157
|
+
alwaysShowNavOnTouchDevices: false
|
158
|
+
albumLabel: Image %1 of %2
|
159
|
+
disableScrolling: false
|
160
|
+
fadeDuration: 600
|
161
|
+
fitImagesInViewport: true
|
162
|
+
imageFadeDuration: 600
|
163
|
+
maxWidth:
|
164
|
+
maxHeight:
|
165
|
+
positionFromTop: 50
|
166
|
+
resizeDuration: 250
|
167
|
+
showImageNumberLabel: true
|
168
|
+
wrapAround: true
|