@simple-reporting/base 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/dev/package.json +1 -1
  2. package/dev/src/assets/scss/app.scss +0 -13
  3. package/dev/src/assets/scss/editor.scss +17 -4
  4. package/dev/src/assets/scss/pdf.scss +7 -28
  5. package/dev/srl.config.json +247 -50
  6. package/livingdocs/010.Titles/050.title-h5/ld-conf.json +5 -1
  7. package/livingdocs/010.Titles/060.title-h6/ld-conf.json +4 -1
  8. package/livingdocs/020.Text/030.paragraph-strong/paragraph-strong.html +8 -0
  9. package/livingdocs/020.Text/060.quote-with-portrait/scss/general.scss +29 -0
  10. package/livingdocs/020.Text/060.quote-with-portrait/scss/pdf.scss +10 -2
  11. package/livingdocs/020.Text/080.footnote-item/scss/general.scss +0 -12
  12. package/livingdocs/020.Text/080.footnote-item/scss/pdf.scss +14 -0
  13. package/livingdocs/020.Text/080.footnote-item/scss/web.scss +14 -0
  14. package/livingdocs/030.Lists/010.unordered-list/ld-conf.json +6 -2
  15. package/livingdocs/030.Lists/040.list-item/scss/general.scss +1 -7
  16. package/livingdocs/030.Lists/040.list-item/scss/pdf.scss +14 -0
  17. package/livingdocs/030.Lists/040.list-item/scss/web.scss +14 -0
  18. package/livingdocs/040.Media/010.table/scss/general.scss +8 -8
  19. package/livingdocs/040.Media/010.table/scss/pdf.scss +27 -0
  20. package/livingdocs/040.Media/020.image/image.html +3 -8
  21. package/livingdocs/040.Media/020.image/scss/editor.scss +8 -1
  22. package/livingdocs/040.Media/020.image/scss/general.scss +4 -1
  23. package/livingdocs/040.Media/020.image/scss/pdf.scss +4 -0
  24. package/livingdocs/040.Media/020.image/scss/web.scss +19 -0
  25. package/livingdocs/040.Media/030.video/scss/editor.scss +6 -1
  26. package/livingdocs/040.Media/030.video/scss/general.scss +14 -2
  27. package/livingdocs/040.Media/030.video/scss/pdf.scss +31 -0
  28. package/livingdocs/040.Media/030.video/scss/web.scss +84 -1
  29. package/livingdocs/040.Media/030.video/video.html +14 -28
  30. package/livingdocs/090.Signatures/010.signature-container/scss/pdf.scss +7 -0
  31. package/livingdocs/090.Signatures/020.signature-item/ld-conf.json +6 -0
  32. package/livingdocs/090.Signatures/020.signature-item/scss/pdf.scss +5 -0
  33. package/livingdocs/100.Misc/010.anchor/anchor.html +5 -2
  34. package/livingdocs/100.Misc/010.anchor/ld-conf.json +6 -1
  35. package/livingdocs/100.Misc/010.anchor/scss/editor.scss +19 -0
  36. package/livingdocs/100.Misc/010.anchor/scss/general.scss +5 -0
  37. package/livingdocs/100.Misc/010.anchor/scss/pdf.scss +2 -0
  38. package/livingdocs/100.Misc/010.anchor/scss/web.scss +1 -0
  39. package/livingdocs/100.Misc/010.anchor/scss/word.scss +0 -0
  40. package/livingdocs/100.Misc/010.anchor/scss/xbrl.scss +0 -0
  41. package/livingdocs/110.PDF/010.pdf-pagebreak/pdf-pagebreak.html +5 -1
  42. package/livingdocs/110.PDF/010.pdf-pagebreak/scss/editor.scss +20 -0
  43. package/livingdocs/110.PDF/010.pdf-pagebreak/scss/general.scss +5 -0
  44. package/livingdocs/110.PDF/010.pdf-pagebreak/scss/pdf.scss +6 -0
  45. package/livingdocs/110.PDF/010.pdf-pagebreak/scss/web.scss +1 -0
  46. package/livingdocs/110.PDF/010.pdf-pagebreak/scss/word.scss +0 -0
  47. package/livingdocs/110.PDF/010.pdf-pagebreak/scss/xbrl.scss +1 -0
  48. package/livingdocs/110.PDF/030.pdf-publication-title/pdf-publication-title.html +6 -2
  49. package/livingdocs/110.PDF/030.pdf-publication-title/scss/editor.scss +18 -0
  50. package/livingdocs/110.PDF/030.pdf-publication-title/scss/general.scss +5 -0
  51. package/livingdocs/110.PDF/030.pdf-publication-title/scss/pdf.scss +6 -0
  52. package/livingdocs/110.PDF/030.pdf-publication-title/scss/web.scss +1 -0
  53. package/livingdocs/110.PDF/030.pdf-publication-title/scss/word.scss +0 -0
  54. package/livingdocs/110.PDF/030.pdf-publication-title/scss/xbrl.scss +1 -0
  55. package/livingdocs/110.PDF/040.pdf-chapter-title/pdf-chapter-title.html +6 -2
  56. package/livingdocs/110.PDF/040.pdf-chapter-title/scss/editor.scss +18 -0
  57. package/livingdocs/110.PDF/040.pdf-chapter-title/scss/general.scss +5 -0
  58. package/livingdocs/110.PDF/040.pdf-chapter-title/scss/pdf.scss +6 -0
  59. package/livingdocs/110.PDF/040.pdf-chapter-title/scss/web.scss +1 -0
  60. package/livingdocs/110.PDF/040.pdf-chapter-title/scss/word.scss +0 -0
  61. package/livingdocs/110.PDF/040.pdf-chapter-title/scss/xbrl.scss +1 -0
  62. package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/editor.scss +1 -0
  63. package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/general.scss +1 -0
  64. package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/pdf.scss +15 -0
  65. package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/web.scss +1 -0
  66. package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/word.scss +0 -0
  67. package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/xbrl.scss +1 -0
  68. package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/ld-conf.json +1 -1
  69. package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/editor.scss +1 -0
  70. package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/general.scss +1 -0
  71. package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/pdf.scss +15 -0
  72. package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/web.scss +1 -0
  73. package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/word.scss +0 -0
  74. package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/xbrl.scss +1 -0
  75. package/livingdocs/110.PDF/080.pdf-toc-page/ld-conf.json +9 -3
  76. package/package.json +1 -1
  77. package/scripts/config.js +0 -4
  78. package/srl/composables/root.ts +3 -1
  79. package/srl/scss/grid/functions.scss +11 -1
  80. package/srl/scss/spacer/mixins.scss +3 -3
  81. package/srl/scss/typography/mixins.scss +9 -2
  82. package/livingdocs/020.Text/030.paragraph-strong/paragraph.html +0 -16
  83. package/livingdocs/110.PDF/110.pdf-toc-item-blank/ld-conf.json +0 -5
  84. package/livingdocs/110.PDF/110.pdf-toc-item-blank/pdf-toc-item-blank.html +0 -4
