@simple-reporting/base 1.0.37 → 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 (274) 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 +3 -1
  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.vue +8 -5
  227. package/srl/.srl/components/Srl/Menu/Item.vue +20 -5
  228. package/srl/.srl/components/Srl/Page/Dialog.vue +31 -14
  229. package/srl/.srl/types/nswow.d.ts +6 -1
  230. package/srl/.srl/utils/index.ts +2 -0
  231. package/srl/.srl/utils/pageState.ts +24 -23
  232. package/srl/srl/button.scss +2 -0
  233. package/srl/srl/fa/font-free.scss +17 -0
  234. package/srl/srl/fa/font-pro.scss +41 -0
  235. package/srl/srl/fa/index.scss +118 -0
  236. package/srl/srl/fa/source-free.scss +14 -0
  237. package/srl/srl/fa/source-pro.scss +15 -0
  238. package/dev/src/assets/fonts/Inter/Inter-Regular.ttf +0 -0
  239. package/dev/src/assets/fonts/Inter/Inter-SemiBold.ttf +0 -0
  240. package/dev/src/assets/fonts/Roboto/roboto-v30-latin-300.woff2 +0 -0
  241. package/dev/src/assets/fonts/Roboto/roboto-v30-latin-700.woff2 +0 -0
  242. package/dev/src/assets/fonts/Roboto/roboto-v30-latin-italic.woff2 +0 -0
  243. package/dev/src/assets/fonts/Roboto/roboto-v30-latin-regular.woff2 +0 -0
  244. package/dev/src/assets/images/mms-logo-white.svg +0 -105
  245. package/dev/src/assets/scss/components/icons.scss +0 -287
  246. package/dev/src/assets/scss/components/round-button.scss +0 -75
  247. package/dev/src/assets/scss/placeholders.scss +0 -588
  248. package/dev/src/components/Page/Footer.vue +0 -45
  249. package/dev/src/components/Page/Header.vue +0 -40
  250. package/dev/src/views/HomeView.vue +0 -5
  251. package/livingdocs/030.Lists/020.ordered-list/scss/general.scss +0 -6
  252. package/livingdocs/030.Lists/020.ordered-list/scss/pdf.scss +0 -5
  253. package/livingdocs/030.Lists/020.ordered-list/scss/word.scss +0 -9
  254. package/livingdocs/030.Lists/020.ordered-list/scss/xbrl.scss +0 -1
  255. package/livingdocs/030.Lists/030.alphanumeric-list/scss/general.scss +0 -6
  256. package/livingdocs/030.Lists/030.alphanumeric-list/scss/pdf.scss +0 -5
  257. package/livingdocs/030.Lists/030.alphanumeric-list/scss/word.scss +0 -9
  258. package/livingdocs/030.Lists/030.alphanumeric-list/scss/xbrl.scss +0 -1
  259. package/livingdocs/030.Lists/040.list-item/ld-conf.json +0 -5
  260. package/livingdocs/030.Lists/040.list-item/list-item.html +0 -5
  261. package/livingdocs/030.Lists/040.list-item/scss/web.scss +0 -27
  262. package/livingdocs/030.Lists/040.list-item/scss/word.scss +0 -19
  263. package/livingdocs/030.Lists/040.list-item/scss/xbrl.scss +0 -1
  264. /package/livingdocs/030.Lists/{020.ordered-list → 040.list-item-unordered-list}/scss/app.scss +0 -0
  265. /package/livingdocs/030.Lists/{020.ordered-list → 040.list-item-unordered-list}/scss/editor.scss +0 -0
  266. /package/livingdocs/{030.Lists/030.alphanumeric-list → 070.Container/030.background-container}/scss/app.scss +0 -0
  267. /package/livingdocs/{030.Lists/030.alphanumeric-list → 070.Container/030.background-container}/scss/editor.scss +0 -0
  268. /package/livingdocs/{030.Lists/040.list-item → 130.Hosting_Components/010.download-center}/scss/app.scss +0 -0
  269. /package/{dev/livingdocs/.gitkeep → livingdocs/130.Hosting_Components/010.download-center/scss/word.scss} +0 -0
  270. /package/livingdocs/{030.Lists/020.ordered-list/scss/web.scss → 130.Hosting_Components/010.download-center/scss/xbrl.scss} +0 -0
  271. /package/livingdocs/{030.Lists/040.list-item/scss/editor.scss → 130.Hosting_Components/020.search/scss/app.scss} +0 -0
  272. /package/livingdocs/{030.Lists/030.alphanumeric-list/scss/web.scss → 130.Hosting_Components/020.search/scss/word.scss} +0 -0
  273. /package/livingdocs/{060.Buttons/.gitkeep → 130.Hosting_Components/020.search/scss/xbrl.scss} +0 -0
  274. /package/livingdocs/999.Properties/{width → grid}/properties.json +0 -0
