j1-template 2020.0.5 → 2020.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/modules/navigator/generator.html +2 -2
  3. data/assets/data/mmenu.html +1 -1
  4. data/assets/data/mmenu_sidebar.html +1 -1
  5. data/assets/data/mmenu_toc.html +1 -1
  6. data/assets/data/ssm.html +5 -5
  7. data/assets/themes/j1/core/css/theme_extensions.css +38 -75
  8. data/assets/themes/j1/core/css/theme_extensions.min.css +1 -1
  9. data/assets/themes/j1/core/css/uno.css +38 -75
  10. data/assets/themes/j1/core/css/uno.min.css +1 -1
  11. data/assets/themes/j1/core/js/template.js +30 -30
  12. data/assets/themes/j1/core/js/template.js.map +1 -1
  13. data/assets/themes/j1/core/js/template.min.js +1 -1
  14. data/lib/j1/version.rb +1 -1
  15. data/lib/starter_web/Gemfile +1 -1
  16. data/lib/starter_web/_config.yml +1 -1
  17. data/lib/starter_web/_data/modules/defaults/ssm.yml +1 -1
  18. data/lib/starter_web/_data/modules/defaults/toccer.yml +13 -14
  19. data/lib/starter_web/_data/modules/navigator.yml +4 -1
  20. data/lib/starter_web/_data/modules/toccer.yml +19 -62
  21. data/lib/starter_web/_data/resources.yml +2 -45
  22. data/lib/starter_web/_data/template_settings.yml +13 -13
  23. data/lib/starter_web/_plugins/uglify.rb +41 -0
  24. data/lib/starter_web/assets/themes/j1/adapter/js/algolia.js +3 -3
  25. data/lib/starter_web/assets/themes/j1/adapter/js/attic.js +4 -4
  26. data/lib/starter_web/assets/themes/j1/adapter/js/carousel.js +3 -3
  27. data/lib/starter_web/assets/themes/j1/adapter/js/framer.js +3 -3
  28. data/lib/starter_web/assets/themes/j1/adapter/js/j1.js +15 -38
  29. data/lib/starter_web/assets/themes/j1/adapter/js/mmenu.js +19 -6
  30. data/lib/starter_web/assets/themes/j1/adapter/js/navigator.js +21 -3
  31. data/lib/starter_web/assets/themes/j1/adapter/js/ssm.js +5 -3
  32. data/lib/starter_web/assets/themes/j1/adapter/js/themer.js +1 -1
  33. data/lib/starter_web/assets/themes/j1/adapter/js/toccer.js +38 -45
  34. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/themes/uno.css +60 -2
  35. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/themes/uno.min.css +60 -2
  36. data/lib/starter_web/package.json +1 -1
  37. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  38. data/lib/starter_web/utilsrv/package.json +1 -1
  39. metadata +3 -11
  40. data/assets/themes/j1/core/css/globals.scss +0 -28
  41. data/lib/starter_web/_data/modules/back2top.yml +0 -40
  42. data/lib/starter_web/_data/modules/defaults/back2top.yml +0 -147
  43. data/lib/starter_web/_data/modules/defaults/smooth_scroll.yml +0 -169
  44. data/lib/starter_web/_data/modules/navigator.yml.new +0 -232
  45. data/lib/starter_web/_data/modules/smooth_scroll.yml +0 -169
  46. data/lib/starter_web/assets/themes/j1/adapter/js/back2top.js +0 -227
  47. data/lib/starter_web/assets/themes/j1/adapter/js/mmenu.js.new +0 -432
  48. data/lib/starter_web/assets/themes/j1/adapter/js/scroller.js +0 -177
