@trintel/zooy 1.0.1-beta.0 → 1.0.1

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 (284) hide show
  1. package/README.md +284 -339
  2. package/dist/chunks/{16-ChlL35BX.js → 16-BXti8Tu-.js} +6 -6
  3. package/dist/chunks/16-CMCRqVYz.js +1 -0
  4. package/dist/chunks/{20-CZPIOG-A.js → 20-CQLnFcRb.js} +9 -9
  5. package/dist/chunks/20-Df0dXwyx.js +1 -0
  6. package/dist/chunks/button-B1jzfT-Z.js +272 -0
  7. package/dist/chunks/button-C-oX8EmF.js +66 -0
  8. package/dist/chunks/button-skeleton-CK3BHdja.js +21 -0
  9. package/dist/chunks/{button-skeleton-COf2kCDL.js → button-skeleton-DoCp6sBb.js} +10 -9
  10. package/dist/chunks/checkbox-CgFjYxQ_.js +201 -0
  11. package/dist/chunks/checkbox-t3G-H1NN.js +40 -0
  12. package/dist/chunks/{class-map-BfNAkUL_.js → class-map-D6tjF27Y.js} +2 -2
  13. package/dist/chunks/{class-map-DEHG4tmw.js → class-map-FWQBIzSx.js} +1 -1
  14. package/dist/chunks/collection-helpers-Bk68Vaau.js +7 -0
  15. package/dist/chunks/collection-helpers-afBvMQaC.js +1 -0
  16. package/dist/chunks/content-switcher-item-CedjjtvP.js +351 -0
  17. package/dist/chunks/content-switcher-item-c4WBWz31.js +27 -0
  18. package/dist/chunks/defs-C88lSWuJ.js +1 -0
  19. package/dist/chunks/defs-Do0OvCKd.js +1165 -0
  20. package/dist/chunks/dropdown-item-C0SHr4st.js +69 -0
  21. package/dist/chunks/dropdown-item-Dh5IEXDr.js +621 -0
  22. package/dist/chunks/{focus-rQSNiwy7.js → focus-B3iymVyL.js} +1 -1
  23. package/dist/chunks/{focus-B9JYe97T.js → focus-WnKGH_xB.js} +1 -1
  24. package/dist/chunks/{icon-loader-Dk_AU26w.js → icon-loader-CJxyg-lp.js} +1 -1
  25. package/dist/chunks/{icon-loader-o_JYDmJX.js → icon-loader-ChKeNR4s.js} +1 -1
  26. package/dist/chunks/{icon-loader-utils-BEOGXn0q.js → icon-loader-utils-BwViqIXz.js} +23 -23
  27. package/dist/chunks/icon-loader-utils-DK8DViXt.js +5 -0
  28. package/dist/chunks/if-defined-DYWhlnlE.js +5 -0
  29. package/dist/chunks/{if-defined-C0yJsxi2.js → if-defined-eJcDYClo.js} +1 -1
  30. package/dist/chunks/{if-non-empty-DTGflHtA.js → if-non-empty-COTeEFkK.js} +1 -1
  31. package/dist/chunks/if-non-empty-CxMysAQW.js +1 -0
  32. package/dist/chunks/index-0AElqkkj.js +12 -0
  33. package/dist/chunks/{index-B3mXrMt1.js → index-4WNeLsiw.js} +4 -3
  34. package/dist/chunks/{index-BXczHDk-.js → index-4XJJobHw.js} +12 -11
  35. package/dist/chunks/index-7cXLLw89.js +881 -0
  36. package/dist/chunks/index-9fmHblh5.js +121 -0
  37. package/dist/chunks/{index-BwIoRMDI.js → index-B0nToMRj.js} +7 -6
  38. package/dist/chunks/index-B4SxU_Hu.js +87 -0
  39. package/dist/chunks/index-B5DpS-cb.js +2 -0
  40. package/dist/chunks/{index-CzTjJ8lP.js → index-B5GB0rQW.js} +47 -37
  41. package/dist/chunks/index-B8Ze9ISK.js +17 -0
  42. package/dist/chunks/index-BAAA4wkE.js +45 -0
  43. package/dist/chunks/index-BBWp83R-.js +160 -0
  44. package/dist/chunks/index-BBap1uCI.js +1 -0
  45. package/dist/chunks/index-BGGDxbLL.js +368 -0
  46. package/dist/chunks/index-BMquNDkd.js +381 -0
  47. package/dist/chunks/index-BQnyeVHX.js +1 -0
  48. package/dist/chunks/index-BRnzFxjk.js +25 -0
  49. package/dist/chunks/index-BbJQIwkY.js +452 -0
  50. package/dist/chunks/{index-hLI0Bnyb.js → index-Bb_1S0pr.js} +7 -6
  51. package/dist/chunks/index-BeMnerDj.js +111 -0
  52. package/dist/chunks/index-Bff6B9vY.js +254 -0
  53. package/dist/chunks/index-Bi9WliCA.js +683 -0
  54. package/dist/chunks/{index-D0xRAPD5.js → index-Bls8zdHV.js} +6 -5
  55. package/dist/chunks/index-Bo2QmpPO.js +1 -0
  56. package/dist/chunks/index-BseD7Jzt.js +75 -0
  57. package/dist/chunks/index-Bt7v-zqV.js +77 -0
  58. package/dist/chunks/index-Bunat0DP.js +337 -0
  59. package/dist/chunks/index-BvdNKhJw.js +19 -0
  60. package/dist/chunks/index-BwFE4R87.js +30 -0
  61. package/dist/chunks/index-BwRxBdeg.js +158 -0
  62. package/dist/chunks/index-Bymsj9gH.js +1 -0
  63. package/dist/chunks/index-C-pfDP7B.js +1 -0
  64. package/dist/chunks/index-C2oV5vU3.js +4 -0
  65. package/dist/chunks/index-C3n83pM3.js +103 -0
  66. package/dist/chunks/index-C572_UKV.js +22 -0
  67. package/dist/chunks/index-C6bOvXSf.js +129 -0
  68. package/dist/chunks/{index-CByffhPq.js → index-CBICHiFD.js} +147 -134
  69. package/dist/chunks/index-CEy6bu7P.js +79 -0
  70. package/dist/chunks/index-CFqKkC5Z.js +36 -0
  71. package/dist/chunks/index-CIZ3Gnmm.js +8 -0
  72. package/dist/chunks/index-CIiIAqrQ.js +414 -0
  73. package/dist/chunks/index-CJdEJ8pY.js +15 -0
  74. package/dist/chunks/index-CKYRBtLC.js +79 -0
  75. package/dist/chunks/index-CQl4NaPS.js +65 -0
  76. package/dist/chunks/index-CR3DrmQi.js +235 -0
  77. package/dist/chunks/index-CTsGb3mD.js +364 -0
  78. package/dist/chunks/{index-rwBsdvh6.js → index-CV7TVQ4T.js} +9 -8
  79. package/dist/chunks/index-CWlg_Hu2.js +150 -0
  80. package/dist/chunks/{index-Bwix1iwB.js → index-CYIcfuAW.js} +6 -5
  81. package/dist/chunks/{index-WNXgzThF.js → index-CkxGsCJy.js} +181 -181
  82. package/dist/chunks/index-ClE0uX_c.js +27 -0
  83. package/dist/chunks/index-Cnsy7Qk3.js +511 -0
  84. package/dist/chunks/index-CoAT1iC6.js +12 -0
  85. package/dist/chunks/index-Cp3P3KaW.js +45 -0
  86. package/dist/chunks/index-CqQZpHti.js +3 -0
  87. package/dist/chunks/index-CsjJntyD.js +23 -0
  88. package/dist/chunks/{index-BIaF1Dfx.js → index-Ctna95NT.js} +5 -4
  89. package/dist/chunks/index-Cu1u3Mjn.js +150 -0
  90. package/dist/chunks/index-Cv6qE9qP.js +22 -0
  91. package/dist/chunks/index-Cwb1pbm9.js +252 -0
  92. package/dist/chunks/{index-BSgHSOVT.js → index-CzAwJhyQ.js} +4 -3
  93. package/dist/chunks/index-D8LE8G2j.js +81 -0
  94. package/dist/chunks/{index-C_K070Kn.js → index-D9sRIKMQ.js} +9 -8
  95. package/dist/chunks/index-DBsASlZI.js +15 -0
  96. package/dist/chunks/{index-DurPWBYc.js → index-DGw1TVFB.js} +3 -2
  97. package/dist/chunks/index-DIsXKJDH.js +4 -0
  98. package/dist/chunks/{index-CT43RMOu.js → index-DNWjc2SJ.js} +3 -2
  99. package/dist/chunks/index-DSOPjl5x.js +563 -0
  100. package/dist/chunks/index-DUtoSCTU.js +455 -0
  101. package/dist/chunks/index-DWjrCygZ.js +49 -0
  102. package/dist/chunks/index-DYvD9xjl.js +4 -0
  103. package/dist/chunks/index-DZabSr3s.js +36 -0
  104. package/dist/chunks/index-DbAeG1nY.js +1 -0
  105. package/dist/chunks/index-Dc51G1mo.js +26 -0
  106. package/dist/chunks/index-Dd9iSSXa.js +260 -0
  107. package/dist/chunks/{index-C8LyfVmf.js → index-DfFx1Jz3.js} +6 -5
  108. package/dist/chunks/index-Dh4LYLg5.js +1604 -0
  109. package/dist/chunks/index-Dk3tlz8Q.js +15 -0
  110. package/dist/chunks/index-Do1DszoZ.js +1 -0
  111. package/dist/chunks/index-DrDKdYFJ.js +58 -0
  112. package/dist/chunks/index-DyO3Wdy_.js +37 -0
  113. package/dist/chunks/index-DyyLrVDY.js +188 -0
  114. package/dist/chunks/{index-45EApaFs.js → index-GDVDUQtg.js} +14 -13
  115. package/dist/chunks/index-GbWz6fuF.js +243 -0
  116. package/dist/chunks/index-JWULDURW.js +89 -0
  117. package/dist/chunks/index-MgWriQfr.js +35 -0
  118. package/dist/chunks/index-OgL1A9Rm.js +42 -0
  119. package/dist/chunks/{index-DdNZTQw1.js → index-QzojJs5M.js} +3 -2
  120. package/dist/chunks/index-TJL02uup.js +291 -0
  121. package/dist/chunks/index-Z4ar01y-.js +259 -0
  122. package/dist/chunks/{index-BSh7UYcP.js → index-_xRytR0j.js} +3 -3
  123. package/dist/chunks/index-cuMoh7qn.js +1 -0
  124. package/dist/chunks/index-du3RQU31.js +62 -0
  125. package/dist/chunks/{index-DFA4_spk.js → index-hH_m653R.js} +9 -8
  126. package/dist/chunks/index-hn76Yo-L.js +1 -0
  127. package/dist/chunks/index-i4heE-wx.js +71 -0
  128. package/dist/chunks/index-i9jyrFc9.js +19 -0
  129. package/dist/chunks/index-lFqOe0IJ.js +46 -0
  130. package/dist/chunks/index-pS6-humH.js +74 -0
  131. package/dist/chunks/index-pc36PiDY.js +57 -0
  132. package/dist/chunks/index-qgl9W8eF.js +52 -0
  133. package/dist/chunks/{index-BUxB7aWd.js → index-uwN33H1P.js} +9 -8
  134. package/dist/chunks/index-uxZPrL2m.js +406 -0
  135. package/dist/chunks/index-yzFU-E6F.js +22 -0
  136. package/dist/chunks/{loading-icon-DhJR6LyV.js → loading-icon-CPvmJvpZ.js} +2 -2
  137. package/dist/chunks/loading-icon-DdwpAk8-.js +24 -0
  138. package/dist/chunks/main-BGOPab-5.js +4041 -0
  139. package/dist/chunks/main-Bx21zlkN.js +65 -0
  140. package/dist/chunks/{property-pT1z5CCa.js → property-BkjBVRuu.js} +1 -1
  141. package/dist/chunks/property-DAFv3PCb.js +5 -0
  142. package/dist/chunks/register-BCEOkbXG.js +1583 -0
  143. package/dist/chunks/{register-BK21_Wkj.js → register-Bkr1UKav.js} +1 -1
  144. package/dist/chunks/{register-BMNs2hNG.js → register-DTXmg-gw.js} +1 -1
  145. package/dist/chunks/register-D_CXtGy1.js +1 -0
  146. package/dist/chunks/search-DDFN8-Mz.js +30 -0
  147. package/dist/chunks/search-npG8ywjx.js +240 -0
  148. package/dist/chunks/select-CFy3MvH6.js +76 -0
  149. package/dist/chunks/select-DkCpQORs.js +357 -0
  150. package/dist/chunks/settings-Bgpv8zuU.js +62 -0
  151. package/dist/chunks/settings-jvP7vP60.js +66 -0
  152. package/dist/chunks/{state-FnSmMH94.js → state-BdgD82MZ.js} +1 -1
  153. package/dist/chunks/{state-Bpmgn27B.js → state-uF7CZaP5.js} +1 -1
  154. package/dist/chunks/text-input-BUdM-ojg.js +68 -0
  155. package/dist/chunks/text-input-DVdkm07X.js +372 -0
  156. package/dist/chunks/tooltip-content-BXcBmMsV.js +3 -0
  157. package/dist/chunks/tooltip-content-CWRE_NqH.js +135 -0
  158. package/dist/chunks/{unsafe-html-D49sIpJ5.js → unsafe-html-Bg0eM3hS.js} +5 -5
  159. package/dist/chunks/{unsafe-html-C_MKAcuC.js → unsafe-html-CpAqmPyx.js} +1 -1
  160. package/dist/zooy.cjs.js +1 -1
  161. package/dist/zooy.es.js +20 -2
  162. package/package.json +3 -4
  163. package/src/sass/carbon.scss +117 -0
  164. package/src/sass/main.scss +1 -1
  165. package/src/sass/panels.scss +268 -359
  166. package/src/sass/split.scss +1 -0
  167. package/dist/chunks/16-41wFkj7S.js +0 -1
  168. package/dist/chunks/20-gmyNFvDv.js +0 -1
  169. package/dist/chunks/button-DdJepOoE.js +0 -271
  170. package/dist/chunks/button-skeleton-rf3WDPTZ.js +0 -21
  171. package/dist/chunks/button-zHEPxpXa.js +0 -66
  172. package/dist/chunks/checkbox-B5mHvx0J.js +0 -200
  173. package/dist/chunks/checkbox-BRPCg-DN.js +0 -40
  174. package/dist/chunks/collection-helpers-BwUB2CEz.js +0 -8
  175. package/dist/chunks/collection-helpers-CYLIiyii.js +0 -1
  176. package/dist/chunks/content-switcher-item-DeGjVRQY.js +0 -350
  177. package/dist/chunks/content-switcher-item-DucclV1b.js +0 -27
  178. package/dist/chunks/defs-DMmigODC.js +0 -1077
  179. package/dist/chunks/defs-DPD20sPK.js +0 -1
  180. package/dist/chunks/dropdown-item-BgLQ1VLo.js +0 -69
  181. package/dist/chunks/dropdown-item-DPdwOION.js +0 -620
  182. package/dist/chunks/icon-loader-utils-BBjK16O-.js +0 -5
  183. package/dist/chunks/if-defined-BdZRLDJ6.js +0 -5
  184. package/dist/chunks/if-non-empty-CEHK-hqx.js +0 -1
  185. package/dist/chunks/index-16wphaSo.js +0 -4
  186. package/dist/chunks/index-27oFQaOS.js +0 -37
  187. package/dist/chunks/index-5jmZyISW.js +0 -1
  188. package/dist/chunks/index-B1vQ44Hl.js +0 -363
  189. package/dist/chunks/index-B3CDjjXh.js +0 -214
  190. package/dist/chunks/index-B7mGUQhz.js +0 -79
  191. package/dist/chunks/index-BBNaYDog.js +0 -22
  192. package/dist/chunks/index-BBt9OmO5.js +0 -12
  193. package/dist/chunks/index-BJAuRs3y.js +0 -75
  194. package/dist/chunks/index-BJKftWYn.js +0 -89
  195. package/dist/chunks/index-BLjNrhkN.js +0 -4
  196. package/dist/chunks/index-BOTu9u-3.js +0 -86
  197. package/dist/chunks/index-BPVpH8ll.js +0 -160
  198. package/dist/chunks/index-BRuvyoCz.js +0 -15
  199. package/dist/chunks/index-BXIxcS00.js +0 -22
  200. package/dist/chunks/index-BaVyBv2V.js +0 -25
  201. package/dist/chunks/index-BgbqX0uv.js +0 -234
  202. package/dist/chunks/index-BjQlt8g2.js +0 -451
  203. package/dist/chunks/index-BoNLj7PW.js +0 -44
  204. package/dist/chunks/index-BxVW3p3I.js +0 -258
  205. package/dist/chunks/index-ByKyGGzb.js +0 -3
  206. package/dist/chunks/index-ByTSSU1x.js +0 -1
  207. package/dist/chunks/index-CBbsFlsv.js +0 -290
  208. package/dist/chunks/index-CIbRjtWm.js +0 -32
  209. package/dist/chunks/index-CIzeMGQv.js +0 -81
  210. package/dist/chunks/index-CLGxSjLW.js +0 -62
  211. package/dist/chunks/index-CMF5Cawn.js +0 -70
  212. package/dist/chunks/index-CO-A2KY9.js +0 -562
  213. package/dist/chunks/index-CONgwvp0.js +0 -12
  214. package/dist/chunks/index-CUgiXqyk.js +0 -4
  215. package/dist/chunks/index-C_ttE2g9.js +0 -16
  216. package/dist/chunks/index-CcgnA1uu.js +0 -29
  217. package/dist/chunks/index-Cd7aoWrX.js +0 -336
  218. package/dist/chunks/index-Ce-pMzBC.js +0 -19
  219. package/dist/chunks/index-CgYZ66P_.js +0 -187
  220. package/dist/chunks/index-ChcHMeAS.js +0 -35
  221. package/dist/chunks/index-Cixdzvwd.js +0 -682
  222. package/dist/chunks/index-Clq0Fl19.js +0 -15
  223. package/dist/chunks/index-CtxTJnIm.js +0 -58
  224. package/dist/chunks/index-Cv1hWa_y.js +0 -242
  225. package/dist/chunks/index-D25buhRm.js +0 -79
  226. package/dist/chunks/index-D4DqJG5_.js +0 -16
  227. package/dist/chunks/index-D5GGFPcS.js +0 -251
  228. package/dist/chunks/index-D5kiHJpX.js +0 -413
  229. package/dist/chunks/index-DEjRiv5B.js +0 -1
  230. package/dist/chunks/index-DFZsXFsx.js +0 -19
  231. package/dist/chunks/index-DGauWNwV.js +0 -156
  232. package/dist/chunks/index-DIR0jr3f.js +0 -127
  233. package/dist/chunks/index-DNeagy5a.js +0 -65
  234. package/dist/chunks/index-DO0fmDR9.js +0 -2
  235. package/dist/chunks/index-DSitHBEh.js +0 -36
  236. package/dist/chunks/index-DW7ST0tB.js +0 -1
  237. package/dist/chunks/index-DWfFgEXE.js +0 -110
  238. package/dist/chunks/index-DX6WAtmo.js +0 -874
  239. package/dist/chunks/index-DaPfSuLu.js +0 -393
  240. package/dist/chunks/index-DbKlVm7y.js +0 -74
  241. package/dist/chunks/index-Dgi-m1K-.js +0 -1
  242. package/dist/chunks/index-Dh4uigJs.js +0 -454
  243. package/dist/chunks/index-DnYNK1mz.js +0 -8
  244. package/dist/chunks/index-DnierBep.js +0 -510
  245. package/dist/chunks/index-DnpSGM23.js +0 -213
  246. package/dist/chunks/index-DntY4deR.js +0 -41
  247. package/dist/chunks/index-Dp4A8k6C.js +0 -103
  248. package/dist/chunks/index-Dphpk5r2.js +0 -1
  249. package/dist/chunks/index-DrBrgF-v.js +0 -49
  250. package/dist/chunks/index-Dr_cqQ-_.js +0 -77
  251. package/dist/chunks/index-Dt-nBtrQ.js +0 -26
  252. package/dist/chunks/index-DwTj7cFr.js +0 -57
  253. package/dist/chunks/index-DyZVAYLv.js +0 -52
  254. package/dist/chunks/index-Hh597Yu6.js +0 -121
  255. package/dist/chunks/index-LxkAuMAA.js +0 -1
  256. package/dist/chunks/index-OaQhvPR1.js +0 -46
  257. package/dist/chunks/index-UPr2EvBX.js +0 -149
  258. package/dist/chunks/index-WvrCPen2.js +0 -367
  259. package/dist/chunks/index-cTXIVcWI.js +0 -45
  260. package/dist/chunks/index-caLn8cu1.js +0 -1603
  261. package/dist/chunks/index-jBse-XgU.js +0 -35
  262. package/dist/chunks/index-oTjafsfN.js +0 -25
  263. package/dist/chunks/index-qNmuI3RB.js +0 -149
  264. package/dist/chunks/index-qiqzy9MI.js +0 -23
  265. package/dist/chunks/index-siqJUhKa.js +0 -1
  266. package/dist/chunks/index-w-G9CFId.js +0 -1
  267. package/dist/chunks/index-x6SeA7x7.js +0 -405
  268. package/dist/chunks/loading-icon-DJQIjg97.js +0 -23
  269. package/dist/chunks/main-DUusfqrI.js +0 -18
  270. package/dist/chunks/main-Dp7wHHgP.js +0 -2882
  271. package/dist/chunks/property-DCYiZTFF.js +0 -5
  272. package/dist/chunks/register-Cc9zkA5F.js +0 -1
  273. package/dist/chunks/register-JwwMwdRf.js +0 -1273
  274. package/dist/chunks/search-C3raqgOD.js +0 -30
  275. package/dist/chunks/search-CIhxkVjj.js +0 -239
  276. package/dist/chunks/select-item-4aISXm0r.js +0 -76
  277. package/dist/chunks/select-item-DjoxYopL.js +0 -356
  278. package/dist/chunks/settings-BPOpwVkr.js +0 -594
  279. package/dist/chunks/settings-CK2vhfPu.js +0 -78
  280. package/dist/chunks/text-input-BygzMjjc.js +0 -371
  281. package/dist/chunks/text-input-cjcnMXO-.js +0 -68
  282. package/dist/chunks/tooltip-content-BjdZJ_Ui.js +0 -134
  283. package/dist/chunks/tooltip-content-DHyDYyOH.js +0 -3
  284. package/src/sass/carbon-icons.scss +0 -46
