Assets.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  1. {namespace v=FluidTYPO3\Vhs\ViewHelpers}
  2. <f:comment><!--
  3. Assets included with the VHS viewhelpers
  4. /!\ Warning: assets'names shall be uniques, even among styles and scripts viewhelpers!
  5. --></f:comment>
  6. <v:variable.set name="assets_dir" value="EXT:ot_templating/Resources/Public/assets/Modern" />
  7. <v:variable.set name="force_standalone" value="1" />
  8. <f:comment><!-- Fonts assets --></f:comment>
  9. <v:asset.style name="montserrat-font"
  10. path="https://fonts.googleapis.com/css?family=Montserrat:300,300i,400,500,500i,600,700,800,900|Poppins:200,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900"
  11. external="1"
  12. standalone="{force_standalone}" />
  13. <v:asset.style name="dosis-font"
  14. path="https://fonts.googleapis.com/css?family=Dosis:300,400,500,600,700,800"
  15. external="1"
  16. standalone="{force_standalone}"/>
  17. <style>
  18. @font-face {
  19. font-family: "fontawesome";
  20. src: url("/typo3conf/ext/ot_templating/Resources/Public/assets/Modern/fonts/fontawesome-webfont.ttf") format("truetype");
  21. }
  22. @font-face {
  23. font-family: "themify";
  24. src: url("/typo3conf/ext/ot_templating/Resources/Public/assets/Modern/fonts/themify.ttf") format("truetype");
  25. }
  26. @font-face {
  27. font-family: "slick";
  28. src: url("/typo3conf/ext/ot_templating/Resources/Public/assets/Modern/fonts/slick.ttf") format("truetype");
  29. }
  30. @font-face {
  31. font-family: "revicons";
  32. src: url("/typo3conf/ext/ot_templating/Resources/Public/assets/Modern/fonts/revicons.ttf") format("truetype");
  33. }
  34. </style>
  35. <f:comment><!-- Style assets --></f:comment>
  36. <f:comment><!-- includes all plugins ; can be removed if none of those plugins are used --></f:comment>
  37. <v:asset.style name="plugins-css"
  38. path="{assets_dir}/style/plugins-css.css"
  39. standalone="{force_standalone}"/>
  40. <f:comment><!-- includes revolution stylesheets --></f:comment>
  41. <v:asset.style name="revolution-settings"
  42. path="{assets_dir}/style/revolution/settings.css"
  43. standalone="{force_standalone}"/>
  44. <f:comment><!-- includes all typography stylesheets --></f:comment>
  45. <v:asset.style name="typography"
  46. path="{assets_dir}/style/typography.css"
  47. standalone="{force_standalone}"/>
  48. <v:asset.style name="datetimepicker-css"
  49. path="{assets_dir}/style/plugins/bootstrap-datetimepicker.min.css"
  50. standalone="{force_standalone}"/>
  51. <v:asset.style name="slick-css"
  52. path="{assets_dir}/style/plugins/slick.css"
  53. standalone="{force_standalone}"/>
  54. <v:asset.style name="slick-theme-css"
  55. path="{assets_dir}/style/plugins/slick-theme.css"
  56. standalone="{force_standalone}"/>
  57. <v:asset.style name="leaflet-css"
  58. path="{assets_dir}/style/plugins/leaflet.css"
  59. standalone="{force_standalone}"
  60. rewrite="0"/>
  61. <f:comment><!-- includes all shortcodes ; some of them may have to be removed --></f:comment>
  62. <v:asset.style group="shortcodes" path="{assets_dir}/style/shortcodes/accordion.css"/>
  63. <v:asset.style group="shortcodes" path="{assets_dir}/style/shortcodes/action-box.css"/>
  64. <v:asset.style group="shortcodes" path="{assets_dir}/style/shortcodes/blockquote.css"/>
  65. <v:asset.style group="shortcodes" path="{assets_dir}/style/shortcodes/bootstrap-typography.css"/>
  66. <v:asset.style group="shortcodes" path="{assets_dir}/style/shortcodes/button.css"/>
  67. <v:asset.style group="shortcodes" path="{assets_dir}/style/shortcodes/clients.css"/>
  68. <v:asset.style group="shortcodes" path="{assets_dir}/style/shortcodes/contact-form.css"/>
  69. <v:asset.style group="shortcodes" path="{assets_dir}/style/shortcodes/countdown.css"/>
  70. <v:asset.style group="shortcodes" path="{assets_dir}/style/shortcodes/counter.css"/>
  71. <v:asset.style group="shortcodes" path="{assets_dir}/style/shortcodes/divider.css"/>
  72. <v:asset.style group="shortcodes" path="{assets_dir}/style/shortcodes/dropcap.css"/>
  73. <v:asset.style group="shortcodes" path="{assets_dir}/style/shortcodes/feature-text.css"/>
  74. <v:asset.style group="shortcodes" path="{assets_dir}/style/shortcodes/list-style.css"/>
  75. <v:asset.style group="shortcodes" path="{assets_dir}/style/shortcodes/nice-select.css"/>
  76. <v:asset.style group="shortcodes" path="{assets_dir}/style/shortcodes/owl-carousel.css"/>
  77. <v:asset.style group="shortcodes" path="{assets_dir}/style/shortcodes/page-title.css"/>
  78. <v:asset.style group="shortcodes" path="{assets_dir}/style/shortcodes/pie-chart.css"/>
  79. <v:asset.style group="shortcodes" path="{assets_dir}/style/shortcodes/pricing.css"/>
  80. <v:asset.style group="shortcodes" path="{assets_dir}/style/shortcodes/progress-bar.css"/>
  81. <v:asset.style group="shortcodes" path="{assets_dir}/style/shortcodes/section-title.css"/>
  82. <v:asset.style group="shortcodes" path="{assets_dir}/style/shortcodes/shortcodes.css"/>
  83. <v:asset.style group="shortcodes" path="{assets_dir}/style/shortcodes/social-icons.css"/>
  84. <v:asset.style group="shortcodes" path="{assets_dir}/style/shortcodes/tabs.css"/>
  85. <v:asset.style group="shortcodes" path="{assets_dir}/style/shortcodes/team.css"/>
  86. <v:asset.style group="shortcodes" path="{assets_dir}/style/shortcodes/testimonial.css"/>
  87. <v:asset.style group="shortcodes" path="{assets_dir}/style/shortcodes/side-panel.css"/>
  88. <v:asset.style group="shortcodes" path="{assets_dir}/style/shortcodes/onload-modal.css"/>
  89. <f:comment><!-- main stylesheet of the template --></f:comment>
  90. <v:asset.style name="style-css"
  91. path="{assets_dir}/style/style.css"
  92. standalone="1"
  93. rewrite="0"/>
  94. <f:comment><!-- responsive stylesheet of the template (mediaqueries) --></f:comment>
  95. <v:asset.style name="responsive-css"
  96. path="{assets_dir}/style/responsive.css"
  97. standalone="{force_standalone}"/>
  98. <v:asset.style name="custom-css"
  99. path="{assets_dir}/style/custom.css"
  100. standalone="{force_standalone}"/>
  101. <f:comment><!-- Chosen theme --></f:comment>
  102. <v:variable.set name="themeColor" value ="{ot:template.getPreference(key: 'themeColor')}"/>
  103. <f:if condition="{themeColor}=='light-blue'">
  104. <f:then>
  105. <v:asset.style name="theme"
  106. path="{assets_dir}/style/skins/skin-blue.css"
  107. standalone="1"/>
  108. </f:then>
  109. <f:else if="{themeColor}=='blue'">
  110. <v:asset.style name="theme"
  111. path="{assets_dir}/style/skins/skin-steelblue.css"
  112. standalone="1"/>
  113. </f:else>
  114. <f:else if="{themeColor}=='green'">
  115. <v:asset.style name="theme"
  116. path="{assets_dir}/style/skins/skin-green.css"
  117. standalone="1"/>
  118. </f:else>
  119. <f:else if="{themeColor}=='orange'">
  120. <v:asset.style name="theme"
  121. path="{assets_dir}/style/skins/skin-orange.css"
  122. standalone="1"/>
  123. </f:else>
  124. <f:else if="{themeColor}=='grey'">
  125. <v:asset.style name="theme"
  126. path="{assets_dir}/style/skins/skin-grey.css"
  127. standalone="1"/>
  128. </f:else>
  129. <f:else if="{themeColor}=='red'">
  130. <v:asset.style name="theme"
  131. path="{assets_dir}/style/skins/skin-red.css"
  132. standalone="1"/>
  133. </f:else>
  134. <f:else if="{themeColor}=='light-red'">
  135. <v:asset.style name="theme"
  136. path="{assets_dir}/style/skins/skin-red-light.css"
  137. standalone="1"/>
  138. </f:else>
  139. <f:else if="{themeColor}=='purple'">
  140. <v:asset.style name="theme"
  141. path="{assets_dir}/style/skins/skin-purple.css"
  142. standalone="1"/>
  143. </f:else>
  144. </f:if>
  145. <f:comment><!-- Script assets --></f:comment>
  146. <f:comment><!-- Defines the path of all plugin folders to allow dynamic loading --></f:comment>
  147. <script>
  148. var plugin_path = '/typo3conf/ext/ot_templating/Resources/Public/assets/Modern/script/';
  149. </script>
  150. <v:asset.script name="jquery"
  151. path="{assets_dir}/script/jquery-3.3.1.min.js"
  152. standalone="{force_standalone}"
  153. defer="1"/>
  154. <f:comment><!-- includes all plugins ; can be removed if none of those plugins are used --></f:comment>
  155. <v:asset.script name="plugins-jquery"
  156. path="{assets_dir}/script/plugins-jquery.js"
  157. standalone="{force_standalone}"
  158. dependencies="jquery"
  159. defer="1" />
  160. <v:asset.script name="recaptcha"
  161. path="https://www.google.com/recaptcha/api.js"
  162. external="1"
  163. standalone="{force_standalone}"
  164. dependencies="jquery"
  165. defer="1"/>
  166. <v:asset.script name="jquery-tools"
  167. path="{assets_dir}/script/revolution/jquery.themepunch.tools.min.js"
  168. standalone="{force_standalone}"
  169. defer="1"/>
  170. <v:asset.script name="jquery-revolution"
  171. path="{assets_dir}/script/revolution/jquery.themepunch.revolution.min.js"
  172. standalone="{force_standalone}"
  173. dependencies="jquery"
  174. defer="1"/>
  175. <v:asset.script name="revolution-actions"
  176. path="{assets_dir}/script/revolution/extensions/revolution.extension.actions.min.js"
  177. standalone="{force_standalone}"
  178. dependencies="jquery"
  179. defer="1"/>
  180. <v:asset.script name="revolution-carousel"
  181. path="{assets_dir}/script/revolution/extensions/revolution.extension.carousel.min.js"
  182. standalone="{force_standalone}"
  183. dependencies="jquery"
  184. defer="1"/>
  185. <v:asset.script name="revolution-kenburn"
  186. path="{assets_dir}/script/revolution/extensions/revolution.extension.kenburn.min.js"
  187. standalone="{force_standalone}"
  188. dependencies="jquery"
  189. defer="1"/>
  190. <v:asset.script name="revolution-layeranimation"
  191. path="{assets_dir}/script/revolution/extensions/revolution.extension.layeranimation.min.js"
  192. standalone="{force_standalone}"
  193. dependencies="jquery"
  194. defer="1"/>
  195. <v:asset.script name="revolution-parallax"
  196. path="{assets_dir}/script/revolution/extensions/revolution.extension.parallax.min.js"
  197. standalone="{force_standalone}"
  198. dependencies="jquery"
  199. defer="1"/>
  200. <v:asset.script name="revolution-navigation"
  201. path="{assets_dir}/script/revolution/extensions/revolution.extension.navigation.min.js"
  202. standalone="{force_standalone}"
  203. defer="1"/>
  204. <v:asset.script name="revolution-slideanims"
  205. path="{assets_dir}/script/revolution/extensions/revolution.extension.slideanims.min.js"
  206. standalone="{force_standalone}"
  207. dependencies="jquery"
  208. defer="1"/>
  209. <v:asset.script name="revolution-navigation"
  210. path="{assets_dir}/script/revolution/extensions/revolution.extension.navigation.min.js"
  211. standalone="{force_standalone}"
  212. dependencies="jquery"
  213. defer="1"/>
  214. <v:asset.script name="revolution-video"
  215. path="{assets_dir}/script/revolution/extensions/revolution.extension.video.min.js"
  216. standalone="{force_standalone}"
  217. dependencies="jquery"
  218. defer="1"/>
  219. <v:asset.script name="revolution-custom"
  220. path="{assets_dir}/script/revolution/revolution-custom.js"
  221. standalone="{force_standalone}"
  222. dependencies="jquery"
  223. defer="1"/>
  224. <v:asset.script name="moment-js"
  225. path="{assets_dir}/script/bootstrap-datetimepicker/moment-datepicker.js"
  226. standalone="{force_standalone}"
  227. dependencies="jquery"
  228. defer="1"/>
  229. <v:asset.script name="datetimepicker-js"
  230. path="{assets_dir}/script/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"
  231. standalone="{force_standalone}"
  232. dependencies="jquery,moment-js"
  233. defer="1"/>
  234. <v:asset.script name="slick-js"
  235. path="{assets_dir}/script/slick/slick.min.js"
  236. standalone="{force_standalone}"
  237. dependencies="jquery"
  238. defer="1"/>
  239. <v:asset.script name="leaflet-js"
  240. path="{assets_dir}/script/leaflet/leaflet.js"
  241. standalone="{force_standalone}"
  242. dependencies="jquery"
  243. defer="1"/>
  244. <v:asset.script name="magnific-popup"
  245. path="{assets_dir}/script/magnific-popup/jquery.magnific-popup.min.js"
  246. standalone="{force_standalone}"
  247. dependencies="jquery"
  248. defer="1"/>
  249. <v:asset.script name="custom-js"
  250. path="{assets_dir}/script/custom.js"
  251. standalone="{force_standalone}"
  252. dependencies="jquery"
  253. defer="1"/>
  254. <v:asset.script name="custom-ot-js"
  255. path="{assets_dir}/script/custom-ot.js"
  256. standalone="{force_standalone}"
  257. dependencies="jquery"
  258. defer="1"/>