@@ -0,0 +1,8 @@
1
+ <p class="srl-grid srl-paragraph-strong srl-linkable">
2
+ <span
3
+ class="srl-grid__inner srl-paragraph-strong__text"
4
+ doc-editable="transformable-text"
5
+ >
6
+ Lorem ipsum dolor sit amet?
7
+ </span>
8
+ </p>
@@ -1,11 +1,40 @@
1
1
  @use 'srl';
2
+ @use "sass:map";
3
+ @use "assets/scss/margins";
4
+ @use "spacing-variations";
5
+
6
+ $quote-open: map.get(srl.$meta, quote, quote-open);
7
+ $quote-close: map.get(srl.$meta, quote, quote-close);
8
+
2
9
 
3
10
  .srl-quote {
11
+ align-items: center;
4
12
  @include srl.spacer-margin-top(400);
5
13
  }
6
14
 
7
15
  .srl-quote__quote {
8
16
  @include srl.typography-quote();
17
+
18
+ &:before {
19
+ content: "#{$quote-open}";
20
+
21
+ .srl-hide-quote-characters & {
22
+ content: "";
23
+ }
24
+ }
25
+
26
+ &:after {
27
+ content: "#{$quote-close}";
28
+
29
+ .srl-hide-quote-characters & {
30
+ content: "";
31
+ }
32
+ }
33
+ }
34
+
35
+ .srl-quote__cite {
36
+ display: block;
37
+ @include srl.spacer-margin-top(200);
9
38
  }
10
39
 
