j1-template 2024.3.13 → 2024.3.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (193) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +1 -1
  3. data/_includes/themes/j1/layouts/layout_resource_generator.html +1 -4
  4. data/_includes/themes/j1/procedures/blocks/footer/boxes/social_media_icons.proc +24 -23
  5. data/_includes/themes/j1/procedures/layouts/content_writer.proc +4 -3
  6. data/_includes/themes/j1/procedures/layouts/default_writer.proc +37 -6
  7. data/_includes/themes/j1/procedures/layouts/module_writer.proc +31 -95
  8. data/_includes/themes/j1/procedures/layouts/resource_writer.proc +51 -29
  9. data/assets/data/amplitude.28.html +887 -0
  10. data/assets/data/amplitude.29.html +923 -0
  11. data/assets/data/amplitude.html +311 -46
  12. data/assets/data/banner.html +9 -7
  13. data/assets/data/masterslider.html +128 -7
  14. data/assets/data/panel.html +16 -65
  15. data/assets/theme/j1/adapter/js/amplitude.23.js +1165 -0
  16. data/assets/theme/j1/adapter/js/amplitude.24.js +1164 -0
  17. data/assets/theme/j1/adapter/js/amplitude.25.js +1268 -0
  18. data/assets/theme/j1/adapter/js/amplitude.js +294 -117
  19. data/assets/theme/j1/adapter/js/attic.js +14 -11
  20. data/assets/theme/j1/adapter/js/docsearch.js +2 -2
  21. data/assets/theme/j1/adapter/js/fab.js +2 -2
  22. data/assets/theme/j1/adapter/js/j1.js +8 -8
  23. data/assets/theme/j1/adapter/js/lazyLoader.js +60 -10
  24. data/assets/theme/j1/adapter/js/masonry.js +1 -1
  25. data/assets/theme/j1/adapter/js/masterslider.js +2 -2
  26. data/assets/theme/j1/adapter/js/particles.js +2 -2
  27. data/assets/theme/j1/adapter/js/scroller.js +2 -2
  28. data/assets/theme/j1/adapter/js/slick.js +2 -2
  29. data/assets/theme/j1/adapter/js/themes.js +1 -1
  30. data/assets/theme/j1/adapter/js/translator.js +2 -2
  31. data/assets/theme/j1/adapter/js/waves.js +1 -1
  32. data/assets/theme/j1/core/css/animate.css +1634 -1070
  33. data/assets/theme/j1/core/css/animate.css.map +1 -0
  34. data/assets/theme/j1/core/css/animate.min.css +2 -1
  35. data/assets/theme/j1/core/css/animate.min.css.map +1 -0
  36. data/assets/theme/j1/core/css/icon-fonts/fontawesome.css +3060 -1538
  37. data/assets/theme/j1/core/css/icon-fonts/fontawesome.css.map +1 -0
  38. data/assets/theme/j1/core/css/icon-fonts/fontawesome.min.css +2 -1
  39. data/assets/theme/j1/core/css/icon-fonts/fontawesome.min.css.map +1 -0
  40. data/assets/theme/j1/core/css/icon-fonts/iconify.css +2308 -1153
  41. data/assets/theme/j1/core/css/icon-fonts/iconify.css.map +1 -0
  42. data/assets/theme/j1/core/css/icon-fonts/iconify.min.css +2 -1
  43. data/assets/theme/j1/core/css/icon-fonts/iconify.min.css.map +1 -0
  44. data/assets/theme/j1/core/css/icon-fonts/mdi.css +16716 -8423
  45. data/assets/theme/j1/core/css/icon-fonts/mdi.css.map +1 -0
  46. data/assets/theme/j1/core/css/icon-fonts/mdi.min.css +2 -1
  47. data/assets/theme/j1/core/css/icon-fonts/mdi.min.css.map +1 -0
  48. data/assets/theme/j1/core/css/icon-fonts/mdib.css +5554 -2766
  49. data/assets/theme/j1/core/css/icon-fonts/mdib.css.map +1 -0
  50. data/assets/theme/j1/core/css/icon-fonts/mdib.min.css +2 -1
  51. data/assets/theme/j1/core/css/icon-fonts/mdib.min.css.map +1 -0
  52. data/assets/theme/j1/core/css/icon-fonts/mdil.css +742 -441
  53. data/assets/theme/j1/core/css/icon-fonts/mdil.css.map +1 -0
  54. data/assets/theme/j1/core/css/icon-fonts/mdil.min.css +2 -1
  55. data/assets/theme/j1/core/css/icon-fonts/mdil.min.css.map +1 -0
  56. data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.css +6552 -3980
  57. data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.css.map +1 -0
  58. data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.min.css +2 -5
  59. data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.min.css.map +1 -0
  60. data/assets/theme/j1/core/css/themes/unodark/bootstrap.css +6818 -4131
  61. data/assets/theme/j1/core/css/themes/unodark/bootstrap.css.map +1 -0
  62. data/assets/theme/j1/core/css/themes/unodark/bootstrap.min.css +2 -5
  63. data/assets/theme/j1/core/css/themes/unodark/bootstrap.min.css.map +1 -0
  64. data/assets/theme/j1/core/css/themes/unolight/bootstrap.css +18568 -11577
  65. data/assets/theme/j1/core/css/themes/unolight/bootstrap.css.map +1 -0
  66. data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css +2 -35
  67. data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css.map +1 -0
  68. data/assets/theme/j1/core/css/vendor.css +1771 -1043
  69. data/assets/theme/j1/core/css/vendor.css.map +1 -0
  70. data/assets/theme/j1/core/css/vendor.min.css +2 -1
  71. data/assets/theme/j1/core/css/vendor.min.css.map +1 -0
  72. data/assets/theme/j1/core/js/template.js +399 -447
  73. data/assets/theme/j1/core/js/template.min.js +7 -7
  74. data/assets/theme/j1/core/js/template.min.js.map +1 -1
  75. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.css +4 -2
  76. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.css +39 -4
  77. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.min.css +1 -1
  78. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.css +57 -17
  79. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.min.css +1 -1
  80. data/assets/theme/j1/modules/amplitudejs/icons/player/blue/pause.png +0 -0
  81. data/assets/theme/j1/modules/amplitudejs/icons/player/blue/play.png +0 -0
  82. data/assets/theme/j1/modules/amplitudejs/icons/player/blue/play.svg +87 -0
  83. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/skip-backward.svg +60 -0
  84. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/skip-forward.svg +59 -0
  85. data/assets/theme/j1/modules/amplitudejs/js/amplitude.js +65 -21
  86. data/assets/theme/j1/modules/amplitudejs/js/amplitude.min.js +1 -1
  87. data/assets/theme/j1/modules/amplitudejs/js/tech/ytp.js +113 -0
  88. data/assets/theme/j1/modules/iconPicker/js/universal-icon-picker.js +471 -471
  89. data/assets/theme/j1/modules/j1LazyLoader/LICENSE +21 -0
  90. data/assets/theme/j1/modules/j1LazyLoader/js/j1Lazy.js +870 -0
  91. data/assets/theme/j1/modules/js-cookies/js/js.cookie.js +3 -3
  92. data/assets/theme/j1/modules/lazyCssLoader/js/main.0.js +166 -0
  93. data/assets/theme/j1/modules/lazyCssLoader/js/main.1.js +65 -0
  94. data/assets/theme/j1/modules/lazyCssLoader/js/main.js +66 -0
  95. data/assets/theme/j1/modules/lazyCssLoader/js/plugins/examplePlugin.js +13 -0
  96. data/assets/theme/j1/modules/lazyCssLoader/js/plugins/my-plugin.js +25 -0
  97. data/assets/theme/j1/modules/lazyCssLoader/js/plugins/plugin-interface.js +9 -0
  98. data/assets/theme/j1/modules/lazyCssLoader/js/plugins/pluginA.js +46 -0
  99. data/assets/theme/j1/modules/lazyLoader/js/plugins/README.md +324 -0
  100. data/assets/theme/j1/modules/lazyLoader/js/plugins/jquery.lazy.picture.js +188 -0
  101. data/assets/theme/j1/modules/lightGallery/js/lightgallery.js +1 -1
  102. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.0.js +794 -0
  103. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.js +151 -67
  104. data/assets/theme/j1/modules/slimSelect/js/select.js +1 -1
  105. data/assets/theme/j1/modules/slimSelect/js/select.min.js +3 -3
  106. data/assets/theme/j1/modules/themeSwitcher/js/switcher.js +2 -1
  107. data/assets/theme/j1/modules/videojs/js/plugins/players/dm/dailymotion.min.js +1 -1
  108. data/assets/theme/j1/modules/videojs/js/plugins/players/dm/icon/scalable/dailymotion.svg +62 -0
  109. data/assets/theme/j1/modules/videojs/js/plugins/players/yt/v3.0.0/youtube.js +832 -0
  110. data/assets/theme/j1/modules/videojs/js/plugins/players/yt/v3.0.0/youtube.min.js +17 -0
  111. data/assets/theme/j1/modules/videojs/js/plugins/players/yt/youtube.min.js +1 -1
  112. data/assets/theme/j1/modules/videojs/js/video.js +2 -2
  113. data/lib/j1/version.rb +1 -1
  114. data/lib/starter_web/README.md +577 -560
  115. data/lib/starter_web/_config.yml +2 -2
  116. data/lib/starter_web/_data/blocks/footer.yml +10 -5
  117. data/lib/starter_web/_data/blocks/panel.yml +2 -2
  118. data/lib/starter_web/_data/layouts/default.yml +14 -3
  119. data/lib/starter_web/_data/modules/amplitude.yml +145 -0
  120. data/lib/starter_web/_data/modules/defaults/amplitude.yml +29 -7
  121. data/lib/starter_web/_data/modules/defaults/lazyLoader.yml +2 -2
  122. data/lib/starter_web/_data/modules/gallery.yml +136 -0
  123. data/lib/starter_web/_data/modules/lazyLoader.0.yml +118 -0
  124. data/lib/starter_web/_data/modules/lazyLoader.yml +68 -31
  125. data/lib/starter_web/_data/modules/masonry.yml +4 -4
  126. data/lib/starter_web/_data/modules/masterslider.yml +118 -12
  127. data/lib/starter_web/_data/modules/navigator_menu.yml +831 -803
  128. data/lib/starter_web/_data/resources.yml +154 -190
  129. data/lib/starter_web/_data/templates/feed.xml +1 -1
  130. data/lib/starter_web/_includes/attributes.asciidoc +1 -0
  131. data/lib/starter_web/_plugins/asciidoctor/amplitude-block.rb +1 -1
  132. data/lib/starter_web/_plugins/asciidoctor/dailymotion-block.rb +1 -1
  133. data/lib/starter_web/_plugins/asciidoctor/gallery-block.rb +4 -2
  134. data/lib/starter_web/_plugins/asciidoctor/masonry-block.rb +1 -1
  135. data/lib/starter_web/_plugins/asciidoctor/videojs-block.rb +58 -46
  136. data/lib/starter_web/_plugins/asciidoctor/vimeo-block.rb +26 -19
  137. data/lib/starter_web/_plugins/asciidoctor/youtube-block.rb +30 -40
  138. data/lib/starter_web/_plugins/index/lunr.rb +1 -1
  139. data/lib/starter_web/assets/image/icons/lanus/favicon.ico +0 -0
  140. data/lib/starter_web/assets/image/icons/lanus/lanus-512x512.png +0 -0
  141. data/lib/starter_web/assets/image/icons/lanus/lanus.ico +0 -0
  142. data/lib/starter_web/assets/image/icons/lanus/lanus.png +0 -0
  143. data/lib/starter_web/assets/image/icons/lanus/scalable/lanus.svg +76 -0
  144. data/lib/starter_web/assets/image/icons/lanus/scalable/lanus_sw.svg +62 -0
  145. data/lib/starter_web/assets/image/modules/icons/social/scalable/icon-twitter-x-28 - social.svg +86 -0
  146. data/lib/starter_web/assets/image/modules/icons/social/scalable/icon-twitter-x-28.svg +64 -0
  147. data/lib/starter_web/assets/image/modules/icons/social/scalable/icon-twitter-x.svg +1 -0
  148. data/lib/starter_web/assets/image/modules/icons/social/twitter_x.png +0 -0
  149. data/lib/starter_web/package.json +7 -18
  150. data/lib/starter_web/pages/public/amplitude_yt_tester.adoc +218 -0
  151. data/lib/starter_web/pages/public/features/template.adoc +18 -8
  152. data/lib/starter_web/pages/public/features/template.asciidoc +758 -0
  153. data/lib/starter_web/pages/public/lazy_loader_tester.adoc +402 -0
  154. data/lib/starter_web/pages/public/manuals/ytdl/man.adoc +3020 -0
  155. data/lib/starter_web/pages/public/manuals/ytdl/man.md +2378 -0
  156. data/lib/starter_web/pages/public/tools/previewer/_includes/attributes.asciidoc +0 -16
  157. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/amplitudejs.large.css.asciidoc +505 -0
  158. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.hover.html +69 -0
  159. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.nested.html +75 -0
  160. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.textarea.html +57 -0
  161. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/my.content.html +112 -0
  162. data/lib/starter_web/pages/public/tools/previewer/preview_amplitudejs.adoc +172 -0
  163. data/lib/starter_web/pages/public/tour/_includes/attributes.asciidoc +2 -2
  164. data/lib/starter_web/pages/public/tour/_includes/documents/419_advanced_modals_demo.asciidoc +16 -16
  165. data/lib/starter_web/pages/public/tour/asciidoc_extensions.adoc +13 -3
  166. data/lib/starter_web/pages/public/tour/bootstrap_themes.adoc +12 -3
  167. data/lib/starter_web/pages/public/tour/highlghter_rouge.adoc +13 -3
  168. data/lib/starter_web/pages/public/tour/icon_fonts.adoc +12 -3
  169. data/lib/starter_web/pages/public/tour/modal_extentions.adoc +12 -6
  170. data/lib/starter_web/pages/public/tour/{playback_audio.adoc → play_audio.adoc} +207 -188
  171. data/lib/starter_web/pages/public/tour/{playback_video.adoc → play_video.adoc} +49 -51
  172. data/lib/starter_web/pages/public/tour/present_images.adoc +27 -5
  173. data/lib/starter_web/pages/public/tour/quicksearch.adoc +13 -3
  174. data/lib/starter_web/pages/public/tour/responsive_tables.adoc +13 -4
  175. data/lib/starter_web/pages/public/tour/typography.adoc +12 -3
  176. metadata +90 -22
  177. /data/assets/theme/j1/modules/{lazyLoader → j1LazyLoader/js}/plugins/README.md +0 -0
  178. /data/assets/theme/j1/modules/{lazyLoader/plugins/jquery.lazy.picture.js → j1LazyLoader/js/plugins/picture.js} +0 -0
  179. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.ajax.js +0 -0
  180. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.ajax.min.js +0 -0
  181. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.av.js +0 -0
  182. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.av.min.js +0 -0
  183. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.iframe.js +0 -0
  184. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.iframe.min.js +0 -0
  185. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.noop.js +0 -0
  186. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.noop.min.js +0 -0
  187. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.picture.min.js +0 -0
  188. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.script.js +0 -0
  189. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.script.min.js +0 -0
  190. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.vimeo.js +0 -0
  191. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.vimeo.min.js +0 -0
  192. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.youtube.js +0 -0
  193. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.youtube.min.js +0 -0