@@ -1,26 +1,62 @@
1
- //--------------------------------------------------------------------------------------
1
+ // =============================================================================
2
+ // Panel Layout System
3
+ // Modern CSS for zooy panel layouts, modals, and flex utilities
4
+ // =============================================================================
5
+
6
+ // -----------------------------------------------------------------------------
7
+ // CSS Custom Properties
8
+ // -----------------------------------------------------------------------------
9
+ :root {
10
+ // Spacing
11
+ --zoo-spacing-sm: 1rem;
12
+ --zoo-spacing-md: 1.5rem;
13
+ --zoo-spacing-lg: 3rem;
14
+ --zoo-spacing-xl: 4rem;
15
+
16
+ // Layout widths
17
+ --zoo-max-width-default: 960px;
18
+ --zoo-max-width-three: 1030px;
19
+ --zoo-max-width-four: 1330px;
20
+
21
+ // Modal
22
+ --zoo-modal-backdrop: rgb(0 0 0 / 0.3);
23
+ --zoo-modal-panel-bg: rgb(255 255 255 / 0.7);
24
+ --zoo-modal-blur: 10px;
25
+ --zoo-modal-border-radius: 10px;
26
+
27
+ // Z-index scale
28
+ --zoo-z-fab: 2;
29
+ --zoo-z-modal: 10;
30
+ }
31
+
32
+ // -----------------------------------------------------------------------------
33
+ // Main Menu
34
+ // -----------------------------------------------------------------------------
2
35
  .zoo__main-menu-inner-wrapper {
3
- margin: 1rem;
36
+ margin: var(--zoo-spacing-sm);
4
37
  display: flex;
5
38
  flex-flow: column wrap;
6
39
  align-items: flex-start;
7
40
  }
