j1-template 2020.0.4 → 2020.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/layouts/content_generator_blog_archive.html +1 -1
- data/_includes/themes/j1/layouts/content_generator_collection.html +1 -1
- data/_includes/themes/j1/layouts/content_generator_page.html +1 -1
- data/_includes/themes/j1/layouts/content_generator_post.html +2 -2
- data/_includes/themes/j1/modules/navigator/generator.html +14 -4
- data/assets/data/menu.html +2 -1
- data/assets/data/mmenu.html +2 -2
- data/assets/data/quicklinks.html +0 -3
- data/assets/data/ssm.html +227 -0
- data/assets/themes/j1/core/css/globals.css +1 -1
- data/assets/themes/j1/core/css/theme_extensions.css +138 -0
- data/assets/themes/j1/core/css/theme_extensions.min.css +1 -1
- data/assets/themes/j1/core/css/uno.css +138 -0
- data/assets/themes/j1/core/css/uno.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +3 -3
- data/assets/themes/j1/core/js/template.js.map +1 -1
- data/assets/themes/j1/core/js/template.min.js +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/modules/authentication.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/ssm.yml +50 -0
- data/lib/starter_web/_data/modules/navigator.yml +6 -9
- data/lib/starter_web/_data/modules/navigator.yml.new +232 -0
- data/lib/starter_web/_data/modules/ssm.yml +133 -0
- data/lib/starter_web/_data/resources.yml +28 -7
- data/lib/starter_web/assets/images/modules/icons/j1/{j1..ico → j1.ico} +0 -0
- data/lib/starter_web/assets/themes/j1/adapter/js/mmenu.js +26 -19
- data/lib/starter_web/assets/themes/j1/adapter/js/mmenu.js.new +432 -0
- data/lib/starter_web/assets/themes/j1/adapter/js/ssm.js +496 -0
- data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.js +2 -206
- data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.min.js +2 -204
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/learn/floating_sidebar.adoc +199 -0
- data/lib/starter_web/pages/public/learn/whats_up.adoc +12 -11
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/200_rotate.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +2 -3
- data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +3 -3
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +10 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c125517dc4e0ca43a01d25e1d2dbb7f2bf31f23f8882c67198755c86e969dc58
|
4
|
+
data.tar.gz: 7f712b5ee752524b4dcb3a82105f4f077c35548959471d9e84d8051055dea281
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 283075f0d84f1220e9d81b760780e832d074f5cbd0889aa7afbc26794b5bf07db81e23fec5cb1eba1a84315e87e9a0cfd7e967521a04123e7ed281c45daf7bf7
|
7
|
+
data.tar.gz: dbc293ceac25461a79ad4db4ea4fe2b82a69fd5df878f4b4521872ef6d33849a90230a48024e4ca2e9b86935e735edc6bdf4e4749bacd6d312b1d1ebfd797d90
|
@@ -67,7 +67,7 @@
|
|
67
67
|
-------------------------------------------------------------------------------- {% endcomment %}
|
68
68
|
<!-- [INFO ] [j1.layout.content_generator_blog.html ] [Begin content] -->
|
69
69
|
<!-- split page to place a sidebar e.g. the document TOC -->
|
70
|
-
<div class="container mb-5">
|
70
|
+
<div class="container mr-5 mb-5">
|
71
71
|
<div class="row">
|
72
72
|
|
73
73
|
<!-- main class="col-md-9 col-xs-12 r-text-{{rtext_size}} js-toc-content" -->
|
@@ -62,7 +62,7 @@
|
|
62
62
|
{% comment %} Main
|
63
63
|
-------------------------------------------------------------------------------- {% endcomment %}
|
64
64
|
<!-- [INFO ] [j1.layout.content_generator_coll.html ] [ begin content ] -->
|
65
|
-
<div class="container mb-5">
|
65
|
+
<div class="container mr-5 mb-5">
|
66
66
|
<div class="row">
|
67
67
|
|
68
68
|
{% comment %} COLLECTION content
|
@@ -61,7 +61,7 @@
|
|
61
61
|
{% comment %} Main
|
62
62
|
-------------------------------------------------------------------------------- {% endcomment %}
|
63
63
|
<!-- [INFO ] [j1.layout.content_generator_page.html ] [ begin content ] -->
|
64
|
-
<div class="container mb-5">
|
64
|
+
<div class="container mr-5 mb-5">
|
65
65
|
<div class="row">
|
66
66
|
|
67
67
|
{% if sidebar == false %}
|
@@ -65,9 +65,9 @@
|
|
65
65
|
-------------------------------------------------------------------------------- {% endcomment %}
|
66
66
|
<!-- [INFO ] [j1.layout.content_generator_post.html ] [ begin content ] -->
|
67
67
|
{% if page.comments %}
|
68
|
-
<div class="container mb-0">
|
68
|
+
<div class="container mr-5 mb-0">
|
69
69
|
{% else %}
|
70
|
-
<div class="container mb-5"> <!-- Add additional space between end of article and the footer -->
|
70
|
+
<div class="container mr-5 mb-5"> <!-- Add additional space between end of article and the footer -->
|
71
71
|
{% endif %}
|
72
72
|
|
73
73
|
|
@@ -56,6 +56,9 @@
|
|
56
56
|
{% assign cookiebar_defaults = site.data.modules.defaults.cookiebar.defaults %}
|
57
57
|
{% assign cookiebar_settings = site.data.modules.cookiebar.settings %}
|
58
58
|
|
59
|
+
{% assign ssm_settings = modules.ssm.settings %}
|
60
|
+
{% assign ssm_defaults = modules.defaults.ssm.defaults %}
|
61
|
+
|
59
62
|
{% comment %} Set config data
|
60
63
|
-------------------------------------------------------------------------------- {% endcomment %}
|
61
64
|
{% assign nav_bar_defaults = navigator_defaults.nav_bar %}
|
@@ -81,6 +84,7 @@
|
|
81
84
|
{% assign authentication_options = authentication_defaults | merge: authentication_settings %}
|
82
85
|
{% assign auth_manager_options = authentication_options.j1_auth %}
|
83
86
|
{% assign nav_mmenu_options = nav_mmenu_defaults | merge: nav_mmenu_settings %}
|
87
|
+
{% assign ssm_options = ssm_defaults | merge: ssm_settings %}
|
84
88
|
|
85
89
|
{% comment %} Set navBarOptions
|
86
90
|
-------------------------------------------------------------------------------- {% endcomment %}
|
@@ -112,11 +116,17 @@
|
|
112
116
|
|
113
117
|
{% capture nav_bar_default_css_classes %}navbar navigator navbar-expand-{{nav_navbar_media_breakpoint}} navbar-default{% endcapture %}
|
114
118
|
|
115
|
-
|
116
|
-
|
117
119
|
{% comment %} Main
|
118
120
|
-------------------------------------------------------------------------------- {% endcomment %}
|
119
121
|
|
122
|
+
{% comment %} Generate SSM container
|
123
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
124
|
+
<!-- [INFO ] [j1.modules.navigator.generator.html ] [ check for ssm ] -->
|
125
|
+
{% if ssm_options.enabled %}
|
126
|
+
<!-- [INFO ] [j1.modules.navigator.generator.html ] [ place ssm container for AJAX load ] -->
|
127
|
+
<nav id="ssm-container" class="ssm-btns-right ssm-anim-slide no-r-text"></nav>
|
128
|
+
{% endif %}
|
129
|
+
|
120
130
|
{% comment %} Generate TopSearch container
|
121
131
|
-------------------------------------------------------------------------------- {% endcomment %}
|
122
132
|
<!-- [INFO ] [j1.modules.navigator.generator.html ] [ check for topsearch ] -->
|
@@ -169,8 +179,8 @@
|
|
169
179
|
{% else %}
|
170
180
|
<a id="navbar-brand" class="navbar-brand animated" href="#" "> <b><font color="{{site.brand.text_color}}">{{ site.brand.text }}</font></b></a>
|
171
181
|
{% endif %}
|
172
|
-
<!-- [INFO ] [j1.modules.navigator.generator.html ] [ place menu
|
173
|
-
<button id="
|
182
|
+
<!-- [INFO ] [j1.modules.navigator.generator.html ] [ place mobile menu button to the: left ] -->
|
183
|
+
<button id="mmenu-button" type="button" class="navigator navbar-toggler animated fadeIn" data-toggle="collapse" data-target="#{{nav_menu_id}}" aria-controls="{{nav_menu_id}}" aria-expanded="false" aria-label="Toggle navigation">
|
174
184
|
<i class="mdi mdi-menu mdi-48px"></i>
|
175
185
|
</button>
|
176
186
|
{% else %}
|
data/assets/data/menu.html
CHANGED
@@ -7,7 +7,8 @@ regenerate: true
|
|
7
7
|
{% comment %}
|
8
8
|
# -----------------------------------------------------------------------------
|
9
9
|
# ~/assets/data/menu.html
|
10
|
-
# Liquid procedure to generate HTML portion of the main menu
|
10
|
+
# Liquid procedure to generate HTML portion of the main menu
|
11
|
+
# for the desktop version
|
11
12
|
# NOTE: Loaded dynamically by J1 NAV Manager module (AJAX)
|
12
13
|
#
|
13
14
|
# Product/Info:
|
data/assets/data/mmenu.html
CHANGED
@@ -6,8 +6,8 @@ regenerate: true
|
|
6
6
|
|
7
7
|
{% comment %}
|
8
8
|
# -----------------------------------------------------------------------------
|
9
|
-
# ~/assets/data/
|
10
|
-
# Liquid procedure to generate HTML portion of the
|
9
|
+
# ~/assets/data/mmenu.html
|
10
|
+
# Liquid procedure to generate HTML portion of the mobile menu
|
11
11
|
# NOTE: Loaded dynamically by J1 NAV Manager module (AJAX)
|
12
12
|
#
|
13
13
|
# Product/Info:
|
data/assets/data/quicklinks.html
CHANGED
@@ -208,8 +208,6 @@ regenerate: true
|
|
208
208
|
<!-- [INFO ] [j1.modules.navigator.quicklinks.html ] [Set icon familiy as: {{ icon_family }}] -->
|
209
209
|
<!-- [INFO ] [j1.modules.navigator.quicklinks.html ] [Set icon size as: {{ icon_size }}] -->
|
210
210
|
|
211
|
-
{% assign show_toc_icon = true %}
|
212
|
-
|
213
211
|
<ul class="navbar-nav">
|
214
212
|
{% if back_url != "none" %}<li id="quickLinksHomeButton" class="nav-item"><a id="page_back_id" class="nav-icon" href="{{back_url}}"><i class="{{icon_family}} {{icon_family}}-{{back_icon}} {{icon_size}}"></i></a></li>{% endif %}
|
215
213
|
{% if home_url != "none" %}<li id="quickLinksHomeButton" class="nav-item"><a id="home_id" class="nav-icon" href="{{home_url}}"><i class="{{icon_family}} {{icon_family}}-{{home_icon}} {{icon_size}}"></i></a></li>{% endif %}
|
@@ -224,7 +222,6 @@ regenerate: true
|
|
224
222
|
{% if show_quick_search_icon %}<li id="quickLinksSearchButton" class="nav-item search"><a class="nav-icon" href="#"><i class="{{icon_family}} {{icon_family}}-{{search_icon}} {{icon_size}}"></i></a></li>{% endif %}
|
225
223
|
{% if show_control_center_icon %}<li id="quickLinksControlCenterButton" class="nav-item control-center" style="display: block;"><a class="nav-icon" href="{{control_center_url}}"><i class="{{icon_family}} {{icon_family}}-{{control_center_icon}} {{icon_size}}"></i></a></li>{% endif %}
|
226
224
|
{% if show_r_text_icon %}<li id="quickLinksRTextButton" class="nav-item control-center" style="display: block;"><a class="nav-icon" href="#" data-toggle="modal" data-target="#fluidModalRTextResizer"><i class="{{icon_family}} {{icon_family}}-{{r_text_icon}} {{icon_size}}"></i></a></li>{% endif %}
|
227
|
-
{% if show_toc_icon %}<li id="quickLinksTocButton" class="nav-item"><a id="toc-toggler" class="nav-icon" href="#"><i class="{{icon_family}} {{icon_family}}-{{toc_icon}} {{icon_size}}"></i></a></li>{% endif %}
|
228
225
|
</ul>
|
229
226
|
|
230
227
|
mdi-menu
|
@@ -0,0 +1,227 @@
|
|
1
|
+
---
|
2
|
+
regenerate: true
|
3
|
+
---
|
4
|
+
|
5
|
+
{% capture cache %}
|
6
|
+
|
7
|
+
{% comment %}
|
8
|
+
# -----------------------------------------------------------------------------
|
9
|
+
# ~/assets/data/ssm.html
|
10
|
+
# Liquid procedure to generate HTML portion for the Sticky Side Menu
|
11
|
+
# container
|
12
|
+
#
|
13
|
+
# NOTE: Loaded dynamically by J1 NAV Manager module (AJAX)
|
14
|
+
#
|
15
|
+
# Product/Info:
|
16
|
+
# https://jekyll.one
|
17
|
+
#
|
18
|
+
# Copyright (C) 2020 Juergen Adams
|
19
|
+
#
|
20
|
+
# J1 Template is licensed under the MIT License.
|
21
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
22
|
+
# -----------------------------------------------------------------------------
|
23
|
+
# Test data:
|
24
|
+
# {{variable | debug}}
|
25
|
+
# -----------------------------------------------------------------------------
|
26
|
+
{% endcomment %}
|
27
|
+
|
28
|
+
{% comment %} Liquid procedures (unused)
|
29
|
+
--------------------------------------------------------------------------------
|
30
|
+
{% capture select_color %}themes/{{site.template.name}}/procedures/global/select_color.proc{% endcapture %}
|
31
|
+
{% capture select_icon_size %}themes/{{site.template.name}}/procedures/global/select_icon_size.proc{% endcapture %}
|
32
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
33
|
+
|
34
|
+
{% comment %} Liquid var initialization
|
35
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
36
|
+
|
37
|
+
{% comment %} Set config files
|
38
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
39
|
+
{% assign site_config = site %}
|
40
|
+
{% assign template_config = site.data.template_settings %}
|
41
|
+
{% assign modules = site.data.modules %}
|
42
|
+
|
43
|
+
{% comment %} Set config data
|
44
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
45
|
+
{% assign ssm_settings = modules.ssm.settings %}
|
46
|
+
{% assign ssm_defaults = modules.defaults.ssm.defaults %}
|
47
|
+
|
48
|
+
{% comment %} Set config options
|
49
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
50
|
+
{% assign ssm_options = ssm_defaults | merge: ssm_settings %}
|
51
|
+
{% assign ssm_menu_config = ssm_options.items %}
|
52
|
+
|
53
|
+
{% comment %} Set permalink setting
|
54
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
55
|
+
{% assign ext = '' %}
|
56
|
+
{% if site.permalink == 'none' %}
|
57
|
+
{% assign ext = '.html' %}
|
58
|
+
{% endif %}
|
59
|
+
|
60
|
+
{% comment %} Set base icons and sizes
|
61
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
62
|
+
{% assign ssm_menu_icon_family = ssm_options.icon_family %}
|
63
|
+
{% assign ssm_menu_icon_style = ssm_options.icon_style %}
|
64
|
+
{% assign ssm_menu_icon_color = ssm_options.icon_color %}
|
65
|
+
{% assign ssm_menu_icon_size = ssm_options.icon_size %}
|
66
|
+
|
67
|
+
{% assign icon_family = ssm_menu_icon_family | strip | downcase %}
|
68
|
+
|
69
|
+
{% if icon_family == 'fontawesome' or icon_family == 'fontawesome5' %}
|
70
|
+
{% assign ssm_menu_icon_family = 'fa' %}
|
71
|
+
{% assign ssm_menu_icon_style = ssm_menu_icon_style %}
|
72
|
+
{% elsif icon_family == 'mdi' %}
|
73
|
+
{% assign ssm_menu_icon_family = 'mdi' %}
|
74
|
+
{% assign ssm_menu_icon_style = ssm_menu_icon_style %}
|
75
|
+
{% else %}
|
76
|
+
{% assign ssm_menu_icon_family = 'mdi' %}
|
77
|
+
{% assign ssm_menu_icon_style = ssm_menu_icon_style %}
|
78
|
+
{% endif %}
|
79
|
+
|
80
|
+
{% comment %} unused
|
81
|
+
--------------------------------------------------------------------------------
|
82
|
+
{% include {{select_color}} color=ssm_menu_icon_color fallback="#9E9E9E" %}
|
83
|
+
{% assign ssm_menu_icon_color = color %}
|
84
|
+
|
85
|
+
{% include {{select_icon_size}} family=ssm_menu_icon_family size=ssm_menu_icon_size %}
|
86
|
+
{% assign ssm_menu_icon_size = size %}
|
87
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
88
|
+
|
89
|
+
{% comment %} Main
|
90
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
91
|
+
<!-- [DEBUG ] [j1.modules.ssm_menu.html ] [collect all menu items] -->
|
92
|
+
<ul class="ssm-light-hover">
|
93
|
+
|
94
|
+
{% for menu in ssm_menu_config %}
|
95
|
+
|
96
|
+
{% comment %} {{menu | debug}}
|
97
|
+
---------------------------------------------------------------------------- {% endcomment %}
|
98
|
+
|
99
|
+
{% comment %} Identify the menu (item) type
|
100
|
+
---------------------------------------------------------------------------- {% endcomment %}
|
101
|
+
{% if menu.sublevel %}
|
102
|
+
{% assign menu_type = 'sublevel_menu' %}
|
103
|
+
{% elsif menu.sublevel == null and menu.megamenu == null and menu.login_menu == null and menu.theme_select == null %}
|
104
|
+
{% assign menu_type = 'top_level_item' %}
|
105
|
+
{% endif %}
|
106
|
+
|
107
|
+
{% comment %} Process all menu sections
|
108
|
+
---------------------------------------------------------------------------- {% endcomment %}
|
109
|
+
{% case menu_type %}
|
110
|
+
|
111
|
+
{% comment %} Collect items having a SUB menue
|
112
|
+
---------------------------------------------------------------------------- {% endcomment %}
|
113
|
+
{% when 'sublevel_menu' %}
|
114
|
+
<!-- [INFO ] [j1.modules.ssm_menu.html ] [found menu-type: sub-menue] -->
|
115
|
+
<!-- [INFO ] [j1.modules.ssm_menu.html ] [submenu sublevel detected] -->
|
116
|
+
{% if menu.enabled %}
|
117
|
+
<!-- [INFO ] [j1.modules.ssm_menu.html ] [processing: sublevel] -->
|
118
|
+
<li class="ssm-share-btn ssm-btn">
|
119
|
+
{% if menu.icon == null %}
|
120
|
+
<!-- [INFO ] [j1.modules.ssm_menu.html ] [no menu icon found] -->
|
121
|
+
<a href="#">{{menu.item}}>
|
122
|
+
<i class="{{ssm_menu_icon_family}} {{ssm_menu_icon_family}}-{{menu.icon}} {{menu.icon_classes}} {{ssm_menu_icon_color}} {{ssm_menu_icon_size}} ml-2 mr-3"></i>
|
123
|
+
{{menu.item}}
|
124
|
+
</a>
|
125
|
+
{% else %}
|
126
|
+
<a href="#"> <i class="{{ssm_menu_icon_family}} {{ssm_menu_icon_family}}-{{menu.icon}} {{menu.icon_classes}} {{ssm_menu_icon_color}} {{ssm_menu_icon_size}} ml-2 mr-3"></i>{{menu.item}}</a>
|
127
|
+
{% endif %}
|
128
|
+
<div class="ssm-sub-menu">
|
129
|
+
<ul>
|
130
|
+
{% for sublevel in menu.sublevel %}
|
131
|
+
{% if sublevel.event_handler == null %}
|
132
|
+
<!-- [INFO ] [j1.modules.ssm_menu.html ] [no event_handler found, create simple URL ] -->
|
133
|
+
{% if sublevel.icon == null %}
|
134
|
+
<li id="{{sublevel.id}}" class="ssm-btn">
|
135
|
+
<a href="{{sublevel.href}}{{ext}}">{{sublevel.title}}</a>
|
136
|
+
</li>
|
137
|
+
{% else %}
|
138
|
+
<li id="{{sublevel.id}}" class="ssm-btn">
|
139
|
+
<a href="{{sublevel.href}}{{ext}}" target="{{sublevel.target}}">{{sublevel.title}}</a>
|
140
|
+
</li>
|
141
|
+
{% endif %}
|
142
|
+
{% else %}
|
143
|
+
<!-- [INFO ] [j1.modules.ssm_menu.html ] [event_handler found, register click event ] -->
|
144
|
+
<li id="{{sublevel.id}}" class="ssm-btn">
|
145
|
+
<a href="{{sublevel.href}}{{ext}}" target="{{sublevel.target}}"
|
146
|
+
onclick="{{sublevel.event_handler}}">
|
147
|
+
<i class="{{ssm_menu_icon_family}} {{ssm_menu_icon_family}}-{{sublevel.icon}} {{sublevel.icon_classes}} {{ssm_menu_icon_color}} {{ssm_menu_icon_size}} ml-2 mr-3"></i>
|
148
|
+
{{sublevel.title}}
|
149
|
+
</a>
|
150
|
+
</li>
|
151
|
+
{% endif %}
|
152
|
+
{% endfor %} <!-- [INFO ] [j1.modules.ssm_menu.html ] [end processing: sublevel] -->
|
153
|
+
</ul>
|
154
|
+
</div>
|
155
|
+
</li>
|
156
|
+
{% else %}
|
157
|
+
<!-- [INFO ] [j1.modules.ssm_menu.html ] [sublevel menu disabled: {{sublevel.id}}] -->
|
158
|
+
{% endif %}
|
159
|
+
|
160
|
+
<!-- [INFO ] [j1.modules.ssm_menu.html ] [reset menu_type for next loop] -->
|
161
|
+
{% assign menu_type = '' %}
|
162
|
+
|
163
|
+
{% comment %} Collect TOP-LEVEL items (NO sub-menu)
|
164
|
+
---------------------------------------------------------------------------- {% endcomment %}
|
165
|
+
{% when 'top_level_item' %}
|
166
|
+
|
167
|
+
<!-- [INFO ] [j1.modules.ssm_menu.html ] [found menu-type: menu-top-level-only] -->
|
168
|
+
{% if menu.icon == null %}
|
169
|
+
<!-- [INFO ] [j1.modules.ssm_menu.html ] [no icon for menu-item found -->
|
170
|
+
{% if menu.target == null %}
|
171
|
+
<li class="ssm-btn">
|
172
|
+
<a id="{{menu.id}}" href="{{menu.href}}{{ext}}">{{menu.item}}</a>
|
173
|
+
</li>
|
174
|
+
{% else %}
|
175
|
+
<li class="ssm-btn">
|
176
|
+
<a id="{{menu.id}}" href="{{menu.href}}{{ext}}" target="{{menu.target}}">{{menu.item}}</a>
|
177
|
+
</li>
|
178
|
+
{% endif %}
|
179
|
+
{% elsif menu.icon %}
|
180
|
+
<!-- [INFO ] [j1.modules.ssm_menu.html ] [icon for menu-item found -->
|
181
|
+
{% if menu.href == null %}
|
182
|
+
{% if menu.enabled %}
|
183
|
+
<li class="ssm-btn">
|
184
|
+
<!-- a href="{{menu.href}}{{ext}}" -->
|
185
|
+
<a id="{{menu.id}}">
|
186
|
+
<i class="{{ssm_menu_icon_family}} {{ssm_menu_icon_family}}-{{menu.icon}} {{menu.icon_classes}} {{ssm_menu_icon_color}} {{ssm_menu_icon_size}} ml-2 mr-3"></i>
|
187
|
+
{{menu.item}}
|
188
|
+
</a>
|
189
|
+
</li>
|
190
|
+
{% else %}
|
191
|
+
<!-- [INFO ] [j1.modules.ssm_menu.html ] [menu item disabled: {{menu.id}}] -->
|
192
|
+
{% endif %}
|
193
|
+
{% else %}
|
194
|
+
{% if menu.enabled %}
|
195
|
+
<li class="ssm-btn">
|
196
|
+
<a id="{{menu.id}}" href="{{menu.href}}{{ext}}" target="{{menu.target}}">
|
197
|
+
<i class="{{ssm_menu_icon_family}} {{ssm_menu_icon_family}}-{{menu.icon}} {{menu.icon_classes}} {{ssm_menu_icon_color}} {{ssm_menu_icon_size}} ml-2 mr-3"></i>
|
198
|
+
{{menu.item}}
|
199
|
+
</a>
|
200
|
+
</li>
|
201
|
+
{% else %}
|
202
|
+
<!-- [INFO ] [j1.modules.ssm_menu.html ] [menu item disabled: {{menu.id}}] -->
|
203
|
+
{% endif %}
|
204
|
+
{% endif %}
|
205
|
+
{% else %}
|
206
|
+
<!-- [FATAL ] [ssm-top-level-only ] [processing menu item failed] -->
|
207
|
+
{% endif %}
|
208
|
+
<!-- [INFO ] [j1.modules.ssm_menu.html ] [menu-top-level-only: end items] -->
|
209
|
+
<!-- [INFO ] [j1.modules.ssm_menu.html ] [reset menu_type for next loop] -->
|
210
|
+
{% assign menu_type = '' %}
|
211
|
+
|
212
|
+
{% comment %} Collect items failed
|
213
|
+
-------------------------------------------------------------------------- {% endcomment %}
|
214
|
+
{% else %}
|
215
|
+
<!-- [FATAL ] [j1.modules.ssm_menu.html ] [detecting menu items|type failed] -->
|
216
|
+
{% assign menu_type = '' %}
|
217
|
+
|
218
|
+
{% endcase %}
|
219
|
+
|
220
|
+
{% endfor %}
|
221
|
+
<!-- [INFO ] [j1.modules.ssm_menu.html ] [nav_menu_settings: end menu] -->
|
222
|
+
</ul>
|
223
|
+
<!-- [INFO ] [j1.modules.ssm_menu.html ] [nav_menu_settings: end ssc container] -->
|
224
|
+
|
225
|
+
{% endcapture %}
|
226
|
+
{{cache | pretty_print | remove:'<html><body>' | remove:'</body></html>' | strip_empty_lines}}
|
227
|
+
{% assign cache = nil %}
|
@@ -4153,7 +4153,7 @@
|
|
4153
4153
|
# -----------------------------------------------------------------------------
|
4154
4154
|
*/
|
4155
4155
|
/* Margin Spaces (xs)
|
4156
|
-
|
4156
|
+
-------------------------------------------------------------------------------- */
|
4157
4157
|
@media (min-width: 0) {
|
4158
4158
|
.g-ma-0 {
|
4159
4159
|
margin: 0 !important; }
|
@@ -11450,6 +11450,144 @@ h4.result-item > a:hover {
|
|
11450
11450
|
font-weight: 400;
|
11451
11451
|
color: #424242; }
|
11452
11452
|
|
11453
|
+
/*
|
11454
|
+
# -----------------------------------------------------------------------------
|
11455
|
+
# ~/theme_uno/modules/_ssm.scss
|
11456
|
+
# Styles for J1 Sticky Side Menu
|
11457
|
+
#
|
11458
|
+
# Product/Info:
|
11459
|
+
# https://jekyll.one
|
11460
|
+
#
|
11461
|
+
# Copyright (C) 2020 Juergen Adams
|
11462
|
+
#
|
11463
|
+
# J1 Template is licensed under the MIT License.
|
11464
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
11465
|
+
#
|
11466
|
+
# -----------------------------------------------------------------------------
|
11467
|
+
*/
|
11468
|
+
#ssm-container {
|
11469
|
+
position: fixed;
|
11470
|
+
top: 0;
|
11471
|
+
z-index: 4;
|
11472
|
+
display: none; }
|
11473
|
+
|
11474
|
+
.ssm-btns-right {
|
11475
|
+
right: 0; }
|
11476
|
+
|
11477
|
+
.ssm-btns-left {
|
11478
|
+
left: 0; }
|
11479
|
+
|
11480
|
+
/* jadams, 2020-06-16: */
|
11481
|
+
.ssm-btn {
|
11482
|
+
background: #212121; }
|
11483
|
+
|
11484
|
+
.ssm-share-btn {
|
11485
|
+
background: #212121; }
|
11486
|
+
|
11487
|
+
.ssm-sub-menu {
|
11488
|
+
background: #212121; }
|
11489
|
+
|
11490
|
+
#ssm-container ul {
|
11491
|
+
padding: 0;
|
11492
|
+
margin: 0; }
|
11493
|
+
|
11494
|
+
#ssm-container ul li {
|
11495
|
+
list-style: none;
|
11496
|
+
line-height: 45px;
|
11497
|
+
margin: 0; }
|
11498
|
+
|
11499
|
+
#ssm-container ul li a {
|
11500
|
+
color: #9e9e9e;
|
11501
|
+
padding: 0 15px 0 0;
|
11502
|
+
display: inline-flex;
|
11503
|
+
line-height: 45px;
|
11504
|
+
text-align: left;
|
11505
|
+
white-space: nowrap;
|
11506
|
+
text-decoration: none; }
|
11507
|
+
|
11508
|
+
#ssm-container.ssm-btns-left ul li a {
|
11509
|
+
text-align: right;
|
11510
|
+
padding: 0 0 0 15px; }
|
11511
|
+
|
11512
|
+
#ssm-container ul li:hover {
|
11513
|
+
text-decoration: none;
|
11514
|
+
background: #d2d4dc; }
|
11515
|
+
|
11516
|
+
#ssm-container .ssm-share-btn {
|
11517
|
+
position: relative; }
|
11518
|
+
|
11519
|
+
#ssm-container .ssm-share-btn a {
|
11520
|
+
padding: 0; }
|
11521
|
+
|
11522
|
+
#ssm-container.ssm-btns-left .ssm-share-btn i.ssm-share-icon {
|
11523
|
+
float: right !important; }
|
11524
|
+
|
11525
|
+
#ssm-container ul li.ssm-share-btn:hover .ssm-sub-menu {
|
11526
|
+
display: block; }
|
11527
|
+
|
11528
|
+
.ssm-sub-menu {
|
11529
|
+
position: absolute;
|
11530
|
+
top: 100%;
|
11531
|
+
left: 100%;
|
11532
|
+
margin: 0 0 0 -50px;
|
11533
|
+
width: 155px;
|
11534
|
+
display: none; }
|
11535
|
+
|
11536
|
+
#ssm-container.ssm-btns-right .ssm-sub-menu {
|
11537
|
+
right: -100%;
|
11538
|
+
margin: 0 0 0 -110px;
|
11539
|
+
left: 0; }
|
11540
|
+
|
11541
|
+
#ssm-container .ssm-sub-menu a {
|
11542
|
+
padding: 0 !important;
|
11543
|
+
text-align: left !important; }
|
11544
|
+
|
11545
|
+
/* Old icon font styles */
|
11546
|
+
/*
|
11547
|
+
#ssm-container ul li span {
|
11548
|
+
line-height: 45px;
|
11549
|
+
width: 50px;
|
11550
|
+
text-align: center;
|
11551
|
+
display: inline-block;
|
11552
|
+
}
|
11553
|
+
|
11554
|
+
#ssm-container.ssm-btns-left ul li span {
|
11555
|
+
float: right;
|
11556
|
+
}
|
11557
|
+
|
11558
|
+
#ssm-container .ssm-share-btn span,
|
11559
|
+
#ssm-container.ssm-btns-left .ssm-share-btn span {
|
11560
|
+
float: none;
|
11561
|
+
}
|
11562
|
+
*/
|
11563
|
+
/*
|
11564
|
+
#ssm-container.ssm-anim-icons ul li {
|
11565
|
+
transition: transform 100ms;
|
11566
|
+
}
|
11567
|
+
|
11568
|
+
#ssm-container.ssm-anim-icons.ssm-btns-right ul li:hover {
|
11569
|
+
transform: translate(-15px, 0);
|
11570
|
+
}
|
11571
|
+
|
11572
|
+
#ssm-container.ssm-anim-icons.ssm-btns-left ul li:hover {
|
11573
|
+
transform: translate(15px, 0);
|
11574
|
+
}
|
11575
|
+
*/
|
11576
|
+
/* Responsive */
|
11577
|
+
/* jadams, 2020-06-29: media query for SSM
|
11578
|
+
-------------------------------------------------------------------------------- */
|
11579
|
+
/* Landscape iPad, 768px */
|
11580
|
+
@media only screen and (min-width: 576px) and (max-width: 768px) {
|
11581
|
+
.container, .container-fluid {
|
11582
|
+
padding-right: 30px !important;
|
11583
|
+
/* space for ssm */ } }
|
11584
|
+
|
11585
|
+
/* Small devices (landscape phones, up to 576px) */
|
11586
|
+
@media only screen and (max-width: 576px) {
|
11587
|
+
.container, .container-fluid {
|
11588
|
+
padding-right: 30px !important;
|
11589
|
+
/* space for ssm */ } }
|
11590
|
+
|
11453
11591
|
/*
|
11454
11592
|
# -----------------------------------------------------------------------------
|
11455
11593
|
# ~/theme_uno/modules/_toccer.scss
|