@simple-reporting/base 1.0.36 → 1.0.38

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 (275) hide show
  1. package/dev/.ddev/config.yaml +1 -1
  2. package/dev/.idea/codeStyles/Project.xml +61 -0
  3. package/dev/.idea/codeStyles/codeStyleConfig.xml +5 -0
  4. package/dev/.idea/copilot.data.migration.ask2agent.xml +6 -0
  5. package/dev/.idea/deployment.xml +14 -0
  6. package/dev/.idea/inspectionProfiles/Project_Default.xml +6 -0
  7. package/dev/.idea/modules.xml +8 -0
  8. package/dev/.idea/nsfd_report-demo-mms.iml +8 -0
  9. package/dev/.idea/php.xml +19 -0
  10. package/dev/.idea/prettier.xml +6 -0
  11. package/dev/.idea/vcs.xml +6 -0
  12. package/dev/.idea/watcherTasks.xml +4 -0
  13. package/dev/livingdocs.config.json +1192 -27
  14. package/dev/package.json +2 -3
  15. package/dev/src/App.vue +1 -2
  16. package/dev/src/Autoload.ts +1 -1
  17. package/dev/src/Dialog.vue +12 -61
  18. package/dev/src/assets/fonts/FontAwesome/font.scss +2 -0
  19. package/dev/src/assets/fonts/Inter/inter.scss +2 -4
  20. package/dev/src/assets/images/accordion-minus.svg +4 -0
  21. package/dev/src/assets/images/accordion-plus.svg +4 -0
  22. package/dev/src/assets/images/arrow-left.svg +5 -0
  23. package/dev/src/assets/images/arrow-right.svg +5 -0
  24. package/dev/src/assets/images/arrow-up.svg +5 -0
  25. package/dev/src/assets/images/chevron-down.svg +1 -0
  26. package/dev/src/assets/images/chevron-left.svg +1 -0
  27. package/dev/src/assets/images/chevron-right.svg +1 -0
  28. package/dev/src/assets/images/chevron-up.svg +1 -0
  29. package/dev/src/assets/images/close.svg +5 -0
  30. package/dev/src/assets/images/download.svg +6 -0
  31. package/dev/src/assets/images/facebook.svg +1 -0
  32. package/dev/src/assets/images/instagram.svg +1 -0
  33. package/dev/src/assets/images/language.svg +1 -0
  34. package/dev/src/assets/images/linkedIn.svg +1 -0
  35. package/dev/src/assets/images/logo.svg +1 -0
  36. package/dev/src/assets/images/menu-light.svg +3 -0
  37. package/dev/src/assets/images/menu.svg +3 -0
  38. package/dev/src/assets/images/nav-arrow-left.svg +3 -0
  39. package/dev/src/assets/images/nav-arrow-right.svg +3 -0
  40. package/dev/src/assets/images/search.svg +5 -0
  41. package/dev/src/assets/images/twitter.svg +1 -0
  42. package/dev/src/assets/images/xing.svg +1 -0
  43. package/dev/src/assets/scss/app.scss +9 -0
  44. package/dev/src/assets/scss/components/button.scss +37 -0
  45. package/dev/src/assets/scss/components/dialog.scss +84 -0
  46. package/dev/src/assets/scss/components/fontawesome.scss +56 -0
  47. package/dev/src/assets/scss/components/note/accordion.scss +55 -41
  48. package/dev/src/assets/scss/editor.scss +5 -5
  49. package/dev/src/assets/scss/general.scss +29 -2
  50. package/dev/src/assets/scss/margins.scss +57 -0
  51. package/dev/src/assets/scss/pdf.scss +0 -32
  52. package/dev/src/assets/scss/placeholders/breakout-grid.scss +34 -0
  53. package/dev/src/assets/scss/placeholders/button.scss +230 -0
  54. package/dev/src/assets/scss/placeholders/fontawesome.scss +7 -0
  55. package/dev/src/assets/scss/placeholders/grid.scss +354 -0
  56. package/dev/src/assets/scss/web.scss +17 -21
  57. package/dev/src/assets/scss/xbrl.scss +1 -0
  58. package/dev/src/components/Button/Default/Action.vue +65 -0
  59. package/dev/src/components/Button/Default/Content.vue +225 -0
  60. package/dev/src/components/Button/Default/ExternalLink.vue +63 -0
  61. package/dev/src/components/Button/Default/InternalLink.vue +64 -0
  62. package/dev/src/components/Button/Default.vue +101 -0
  63. package/dev/src/components/Page/MainNavigation.vue +96 -6
  64. package/dev/src/components/Page/MetaNavigation.vue +116 -0
  65. package/dev/src/components/Page/PrevNext.vue +140 -70
  66. package/dev/src/components/PageFooter.vue +405 -0
  67. package/dev/src/components/PageHeader.vue +828 -0
  68. package/dev/src/components/{Page/Main.vue → PageMain.vue} +11 -0
  69. package/dev/src/composables/globalLinks.ts +46 -0
  70. package/dev/src/composables/isDesktopView.ts +18 -0
  71. package/dev/src/composables/mainNavigation.ts +11 -0
  72. package/dev/src/entries/pdf.ts +5 -5
  73. package/dev/src/i18n/index.ts +1 -1
  74. package/dev/src/locales/de.json +40 -0
  75. package/dev/src/locales/en.json +40 -0
  76. package/dev/src/router/index.ts +1 -2
  77. package/dev/src/views/DevView.vue +1 -835
  78. package/dev/src/views/PageNotFound.vue +3 -69
  79. package/dev/srl.config.json +34 -49
  80. package/livingdocs/010.Titles/010.title-h1/scss/_spacing-variations.scss +17 -0
  81. package/livingdocs/010.Titles/010.title-h1/scss/general.scss +4 -0
  82. package/livingdocs/010.Titles/020.title-h2/scss/_spacing-variations.scss +12 -0
  83. package/livingdocs/010.Titles/020.title-h2/scss/general.scss +4 -0
  84. package/livingdocs/010.Titles/020.title-h2/title-h2.html +2 -1
  85. package/livingdocs/010.Titles/030.title-h3/scss/_spacing-variations.scss +13 -0
  86. package/livingdocs/010.Titles/030.title-h3/scss/general.scss +5 -1
  87. package/livingdocs/010.Titles/030.title-h3/title-h3.html +2 -1
  88. package/livingdocs/010.Titles/040.title-h4/scss/_spacing-variations.scss +12 -0
  89. package/livingdocs/010.Titles/040.title-h4/scss/general.scss +5 -1
  90. package/livingdocs/010.Titles/040.title-h4/title-h4.html +2 -1
  91. package/livingdocs/010.Titles/050.title-h5/scss/_spacing-variations.scss +11 -0
  92. package/livingdocs/010.Titles/050.title-h5/scss/general.scss +4 -0
  93. package/livingdocs/010.Titles/060.title-h6/scss/_spacing-variations.scss +10 -0
  94. package/livingdocs/010.Titles/060.title-h6/scss/general.scss +4 -0
  95. package/livingdocs/020.Text/010.lead/scss/_spacing-variations.scss +5 -0
  96. package/livingdocs/020.Text/010.lead/scss/general.scss +4 -0
  97. package/livingdocs/020.Text/020.paragraph/scss/_spacing-variations.scss +22 -0
  98. package/livingdocs/020.Text/020.paragraph/scss/general.scss +4 -0
  99. package/livingdocs/020.Text/060.quote-with-portrait/scss/_spacing-variations.scss +7 -0
  100. package/livingdocs/020.Text/060.quote-with-portrait/scss/general.scss +4 -1
  101. package/livingdocs/020.Text/060.quote-with-portrait/scss/pdf.scss +4 -10
  102. package/livingdocs/020.Text/060.quote-with-portrait/scss/web.scss +0 -1
  103. package/livingdocs/020.Text/070.footnote-container/scss/_spacing-variations.scss +22 -0
  104. package/livingdocs/020.Text/070.footnote-container/scss/general.scss +8 -0
  105. package/livingdocs/020.Text/070.footnote-container/scss/pdf.scss +0 -8
  106. package/livingdocs/020.Text/070.footnote-container/scss/web.scss +0 -5
  107. package/livingdocs/020.Text/070.footnote-container/scss/xbrl.scss +9 -1
  108. package/livingdocs/020.Text/080.footnote-item/scss/_spacing-variations.scss +4 -0
  109. package/livingdocs/020.Text/080.footnote-item/scss/general.scss +28 -1
  110. package/livingdocs/020.Text/080.footnote-item/scss/web.scss +0 -20
  111. package/livingdocs/020.Text/080.footnote-item/scss/xbrl.scss +26 -1
  112. package/livingdocs/030.Lists/010.unordered-list/ld-conf.json +3 -3
  113. package/livingdocs/030.Lists/010.unordered-list/scss/_spacing-variations.scss +22 -0
  114. package/livingdocs/030.Lists/010.unordered-list/scss/general.scss +3 -5
  115. package/livingdocs/030.Lists/010.unordered-list/scss/pdf.scss +3 -1
  116. package/livingdocs/030.Lists/010.unordered-list/scss/web.scss +15 -1
  117. package/livingdocs/030.Lists/010.unordered-list/scss/word.scss +1 -6
  118. package/livingdocs/030.Lists/010.unordered-list/scss/xbrl.scss +2 -1
  119. package/livingdocs/030.Lists/020.ordered-list/ld-conf.json +3 -3
  120. package/livingdocs/030.Lists/030.alphanumeric-list/ld-conf.json +3 -3
  121. package/livingdocs/030.Lists/040.list-item-unordered-list/ld-conf.json +23 -0
  122. package/livingdocs/030.Lists/040.list-item-unordered-list/list-item-unordered-list.html +8 -0
  123. package/livingdocs/030.Lists/040.list-item-unordered-list/scss/_spacing-variations.scss +4 -0
  124. package/livingdocs/030.Lists/040.list-item-unordered-list/scss/general.scss +14 -0
  125. package/livingdocs/030.Lists/{040.list-item → 040.list-item-unordered-list}/scss/pdf.scss +7 -1
  126. package/livingdocs/030.Lists/{040.list-item/scss/general.scss → 040.list-item-unordered-list/scss/web.scss} +17 -6
  127. package/livingdocs/030.Lists/040.list-item-unordered-list/scss/word.scss +5 -0
  128. package/livingdocs/030.Lists/040.list-item-unordered-list/scss/xbrl.scss +2 -0
  129. package/livingdocs/030.Lists/050.list-item-ordered-list/ld-conf.json +23 -0
  130. package/livingdocs/030.Lists/050.list-item-ordered-list/list-item-ordered-list.html +8 -0
  131. package/livingdocs/030.Lists/060.list-item-alphanumeric-list/ld-conf.json +23 -0
  132. package/livingdocs/030.Lists/060.list-item-alphanumeric-list/list-item-alphanumeric-list.html +8 -0
  133. package/livingdocs/040.Media/010.table/scss/_spacing-variations.scss +19 -0
  134. package/livingdocs/040.Media/010.table/scss/general.scss +270 -251
  135. package/livingdocs/040.Media/010.table/scss/pdf.scss +2 -18
  136. package/livingdocs/040.Media/010.table/scss/web.scss +0 -19
  137. package/livingdocs/040.Media/010.table/scss/xbrl.scss +4 -3
  138. package/livingdocs/040.Media/020.image/scss/_spacing-variations.scss +7 -0
  139. package/livingdocs/040.Media/020.image/scss/editor.scss +0 -1
  140. package/livingdocs/040.Media/020.image/scss/general.scss +6 -2
  141. package/livingdocs/040.Media/020.image/scss/pdf.scss +0 -4
  142. package/livingdocs/040.Media/020.image/scss/web.scss +0 -5
  143. package/livingdocs/040.Media/020.image/scss/xbrl.scss +1 -3
  144. package/livingdocs/040.Media/030.video/scss/_spacing-variations.scss +7 -0
  145. package/livingdocs/040.Media/030.video/scss/general.scss +19 -0
  146. package/livingdocs/040.Media/030.video/scss/pdf.scss +0 -10
  147. package/livingdocs/040.Media/030.video/scss/web.scss +0 -11
  148. package/livingdocs/040.Media/030.video/scss/xbrl.scss +1 -4
  149. package/livingdocs/060.Buttons/020.button/scss/general.scss +14 -75
  150. package/livingdocs/070.Container/020.columns-container/columns-container.html +1 -1
  151. package/livingdocs/070.Container/030.background-container/background-container.html +3 -0
  152. package/livingdocs/070.Container/030.background-container/ld-conf.json +4 -0
  153. package/livingdocs/070.Container/030.background-container/properties.json +1 -0
  154. package/livingdocs/070.Container/030.background-container/scss/_spacing-variations.scss +3 -0
  155. package/livingdocs/070.Container/030.background-container/scss/general.scss +9 -0
  156. package/livingdocs/070.Container/030.background-container/scss/pdf.scss +13 -0
  157. package/livingdocs/070.Container/030.background-container/scss/web.scss +1 -0
  158. package/livingdocs/070.Container/030.background-container/scss/word.scss +1 -0
  159. package/livingdocs/070.Container/030.background-container/scss/xbrl.scss +3 -0
  160. package/livingdocs/080.CV/010.cv/cv.html +2 -1
  161. package/livingdocs/080.CV/010.cv/scss/_spacing-variations.scss +5 -0
  162. package/livingdocs/080.CV/010.cv/scss/app.scss +16 -1
  163. package/livingdocs/080.CV/010.cv/scss/general.scss +4 -0
  164. package/livingdocs/080.CV/010.cv/scss/pdf.scss +2 -3
  165. package/livingdocs/080.CV/010.cv/scss/web.scss +17 -1
  166. package/livingdocs/080.CV/020.cv-time-span/scss/_spacing-variations.scss +14 -0
  167. package/livingdocs/080.CV/020.cv-time-span/scss/general.scss +4 -0
  168. package/livingdocs/080.CV/020.cv-time-span/scss/web.scss +0 -1
  169. package/livingdocs/100.Misc/010.anchor/scss/editor.scss +0 -1
  170. package/livingdocs/100.Misc/020.accordion/accordion.html +54 -7
  171. package/livingdocs/100.Misc/020.accordion/accordion.vue +83 -0
  172. package/livingdocs/100.Misc/020.accordion/scss/editor.scss +12 -0
  173. package/livingdocs/110.PDF/010.pdf-pagebreak/scss/editor.scss +0 -1
  174. package/livingdocs/110.PDF/021.pdf-columnbreak/scss/editor.scss +0 -1
  175. package/livingdocs/110.PDF/030.pdf-publication-title/scss/editor.scss +0 -1
  176. package/livingdocs/110.PDF/040.pdf-chapter-title/scss/editor.scss +0 -1
  177. package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/editor.scss +1 -1
  178. package/livingdocs/110.PDF/075.pdf-landscape-container/ld-conf.json +7 -0
  179. package/livingdocs/110.PDF/075.pdf-landscape-container/pdf-landscape-container.html +9 -0
  180. package/livingdocs/110.PDF/075.pdf-landscape-container/properties.json +15 -0
  181. package/livingdocs/110.PDF/075.pdf-landscape-container/scss/pdf.scss +19 -0
  182. package/livingdocs/110.PDF/100.pdf-toc-item/pdf-toc-item.html +3 -2
  183. package/livingdocs/110.PDF/100.pdf-toc-item/scss/general.scss +6 -5
  184. package/livingdocs/110.PDF/100.pdf-toc-item/scss/pdf.scss +9 -1
  185. package/livingdocs/130.Hosting_Components/010.download-center/download-center.html +7 -0
  186. package/livingdocs/130.Hosting_Components/010.download-center/download-center.vue +68 -0
  187. package/livingdocs/130.Hosting_Components/010.download-center/ld-conf.json +4 -0
  188. package/livingdocs/130.Hosting_Components/010.download-center/properties.json +1 -0
  189. package/livingdocs/130.Hosting_Components/010.download-center/scss/_spacing-variations.scss +3 -0
  190. package/livingdocs/130.Hosting_Components/010.download-center/scss/editor.scss +15 -0
  191. package/livingdocs/130.Hosting_Components/010.download-center/scss/general.scss +1 -0
  192. package/livingdocs/130.Hosting_Components/010.download-center/scss/pdf.scss +1 -0
  193. package/livingdocs/130.Hosting_Components/010.download-center/scss/web.scss +42 -0
  194. package/livingdocs/130.Hosting_Components/020.search/ld-conf.json +4 -0
  195. package/livingdocs/130.Hosting_Components/020.search/properties.json +1 -0
  196. package/livingdocs/130.Hosting_Components/020.search/scss/_spacing-variations.scss +4 -0
  197. package/livingdocs/130.Hosting_Components/020.search/scss/editor.scss +14 -0
  198. package/livingdocs/130.Hosting_Components/020.search/scss/general.scss +1 -0
  199. package/livingdocs/130.Hosting_Components/020.search/scss/pdf.scss +1 -0
  200. package/livingdocs/130.Hosting_Components/020.search/scss/web.scss +200 -0
  201. package/livingdocs/130.Hosting_Components/020.search/search.html +7 -0
  202. package/livingdocs/130.Hosting_Components/020.search/search.vue +484 -0
  203. package/livingdocs/999.Properties/breakout-grid/web.scss +5 -0
  204. package/livingdocs/999.Properties/grid/scss/app.scss +1 -0
  205. package/livingdocs/999.Properties/grid/scss/general.scss +31 -0
  206. package/livingdocs/999.Properties/grid/scss/pdf.scss +9 -0
  207. package/livingdocs/999.Properties/grid/scss/web.scss +1 -0
  208. package/livingdocs/999.Properties/grid/scss/xbrl.scss +2 -0
  209. package/livingdocs/999.Properties/icon/properties.json +2 -2
  210. package/package.json +1 -1
  211. package/plugins/viteSrlPlugin.js +16 -1
  212. package/scripts/build.js +1 -0
  213. package/scripts/config.js +6 -2
  214. package/scss/button.scss +25 -0
  215. package/scss/fa/font-free.scss +17 -0
  216. package/scss/fa/font-pro.scss +41 -0
  217. package/scss/fa/index.scss +118 -0
  218. package/scss/fa/source-free.scss +14 -0
  219. package/scss/fa/source-pro.scss +15 -0
  220. package/scss/index.scss +1 -0
  221. package/srl/.srl/components/Srl/Aria/TabChain.vue +6 -5
  222. package/srl/.srl/components/Srl/Article/Accordion.vue +37 -24
  223. package/srl/.srl/components/Srl/Article/Dialog/Button.vue +6 -5
  224. package/srl/.srl/components/Srl/Article/Root.vue +4 -1
  225. package/srl/.srl/components/Srl/Category/Accordion/Content.vue +2 -2
  226. package/srl/.srl/components/Srl/Category/Accordion/Toggle.vue +17 -8
  227. package/srl/.srl/components/Srl/Category/Accordion.vue +8 -5
  228. package/srl/.srl/components/Srl/Menu/Item.vue +20 -5
  229. package/srl/.srl/components/Srl/Page/Dialog.vue +31 -14
  230. package/srl/.srl/types/nswow.d.ts +6 -1
  231. package/srl/.srl/utils/index.ts +2 -0
  232. package/srl/.srl/utils/pageState.ts +24 -23
  233. package/srl/srl/button.scss +2 -0
  234. package/srl/srl/fa/font-free.scss +17 -0
  235. package/srl/srl/fa/font-pro.scss +41 -0
  236. package/srl/srl/fa/index.scss +118 -0
  237. package/srl/srl/fa/source-free.scss +14 -0
  238. package/srl/srl/fa/source-pro.scss +15 -0
  239. package/dev/src/assets/fonts/Inter/Inter-Regular.ttf +0 -0
  240. package/dev/src/assets/fonts/Inter/Inter-SemiBold.ttf +0 -0
  241. package/dev/src/assets/fonts/Roboto/roboto-v30-latin-300.woff2 +0 -0
  242. package/dev/src/assets/fonts/Roboto/roboto-v30-latin-700.woff2 +0 -0
  243. package/dev/src/assets/fonts/Roboto/roboto-v30-latin-italic.woff2 +0 -0
  244. package/dev/src/assets/fonts/Roboto/roboto-v30-latin-regular.woff2 +0 -0
  245. package/dev/src/assets/images/mms-logo-white.svg +0 -105
  246. package/dev/src/assets/scss/components/icons.scss +0 -287
  247. package/dev/src/assets/scss/components/round-button.scss +0 -75
  248. package/dev/src/assets/scss/placeholders.scss +0 -588
  249. package/dev/src/components/Page/Footer.vue +0 -45
  250. package/dev/src/components/Page/Header.vue +0 -40
  251. package/dev/src/views/HomeView.vue +0 -5
  252. package/livingdocs/030.Lists/020.ordered-list/scss/general.scss +0 -6
  253. package/livingdocs/030.Lists/020.ordered-list/scss/pdf.scss +0 -5
  254. package/livingdocs/030.Lists/020.ordered-list/scss/word.scss +0 -9
  255. package/livingdocs/030.Lists/020.ordered-list/scss/xbrl.scss +0 -1
  256. package/livingdocs/030.Lists/030.alphanumeric-list/scss/general.scss +0 -6
  257. package/livingdocs/030.Lists/030.alphanumeric-list/scss/pdf.scss +0 -5
  258. package/livingdocs/030.Lists/030.alphanumeric-list/scss/word.scss +0 -9
  259. package/livingdocs/030.Lists/030.alphanumeric-list/scss/xbrl.scss +0 -1
  260. package/livingdocs/030.Lists/040.list-item/ld-conf.json +0 -5
  261. package/livingdocs/030.Lists/040.list-item/list-item.html +0 -5
  262. package/livingdocs/030.Lists/040.list-item/scss/web.scss +0 -27
  263. package/livingdocs/030.Lists/040.list-item/scss/word.scss +0 -19
  264. package/livingdocs/030.Lists/040.list-item/scss/xbrl.scss +0 -1
  265. /package/livingdocs/030.Lists/{020.ordered-list → 040.list-item-unordered-list}/scss/app.scss +0 -0
  266. /package/livingdocs/030.Lists/{020.ordered-list → 040.list-item-unordered-list}/scss/editor.scss +0 -0
  267. /package/livingdocs/{030.Lists/030.alphanumeric-list → 070.Container/030.background-container}/scss/app.scss +0 -0
  268. /package/livingdocs/{030.Lists/030.alphanumeric-list → 070.Container/030.background-container}/scss/editor.scss +0 -0
  269. /package/livingdocs/{030.Lists/040.list-item → 130.Hosting_Components/010.download-center}/scss/app.scss +0 -0
  270. /package/{dev/livingdocs/.gitkeep → livingdocs/130.Hosting_Components/010.download-center/scss/word.scss} +0 -0
  271. /package/livingdocs/{030.Lists/020.ordered-list/scss/web.scss → 130.Hosting_Components/010.download-center/scss/xbrl.scss} +0 -0
  272. /package/livingdocs/{030.Lists/040.list-item/scss/editor.scss → 130.Hosting_Components/020.search/scss/app.scss} +0 -0
  273. /package/livingdocs/{030.Lists/030.alphanumeric-list/scss/web.scss → 130.Hosting_Components/020.search/scss/word.scss} +0 -0
  274. /package/livingdocs/{060.Buttons/.gitkeep → 130.Hosting_Components/020.search/scss/xbrl.scss} +0 -0
  275. /package/livingdocs/999.Properties/{width → grid}/properties.json +0 -0