8
41
 
42
+ // -----------------------------------------------------------------------------
43
+ // List Layout System
44
+ // -----------------------------------------------------------------------------
9
45
  .zoo__list-wrap {
10
46
  align-items: flex-start;
11
47
  display: flex;
12
48
  flex-wrap: wrap;
13
- max-width: 960px;
49
+ max-width: var(--zoo-max-width-default);
14
50
  position: relative;
15
51
  margin: 20px auto 0;
16
52
  padding: 0 20px;
17
53
 
18
54
  &.three_wide {
19
- max-width: 1030px;
55
+ max-width: var(--zoo-max-width-three);
20
56
  }
21
57
 
22
58
  &.four_wide {
23
- max-width: 1330px;
59
+ max-width: var(--zoo-max-width-four);
24
60
  }
25
61
 
26
62
  &.full_wide {
@@ -34,7 +70,6 @@
34
70
  }
35
71
 
36
72
  .zoo__list-control {
37
- -webkit-box-flex: 1;
38
73
  flex-grow: 1;
39
74
  flex-shrink: 0;
40
75
  flex-basis: auto;
@@ -42,19 +77,21 @@
42
77
  min-width: calc(8.33333% - 40px);
43
78
  word-wrap: break-word;
44
79
  margin: 0 20px;
45
- padding-bottom: 3rem;
46
- //overflow: scroll; // This causes a white box on the overflow scrollbar
80
+ padding-bottom: var(--zoo-spacing-lg);
47
81
  }
48
82
 
83
+ // -----------------------------------------------------------------------------
84
+ // Modal System
85
+ // -----------------------------------------------------------------------------
49
86
  .zoo__modal-base {
50
- background-color: rgba(0, 0, 0, 0.3);
87
+ background-color: var(--zoo-modal-backdrop);
51
88
  position: absolute;
52
89
  width: 100%;
53
90
  height: 100%;
54
91
  display: flex;
55
92
  align-items: center;
56
93
  justify-content: center;
57
- z-index: 10;
94
+ z-index: var(--zoo-z-modal);
58
95
 
59
96
  &.top_locked {
60
97
  align-items: flex-start;
@@ -65,12 +102,17 @@
65
102
  width: initial;
66
103
  max-width: 80vw;
67
104
  min-width: 50vw;
68
- border-radius: 10px;
69
- background: rgba(255,255,255,0.7);
70
- backdrop-filter: blur(10px);
105
+ border-radius: var(--zoo-modal-border-radius);
106
+ background: var(--zoo-modal-panel-bg);
107
+ backdrop-filter: blur(var(--zoo-modal-blur));
71
108
  }
72
109
  }
73
110
 
111
+ // -----------------------------------------------------------------------------
112
+ // Width & Height Utilities
113
+ // -----------------------------------------------------------------------------
114
+
115
+ // Width constraints
74
116
  .zoo__suppress-width--30 {
75
117
  max-width: 30rem !important;
76
118
  }
@@ -79,6 +121,7 @@
79
121
  width: 80% !important;
80
122
  }
