j1-template 2024.3.19 → 2024.3.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/assets/data/amplitude_app.html +174 -150
- data/assets/data/swiper_app.2.html +757 -0
- data/assets/data/swiper_app.4.html +769 -0
- data/assets/data/swiper_app.html +171 -27
- data/assets/theme/j1/adapter/js/amplitude.js +817 -165
- data/assets/theme/j1/adapter/js/swiper.js +63 -15
- data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.css +111 -101
- data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.min.css +1 -1
- data/assets/theme/j1/core/css/themes/unodark/bootstrap.css +111 -101
- data/assets/theme/j1/core/css/themes/unodark/bootstrap.min.css +1 -1
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.css +111 -101
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.css +140 -219
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.min.css +1 -1
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.css +117 -23
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.min.css +1 -1
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.css +323 -493
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.min.css +1 -2
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/mini.css +20 -73
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/mini.min.css +1 -1
- data/assets/theme/j1/modules/amplitudejs/js/tech/ytp.js +2062 -843
- data/assets/theme/j1/modules/amplitudejs/scss/theme/uno/dark/player/large.scss +439 -264
- data/assets/theme/j1/modules/swiperjs/css/modules/layoutBase.css +16 -0
- data/assets/theme/j1/modules/swiperjs/css/modules/layoutBase.min.css +16 -0
- data/assets/theme/j1/modules/swiperjs/css/modules/layoutExpanding.css +24 -24
- data/assets/theme/j1/modules/swiperjs/css/modules/layoutExpanding.min.css +1 -235
- data/assets/theme/j1/modules/swiperjs/css/modules/layoutNeighbor.min.css +2 -2
- data/assets/theme/j1/modules/swiperjs/css/modules/layoutParallax.css +16 -0
- data/assets/theme/j1/modules/swiperjs/css/modules/layoutParallax.min.css +16 -0
- data/assets/theme/j1/modules/swiperjs/css/modules/layoutStacked.css +6 -7
- data/assets/theme/j1/modules/swiperjs/css/modules/layoutStacked.min.css +1 -82
- data/assets/theme/j1/modules/swiperjs/css/modules/layoutThumbs.min.css +2 -29
- data/assets/theme/j1/modules/swiperjs/css/theme/uno.css +29 -12
- data/assets/theme/j1/modules/swiperjs/css/theme/uno.min.css +1 -1
- data/assets/theme/j1/modules/swiperjs/js/modules/layoutBase.js +25 -0
- data/assets/theme/j1/modules/swiperjs/js/modules/layoutBase.min.js +25 -0
- data/assets/theme/j1/modules/swiperjs/js/modules/layoutExpanding.js +1 -5
- data/assets/theme/j1/modules/swiperjs/js/modules/layoutExpanding.min.js +1 -5
- data/assets/theme/j1/modules/swiperjs/js/modules/layoutNeighbor.js +12 -14
- data/assets/theme/j1/modules/swiperjs/js/modules/layoutNeighbor.min.js +1 -17
- data/assets/theme/j1/modules/swiperjs/js/modules/layoutPanorama.js +0 -1
- data/assets/theme/j1/modules/swiperjs/js/modules/layoutParallax.js +25 -0
- data/assets/theme/j1/modules/swiperjs/js/modules/layoutParallax.min.js +25 -0
- data/assets/theme/j1/modules/swiperjs/js/modules/layoutStacked.0.js +114 -0
- data/assets/theme/j1/modules/swiperjs/js/modules/layoutStacked.1.js +93 -0
- data/assets/theme/j1/modules/swiperjs/js/modules/layoutStacked.js +42 -13
- data/assets/theme/j1/modules/swiperjs/js/modules/layoutStacked.min.js +17 -0
- data/assets/theme/j1/modules/swiperjs/js/modules/layoutThumbs.js +76 -25
- data/assets/theme/j1/modules/swiperjs/js/modules/layoutThumbs.min.js +1 -17
- data/assets/theme/j1/modules/swiperjs/js/swiper-bundle.js +9152 -9131
- data/assets/theme/j1/modules/swiperjs/js/swiper-bundle.min.js +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/modules/amplitude_app.yml +206 -23
- data/lib/starter_web/_data/modules/amplitude_playlists.yml +1122 -19
- data/lib/starter_web/_data/modules/defaults/{amplitude_app.yml → amplitude.yml} +70 -26
- data/lib/starter_web/_data/modules/swiper_app.yml +289 -155
- data/lib/starter_web/_data/modules/swiper_playlists.yml +51 -1
- data/lib/starter_web/_data/resources.yml +6 -2
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_plugins/filter/filters.rb +1 -11
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/image/module/swiper/avatar/avatar-1.png +0 -0
- data/lib/starter_web/assets/image/module/swiper/avatar/avatar-2.png +0 -0
- data/lib/starter_web/assets/image/module/swiper/avatar/avatar-3.png +0 -0
- data/lib/starter_web/assets/image/module/swiper/avatar/avatar-4.png +0 -0
- data/lib/starter_web/assets/image/module/swiper/avatar/avatar-5.png +0 -0
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/tools/previewer/preview_amplitudejs.adoc +82 -34
- data/lib/starter_web/pages/public/tools/tester/app_tester_amplitudejs_yt.adoc +62 -15
- data/lib/starter_web/pages/public/tools/tester/app_tester_swiperjs.adoc +121 -36
- data/lib/starter_web/pages/public/tour/play_audio.adoc +60 -70
- data/lib/starter_web/pages/public/tour/play_video.adoc +1 -1
- metadata +29 -14
- data/assets/theme/j1/modules/swiperjs/js/highlightJS.js +0 -13376
- data/assets/theme/j1/modules/swiperjs/js/highlightJS.min.js +0 -1246
- data/assets/theme/j1/modules/swiperjs/js/modules/!readme +0 -3
- /data/lib/starter_web/assets/image/module/swiper/extended/{poster → stacked}/!info/!readme +0 -0
- /data/lib/starter_web/assets/image/module/swiper/extended/{poster → stacked}/image/!readme +0 -0
- /data/lib/starter_web/assets/image/module/swiper/extended/{poster → stacked}/image/1.jpg +0 -0
- /data/lib/starter_web/assets/image/module/swiper/extended/{poster → stacked}/image/2.jpg +0 -0
- /data/lib/starter_web/assets/image/module/swiper/extended/{poster → stacked}/image/3.jpg +0 -0
- /data/lib/starter_web/assets/image/module/swiper/extended/{poster → stacked}/image/4.jpg +0 -0
- /data/lib/starter_web/assets/image/module/swiper/extended/{poster → stacked}/image/5.jpg +0 -0
- /data/lib/starter_web/assets/image/module/swiper/extended/{poster → stacked}/image/6.jpg +0 -0
@@ -0,0 +1,16 @@
|
|
1
|
+
/*
|
2
|
+
# -----------------------------------------------------------------------------
|
3
|
+
# ~/assets/theme/j1/modules/swiper/css/modules/layoutBase.css
|
4
|
+
# CSS styles of the J1 module for SwiperJS v11 (layout)
|
5
|
+
# -----------------------------------------------------------------------------
|
6
|
+
#
|
7
|
+
# Product/Info:
|
8
|
+
# http://jekyll.one
|
9
|
+
#
|
10
|
+
# Copyright (C) 2025 Juergen Adams
|
11
|
+
#
|
12
|
+
# J1 Theme is licensed under MIT License.
|
13
|
+
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE
|
14
|
+
# -----------------------------------------------------------------------------
|
15
|
+
*/
|
16
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/*
|
2
|
+
# -----------------------------------------------------------------------------
|
3
|
+
# ~/assets/theme/j1/modules/swiper/css/modules/layoutBase.css
|
4
|
+
# CSS styles of the J1 module for SwiperJS v11 (layout)
|
5
|
+
# -----------------------------------------------------------------------------
|
6
|
+
#
|
7
|
+
# Product/Info:
|
8
|
+
# http://jekyll.one
|
9
|
+
#
|
10
|
+
# Copyright (C) 2025 Juergen Adams
|
11
|
+
#
|
12
|
+
# J1 Theme is licensed under MIT License.
|
13
|
+
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE
|
14
|
+
# -----------------------------------------------------------------------------
|
15
|
+
*/
|
16
|
+
|
@@ -33,8 +33,8 @@
|
|
33
33
|
}
|
34
34
|
|
35
35
|
.swiper-slide {
|
36
|
-
|
37
|
-
|
36
|
+
background: var(--md-gray-50);
|
37
|
+
/* background: var(--md-gray); */
|
38
38
|
}
|
39
39
|
|
40
40
|
.expanding-slide {
|
@@ -54,26 +54,26 @@
|
|
54
54
|
}
|
55
55
|
|
56
56
|
.expanding-slide .slide-cover-title {
|
57
|
+
position: absolute;
|
58
|
+
left: 0;
|
59
|
+
top: 0px;
|
60
|
+
width: 100%;
|
57
61
|
box-sizing: border-box;
|
58
62
|
padding: 8px 16px;
|
59
63
|
font-size: 24px;
|
60
64
|
color: #fff;
|
61
|
-
position: absolute;
|
62
|
-
left: 0;
|
63
|
-
top: 0px;
|
64
|
-
width: 100%;
|
65
65
|
text-align: center;
|
66
|
-
z-index: 10;
|
67
66
|
font-weight: 600;
|
67
|
+
z-index: 10;
|
68
68
|
}
|
69
69
|
|
70
70
|
.expanding-slide .slide-cover-coords {
|
71
|
-
padding: 8px 16px;
|
72
|
-
width: 100%;
|
73
|
-
box-sizing: border-box;
|
74
71
|
position: absolute;
|
75
72
|
left: 0;
|
76
73
|
bottom: 0;
|
74
|
+
padding: 8px 16px;
|
75
|
+
width: 100%;
|
76
|
+
box-sizing: border-box;
|
77
77
|
display: flex;
|
78
78
|
justify-content: space-between;
|
79
79
|
z-index: 10;
|
@@ -124,11 +124,11 @@
|
|
124
124
|
}
|
125
125
|
|
126
126
|
.expanding-slide {
|
127
|
-
overflow: hidden;
|
128
127
|
position: relative;
|
129
|
-
box-sizing: border-box;
|
130
128
|
width: 100%;
|
131
|
-
margin: 0 auto;
|
129
|
+
margin: 0 auto;
|
130
|
+
overflow: hidden;
|
131
|
+
box-sizing: border-box;
|
132
132
|
}
|
133
133
|
|
134
134
|
.expanding-slide .swiper {
|
@@ -148,9 +148,9 @@ max-width: calc(100% - 32px - 32px);
|
|
148
148
|
|
149
149
|
/* jadams, DISABLED width */
|
150
150
|
.expanding-slide .swiper-slide {
|
151
|
+
display: flex;
|
151
152
|
justify-content: center;
|
152
153
|
align-items: center;
|
153
|
-
display: flex;
|
154
154
|
/* width: calc(100% - 32px); */
|
155
155
|
}
|
156
156
|
|
@@ -167,8 +167,8 @@ max-width: calc(100% - 32px - 32px);
|
|
167
167
|
|
168
168
|
/* jadams, changed width */
|
169
169
|
.expanding-slide-container {
|
170
|
-
/* max-width: calc(100% - 32px); */
|
171
170
|
width: 90%;
|
171
|
+
/* max-width: calc(100% - 32px); */
|
172
172
|
max-width: 640px;
|
173
173
|
position: relative;
|
174
174
|
margin-bottom: 1.5rem;
|
@@ -180,25 +180,25 @@ max-width: calc(100% - 32px - 32px);
|
|
180
180
|
}
|
181
181
|
|
182
182
|
.expanding-slide-cover img {
|
183
|
-
|
184
|
-
border-radius: var(--expanding-slide-cover-border-radius);
|
183
|
+
position: relative;
|
185
184
|
display: block;
|
185
|
+
width: 100%;
|
186
186
|
margin: 0;
|
187
|
-
|
187
|
+
border-radius: var(--expanding-slide-cover-border-radius);
|
188
188
|
z-index: 2;
|
189
189
|
}
|
190
190
|
|
191
191
|
.expanding-slide-cover::before {
|
192
|
-
content: "";
|
193
192
|
position: absolute;
|
193
|
+
content: "";
|
194
194
|
width: 100%;
|
195
195
|
height: 90%;
|
196
196
|
left: 0;
|
197
197
|
bottom: 0;
|
198
|
-
border-radius: var(--expanding-slide-cover-border-radius);
|
199
|
-
z-index: 1;
|
198
|
+
border-radius: var(--expanding-slide-cover-border-radius);
|
200
199
|
transform-origin: center bottom;
|
201
200
|
box-shadow: var(--expanding-slide-cover-box-shadow);
|
201
|
+
z-index: 1;
|
202
202
|
}
|
203
203
|
|
204
204
|
.swiper-slide.swiper-slide-active .expanding-slide-cover {
|
@@ -218,15 +218,15 @@ max-width: calc(100% - 32px - 32px);
|
|
218
218
|
.expanding-slide-content {
|
219
219
|
position: absolute;
|
220
220
|
box-sizing: border-box;
|
221
|
+
top: 0;
|
221
222
|
left: calc(-1 * var(--expanding-slide-content-horizontal-offset));
|
222
223
|
right: calc(-1 * var(--expanding-slide-content-horizontal-offset));
|
223
|
-
top: 0;
|
224
|
-
z-index: 0;
|
225
224
|
padding-top: calc(var(--expanding-slide-cover-height) - var(--expanding-slide-content-vertical-offset));
|
226
225
|
border-radius: var(--expanding-slide-content-border-radius);
|
227
226
|
transform: scaleX(var(--expanding-slide-scale-x)) scaleY(var(--expanding-slide-scale-y));
|
228
227
|
transform-origin: center top;
|
229
228
|
background: var(--expanding-slide-content-bg-color);
|
229
|
+
z-index: 0;
|
230
230
|
}
|
231
231
|
|
232
232
|
.expanding-slide-content-inner {
|
@@ -246,7 +246,7 @@ max-width: calc(100% - 32px - 32px);
|
|
246
246
|
*/
|
247
247
|
|
248
248
|
.expanding-slide-opened .expanding-slide-content {
|
249
|
-
transform: scale(1) translateY(calc(var(--expanding-slide-opened-translate-y) + var(--expanding-slide-content-vertical-offset)));
|
250
249
|
opacity: 1;
|
250
|
+
transform: scale(1) translateY(calc(var(--expanding-slide-opened-translate-y) + var(--expanding-slide-content-vertical-offset)));
|
251
251
|
background-color: antiquewhite;
|
252
252
|
}
|
@@ -14,238 +14,4 @@
|
|
14
14
|
# -----------------------------------------------------------------------------
|
15
15
|
*/
|
16
16
|
|
17
|
-
|
18
|
-
-------------------------------------------------------------------------------- */
|
19
|
-
|
20
|
-
:root {
|
21
|
-
--expanding-slide-content-bg-color: #fff;
|
22
|
-
--expanding-slide-content-vertical-offset: 32px;
|
23
|
-
--expanding-slide-content-horizontal-offset: 16px;
|
24
|
-
--expanding-slide-content-padding: 16px;
|
25
|
-
--expanding-slide-content-border-radius: 0px;
|
26
|
-
--expanding-slide-cover-border-radius: 0px;
|
27
|
-
--expanding-slide-inactive-cover-opacity: 0.5;
|
28
|
-
--expanding-slide-opened-translate-y: -64px;
|
29
|
-
--expanding-slide-cover-box-shadow: 0px 8px 16px rgba(0, 0, 0, 0);
|
30
|
-
/*
|
31
|
-
--expanding-slide-opened-cover-box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
|
32
|
-
*/
|
33
|
-
}
|
34
|
-
|
35
|
-
.swiper-slide {
|
36
|
-
/* background: var(--md-gray-50); */
|
37
|
-
background: var(--md-gray);
|
38
|
-
}
|
39
|
-
.expanding-slide {
|
40
|
-
width: 100%;
|
41
|
-
height: 100%;
|
42
|
-
}
|
43
|
-
|
44
|
-
.expanding-slide-cover {
|
45
|
-
color: #fff;
|
46
|
-
}
|
47
|
-
|
48
|
-
@media (orientation: portrait) {
|
49
|
-
.expanding-slide-cover img {
|
50
|
-
height: 40vh;
|
51
|
-
object-fit: cover;
|
52
|
-
}
|
53
|
-
}
|
54
|
-
|
55
|
-
.expanding-slide .slide-cover-title {
|
56
|
-
box-sizing: border-box;
|
57
|
-
padding: 8px 16px;
|
58
|
-
font-size: 24px;
|
59
|
-
color: #fff;
|
60
|
-
position: absolute;
|
61
|
-
left: 0;
|
62
|
-
top: 0px;
|
63
|
-
width: 100%;
|
64
|
-
text-align: center;
|
65
|
-
z-index: 10;
|
66
|
-
font-weight: 600;
|
67
|
-
}
|
68
|
-
|
69
|
-
.expanding-slide .slide-cover-coords {
|
70
|
-
padding: 8px 16px;
|
71
|
-
width: 100%;
|
72
|
-
box-sizing: border-box;
|
73
|
-
position: absolute;
|
74
|
-
left: 0;
|
75
|
-
bottom: 0;
|
76
|
-
display: flex;
|
77
|
-
justify-content: space-between;
|
78
|
-
z-index: 10;
|
79
|
-
text-transform: uppercase;
|
80
|
-
font-size: 12px;
|
81
|
-
font-weight: 500;
|
82
|
-
}
|
83
|
-
|
84
|
-
.expanding-slide .slide-content {
|
85
|
-
display: flex;
|
86
|
-
justify-content: space-between;
|
87
|
-
align-items: center;
|
88
|
-
align-content: center;
|
89
|
-
flex-wrap: wrap;
|
90
|
-
}
|
91
|
-
|
92
|
-
.expanding-slide .slide-content-title {
|
93
|
-
text-align: center;
|
94
|
-
font-size: 16px;
|
95
|
-
margin-bottom: 8px;
|
96
|
-
font-weight: 600;
|
97
|
-
width: 100%;
|
98
|
-
}
|
99
|
-
|
100
|
-
.expanding-slide .slide-content-avatars {
|
101
|
-
display: flex;
|
102
|
-
}
|
103
|
-
|
104
|
-
.expanding-slide .slide-content-avatars img {
|
105
|
-
border-radius: 50%;
|
106
|
-
width: 32px;
|
107
|
-
height: 32px;
|
108
|
-
border: 4px solid #fff;
|
109
|
-
}
|
110
|
-
|
111
|
-
.expanding-slide .slide-content-avatars img + img {
|
112
|
-
margin-left: -16px;
|
113
|
-
}
|
114
|
-
|
115
|
-
.expanding-slide .slide-content-rating {
|
116
|
-
display: flex;
|
117
|
-
}
|
118
|
-
|
119
|
-
/* jadams */
|
120
|
-
.expanding-slide .slide-content-rating img {
|
121
|
-
width: 80px;
|
122
|
-
height: 16px;
|
123
|
-
}
|
124
|
-
|
125
|
-
.expanding-slide {
|
126
|
-
overflow: hidden;
|
127
|
-
position: relative;
|
128
|
-
box-sizing: border-box;
|
129
|
-
width: 100%;
|
130
|
-
margin: 0 auto;
|
131
|
-
}
|
132
|
-
|
133
|
-
.expanding-slide .swiper {
|
134
|
-
width: 100%;
|
135
|
-
height: 100%;
|
136
|
-
transform-style: preserve-3d;
|
137
|
-
transform: translate3d(0, 0, 0);
|
138
|
-
}
|
139
|
-
|
140
|
-
/* jadams, 2025-02-20: */
|
141
|
-
/*
|
142
|
-
.expanding-slide .swiper-slide {
|
143
|
-
width: 600px;
|
144
|
-
max-width: calc(100% - 32px - 32px);
|
145
|
-
}
|
146
|
-
*/
|
147
|
-
|
148
|
-
/* jadams, DISABLED width */
|
149
|
-
.expanding-slide .swiper-slide {
|
150
|
-
justify-content: center;
|
151
|
-
align-items: center;
|
152
|
-
display: flex;
|
153
|
-
/* width: calc(100% - 32px); */
|
154
|
-
}
|
155
|
-
|
156
|
-
.expanding-slide-initialized .expanding-slide-content,
|
157
|
-
.expanding-slide-initialized .expanding-slide-cover,
|
158
|
-
.expanding-slide-initialized .expanding-slide-cover::before {
|
159
|
-
transition-duration: 300ms;
|
160
|
-
}
|
161
|
-
|
162
|
-
.expanding-slide-container, .expanding-slide-cover {
|
163
|
-
-webkit-touch-callout: none;
|
164
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
165
|
-
}
|
166
|
-
|
167
|
-
/* jadams, changed width */
|
168
|
-
.expanding-slide-container {
|
169
|
-
/* max-width: calc(100% - 32px); */
|
170
|
-
width: 90%;
|
171
|
-
max-width: 640px;
|
172
|
-
position: relative;
|
173
|
-
margin-bottom: 1.5rem;
|
174
|
-
}
|
175
|
-
|
176
|
-
.expanding-slide-cover {
|
177
|
-
opacity: var(--expanding-slide-inactive-cover-opacity);
|
178
|
-
position: relative;
|
179
|
-
}
|
180
|
-
|
181
|
-
.expanding-slide-cover img {
|
182
|
-
width: 100%;
|
183
|
-
border-radius: var(--expanding-slide-cover-border-radius);
|
184
|
-
display: block;
|
185
|
-
margin: 0;
|
186
|
-
position: relative;
|
187
|
-
z-index: 2;
|
188
|
-
}
|
189
|
-
|
190
|
-
.expanding-slide-cover::before {
|
191
|
-
content: "";
|
192
|
-
position: absolute;
|
193
|
-
width: 100%;
|
194
|
-
height: 90%;
|
195
|
-
left: 0;
|
196
|
-
bottom: 0;
|
197
|
-
border-radius: var(--expanding-slide-cover-border-radius);
|
198
|
-
z-index: 1;
|
199
|
-
transform-origin: center bottom;
|
200
|
-
box-shadow: var(--expanding-slide-cover-box-shadow);
|
201
|
-
}
|
202
|
-
|
203
|
-
.swiper-slide.swiper-slide-active .expanding-slide-cover {
|
204
|
-
opacity: 1;
|
205
|
-
cursor: pointer;
|
206
|
-
}
|
207
|
-
|
208
|
-
.swiper-slide:not(.swiper-slide-active) .expanding-slide-cover::before {
|
209
|
-
box-shadow: none;
|
210
|
-
}
|
211
|
-
|
212
|
-
.swiper-slide:not(.swiper-slide-active) .expanding-slide-content {
|
213
|
-
opacity: 0;
|
214
|
-
}
|
215
|
-
|
216
|
-
/* jadams */
|
217
|
-
.expanding-slide-content {
|
218
|
-
position: absolute;
|
219
|
-
box-sizing: border-box;
|
220
|
-
left: calc(-1 * var(--expanding-slide-content-horizontal-offset));
|
221
|
-
right: calc(-1 * var(--expanding-slide-content-horizontal-offset));
|
222
|
-
top: 0;
|
223
|
-
z-index: 0;
|
224
|
-
padding-top: calc(var(--expanding-slide-cover-height) - var(--expanding-slide-content-vertical-offset));
|
225
|
-
border-radius: var(--expanding-slide-content-border-radius);
|
226
|
-
transform: scaleX(var(--expanding-slide-scale-x)) scaleY(var(--expanding-slide-scale-y));
|
227
|
-
transform-origin: center top;
|
228
|
-
background: var(--expanding-slide-content-bg-color);
|
229
|
-
}
|
230
|
-
|
231
|
-
.expanding-slide-content-inner {
|
232
|
-
padding: var(--expanding-slide-content-padding);
|
233
|
-
box-sizing: border-box;
|
234
|
-
}
|
235
|
-
|
236
|
-
.expanding-slide-opened .expanding-slide-cover {
|
237
|
-
transform: translateY(var(--expanding-slide-opened-translate-y));
|
238
|
-
}
|
239
|
-
|
240
|
-
/* jadams */
|
241
|
-
/*
|
242
|
-
.expanding-slide-opened .expanding-slide-cover::before {
|
243
|
-
box-shadow: var(--expanding-slide-opened-cover-box-shadow);
|
244
|
-
}
|
245
|
-
*/
|
246
|
-
|
247
|
-
.expanding-slide-opened .expanding-slide-content {
|
248
|
-
transform: scale(1) translateY(calc(var(--expanding-slide-opened-translate-y) + var(--expanding-slide-content-vertical-offset)));
|
249
|
-
opacity: 1;
|
250
|
-
background-color: antiquewhite;
|
251
|
-
}
|
17
|
+
:root{--expanding-slide-content-bg-color:#fff;--expanding-slide-content-vertical-offset:32px;--expanding-slide-content-horizontal-offset:16px;--expanding-slide-content-padding:16px;--expanding-slide-content-border-radius:0;--expanding-slide-cover-border-radius:0;--expanding-slide-inactive-cover-opacity:.5;--expanding-slide-opened-translate-y:-64px;--expanding-slide-cover-box-shadow:0 8px 16px rgba(0,0,0,0)}.swiper-slide{background:var(--md-gray)}.expanding-slide{width:100%;height:100%}.expanding-slide-cover{color:#fff}@media(orientation:portrait){.expanding-slide-cover img{height:40vh;object-fit:cover}}.expanding-slide .slide-cover-title{box-sizing:border-box;padding:8px 16px;font-size:24px;color:#fff;position:absolute;left:0;top:0;width:100%;text-align:center;z-index:10;font-weight:600}.expanding-slide .slide-cover-coords{padding:8px 16px;width:100%;box-sizing:border-box;position:absolute;left:0;bottom:0;display:flex;justify-content:space-between;z-index:10;text-transform:uppercase;font-size:12px;font-weight:500}.expanding-slide .slide-content{display:flex;justify-content:space-between;align-items:center;align-content:center;flex-wrap:wrap}.expanding-slide .slide-content-title{text-align:center;font-size:16px;margin-bottom:8px;font-weight:600;width:100%}.expanding-slide .slide-content-avatars{display:flex}.expanding-slide .slide-content-avatars img{border-radius:50%;width:32px;height:32px;border:4px solid #fff}.expanding-slide .slide-content-avatars img+img{margin-left:-16px}.expanding-slide .slide-content-rating{display:flex}.expanding-slide .slide-content-rating img{width:80px;height:16px}.expanding-slide{overflow:hidden;position:relative;box-sizing:border-box;width:100%;margin:0 auto}.expanding-slide .swiper{width:100%;height:100%;transform-style:preserve-3d;transform:translate3d(0,0,0)}.expanding-slide .swiper-slide{justify-content:center;align-items:center;display:flex}.expanding-slide-initialized .expanding-slide-content,.expanding-slide-initialized .expanding-slide-cover,.expanding-slide-initialized .expanding-slide-cover::before{transition-duration:300ms}.expanding-slide-container,.expanding-slide-cover{-webkit-touch-callout:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.expanding-slide-container{width:90%;max-width:640px;position:relative;margin-bottom:1.5rem}.expanding-slide-cover{opacity:var(--expanding-slide-inactive-cover-opacity);position:relative}.expanding-slide-cover img{width:100%;border-radius:var(--expanding-slide-cover-border-radius);display:block;margin:0;position:relative;z-index:2}.expanding-slide-cover::before{content:"";position:absolute;width:100%;height:90%;left:0;bottom:0;border-radius:var(--expanding-slide-cover-border-radius);z-index:1;transform-origin:center bottom;box-shadow:var(--expanding-slide-cover-box-shadow)}.swiper-slide.swiper-slide-active .expanding-slide-cover{opacity:1;cursor:pointer}.swiper-slide:not(.swiper-slide-active) .expanding-slide-cover::before{box-shadow:none}.swiper-slide:not(.swiper-slide-active) .expanding-slide-content{opacity:0}.expanding-slide-content{position:absolute;box-sizing:border-box;left:calc(-1 * var(--expanding-slide-content-horizontal-offset));right:calc(-1 * var(--expanding-slide-content-horizontal-offset));top:0;z-index:0;padding-top:calc(var(--expanding-slide-cover-height) - var(--expanding-slide-content-vertical-offset));border-radius:var(--expanding-slide-content-border-radius);transform:scaleX(var(--expanding-slide-scale-x)) scaleY(var(--expanding-slide-scale-y));transform-origin:center top;background:var(--expanding-slide-content-bg-color)}.expanding-slide-content-inner{padding:var(--expanding-slide-content-padding);box-sizing:border-box}.expanding-slide-opened .expanding-slide-cover{transform:translateY(var(--expanding-slide-opened-translate-y))}.expanding-slide-opened .expanding-slide-content{transform:scale(1) translateY(calc(var(--expanding-slide-opened-translate-y)+var(--expanding-slide-content-vertical-offset)));opacity:1;background-color:antiquewhite}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*
|
2
2
|
# -----------------------------------------------------------------------------
|
3
|
-
# ~/assets/theme/j1/modules/swiper/css/modules/layoutNeighbor.css
|
3
|
+
# ~/assets/theme/j1/modules/swiper/css/modules/layoutNeighbor.min.css
|
4
4
|
# CSS styles of the J1 module for SwiperJS v11 (layout)
|
5
5
|
# -----------------------------------------------------------------------------
|
6
6
|
#
|
@@ -14,4 +14,4 @@
|
|
14
14
|
# -----------------------------------------------------------------------------
|
15
15
|
*/
|
16
16
|
|
17
|
-
.neighbor-slider{position:relative;overflow:hidden}.neighbor-slider .swiper{width:90%;max-width:
|
17
|
+
.neighbor-slider{position:relative;overflow:hidden}.neighbor-slider .swiper{width:90%;max-width:540px;height:320px}.neighbor-slider .neighbor-slider-main{position:relative;z-index:10;box-shadow:0 0 30px rgba(0,0,0,0.5)}.neighbor-slider .neighbor-slider-prev,.neighbor-slider .neighbor-slider-next{position:absolute;top:50%;cursor:pointer;user-select:none;-webkit-user-select:none;opacity:.75;filter:grayscale(1);transform:translateY(-50%) scale(1) rotateY(0)}.neighbor-slider .neighbor-slider-prev{right:50%}.neighbor-slider .neighbor-slider-next{left:50%}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/*
|
2
|
+
# -----------------------------------------------------------------------------
|
3
|
+
# ~/assets/theme/j1/modules/swiper/css/modules/layoutParallax.css
|
4
|
+
# CSS styles of the J1 module for SwiperJS v11 (layout)
|
5
|
+
# -----------------------------------------------------------------------------
|
6
|
+
#
|
7
|
+
# Product/Info:
|
8
|
+
# http://jekyll.one
|
9
|
+
#
|
10
|
+
# Copyright (C) 2025 Juergen Adams
|
11
|
+
#
|
12
|
+
# J1 Theme is licensed under MIT License.
|
13
|
+
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE
|
14
|
+
# -----------------------------------------------------------------------------
|
15
|
+
*/
|
16
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/*
|
2
|
+
# -----------------------------------------------------------------------------
|
3
|
+
# ~/assets/theme/j1/modules/swiper/css/modules/layoutParallax.min.css
|
4
|
+
# CSS styles of the J1 module for SwiperJS v11 (layout)
|
5
|
+
# -----------------------------------------------------------------------------
|
6
|
+
#
|
7
|
+
# Product/Info:
|
8
|
+
# http://jekyll.one
|
9
|
+
#
|
10
|
+
# Copyright (C) 2025 Juergen Adams
|
11
|
+
#
|
12
|
+
# J1 Theme is licensed under MIT License.
|
13
|
+
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE
|
14
|
+
# -----------------------------------------------------------------------------
|
15
|
+
*/
|
16
|
+
|
@@ -21,29 +21,29 @@
|
|
21
21
|
--stacked-slider-width: 265px;
|
22
22
|
/* height of the swiper container (image) */
|
23
23
|
--stacked-slider-height: 392px;
|
24
|
-
|
25
|
-
|
24
|
+
}
|
25
|
+
|
26
26
|
/*
|
27
27
|
* VW unit CSS: viewport width.
|
28
28
|
* Relative unit that represents a percentage of the width of the
|
29
29
|
* current viewport.
|
30
30
|
* NOTE: 1vw means 1 percent of the screen width.
|
31
31
|
*/
|
32
|
-
|
32
|
+
|
33
33
|
@media ((orientation: portrait) and (min-width: 768px)) {
|
34
34
|
.stacked-slider {
|
35
35
|
--stacked-slider-width: 68vw;
|
36
36
|
--stacked-slider-height: 55vw;
|
37
37
|
}
|
38
38
|
}
|
39
|
-
|
39
|
+
|
40
40
|
@media ((orientation: portrait) and (min-width: 576px)) {
|
41
41
|
.stacked-slider {
|
42
42
|
--stacked-slider-width: 68vw;
|
43
43
|
--stacked-slider-height: 60vw;
|
44
44
|
}
|
45
45
|
}
|
46
|
-
|
46
|
+
|
47
47
|
@media ((orientation: portrait) and (max-width: 575.98px)) {
|
48
48
|
.stacked-slider {
|
49
49
|
--stacked-slider-width: 72vw;
|
@@ -57,7 +57,7 @@
|
|
57
57
|
--stacked-slider-height: 80vh;
|
58
58
|
}
|
59
59
|
}
|
60
|
-
|
60
|
+
|
61
61
|
@media ((orientation: landscape) and (min-width: 992px)) {
|
62
62
|
.stacked-slider {
|
63
63
|
--stacked-slider-width: calc(80vh / 1.1);
|
@@ -95,4 +95,3 @@
|
|
95
95
|
height: 100%;
|
96
96
|
object-fit: cover;
|
97
97
|
}
|
98
|
-
|
@@ -14,85 +14,4 @@
|
|
14
14
|
# -----------------------------------------------------------------------------
|
15
15
|
*/
|
16
16
|
|
17
|
-
:root {
|
18
|
-
/* actually sets slide shadow that should match background color of the element behind th slider */
|
19
|
-
--stacked-slider-shadow-bg-color: #000;
|
20
|
-
/* width of the swiper container (image) */
|
21
|
-
--stacked-slider-width: 265px;
|
22
|
-
/* height of the swiper container (image) */
|
23
|
-
--stacked-slider-height: 392px;
|
24
|
-
}
|
25
|
-
|
26
|
-
/*
|
27
|
-
* VW unit CSS: viewport width.
|
28
|
-
* Relative unit that represents a percentage of the width of the
|
29
|
-
* current viewport.
|
30
|
-
* NOTE: 1vw means 1 percent of the screen width.
|
31
|
-
*/
|
32
|
-
|
33
|
-
@media ((orientation: portrait) and (min-width: 768px)) {
|
34
|
-
.stacked-slider {
|
35
|
-
--stacked-slider-width: 68vw;
|
36
|
-
--stacked-slider-height: 55vw;
|
37
|
-
}
|
38
|
-
}
|
39
|
-
|
40
|
-
@media ((orientation: portrait) and (min-width: 576px)) {
|
41
|
-
.stacked-slider {
|
42
|
-
--stacked-slider-width: 68vw;
|
43
|
-
--stacked-slider-height: 60vw;
|
44
|
-
}
|
45
|
-
}
|
46
|
-
|
47
|
-
@media ((orientation: portrait) and (max-width: 575.98px)) {
|
48
|
-
.stacked-slider {
|
49
|
-
--stacked-slider-width: 72vw;
|
50
|
-
--stacked-slider-height: 162vw;
|
51
|
-
}
|
52
|
-
}
|
53
|
-
|
54
|
-
@media ((orientation: landscape) and (min-width: 768px)) {
|
55
|
-
.stacked-slider {
|
56
|
-
--stacked-slider-width: calc(80vh / 1.1);
|
57
|
-
--stacked-slider-height: 80vh;
|
58
|
-
}
|
59
|
-
}
|
60
|
-
|
61
|
-
@media ((orientation: landscape) and (min-width: 992px)) {
|
62
|
-
.stacked-slider {
|
63
|
-
--stacked-slider-width: calc(80vh / 1.1);
|
64
|
-
--stacked-slider-height: 55vh;
|
65
|
-
}
|
66
|
-
}
|
67
|
-
|
68
|
-
.stacked-slider {
|
69
|
-
display: flex;
|
70
|
-
overflow: hidden;
|
71
|
-
position: relative;
|
72
|
-
box-sizing: border-box;
|
73
|
-
width: 100%;
|
74
|
-
margin: 0 auto;
|
75
|
-
}
|
76
|
-
|
77
|
-
.stacked-slider .swiper {
|
78
|
-
overflow: visible;
|
79
|
-
width: var(--stacked-slider-width);
|
80
|
-
height: var(--stacked-slider-height);
|
81
|
-
}
|
82
|
-
|
83
|
-
.stacked-slider .swiper-slide {
|
84
|
-
border-radius: 10px;
|
85
|
-
justify-content: center;
|
86
|
-
display: flex;
|
87
|
-
}
|
88
|
-
|
89
|
-
.stacked-slider .swiper-slide-shadow {
|
90
|
-
background: var(--stacked-slider-shadow-bg-color);
|
91
|
-
}
|
92
|
-
|
93
|
-
.stacked-slider img {
|
94
|
-
width: 100%;
|
95
|
-
height: 100%;
|
96
|
-
object-fit: cover;
|
97
|
-
}
|
98
|
-
|
17
|
+
:root{--stacked-slider-shadow-bg-color:#000;--stacked-slider-width:265px;--stacked-slider-height:392px}@media((orientation:portrait) and (min-width:768px)){.stacked-slider{--stacked-slider-width:68vw;--stacked-slider-height:55vw}}@media((orientation:portrait) and (min-width:576px)){.stacked-slider{--stacked-slider-width:68vw;--stacked-slider-height:60vw}}@media((orientation:portrait) and (max-width:575.98px)){.stacked-slider{--stacked-slider-width:72vw;--stacked-slider-height:162vw}}@media((orientation:landscape) and (min-width:768px)){.stacked-slider{--stacked-slider-width:calc(80vh / 1.1);--stacked-slider-height:80vh}}@media((orientation:landscape) and (min-width:992px)){.stacked-slider{--stacked-slider-width:calc(80vh / 1.1);--stacked-slider-height:55vh}}.stacked-slider{display:flex;overflow:hidden;position:relative;box-sizing:border-box;width:100%;margin:0 auto}.stacked-slider .swiper{overflow:visible;width:var(--stacked-slider-width);height:var(--stacked-slider-height)}.stacked-slider .swiper-slide{border-radius:10px;justify-content:center;display:flex}.stacked-slider .swiper-slide-shadow{background:var(--stacked-slider-shadow-bg-color)}.stacked-slider img{width:100%;height:100%;object-fit:cover}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*
|
2
2
|
# -----------------------------------------------------------------------------
|
3
|
-
# ~/assets/theme/j1/modules/swiper/css/modules/layoutThumbs.css
|
3
|
+
# ~/assets/theme/j1/modules/swiper/css/modules/layoutThumbs.min.css
|
4
4
|
# CSS styles of the J1 Template for SwiperJS v11 (layout)
|
5
5
|
# -----------------------------------------------------------------------------
|
6
6
|
#
|
@@ -14,31 +14,4 @@
|
|
14
14
|
# -----------------------------------------------------------------------------
|
15
15
|
*/
|
16
16
|
|
17
|
-
|
18
|
-
-------------------------------------------------------------------------------- */
|
19
|
-
|
20
|
-
.thumbs-slider:active {
|
21
|
-
cursor: grabbing;
|
22
|
-
}
|
23
|
-
|
24
|
-
.thumbs-slider--top .swiper-slide {
|
25
|
-
height: 200px !important;
|
26
|
-
}
|
27
|
-
|
28
|
-
.thumbs-slider--bottom .swiper-slide {
|
29
|
-
height: 200px !important;
|
30
|
-
}
|
31
|
-
|
32
|
-
.thumbs-slider--top .swiper-slide,
|
33
|
-
.thumbs-slider--right .swiper-slide,
|
34
|
-
.thumbs-slider--bottom .swiper-slide,
|
35
|
-
.thumbs-slider--left .swiper-slide {
|
36
|
-
opacity: .6;
|
37
|
-
}
|
38
|
-
|
39
|
-
.thumbs-slider--top .swiper-slide-thumb-active,
|
40
|
-
.thumbs-slider--right .swiper-slide-thumb-active,
|
41
|
-
.thumbs-slider--bottom .swiper-slide-thumb-active,
|
42
|
-
.thumbs-slider--left .swiper-slide-thumb-active {
|
43
|
-
opacity: 1;
|
44
|
-
}
|
17
|
+
.thumbs-slider:active{cursor:grabbing}.thumbs-slider--top .swiper-slide{height:200px !important}.thumbs-slider--bottom .swiper-slide{height:200px !important}.thumbs-slider--top .swiper-slide,.thumbs-slider--right .swiper-slide,.thumbs-slider--bottom .swiper-slide,.thumbs-slider--left .swiper-slide{opacity:.6}.thumbs-slider--top .swiper-slide-thumb-active,.thumbs-slider--right .swiper-slide-thumb-active,.thumbs-slider--bottom .swiper-slide-thumb-active,.thumbs-slider--left .swiper-slide-thumb-active{opacity:1}
|