@simple-reporting/base 1.0.39 → 1.0.40

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 (96) hide show
  1. package/dev/package.json +1 -1
  2. package/dev/src/App.vue +1 -0
  3. package/dev/src/assets/scss/editor.scss +1 -0
  4. package/dev/src/assets/scss/general.scss +18 -0
  5. package/dev/src/assets/scss/margins.scss +4 -2
  6. package/dev/src/entries/pdf.ts +5 -0
  7. package/dev/srl.config.json +60 -6
  8. package/livingdocs/010.Titles/010.title-h1/scss/_spacing-variations.scss +0 -2
  9. package/livingdocs/010.Titles/010.title-h1/scss/web.scss +7 -0
  10. package/livingdocs/010.Titles/020.title-h2/scss/_spacing-variations.scss +0 -2
  11. package/livingdocs/010.Titles/020.title-h2/scss/general.scss +10 -0
  12. package/livingdocs/010.Titles/030.title-h3/scss/_spacing-variations.scss +0 -2
  13. package/livingdocs/010.Titles/040.title-h4/scss/_spacing-variations.scss +0 -2
  14. package/livingdocs/010.Titles/050.title-h5/scss/_spacing-variations.scss +0 -2
  15. package/livingdocs/010.Titles/060.title-h6/scss/_spacing-variations.scss +0 -2
  16. package/livingdocs/020.Text/020.paragraph/scss/_spacing-variations.scss +1 -2
  17. package/livingdocs/020.Text/020.paragraph/scss/general.scss +4 -0
  18. package/livingdocs/020.Text/040.link/scss/general.scss +8 -0
  19. package/livingdocs/020.Text/060.quote-with-portrait/scss/_spacing-variations.scss +1 -2
  20. package/livingdocs/020.Text/060.quote-with-portrait/scss/general.scss +12 -0
  21. package/livingdocs/020.Text/060.quote-with-portrait/scss/web.scss +7 -0
  22. package/livingdocs/020.Text/070.footnote-container/scss/_spacing-variations.scss +0 -2
  23. package/livingdocs/020.Text/080.footnote-item/scss/word.scss +8 -0
  24. package/livingdocs/030.Lists/010.unordered-list/scss/_spacing-variations.scss +0 -2
  25. package/livingdocs/040.Media/010.table/scss/_spacing-variations.scss +0 -2
  26. package/livingdocs/040.Media/020.image/scss/_spacing-variations.scss +0 -2
  27. package/livingdocs/040.Media/020.image/scss/web.scss +19 -5
  28. package/livingdocs/040.Media/030.video/ld-conf.json +1 -6
  29. package/livingdocs/040.Media/030.video/properties.json +7 -0
  30. package/livingdocs/040.Media/030.video/scss/_spacing-variations.scss +0 -2
  31. package/livingdocs/040.Media/030.video/scss/editor.scss +10 -0
  32. package/livingdocs/040.Media/030.video/scss/general.scss +6 -1
  33. package/livingdocs/040.Media/030.video/scss/pdf.scss +8 -0
  34. package/livingdocs/040.Media/030.video/video.html +27 -30
  35. package/livingdocs/040.Media/030.video/video.vue +71 -32
  36. package/livingdocs/060.Buttons/020.button/scss/general.scss +2 -2
  37. package/livingdocs/070.Container/010.aside-content-container/scss/pdf.scss +15 -0
  38. package/livingdocs/070.Container/010.aside-content-container/scss/web.scss +4 -0
  39. package/livingdocs/070.Container/020.columns-container/scss/app.scss +1 -0
  40. package/livingdocs/070.Container/020.columns-container/scss/editor.scss +1 -0
  41. package/livingdocs/070.Container/020.columns-container/scss/general.scss +5 -0
  42. package/livingdocs/070.Container/020.columns-container/scss/pdf.scss +8 -0
  43. package/livingdocs/070.Container/020.columns-container/scss/web.scss +1 -0
  44. package/livingdocs/070.Container/020.columns-container/scss/word.scss +1 -0
  45. package/livingdocs/070.Container/020.columns-container/scss/xbrl.scss +2 -0
  46. package/livingdocs/080.CV/010.cv/scss/editor.scss +10 -1
  47. package/livingdocs/080.CV/010.cv/scss/web.scss +1 -1
  48. package/livingdocs/080.CV/020.cv-time-span/scss/_spacing-variations.scss +0 -2
  49. package/livingdocs/100.Misc/010.anchor/scss/editor.scss +4 -0
  50. package/livingdocs/100.Misc/020.accordion/accordion.html +9 -9
  51. package/livingdocs/110.PDF/010.pdf-pagebreak/scss/editor.scss +1 -0
  52. package/livingdocs/110.PDF/021.pdf-columnbreak/scss/editor.scss +1 -0
  53. package/livingdocs/110.PDF/070.pdf-cover/properties.json +2 -2
  54. package/livingdocs/110.PDF/070.pdf-cover/scss/general.scss +3 -0
  55. package/livingdocs/110.PDF/100.pdf-toc-item/scss/general.scss +6 -8
  56. package/livingdocs/120.Startpage/010.hero-video/hero-video.html +10 -0
  57. package/livingdocs/120.Startpage/010.hero-video/ld-conf.json +5 -0
  58. package/livingdocs/120.Startpage/010.hero-video/properties.json +1 -0
  59. package/livingdocs/120.Startpage/010.hero-video/scss/_spacing-variations.scss +3 -0
  60. package/livingdocs/120.Startpage/010.hero-video/scss/app.scss +2 -0
  61. package/livingdocs/120.Startpage/010.hero-video/scss/editor.scss +9 -0
  62. package/livingdocs/120.Startpage/010.hero-video/scss/web.scss +78 -0
  63. package/livingdocs/120.Startpage/020.teaser-title-image-quote/ld-conf.json +18 -0
  64. package/livingdocs/120.Startpage/020.teaser-title-image-quote/properties.json +1 -0
  65. package/livingdocs/120.Startpage/020.teaser-title-image-quote/scss/_spacing-variations.scss +4 -0
  66. package/livingdocs/120.Startpage/020.teaser-title-image-quote/scss/app.scss +2 -0
  67. package/livingdocs/120.Startpage/020.teaser-title-image-quote/scss/editor.scss +22 -0
  68. package/livingdocs/120.Startpage/020.teaser-title-image-quote/scss/web.scss +41 -0
  69. package/livingdocs/120.Startpage/020.teaser-title-image-quote/teaser-title-image-quote.html +45 -0
  70. package/livingdocs/120.Startpage/030.teaser-quote/ld-conf.json +25 -0
  71. package/livingdocs/120.Startpage/030.teaser-quote/properties.json +1 -0
  72. package/livingdocs/120.Startpage/030.teaser-quote/scss/_spacing-variations.scss +3 -0
  73. package/livingdocs/120.Startpage/030.teaser-quote/scss/app.scss +2 -0
  74. package/livingdocs/120.Startpage/030.teaser-quote/scss/editor.scss +6 -0
  75. package/livingdocs/120.Startpage/030.teaser-quote/scss/web.scss +126 -0
  76. package/livingdocs/120.Startpage/030.teaser-quote/teaser-quote.html +48 -0
  77. package/livingdocs/120.Startpage/040.teaser/ld-conf.json +23 -0
  78. package/livingdocs/120.Startpage/040.teaser/scss/_spacing-variations.scss +3 -0
  79. package/livingdocs/120.Startpage/040.teaser/scss/app.scss +2 -0
  80. package/livingdocs/120.Startpage/040.teaser/scss/editor.scss +6 -0
  81. package/livingdocs/120.Startpage/040.teaser/scss/web.scss +73 -0
  82. package/livingdocs/120.Startpage/040.teaser/teaser.html +34 -0
  83. package/livingdocs/130.Hosting_Components/010.download-center/download-center.html +5 -1
  84. package/livingdocs/130.Hosting_Components/020.search/scss/web.scss +7 -44
  85. package/livingdocs/130.Hosting_Components/020.search/search.html +7 -1
  86. package/livingdocs/130.Hosting_Components/020.search/search.vue +1 -1
  87. package/livingdocs/130.Hosting_Components/020.search/searchHighlightOnTarget.vue +246 -0
  88. package/livingdocs/999.Properties/font-color/properties.json +15 -0
  89. package/package.json +1 -1
  90. package/scripts/config.js +2 -0
  91. package/scss/spacer/mixins.scss +64 -12
  92. package/srl/srl/fa/index.scss +2 -2
  93. package/srl/srl/fa/source-free.scss +1 -4
  94. package/srl/srl/pdf/PDFNestedContainers.ts +110 -0
  95. package/srl/srl/pdf/PDFNotes.ts +4 -2
  96. package/srl/srl/pdf/PDFSetPageNumbers.ts +3 -1