81
123
 
124
+ // Height constraints
82
125
  .zoo__min-height--12vh {
83
126
  min-height: 12vh;
84
127
  }
@@ -88,176 +131,108 @@
88
131
  max-width: 90vw;
89
132
  }
90
133
 
91
- .zoo__max_height--95vh {
92
- max-height: 95vh;
93
- }
94
-
95
- .zoo__max_height--90vh {
96
- max-height: 90vh;
97
- }
98
-
99
- .zoo__max_height--85vh {
100
- max-height: 85vh;
101
- }
102
-
103
- .zoo__max_height--80vh {
104
- max-height: 80vh;
105
- }
106
-
107
- .zoo__suggest_width_90vw {
108
- flex-basis: 90vw;;
109
- }
110
-
111
- .zoo__suggest_width_1000 {
112
- flex-basis: 1000px;
113
- }
114
-
115
- .zoo__suggest_width_950 {
116
- flex-basis: 950px;
117
- }
118
-
119
- .zoo__suggest_width_900 {
120
- flex-basis: 900px;
121
- }
122
-
123
- .zoo__suggest_width_850 {
124
- flex-basis: 850px;
125
- }
126
-
127
- .zoo__suggest_width_800 {
128
- flex-basis: 800px;
129
- }
130
-
131
- .zoo__suggest_width_750 {
132
- flex-basis: 750px;
133
- }
134
-
135
- .zoo__suggest_width_700 {
136
- flex-basis: 700px;
137
- }
138
-
139
- .zoo__suggest_width_650 {
140
- flex-basis: 650px;
141
- }
142
-
143
- .zoo__suggest_width_600 {
144
- flex-basis: 600px;
145
- }
146
-
147
- .zoo__suggest_width_550 {
148
- flex-basis: 550px;
149
- }
150
-
151
- .zoo__suggest_width_500 {
152
- flex-basis: 500px;
153
- min-width: initial !important;
154
- }
155
-
156
- .zoo__suggest_width_450 {
157
- flex-basis: 450px;
158
- min-width: initial !important;
159
- }
160
-
161
- .zoo__suggest_width_400 {
162
- flex-basis: 400px;
163
- min-width: initial !important;
164
- }
165
-
166
- .zoo__suggest_width_350 {
167
- flex-basis: 350px;
168
- min-width: initial !important;
169
- }
170
-
171
- .zoo__suggest_width_300 {
172
- flex-basis: 300px;
173
- min-width: initial !important;
174
- }
175
-
134
+ .zoo__max_height--95vh { max-height: 95vh; }
135
+ .zoo__max_height--90vh { max-height: 90vh; }
136
+ .zoo__max_height--85vh { max-height: 85vh; }
137
+ .zoo__max_height--80vh { max-height: 80vh; }
138
+
139
+ // Suggested widths (flex-basis)
140
+ .zoo__suggest_width_90vw { flex-basis: 90vw; }
141
+ .zoo__suggest_width_1000 { flex-basis: 1000px; }
142
+ .zoo__suggest_width_950 { flex-basis: 950px; }
143
+ .zoo__suggest_width_900 { flex-basis: 900px; }
144
+ .zoo__suggest_width_850 { flex-basis: 850px; }
145
+ .zoo__suggest_width_800 { flex-basis: 800px; }
146
+ .zoo__suggest_width_750 { flex-basis: 750px; }
147
+ .zoo__suggest_width_700 { flex-basis: 700px; }
148
+ .zoo__suggest_width_650 { flex-basis: 650px; }
149
+ .zoo__suggest_width_600 { flex-basis: 600px; }
150
+ .zoo__suggest_width_550 { flex-basis: 550px; }
151
+
152
+ .zoo__suggest_width_500,
153
+ .zoo__suggest_width_450,
154
+ .zoo__suggest_width_400,
155
+ .zoo__suggest_width_350,
156
+ .zoo__suggest_width_300,
176
157
  .zoo__suggest_width_200 {
177
- flex-basis: 200px;
178
158
  min-width: initial !important;
179
159
  }