@@ -19,22 +19,6 @@ tag::urls[]
19
19
 
20
20
  :url-asciidoc-extensions--gist-example: //gist.github.com/mojavelinux/5546622
21
21
 
22
- :url-tour--data-slider-picker: /pages/public/tour/data_slider_picker
23
- :url-tour--image_headers: /pages/public/tour/image_header
24
- :url-tour--readme-first: /pages/public/learn/read_me_first/
25
- :url-tour--present-images: /pages/public/tour/present_images/
26
- :url-tour--playback-audio: /pages/public/tour/playback_audio/
27
- :url-tour--playback-video: /pages/public/tour/playback_video/
28
- :url-tour--cards: /pages/public/tour/cards/
29
- :url-tour--typography: /pages/public/tour/typography/
30
- :url-tour--asciidoc-extensions: /pages/public/tour/asciidoc_extensions/
31
- :url-tour--rouge-hightlighter: /pages/public/tour/rouge/
32
- :url-tour--extended-modals: /pages/public/tour/modals/
33
- :url-tour--icon-fonts: /pages/public/tour/mdi_icon_font/
34
- :url-tour--responsive-tables: /pages/public/tour/responsive_tables/
35
- :url-tour--themes: /pages/public/tour/themes/
36
- :url-tour--quicksearch: /pages/public/tour/quicksearch/
37
-
38
22
  end::urls[]