package/dev/package.json CHANGED
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@fortawesome/fontawesome-free": "^7.2.0",
28
- "@simple-reporting/base": "^1.0.39",
28
+ "@simple-reporting/base": "^1.0.40",
29
29
  "chalk": "^5.6.2",
30
30
  "exceljs": "^4.4.0",
31
31
  "file-saver": "^2.0.5",
package/dev/src/App.vue CHANGED
@@ -6,6 +6,7 @@ const mainNavigation = useMenu('menuMain')
6
6
 
7
7
  <template>
8
8
  <div class="srl-page__wrap">
9
+ <SearchHighlightOnTarget />
9
10
  <PageBypassLinks />
10
11
  <PageHeader :mainNavigation="mainNavigation" />
11
12
  <PageMain :mainNavigation="mainNavigation" />
@@ -45,6 +45,7 @@ img[src^="data:image/svg+xml"] {
45
45
  @extend %srl-grid-base;
46
46
 
47
47
  &.srl-pdf-pagebreak,
48
+ &.srl-pdf-columnbreak,
48
49
  &.srl-anchor {
49
50
  border-top: 1px solid #{srl.colors-primary-1000()};
50
51
  border-bottom: 1px solid #{srl.colors-primary-1000()};
@@ -75,6 +75,24 @@ span {
75
75
  color: srl.colors-primary-1000();
76
76
  }
77
77
 
78
+ .srl-linkable {
79
+ a {
80
+ color: srl.colors-primary-1000();
81
+ text-decoration: underline;
82
+
83
+ &:hover {
84
+ text-decoration: none;
85
+ }
86
+
87
+ &[target="_blank"] {
88
+ &:after {
89
+ @extend %srl-icon-base;
90
+ @include fa.content(arrow-up-right-from-square);
91
+ }
92
+ }
93
+ }
94
+ }
95
+
78
96
  .srl-flex {
79
97
  display: flex;
80
98
  flex-direction: srl.system-root-style(srl-model-flex-direction);
@@ -19,12 +19,14 @@
19
19
 
20
20
  @if system.$build == "pdf" {
21
21
  @if $to == '*' {
22
- #{$from}-first + *,
22
+ #{$from} + *,
23
23
  #{$from}-last + * {
24
24
  @include srl.spacer-margin-top($margin);
25
25
  }
26
26
  } @else {
27
- #{$from}-first + #{$to}-first,
27
+ #{$from} + #{$to},
28
+ #{$from} + #{$to}-first,
29
+ #{$from}-last + #{$to},
28
30
  #{$from}-last + #{$to}-first {
29
31
  @include srl.spacer-margin-top($margin);
30
32
  }
@@ -1,6 +1,7 @@
1
1
  import '#imports/pdf.scss'
2
2
  import * as Awesomizr from 'srl/pdf/Awesomizr.js'
3
3
  import PDFNotes from 'srl/pdf/PDFNotes.ts'
4
+ import PDFNestedContainers from 'srl/pdf/PDFNestedContainers.ts'
4
5
  import PDFSetPageNumbers from 'srl/pdf/PDFSetPageNumbers.ts'
5
6
 
6
7
  document.addEventListener('DOMContentLoaded', () => {
@@ -8,6 +9,10 @@ document.addEventListener('DOMContentLoaded', () => {
8
9
  noteClass: '.srl-category-notes_group, .srl-category-notes_holding'
9
10
  })
10
11
 
12
+ new PDFNestedContainers({
13
+ selector: '.srl-nested-container'
14
+ })
15
+
11
16
  new PDFSetPageNumbers({
12
17
  tocItemClass: '.srl-pdf-toc__item:not(.srl-pdf-toc__item--blank)',
13
18
  tocItemPageNumberClass: '.srl-pdf-toc__page-number'
@@ -117,6 +117,27 @@
117
117
  }
118
118
  }
119
119
  },
120
+ {
121
+ "name": "title-h1-landing-page",
122
+ "font-family": "Inter",
123
+ "font-size": 40,
124
+ "line-height": 1.25,
125
+ "font-style": "normal",
126
+ "font-weight": 400,
127
+ "letter-spacing": 0,
128
+ "media": {
129
+ "up": {
130
+ "tablet-pt": {
131
+ "font-size": 60,
132
+ "line-height": 1.26
133
+ },
134
+ "desktop": {
135
+ "font-size": 80,
136
+ "line-height": 1.2
137
+ }
138
+ }
139
+ }
140
+ },
120
141
  {
121
142
  "name": "title-h1-pdf",
122
143
  "font-family": "Inter",
@@ -153,6 +174,31 @@
153
174
  }
154
175
  }
155
176
  },
177
+ {
178
+ "name": "title-h2-landing-page",
179
+ "font-family": "Inter",
180
+ "font-size": 30,
181
+ "line-height": 1.5,
182
+ "font-style": "normal",
183
+ "font-weight": 600,
184
+ "letter-spacing": 0,
185
+ "media": {
186
+ "print": {
187
+ "font-size": "28pt",
188
+ "line-height": 0.875
189
+ },
190
+ "up": {
191
+ "tablet-pt": {
192
+ "font-size": 36,
193
+ "line-height": 1.5
194
+ },
195
+ "desktop": {
196
+ "font-size": 56,
197
+ "line-height": 1.46
198
+ }
199
+ }
200
+ }
201
+ },
156
202
  {
157
203
  "name": "title-h2-pdf",
158
204
  "font-family": "Inter",
@@ -275,7 +321,7 @@
275
321
  {
276
322
  "name": "paragraph",
277
323
  "font-family": "Inter",
278
- "font-size": 14,
324
+ "font-size": 16,
279
325
  "line-height": 1.5,
280
326
  "font-style": "normal",
281
327
  "font-weight": 400,
@@ -287,7 +333,7 @@
287
333
  },
288
334
  "up": {
289
335
  "tablet-pt": {
290
- "font-size": 16
336
+ "font-size": 18
291
337
  }
292
338
  }
293
339
  }
@@ -315,7 +361,7 @@
315
361
  {
316
362
  "name": "link",
317
363
  "font-family": "Inter",
318
- "font-size": 12,
364
+ "font-size": 14,
319
365
  "line-height": 1.5,
320
366
  "font-style": "normal",
321
367
  "font-weight": 400,
@@ -327,7 +373,7 @@
327
373
  },
328
374
  "up": {
329
375
  "tablet-pt": {
330
- "font-size": 14
376
+ "font-size": 16
331
377
  }
332
378
  }
333
379
  }
@@ -515,7 +561,7 @@
515
561
  {
516
562
  "name": "button-text",
517
563
  "font-family": "Inter",
518
- "font-size": 12,
564
+ "font-size": 16,
519
565
  "line-height": 1,
520
566
  "font-style": "normal",
521
567
  "font-weight": 400,
@@ -527,7 +573,7 @@
527
573
  },
528
574
  "up": {
529
575
  "tablet-pt": {
530
- "font-size": 14
576
+ "font-size": 18
531
577
  }
532
578
  }
533
579
  }