180
160
 
161
+ .zoo__suggest_width_500 { flex-basis: 500px; }
162
+ .zoo__suggest_width_450 { flex-basis: 450px; }
163
+ .zoo__suggest_width_400 { flex-basis: 400px; }
164
+ .zoo__suggest_width_350 { flex-basis: 350px; }
165
+ .zoo__suggest_width_300 { flex-basis: 300px; }
166
+ .zoo__suggest_width_200 { flex-basis: 200px; }
167
+
168
+ // -----------------------------------------------------------------------------
169
+ // Visual Utilities
170
+ // -----------------------------------------------------------------------------
181
171
  .zoo__suppress-elevation {
182
172
  box-shadow: none !important;
183
173
  }
184
174
 
185
- .zoo__border-radius--10 {
186
- border-radius: 10px;
187
- }
188
-
189
- .zoo__border-radius--15 {
190
- border-radius: 15px;
191
- }
192
-
193
- .zoo__border-radius--20 {
194
- border-radius: 20px;
195
- }
175
+ .zoo__border-radius--10 { border-radius: 10px; }
176
+ .zoo__border-radius--15 { border-radius: 15px; }
177
+ .zoo__border-radius--20 { border-radius: 20px; }
196
178
 
179
+ // -----------------------------------------------------------------------------
180
+ // FAB Positioning
181
+ // -----------------------------------------------------------------------------
197
182
  .app-fab--fixed.app-fab--fixed {
198
183
  position: fixed;
199
- bottom: 4rem;
200
- right: 3rem;
201
- z-index: 2;
184
+ bottom: var(--zoo-spacing-xl);
185
+ right: var(--zoo-spacing-lg);
186
+ z-index: var(--zoo-z-fab);
202
187
  }
