@csdsesystems/central-styles 1.0.2 → 1.0.4

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.
Files changed (463) hide show
  1. package/package.json +2 -2
  2. package/Gulpfile.js +0 -56
  3. package/dependencies/.editorconfig +0 -21
  4. package/dependencies/.jshintrc +0 -24
  5. package/dependencies/LICENSE +0 -21
  6. package/dependencies/README.md +0 -80
  7. package/dependencies/bower.json +0 -24
  8. package/dependencies/components.html +0 -2761
  9. package/dependencies/css/.gitignore +0 -3
  10. package/dependencies/css/green.png +0 -0
  11. package/dependencies/css/green@2x.png +0 -0
  12. package/dependencies/css/red.png +0 -0
  13. package/dependencies/css/red@2x.png +0 -0
  14. package/dependencies/css/steelblue.png +0 -0
  15. package/dependencies/css/steelblue@2x.png +0 -0
  16. package/dependencies/example.png +0 -0
  17. package/dependencies/index.html +0 -120
  18. package/dependencies/layout.html +0 -712
  19. package/dependencies/package.json +0 -76
  20. package/dependencies/patterns.html +0 -313
  21. package/dependencies/scripts/hgt.js +0 -76
  22. package/dependencies/scripts/scripts/hgt.js +0 -76
  23. package/dependencies/scripts/scripts/vendor/infinite.min.js +0 -7
  24. package/dependencies/scripts/scripts/vendor/jquery.waypoints.min.js +0 -7
  25. package/dependencies/scripts/scripts/vendor/sticky.min.js +0 -7
  26. package/dependencies/scripts/vendor/infinite.min.js +0 -7
  27. package/dependencies/scripts/vendor/jquery.waypoints.min.js +0 -7
  28. package/dependencies/scripts/vendor/sticky.min.js +0 -7
  29. package/dependencies/styles/hgt-syntax.css +0 -86
  30. package/dependencies/styles/hgt.css +0 -428
  31. package/dependencies/styles/styles/hgt-syntax.css +0 -86
  32. package/dependencies/styles/styles/hgt.css +0 -412
  33. package/dependencies/styles.html +0 -985
  34. package/hologram_config.yml +0 -70
  35. package/images/BottomRightPattern.png +0 -0
  36. package/images/BottomRightPatternSml.png +0 -0
  37. package/images/CSDSCertificateLogo.png +0 -0
  38. package/images/CSDSLogoBlack-Sml.png +0 -0
  39. package/images/CSDSLogoColour.png +0 -0
  40. package/images/CSDSLogoColourV2.png +0 -0
  41. package/images/CSDSLogoWhite-Sml.png +0 -0
  42. package/images/PCLogoPlaceHolder.png +0 -0
  43. package/images/PC_certificate-footer.png +0 -0
  44. package/images/PC_certificate-footer.svg +0 -1
  45. package/images/PC_certificate-header.png +0 -0
  46. package/images/PC_certificate-header.svg +0 -1
  47. package/images/QLD-gov-logo-white.png +0 -0
  48. package/images/QLD-gov-logo.png +0 -0
  49. package/images/QLDGovLogoGrey.png +0 -0
  50. package/images/TopLeftPattern.png +0 -0
  51. package/images/TopLeftPatternSml.png +0 -0
  52. package/images/a1.jpg +0 -0
  53. package/images/a10.jpg +0 -0
  54. package/images/a2.jpg +0 -0
  55. package/images/a3.jpg +0 -0
  56. package/images/a4.jpg +0 -0
  57. package/images/a5.jpg +0 -0
  58. package/images/a6.jpg +0 -0
  59. package/images/a7.jpg +0 -0
  60. package/images/a8.jpg +0 -0
  61. package/images/achievements.png +0 -0
  62. package/images/alert-header-elearning.png +0 -0
  63. package/images/alert-header-equipment.png +0 -0
  64. package/images/alert-header-groups.png +0 -0
  65. package/images/alert-header-payments.png +0 -0
  66. package/images/alert-icon-groups.png +0 -0
  67. package/images/angular_logo.png +0 -0
  68. package/images/applicable_standards.png +0 -0
  69. package/images/axiom-pattern.png +0 -0
  70. package/images/background_lp_orange.jpg +0 -0
  71. package/images/background_pocket.jpg +0 -0
  72. package/images/bg_tick_wrapper.png +0 -0
  73. package/images/booking-calendar.png +0 -0
  74. package/images/booking-rooms.png +0 -0
  75. package/images/certificate-footer.png +0 -0
  76. package/images/certificate-footer.svg +0 -1
  77. package/images/certificate-header.png +0 -0
  78. package/images/choice-54e367cf104b0-default.png +0 -0
  79. package/images/courseCategory_alliedHealth.jpeg +0 -0
  80. package/images/courses/aam.jpg +0 -0
  81. package/images/courses/acls.jpg +0 -0
  82. package/images/courses/acrm.jpg +0 -0
  83. package/images/courses/als.jpg +0 -0
  84. package/images/courses/apics.jpg +0 -0
  85. package/images/courses/ason.jpg +0 -0
  86. package/images/courses/basic-sim.jpg +0 -0
  87. package/images/courses/bbs.jpg +0 -0
  88. package/images/courses/bkc.jpg +0 -0
  89. package/images/courses/bls.jpg +0 -0
  90. package/images/courses/blt.jpg +0 -0
  91. package/images/courses/capp.jpg +0 -0
  92. package/images/courses/chest.jpg +0 -0
  93. package/images/courses/cld.jpg +0 -0
  94. package/images/courses/cpc.jpg +0 -0
  95. package/images/courses/crop.jpg +0 -0
  96. package/images/courses/crp-oqp.jpg +0 -0
  97. package/images/courses/defib.jpg +0 -0
  98. package/images/courses/diabetic-foot.jpg +0 -0
  99. package/images/courses/ebus.jpg +0 -0
  100. package/images/courses/emac.jpg +0 -0
  101. package/images/courses/icr.jpg +0 -0
  102. package/images/courses/paccman.jpg +0 -0
  103. package/images/courses/rrcd-a.jpg +0 -0
  104. package/images/courses/seed.jpg +0 -0
  105. package/images/courses/spc.jpg +0 -0
  106. package/images/courses/tasp.jpg +0 -0
  107. package/images/courses/workshop.jpg +0 -0
  108. package/images/csds-eLearning-showcase-1.png +0 -0
  109. package/images/csds-pc-network.jpg +0 -0
  110. package/images/dashbard4_1.jpg +0 -0
  111. package/images/dashbard4_2.jpg +0 -0
  112. package/images/diagmonds-light.png +0 -0
  113. package/images/duotone.jpg +0 -0
  114. package/images/email_1.jpg +0 -0
  115. package/images/email_2.jpg +0 -0
  116. package/images/email_3.jpg +0 -0
  117. package/images/empty-state-courses.png +0 -0
  118. package/images/empty-state-groups.png +0 -0
  119. package/images/empty-state-orders.png +0 -0
  120. package/images/empty-state-payments.png +0 -0
  121. package/images/empty-state-portfolio.png +0 -0
  122. package/images/equip/airsim-baby.jpg +0 -0
  123. package/images/equip/airway-management-trainer.jpg +0 -0
  124. package/images/equip/broncho-boy.jpg +0 -0
  125. package/images/equip/default-img.jpg +0 -0
  126. package/images/equip/little-junior.jpg +0 -0
  127. package/images/equip/resusi-anne-basic.jpg +0 -0
  128. package/images/equip/simman-3g.jpg +0 -0
  129. package/images/full_height.jpg +0 -0
  130. package/images/gallery/1.jpg +0 -0
  131. package/images/gallery/10.jpg +0 -0
  132. package/images/gallery/10s.jpg +0 -0
  133. package/images/gallery/11.jpg +0 -0
  134. package/images/gallery/11s.jpg +0 -0
  135. package/images/gallery/12.jpg +0 -0
  136. package/images/gallery/12s.jpg +0 -0
  137. package/images/gallery/1s.jpg +0 -0
  138. package/images/gallery/2.jpg +0 -0
  139. package/images/gallery/2s.jpg +0 -0
  140. package/images/gallery/3.jpg +0 -0
  141. package/images/gallery/3s.jpg +0 -0
  142. package/images/gallery/4.jpg +0 -0
  143. package/images/gallery/4s.jpg +0 -0
  144. package/images/gallery/5.jpg +0 -0
  145. package/images/gallery/5s.jpg +0 -0
  146. package/images/gallery/6.jpg +0 -0
  147. package/images/gallery/6s.jpg +0 -0
  148. package/images/gallery/7.jpg +0 -0
  149. package/images/gallery/7s.jpg +0 -0
  150. package/images/gallery/8.jpg +0 -0
  151. package/images/gallery/8s.jpg +0 -0
  152. package/images/gallery/9.jpg +0 -0
  153. package/images/gallery/9s.jpg +0 -0
  154. package/images/graphic-email.png +0 -0
  155. package/images/graphic-healthcare-employee.png +0 -0
  156. package/images/graphic-healthcare-neither.png +0 -0
  157. package/images/graphic-healthcare-student.png +0 -0
  158. package/images/graphic-signup.png +0 -0
  159. package/images/green.png +0 -0
  160. package/images/green@2x.png +0 -0
  161. package/images/header-profile-skin-2 (1).png +0 -0
  162. package/images/header-profile-skin-2.png +0 -0
  163. package/images/headphones.jpg +0 -0
  164. package/images/html_logo.png +0 -0
  165. package/images/img_course.png +0 -0
  166. package/images/inspinia/3.png +0 -0
  167. package/images/inspinia/4.png +0 -0
  168. package/images/inspinia/avatar_all.png +0 -0
  169. package/images/inspinia/header-profile-skin-1.png +0 -0
  170. package/images/inspinia/header-profile-skin-2.png +0 -0
  171. package/images/inspinia/header-profile-skin-3.png +0 -0
  172. package/images/inspinia/header-profile.png +0 -0
  173. package/images/inspinia/header_one.jpg +0 -0
  174. package/images/inspinia/header_two.jpg +0 -0
  175. package/images/inspinia/shattered.png +0 -0
  176. package/images/inspinia/word_map.png +0 -0
  177. package/images/landing/CSDS-doing-things-differently-white.png +0 -0
  178. package/images/landing/CSDSLogo.png +0 -0
  179. package/images/landing/avatar1.jpg +0 -0
  180. package/images/landing/avatar2.jpg +0 -0
  181. package/images/landing/avatar3.jpg +0 -0
  182. package/images/landing/avatar4.jpg +0 -0
  183. package/images/landing/avatar5.jpg +0 -0
  184. package/images/landing/avatar6.jpg +0 -0
  185. package/images/landing/avatar7.jpg +0 -0
  186. package/images/landing/avatar8.jpg +0 -0
  187. package/images/landing/avatar9.jpg +0 -0
  188. package/images/landing/avatar_all.png +0 -0
  189. package/images/landing/dashboard.png +0 -0
  190. package/images/landing/header_one.jpg +0 -0
  191. package/images/landing/header_two.jpg +0 -0
  192. package/images/landing/iphone.jpg +0 -0
  193. package/images/landing/laptop.png +0 -0
  194. package/images/landing/perspective.png +0 -0
  195. package/images/landing/qldGovLogo.png +0 -0
  196. package/images/landing/shattered.png +0 -0
  197. package/images/landing/word_map.png +0 -0
  198. package/images/logoPlaceHolder.png +0 -0
  199. package/images/logo_csds_WOD.png +0 -0
  200. package/images/lp-professionals.png +0 -0
  201. package/images/map-placeholder.jpg +0 -0
  202. package/images/meteor_logo.png +0 -0
  203. package/images/mvc_logo.png +0 -0
  204. package/images/off_canvas.jpg +0 -0
  205. package/images/p1.jpg +0 -0
  206. package/images/p2.jpg +0 -0
  207. package/images/p3.jpg +0 -0
  208. package/images/p4.jpg +0 -0
  209. package/images/p5.jpg +0 -0
  210. package/images/p6.jpg +0 -0
  211. package/images/p7.jpg +0 -0
  212. package/images/p8.jpg +0 -0
  213. package/images/p_big1.jpg +0 -0
  214. package/images/p_big2.jpg +0 -0
  215. package/images/p_big3.jpg +0 -0
  216. package/images/pattern_centres.png +0 -0
  217. package/images/pattern_darkPages.png +0 -0
  218. package/images/pattern_educ.png +0 -0
  219. package/images/pattern_educ_whiteBG.png +0 -0
  220. package/images/pattern_white.png +0 -0
  221. package/images/patterns-error1.png +0 -0
  222. package/images/patterns-error2.png +0 -0
  223. package/images/patterns-error3.png +0 -0
  224. package/images/pcn-learning-solutions.jpg +0 -0
  225. package/images/pocket-simulation-centre.jpg +0 -0
  226. package/images/profile.jpg +0 -0
  227. package/images/profile_big.jpg +0 -0
  228. package/images/profile_small.jpg +0 -0
  229. package/images/profile_small2.jpg +0 -0
  230. package/images/rails_logo.png +0 -0
  231. package/images/red.png +0 -0
  232. package/images/red@2x.png +0 -0
  233. package/images/shop-equipmentloans.jpg +0 -0
  234. package/images/shop-products.jpg +0 -0
  235. package/images/signature.png +0 -0
  236. package/images/signaturePlaceHolder.png +0 -0
  237. package/images/simshop-bg.jpg +0 -0
  238. package/images/simshop-head.png +0 -0
  239. package/images/simshop-head2.png +0 -0
  240. package/images/steelblue-darkbg.png +0 -0
  241. package/images/steelblue.png +0 -0
  242. package/images/steelblue@2x.png +0 -0
  243. package/images/steelbluesmall.png +0 -0
  244. package/images/temp-landing-hero.jpg +0 -0
  245. package/images/wallpaper1.jpg +0 -0
  246. package/images/wallpaper2.jpg +0 -0
  247. package/images/wallpaper3.jpg +0 -0
  248. package/images/wallpaper4.jpg +0 -0
  249. package/images/zender_logo.png +0 -0
  250. package/index.html +0 -13
  251. package/sass/base/_base.scss +0 -931
  252. package/sass/base/_typography.scss +0 -236
  253. package/sass/bourbon/_bourbon-deprecated-upcoming.scss +0 -411
  254. package/sass/bourbon/_bourbon.scss +0 -87
  255. package/sass/bourbon/addons/_border-color.scss +0 -26
  256. package/sass/bourbon/addons/_border-radius.scss +0 -48
  257. package/sass/bourbon/addons/_border-style.scss +0 -25
  258. package/sass/bourbon/addons/_border-width.scss +0 -25
  259. package/sass/bourbon/addons/_buttons.scss +0 -64
  260. package/sass/bourbon/addons/_clearfix.scss +0 -25
  261. package/sass/bourbon/addons/_ellipsis.scss +0 -30
  262. package/sass/bourbon/addons/_font-stacks.scss +0 -31
  263. package/sass/bourbon/addons/_hide-text.scss +0 -27
  264. package/sass/bourbon/addons/_margin.scss +0 -26
  265. package/sass/bourbon/addons/_padding.scss +0 -26
  266. package/sass/bourbon/addons/_position.scss +0 -48
  267. package/sass/bourbon/addons/_prefixer.scss +0 -66
  268. package/sass/bourbon/addons/_retina-image.scss +0 -25
  269. package/sass/bourbon/addons/_size.scss +0 -51
  270. package/sass/bourbon/addons/_text-inputs.scss +0 -113
  271. package/sass/bourbon/addons/_timing-functions.scss +0 -34
  272. package/sass/bourbon/addons/_triangle.scss +0 -63
  273. package/sass/bourbon/addons/_word-wrap.scss +0 -29
  274. package/sass/bourbon/css3/_animation.scss +0 -43
  275. package/sass/bourbon/css3/_appearance.scss +0 -3
  276. package/sass/bourbon/css3/_backface-visibility.scss +0 -3
  277. package/sass/bourbon/css3/_background-image.scss +0 -42
  278. package/sass/bourbon/css3/_background.scss +0 -55
  279. package/sass/bourbon/css3/_border-image.scss +0 -59
  280. package/sass/bourbon/css3/_calc.scss +0 -4
  281. package/sass/bourbon/css3/_columns.scss +0 -47
  282. package/sass/bourbon/css3/_filter.scss +0 -4
  283. package/sass/bourbon/css3/_flex-box.scss +0 -287
  284. package/sass/bourbon/css3/_font-face.scss +0 -24
  285. package/sass/bourbon/css3/_font-feature-settings.scss +0 -4
  286. package/sass/bourbon/css3/_hidpi-media-query.scss +0 -10
  287. package/sass/bourbon/css3/_hyphens.scss +0 -4
  288. package/sass/bourbon/css3/_image-rendering.scss +0 -14
  289. package/sass/bourbon/css3/_keyframes.scss +0 -36
  290. package/sass/bourbon/css3/_linear-gradient.scss +0 -38
  291. package/sass/bourbon/css3/_perspective.scss +0 -8
  292. package/sass/bourbon/css3/_placeholder.scss +0 -8
  293. package/sass/bourbon/css3/_radial-gradient.scss +0 -39
  294. package/sass/bourbon/css3/_selection.scss +0 -42
  295. package/sass/bourbon/css3/_text-decoration.scss +0 -19
  296. package/sass/bourbon/css3/_transform.scss +0 -15
  297. package/sass/bourbon/css3/_transition.scss +0 -71
  298. package/sass/bourbon/css3/_user-select.scss +0 -3
  299. package/sass/bourbon/functions/_assign-inputs.scss +0 -11
  300. package/sass/bourbon/functions/_contains-falsy.scss +0 -20
  301. package/sass/bourbon/functions/_contains.scss +0 -26
  302. package/sass/bourbon/functions/_is-length.scss +0 -11
  303. package/sass/bourbon/functions/_is-light.scss +0 -21
  304. package/sass/bourbon/functions/_is-number.scss +0 -11
  305. package/sass/bourbon/functions/_is-size.scss +0 -13
  306. package/sass/bourbon/functions/_modular-scale.scss +0 -69
  307. package/sass/bourbon/functions/_px-to-em.scss +0 -13
  308. package/sass/bourbon/functions/_px-to-rem.scss +0 -15
  309. package/sass/bourbon/functions/_shade.scss +0 -24
  310. package/sass/bourbon/functions/_strip-units.scss +0 -17
  311. package/sass/bourbon/functions/_tint.scss +0 -24
  312. package/sass/bourbon/functions/_transition-property-name.scss +0 -22
  313. package/sass/bourbon/functions/_unpack.scss +0 -27
  314. package/sass/bourbon/helpers/_convert-units.scss +0 -21
  315. package/sass/bourbon/helpers/_directional-values.scss +0 -96
  316. package/sass/bourbon/helpers/_font-source-declaration.scss +0 -43
  317. package/sass/bourbon/helpers/_gradient-positions-parser.scss +0 -13
  318. package/sass/bourbon/helpers/_linear-angle-parser.scss +0 -25
  319. package/sass/bourbon/helpers/_linear-gradient-parser.scss +0 -41
  320. package/sass/bourbon/helpers/_linear-positions-parser.scss +0 -61
  321. package/sass/bourbon/helpers/_linear-side-corner-parser.scss +0 -31
  322. package/sass/bourbon/helpers/_radial-arg-parser.scss +0 -69
  323. package/sass/bourbon/helpers/_radial-gradient-parser.scss +0 -50
  324. package/sass/bourbon/helpers/_radial-positions-parser.scss +0 -18
  325. package/sass/bourbon/helpers/_render-gradients.scss +0 -26
  326. package/sass/bourbon/helpers/_shape-size-stripper.scss +0 -10
  327. package/sass/bourbon/helpers/_str-to-num.scss +0 -50
  328. package/sass/bourbon/settings/_asset-pipeline.scss +0 -7
  329. package/sass/bourbon/settings/_prefixer.scss +0 -9
  330. package/sass/bourbon/settings/_px-to-em.scss +0 -1
  331. package/sass/components/_alerts.scss +0 -300
  332. package/sass/components/_badges_labels.scss +0 -204
  333. package/sass/components/_breadcrumbs.scss +0 -65
  334. package/sass/components/_buttons.scss +0 -769
  335. package/sass/components/_calendar.scss +0 -301
  336. package/sass/components/_cards.scss +0 -218
  337. package/sass/components/_chips.scss +0 -23
  338. package/sass/components/_comments.scss +0 -129
  339. package/sass/components/_ibox.scss +0 -722
  340. package/sass/components/_icons.scss +0 -17
  341. package/sass/components/_inputs.scss +0 -3
  342. package/sass/components/_lists.scss +0 -489
  343. package/sass/components/_modals.scss +0 -260
  344. package/sass/components/_navigation.scss +0 -596
  345. package/sass/components/_photo_upload.scss +0 -39
  346. package/sass/components/_progress_bars.scss +0 -90
  347. package/sass/components/_sidebar.scss +0 -53
  348. package/sass/components/_tables.scss +0 -429
  349. package/sass/components/_timeline.scss +0 -84
  350. package/sass/components/_widgets.scss +0 -310
  351. package/sass/components/_wizards.scss +0 -48
  352. package/sass/components/_wysiwyg.scss +0 -3
  353. package/sass/inspinia/_animate.scss +0 -2848
  354. package/sass/inspinia/_badges_labels.scss +0 -67
  355. package/sass/inspinia/_base.scss +0 -1424
  356. package/sass/inspinia/_buttons.scss +0 -309
  357. package/sass/inspinia/_chat.scss +0 -125
  358. package/sass/inspinia/_custom.scss +0 -6
  359. package/sass/inspinia/_elements.scss +0 -2632
  360. package/sass/inspinia/_landing.scss +0 -659
  361. package/sass/inspinia/_md-skin.scss +0 -400
  362. package/sass/inspinia/_media.scss +0 -132
  363. package/sass/inspinia/_metismenu.scss +0 -82
  364. package/sass/inspinia/_mixins.scss +0 -0
  365. package/sass/inspinia/_navigation.scss +0 -590
  366. package/sass/inspinia/_pages.scss +0 -1366
  367. package/sass/inspinia/_rtl.scss +0 -280
  368. package/sass/inspinia/_sidebar.scss +0 -195
  369. package/sass/inspinia/_skins.scss +0 -480
  370. package/sass/inspinia/_spinners.scss +0 -1018
  371. package/sass/inspinia/_theme-config.scss +0 -114
  372. package/sass/inspinia/_top_navigation.scss +0 -132
  373. package/sass/inspinia/_typography.scss +0 -32
  374. package/sass/inspinia/_variables.scss +0 -39
  375. package/sass/layout/_bootstrap.scss +0 -496
  376. package/sass/layout/_content.scss +0 -31
  377. package/sass/layout/_forms.scss +0 -911
  378. package/sass/layout/_media-max-1199.scss +0 -7
  379. package/sass/layout/_media-max-1200.scss +0 -96
  380. package/sass/layout/_media-max-1400.scss +0 -7
  381. package/sass/layout/_media-max-330.scss +0 -5
  382. package/sass/layout/_media-max-350.scss +0 -38
  383. package/sass/layout/_media-max-400.scss +0 -51
  384. package/sass/layout/_media-max-460.scss +0 -81
  385. package/sass/layout/_media-max-479.scss +0 -32
  386. package/sass/layout/_media-max-550.scss +0 -47
  387. package/sass/layout/_media-max-600.scss +0 -64
  388. package/sass/layout/_media-max-672.scss +0 -6
  389. package/sass/layout/_media-max-768.scss +0 -81
  390. package/sass/layout/_media-max-840.scss +0 -11
  391. package/sass/layout/_media-max-900.scss +0 -5
  392. package/sass/layout/_media-max-991.scss +0 -18
  393. package/sass/layout/_media-max-992.scss +0 -48
  394. package/sass/layout/_media-max-999.scss +0 -35
  395. package/sass/layout/_media-min-1200.scss +0 -5
  396. package/sass/layout/_media-min-1201.scss +0 -112
  397. package/sass/layout/_media-min-1401.scss +0 -29
  398. package/sass/layout/_media-min-1501.scss +0 -8
  399. package/sass/layout/_media-min-1601.scss +0 -485
  400. package/sass/layout/_media-min-480.scss +0 -15
  401. package/sass/layout/_media-min-672.scss +0 -6
  402. package/sass/layout/_media-min-768.scss +0 -160
  403. package/sass/layout/_media-min-820.scss +0 -19
  404. package/sass/layout/_media-min-880.scss +0 -76
  405. package/sass/layout/_media-min-993.scss +0 -141
  406. package/sass/layout/_media.scss +0 -82
  407. package/sass/layout/_sidebar.scss +0 -29
  408. package/sass/layout/_top_navigation.scss +0 -37
  409. package/sass/pages/_pages.scss +0 -4429
  410. package/sass/plugins/_charts.scss +0 -65
  411. package/sass/plugins/_dropzone.scss +0 -15
  412. package/sass/plugins/_icheck.scss +0 -196
  413. package/sass/plugins/_select2-bootstrap.scss +0 -631
  414. package/sass/plugins/_skspinner.scss +0 -5
  415. package/sass/plugins/_sortable.scss +0 -43
  416. package/sass/plugins/_timepicker.scss +0 -14
  417. package/sass/plugins/_toastr.scss +0 -53
  418. package/sass/style.scss +0 -92
  419. package/sass/styleguide/_components-1-buttons.scss +0 -125
  420. package/sass/styleguide/_components-badges.scss +0 -62
  421. package/sass/styleguide/_components-breadcrumbs.scss +0 -30
  422. package/sass/styleguide/_components-cards.scss +0 -57
  423. package/sass/styleguide/_components-forms.scss +0 -176
  424. package/sass/styleguide/_components-ibox.scss +0 -107
  425. package/sass/styleguide/_components-labels.scss +0 -69
  426. package/sass/styleguide/_components-lists.scss +0 -274
  427. package/sass/styleguide/_components-modals.scss +0 -171
  428. package/sass/styleguide/_components-pagination.scss +0 -27
  429. package/sass/styleguide/_components-progressBars.scss +0 -82
  430. package/sass/styleguide/_components-tables.scss +0 -115
  431. package/sass/styleguide/_components-widgets.scss +0 -105
  432. package/sass/styleguide/_layout-asana.scss +0 -163
  433. package/sass/styleguide/_layout-centered.scss +0 -33
  434. package/sass/styleguide/_layout-itemAction.scss +0 -92
  435. package/sass/styleguide/_layout-responsive.scss +0 -77
  436. package/sass/styleguide/_patterns-alerts.scss +0 -62
  437. package/sass/styleguide/_patterns-dataformats.scss +0 -40
  438. package/sass/styleguide/_patterns-emptystates.scss +0 -46
  439. package/sass/styleguide/_patterns-errors.scss +0 -44
  440. package/sass/styleguide/_section-components.scss +0 -12
  441. package/sass/styleguide/_section-layout.scss +0 -40
  442. package/sass/styleguide/_section-patterns.scss +0 -11
  443. package/sass/styleguide/_section-styles.scss +0 -9
  444. package/sass/styleguide/_style-1-colors.scss +0 -126
  445. package/sass/styleguide/_style-2-icons.scss +0 -90
  446. package/sass/styleguide/_style-3-typography.scss +0 -139
  447. package/sass/styleguide/_style-4-spacing.scss +0 -85
  448. package/sass/styleguide/_style-5-borders.scss +0 -56
  449. package/sass/styleguide/_style-6-helpers.scss +0 -184
  450. package/sass/styleguide/index.md +0 -31
  451. package/sass/utilities/_mixins.scss +0 -607
  452. package/sass/utilities/_variables.scss +0 -118
  453. package/styleguide-dep/code_example_templates/js_example_template.html.erb +0 -7
  454. package/styleguide-dep/code_example_templates/jsx_example_template.html.erb +0 -7
  455. package/styleguide-dep/code_example_templates/markup_example_template.html.erb +0 -10
  456. package/styleguide-dep/code_example_templates/markup_table_template.html.erb +0 -23
  457. package/styleguide-dep/css/custom-icheckbox.css +0 -121
  458. package/styleguide-dep/css/doc.css +0 -165
  459. package/styleguide-dep/css/steelblue.png +0 -0
  460. package/styleguide-dep/css/steelblue@2x.png +0 -0
  461. package/styleguide-dep/js/checkbox.js +0 -6
  462. package/styleguide-dep/js/custom.js +0 -969
  463. package/styleguide-dep/js/inspinia.js +0 -297