39
23
 
40
24
 
@@ -0,0 +1,505 @@
1
+ ++++
2
+ <style>
3
+
4
+ /* LARGE Player
5
+ # --------------------------------------------------------- */
6
+
7
+ div#amplitude-player {
8
+ display: flex;
9
+ max-width: fit-content;
10
+ background: var(--ajs-theme-uno--white);
11
+ }
12
+
13
+ div#playlist-header.player-expanded {
14
+ position: sticky;
15
+ cursor: default;
16
+ top: 0;
17
+ width: 100%;
18
+ padding: 15px;
19
+ font-family: "Lato", sans-serif;
20
+ text-align: center;
21
+ color: var(--ajs-theme-uno--white);
22
+ background-color: var(--ajs-theme-uno--dark-silver);
23
+ }
24
+
25
+ /* Bootstrap media query breakpoints
26
+ --------------------------------------------------- */
27
+ /* Small only */
28
+ @media screen and (max-width: 39.9375em) {
29
+ div#amplitude-player {
30
+ flex-direction: column;
31
+ }
32
+ div#amplitude-player {
33
+ ::-webkit-scrollbar {
34
+ display: none;
35
+ }
36
+ }
37
+ div#amplitude-player div#amplitude-right {
38
+ width: 100%;
39
+ }
40
+ div#amplitude-player div#amplitude-left {
41
+ width: 100%;
42
+ }
43
+ div#amplitude-player div#amplitude-left img[amplitude-song-info="cover_art_url"] {
44
+ width: auto;
45
+ height: auto;
46
+ }
47
+ }
48
+
49
+ /* Medium only */
50
+ @media screen and (min-width: 40em) and (max-width: 63.9375em) {
51
+ div#amplitude-player {
52
+ /* jadams */
53
+ }
54
+ }
55
+
56
+ /* Large and up */
57
+ @media screen and (min-width: 64em) {
58
+ div#amplitude-player {
59
+ /* ::-webkit-scrollbar {
60
+ display: none;
61
+ } */
62
+ }
63
+ }
64
+
65
+ div#amplitude-left img.album-art {
66
+ width: 100%;
67
+ }
68
+
69
+ div#amplitude-left div#player-left-bottom {
70
+ flex: 1;
71
+ background-color: var(--ajs-theme-uno--blue-gray-900);
72
+ }
73
+
74
+ div#amplitude-left div#player-left-bottom div#volume-container:after {
75
+ content: "";
76
+ display: table;
77
+ clear: both;
78
+ }
79
+
80
+ div#amplitude-right div.song.amplitude-active-song-container:hover div.play-button-container {
81
+ display: none;
82
+ }
83
+
84
+ div#amplitude-right div.song div.audio-meta-data {
85
+ float: left;
86
+ width: calc(100% - 145px);
87
+ }
88
+
89
+ div#amplitude-right div.song div.audio-meta-data span.audio-artist {
90
+ display: block;
91
+ font-size: 16px;
92
+ white-space: nowrap;
93
+ overflow: hidden;
94
+ text-overflow: ellipsis;
95
+ color: var(--ajs-theme-uno--gray-300);
96
+ }
97
+
98
+ div#amplitude-right div.song img.audio-info-blue {
99
+ float: right;
100
+ display: block;
101
+ margin-top: 10px;
102
+ margin-right: 10px;
103
+ }
104
+
105
+ div#amplitude-right div.song img.audio-info-white {
106
+ float: right;
107
+ display: none;
108
+ margin-top: 10px;
109
+ margin-right: 10px;
110
+ }
111
+
112
+ div#amplitude-right div.song:after {
113
+ content: "";
114
+ display: table;
115
+ clear: both;
116
+ }
117
+
118
+ div#control-container {
119
+ margin-top: 40px;
120
+ margin-bottom: 20px;
121
+ }
122
+
123
+ div#control-container div#repeat-container {
124
+ width: 25%;
125
+ float: left;
126
+ padding-top: 20px;
127
+ }
128
+
129
+ div#control-container div#volume-container {
130
+ width: 88%;
131
+ float: left;
132
+ margin-top: 20px;
133
+ margin-left: 12px;
134
+ }
135
+
136
+ div#control-container div.amplitude-mute {
137
+ cursor: pointer;
138
+ width: 25px;
139
+ height: 19px;
140
+ float: left;
141
+ }
142
+
143
+ div#control-container div.amplitude-mute.amplitude-not-muted {
144
+ background: url("/assets/theme/j1/modules/amplitudejs/icons/black-player/volume.svg") no-repeat;
145
+ }
146
+
147
+ div#control-container div.amplitude-mute.amplitude-muted {
148
+ background: url("/assets/theme/j1/modules/amplitudejs/icons/black-player/mute.svg") no-repeat;
149
+ }
150
+
151
+ /* clearfix control container */
152
+ div#control-container:after {
153
+ content: "";
154
+ display: table;
155
+ clear: both;
156
+ }
157
+
158
+ div#time-container {
159
+ margin-top: 30px;
160
+ }
161
+
162
+ div#time-container span.current-time {
163
+ color: var(--ajs-theme-uno--blue-gray);
164
+ font-size: 14px;
165
+ font-weight: bold;
166
+ float: left;
167
+ width: 15%;
168
+ text-align: center;
169
+ }
170
+
171
+ div#time-container span.duration {
172
+ color: var(--ajs-theme-uno--blue-gray);
173
+ font-size: 14px;
174
+ font-weight: bold;
175
+ float: left;
176
+ width: 15%;
177
+ text-align: center;
178
+ }
179
+
180
+ div#time-container:after {
181
+ content: "";
182
+ display: table;
183
+ clear: both;
184
+ }
185
+
186
+ div#meta-container {
187
+ text-align: center;
188
+ margin-top: 20px;
189
+ }
190
+
191
+ div#meta-container span.song-name {
192
+ display: block;
193
+ color: var(--ajs-theme-uno--gray-100);
194
+ font-size: 24px;
195
+ font-family: "Lato", sans-serif;
196
+ white-space: nowrap;
197
+ overflow: hidden;
198
+ text-overflow: ellipsis;
199
+ }
200
+
201
+ div#meta-container div.song-artist-album {
202
+ color: var(--ajs-theme-uno--blue-gray-300);
203
+ font-size: 18px;
204
+ font-weight: bold;
205
+ font-family: "Lato", sans-serif;
206
+ white-space: nowrap;
207
+ overflow: hidden;
208
+ text-overflow: ellipsis;
209
+ }
210
+
211
+ div#meta-container div.song-artist-album span {
212
+ display: block;
213
+ }
214
+
215
+ /* jadams: should rplaced by: song-artist-album */
216
+ div#meta-container div.audio-artist-album {
217
+ color: var(--ajs-theme-uno--blue-gray-300);
218
+ font-size: 18px;
219
+ font-weight: bold;
220
+ font-family: "Lato", sans-serif;
221
+ white-space: nowrap;
222
+ overflow: hidden;
223
+ text-overflow: ellipsis;
224
+ }
225
+
226
+ div#meta-container div.audio-artist-album span {
227
+ display: block;
228
+ }
229
+
230
+ div#amplitude-left {
231
+ display: flex;
232
+ flex-direction: column;
233
+ overflow-y: clip;
234
+ padding: 0px;
235
+ width: 50%;
236
+ background-color: var(--ajs-theme-uno--darker-silver) !important;
237
+ }
238
+
239
+ div#amplitude-right {
240
+ display: flex;
241
+ flex-direction: column;
242
+ padding: 0px;
243
+ overflow-y: scroll;
244
+ width: 50%;
245
+ background-color: var(--ajs-theme-uno--darker-silver) !important;
246
+ }
247
+
248
+ div#amplitude-right div.song {
249
+ cursor: pointer;
250
+ padding: 12px;
251
+ background-color: var(--ajs-theme-uno--darker-silver);
252
+ }
253
+
254
+ div#control-container div#volume-container div.volume-controls input[type=range] {
255
+ width: calc(100% - 45px);
256
+ }
257
+
258
+ /* jadams: playlist controls (prev|play-pause|next */
259
+ div#amplitude-right div#playlist-screen-controls div#playlist-screen-meta-container span.song-name {
260
+ font-family: "Lato", sans-serif;
261
+ font-size: 22px;
262
+ color: #fff;
263
+ letter-spacing: 0.5px;
264
+ line-height: 24px;
265
+ margin-left: 38px;
266
+ }
267
+
268
+ div#amplitude-right div#playlist-screen-controls div#playlist-screen-meta-container div.song-artist-album {
269
+ opacity: 0.5;
270
+ font-family: "Lato", sans-serif;
271
+ font-size: 16px;
272
+ color: #fff;
273
+ letter-spacing: 0.5px;
274
+ line-height: 16px;
275
+ margin-left: 38px;
276
+ }
277
+
278
+ div#amplitude-right div#playlist-screen-controls div.list-controls {
279
+ float: right;
280
+ width: 90px;
281
+ margin-top: -32px;
282
+ }
283
+
284
+ div#amplitude-right div#playlist-screen-controls div.list-controls div.list-previous {
285
+ float: left;
286
+ cursor: pointer;
287
+ width: 15px;
288
+ height: 17px;
289
+ margin-right: 15px;
290
+ margin-top: 4px;
291
+ background-repeat: no-repeat;
292
+ background-image: url(/assets/theme/j1/modules/amplitudejs/icons/black-player/small/previous.svg);
293
+ }
294
+
295
+ div#amplitude-right div#playlist-screen-controls div.list-controls div.list-previous:hover {
296
+ opacity: .5;
297
+ }
298
+
299
+ div#amplitude-right div#playlist-screen-controls div.list-controls div.list-play-pause.amplitude-paused {
300
+ background-repeat: no-repeat;
301
+ background-image: url(/assets/theme/j1/modules/amplitudejs/icons/black-player/small/play.svg);
302
+ }
303
+
304
+ div#amplitude-right div#playlist-screen-controls div.list-controls div.list-play-pause {
305
+ float: left;
306
+ cursor: pointer;
307
+ width: 17px;
308
+ height: 24px;
309
+ }
310
+
311
+ div#amplitude-right div#playlist-screen-controls div.list-controls div.list-play-pause:hover {
312
+ opacity: .5;
313
+ }
314
+
315
+ div#amplitude-right div#playlist-screen-controls div.list-controls div.list-play-pause.amplitude-playing {
316
+ background-repeat: no-repeat;
317
+ background-image: url(/assets/theme/j1/modules/amplitudejs/icons/black-player/small/pause.svg);
318
+ }
319
+
320
+ div#amplitude-right div#playlist-screen-controls div.list-controls div.list-next {
321
+ float: left;
322
+ cursor: pointer;
323
+ width: 15px;
324
+ height: 17px;
325
+ margin-left: 15px;
326
+ margin-top: 4px;
327
+ background-repeat: no-repeat;
328
+ background-image: url(/assets/theme/j1/modules/amplitudejs/icons/black-player/small/next.svg);
329
+ }
330
+
331
+ div#amplitude-right div#playlist-screen-controls div.list-controls div.list-next:hover {
332
+ opacity: .5;
333
+ }
334
+
335
+ div#amplitude-right div.song div.audio-meta-data span.audio-title {
336
+ font-family: "Lato", sans-serif;
337
+ font-size: 20px;
338
+ line-height: 20px;
339
+ letter-spacing: 0.47px;
340
+ white-space: nowrap;
341
+ color: var(--ajs-theme-uno--blue);
342
+ }
343
+
344
+ div#amplitude-right div.song.amplitude-song-container.amplitude-play-pause.amplitude-active-song-container {
345
+ background-color: var(--ajs-theme-uno--medium-silver) !important;
346
+ }
347
+
348
+ div#amplitude-right div.song.amplitude-active-song-container div.song-now-playing-icon-container span.number {
349
+ display: inline-flex;
350
+ opacity: 0.5;
351
+ font-family: "Lato", sans-serif;
352
+ font-size: 16px;
353
+ color: var(--ajs-theme-uno--gray-200);
354
+ letter-spacing: 0.5px;
355
+ }
356
+
357
+ span.title-number {
358
+ display: inline-flex;
359
+ opacity: 0.5;
360
+ font-family: "Lato", sans-serif;
361
+ font-size: 16px;
362
+ color: var(--ajs-theme-uno--gray-200);
363
+ letter-spacing: 0.5px;
364
+ }
365
+
366
+ div#amplitude-right div.song div.song-now-playing-icon-container img.now-playing {
367
+ display: none;
368
+ }
369
+
370
+ div#amplitude-right div.song.amplitude-active-song-container div.song-now-playing-icon-container img.now-playing {
371
+ display: block;
372
+ margin-top: 5px;
373
+ margin-left: 8px;
374
+ height: 16px;
375
+ width: 16px;
376
+ }
377
+
378
+ div#amplitude-right div.song div.song-now-playing-icon-container {
379
+ float: left;
380
+ width: 26px;
381
+ height: 20px;
382
+ margin-top: 12px;
383
+ margin-right: 20px;
384
+ }
385
+
386
+ div#large-player-controls {
387
+ height: 65px;
388
+ }
389
+
390
+ /* jadams: player controls (shuffle|prev|play-pause|next|repeat) */
391
+ div#large-player-controls div.large-player-controls-container {
392
+ text-align: center;
393
+ }
394
+
395
+ div#large-player-controls div.large-player-controls-container div#shuffle-black {
396
+ display: inline-block;
397
+ width: 24px;
398
+ height: 24px;
399
+ cursor: pointer;
400
+ vertical-align: middle;
401
+ margin-right: 25px;
402
+ margin-left: -16px;
403
+ }
404
+
405
+ div#large-player-controls div.large-player-controls-container div#shuffle-black:hover {
406
+ opacity: .5;
407
+ }
408
+
409
+ div#large-player-controls div.large-player-controls-container div#shuffle-black.amplitude-shuffle-off {
410
+ background: url("/assets/theme/j1/modules/amplitudejs/icons/black-player/shuffle-disabled.svg") no-repeat;
411
+ }
412
+
413
+ div#large-player-controls div.large-player-controls-container div#shuffle-black.amplitude-shuffle-on {
414
+ background: url("/assets/theme/j1/modules/amplitudejs/icons/black-player/shuffle-enabled.svg") no-repeat;
415
+ }
416
+
417
+ div#large-player-controls div.large-player-controls-container div#previous-black {
418
+ display: inline-block;
419
+ height: 24px;
420
+ width: 24px;
421
+ cursor: pointer;
422
+ vertical-align: middle;
423
+ margin-right: 20px;
424
+ background: url("/assets/theme/j1/modules/amplitudejs/icons/black-player/previous-hover.svg") no-repeat;
425
+ }
426
+
427
+ div#large-player-controls div.large-player-controls-container div#previous-black:hover {
428
+ opacity: .5;
429
+ }
430
+
431
+ div#large-player-controls div.large-player-controls-container div#play-pause-black {
432
+ display: inline-block;
433
+ width: 60px;
434
+ height: 60px;
435
+ cursor: pointer;
436
+ vertical-align: middle;f
437
+ margin-right: 10px;
438
+ }
439
+
440
+ div#large-player-controls div.large-player-controls-container div#play-pause-black:hover {
441
+ opacity: .5;
442
+ }
443
+
444
+ div#large-player-controls div.large-player-controls-container div#play-pause-black.amplitude-paused {
445
+ background: url("/assets/theme/j1/modules/amplitudejs/icons/black-player/black-play.svg") no-repeat;
446
+ }
447
+
448
+ div#large-player-controls div.large-player-controls-container div#play-pause-black.amplitude-playing {
449
+ background: url("/assets/theme/j1/modules/amplitudejs/icons/black-player/black-pause.svg") no-repeat;
450
+ }
451
+
452
+ div#large-player-controls div.large-player-controls-container div#next-black {
453
+ display: inline-block;
454
+ height: 24px;
455
+ width: 25px;
456
+ cursor: pointer;
457
+ vertical-align: middle;
458
+ margin-right: 25px;
459
+ margin-left: 20px;
460
+ background: url("/assets/theme/j1/modules/amplitudejs/icons/black-player/next-hover.svg") no-repeat;
461
+ }
462
+
463
+ div#large-player-controls div.large-player-controls-container div#next-black:hover {
464
+ opacity: .5;
465
+ }
466
+
467
+ div#large-player-controls div.large-player-controls-container div#repeat-black {
468
+ display: inline-block;
469
+ width: 24px;
470
+ height: 24px;
471
+ cursor: pointer;
472
+ vertical-align: middle;
473
+ }
474
+
475
+ div#large-player-controls div.large-player-controls-container div#repeat-black:hover {
476
+ opacity: .5;
477
+ }
478
+
479
+ div#large-player-controls div.large-player-controls-container div#repeat-black.amplitude-repeat-off {
480
+ background: url("/assets/theme/j1/modules/amplitudejs/icons/black-player/repeat-disabled.svg") no-repeat;
481
+ }
482
+
483
+ div#large-player-controls div.large-player-controls-container div#repeat-black.amplitude-repeat-on {
484
+ background: url("/assets/theme/j1/modules/amplitudejs/icons/black-player/repeat-enabled.svg") no-repeat;
485
+ }
486
+
487
+ div#amplitude-right div.song span.audio-duration {
488
+ float: left;
489
+ margin-left: 5px;
490
+ width: 50px;
491
+ font-family: "Lato", sans-serif;
492
+ text-align: center;
493
+ line-height: 45px;
494
+ font-size: 16px;
495
+ font-weight: 500;
496
+ color: var(--ajs-theme-uno--gray-300);
497
+ }
498
+
499
+ /* jadams 2024-07-01: scale (both) columns to the same height */
500
+ div#amplitude-left, div#amplitude-right {
501
+ flex: 1;
502
+ }
503
+
504
+ </style>
505
+ ++++
@@ -0,0 +1,69 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>iFrame message passing test 3</title>
6
+ <meta name="description" content="iFrame message passing test 3">
7
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
8
+ <meta name="robots" content="noindex">
9
+ <meta name="robots" content="nofollow">
10
+
11
+ <link rel="stylesheet" href="/assets/theme/j1/core/css/themes/unolight/bootstrap.css">
12
+ <link rel="stylesheet" href="/assets/theme/j1/core/css/vendor.css">
13
+
14
+ <script src="/assets/theme/j1/modules/jquery/js/jquery.js"></script>
15
+ <script src="/assets/theme/j1/modules/popper/js/popper.js"></script>
16
+
17
+ <script src="/assets/theme/j1/modules/iframeResizer/js/resizer.js"></script>
18
+ <script src="/assets/theme/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.js"></script>
19
+ </head>
20
+
21
+ <body>
22
+
23
+ <a href="my.content.html">Back to page</a>
24
+ <h2>iFrame Hover Example</h2>
25
+ <p>
26
+ Mouse over the code example below.
27
+ </p>
28
+
29
+ <xmp>
30
+ <!-- #code -->
31
+ </xmp>
32
+
33
+ <script>
34
+ var iFrameResizer = {
35
+ heightCalculationMethod: 'lowestElement'
36
+ }
37
+ </script>
38
+
39
+
40
+
41
+ <div id="code">
42
+ <style>
43
+ xmp {
44
+ background-color: #eee;
45
+ padding: 20px;
46
+ display: block;
47
+ }
48
+
49
+ xmp:hover {
50
+ border: #c33 solid 40px;
51
+ }
52
+ </style>
53
+ <script>
54
+ ;(function() {
55
+ $('xmp').hover(function() {
56
+ if ('parentIFrame' in window) {
57
+ // Fix race condition in FireFox with setTimeout
58
+ setTimeout(parentIFrame.size.bind(parentIFrame), 0)
59
+ }
60
+ })
61
+ })()
62
+ </script>
63
+ </div>
64
+
65
+ <script>
66
+ $('xmp').text('<xmp>' + $('#code').html() + '<xmp>')
67
+ </script>
68
+ </body>
69
+ </html>
@@ -0,0 +1,75 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+
4
+ <head>
5
+ <meta name="robots" content="noindex">
6
+ <meta name="robots" content="nofollow">
7
+
8
+ <link rel="stylesheet" href="/assets/theme/j1/core/css/themes/unolight/bootstrap.css">
9
+ <link rel="stylesheet" href="/assets/theme/j1/core/css/vendor.css">
10
+
11
+ <script src="/assets/theme/j1/modules/jquery/js/jquery.js"></script>
12
+ <script src="/assets/theme/j1/modules/popper/js/popper.js"></script>
13
+
14
+ <script src="/assets/theme/j1/modules/iframeResizer/js/resizer.js"></script>
15
+ <script src="/assets/theme/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.js"></script>
16
+ </head>
17
+
18
+ <body>
19
+ <a href="my.content.html">Back to page</a>
20
+ <h2>Nested iFrame</h2>
21
+ <p>
22
+ Resize window or click one of the links in the nested iFrame to watch it
23
+ resize.
24
+ </p>
25
+
26
+ <p id="callback"></p>
27
+
28
+ <div class="mt-4">
29
+ <iframe
30
+ id="nestedIFrame"
31
+ src="frame.content.html"
32
+ width="100%"
33
+ scrolling="no"
34
+ ></iframe>
35
+ </div>
36
+
37
+ <script>
38
+
39
+ var level = document.location.search.replace(/\?/, '') || 0
40
+
41
+ $('iframe')
42
+ .attr('id', 'nestedIFrame' + level)
43
+ .attr('src', 'frame.content.html?' + level)
44
+
45
+ // -----------------------------------------------------------------------
46
+ // If you do want to TEST the code below, use 'log: true' in
47
+ // the following call for exteded log messages.
48
+ //
49
+ // iFrameResize({log:true});
50
+ //
51
+ // Once you have finished yout tresting, set the log option to `false`.
52
+ // -----------------------------------------------------------------------
53
+ //
54
+ iFrameResize({
55
+ log: true, // Enable console logging
56
+ inPageLinks: true,
57
+ onResized: function(messageData) {
58
+ // Callback fn when message is received
59
+ $('p#callback').html (
60
+ '<b>Frame ID:</b> ' +
61
+ messageData.iframe.id +
62
+ '&nbsp;&nbsp; <b>Height:</b> ' +
63
+ messageData.height +
64
+ '&nbsp;&nbsp; <b>Width:</b> ' +
65
+ messageData.width +
66
+ '&nbsp;&nbsp; <b>Event type:</b> ' +
67
+ messageData.type
68
+ )
69
+ }
70
+ });
71
+
72
+ </script>
73
+ </body>
74
+
75
+ </html>