203
188
 
204
189
  .app-fab--absolute.app-fab--absolute {
205
190
  position: absolute;
206
- bottom: 4rem;
207
- right: 3rem;
191
+ bottom: var(--zoo-spacing-xl);
192
+ right: var(--zoo-spacing-lg);
208
193
  }
209
194
 
210
- @media(min-width: 1024px) {
195
+ @media (min-width: 1024px) {
211
196
  .app-fab--absolute.app-fab--absolute {
212
- bottom: 3rem;
197
+ bottom: var(--zoo-spacing-lg);
213
198
  right: 2rem;
214
199
  }
215
- }
216
200
 
217
- //--[ Flex ]--
201
+ #bottom_right-absolute-fab {
202
+ bottom: var(--zoo-spacing-lg);
203
+ right: 5rem;
204
+ }
205
+ }
218
206
 
207
+ // -----------------------------------------------------------------------------
208
+ // Flexbox Container System
209
+ // -----------------------------------------------------------------------------
219
210
  .zoo__flex-container {
220
211
  display: flex;
221
212
  flex-flow: column nowrap;
222
- .flex-flow__row_wrap {
223
- flex-flow: row wrap;
224
- }
225
- .flex-flow__row_nowrap {
226
- flex-flow: row nowrap;
227
- }
228
- .flex-flow__column_wrap {
229
- flex-flow: column wrap;
230
- }
231
- .flex-direction__row {
232
- flex-direction: row;
233
- }
234
- .flex-direction__column {
235
- flex-direction: column;
236
- }
237
- .wrap {
238
- flex-wrap: wrap;
239
- }
240
- .nowrap {
241
- flex-wrap: nowrap;
242
- }
243
- .align-items__center {
244
- align-items: center;
245
- }
246
- .justify-content__center {
247
- justify-content: center;
248
- }
249
- .justify-content__space-between {
250
- justify-content: space-between;
251
- }
252
- .align-content__flex-start {
253
- align-content: flex-start;
254
- }
255
- .align-content__flex-end {
256
- align-content: flex-end;
257
- }
258
- .padding_0_24 {
259
- padding: 0 24px;
260
- }
213
+
214
+ // Flow modifiers
215
+ .flex-flow__row_wrap { flex-flow: row wrap; }
216
+ .flex-flow__row_nowrap { flex-flow: row nowrap; }
217
+ .flex-flow__column_wrap { flex-flow: column wrap; }
218
+
219
+ // Direction modifiers
220
+ .flex-direction__row { flex-direction: row; }
221
+ .flex-direction__column { flex-direction: column; }
222
+
223
+ // Wrap modifiers
224
+ .wrap { flex-wrap: wrap; }
225
+ .nowrap { flex-wrap: nowrap; }
226
+
227
+ // Alignment modifiers
228
+ .align-items__center { align-items: center; }
229
+ .justify-content__center { justify-content: center; }
230
+ .justify-content__space-between { justify-content: space-between; }
231
+ .align-content__flex-start { align-content: flex-start; }
232
+ .align-content__flex-end { align-content: flex-end; }
233
+
234
+ // Padding utilities
235
+ .padding_0_24 { padding: 0 24px; }
261
236
 
262
237
  & > .dashboard_grid_element {
263
238
  background-color: #e1e2e1;
@@ -267,21 +242,13 @@
267
242
  }
268
243
  }
269
244
 
270
- .overflow-scroll {
271
- overflow: scroll;
272
- }
273
-
274
- .overflow-auto {
275
- overflow: auto;
276
- }
277
-
278
- .display__none {
279
- display: none !important;
280
- }
281
-
282
- .margin-bottom__24 {
283
- margin-bottom: 24px;
284
- }
245
+ // -----------------------------------------------------------------------------
246
+ // General Utilities
247
+ // -----------------------------------------------------------------------------
248
+ .overflow-scroll { overflow: scroll; }
249
+ .overflow-auto { overflow: auto; }
250
+ .display__none { display: none !important; }
251
+ .margin-bottom__24 { margin-bottom: 24px; }
285
252
 
286
253
  .zoo__flex-item {
287
254
  flex: 1;
@@ -289,12 +256,17 @@
289
256
  flex-basis: auto;
290
257
  }
291
258
 
259
+ .no_flex_resize {
260
+ flex-grow: 0;
261
+ flex-shrink: 0;
262
+ }
263
+
264
+ // -----------------------------------------------------------------------------
265
+ // Panel Wrapper & Base
266
+ // -----------------------------------------------------------------------------
292
267
  .pan-wrapper {
293
268
  position: absolute;
294
- top: 0;
295
- left: 0;
296
- right: 0;
297
- bottom: 0;
269
+ inset: 0; // Modern alternative to top: 0; left: 0; right: 0; bottom: 0;
298
270
  }
299
271
 
300
272
  .zoo_async_html > .pan-wrapper {
@@ -307,13 +279,16 @@
307
279
  width: 100%;
308
280
  }
309
281
 
282
+ // -----------------------------------------------------------------------------
283
+ // Toolbar System
284
+ // -----------------------------------------------------------------------------
310
285
  .zoo__toolbar {
311
286
  background-color: #953b39;
312
287
  display: flex;
313
288
  flex-flow: row wrap;
314
289
  justify-content: space-between;
315
290
  align-items: center;
316
- box-shadow: 0px -1px 0px rgba(0,0,0,0.05) inset;
291
+ box-shadow: 0 -1px 0 rgb(0 0 0 / 0.05) inset;
317
292
  flex-shrink: 0;
318
293
  }
319
294
 
@@ -323,7 +298,6 @@
323
298
  }
324
299
 
325
300
  .zoo__tool_group_left {
326
- background-color: pink;
327
301
  margin-right: 20px;
328
302
  }
329
303
 
@@ -334,61 +308,73 @@
334
308
  white-space: nowrap;
335
309
  text-overflow: ellipsis;
336
310
  flex-grow: 2;
337
- background-color: chocolate;
338
- }
339
-
340
- .zoo__tool_group_right {
341
- background-color: coral;
342
311
  }
343
312
 