@@ -1,969 +0,0 @@
1
- $(document).on('click', 'a.scroll-down', function(event){
2
- event.preventDefault();
3
-
4
- $('html, body').animate({
5
- scrollTop: $( $.attr(this, 'href') ).offset().top
6
- }, 500);
7
- });
8
-
9
-
10
- $(document).ready(function() {
11
-
12
- var FF = !(window.mozInnerScreenX == null);
13
-
14
- if(FF) {
15
-
16
- if ($('body').width() > 992) {
17
- $('.ellipsis').dotdotdot({
18
- watch: "window"
19
- });
20
- };
21
-
22
-
23
- }
24
-
25
- $('.modal .detailed a').click(function () {
26
- $(this).addClass('selected').siblings().removeClass('selected');
27
- });
28
-
29
- $('.dayFilter').click(function () {
30
- $(this).addClass('selected');
31
- $('.weekFilter').removeClass('selected');
32
- $('#weekFilterView').addClass('collapse');
33
- $('#weekFilterView').removeClass('in');
34
- $('#filterWeekly').hide();
35
- $('#filterDaily').show();
36
-
37
- //Hide the rest of the days for the day view
38
- $('#day2').hide();
39
- $('#day3').hide();
40
- $('#day4').hide();
41
- $('#day5').hide();
42
- $('#day6').hide();
43
- $('#day7').hide();
44
- });
45
-
46
- //Clicking "Any time" in the modal should disable all options
47
- $('#anyDate').click(function () {
48
- $('.dateOption').removeClass('selected');
49
- $(this).addClass('selected');
50
- $('#customDateSection').hide();
51
- });
52
-
53
- //Clicking other options should disable "Any time" and "Custom"
54
- $('.dateOption').click(function () {
55
- $('#anyDate').removeClass('selected');
56
- $('#customDate').removeClass('selected');
57
- $(this).addClass('selected');
58
- $('#customDateSection').hide();
59
- });
60
-
61
- //Clicking other options should disable "Any time" and "Custom"
62
- $('#customDate').click(function () {
63
- $('.dateOption').removeClass('selected');
64
- $(this).addClass('selected');
65
- $('#customDateSection').show();
66
- });
67
-
68
- $('.weekFilter').click(function () {
69
- $(this).addClass('selected');
70
-
71
- //
72
- $('.dayFilter').removeClass('selected');
73
- $('#dayFilterView').addClass('collapse');
74
- $('#dayFilterView').removeClass('in');
75
- $('#filterDaily').hide();
76
- $('#filterWeekly').show();
77
-
78
- //Show the rest of the days for the week view
79
- $('#day2').show();
80
- $('#day3').show();
81
- $('#day4').show();
82
- $('#day5').show();
83
- $('#day6').show();
84
- $('#day7').show();
85
- });
86
-
87
- /*
88
- $('#bookingsSearch').click(function () {
89
- $(this).attr('placeholder', 'Press ENTER to search');
90
- $('#dashboardBookings').hide();
91
- });
92
- */
93
-
94
- $('.datepicker').datepicker({
95
- maxViewMode: 2,
96
- todayBtn: "linked",
97
- todayHighlight: true,
98
- templates: {
99
- leftArrow: '<i class="fa fa-fw fa-angle-left"></i>',
100
- rightArrow: '<i class="fa fa-fw fa-angle-right"></i>'
101
- },
102
- title: " ",
103
-
104
- });
105
-
106
- /* Masking */
107
- $('.mask_money').inputmask("currency");
108
- $('.mask_quantity').inputmask("number");
109
- $('.mask_email').inputmask("email");
110
-
111
-
112
- /* Custom iChecks */
113
- $('.i-checks').iCheck({
114
- checkboxClass: 'icheckbox_square-steelblue',
115
- radioClass: 'iradio_square-steelblue',
116
- });
117
-
118
- $('.i-checks2').iCheck({
119
- checkboxClass: 'icheckbox_square-steelblue',
120
- radioClass: 'iradio_square-steelblue',
121
- });
122
-
123
- /* Custom design hacks */
124
- $('#invoice3256 > tbody > tr').hover(function() {
125
- $(this).addClass('hover');
126
- }, function() {
127
- $(this).removeClass('hover');
128
- });
129
-
130
- $('#pocketCentreStatusSelect').change(function() {
131
- if ($('#pocketCentreStatusSelect').val()==2)
132
- $("#operationalPocketCentreOptions").collapse("show");
133
- else
134
- $("#operationalPocketCentreOptions").collapse("hide");
135
- });
136
-
137
- $('[class^=is]').hide();
138
-
139
- var select = $('select option:selected').val();
140
- var showDiv = $('.is' + select);
141
- showDiv.show();
142
-
143
- $('select').change(function() {
144
-
145
- var value = $("option:selected", this).val();
146
- var theDiv = $(".is" + value);
147
-
148
- if (value!="") {
149
- theDiv.siblings('[class^=is]').hide();
150
- theDiv.show();
151
- } else {
152
- $('[class^=is]').hide();
153
- }
154
-
155
- });
156
-
157
- $('.buttonNewCourse').click(function () {
158
- var placeholderText = $(this).attr('data-placeholder');
159
- $('.placeholder').html(placeholderText);
160
- });
161
-
162
-
163
- // Toggle checkbox
164
- $('.onoffswitch-checkbox').click(function () {
165
- modalref = $(this).attr('data-target');
166
- $(modalref).slideToggle(200);
167
-
168
- /*
169
- var ibox = $(this).closest('div.ibox');
170
- var button = $(this).find('i');
171
- var content = ibox.find('div.ibox-content');
172
- content.slideToggle(200);
173
- button.toggleClass('fa-chevron-up').toggleClass('fa-chevron-down');
174
- setTimeout(function () {
175
- ibox.resize();
176
- ibox.find('[id^=map-]').resize();
177
- }, 50);
178
- */
179
- });
180
-
181
- // Collapse ibox function
182
- $('.nqhs-collapse-link').click(function () {
183
- var ibox = $(this).closest('div.ibox');
184
- var agileList = ibox.find('ul.agile-list-nsqhs');
185
- agileList.toggle();
186
-
187
- var ibox = $(this).closest('div.ibox');
188
- var button = $(this).find('i');
189
- var content = ibox.find('div.ibox-content');
190
- content.slideToggle(0);
191
- button.toggleClass('fa-chevron-up').toggleClass('fa-chevron-down');
192
- //ibox.toggleClass('').toggleClass('border-bottom');
193
- setTimeout(function () {
194
- ibox.resize();
195
- ibox.find('[id^=map-]').resize();
196
- }, 50);
197
- });
198
-
199
- // Collapse function using the plus icon
200
- $('.collapse-link-plus').click(function () {
201
- var ibox = $(this).closest('div.ibox');
202
- var button = $(this).find('i');
203
- var content = ibox.find('div.ibox-content');
204
- content.slideToggle(200);
205
- button.toggleClass('fa-plus').toggleClass('fa-minus');
206
- setTimeout(function () {
207
- ibox.resize();
208
- ibox.find('[id^=map-]').resize();
209
- }, 50);
210
- });
211
-
212
-
213
-
214
- /*$('#toggleCancelledBookings').on('ifChecked', function(event){
215
- $("div.cancelled").show();
216
- });
217
-
218
- $('#toggleCancelledBookings').on('ifUnchecked', function(event){
219
- $("div.cancelled").hide();
220
- });
221
-
222
- $('#toggleApprovedBookings').on('ifChecked', function(event){
223
- $("div.approved").show();
224
- });
225
-
226
- $('#toggleApprovedBookings').on('ifUnchecked', function(event){
227
- $("div.approved").hide();
228
- });
229
-
230
- $('#toggleUnapprovedBookings').on('ifChecked', function(event){
231
- $("div.unapproved").show();
232
- });
233
-
234
- $('#toggleUnapprovedBookings').on('ifUnchecked', function(event){
235
- $("div.unapproved").hide();
236
- }); */
237
-
238
- $('.collapse-list-item').click(function () {
239
- var ibox = $(this).next();
240
- ibox.slideToggle(200);
241
- });
242
-
243
-
244
- $(".remove-button").click(function() {
245
- $(this).closest('.remove-button-container').fadeOut();
246
- });
247
-
248
- /* i-checks */
249
- $('.i-checks').on('ifChecked', function(event){
250
- modalref = $(this).attr('data-target');
251
- $(modalref).collapse("hide");
252
- });
253
-
254
- $('.i-checks').on('ifUnchecked', function(event){
255
- modalref = $(this).attr('data-target');
256
- $(modalref).collapse("show");
257
- });
258
-
259
- $('.i-checks.inverted').on('ifChecked', function(event){
260
- modalref = $(this).attr('data-target');
261
- $(modalref).collapse("show");
262
- });
263
-
264
- $('.i-checks.inverted').on('ifUnchecked', function(event){
265
- modalref = $(this).attr('data-target');
266
- $(modalref).collapse("hide");
267
- });
268
-
269
-
270
- function adjust_height () {
271
- var navbarStaticTopHeight = $('.navbar.navbar-static-top').height();
272
- var breadCrumbHeight = $('.row.page-heading').height();
273
-
274
- var navBarPlusBreadCrumbHeight = navbarStaticTopHeight + breadCrumbHeight;
275
-
276
- var maxHeight = Math.max.apply(null, $('.page-fh-row > .column').map(function ()
277
- {
278
- return $(this).height();
279
- }).get());
280
-
281
- if ($('#wrapper').width() > 992) {
282
- $('.page-fh-row > .column').css("min-height", maxHeight + "px");
283
- } else {
284
- $('.page-fh-row > .column').css("min-height", "1px");
285
- }
286
- }
287
-
288
- adjust_height();
289
-
290
- $(window).bind("load resize scroll", function () {
291
- adjust_height();
292
- });
293
-
294
- /* DELIVERY/POSTAL ADDRESS TOGGLES*/
295
- $(".customDeliveryAddressCheckbox").click(function() {
296
- $("#customDeliveryAddress").slideToggle();
297
- });
298
- $(".customPostalAddressCheckbox").click(function() {
299
- $("#customPostalAddress").slideToggle();
300
- });
301
-
302
-
303
- //NESTED MODAL
304
- var modalref;
305
- var childmodalsize;
306
- var triggerpos;
307
- var triggerel;
308
- //ADD CHILD-MODAL CLASS TO CHILD MODAL AND FIND POSITION OF TRIGGER ELEMENT
309
- $(".modal [data-submodal]").click(function() {
310
- triggerel = $(this);
311
- modalref = $(this).attr('data-submodal');
312
- $(modalref).addClass('child-modal');
313
-
314
- //ADJUST POINTER POSITION
315
- triggerpos = $(triggerel).offset().top;
316
- //HIGHLIGHT TRIGGER
317
- if ($(triggerel).hasClass("btn") && modalref) {
318
- //IF BTN IS TRIGGER
319
- $(triggerel).closest('.form-group, tr td').addClass('toggle-highlight');
320
- triggerpos = triggerpos - 15;
321
- }
322
- if ($(triggerel).hasClass("btn-xs") && modalref) {
323
- //IF SMLBTN IS TRIGGER
324
- $(triggerel).closest('tr').find('td').addClass('toggle-highlight');
325
- triggerpos = triggerpos - 20;
326
- }
327
- else {
328
- //IF INPUT IS TRIGGER
329
- $(triggerel).addClass('toggle-highlight');
330
- triggerpos = triggerpos - 25;
331
- }
332
- $(modalref).find('.modal-arrow').css('top', + triggerpos + 'px');
333
-
334
- //ON MODAL HIDE EVENT REMOVE CHILD-MODAL CLASS AND CLEAR CHILD-MODAL FORM FIELDS
335
- $(modalref).on('hidden.bs.modal', function(){
336
- $(this).removeClass('child-modal');
337
- $(this).find("input[type=text], textarea").val("");
338
- $(".toggle-highlight").removeClass('toggle-highlight');
339
- $('.modal').not(modalref).css('opacity', '1');
340
- })
341
-
342
- //IF WINDOW IS SMALL HIDE PARENT MODAL
343
- $(window).on('load resize', function () {
344
- if ($('body').width() < 769) {
345
- $('.modal').not(modalref).css('opacity', '0');
346
- }
347
- else {
348
- $('.modal').not(modalref).css('opacity', '1');
349
- }
350
- });//RESIZE
351
-
352
-
353
-
354
- //IF WINDOW IS SMALL HIDE PARENT MODAL
355
- $(window).on('load resize', function () {
356
- console.log(modalref);
357
- if ($('body').width() < 769) {
358
- $('.modal').not(modalref).css('opacity', '0');
359
- }
360
- else {
361
- $('.modal').not(modalref).css('opacity', '1');
362
- }
363
- });//RESIZE
364
- });
365
-
366
- /* WIZARD NEXT/PREV STEPS*/
367
- $(".wizard-step .next, .wizard-step .prev").each(function(index){
368
- $(this).click(function(){
369
- $(".wizard-step").stop().slideUp(200);
370
- var href = $(this).attr('href');
371
- $(href).stop().delay(200).slideDown();
372
- });
373
- });
374
- /* MODAL WIZARD NEXT/PREV STEPS*/
375
- $(".modal-wizard-step .next, .modal-wizard-step .prev").each(function(index){
376
- $(this).click(function(){
377
- $(".modal-wizard-step").stop().slideUp(200);
378
- var href = $(this).attr('href');
379
- $(href).stop().delay(200).slideDown();
380
- });
381
- });
382
-
383
- /* SCROLLABLE COLUMNS*/
384
- $(window).on('load resize', function () {
385
- if ($('body').width() > 992) {
386
- $(".scrollable").each(function( index ) {
387
- var windowHeight = (window.innerHeight) - ($(this).offset().top);
388
- $(".wrapper-content").css("paddingBottom", 0);
389
- $(this).parent().css("paddingBottom", 0);
390
- $(this).height(windowHeight);
391
- });
392
- };//IF
393
- });
394
-
395
- /* CLICKING ALERTS CHANGES TABS*/
396
- $('.paymentalert').click(function(){
397
- $('a[href="#payments"]').trigger("click");
398
- });
399
-
400
- //TRIGGER COLLAPSE ON TOGGLE (ON/OFF) SWITCH CLICK
401
- $('.onoffswitch').on('click', function(e) {
402
- if($(this).find('.onoffswitch-checkbox').is(':checked')){
403
- var colTarget = $(this).attr("href");
404
- $(colTarget).collapse('hide');
405
- }
406
- else {
407
- var colTarget = $(this).attr("href");
408
- $(colTarget).collapse('toggle');
409
- }
410
- });
411
-
412
- //EVENT CHECK INPUT TOGGLES SECTION (settings/bookings.php)
413
- $('#event-type-check label, #event-type-check ins').click(function(){
414
- $('#eventbookingtype .onoffswitch').toggleClass('disabled');
415
- $('#eventbookingtype p').toggleClass('text-muted');
416
- });
417
-
418
- //SHOW CONTACT ORGANISATION INPUT IF SOURCE IS EXTERNAL (bookings/edit-x-bookings.pphp)
419
- $("#booking-source option:selected").each(function() {
420
- var srcval = $(this).text();
421
- if(srcval == 'External'){
422
- $('#contact-organisation').slideDown();
423
- }
424
- else {
425
- $('#contact-organisation').slideUp();
426
- }
427
- });
428
- $("#booking-source").change(function() {
429
- $("#booking-source option:selected").each(function() {
430
- var srcval = $(this).text();
431
- if(srcval == 'External'){
432
- $('#contact-organisation').slideDown();
433
- }
434
- else {
435
- $('#contact-organisation').slideUp();
436
- }
437
- });
438
- });
439
-
440
-
441
- //TRIGGER ADD COURSE MODAL WHEN COURSE IS SELECTED FROM DROP DOWN
442
- $('.course-select').change(function () {
443
- var selectstr = $(this).find('option:selected').text();
444
- if(selectstr == 'Course'){
445
- $('#addCourseModal').modal('show');
446
- $('#courseGroup').slideDown();
447
- }
448
- else {
449
- $('#courseGroup').slideUp();
450
- }
451
- });
452
-
453
- //TRIGGER ORGANUISATION FIELD WHEN EXTERNAL IS SELECTED FROM BOOKING SOURCE DROP DOWN
454
- $('.booking-source-select').change(function () {
455
- var selectstr = $(this).find('option:selected').text();
456
- if(selectstr == 'External'){
457
- $('#booking-organisation').slideDown();
458
- console.log("asdf");
459
- }
460
- else {
461
- $('#booking-organisation').slideUp();
462
- }
463
- });
464
-
465
- //SHOW HIDDEN FIELDS IN REPORT EMAIL MODAL
466
- $('.otheremail').on('ifChecked', function(event){
467
- $(".otheremailinput").slideDown();
468
- });
469
- $('.otheremail').on('ifUnchecked', function(event){
470
- $(".otheremailinput").slideUp();
471
- });
472
- $('#recurringoption').on('ifChecked', function(event){
473
- $("#emailfreqinput").slideDown();
474
- });
475
- $('#recurringoption').on('ifUnchecked', function(event){
476
- $("#emailfreqinput").slideUp();
477
- });
478
-
479
- //CHANGE FILE EXTENSION IN DOWNLOAD REPORT MODAL
480
- $('#filetype').change(function () {
481
- var selectstr = $(this).find('option:selected').text();
482
- $('#fileextension').html(selectstr);
483
- });
484
-
485
- //SHOW PREVIEW IN BOOKING REPEAT MODAL
486
- $('#bookingRepeatPreview').click(function () {
487
- $(this).hide();
488
- $('#bookingRepeatSave').show();
489
- $('#previewArea').slideDown();
490
- });
491
-
492
- //BOOKING STATUS CHANGES - These are for placeholders will be entirely replaced
493
- // $('#approveBookingBtn').click(function () {
494
- // $(this).parent().addClass('nodisplay');
495
- // $('#confirmBookingBtn').parent().removeClass('nodisplay');
496
- // $('.bookingstatus').addClass('nodisplay');
497
- // $('#ApprovedStatus').removeClass('nodisplay');
498
- // });
499
- $('#cancelBookingBtn').click(function () {
500
- $(this).parent().addClass('nodisplay');
501
- $('#approveBookingBtn').parent().addClass('nodisplay');
502
- $('#confirmBookingBtn').parent().addClass('nodisplay');
503
- $('#reinstateBookingBtn').parent().removeClass('nodisplay');
504
- $('.bookingstatus').addClass('nodisplay');
505
- $('#CancelledStatus').removeClass('nodisplay');
506
- //HIDE ROOMS SECTIONS
507
- $('#bookingRooms').find('.ibox-content label, .ibox-content ul').hide();
508
- $('#bookingRooms').find('.text-center').removeClass('m-t-md');
509
- });
510
- // $('#confirmBookingBtn').click(function () {
511
- // $(this).parent().addClass('nodisplay');
512
- // $('.bookingstatus').addClass('nodisplay');
513
- // $('#ConfirmedStatus').removeClass('nodisplay');
514
- // });
515
- $('#reinstateBookingBtn').click(function () {
516
- $(this).parent().addClass('nodisplay');
517
- $('#cancelBookingBtn').parent().removeClass('nodisplay');
518
- $('#approveBookingBtn').parent().removeClass('nodisplay');
519
- $('.bookingstatus').addClass('nodisplay');
520
- $('#ReinstatedStatus').removeClass('nodisplay');
521
- $('#ApprovedRequiredStatus').removeClass('nodisplay');
522
- });
523
-
524
-
525
- ////SHOW/HIDE ROOMS SELECTOR IF ALL ROOMS OPTION IS CHECKED IN ADD ROOM MODAL
526
- $('.allrooms').on('ifChecked', function(event){
527
- $('.roomselector').prop('disabled', true);
528
- });
529
- $('.allrooms').on('ifUnchecked', function(event){
530
- $('.roomselector').prop('disabled', false);
531
- });
532
-
533
-
534
- //PREVENT MODAL TRIGGER BUTTON WITHIN COLLAPSE BUTTON FROM TRIGGERING BOTH MODAL AND COLLAPSE
535
- $("[data-toggle='collapse'] [data-toggle='modal']").click(function() {
536
- event.stopPropagation();
537
- var thisModal = $(this).attr('data-target');
538
- $(thisModal).modal('show');
539
- });
540
-
541
- /*HEIGHT FOR CENTRES PAGE SIDE MAP*/
542
- $(window).on('load resize', function () {
543
- if ($('body').width() > 992) {
544
- var windowHeight = (window.innerHeight) - ($('#centres-map-side').offset().top);
545
- $("#centres-map-side").height(windowHeight);
546
- //$("#centres-map-side").parent().css("paddingBottom", 0);
547
-
548
-
549
- };//END IF
550
- });
551
-
552
- //TOGGLE CENTRES PAGE MAP TO DISPLAY
553
- jQuery.fn.clickToggle = function(a,b) {
554
- function cb(){ [b,a][this._tog^=1].call(this); }
555
- return this.on("click", cb);
556
- };
557
- $("#centres-side-map-btn").clickToggle(function() {
558
- $(".centre-item").removeClass("col-lg-4");
559
- $(".centre-item").addClass("col-lg-6");
560
- $("#centres-map-side").stop().animate({width: "41.66666667%"}, 500);
561
- $("#centre-search-results").stop().animate({width: "58.33333333%"}, 500);
562
- }, function() {
563
- $(".centre-item").removeClass("col-md-6");
564
- $(".centre-item").addClass("col-lg-4");
565
- $("#centres-map-side").stop().animate({width: "0%"}, 500);
566
- $("#centre-search-results").stop().animate({width: "100%"}, 500);
567
- });
568
-
569
- //SIGN UP PAGE
570
-
571
- $('.list-item-with-tick').click(function () {
572
- $(this).addClass('active');
573
- $(this).children('.tick-wrapper').show();
574
- });
575
-
576
- $('#cps1').click(function () {
577
-
578
- this.addClass('active');
579
- $('#qld-health').slideDown();
580
-
581
- $(this).addClass('active');
582
- $(this).children('.tick-wrapper').show();
583
-
584
- $('#cps2').removeClass('active');
585
- $('#cps2').children('.tick-wrapper').hide();
586
- });
587
-
588
- $('.list-item-with-tick-wrapper').click(function () {
589
- $('.list-item-with-tick-wrapper').not(this).children('.list-item-with-tick').removeClass('active');
590
- $('.list-item-with-tick-wrapper').not(this).find('.tick-wrapper').hide();
591
- });
592
-
593
- $('#cps1').click(function () {
594
- $('#qld-health').show();
595
- $('#healthcare-student').hide();
596
- $('button#activate-account').prop('disabled', true);
597
- });
598
-
599
- $('#cps2').click(function () {
600
- $('#healthcare-student').show();
601
- $('#qld-health').hide();
602
- $('button#activate-account').prop('disabled', true);
603
- });
604
-
605
- $('#signup-university').keypress(function () {
606
- $('button#activate-account').prop('disabled', false);
607
- });
608
-
609
- $('#signup-areyouworkingforqh').change(function () {
610
- $('button#activate-account').prop('disabled', false);
611
- });
612
-
613
- $('#cps3').click(function () {
614
- $('#qld-health').hide();
615
- $('#healthcare-student').hide();
616
- $('button#activate-account').prop('disabled', false);
617
- });
618
-
619
- $('#yesQH').click(function () {
620
- $('#noQH').removeClass('active');
621
- $('#cps1').children('.tick-wrapper').hide();
622
- });
623
- $('#noQH').click(function () {
624
- $('#yesQH').removeClass('active');
625
- });
626
-
627
-
628
- //LANDING PAGE COURSES - MASONRY
629
- $('#course-masonry-grid').masonry({
630
- itemSelector: '.course-grid-item',
631
- columnWidth: function( containerWidth ) {
632
- return containerWidth /2;// NUMBER OF COLS
633
- }(),
634
- percentPosition: true
635
- });
636
-
637
-
638
- //RESOURCES LIST - ISOTOPE
639
- var $isoContainer = $('#resource-isotope-grid');
640
- $isoContainer.isotope({
641
- itemSelector: '.card-resource',
642
- percentPosition: true,
643
- masonry: {
644
- columnWidth: function(containerWidth) {
645
- return containerWidth /4;// MAX NUMBER OF COLS
646
- }(),
647
- }
648
- });
649
- //ISOTOPE FILTERS
650
- $('.isotope-filter').on('click', function() {
651
- $isoContainer.isotope({ filter: $(this).attr('data-filter')});
652
- $('#iso-all').fadeIn("fast").css("display","inline-block");;
653
- });
654
- $('#iso-all').on('click', function() {
655
- $(this).fadeOut('fast');
656
- });
657
-
658
-
659
- //RESOURCES TAGS
660
- $('#resource-filters .i-checks label').on('click', function(e) {
661
- var tagName = $(this).text();
662
- if($(this).find('input').is(':checked')){
663
- $('#resource-filter-labels').append('<span class="label label-deep-blue outline m-r-xs">' + tagName + ' <i class="fa fa-times-circle"></i></span>');
664
- }
665
- else {
666
- $('#resource-filter-labels span:contains(' + tagName + ')').remove();
667
- }
668
- });
669
- //ADD TAGS FROM RESOURCE CARDS
670
- $('.resource-tags .label').on('click', function(e) {
671
- event.preventDefault();
672
- var tagName = $(this).text();
673
- var tagExists = $('#resource-filter-labels span:contains(' + tagName + ')').text();
674
- if(tagExists === ''){
675
- $('#resource-filter-labels').append('<span class="label label-deep-blue outline m-r-xs">' + tagName + ' <i class="fa fa-times-circle"></i></span>');
676
- }
677
- });
678
- //REMOVE TAGS FROM FILTERS BAR
679
- $('#resource-filter-labels, .tag-cloud').on('click', '.fa', function(){
680
- $(this).parent().remove();
681
- });
682
- //CLEAR FILTERS AND CHECK BOXES
683
- $('.list-filters .clear-filters').on('click', function(e) {
684
- $('#resource-filter-labels span').remove();
685
- $('#resource-filters .icheckbox_square-steelblue').removeClass("checked");
686
- });
687
-
688
- //RESOURCES TOGGLE STAR ICON AND CARD "STARRED" CLASS
689
- $(".card-resource .ibox-title").find('.fa-star, .fa-star-o').click(function() {
690
- event.preventDefault();
691
- $(this).toggleClass("fa-star-o fa-star");
692
- $(this).closest(".card-resource").toggleClass("starred");
693
- });
694
- $("#resource-star-btn").click(function() {
695
- $(this).find('.fa-star, .fa-star-o').toggleClass("fa-star-o fa-star");
696
- });
697
-
698
-
699
- //SORTABLE.JS
700
- $(".sortable").sortable();
701
-
702
-
703
- $(window).resize(adjust_height);
704
-
705
-
706
- /* Prevent mouse scroll on Google map until after clicked on */
707
- $('.maps').click(function () {
708
- $('.maps iframe').css("pointer-events", "auto");
709
- });
710
-
711
-
712
- //FIXES ISSUE WHERE TRIGGERING ONE MODAL FROM WITHIN ANOTHER ADDS UNWANTED PADDING TO BODY
713
- $('.modal').on('hide.bs.modal', function() {
714
- $("body").css("padding-right","");
715
- });
716
-
717
-
718
- // $("button").click(function() {
719
- // var $this = $(this);
720
- // $('html, body').animate({scrollTop: $($this).parent().next().offset().top}, 800);
721
- // });
722
-
723
- $('.carousel').slick({
724
- infinite: true,
725
- slidesToShow: 4,
726
- slidesToScroll: 4,
727
- responsive: [
728
- {
729
- breakpoint: 1201,
730
- settings: {
731
- slidesToShow: 4,
732
- slidesToScroll: 4,
733
- infinite: true,
734
- }
735
- },
736
- {
737
- breakpoint: 993,
738
- settings: {
739
- slidesToShow: 2,
740
- slidesToScroll: 2,
741
- infinite: true,
742
- }
743
- },
744
- {
745
- breakpoint: 480,
746
- settings: {
747
- slidesToShow: 1,
748
- slidesToScroll: 1
749
- }
750
- }
751
- // You can unslick at a given breakpoint now by adding:
752
- // settings: "unslick"
753
- // instead of a settings object
754
- ]
755
- });
756
-
757
- $('input#search-equipment').keyup( function() {
758
- if( this.value.length < 3 ) return;
759
- $('.results').hide();
760
- $('#airx').hide().delay(2100).fadeIn();
761
- $("#spinner").show().delay(2000).fadeOut();
762
- });
763
-
764
- $("body").keypress(function( e ) {
765
- if(e.keyCode == 49) {
766
- if ($(".invi-UK").css('display')=='block') {
767
- $(".invi-UK").css('display', 'none');
768
- } else {
769
- $(".invi-UK").css('display', 'block');
770
- }
771
- }
772
- });
773
-
774
-
775
- $("body").keypress(function( e ) {
776
- if(e.keyCode == 49) {
777
- $(".ladycilento").hide();
778
- $(".bamaga").show();
779
-
780
- $(".pocket-wrapper").removeAttr('id');
781
- }
782
- if(e.keyCode == 50) {
783
- $(".bamaga").hide();
784
- $(".ladycilento").show();
785
-
786
- $(".pocket-wrapper").attr('id', "pocket1");
787
- }
788
-
789
- if(e.keyCode == 51) {
790
- $(".not-empty").hide();
791
- $(".empty").show();
792
-
793
- }
794
-
795
- if(e.keyCode == 52) {
796
- $(".not-empty").show();
797
- $(".empty").hide();
798
- }
799
- });
800
-
801
-
802
- $('.select-equipment-checkbox').on('ifChecked', function(event){
803
- $('#counterEquipmentSelected').val( function(i, oldval) {
804
- return ++oldval;
805
- });
806
-
807
- $('#counterEquipmentText').text($('#counterEquipmentSelected').val());
808
-
809
- $("#not-selected-equipment-alert").css('display', 'none');
810
- $("#selected-equipment-alert").css('display', 'block');
811
- $('#clearFilter').css('display', 'block');
812
- $('#equipmentUsedList').css('display', 'block');
813
- });
814
-
815
- $('.select-equipment-checkbox').on('ifUnchecked', function(event){
816
- $('#counterEquipmentSelected').val( function(i, oldval) {
817
- return --oldval;
818
- });
819
-
820
- if ( $('#counterEquipmentSelected').val() < 1 ) {
821
- $("#not-selected-equipment-alert").css('display', 'block');
822
- $("#selected-equipment-alert").css('display', 'none');
823
- }
824
-
825
- if ( $('#counterEquipmentSelected').val() == 0 && $('#counterEquipmentTypeSelected').val() == 0 ) {
826
- $('#clearFilter').css('display', 'none');
827
- }
828
-
829
- });
830
-
831
-
832
-
833
-
834
- $('.select-equipment-type-checkbox').on('ifChecked', function(event){
835
- $('#counterEquipmentTypeSelected').val( function(i, oldval) {
836
- return ++oldval;
837
- });
838
-
839
- $('#equipmentTypeCtrText').text("(" + $('#counterEquipmentTypeSelected').val() + ")");
840
- $('#clearFilter').css('display', 'block');
841
- });
842
-
843
- $('.select-equipment-type-checkbox').on('ifUnchecked', function(event){
844
- $('#counterEquipmentTypeSelected').val( function(i, oldval) {
845
- return --oldval;
846
- });
847
-
848
- if ( $('#counterEquipmentTypeSelected').val() > 0 )
849
- $('#equipmentTypeCtrText').text("(" + $('#counterEquipmentTypeSelected').val() + ")");
850
- else
851
- $('#equipmentTypeCtrText').text("");
852
-
853
-
854
- if ( $('#counterEquipmentSelected').val() == 0 && $('#counterEquipmentTypeSelected').val() == 0 ) {
855
- $('#clearFilter').css('display', 'none');
856
- }
857
-
858
- });
859
-
860
-
861
-
862
-
863
-
864
- $('.select-pocket-checkbox').on('ifChecked', function(event){
865
- $('#counterPocketSelected').val( function(i, oldval) {
866
- return ++oldval;
867
- });
868
-
869
- $('#pocketCtrText').text("(" + $('#counterPocketSelected').val() + ")");
870
- $('#clearFilter').css('display', 'block');
871
- });
872
-
873
- $('.select-pocket-checkbox').on('ifUnchecked', function(event){
874
- $('#counterPocketSelected').val( function(i, oldval) {
875
- return --oldval;
876
- });
877
-
878
- if ( $('#counterPocketSelected').val() > 0 )
879
- $('#pocketCtrText').text("(" + $('#counterPocketSelected').val() + ")");
880
- else
881
- $('#pocketCtrText').text("");
882
-
883
-
884
- if ( $('#counterEquipmentSelected').val() == 0 && $('#counterPocketSelected').val() == 0 ) {
885
- $('#clearFilter').css('display', 'none');
886
- }
887
-
888
- });
889
-
890
-
891
-
892
- $('.modal-body').click(function (e) {
893
-
894
- var senderElementName = event.target.tagName.toLowerCase();
895
-
896
- if(senderElementName === 'div')
897
- {
898
- $('#pocketCentres').removeClass( "in");
899
- $('#equipmentTypes').removeClass( "in");
900
- }
901
-
902
- });
903
-
904
-
905
- $('#equipmentTypeButton').click(function(e) {
906
- $('#pocketCentres').removeClass( "in");
907
- });
908
-
909
- $('#pocketCentreButton').click(function(e) {
910
- $('#equipmentTypes').removeClass( "in");
911
- });
912
-
913
-
914
-
915
- /* see: http://jsfiddle.net/Freizeitler/fzJLZ/ */
916
- /**
917
- * Responsive HTML Table
918
- *
919
- * @desc RWD: HTML table turns into an accordion.
920
- * @author [HZ]
921
- * @dependency jQuery
922
- */
923
- $.fn.responsiveTable = function () {
924
- $(this).find('table').each(function () {
925
- var trAcc = $(this).find('tr').not('tr:first-child'),
926
- thHead = [];
927
-
928
- $(this).find('tr:first-child td, tr:first-child th').each(function () {
929
- headLines = $(this).text();
930
- thHead.push(headLines);
931
- });
932
-
933
- trAcc.each(function () {
934
- for (i = 0, l = thHead.length; i < l; i++) {
935
- $(this).find('td').eq(i + 1).prepend('<h3>' + thHead[i + 1] + '</h3>');
936
- }
937
- });
938
-
939
- trAcc.append('<i class="icon-accordion">+</i>');
940
- trAcc.click(function () {
941
- if ($(this).hasClass('accordion-opened')) {
942
- $(this).animate({
943
- maxHeight: '60px'
944
- }, 200).removeClass('accordion-opened').find('.icon-accordion').text('+');
945
-
946
- } else {
947
- $(this).animate({
948
- maxHeight: '1000px'
949
- }, 400).addClass('accordion-opened').find('.icon-accordion').text('-');
950
- }
951
- });
952
- });
953
- };
954
-
955
- // Init
956
- $(function () {
957
- $('.js-responsive-table').responsiveTable();
958
- });
959
-
960
-
961
- $('.map').click(function () {
962
- $('.map iframe').css("pointer-events", "auto");
963
- });
964
-
965
- $(".map" ).mouseleave(function() {
966
- $('.map iframe').css("pointer-events", "none");
967
- });
968
-
969
- });