11
40
  .srl-quote__name {
@@ -1,4 +1,10 @@
1
1
  @use 'srl';
2
+ @use "assets/scss/margins";
3
+ @use "spacing-variations";
4
+
5
+ .srl-quote--with-image {
6
+ flex-direction: row;
7
+ }
2
8
 
3
9
  .srl-quote--with-image.srl-wide-width {
4
10
  justify-content: space-between;
@@ -6,11 +12,13 @@
6
12
 
7
13
  .srl-quote__figure {
8
14
  .srl-quote--with-image & {
15
+ margin-left: srl.grid-calculate-pdf-col-start(3);
9
16
  margin-right: srl.grid-get-gutter-column-gap();
10
- @include srl.grid-pdf-flex-col(2);
17
+ width: srl.grid-calculate-pdf-col-span-minus-one-gutter(2);
11
18
  }
12
19
 
13
20
  .srl-quote--with-image.srl-wide-width & {
21
+ margin-left: 0;
14
22
  margin-right: 0;
15
23
  @include srl.grid-pdf-flex-col(2);
16
24
  }
@@ -18,7 +26,7 @@
18
26
 
19
27
  .srl-quote__text {
20
28
  .srl-quote--with-image & {
21
- @include srl.grid-pdf-flex-col(4);
29
+ width: srl.grid-calculate-pdf-col-span-minus-one-gutter(4);
22
30
  }
23
31
 
24
32
  .srl-quote--with-image.srl-wide-width & {
@@ -1,8 +1,6 @@
1
1
  @use 'srl';
2
2
  @use "sass:map";
3
3
 
4
- $number-width: srl.system-size-unit(map.get(srl.$meta, footnote, number-width));
5
-
6
4
  .srl-footnote:not(.srl-grid),
7
5
  .srl-footnote__item {
8
6
  display: flex;
@@ -10,19 +8,9 @@ $number-width: srl.system-size-unit(map.get(srl.$meta, footnote, number-width));
10
8
  @include srl.typography-footnote-text();
11
9
  }
12
10
 
13
- .srl-footnote__key,
14
- .srl-footnote__number {
15
- width: $number-width;
16
- }
17
-
18
11
  .srl-footnote__key {
19
12
  font-size: 60%;
20
13
  font-variant-numeric: tabular-nums;
21
14
  line-height: 1; // prevents normal text from getting too much height
22
15
  vertical-align: super;
23
16
  }
24
-
25
- .srl-footnote__text,
26
- .srl-footnote__text {
27
- width: calc(100% - #{$number-width});
28
- }
@@ -0,0 +1,14 @@
1
+ @use 'srl';
2
+ @use 'sass:map';
3
+
4
+ $number-width: srl.system-size-unit(map.get(srl.$meta, footnote, number-width-pdf));
5
+
6
+ .srl-footnote__key,
7
+ .srl-footnote__number {
8
+ width: $number-width;
9
+ }
10
+
11
+ .srl-footnote__text,
12
+ .srl-footnote__text {
13
+ width: calc(100% - #{$number-width});
14
+ }
@@ -0,0 +1,14 @@
1
+ @use 'srl';
2
+ @use 'sass:map';
3
+
4
+ $number-width: srl.system-size-unit(map.get(srl.$meta, footnote, number-width));
5
+
6
+ .srl-footnote__key,
7
+ .srl-footnote__number {
8
+ width: $number-width;
9
+ }
10
+
11
+ .srl-footnote__text,
12
+ .srl-footnote__text {
13
+ width: calc(100% - #{$number-width});
14
+ }
@@ -1,10 +1,14 @@
1
1
  {
2
2
  "name": "unordered-list",
3
3
  "label": "List (unordered)",
4
- "properties": ["pdf-spacer"],
4
+ "properties": [
5
+ "pdf-spacer"
6
+ ],
5
7
  "directives": {
6
8
  "list": {
7
- "allowedChildren": ["list-item"],
9
+ "allowedChildren": [
10
+ "list-item"
11
+ ],
8
12
  "defaultComponents": {
9
13
  "paragraph": "list-item"
10
14
  },
@@ -2,7 +2,7 @@
2
2
  @use "sass:map";
3
3
 
4
4
  $marker-width: srl.system-size-unit(map.get(srl.$meta, list, marker-width));
5
- $unordered-marker: "-";
5
+ $unordered-marker: "";
6
6
  $ordered-marker-after: ".";
7
7
  $alphanumeric-marker-after: ")";
8
8
 
@@ -11,8 +11,6 @@ $alphanumeric-marker-after: ")";
11
11
  @include srl.typography-list();
12
12
 
13
13
  &:before {
14
- width: $marker-width;
15
-
16
14
  .srl-list-group--ul & {
17
15
  content: "#{$unordered-marker}";
18
16
  }
@@ -28,8 +26,4 @@ $alphanumeric-marker-after: ")";
28
26
  content: counter(alphanumeric-list, lower-alpha) $alphanumeric-marker-after;
29
27
  }
30
28
  }
31
- }
32
-
33
- .srl-list-group__item-text {
34
- width: calc(100% - #{$marker-width});
35
29
  }
@@ -0,0 +1,14 @@
1
+ @use 'srl';
2
+ @use "sass:map";
3
+
4
+ $marker-width: srl.system-size-unit(map.get(srl.$meta, list, marker-width-pdf));
5
+
6
+ .srl-list-group__item {
7
+ &:before {
8
+ width: $marker-width;
9
+ }
10
+ }
11
+
12
+ .srl-list-group__item-text {
13
+ width: calc(100% - #{$marker-width});
14
+ }
@@ -0,0 +1,14 @@
1
+ @use 'srl';
2
+ @use "sass:map";
3
+
4
+ $marker-width: srl.system-size-unit(map.get(srl.$meta, list, marker-width));
5
+
6
+ .srl-list-group__item {
7
+ &:before {
8
+ width: $marker-width;
9
+ }
10
+ }
11
+
12
+ .srl-list-group__item-text {
13
+ width: calc(100% - #{$marker-width});
14
+ }
@@ -3,6 +3,7 @@
3
3
 
4
4
  $table-border-regular: map.get(srl.$meta, table, border, regular);
5
5
  $table-border-bold: map.get(srl.$meta, table, border, bold);
6
+
6
7
  @include srl.system-add-root-style(srl-table-border-regular-width, srl.system-size-unit(map.get($table-border-regular, width)));
7
8
  @include srl.system-add-root-style(srl-table-border-regular-width, srl.system-size-unit(map.get($table-border-regular, media, print, width)), print);
8
9
  @include srl.system-add-root-style(srl-table-border-bold-width, srl.system-size-unit(map.get($table-border-bold, width)));
@@ -71,12 +72,6 @@ td {
71
72
  /*
72
73
  Paddings
73
74
  */
74
- &[class*="nolinetop"],
75
- &[class*="nolinebottom"],
76
- &[class*="nolineleft"],
77
- &[class*="nolineright"] {
78
- padding: 0;
79
- }
80
75
 
81
76
  /*
82
77
  Borders
@@ -198,13 +193,13 @@ td {
198
193
  /*
199
194
  Indents
200
195
  */
201
- &[class*="_ind"] {
196
+ &[class*="ind"] {
202
197
  &:first-child {
203
198
  padding-left: srl.spacer-get(200);
204
199
  }
205
200
  }
206
201
 
207
- &[class*="_ind_ind"] {
202
+ &[class*="ind_ind"] {
208
203
  &:first-child {
209
204
  padding-left: srl.spacer-get(300);
210
205
  }
@@ -325,4 +320,9 @@ td {
325
320
  }
326
321
  }
327
322
  }
323
+ }
324
+
325
+ .note-link {
326
+ color: srl.colors-primary-1000();
327
+ text-decoration: none;
328
328
  }
@@ -1,8 +1,35 @@
1
1
  @use 'srl';
2
2
  @use 'sass:map';
3
3
 
4
+ .srl-table__container > div {
5
+ display: flex;
6
+ flex-direction: column;
7
+ align-items: flex-end;
8
+ }
9
+
10
+ .srl-table-container {
11
+ @include srl.grid-pdf-flex-col(6);
12
+
13
+ .srl-wide-width & {
14
+ @include srl.grid-pdf-flex-col(8);
15
+ }
16
+ }
17
+
18
+ tr {
19
+ &[class*="pagebreak"] {
20
+ break-after: always;
21
+ }
22
+ }
23
+
4
24
  th,
5
25
  td {
26
+ padding: (
27
+ srl.spacer-get(map.get(srl.$meta, table, padding, regular-pdf, top))
28
+ srl.spacer-get(map.get(srl.$meta, table, padding, regular-pdf, right))
29
+ srl.spacer-get(map.get(srl.$meta, table, padding, regular-pdf, bottom))
30
+ srl.spacer-get(map.get(srl.$meta, table, padding, regular-pdf, left))
31
+ );
32
+
6
33
  /*
7
34
  PDF only Font Sizes
8
35
  */
@@ -1,14 +1,9 @@
1
1
  <figure class="srl-image">
2
- <div
3
- class="srl-grid srl-image__alt-text"
4
- doc-toggle="show-alt-text"
5
- >
6
- <span class="srl-grid__inner" doc-editable="alt-tag"
2
+ <div class="srl-grid srl-grid--media">
3
+ <div class="srl-image__alt-text" doc-editable="alt-tag" doc-toggle="show-alt-text"
7
4
  data-alt-text-source="alt">
8
5
  Write the alt text here (optional, but recommended)
9
- </span>
10
- </div>
11
- <div class="srl-grid srl-grid--media">
6
+ </div>
12
7
  <div
13
8
  class="srl-grid__inner srl-image__image-container srl-image__image-container--desktop"
14
9
  >
@@ -1 +1,8 @@
1
- @use "web";
1
+ @use "srl";
2
+ @use "web";
3
+ @use "assets/scss/placeholders";
4
+
5
+ .srl-image__alt-text{
6
+ @include srl.typography-caption();
7
+ @extend %srl-regular-width;
8
+ }
@@ -11,7 +11,10 @@
11
11
  }
12
12
  }
13
13
 
14
+ .srl-image__caption {
15
+ @include srl.spacer-margin-top(100);
16
+ }
17
+
14
18
  .srl-image__caption-text {
15
19
  @include srl.typography-caption();
16
- @extend %srl-regular-width;
17
20
  }
@@ -23,4 +23,8 @@ $page-margin-left: srl.system-size-unit(map.get(srl.$meta, pdf, margin, left));
23
23
  width: 210mm;
24
24
  min-width: 210mm;
25
25
  }
26
+ }
27
+
28
+ .srl-image__caption-text {
29
+ @include srl.grid-pdf-flex-col(6);
26
30
  }
@@ -1 +1,20 @@
1
1
  @use "srl";
2
+ @use "assets/scss/placeholders";
3
+
4
+ .srl-image__caption-text {
5
+ @extend %srl-regular-width;
6
+ }
7
+
8
+ .srl-image__image-container--desktop {
9
+ display: none;
10
+
11
+ @include srl.grid-media-up(tablet-pt) {
12
+ display: block;
13
+ }
14
+ }
15
+
16
+ .srl-image__image-container--mobile {
17
+ @include srl.grid-media-up(tablet-pt) {
18
+ display: none;
19
+ }
20
+ }
@@ -1 +1,6 @@
1
- @use "web";
1
+ @use "web";
2
+
3
+ .srl-video__thumbnail {
4
+ max-width: 192px;
5
+ max-height: 108px;
6
+ }
@@ -1,5 +1,17 @@
1
1
  @use 'srl';
2
2
 
3
- .srl-video {
4
- @include srl.spacer-margin-top(400);
3
+ .srl-video__video-link-container {
4
+ @include srl.spacer-margin-top(100);
5
5
  }
6
+
7
+ .srl-video__video-link {
8
+ display: flex;
9
+ flex-direction: row;
10
+ align-items: center;
11
+ text-decoration: none;
12
+ @include srl.typography-video-link();
13
+ }
14
+
15
+ .srl-video__video-link-text {
16
+ padding-left: srl.spacer-get(100);
17
+ }
@@ -0,0 +1,31 @@
1
+ @use 'srl';
2
+ @use 'sass:map';
3
+
4
+ $page-margin-right: srl.system-size-unit(map.get(srl.$meta, pdf, margin, right));
5
+ $page-margin-left: srl.system-size-unit(map.get(srl.$meta, pdf, margin, left));
6
+
7
+ .srl-grid--media {
8
+ .srl-full-width & {
9
+ max-width: 210mm;
10
+ margin-left: calc(#{$page-margin-left} * -1);
11
+ margin-right: calc(#{$page-margin-right} * -1);
12
+ }
13
+ }
14
+
15
+ .srl-video__thumbnail {
16
+ @include srl.grid-pdf-flex-col(6);
17
+
18
+ .srl-wide-width & {
19
+ @include srl.grid-pdf-flex-col(8);
20
+ }
21
+
22
+ .srl-full-width & {
23
+ width: 210mm;
24
+ min-width: 210mm;
25
+ }
26
+ }
27
+
28
+ .srl-video__video-link-container {
29
+ @include srl.grid-pdf-flex-col(6);
30
+ }
31
+
@@ -7,6 +7,89 @@
7
7
  }
8
8
  }
9
9
 
10
- .srl-image__caption-text {
10
+ .srl-video__inner {
11
+ position: relative;
12
+ }
13
+
14
+ .srl-video__video-container {
15
+ position: relative;
16
+ height: 0;
17
+ padding-bottom: 56.25%;
18
+
19
+ iframe {
20
+ position: absolute;
21
+ top: 0;
22
+ left: 0;
23
+ width: 100%;
24
+ height: 100%;
25
+ }
26
+ }
27
+
28
+ .srl-video__thumbnail {
29
+ position: absolute;
30
+ top: 0;
31
+ left: 0;
32
+ bottom: 0;
33
+ }
34
+
35
+ .srl-video__play {
36
+ position: absolute;
37
+ top: 50%;
38
+ left: 50%;
39
+ transform: translate(-50%, -50%);
40
+ z-index: 5;
41
+ }
42
+
43
+ .srl-video__play-button {
44
+ width: 48px;
45
+ height: 48px;
46
+ background-color: srl.colors-white-1000();
47
+ cursor: pointer;
48
+ padding: 0;
49
+ border-radius: 50%;
50
+ transition: background-color 0.3s ease;
51
+ -webkit-appearance: none;
52
+ border: 1px solid srl.colors-green-1000();
53
+ color: srl.colors-green-1000();
54
+
55
+ @media (prefers-reduced-motion: reduce) {
56
+ transition-duration: 0s;
57
+ }
58
+
59
+ &:hover {
60
+ background-color: srl.colors-green-1000();
61
+ border-color: srl.colors-green-1000();
62
+ color: srl.colors-white-1000();
63
+ }
64
+
65
+ &:focus {
66
+ background-color: srl.colors-umbra-1000();
67
+ border-color: srl.colors-umbra-1000();
68
+ color: srl.colors-white-1000();
69
+ }
70
+ }
71
+
72
+ .srl-video__play-button-inner {
73
+ display: flex;
74
+ align-items: center;
75
+ justify-content: center;
76
+ height: 100%;
77
+ }
78
+
79
+ .svg-play {
80
+ line-height: 0;
81
+ display: block;
82
+ width: 24px;
83
+ height: 24px;
84
+ margin-right: -2px;
85
+
86
+ .srl-video__video-link-container & {
87
+ width: 15px;
88
+ height: 15px;
89
+ margin-right: 0;
90
+ }
91
+ }
92
+
93
+ .srl-video__video-link-container {
11
94
  @extend %srl-regular-width;
12
95
  }
@@ -1,43 +1,26 @@
1
- <div class="srl-video">
2
- <div class="srl-grid srl-video__inner">
3
- <div class="srl-video__thumbnail-container">
4
- <div class="srl-video__thumbnail" doc-image="background"></div>
1
+ <div class="srl-video" data-autoload="video">
2
+ <div class="srl-grid srl-grid--media">
3
+ <div class="srl-grid__inner srl-video__inner">
4
+ <div class="srl-video__video-container" doc-html="free-html" data-remove-from-pdf="complete"></div>
5
+ <img class="srl-video__thumbnail" doc-image="video-thumbnail"></img>
5
6
  <div class="srl-video__play" data-remove-from-pdf="complete">
6
- <button class="srl-button srl-button--round" type="button">
7
- <div class="srl-button__inner">
8
- <svg
9
- class="svg svg-play"
10
- viewBox="0 0 14 18"
11
- fill="none"
12
- xmlns="http://www.w3.org/2000/svg"
13
- >
14
- <path
15
- d="M1.27735 0.583975C1.12392 0.481689 0.92665 0.472153 0.764071 0.559163C0.601492 0.646172 0.5 0.815602 0.5 1V17C0.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.583975Z"
16
- stroke="currentColor"
17
- stroke-linecap="round"
18
- stroke-linejoin="round"
19
- />
7
+ <button class="srl-video__play-button" type="button">
8
+ <div class="srl-video__play-button-inner">
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"/>
20
11
  </svg>
21
12
  </div>
22
13
  </button>
23
14
  </div>
24
15
  </div>
25
- <div
26
- doc-html="free-html"
27
- class="srl-video__video-container"
28
- data-remove-from-pdf="complete"
29
- >
30
- <div class="iframe-placeholder"></div>
31
- </div>
16
+ </div>
17
+ <div class="srl-grid">
32
18
  <div
33
19
  class="srl-video__video-link-container"
34
20
  data-remove-from-web="complete"
35
21
  doc-toggle="showVideoLink"
36
22
  >
37
23
  <a class="srl-video__video-link" doc-link="href" target="_blank">
38
- <span class="srl-video__video-link-text" doc-editable="link">
39
- Link to the video in your report
40
- </span>
41
24
  <span class="srl-video__video-link-icon">
42
25
  <svg
43
26
  class="svg svg-play"
@@ -53,6 +36,9 @@
53
36
  />
54
37
  </svg>
55
38
  </span>
39
+ <span class="srl-video__video-link-text" doc-editable="link">
40
+ Link to the video in your report
41
+ </span>
56
42
  </a>
57
43
  </div>
58
44
  </div>
@@ -0,0 +1,7 @@
1
+ @use 'srl';
2
+ @use 'sass:map';
3
+
4
+ .srl-signature__content {
5
+ display: flex;
6
+ column-gap: srl.grid-get-gutter-column-gap();
7
+ }
@@ -3,6 +3,12 @@
3
3
  "label": "Signature item",
4
4
  "allowedParents": ["signature-container"],
5
5
  "directives": {
6
+ "signature-item-name": {
7
+ "plainText": true
8
+ },
9
+ "signature-item-position": {
10
+ "plainText": true
11
+ },
6
12
  "image": {
7
13
  "imageRatios": ["1:1", "4:3", "16:9"],
8
14
  "allowOriginalRatio": true
@@ -0,0 +1,5 @@
1
+ @use 'srl';
2
+
3
+ .srl-signature__item {
4
+ max-width: calc(50% - (#{srl.grid-get-gutter-column-gap()} / 2));
5
+ }
@@ -1,5 +1,8 @@
1
- <p class="srl-grid srl-anchor" data-is-anchor="true">
2
- <span class="srl-grid__inner srl-anchor__text" doc-editable="anchor-text">
1
+ <p class="srl-anchor" data-is-anchor="true">
2
+ <span class="srl-anchor__editor-text" data-remove-from-pdf="complete">
3
+ Anchor:
4
+ </span>
5
+ <span class="srl-anchor__text" doc-editable="anchor-text">
3
6
  Must start with a letter (A–Z or a–z); a number is not allowed. After the
4
7
  first letter, any combination of letters (a–z, A–Z), digits (0–9), hyphens
5
8
  (-), underscores (_), colons (:), and periods (.) is allowed. The ID must be
@@ -1,4 +1,9 @@
1
1
  {
2
2
  "name": "anchor",
3
- "label": "Anchor"
3
+ "label": "Anchor",
4
+ "directives": {
5
+ "anchor-text": {
6
+ "plainText": true
7
+ }
8
+ }
4
9
  }
@@ -0,0 +1,19 @@
1
+ @use 'srl';
2
+ @use 'web';
3
+ @use 'assets/scss/placeholders';
4
+
5
+ .srl-anchor {
6
+ border-top: 1px solid #{srl.colors-burgundy-1000()};
7
+ border-bottom: 1px solid #{srl.colors-burgundy-1000()};
8
+ @include srl.spacer-padding-block(200);
9
+ @extend %srl-grid-base;
10
+ }
11
+
12
+ .srl-anchor__editor-text {
13
+ @extend %srl-regular-width;
14
+ }
15
+
16
+ .srl-anchor__text {
17
+ @extend %srl-regular-width;
18
+ @include srl.typography-pdf-header()
19
+ }
@@ -0,0 +1,5 @@
1
+ @use 'srl';
2
+
3
+ .srl-anchor__editor-text {
4
+ @include srl.typography-editor-label-text()
5
+ }
@@ -0,0 +1,2 @@
1
+ @use 'srl';
2
+ @use 'sass:map';