package/dev/package.json CHANGED
@@ -24,15 +24,14 @@
24
24
  "postinstall": "srl prepare"
25
25
  },
26
26
  "dependencies": {
27
- "@simple-reporting/base": "^1.0.36",
28
- "axios": "^1.12.2",
27
+ "@fortawesome/fontawesome-free": "^7.2.0",
28
+ "@simple-reporting/base": "^1.0.38",
29
29
  "chalk": "^5.6.2",
30
30
  "exceljs": "^4.4.0",
31
31
  "file-saver": "^2.0.5",
32
32
  "highcharts": "^11.4.8",
33
33
  "modern-css-reset": "^1.4.0",
34
34
  "node-html-parser": "^7.0.1",
35
- "pinia": "^2.3.1",
36
35
  "scrollmonitor": "^1.2.11",
37
36
  "vite-plugin-pwa": "^0.21.2",
38
37
  "vue": "^3.5.13",
package/dev/src/App.vue CHANGED
@@ -7,8 +7,7 @@ const mainNavigation = useMenu('menuMain')
7
7
  <template>
8
8
  <div class="srl-page__wrap">
9
9
  <PageBypassLinks />
10
- <PageHeader />
11
- <PageMainNavigation :mainNavigation="mainNavigation" />
10
+ <PageHeader :mainNavigation="mainNavigation" />
12
11
  <PageMain :mainNavigation="mainNavigation" />
13
12
  <PageFooter />
14
13
  </div>
@@ -3,4 +3,4 @@ import ArticleAutoloader from 'srl/ArticleAutoloader'
3
3
  const ClassAutoLoader = new ArticleAutoloader()
4
4
 
5
5
  export default ClassAutoLoader
6
- export { ClassAutoLoader }
6
+ export { ClassAutoLoader }
@@ -1,11 +1,10 @@
1
1
  <script setup lang="ts">
2
2
  import VRuntimeTemplate from 'vue3-runtime-template'
3
- import SvgClose from '@/components/Svg/Close.vue'
4
3
 
5
4
  const props = withDefaults(
6
5
  defineProps<{
7
6
  header?: string
8
- content: string
7
+ content?: string
9
8
  }>(),
10
9
  {
11
10
  header: '',
@@ -25,78 +24,30 @@ function close() {
25
24
  <template>
26
25
  <div class="srl-dialog srl-bg-light srl-color-dark" @click.stop>
27
26
  <header class="srl-dialog__header">
28
- <h2 v-if="props.header !== ''" class="srl-dialog__title" v-html="props.header" />
27
+ <div v-if="props.header !== '' || $slots.header" class="srl-dialog__header--body">
28
+ <h2 v-if="props.header !== ''" class="srl-dialog__title" v-html="props.header" />
29
+ <slot name="header"/>
30
+ </div>
29
31
  <button
30
32
  type="button"
31
- class="srl-dialog__close"
33
+ class="srl-dialog__close srl-button srl-button--icon"
32
34
  :title="$t('modalClose')"
33
35
  :aria-label="$t('modalClose')"
34
36
  @click="close"
35
37
  >
36
- <SvgClose :title="$t('modalClose')" />
38
+ <i class="srl-icon-close" aria-hidden="true" />
37
39
  </button>
38
40
  </header>
39
41
  <main class="srl-dialog__main srl-article-root" tabindex="-1">
40
42
  <VRuntimeTemplate v-if="props.content !== ''" :template="props.content" />
43
+ <slot name="main"/>
41
44
  </main>
45
+ <footer v-if="$slots.footer" class="srl-dialog__footer">
46
+ <slot name="footer"/>
47
+ </footer>
42
48
  </div>
43
49
  </template>
44
50
 
45
51
  <style lang="scss">
46
- @use 'srl';
47
-
48
- body:has(.srl-page__dialog[open]) {
49
- overflow: hidden;
50
- }
51
-
52
- .srl-page__dialog {
53
- display: block;
54
- padding: 0;
55
- border: 0;
56
- border-radius: srl.system-size-unit(16);
57
- opacity: 0;
58
- pointer-events: none;
59
- transition: opacity 0.3s;
60
- position: fixed;
61
- inset: 0;
62
- margin: 10vh auto 0;
63
-
64
- &::backdrop {
65
- background-color: rgba(0, 0, 0, 0.3);
66
- z-index: -1;
67
- }
68
-
69
- &[open] {
70
- opacity: 1;
71
- pointer-events: all;
72
- }
73
- }
74
-
75
- .srl-dialog {
76
- width: 80vw;
77
- height: 80vh;
78
-
79
- &__close {
80
- width: srl.system-size-unit(50);
81
- height: srl.system-size-unit(50);
82
- position: absolute;
83
- top: 0;
84
- right: srl.system-size-unit(20);
85
- background: transparent;
86
- border: none;
87
- padding: 0;
88
- margin: 0;
89
- svg {
90
- width: 100%;
91
- height: 100%;
92
- }
93
- }
94
-
95
- &__main {
96
- padding: srl.system-size-unit(40);
97
- height: 100%;
98
- overflow-y: auto;
99
- overflow-x: hidden;
100
- }
101
- }
52
+ @use "@/assets/scss/components/dialog";
102
53
  </style>
@@ -0,0 +1,2 @@
1
+ @use "fa-font";
2
+
@@ -1,7 +1,6 @@
1
1
  @font-face {
2
2
  font-family: 'Inter';
3
- src: url('assets/fonts/Inter/Inter-SemiBold.woff2') format('woff2'),
4
- url('assets/fonts/Inter/Inter-SemiBold.ttf') format('truetype');
3
+ src: url('assets/fonts/Inter/Inter-SemiBold.woff2') format('woff2');
5
4
  font-weight: 600;
6
5
  font-style: normal;
7
6
  font-display: swap;
@@ -9,8 +8,7 @@
9
8
 
10
9
  @font-face {
11
10
  font-family: 'Inter';
12
- src: url('assets/fonts/Inter/Inter-Regular.woff2') format('woff2'),
13
- url('assets/fonts/Inter/Inter-Regular.ttf') format('truetype');
11
+ src: url('assets/fonts/Inter/Inter-Regular.woff2') format('woff2');
14
12
  font-weight: 400;
15
13
  font-style: normal;
16
14
  font-display: swap;
@@ -0,0 +1,4 @@
1
+ <svg class="srl-svg srl-svg-minus" aria-label="Minus" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <title>Minus</title>
3
+ <path d="M4.16699 10H15.8337" stroke="#ffffff" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg class="srl-svg srl-svg-plus" aria-label="Plus" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <title>Plus</title>
3
+ <path d="M10.0003 4.1665V15.8332M4.16699 9.99984H15.8337" stroke="#181F27" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg class="srl-svg srl-svg-arrow-left" aria-label="Arrow left" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round">
2
+ <title>Arrow left</title>
3
+ <line x1="19" y1="12" x2="5" y2="12"></line>
4
+ <polyline points="12 19 5 12 12 5"></polyline>
5
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg class="srl-svg srl-svg-arrow-right" aria-label="Arrow right" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" >
2
+ <title>Arrow right</title>
3
+ <line x1="5" y1="12" x2="19" y2="12"></line>
4
+ <polyline points="12 5 19 12 12 19"></polyline>
5
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg class="srl-svg srl-svg-arrow-up" aria-label="Arrow up" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round">
2
+ <title>Arrow up</title>
3
+ <line x1="12" y1="19" x2="12" y2="5"></line>
4
+ <polyline points="5 12 12 5 19 12"></polyline>
5
+ </svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M201.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 338.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M311.1 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L243.2 256 73.9 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M201.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 173.3 54.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"/></svg>
@@ -0,0 +1,5 @@
1
+ <svg class="srl-svg srl-svg-close" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round">
2
+ <title>Close</title>
3
+ <line x1="18" y1="6" x2="6" y2="18"></line>
4
+ <line x1="6" y1="6" x2="18" y2="18"></line>
5
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg class="srl-svg srl-svg-download" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round">
2
+ <title>Download</title>
3
+ <path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path>
4
+ <polyline points="7 10 12 15 17 10"></polyline>
5
+ <line x1="12" y1="15" x2="12" y2="3"></line>
6
+ </svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M80 299.3l0 212.7 116 0 0-212.7 86.5 0 18-97.8-104.5 0 0-34.6c0-51.7 20.3-71.5 72.7-71.5 16.3 0 29.4 .4 37 1.2l0-88.7C291.4 4 256.4 0 236.2 0 129.3 0 80 50.5 80 159.4l0 42.1-66 0 0 97.8 66 0z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.3 141a115 115 0 1 0 -.6 230 115 115 0 1 0 .6-230zm-.6 40.4a74.6 74.6 0 1 1 .6 149.2 74.6 74.6 0 1 1 -.6-149.2zm93.4-45.1a26.8 26.8 0 1 1 53.6 0 26.8 26.8 0 1 1 -53.6 0zm129.7 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM399 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M317.5 420.1C295.4 465 271.5 480 256 480s-39.4-15-61.5-59.9c-19-38.6-32.1-91.3-34.2-148.1l191.4 0c-2.1 56.8-15.2 109.5-34.2 148.1zM351.7 240l-191.4 0c2.1-56.8 15.2-109.5 34.2-148.1 22.1-44.9 46-59.9 61.5-59.9s39.4 15 61.5 59.9c19 38.6 32.1 91.3 34.2 148.1zm32 32l95.7 0c-6.5 92.5-69.2 169.5-154.2 197.1 33-44.2 55.8-117.8 58.5-197.1zm95.7-32l-95.7 0c-2.7-79.3-25.5-152.9-58.5-197.1 85 27.6 147.7 104.6 154.2 197.1zm-351.2 0l-95.7 0c6.5-92.5 69.2-169.5 154.2-197.1-33 44.2-55.8 117.8-58.5 197.1zM32.6 272l95.7 0c2.7 79.3 25.5 152.9 58.5 197.1-85-27.6-147.7-104.6-154.2-197.1zM256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.3 448l-92.9 0 0-299.1 92.9 0 0 299.1zM53.8 108.1C24.1 108.1 0 83.5 0 53.8 0 39.5 5.7 25.9 15.8 15.8s23.8-15.8 38-15.8 27.9 5.7 38 15.8 15.8 23.8 15.8 38c0 29.7-24.1 54.3-53.8 54.3zM447.9 448l-92.7 0 0-145.6c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7l0 148.1-92.8 0 0-299.1 89.1 0 0 40.8 1.3 0c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3l0 164.3-.1 0z"/></svg>
@@ -0,0 +1 @@
1
+ <svg class="iz-header__logo-svg" viewBox="0 0 160 56" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M158.585 32.7946C157.678 31.0546 156.492 29.5688 155.057 28.3768C153.537 27.117 152.003 26.2216 150.23 25.555C148.506 24.9082 145.255 24.1935 145.117 24.1624L137.558 22.4535C136.66 22.2304 135.66 21.9281 134.581 21.5581C133.584 21.2163 132.66 20.7813 131.833 20.2644C131.011 19.7532 130.429 19.2249 130.05 18.6487C129.635 18.0188 129.432 17.3296 129.432 16.5472C129.432 15.4427 129.658 14.5332 130.101 13.8468C130.595 13.0841 131.231 12.4825 132.047 12.0051C132.94 11.4854 133.937 11.1069 135.013 10.8809C136.168 10.638 137.321 10.5165 138.442 10.5165C139.883 10.5165 141.256 10.6916 142.527 11.0334C143.713 11.3554 144.775 11.8667 145.679 12.5474C146.555 13.2112 147.238 14.036 147.766 15.067C148.159 15.8353 148.422 16.7336 148.549 17.7335L148.772 19.4989H158.421L158.24 17.3155C158.065 15.1913 157.489 13.0305 156.619 11.234C155.591 9.10983 154.178 7.30205 152.424 5.85583C150.687 4.42655 148.656 3.356 146.388 2.67808C144.188 2.02276 141.787 1.68945 139.256 1.68945C137.067 1.68945 134.829 1.94932 132.609 2.46341C130.327 2.99445 128.228 3.83619 126.367 4.96323C124.675 5.99141 123.243 7.32182 122.102 8.92623C118.537 5.17791 113.563 2.84474 108.063 2.84474C102.018 2.84474 96.7785 6.77384 93.3239 11.1238C89.8665 6.77384 84.6296 2.84474 78.5848 2.84474C72.5401 2.84474 67.4387 5.50557 63.8401 9.70866C60.2415 5.50557 54.9679 2.84474 49.0954 2.84474C43.2229 2.84474 37.8109 6.77384 34.3535 11.1238C30.8961 6.77384 25.6592 2.84474 19.6144 2.84474C8.79881 2.85604 0 11.8695 0 22.9478V53.5163H9.75072V22.9478C9.75072 17.2449 14.177 12.6039 19.6173 12.6039C25.0576 12.6039 29.4838 17.2449 29.4838 22.9478V53.5163H39.2345V22.9478C39.2345 17.2449 43.6608 12.6039 49.1011 12.6039C54.5413 12.6039 58.9676 17.2449 58.9676 22.9478V53.5163H68.7268V22.9478C68.7268 17.2449 73.153 12.6039 78.5933 12.6039C84.0336 12.6039 88.4599 17.2449 88.4599 22.9478V53.5163H98.2106V22.9478C98.2106 17.2449 102.637 12.6039 108.077 12.6039C113.517 12.6039 117.944 17.2449 117.944 22.9478V35.6447C117.944 36.8 118.153 39.1247 118.373 40.2574C119.339 45.1666 121.511 48.2568 124.717 50.6945C128.463 53.5474 133.361 54.9936 139.27 54.9936C141.569 54.9936 143.933 54.7337 146.295 54.2253C148.749 53.6943 150.987 52.7988 152.952 51.5673C154.975 50.299 156.658 48.6325 157.961 46.6128C159.314 44.5113 160 41.9691 160 39.0569C160 36.6926 159.528 34.5854 158.599 32.7946H158.585ZM127.677 28.9813C126.398 28.374 125.237 27.6594 124.217 26.8487C122.811 25.7301 121.695 24.3404 120.904 22.7219C120.107 21.0949 119.703 19.1091 119.703 16.8183C119.703 14.0954 120.339 11.6972 121.59 9.69454C121.754 9.43467 121.924 9.18045 122.102 8.9347C125.548 12.5559 127.677 17.5019 127.677 22.945V28.9813ZM149.427 42.3448C148.778 43.2345 147.964 43.952 146.936 44.5395C145.863 45.1525 144.679 45.5931 143.422 45.8502C142.089 46.1242 140.781 46.2626 139.533 46.2626C136.16 46.2626 133.44 45.4378 131.222 43.7402C129.262 42.2431 128.2 40.2291 127.875 37.4016L127.683 35.6475V28.987C128.059 29.1649 128.44 29.3344 128.836 29.4954C130.479 30.1592 132.299 30.7495 134.239 31.2495L134.273 31.258L134.307 31.2665L141.614 32.8906C142.803 33.1759 143.998 33.5205 145.168 33.9188C146.235 34.2832 147.193 34.7436 148.012 35.2775C148.73 35.7492 149.283 36.3113 149.704 36.9977C150.074 37.605 150.263 38.4213 150.263 39.4213C150.263 40.6217 149.992 41.5765 149.43 42.3448H149.427Z" fill="currentColor"></path></svg>
@@ -0,0 +1,3 @@
1
+ <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M2.5 10H17.5M2.5 5H17.5M2.5 15H17.5" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M2.5 10H17.5M2.5 5H17.5M2.5 15H17.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="10" height="18" viewBox="0 0 10 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M9 1L1 9L9 17" stroke="#181F27" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="10" height="18" viewBox="0 0 10 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M1 1L9 9L1 17" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg class="srl-svg srl-svg-search" aria-label="Search" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round">
2
+ <title>Search</title>
3
+ <circle cx="11" cy="11" r="8"></circle>
4
+ <line x1="21" y1="21" x2="16.65" y2="16.65"></line>
5
+ </svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M459.4 151.7c.3 4.5 .3 9.1 .3 13.6 0 138.7-105.6 298.6-298.6 298.6-59.5 0-114.7-17.2-161.1-47.1 8.4 1 16.6 1.3 25.3 1.3 49.1 0 94.2-16.6 130.3-44.8-46.1-1-84.8-31.2-98.1-72.8 6.5 1 13 1.6 19.8 1.6 9.4 0 18.8-1.3 27.6-3.6-48.1-9.7-84.1-52-84.1-103l0-1.3c14 7.8 30.2 12.7 47.4 13.3-28.3-18.8-46.8-51-46.8-87.4 0-19.5 5.2-37.4 14.3-53 51.7 63.7 129.3 105.3 216.4 109.8-1.6-7.8-2.6-15.9-2.6-24 0-57.8 46.8-104.9 104.9-104.9 30.2 0 57.5 12.7 76.7 33.1 23.7-4.5 46.5-13.3 66.6-25.3-7.8 24.4-24.4 44.8-46.1 57.8 21.1-2.3 41.6-8.1 60.4-16.2-14.3 20.8-32.2 39.3-52.6 54.3z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M162.7 210c-1.8 3.3-25.2 44.4-70.1 123.5-4.9 8.3-10.8 12.5-17.7 12.5L9.8 346c-7.7 0-12.1-7.5-8.5-14.4l69-121.3c.2 0 .2-.1 0-.3L26.4 134.4c-4.3-7.8 .3-14.1 8.5-14.1l65.1 0c7.3 0 13.3 4.1 18 12.2L162.7 210zM382.6 46.1l-144 253 0 .3 91.6 166.6c3.9 7.1 .2 14.1-8.5 14.1l-65.2 0c-7.6 0-13.6-4-18-12.2L146.1 299.4c3.3-5.8 51.5-90.8 144.8-255.2 4.6-8.1 10.4-12.2 17.5-12.2l65.7 0c8 0 12.3 6.7 8.5 14.1z"/></svg>
@@ -2,11 +2,20 @@
2
2
  @use 'web';
3
3
  @use "./components/note/accordion";
4
4
 
5
+ html {
6
+ -webkit-text-size-adjust: 100%;
7
+ scrollbar-gutter: stable;
8
+ }
9
+
5
10
  html,
6
11
  body {
7
12
  overscroll-behavior: none;
8
13
  }
9
14
 
15
+ * {
16
+ scroll-margin-top: calc(srl.system-root-style(srl-header-height) + srl.spacer-get(400));
17
+ }
18
+
10
19
  .fade-enter-from {
11
20
  opacity: 0;
12
21
  }
@@ -0,0 +1,37 @@
1
+ @use "srl";
2
+
3
+ .srl-button {
4
+ @extend %srl-button;
5
+ }
6
+
7
+ .srl-button--ghost {
8
+ @extend %srl-button--ghost;
9
+ }
10
+
11
+ .srl-button--icon {
12
+ @extend %srl-button--icon;
13
+ }
14
+
15
+ .srl-button--white {
16
+ @extend %srl-button--white;
17
+ }
18
+
19
+ .srl-button--primary {
20
+ @extend %srl-button--primary;
21
+ }
22
+
23
+ .srl-button--secondary {
24
+ @extend %srl-button--secondary;
25
+ }
26
+
27
+ .srl-button--transparent-white {
28
+ @extend %srl-button--transparent-white;
29
+ }
30
+
31
+ .srl-button--transparent-black {
32
+ @extend %srl-button--transparent-black;
33
+ }
34
+
35
+ .srl-button__switch {
36
+ @include srl.button-switch(".srl-button");
37
+ }
@@ -0,0 +1,84 @@
1
+ @use "srl";
2
+
3
+ body:has(.srl-page__dialog[open]) {
4
+ overflow: hidden;
5
+ }
6
+ .srl-page__dialog[open] {
7
+ border: none;
8
+ padding: 0;
9
+ width: srl.system-root-style(srl-container-max-width, 100%);
10
+ max-width: 100%;
11
+ max-height: 100dvh;
12
+ background-color: transparent;
13
+
14
+ &::backdrop {
15
+ background: srl.colors-grey-400();
16
+ opacity: 0.6;
17
+ }
18
+ }
19
+
20
+
21
+ .srl-dialog {
22
+ position: relative;
23
+ background-color: srl.colors-white-1000();
24
+ padding-block: srl.system-root-style(srl-container-padding, 0);
25
+ max-height: 100dvh;
26
+ display: flex;
27
+ flex-direction: column;
28
+ gap: srl.system-root-style(srl-container-padding, 0);
29
+ }
30
+
31
+ .srl-dialog__header,
32
+ .srl-dialog__footer {
33
+ padding-inline: srl.system-root-style(srl-container-padding, 0);
34
+ }
35
+
36
+ .srl-dialog__header {
37
+ flex: 0 0 auto;
38
+ display: flex;
39
+ flex-direction: row;
40
+ flex-wrap: nowrap;
41
+ justify-content: flex-end;
42
+ align-items: flex-start;
43
+ position: relative;
44
+ gap: srl.grid-get-gutter-column-gap();
45
+ }
46
+
47
+ .srl-dialog__main {
48
+ flex: 1 1 auto;
49
+ display: flex;
50
+ flex-direction: column;
51
+ position: relative;
52
+ overflow: auto;
53
+
54
+ padding-block-end: srl.system-root-style(srl-container-padding, 0);
55
+ padding-inline-start: srl.system-root-style(srl-container-padding, 0);
56
+ padding-inline-end: calc(srl.system-root-style(srl-container-padding, 0) / 4 * 3);
57
+ margin-inline-end: calc(srl.system-root-style(srl-container-padding, 0) / 4);
58
+
59
+ @media (hover: hover) {
60
+ padding-inline-end: calc(srl.system-root-style(srl-container-padding, 0) / 4 * 3 - #{srl.system-size-unit(16)});
61
+ scrollbar-gutter: stable;
62
+ }
63
+
64
+ .srl-grid,
65
+ .srl-table__container > div,
66
+ .srl-category-accordion__inner-head {
67
+ padding-inline: 0;
68
+ margin-inline: 0;
69
+ }
70
+ }
71
+
72
+ .srl-dialog__header--body {
73
+ flex: 1 1 auto;
74
+ }
75
+
76
+ .srl-dialog__footer {
77
+ flex: 0 0 auto;
78
+ }
79
+
80
+ @include srl.grid-media-up(tablet-pt) {
81
+ .srl-page__dialog[open] {
82
+ border-radius: srl.system-size-unit(16);
83
+ }
84
+ }
@@ -0,0 +1,56 @@
1
+ @use "sass:list";
2
+ @use "srl";
3
+ @use "srl/fa";
4
+
5
+ $brands: (
6
+ facebook-f,
7
+ linkedin-in,
8
+ xing,
9
+ x-twitter,
10
+ instagram
11
+ );
12
+
13
+ $icons: (
14
+ search,
15
+ download,
16
+ close,
17
+ chevron-up,
18
+ chevron-right,
19
+ chevron-down,
20
+ chevron-left,
21
+ arrow-up,
22
+ arrow-right,
23
+ arrow-down,
24
+ arrow-left
25
+ );
26
+
27
+ @at-root {
28
+ .#{fa.$css-prefix},
29
+ [class*="#{fa.$css-prefix}-"] {
30
+ @extend %srl-icon-base;
31
+ }
32
+ }
33
+
34
+ @each $name in $brands {
35
+ .#{fa.$css-prefix}-#{$name} {
36
+ @include fa.brands($name);
37
+ }
38
+ }
39
+
40
+ @each $name in $icons {
41
+ .#{fa.$css-prefix}-#{$name} {
42
+ @include fa.icon($name);
43
+ }
44
+ .#{fa.$css-prefix}-thin-#{$name} {
45
+ @include fa.thin($name);
46
+ }
47
+ .#{fa.$css-prefix}-light-#{$name} {
48
+ @include fa.light($name);
49
+ }
50
+ .#{fa.$css-prefix}-regular-#{$name} {
51
+ @include fa.regular($name);
52
+ }
53
+ .#{fa.$css-prefix}-solid-#{$name} {
54
+ @include fa.solid($name);
55
+ }
56
+ }
@@ -1,9 +1,10 @@
1
1
  @use "srl";
2
- @use "@/assets/scss/placeholders";
2
+ @use "srl/fa";
3
+ @use "srl/button";
3
4
 
4
5
  $transition-duration: .3s;
5
6
 
6
- .lc-accordion
7
+ .srl-category-accordion
7
8
  {
8
9
  @include srl.spacer-margin-top(800);
9
10
 
@@ -50,63 +51,76 @@ $transition-duration: .3s;
50
51
  margin-block-start: 0;
51
52
  }
52
53
 
53
- &:has(+ .lc-accordion) {
54
- .lc-accordion__inner:after {
54
+ &:has(+ .srl-category-accordion) {
55
+ .srl-category-accordion__inner:after {
55
56
  display: none;
56
57
  }
57
58
  }
58
59
 
59
60
  &__head {
60
- @include srl.typography-title-h3();
61
- width: 100%;
62
61
  border-style: solid;
63
62
  border-color: srl.colors-primary-1000();
64
63
  border-width: srl.system-size-unit(1) 0 0 0;
65
- text-align: left;
66
- background-color: transparent;
67
- padding: srl.spacer-get(400) 0;
68
- @include srl.spacer-gap(200);
69
- cursor: pointer;
70
- display: flex;
64
+
71
65
  @extend %srl-regular-width;
72
66
 
73
- .lc-title-h3__number {
74
- width: srl.spacer-get(800);
75
- color: srl.colors-black-1000();
67
+ &--btn {
68
+ width: 100%;
69
+ text-align: left;
70
+ background-color: transparent;
71
+ padding: srl.spacer-get(400) 0;
72
+ @include srl.spacer-gap(200);
73
+ cursor: pointer;
74
+ display: flex;
75
+ border: 0;
76
+ align-items: flex-start;
77
+
78
+ @include button.switch(".srl-category-accordion__icon");
79
+
80
+ &[aria-expanded="true"] {
81
+ .srl-category-accordion__icon {
82
+ @include fa.icon(minus);
83
+ }
84
+ }
76
85
  }
77
86
 
78
- .lc-accordion__icon {
87
+ .srl-grid {
79
88
  display: flex;
80
- justify-content: center;
81
- align-items: center;
82
- width: 48px;
83
- height: 48px;
84
- margin-left: auto;
89
+ padding-inline: 0;
90
+ margin-inline: 0;
91
+ }
92
+
93
+ [class*="-number"],
94
+ [class*="-text"]
95
+ {
96
+ @include srl.typography-title-h3();
97
+ @include srl.spacer-margin-top(100);
98
+ }
99
+
100
+ [class$="-text"] {
101
+ flex: 1 1 auto;
102
+ }
103
+
104
+ [class$="-number"] {
105
+ flex: 0 0 auto;
106
+ width: srl.spacer-get(800);
85
107
  color: srl.colors-black-1000();
86
- border: srl.system-size-unit(1) solid srl.colors-black-1000();
87
- border-radius: 24px;
88
- transition: all $transition-duration ease;
89
-
90
- &:before {
91
- content: "";
92
- display: block;
93
- width: srl.system-size-unit(20);
94
- height: srl.system-size-unit(20);
95
- @extend %srl-icon;
96
- @extend %srl-icon-mask;
97
- @extend %srl-icon-plus;
98
- transition: all $transition-duration ease;
99
- }
108
+ }
109
+
110
+ .srl-category-accordion__icon {
111
+ flex: 0 0 auto;
112
+ @extend %srl-button;
113
+ @extend %srl-button--icon;
114
+ @extend %srl-icon-base;
115
+ @include fa.icon(plus);
116
+ width: auto;
100
117
  }
101
118
 
102
119
  &[aria-expanded="true"] {
103
- .lc-accordion__icon {
120
+ .srl-category-accordion__icon {
104
121
  background-color: srl.colors-black-1000();
105
122
  color: srl.colors-white-1000();
106
123
  border-color: srl.colors-black-1000();
107
- &:before {
108
- @extend %srl-icon-minus;
109
- }
110
124
  }
111
125
  }
112
126
  }
@@ -131,8 +145,8 @@ $transition-duration: .3s;
131
145
  padding: 0;
132
146
  overflow: hidden;
133
147
 
134
- .lc-accordion:last-child {
135
- > .lc-accordion__inner:after {
148
+ .srl-category-accordion:last-child {
149
+ > .srl-category-accordion__inner:after {
136
150
  display: none;
137
151
  }
138
152
  }