344
-
345
- /* Large */
313
+ // -----------------------------------------------------------------------------
314
+ // Tabbar System
315
+ // -----------------------------------------------------------------------------
346
316
  .zoo__tabbar {
347
- background-color: orange;
348
317
  display: flex;
349
318
  flex-flow: row wrap;
350
319
  justify-content: flex-end;
351
- box-shadow: 0px -1px 0px rgba(0,0,0,0.05) inset;
320
+ box-shadow: 0 -1px 0 rgb(0 0 0 / 0.05) inset;
352
321
  }
353
322
 
354
- /* Medium screens */
355
- @media all and (max-width: 800px) {
323
+ // Tabbar button spacing
324
+ .zoo__tabbar > .mdc-button {
325
+ margin: 5px;
326
+ }
327
+
328
+ .zoo__tabbar.zoo__tabbar_padded > .mdc-button {
329
+ margin: 18px 5px;
330
+ }
331
+
332
+ // -----------------------------------------------------------------------------
333
+ // Responsive Toolbar & Tabbar
334
+ // -----------------------------------------------------------------------------
335
+ @media (max-width: 800px) {
356
336
  .zoo__tabbar {
357
- /* When on medium sized screens, we center it by evenly distributing empty space around items */
358
337
  justify-content: space-around;
359
338
  }
339
+
360
340
  .zoo__toolbar {
361
341
  flex-direction: column;
362
342
  }
343
+
363
344
  .zoo__toolbar > .zoo__tool_group {
364
345
  min-width: 100%;
365
346
  }
347
+
366
348
  .zoo__tool_head_group {
367
- order:1;
349
+ order: 1;
368
350
  justify-content: space-around;
369
351
  flex-direction: column;
370
352
  }
353
+
371
354
  .zoo__tool_group_left {
372
355
  order: 2;
373
356
  justify-content: space-around;
374
357
  }
358
+
375
359
  .zoo__tool_group_right {
376
360
  order: 3;
377
361
  justify-content: space-around;
378
362
  }
379
363
  }
380
364
 
381
- /* Small screens */
382
- @media all and (max-width: 500px) {
365
+ @media (max-width: 500px) {
383
366
  .zoo__tabbar {
384
- /* On small screens, we are no longer using row direction but column */
385
367
  flex-direction: column;
386
368
  }
369
+
387
370
  .zoo__actionbar > .zoo__tool_group {
388
371
  flex-direction: column;
389
372
  }
390
373
  }
391
374
 
375
+ // -----------------------------------------------------------------------------
376
+ // Content Area
377
+ // -----------------------------------------------------------------------------
392
378
  .zoo__content {
393
379
  position: relative;
394
380
  flex: 999999 !important;
@@ -396,72 +382,15 @@
396
382
  .zoo__panel_a {
397
383
  position: absolute;
398
384
  height: auto;
399
- top: 0;
400
- bottom: 0;
385
+ inset: 0 0 0 0; // top: 0; bottom: 0; left: 0; right: 0
401
386
  }
402
387
  }
403
388
 
404
- .zoo__actionbar {
389
+ // Content alignment variants
390
+ .zoo__content.center_center {
405
391
  display: flex;
406
- flex-flow: row wrap;
407
- justify-content: space-between;
408
392
  align-items: center;
409
- background-color: mediumpurple;
410
- flex-shrink: 0;
411
- }
412
-
413
-
414
- //--[ Button Positions ]--
415
- .zoo__actionbar > .zoo__tool_group > .mdc-menu-surface--anchor,
416
- .zoo__actionbar > .zoo__tool_group > .mdc-button {
417
- margin: 24px;
418
- }
419
-
420
- .zoo__actionbar > .zoo__action_group_left > .mdc-button {
421
- margin-right: 0;
422
- }
423
-
424
- .zoo__actionbar > .zoo__action_group_right {
425
- flex-flow: row-reverse wrap-reverse;
426
- }
427
-
428
- .zoo__actionbar > .zoo__action_group_right > .mdc-button {
429
- margin-left: 0;
430
- }
431
-
432
- .zoo__tabbar > .mdc-button {
433
- margin: 5px;
434
- }
435
-
436
- .zoo__tabbar.zoo__tabbar_padded > .mdc-button {
437
- margin: 18px 5px;
438
- }
439
-
440
- //.zoo__toolbar .mdc-button {
441
- // margin-left: 5px;
442
- // padding: 0;
443
- // width: 48px;
444
- // height: 48px;
445
- // line-height: 48px;
446
- //}
447
-
448
- .scrolly_content {
449
- position: absolute;
450
- height: auto;
451
- left: 0;
452
- right: 0;
453
- top: 0;
454
- bottom: 0;
455
- overflow: auto;
456
- &.relative_position {
457
- position: relative;
458
- }
459
- }
460
-
461
- .zoo__content.center_center {
462
- display: flex;
463
- align-items: center;
464
- justify-content: center;
393
+ justify-content: center;
465
394
  }
466
395
 
467
396
  .zoo__content.center_end {
@@ -482,161 +411,141 @@
482
411
  justify-content: flex-start;
483
412
  }
484
413
 
485
- .zoo__modifier__flex-direction-row {
486
- flex-direction: row;
487
- }
414
+ // Floaty content (panels within content)
415
+ .zoo__content.zoo__floaty_content {
416
+ align-items: baseline;
417
+ justify-content: flex-start;
418
+ overflow: auto;
419
+ flex-flow: row wrap;
488
420
 
489
- .zoo__modifier__flex-wrap_nowrap {
490
- flex-wrap: nowrap;
491
- }
421
+ > .pan-wrapper {
422
+ position: relative;
423
+ inset: initial;
424
+ }
492
425
 
493
- .zoo__modifier__align-center {
426
+ &.center_center {
494
427
  align-items: center;
495
- }
428
+ justify-content: center;
429
+ }
496
430
 
497
- @media(min-width: 1024px) {
498
- #bottom_right-absolute-fab {
499
- bottom: 3rem;
500
- right: 5rem;
431
+ &.baseline_center {
432
+ align-items: baseline;
433
+ justify-content: center;
501
434
  }
502
- }
503
435
 
504
- /* Panels inside panel content ---------------------------------------------- */
436
+ &.center_center > .pan-wrapper,
437
+ &.baseline_center > .pan-wrapper {
438
+ margin: 30px 0 0 0;
439
+ }
505
440
 
506
- .zoo__content.zoo__floaty_content > .pan-wrapper {
507
- position: relative;
508
- left: initial;
509
- right: initial;
510
- top: initial;
511
- bottom: initial;
441
+ &.table_manages_scroll {
442
+ overflow: hidden;
443
+ }
512
444
  }
513
445
 
514
- .zoo__content.zoo__floaty_content {
515
- align-items: baseline;
516
- justify-content: flex-start;
446
+ .scrolly_content {
447
+ position: absolute;
448
+ height: auto;
449
+ inset: 0;
517
450
  overflow: auto;
518
- flex-flow: row wrap;
451
+
452
+ &.relative_position {
453
+ position: relative;
454
+ }
519
455
  }
520
456
 
521
- .zoo__content.zoo__floaty_content.center_center {
457
+ // -----------------------------------------------------------------------------
458
+ // Actionbar System
459
+ // -----------------------------------------------------------------------------
460
+ .zoo__actionbar {
461
+ display: flex;
462
+ flex-flow: row wrap;
463
+ justify-content: space-between;
522
464
  align-items: center;
523
- justify-content: center;
465
+ flex-shrink: 0;
524
466
  }
525
467
 
526
- .zoo__content.zoo__floaty_content.baseline_center {
527
- align-items: baseline;
528
- justify-content: center;
468
+ // Actionbar button spacing
469
+ .zoo__actionbar > .zoo__tool_group > .mdc-menu-surface--anchor,
470
+ .zoo__actionbar > .zoo__tool_group > .mdc-button {
471
+ margin: 24px;
529
472
  }
530
473
 
531
- .zoo__content.zoo__floaty_content.center_center > .pan-wrapper,
532
- .zoo__content.zoo__floaty_content.baseline_center > .pan-wrapper {
533
- margin: 30px 0 0 0;
474
+ .zoo__actionbar > .zoo__action_group_left > .mdc-button {
475
+ margin-right: 0;
534
476
  }
535
477
 
536
- .zoo__floaty_content.table_manages_scroll {
537
- overflow: hidden;
478
+ .zoo__actionbar > .zoo__action_group_right {
479
+ flex-flow: row-reverse wrap-reverse;
538
480
  }
539
481
 
540
- .no_flex_resize {
541
- flex-grow: 0;
542
- flex-shrink: 0;
482
+ .zoo__actionbar > .zoo__action_group_right > .mdc-button {
483
+ margin-left: 0;
543
484
  }
544
485
 
545
- //--[ Animations ]--
546
- .slide-in-top {
547
- -webkit-animation: slide-in-top .2s cubic-bezier(.25, .46, .45, .94) both;
548
- animation: slide-in-top .5s cubic-bezier(.25, .46, .45, .94) both
486
+ // -----------------------------------------------------------------------------
487
+ // Modifier Classes
488
+ // -----------------------------------------------------------------------------
489
+ .zoo__modifier__flex-direction-row {
490
+ flex-direction: row;
549
491
  }
550
492
 
551
- @-webkit-keyframes slide-in-top {
552
- 0% {
553
- -webkit-transform: translateY(-1000px);
554
- transform: translateY(-1000px);
555
- opacity: 0
556
- }
557
- 100% {
558
- -webkit-transform: translateY(0);
559
- transform: translateY(0);
560
- opacity: 1
561
- }
493
+ .zoo__modifier__flex-wrap_nowrap {
494
+ flex-wrap: nowrap;
495
+ }
496
+
497
+ .zoo__modifier__align-center {
498
+ align-items: center;
499
+ }
500
+
501
+ // -----------------------------------------------------------------------------
502
+ // Animations
503
+ // -----------------------------------------------------------------------------
504
+
505
+ // Slide in from top
506
+ .slide-in-top {
507
+ animation: slide-in-top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
562
508
  }
563
509
 
564
510
  @keyframes slide-in-top {
565
- 0% {
566
- -webkit-transform: translateY(-1000px);
511
+ from {
567
512
  transform: translateY(-1000px);
568
- opacity: 0
513
+ opacity: 0;
569
514
  }
570
- 100% {
571
- -webkit-transform: translateY(0);
515
+ to {
572
516
  transform: translateY(0);
573
- opacity: 1
517
+ opacity: 1;
574
518
  }
575
519
  }
576
520
 
577
-
521
+ // Slide in forward center
578
522
  .slide-in-fwd-center {
579
- -webkit-animation: slide-in-fwd-center .2s cubic-bezier(.25, .46, .45, .94) both;
580
- animation: slide-in-fwd-center .2s cubic-bezier(.25, .46, .45, .94) both
581
- }
582
-
583
- @-webkit-keyframes slide-in-fwd-center {
584
- 0% {
585
- -webkit-transform: translateZ(-1400px);
586
- transform: translateZ(-1400px);
587
- opacity: 0
588
- }
589
- 100% {
590
- -webkit-transform: translateZ(0);
591
- transform: translateZ(0);
592
- opacity: 1
593
- }
523
+ animation: slide-in-fwd-center 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
594
524
  }
595
525
 
596
526
  @keyframes slide-in-fwd-center {
597
- 0% {
598
- -webkit-transform: translateZ(-1400px);
527
+ from {
599
528
  transform: translateZ(-1400px);
600
- opacity: 0
529
+ opacity: 0;
601
530
  }
602
- 100% {
603
- -webkit-transform: translateZ(0);
531
+ to {
604
532
  transform: translateZ(0);
605
- opacity: 1
533
+ opacity: 1;
606
534
  }
607
535
  }
608
536
 
537
+ // Ken Burns effect
609
538
  .kenburns-bottom {
610
- -webkit-animation: kenburns-bottom 10s ease-out both;
611
- animation: kenburns-bottom 10s ease-out both
612
- }
613
-
614
- @-webkit-keyframes kenburns-bottom {
615
- 0% {
616
- -webkit-transform: scale(1) translateY(0);
617
- transform: scale(1) translateY(0);
618
- -webkit-transform-origin: 50% 84%;
619
- transform-origin: 50% 84%;
620
- }
621
- 100% {
622
- -webkit-transform: scale(1.25) translateY(15px);
623
- transform: scale(1.25) translateY(15px);
624
- -webkit-transform-origin: bottom;
625
- transform-origin: bottom;
626
- }
539
+ animation: kenburns-bottom 10s ease-out both;
627
540
  }
628
541
 
629
542
  @keyframes kenburns-bottom {
630
- 0% {
631
- -webkit-transform: scale(1) translateY(0);
543
+ from {
632
544
  transform: scale(1) translateY(0);
633
- -webkit-transform-origin: 50% 84%;
634
545
  transform-origin: 50% 84%;
635
546
  }
636
- 100% {
637
- -webkit-transform: scale(1.25) translateY(15px);
547
+ to {
638
548
  transform: scale(1.25) translateY(15px);
639
- -webkit-transform-origin: bottom;
640
549
  transform-origin: bottom;
641
550
  }
642
551
  }