@@ -981,6 +1027,14 @@
981
1027
  "size": "48pt"
982
1028
  }
983
1029
  }
1030
+ },
1031
+ "3200": {
1032
+ "size": 256,
1033
+ "media": {
1034
+ "print": {
1035
+ "size": "96pt"
1036
+ }
1037
+ }
984
1038
  }
985
1039
  }
986
1040
  },
@@ -6,8 +6,6 @@ $margins: (
6
6
  ('.srl-title-h1', '.srl-table'): 400,
7
7
  ('.srl-title-h1', '.srl-button-container'): 400,
8
8
  ('.srl-title-h1', '.srl-columns'): 400,
9
- ('.srl-title-h1', '.srl-pdf-pagebreak'): 800,
10
- ('.srl-title-h1', '.srl-anchor'): 800,
11
9
  ('.srl-title-h1', '.srl-title-h2'): 800,
12
10
  ('.srl-title-h1', '.srl-image'): 800,
13
11
  ('.srl-title-h1', '.srl-video'): 800,
@@ -0,0 +1,7 @@
1
+ @use "srl";
2
+
3
+ .srl-title-h1 {
4
+ .srl-hero-video & {
5
+ @include srl.typography-title-h1-landing-page();
6
+ }
7
+ }
@@ -5,8 +5,6 @@ $margins: (
5
5
  ('.srl-title-h2', '.srl-title-h3'): 400,
6
6
  ('.srl-title-h2', '.srl-button-container'): 400,
7
7
  ('.srl-title-h2', '.srl-columns'): 400,
8
- ('.srl-title-h2', '.srl-pdf-pagebreak'): 800,
9
- ('.srl-title-h2', '.srl-anchor'): 800,
10
8
  ('.srl-title-h2', '.srl-keyfigure__icon'): 800,
11
9
  ('.srl-title-h2', '.srl-background-container'): 1600,
12
10
  );
@@ -5,6 +5,16 @@
5
5
  .srl-title-h2 {
6
6
  @include srl.typography-title-h2();
7
7
 
8
+ .srl-title-image-quote &,
9
+ .srl-teaser-quote &,
10
+ .srl-teaser & {
11
+ @include srl.typography-title-h2-landing-page();
12
+ }
13
+
14
+ .srl-title-image-quote & {
15
+ color: srl.colors-black-1000();
16
+ }
17
+
8
18
  .srl-pdf-cover & {
9
19
  @include srl.typography-title-h2-pdf();
10
20
  }
@@ -7,7 +7,5 @@ $margins: (
7
7
  ('.srl-cv__header-content .srl-title-h3', '.srl-title-h4'): 100,
8
8
  ('.srl-title-h3', '.srl-button-container'): 400,
9
9
  ('.srl-title-h3', '.srl-columns'): 400,
10
- ('.srl-title-h3', '.srl-pdf-pagebreak'): 800,
11
- ('.srl-title-h3', '.srl-anchor'): 800,
12
10
  ('.srl-title-h3', '.srl-background-container'): 1600,
13
11
  )
@@ -6,7 +6,5 @@ $margins: (
6
6
  ('.srl-title-h4', '.srl-table'): 200,
7
7
  ('.srl-title-h4', '.srl-button-container'): 400,
8
8
  ('.srl-title-h4', '.srl-columns'): 400,
9
- ('.srl-title-h4', '.srl-pdf-pagebreak'): 800,
10
- ('.srl-title-h4', '.srl-anchor'): 800,
11
9
  ('.srl-title-h4', '.srl-background-container'): 1600,
12
10
  )
@@ -5,7 +5,5 @@ $margins: (
5
5
  ('.srl-title-h5', '.srl-title-h6'): 100,
6
6
  ('.srl-title-h5', '.srl-button-container'): 400,
7
7
  ('.srl-title-h5', '.srl-columns'): 400,
8
- ('.srl-title-h5', '.srl-pdf-pagebreak'): 800,
9
- ('.srl-title-h5', '.srl-anchor'): 800,
10
8
  ('.srl-title-h5', '.srl-background-container'): 1600,
11
9
  )
@@ -4,7 +4,5 @@ $margins: (
4
4
  ('.srl-title-h6', '.srl-paragraph-strong'): 0,
5
5
  ('.srl-title-h6', '.srl-button-container'): 400,
6
6
  ('.srl-title-h6', '.srl-columns'): 400,
7
- ('.srl-title-h6', '.srl-pdf-pagebreak'): 800,
8
- ('.srl-title-h6', '.srl-anchor'): 800,
9
7
  ('.srl-title-h6', '.srl-background-container'): 1600,
10
8
  )
@@ -1,5 +1,6 @@
1
1
  $margins: (
2
2
  ('.srl-paragraph', '*'): 200,
3
+ ('.srl-paragraph', '.srl-link__link'): 100,
3
4
  ('.srl-paragraph', '.srl-paragraph'): 200,
4
5
  ('.srl-paragraph', '.srl-paragraph-strong'): 200,
5
6
  ('.srl-paragraph', '.srl-list-group'): 200,
@@ -16,7 +17,5 @@ $margins: (
16
17
  ('.srl-paragraph', '.srl-title-h4'): 400,
17
18
  ('.srl-paragraph', '.srl-title-h5'): 200,
18
19
  ('.srl-paragraph', '.srl-title-h6'): 200,
19
- ('.srl-paragraph', '.srl-pdf-pagebreak'): 800,
20
- ('.srl-paragraph', '.srl-anchor'): 800,
21
20
  ('.srl-paragraph', '.srl-background-container'): 1600,
22
21
  )
@@ -4,6 +4,10 @@
4
4
 
5
5
  .srl-paragraph {
6
6
  @include srl.typography-paragraph();
7
+
8
+ .srl-link & {
9
+ @include srl.typography-link();
10
+ }
7
11
  }
8
12
 
9
13
  @include margins.srl-component-margin(spacing-variations.$margins);
@@ -1,5 +1,13 @@
1
1
  @use 'srl';
2
+ @use "sass:map";
3
+
4
+ $font-weight-bold: map.get(srl.$meta, font, weight, bold);
2
5
 
3
6
  .srl-link {
4
7
  @include srl.typography-link();
5
8
  }
9
+
10
+ .srl-link__link {
11
+ font-weight: $font-weight-bold;
12
+ display: block;
13
+ }
@@ -1,7 +1,6 @@
1
1
  $margins: (
2
2
  ('.srl-quote', '*'): 800,
3
+ ('.srl-title-image-quote .srl-quote', '.srl-button-container'): 400,
3
4
  ('.srl-quote', '.srl-columns'): 400,
4
- ('.srl-quote', '.srl-pdf-pagebreak'): 800,
5
- ('.srl-quote', '.srl-anchor'): 800,
6
5
  ('.srl-quote', '.srl-background-container'): 1600,
7
6
  )
@@ -20,6 +20,10 @@ $quote-close: map.get(srl.$meta, quote, quote-close);
20
20
  .srl-quote__quote {
21
21
  @include srl.typography-quote();
22
22
 
23
+ .srl-teaser-quote.srl-color-white-1000 & {
24
+ color: srl.colors-black-1000()
25
+ }
26
+
23
27
  &:before {
24
28
  content: "#{$quote-open}";
25
29
 
@@ -44,8 +48,16 @@ $quote-close: map.get(srl.$meta, quote, quote-close);
44
48
 
45
49
  .srl-quote__name {
46
50
  @include srl.typography-quote-name();
51
+
52
+ .srl-teaser-quote.srl-color-white-1000 & {
53
+ color: srl.colors-black-1000()
54
+ }
47
55
  }
48
56
 
49
57
  .srl-quote__position {
50
58
  @include srl.typography-quote-position();
59
+
60
+ .srl-teaser-quote.srl-color-white-1000 & {
61
+ color: srl.colors-black-1000()
62
+ }
51
63
  }
@@ -21,3 +21,10 @@
21
21
  }
22
22
 
23
23
 
24
+ .srl-quote__quote {
25
+ .srl-title-image-quote &,
26
+ .srl-teaser-quote & {
27
+ @include srl.typography-title-h2-landing-page();
28
+ }
29
+ }
30
+
@@ -16,7 +16,5 @@ $margins: (
16
16
  ('.srl-footnote', '.srl-title-h4'): 400,
17
17
  ('.srl-footnote', '.srl-title-h5'): 200,
18
18
  ('.srl-footnote', '.srl-title-h6'): 200,
19
- ('.srl-footnote', '.srl-pdf-pagebreak'): 800,
20
- ('.srl-footnote', '.srl-anchor'): 800,
21
19
  ('.srl-footnote', '.srl-background-container'): 1600,
22
20
  )
@@ -3,4 +3,12 @@
3
3
  .srl-footnote:not(.srl-grid),
4
4
  .srl-footnote__item {
5
5
  font-family: 'Arial', sans-serif;
6
+ }
7
+
8
+ .srl-footnote__key,
9
+ .srl-footnote__number {
10
+ &:after {
11
+ content: " ";
12
+ display: block;
13
+ }
6
14
  }
@@ -16,7 +16,5 @@ $margins: (
16
16
  ('.srl-list-group', '.srl-title-h4'): 400,
17
17
  ('.srl-list-group', '.srl-title-h5'): 200,
18
18
  ('.srl-list-group', '.srl-title-h6'): 200,
19
- ('.srl-list-group', '.srl-pdf-pagebreak'): 800,
20
- ('.srl-list-group', '.srl-anchor'): 800,
21
19
  ('.srl-list-group', '.srl-background-container'): 1600,
22
20
  )
@@ -12,8 +12,6 @@ $margins: (
12
12
  ('.srl-table > table', '*'): 200,
13
13
  ('.srl-table-container', '*:empty'): 0,
14
14
  ('.srl-table > table', '*:empty'): 0,
15
- ('.srl-table', '.srl-pdf-pagebreak'): 800,
16
- ('.srl-table', '.srl-anchor'): 800,
17
15
  ('.srl-table', '.srl-quote'): 800,
18
16
  ('.srl-table', '.srl-background-container'): 1600,
19
17
  )
@@ -1,7 +1,5 @@
1
1
  $margins: (
2
2
  ('.srl-image', '*'): 800,
3
3
  ('.srl-image', '.srl-columns'): 400,
4
- ('.srl-image', '.srl-pdf-pagebreak'): 800,
5
- ('.srl-image', '.srl-anchor'): 800,
6
4
  ('.srl-image', '.srl-background-container'): 1600,
7
5
  )
@@ -1,15 +1,29 @@
1
1
  @use "srl";
2
2
 
3
3
  .srl-image__image-container--desktop {
4
+ display: block;
5
+ }
6
+
7
+ .srl-image__image-container--mobile {
4
8
  display: none;
9
+ }
5
10
 
6
- @include srl.grid-media-up(tablet-pt) {
11
+ .srl-image:has(.srl-image__image-container--mobile) {
12
+ .srl-image__image-container--desktop {
13
+ display: none;
14
+ }
15
+
16
+ .srl-image__image-container--mobile {
7
17
  display: block;
8
18
  }
9
- }
10
19
 
11
- .srl-image__image-container--mobile {
12
- @include srl.grid-media-up(tablet-pt) {
13
- display: none;
20
+ @include srl.grid-media-up(tablet-ls) {
21
+ .srl-image__image-container--desktop {
22
+ display: block;
23
+ }
24
+
25
+ .srl-image__image-container--mobile {
26
+ display: none;
27
+ }
14
28
  }
15
29
  }
@@ -1,17 +1,12 @@
1
1
  {
2
2
  "name": "video",
3
3
  "label": "Video",
4
- "properties": ["width-all", "pdf-spacer"],
4
+ "properties": ["showVideoLink", "width-all", "pdf-spacer"],
5
5
  "directives": {
6
6
  "video-thumbnail": {
7
7
  "imageRatios": ["16:9"],
8
8
  "allowOriginalRatio": false
9
9
  },
10
- "showVideoLink": {
11
- "type": "toggle",
12
- "label": "Enable video link for PDF",
13
- "default": false
14
- },
15
10
  "link": {
16
11
  "plainText": true
17
12
  },
@@ -0,0 +1,7 @@
1
+ {
2
+ "showVideoLink": {
3
+ "type": "option",
4
+ "label": "Enable video link for PDF",
5
+ "value": "srl-video-show-pdf-link"
6
+ }
7
+ }
@@ -1,7 +1,5 @@
1
1
  $margins: (
2
2
  ('.srl-video', '*'): 800,
3
3
  ('.srl-video', '.srl-columns'): 400,
4
- ('.srl-video', '.srl-pdf-pagebreak'): 800,
5
- ('.srl-video', '.srl-anchor'): 800,
6
4
  ('.srl-video', '.srl-background-container'): 1600,
7
5
  )
@@ -3,4 +3,14 @@
3
3
  .srl-video__thumbnail {
4
4
  max-width: 192px;
5
5
  max-height: 108px;
6
+ }
7
+
8
+ .srl-video__video-link-container {
9
+ display: none;
10
+ }
11
+
12
+ .srl-video.srl-video-show-pdf-link {
13
+ .srl-video__video-link-container {
14
+ display: grid;
15
+ }
6
16
  }
@@ -1,4 +1,5 @@
1
1
  @use 'srl';
2
+ @use "srl/fa";
2
3
  @use "@/assets/scss/margins";
3
4
  @use "spacing-variations";
4
5
 
@@ -24,7 +25,6 @@
24
25
 
25
26
  .srl-video__video-link-container {
26
27
  @include srl.spacer-margin-top(100);
27
- @extend %srl-regular-width;
28
28
  }
29
29
 
30
30
  .srl-video__video-link {
@@ -35,6 +35,11 @@
35
35
  @include srl.typography-video-link();
36
36
  }
37
37
 
38
+ .srl-video__video-link-icon {
39
+ @extend %srl-icon-base;
40
+ @include fa.icon(play);
41
+ }
42
+
38
43
  .srl-video__video-link-text {
39
44
  padding-left: srl.spacer-get(100);
40
45
  }
@@ -4,6 +4,14 @@
4
4
  $page-margin-right: srl.system-size-unit(map.get(srl.$meta, pdf, margin, right));
5
5
  $page-margin-left: srl.system-size-unit(map.get(srl.$meta, pdf, margin, left));
6
6
 
7
+ .srl-video {
8
+ display: none;
9
+ }
10
+
11
+ .srl-video.srl-video-show-pdf-link {
12
+ display: block;
13
+ }
14
+
7
15
  .srl-grid--media {
8
16
  .srl-full-width & {
9
17
  max-width: 210mm;
@@ -1,46 +1,43 @@
1
- <div class="srl-video" data-remove-from-word="complete">
1
+ <div
2
+ class="srl-video"
3
+ data-remove-from-word="complete"
4
+ data-remove-from-xhtml="complete"
5
+ >
2
6
  <div class="srl-grid srl-grid--media">
3
7
  <div class="srl-grid__inner srl-video__inner">
4
- <srl-ld-video data-remove-from-xhtml="transient" data-remove-from-pdf="transient">
5
- <div class="srl-video__video-container" doc-html="free-html" data-remove-from-pdf="complete"></div>
6
- <img class="srl-video__thumbnail" doc-image="video-thumbnail"></img>
7
- <div class="srl-video__play" data-remove-from-pdf="complete">
8
+ <srl-ld-video
9
+ data-remove-from-pdf="transient">
10
+ <div
11
+ class="srl-video__video-container"
12
+ doc-html="free-html"
13
+ data-remove-from-pdf="complete">
14
+ </div>
15
+ <img class="srl-video__thumbnail"
16
+ doc-image="video-thumbnail"
17
+ />
18
+ <div
19
+ class="srl-video__play"
20
+ data-remove-from-pdf="complete"
21
+ >
8
22
  <button class="srl-button srl-has-icon" type="button">
9
- <svg class="svg svg-play" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
10
- <path d="M5 3L19 12L5 21V3Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
11
- </svg>
23
+ <i class="srl-video__video-link-icon"></i>
12
24
  <span doc-editable="text">Video abspielen</span>
13
25
  </button>
14
26
  </div>
15
27
  </srl-ld-video>
16
28
  </div>
17
29
  </div>
18
- <div class="srl-grid">
19
- <div
20
- class="srl-video__video-link-container"
21
- data-remove-from-web="complete"
22
- doc-toggle="showVideoLink"
23
- >
30
+ <div
31
+ class="srl-grid srl-video__video-link-container"
32
+ data-remove-from-web="complete"
33
+ >
34
+ <div class="srl-grid__inner">
24
35
  <a class="srl-video__video-link" doc-link="href" target="_blank">
25
- <span class="srl-video__video-link-icon">
26
- <svg
27
- class="svg svg-play"
28
- viewBox="0 0 14 18"
29
- fill="none"
30
- xmlns="http://www.w3.org/2000/svg"
31
- >
32
- <path
33
- d="M0.5 17C0.5 17.1844 0.601492 17.3538 0.764071 17.4408C0.92665 17.5278 1.12392 17.5183 1.27735 17.416L13.2774 9.41603C13.4164 9.32329 13.5 9.16718 13.5 9C13.5 8.83282 13.4164 8.67671 13.2774 8.58397L1.27735 0.583975C1.12392 0.481689 0.92665 0.472153 0.764071 0.559163C0.601492 0.646172 0.5 0.815602 0.5 1V17Z"
34
- stroke="currentColor"
35
- stroke-linecap="round"
36
- stroke-linejoin="round"
37
- />
38
- </svg>
39
- </span>
36
+ <i class="srl-video__video-link-icon"></i>
40
37
  <span class="srl-video__video-link-text" doc-editable="link">
41
38
  Link to the video in your report
42
39
  </span>
43
40
  </a>
44
41
  </div>
45
42
  </div>
46
- </div>
43
+ </div>