@@ -1,5 +1,7 @@
1
1
  @use 'srl';
2
2
  @use 'sass:map';
3
+ @use "@/assets/scss/margins";
4
+ @use "spacing-variations";
3
5
 
4
6
  $table-border-regular: map.get(srl.$meta, table, border, regular);
5
7
  $table-border-bold: map.get(srl.$meta, table, border, bold);
@@ -13,329 +15,346 @@ $table-border-bold: map.get(srl.$meta, table, border, bold);
13
15
  display: block;
14
16
  }
15
17
 
18
+ @include margins.srl-component-margin(spacing-variations.$margins);
19
+
16
20
  .srl-table__container {
17
21
  overflow: auto;
18
22
  scroll-snap-type: x mandatory;
19
23
  position: relative;
20
- }
21
-
22
- table {
23
- border-collapse: collapse;
24
- border-spacing: 0;
25
- min-width: 100%;
26
- margin: 0;
27
- table-layout: fixed;
28
-
29
- .responsive-table & {
30
- table-layout: auto;
31
- }
32
24
 
33
- @-moz-document url-prefix() {
34
- border-collapse: inherit;
25
+ & > div {
26
+ @extend %srl-grid-base;
35
27
  }
36
28
  }
37
29
 
38
- th,
39
- td {
40
- /*
41
- General cell styles
42
- */
43
- @include srl.typography-table-cell-regular();
44
- padding: (
45
- srl.spacer-get(map.get(srl.$meta, table, padding, regular, top))
46
- srl.spacer-get(map.get(srl.$meta, table, padding, regular, right))
47
- srl.spacer-get(map.get(srl.$meta, table, padding, regular, bottom))
48
- srl.spacer-get(map.get(srl.$meta, table, padding, regular, left))
49
- );
50
- vertical-align: #{map.get(srl.$meta, table, vertical-align)};
51
- border-bottom: (
52
- srl.system-root-style(srl-table-border-regular-width)
53
- map.get($table-border-regular, style)
54
- srl.colors-get(map.get($table-border-regular, color))
55
- );
56
-
57
- /*
58
- Font colors
59
- */
60
- &[class*="fcprimary"] {
61
- color: srl.colors-primary-1000();
62
- }
30
+ .srl-table-container {
31
+ @extend %srl-regular-width;
63
32
 
64
- /*
65
- Font Sizes
66
- */
67
- &[class*="head"] {
68
- font-size: srl.typography-get-font-size('table-head-strong');
69
- line-height: srl.typography-get-line-height('table-head-strong');
33
+ .srl-wide-width & {
34
+ @extend %srl-wide-width;
70
35
  }
36
+ }
71
37
 
72
- /*
73
- Font Weights
74
- */
75
- &[class*="head"] {
76
- font-weight: srl.typography-get-font-weight('table-head-strong');
77
- }
38
+ /*
39
+ Has to be wrapped so it doesn't interfere with the local dev tools
40
+ */
41
+ .srl-table {
42
+ table {
43
+ border-collapse: collapse;
44
+ border-spacing: 0;
45
+ min-width: 100%;
46
+ margin: 0;
47
+ table-layout: fixed;
78
48
 
79
- &[class*="regular"] {
80
- font-weight: srl.typography-get-font-weight('table-cell-regular');
81
- }
49
+ .responsive-table & {
50
+ table-layout: auto;
51
+ }
82
52
 
83
- &[class*="bold"] {
84
- font-weight: srl.typography-get-font-weight('table-cell-strong');
53
+ @-moz-document url-prefix() {
54
+ border-collapse: inherit;
55
+ }
85
56
  }
86
57
 
87
- /*
88
- Paddings
89
- */
90
-
91
- /*
92
- Borders
93
- */
94
- &[class*='head'] {
95
- border-bottom: (
96
- srl.system-root-style(srl-table-border-bold-width)
97
- map.get($table-border-bold, style)
98
- srl.colors-get(map.get($table-border-bold, color))
58
+ th,
59
+ td {
60
+ /*
61
+ General cell styles
62
+ */
63
+ @include srl.typography-table-cell-regular();
64
+ padding: (
65
+ srl.spacer-get(map.get(srl.$meta, table, padding, regular, top))
66
+ srl.spacer-get(map.get(srl.$meta, table, padding, regular, right))
67
+ srl.spacer-get(map.get(srl.$meta, table, padding, regular, bottom))
68
+ srl.spacer-get(map.get(srl.$meta, table, padding, regular, left))
99
69
  );
100
- }
101
-
102
- &[class*='linetop'] {
103
- border-top: (
70
+ vertical-align: #{map.get(srl.$meta, table, vertical-align)};
71
+ border-bottom: (
104
72
  srl.system-root-style(srl-table-border-regular-width)
105
73
  map.get($table-border-regular, style)
106
74
  srl.colors-get(map.get($table-border-regular, color))
107
75
  );
108
- }
109
76
 
110
- &[class*='blinetop'] {
111
- border-top: (
112
- srl.system-root-style(srl-table-border-bold-width)
113
- map.get($table-border-bold, style)
114
- srl.colors-get(map.get($table-border-bold, color))
115
- );
116
- }
77
+ /*
78
+ Font colors
79
+ */
80
+ &[class*="fcprimary"] {
81
+ color: srl.colors-primary-1000();
82
+ }
117
83
 
118
- &[class*='nolinetop'] {
119
- border-top: (
120
- srl.system-root-style(srl-table-border-regular-width)
121
- map.get($table-border-regular, style)
122
- transparent
123
- );
84
+ /*
85
+ Font Sizes
86
+ */
87
+ &[class*="head"] {
88
+ font-size: srl.typography-get-font-size('table-head-strong');
89
+ line-height: srl.typography-get-line-height('table-head-strong');
90
+ }
91
+
92
+ /*
93
+ Font Weights
94
+ */
95
+ &[class*="head"] {
96
+ font-weight: srl.typography-get-font-weight('table-head-strong');
97
+ }
124
98
 
99
+ &[class*="regular"] {
100
+ font-weight: srl.typography-get-font-weight('table-cell-regular');
101
+ }
102
+
103
+ &[class*="bold"] {
104
+ font-weight: srl.typography-get-font-weight('table-cell-strong');
105
+ }
106
+
107
+ /*
108
+ Paddings
109
+ */
110
+
111
+ /*
112
+ Borders
113
+ */
125
114
  &[class*='head'] {
126
- border-top-width: srl.system-root-style(srl-table-border-regular-width)
115
+ border-bottom: (
116
+ srl.system-root-style(srl-table-border-bold-width)
117
+ map.get($table-border-bold, style)
118
+ srl.colors-get(map.get($table-border-bold, color))
119
+ );
127
120
  }
128
- }
129
121
 
130
- &[class*='linebottom'] {
131
- border-bottom: (
132
- srl.system-root-style(srl-table-border-regular-width)
133
- map.get($table-border-regular, style)
134
- srl.colors-get(map.get($table-border-regular, color))
135
- );
136
- }
122
+ &[class*='linetop'] {
123
+ border-top: (
124
+ srl.system-root-style(srl-table-border-regular-width)
125
+ map.get($table-border-regular, style)
126
+ srl.colors-get(map.get($table-border-regular, color))
127
+ );
128
+ }
137
129
 
138
- &[class*='blinebottom'] {
139
- border-bottom: (
140
- srl.system-root-style(srl-table-border-bold-width)
141
- map.get($table-border-bold, style)
142
- srl.colors-get(map.get($table-border-bold, color))
143
- );
144
- }
130
+ &[class*='blinetop'] {
131
+ border-top: (
132
+ srl.system-root-style(srl-table-border-bold-width)
133
+ map.get($table-border-bold, style)
134
+ srl.colors-get(map.get($table-border-bold, color))
135
+ );
136
+ }
145
137
 
146
- &[class*='nolinebottom'] {
147
- border-bottom: (
148
- srl.system-root-style(srl-table-border-regular-width)
149
- map.get($table-border-regular, style)
150
- transparent
151
- );
138
+ &[class*='nolinetop'] {
139
+ border-top: (
140
+ srl.system-root-style(srl-table-border-regular-width)
141
+ map.get($table-border-regular, style)
142
+ transparent
143
+ );
152
144
 
153
- &[class*="head"] {
154
- border-bottom-width: srl.system-root-style(srl-table-border-regular-width);
145
+ &[class*='head'] {
146
+ border-top-width: srl.system-root-style(srl-table-border-regular-width)
147
+ }
155
148
  }
156
- }
157
149
 
158
- &[class*='lineleft'] {
159
- border-left: (
160
- srl.system-root-style(srl-table-border-regular-width)
161
- map.get($table-border-regular, style)
162
- srl.colors-get(map.get($table-border-regular, color))
163
- );
164
- }
150
+ &[class*='linebottom'] {
151
+ border-bottom: (
152
+ srl.system-root-style(srl-table-border-regular-width)
153
+ map.get($table-border-regular, style)
154
+ srl.colors-get(map.get($table-border-regular, color))
155
+ );
156
+ }
165
157
 
166
- &[class*='blineleft'] {
167
- border-left: (
168
- srl.system-root-style(srl-table-border-bold-width)
169
- map.get($table-border-bold, style)
170
- srl.colors-get(map.get($table-border-bold, color))
171
- );
172
- }
158
+ &[class*='blinebottom'] {
159
+ border-bottom: (
160
+ srl.system-root-style(srl-table-border-bold-width)
161
+ map.get($table-border-bold, style)
162
+ srl.colors-get(map.get($table-border-bold, color))
163
+ );
164
+ }
173
165
 
174
- &[class*='nolineleft'] {
175
- border-left: (
176
- srl.system-root-style(srl-table-border-regular-width)
177
- map.get($table-border-regular, style)
178
- transparent
179
- );
180
- }
166
+ &[class*='nolinebottom'] {
167
+ border-bottom: (
168
+ srl.system-root-style(srl-table-border-regular-width)
169
+ map.get($table-border-regular, style)
170
+ transparent
171
+ );
181
172
 
182
- &[class*='lineright'] {
183
- border-right: (
184
- srl.system-root-style(srl-table-border-regular-width)
185
- map.get($table-border-regular, style)
186
- srl.colors-get(map.get($table-border-regular, color))
187
- );
188
- }
173
+ &[class*="head"] {
174
+ border-bottom-width: srl.system-root-style(srl-table-border-regular-width);
175
+ }
176
+ }
189
177
 
190
- &[class*='blineright'] {
191
- border-right: (
192
- srl.system-root-style(srl-table-border-bold-width)
193
- map.get($table-border-bold, style)
194
- srl.colors-get(map.get($table-border-bold, color))
195
- );
196
- }
178
+ &[class*='lineleft'] {
179
+ border-left: (
180
+ srl.system-root-style(srl-table-border-regular-width)
181
+ map.get($table-border-regular, style)
182
+ srl.colors-get(map.get($table-border-regular, color))
183
+ );
184
+ }
197
185
 
198
- &[class*='nolineright'] {
199
- border-right: (
200
- srl.system-root-style(srl-table-border-regular-width)
201
- map.get($table-border-regular, style)
202
- transparent
203
- );
204
- }
186
+ &[class*='blineleft'] {
187
+ border-left: (
188
+ srl.system-root-style(srl-table-border-bold-width)
189
+ map.get($table-border-bold, style)
190
+ srl.colors-get(map.get($table-border-bold, color))
191
+ );
192
+ }
205
193
 
206
- /*
207
- Indents
208
- */
209
- &[class*="ind"] {
210
- &:first-child {
211
- padding-left: srl.spacer-get(200);
194
+ &[class*='nolineleft'] {
195
+ border-left: (
196
+ srl.system-root-style(srl-table-border-regular-width)
197
+ map.get($table-border-regular, style)
198
+ transparent
199
+ );
212
200
  }
213
- }
214
201
 
215
- &[class*="ind_ind"] {
216
- &:first-child {
217
- padding-left: srl.spacer-get(400);
202
+ &[class*='lineright'] {
203
+ border-right: (
204
+ srl.system-root-style(srl-table-border-regular-width)
205
+ map.get($table-border-regular, style)
206
+ srl.colors-get(map.get($table-border-regular, color))
207
+ );
218
208
  }
219
- }
220
209
 
221
- &[class*="ind_ind_ind"] {
222
- &:first-child {
223
- padding-left: srl.spacer-get(800);
210
+ &[class*='blineright'] {
211
+ border-right: (
212
+ srl.system-root-style(srl-table-border-bold-width)
213
+ map.get($table-border-bold, style)
214
+ srl.colors-get(map.get($table-border-bold, color))
215
+ );
224
216
  }
225
- }
226
217
 
227
- /*
228
- Cell Backgrounds
229
- DEFINE HERE; DIFFERENT CSS CLASSES IN EVERY PROJECT
230
- */
231
- @for $i from 1 through 10 {
232
- $suffix: "#{$i}";
218
+ &[class*='nolineright'] {
219
+ border-right: (
220
+ srl.system-root-style(srl-table-border-regular-width)
221
+ map.get($table-border-regular, style)
222
+ transparent
223
+ );
224
+ }
233
225
 
234
- @if $i < 10 {
235
- $suffix: "0#{$i}";
226
+ /*
227
+ Indents
228
+ */
229
+ &[class*="ind"] {
230
+ &:first-child {
231
+ padding-left: srl.spacer-get(200);
232
+ }
236
233
  }
237
234
 
238
- &[class*="background-#{$suffix}"] {
239
- background-color: srl.system-root-style(srl-table-background-#{$suffix}, transparent);
235
+ &[class*="ind_ind"] {
236
+ &:first-child {
237
+ padding-left: srl.spacer-get(400);
238
+ }
240
239
  }
241
- }
242
240
 
243
- &[class*="background-01"],
244
- &[class*="background-02"],
245
- &[class*="background-03"],
246
- &[class*="background-04"],
247
- &[class*="background-05"],
248
- &[class*="background-06"],
249
- &[class*="background-07"],
250
- &[class*="background-08"],
251
- &[class*="background-09"],
252
- &[class*="background-10"] {
253
- &.head {
254
- color: black;
241
+ &[class*="ind_ind_ind"] {
242
+ &:first-child {
243
+ padding-left: srl.spacer-get(800);
244
+ }
255
245
  }
256
- }
257
246
 
258
- /*
259
- Alignments
260
- */
261
- &[class*="horizontal-left"] {
262
- text-align: left;
263
- }
247
+ /*
248
+ Cell Backgrounds
249
+ DEFINE HERE; DIFFERENT CSS CLASSES IN EVERY PROJECT
250
+ */
251
+ @for $i from 1 through 10 {
252
+ $suffix: "#{$i}";
264
253
 
265
- &[class*="horizontal-center"] {
266
- text-align: center;
267
- }
254
+ @if $i < 10 {
255
+ $suffix: "0#{$i}";
256
+ }
268
257
 
269
- &[class*="horizontal-right"] {
270
- text-align: right;
271
- }
258
+ &[class*="background-#{$suffix}"] {
259
+ background-color: srl.system-root-style(srl-table-background-#{$suffix}, transparent);
260
+ }
261
+ }
272
262
 
273
- &[class*='srl-vertical-top'],
274
- &[class*='vatop'] {
275
- vertical-align: top;
276
- }
263
+ &[class*="background-01"],
264
+ &[class*="background-02"],
265
+ &[class*="background-03"],
266
+ &[class*="background-04"],
267
+ &[class*="background-05"],
268
+ &[class*="background-06"],
269
+ &[class*="background-07"],
270
+ &[class*="background-08"],
271
+ &[class*="background-09"],
272
+ &[class*="background-10"] {
277
273
 
278
- &[class*='srl-vertical-middle'],
279
- &[class*='vamiddle'] {
280
- vertical-align: middle;
281
- }
274
+ }
282
275
 
283
- &[class*='srl-vertical-bottom'],
284
- &[class*='vabottom'] {
285
- vertical-align: bottom;
286
- }
276
+ /*
277
+ Alignments
278
+ */
279
+ &[class*="horizontal-left"] {
280
+ text-align: left;
281
+ }
287
282
 
288
- /*
289
- Responsive CSS tables
290
- */
291
- &:first-child {
292
- .responsive-table & {
293
- background: white;
294
- position: sticky;
295
- left: 0;
296
- z-index: 2;
283
+ &[class*="horizontal-center"] {
284
+ text-align: center;
297
285
  }
298
286
 
299
- &:not(:first-child) {
300
- .responsive-table & {
301
- position: relative;
302
- z-index: 1;
303
- }
287
+ &[class*="horizontal-right"] {
288
+ text-align: right;
304
289
  }
305
290
 
306
- .has-shadow & {
307
- box-shadow: 0 15px 15px rgba(0, 0, 0, 0.1);
291
+ &[class*='srl-vertical-top'],
292
+ &[class*='vatop'] {
293
+ vertical-align: top;
308
294
  }
309
- }
310
295
 
311
- &:nth-child(2) {
312
- .has-shadow & {
313
- padding-left: calc(#{srl.spacer-get(map.get(srl.$meta, table, padding, regular, left))} + 24px);
296
+ &[class*='srl-vertical-middle'],
297
+ &[class*='vamiddle'] {
298
+ vertical-align: middle;
299
+ }
300
+
301
+ &[class*='srl-vertical-bottom'],
302
+ &[class*='vabottom'] {
303
+ vertical-align: bottom;
314
304
  }
315
- }
316
305
 
317
- /*
318
- Paragraphs and spans
319
- */
320
- p span {
321
- white-space: pre-line;
306
+ /*
307
+ Responsive CSS tables
308
+ */
309
+ &:first-child {
310
+ .responsive-table & {
311
+ background: white;
312
+ position: sticky;
313
+ left: 0;
314
+ z-index: 2;
315
+ }
322
316
 
323
- &[class*="srl-number"] {
324
- white-space: nowrap;
317
+ &:not(:first-child) {
318
+ .responsive-table & {
319
+ position: relative;
320
+ z-index: 1;
321
+ }
322
+ }
323
+
324
+ .has-shadow & {
325
+ box-shadow: 0 15px 15px rgba(0, 0, 0, 0.1);
326
+ }
325
327
  }
326
328
 
327
- &:empty {
328
- &:before {
329
- content: " ";
329
+ &:nth-child(2) {
330
+ .has-shadow & {
331
+ padding-left: calc(#{srl.spacer-get(map.get(srl.$meta, table, padding, regular, left))} + 24px);
330
332
  }
331
333
  }
332
334
 
333
- &.mms-notes-separator {
334
- display: inline-block;
335
+ /*
336
+ Paragraphs and spans
337
+ */
338
+ p span {
339
+ white-space: pre-line;
340
+
341
+ &[class*="srl-number"] {
342
+ white-space: nowrap;
343
+ }
335
344
 
336
- &:before {
337
- content: map.get(srl.$meta, table, notes-separator);
345
+ &:empty {
346
+ &:before {
347
+ content: " ";
348
+ }
349
+ }
350
+
351
+ &.mms-notes-separator {
338
352
  display: inline-block;
353
+
354
+ &:before {
355
+ content: map.get(srl.$meta, table, notes-separator);
356
+ display: inline-block;
357
+ }
339
358
  }
340
359
  }
341
360
  }
@@ -1,32 +1,16 @@
1
1
  @use 'srl';
2
2
  @use 'sass:map';
3
3
 
4
- $table-cells-width-in-mm: false;
4
+ $table-cells-width-in-mm: map.get(srl.$meta, table, cells-width-in-mm);
5
5
 
6
6
  .srl-table {
7
7
  break-inside: avoid;
8
8
  }
9
9
 
10
- .srl-table__container > div {
11
- display: flex;
12
- flex-direction: column;
13
- align-items: flex-end;
14
- }
15
-
16
- .srl-table-container {
17
- @include srl.grid-pdf-flex-col(6);
18
-
19
- .srl-wide-width & {
20
- @include srl.grid-pdf-flex-col(8);
21
- }
22
- }
23
-
24
10
  @if $table-cells-width-in-mm == true {
25
11
  .srl-table-container {
26
12
  width: 100%;
27
- display: flex;
28
- flex-direction: column;
29
- align-items: flex-end;
13
+ @extend %srl-grid-base;
30
14
  }
31
15
 
32
16
  table {
@@ -1,20 +1 @@
1
1
  @use "srl";
2
- @use "@/assets/scss/placeholders";
3
-
4
- .srl-table__container > div {
5
- @extend %srl-grid-base;
6
- }
7
-
8
- .srl-table-container {
9
- @extend %srl-regular-width;
10
-
11
- .srl-wide-width & {
12
- @extend %srl-wide-width;
13
- }
14
- }
15
-
16
- .note-link {
17
- @media (prefers-reduced-motion: reduce) {
18
- transition-duration: 0s;
19
- }
20
- }
@@ -1,12 +1,13 @@
1
1
  @use 'general';
2
- @use "@/assets/scss/placeholders";
3
2
 
4
- .srl-table__container > div,
3
+ /*
4
+ Extra instruction for XBRL, because structure of tagged tables
5
+ is different from original tables
6
+ */
5
7
  .srl-table__container > .srl-table {
6
8
  @extend %srl-grid-base;
7
9
  }
8
10
 
9
- .srl-table-container,
10
11
  .srl-table__container > .srl-table > table {
11
12
  @extend %srl-regular-width;
12
13
 
@@ -0,0 +1,7 @@
1
+ $margins: (
2
+ ('.srl-image', '*'): 800,
3
+ ('.srl-image', '.srl-columns'): 400,
4
+ ('.srl-image', '.srl-pdf-pagebreak'): 800,
5
+ ('.srl-image', '.srl-anchor'): 800,
6
+ ('.srl-image', '.srl-background-container'): 1600,
7
+ )