@@ -1,147 +0,0 @@
1
- # ------------------------------------------------------------------------------
2
- # ~/_data/modules/defaults/back2top.yml
3
- # Default configuration settings for J1 Back2Top module
4
- #
5
- # Product/Info:
6
- # https://jekyll.one
7
- #
8
- # Copyright (C) 2020 Juergen Adams
9
- #
10
- # J1 Template is licensed under the MIT License.
11
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
12
- # ------------------------------------------------------------------------------
13
-
14
- # ------------------------------------------------------------------------------
15
- # About this configuration (used for J1 CC only)
16
- #
17
- about_config:
18
-
19
- title: Back2Top
20
- scope: Default settings
21
- location: _data/modules/defaults/back2top.yml
22
-
23
- # ------------------------------------------------------------------------------
24
- # Back2Top settings
25
- # If enabled, a Back2Top button at the bottom of every page is displayed
26
- #
27
- # enabled
28
- # ----------------------------------------------------------------------------
29
- # Enables|Disables the use of Back2Top (button)
30
- #
31
- # values: boolean (true|false)
32
- # default: true
33
- #
34
- # color
35
- # ----------------------------------------------------------------------------
36
- # Set the color of the Back2Top icon for an hover event. Possible
37
- # values are the RGB code like "#204a87" or a color name taken from
38
- # file ~/_data/modules/j1_colors.yml
39
- #
40
- # values: string
41
- # default: j1_darkblue
42
- #
43
- # icon
44
- # ----------------------------------------------------------------------------
45
- # Set the font icon used with the Back2Top button. Possible values
46
- # depend on the icon family defined by "icon_family". Use the
47
- # respective hex value for the icon to be used
48
- #
49
- # values: string
50
- # default: "f102"
51
- #
52
- # icon_family
53
- # ----------------------------------------------------------------------------
54
- # Set the icon familiy from what the icon should be taken from. Be
55
- # aware that the CSS file for the font icon set needs to be
56
- # included as a resource.
57
- #
58
- # values: string (FontAwesome|Glyphicons Halflings)
59
- # default: FontAwesome
60
- #
61
- # startline
62
- # ----------------------------------------------------------------------------
63
- # Number of pixels from top of doc scrollbar is scrolled before
64
- # showing control.
65
- #
66
- # values: integer (px)
67
- # default: 100
68
- #
69
- # scrollto
70
- # ----------------------------------------------------------------------------
71
- # Integer or "Scroll_to_Element_ID". Specifies how far to scroll
72
- # a page up when control is clicked on (0=top).
73
- # showing control.
74
- #
75
- # values: integer (px)
76
- # default: 0
77
- #
78
- # scrollduration
79
- # ----------------------------------------------------------------------------
80
- # Time (Duration) measured in msec to scroll the whole page
81
- #
82
- # values: integer (msec)
83
- # default: 1000
84
- #
85
- # fadeduration
86
- # ----------------------------------------------------------------------------
87
- # Fade effect (durationd) measured in msec to show|hide
88
- # the control button
89
- #
90
- # values: integer (msec)
91
- # default: 500
92
- #
93
- # controlHTML
94
- # ----------------------------------------------------------------------------
95
- # HTML code for the control button which is AUTO wrapped in an
96
- # DIV element tha is automatically placed (ID = #topcontrol).
97
- # the control button
98
- #
99
- # values: string (HTML)
100
- # default: '<img src="assets/img/up.png" style="width:51px; height:42px'
101
- #
102
- # controlattrs
103
- # ----------------------------------------------------------------------------
104
- # Offset measured in pixels to place the control (button) relative
105
- # to right|bottom of the window corner.
106
- #
107
- # values: array (integer|px)
108
- # default: [5, 5]
109
- #
110
- # anchorkeyword
111
- # ----------------------------------------------------------------------------
112
- # Anchor|href value of HTML anchors on the page that should be
113
- # used for a "Scroll Up" link.
114
- #
115
- # values: string (ID)
116
- # default: "#top"
117
- #
118
- # ------------------------------------------------------------------------------
119
-
120
- # ------------------------------------------------------------------------------
121
- # Default configuration settings
122
- #
123
- defaults:
124
-
125
- enabled: false
126
- active_color: md_indigo
127
- background_color: md_grey_900
128
-
129
- icon: "f05d"
130
- icon_family: MDI
131
- icon_position: absolute
132
-
133
- startline: 100
134
- scrollto: 0
135
-
136
- scrollduration: 1000
137
- fadeduration:
138
- fadeIn: 500
139
- fadeOut: 500
140
-
141
- controlattrs:
142
- offsetx: 5
143
- offsety: 5
144
-
145
-
146
- # ------------------------------------------------------------------------------
147
- # END config
@@ -1,169 +0,0 @@
1
- # ------------------------------------------------------------------------------
2
- # ~/_data/modules/defaults/smooth_scroll.yml
3
- # Default configuration settings for J1 Smoothscroll module
4
- #
5
- # Product/Info:
6
- # https://jekyll.one
7
- #
8
- # Copyright (C) 2020 Juergen Adams
9
- #
10
- # J1 Template is licensed under the MIT License.
11
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
12
- #
13
- # ------------------------------------------------------------------------------
14
-
15
- # ------------------------------------------------------------------------------
16
- # About this configuration (used for J1 CC only)
17
- #
18
- about_config:
19
-
20
- title: SmoothScroll
21
- scope: Default settings
22
- location: _data/modules/defaults/smooth_scroll.yml
23
-
24
- # ------------------------------------------------------------------------------
25
- # User configuration settings
26
- #
27
- defaults:
28
-
29
- # ------------------------------------------------------------------------------
30
- # J1 Scroll Manager settings
31
- # ------------------------------------------------------------------------------
32
- # SmoothScroll settings
33
- # Enables smooth vertical page scrolling on Mouse Wheel, Keyboard and Touchpad
34
- #
35
- # enabled
36
- # ----------------------------------------------------------------------------
37
- # Enables|Disables the use of SmoothControl
38
- #
39
- # values: boolean (true|false)
40
- # default: false
41
- #
42
- # SCROLLING CORE
43
- # --------------
44
- #
45
- # frameRate
46
- # ----------------------------------------------------------------------------
47
- # ...
48
- #
49
- # values: integer (Hz)
50
- # default: 150
51
- #
52
- # animationTime
53
- # ----------------------------------------------------------------------------
54
- # ...
55
- #
56
- # values: integer (msec)
57
- # default: 400
58
- #
59
- # stepSize
60
- # ----------------------------------------------------------------------------
61
- # ...
62
- #
63
- # values: integer (px)
64
- # default: 100
65
- #
66
- # ACCELERATION SETTINGS
67
- # ---------------------
68
- #
69
- # accelerationDelta
70
- # ----------------------------------------------------------------------------
71
- # ...
72
- #
73
- # values: integer
74
- # default: 50
75
- #
76
- # accelerationMax
77
- # ----------------------------------------------------------------------------
78
- # ...
79
- #
80
- # values: integer
81
- # default: 3
82
- #
83
- # KEYBOARD SETTINGS
84
- # -----------------
85
- #
86
- # keyboardSupport
87
- # ----------------------------------------------------------------------------
88
- # Enables|Disables Keyboard support for smooth scrolling
89
- #
90
- # values: boolean (true|false)
91
- # default: true
92
- #
93
- # arrowScroll
94
- # ----------------------------------------------------------------------------
95
- # Number of pixels to scroll when pressing a keyboard arrow key
96
- #
97
- # values: integer (px)
98
- # default: 50
99
- #
100
- # PULSE ALGORITHM SETTINGS
101
- # ------------------------
102
- #
103
- # pulseAlgorithm
104
- # ----------------------------------------------------------------------------
105
- # Enables easing of the scrolling animation. When disabled, the page
106
- # animation will be linear (ratio of "tail" to "acceleration")
107
- #
108
- # values: boolean (true|false)
109
- # default: true
110
- #
111
- # pulseScale
112
- # ----------------------------------------------------------------------------
113
- # Defines the speed of pulse step scrolling
114
- #
115
- # values: integer
116
- # default: 4
117
- #
118
- # pulseNormalize
119
- # ----------------------------------------------------------------------------
120
- # ...
121
- #
122
- # values: integer
123
- # default: 1
124
- #
125
- # TOUCHPAD SETTINGS
126
- # -----------------
127
- #
128
- # touchpadSupport
129
- # ----------------------------------------------------------------------------
130
- # Enables|Disables Touchpad support for smooth scrolling
131
- #
132
- # values: boolean (true|false)
133
- # default: false
134
- #
135
- # OTHER SETTINGS
136
- # --------------
137
- #
138
- # fixedBackground
139
- # ----------------------------------------------------------------------------
140
- # ...
141
- #
142
- # values: boolean (true|false)
143
- # default: true
144
- #
145
- # excluded
146
- # ----------------------------------------------------------------------------
147
- # ...
148
- #
149
- # values: string
150
- # default: empty string
151
- # ------------------------------------------------------------------------------
152
- enabled: false
153
- frameRate: 150
154
- animationTime: 400
155
- stepSize: 100
156
- accelerationDelta: 50
157
- accelerationMax: 3
158
- keyboardSupport: true
159
- arrowScroll: 50
160
- pulseAlgorithm: true
161
- pulseScale: 4
162
- pulseNormalize: 1
163
- touchpadSupport: false
164
- fixedBackground: true
165
- excluded:
166
-
167
-
168
- # ------------------------------------------------------------------------------
169
- # END config
@@ -1,232 +0,0 @@
1
- # ------------------------------------------------------------------------------
2
- # ~/_data/apps/navigator.yml
3
- # User configuration settings for J1 NAV Module
4
- # All sub-modules except Main Navigation bar
5
- #
6
- # NOTE: For Main Navigation bar, see navigator_menu.yml
7
- #
8
- # Product/Info:
9
- # https://jekyll.one
10
- #
11
- # Copyright (C) 2020 Juergen Adams
12
- #
13
- # J1 Template is licensed under the MIT License.
14
- # See: https://github.com/jekyll-one/J1 Template/blob/master/LICENSE
15
- # ------------------------------------------------------------------------------
16
-
17
- # ------------------------------------------------------------------------------
18
- # About this configuration (used for J1 CC only)
19
- #
20
- about_config:
21
- title: Navigator
22
- scope: Default settings
23
- location: _data/modules/defaults/navigator.yml
24
-
25
- # ------------------------------------------------------------------------------
26
- # User configuration settings
27
- #
28
- settings:
29
-
30
- # ----------------------------------------------------------------------------
31
- # NavBar
32
- #
33
- nav_bar:
34
- enabled: true
35
-
36
- fixed: true
37
-
38
- # ----------------------------------------------------------------------------
39
- # NavMenu (Desktop)
40
- #
41
- nav_menu:
42
- enabled: true
43
-
44
- delay_open_menu: 250
45
-
46
- # ----------------------------------------------------------------------------
47
- # NavMenu (MMobile)
48
- #
49
- nav_mmenu:
50
- enabled: true
51
-
52
- # --------------------------------------------------------------------------
53
- # INSTANCE configuration (drawers|menus)
54
- # --------------------------------------------------------------------------
55
- menus:
56
-
57
- # ------------------------------------------------------------------------
58
- # NAVIGATION Main
59
- #
60
- - menu:
61
- enabled: true
62
-
63
- xhr_container_id: navigator_nav_mmenu
64
- xhr_data_path: /assets/data/mmenu/index.html
65
-
66
- drawer:
67
- position: right
68
-
69
- content:
70
- type: navigation
71
- title: Starter Web
72
- theme: dark
73
- button_selector: "#navbar-toggler"
74
-
75
- # ------------------------------------------------------------------------
76
- # DRAWER Sidebar
77
- #
78
- - menu:
79
- enabled: true
80
-
81
- xhr_container_id: navigator_sidebar_mmenu
82
- xhr_data_path: /assets/data/mmenu_sidebar/index.html
83
-
84
- drawer:
85
- position: left
86
-
87
- content:
88
- type: drawer
89
- title: Site Info
90
- theme: dark
91
- button_selector: "#navbar-brand"
92
- toggle: true
93
-
94
- toggler_animation: rotateIn
95
- toggler_activated: always
96
-
97
- boxes:
98
-
99
- - box:
100
- enabled: true
101
- type: user_info
102
- title: User
103
-
104
- links:
105
- - title: Provider
106
- value: ??provider
107
- href: ??provider-site-url
108
- target: _blank
109
- icon: domain
110
- - title: User
111
- icon: account
112
- value: ??user-name
113
- href: ??provider_member_url
114
- target: none
115
- - title: Permissions
116
- icon: account-check
117
- value: ??provider-permissions
118
- href: ??provider_member_url
119
- target: none
120
- - title: Membership
121
- icon: account-settings
122
- value: ??provider-membership
123
- href: ??provider_member_url
124
- target: none
125
- - title: Cookies
126
- icon: cookie
127
- value: ??cookie-state
128
- href: ??provider_privacy_url
129
- target: none
130
-
131
- - box:
132
- enabled: true
133
- type: theme_info
134
- title: Theme
135
-
136
- links:
137
- - title: Name
138
- icon: face
139
- value: ??theme-name
140
- href: /pages/public/previewer/theme/
141
- target: none
142
- - title: Author
143
- icon: grease-pencil
144
- value: ??theme-author
145
- href: ??theme-author-url
146
- target: _blank
147
- - title: Version
148
- icon: numeric
149
- value: ??theme-version
150
- href: /pages/public/previewer/theme/
151
- target: none
152
-
153
- - box:
154
- enabled: true
155
- type: site_info
156
- title: Site
157
-
158
- links:
159
- - title: About
160
- icon: home-outline
161
- href: /pages/public/about/site/
162
- target: none
163
-
164
- # - title: Become a Patron
165
- # icon: patreon
166
- # href: /pages/public/about/become_a_patron/
167
- # target: _blank
168
-
169
- - title: Impress
170
- icon: alert-outline
171
- href: /pages/public/legal/en/impress/
172
- target: none
173
- - title: Privacy
174
- icon: heart
175
- href: /pages/public/legal/en/privacy/
176
- target: none
177
- - title: License
178
- icon: checkbox-multiple-marked-circle-outline
179
- href: /pages/public/legal/en/license_agreement/
180
- target: none
181
-
182
- # - title: Contact
183
- # icon: contact-mail
184
- # href: mailto:contact@jekyll.one
185
- # target: none
186
-
187
- # ------------------------------------------------------------------------
188
- # DRAWER Toc
189
- #
190
- - menu:
191
- enabled: true
192
-
193
- xhr_container_id: navigator_toc_mmenu
194
- xhr_data_path: /assets/data/mmenu_toc/index.html
195
-
196
- drawer:
197
- position: right
198
-
199
- content:
200
- type: drawer
201
- title: Table of Contents
202
- theme: light
203
- button_selector: "#toc-toggler"
204
- toggle: false
205
- toggler_animation: rotateIn
206
- toggler_activated: "js-toc-content"
207
-
208
- # ----------------------------------------------------------------------------
209
- # NavQuicklinks
210
- #
211
- nav_quicklinks:
212
- enabled: true
213
-
214
- home_url: / # none | URL
215
- back_url: none # none | URL
216
-
217
- toc_toggler: true
218
-
219
- r_text_sizer: false # true | false
220
-
221
- github_url: https://github.com/jekyll-one
222
- disqus_url: none # https://disqus.com/
223
- patreon_url: none # https://www.patreon.com/jekyll_one/posts
224
-
225
- # ----------------------------------------------------------------------------
226
- # NavTopsearch
227
- #
228
- nav_topsearch:
229
- enabled: true
230
-
231
- # ------------------------------------------------------------------------------
232
- # END config