@simple-reporting/base 1.0.2 → 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.
- package/dev/package.json +1 -1
- package/dev/src/assets/scss/app.scss +0 -13
- package/dev/src/assets/scss/editor.scss +17 -4
- package/dev/src/assets/scss/pdf.scss +7 -28
- package/dev/srl.config.json +247 -50
- package/livingdocs/010.Titles/050.title-h5/ld-conf.json +5 -1
- package/livingdocs/010.Titles/060.title-h6/ld-conf.json +4 -1
- package/livingdocs/020.Text/030.paragraph-strong/paragraph-strong.html +8 -0
- package/livingdocs/020.Text/060.quote-with-portrait/scss/general.scss +29 -0
- package/livingdocs/020.Text/060.quote-with-portrait/scss/pdf.scss +10 -2
- package/livingdocs/020.Text/080.footnote-item/scss/general.scss +0 -12
- package/livingdocs/020.Text/080.footnote-item/scss/pdf.scss +14 -0
- package/livingdocs/020.Text/080.footnote-item/scss/web.scss +14 -0
- package/livingdocs/030.Lists/010.unordered-list/ld-conf.json +6 -2
- package/livingdocs/030.Lists/040.list-item/scss/general.scss +1 -7
- package/livingdocs/030.Lists/040.list-item/scss/pdf.scss +14 -0
- package/livingdocs/030.Lists/040.list-item/scss/web.scss +14 -0
- package/livingdocs/040.Media/010.table/scss/general.scss +13 -13
- package/livingdocs/040.Media/010.table/scss/pdf.scss +27 -0
- package/livingdocs/040.Media/020.image/image.html +4 -8
- package/livingdocs/040.Media/020.image/ld-conf.json +5 -0
- package/livingdocs/040.Media/020.image/scss/editor.scss +8 -1
- package/livingdocs/040.Media/020.image/scss/general.scss +4 -1
- package/livingdocs/040.Media/020.image/scss/pdf.scss +4 -0
- package/livingdocs/040.Media/020.image/scss/web.scss +19 -0
- package/livingdocs/040.Media/030.video/scss/editor.scss +6 -1
- package/livingdocs/040.Media/030.video/scss/general.scss +14 -2
- package/livingdocs/040.Media/030.video/scss/pdf.scss +31 -0
- package/livingdocs/040.Media/030.video/scss/web.scss +84 -1
- package/livingdocs/040.Media/030.video/video.html +14 -28
- package/livingdocs/090.Signatures/010.signature-container/scss/pdf.scss +7 -0
- package/livingdocs/090.Signatures/020.signature-item/ld-conf.json +6 -0
- package/livingdocs/090.Signatures/020.signature-item/scss/pdf.scss +5 -0
- package/livingdocs/100.Misc/010.anchor/anchor.html +5 -2
- package/livingdocs/100.Misc/010.anchor/ld-conf.json +6 -1
- package/livingdocs/100.Misc/010.anchor/scss/editor.scss +19 -0
- package/livingdocs/100.Misc/010.anchor/scss/general.scss +5 -0
- package/livingdocs/100.Misc/010.anchor/scss/pdf.scss +2 -0
- package/livingdocs/100.Misc/010.anchor/scss/web.scss +1 -0
- package/livingdocs/100.Misc/010.anchor/scss/word.scss +0 -0
- package/livingdocs/100.Misc/010.anchor/scss/xbrl.scss +0 -0
- package/livingdocs/110.PDF/010.pdf-pagebreak/pdf-pagebreak.html +5 -1
- package/livingdocs/110.PDF/010.pdf-pagebreak/scss/editor.scss +20 -0
- package/livingdocs/110.PDF/010.pdf-pagebreak/scss/general.scss +5 -0
- package/livingdocs/110.PDF/010.pdf-pagebreak/scss/pdf.scss +6 -0
- package/livingdocs/110.PDF/010.pdf-pagebreak/scss/web.scss +1 -0
- package/livingdocs/110.PDF/010.pdf-pagebreak/scss/word.scss +0 -0
- package/livingdocs/110.PDF/010.pdf-pagebreak/scss/xbrl.scss +1 -0
- package/livingdocs/110.PDF/030.pdf-publication-title/pdf-publication-title.html +6 -2
- package/livingdocs/110.PDF/030.pdf-publication-title/scss/editor.scss +18 -0
- package/livingdocs/110.PDF/030.pdf-publication-title/scss/general.scss +5 -0
- package/livingdocs/110.PDF/030.pdf-publication-title/scss/pdf.scss +6 -0
- package/livingdocs/110.PDF/030.pdf-publication-title/scss/web.scss +1 -0
- package/livingdocs/110.PDF/030.pdf-publication-title/scss/word.scss +0 -0
- package/livingdocs/110.PDF/030.pdf-publication-title/scss/xbrl.scss +1 -0
- package/livingdocs/110.PDF/040.pdf-chapter-title/pdf-chapter-title.html +6 -2
- package/livingdocs/110.PDF/040.pdf-chapter-title/scss/editor.scss +18 -0
- package/livingdocs/110.PDF/040.pdf-chapter-title/scss/general.scss +5 -0
- package/livingdocs/110.PDF/040.pdf-chapter-title/scss/pdf.scss +6 -0
- package/livingdocs/110.PDF/040.pdf-chapter-title/scss/web.scss +1 -0
- package/livingdocs/110.PDF/040.pdf-chapter-title/scss/word.scss +0 -0
- package/livingdocs/110.PDF/040.pdf-chapter-title/scss/xbrl.scss +1 -0
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/editor.scss +1 -0
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/general.scss +1 -0
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/pdf.scss +15 -0
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/web.scss +1 -0
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/word.scss +0 -0
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/xbrl.scss +1 -0
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/ld-conf.json +1 -1
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/editor.scss +1 -0
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/general.scss +1 -0
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/pdf.scss +15 -0
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/web.scss +1 -0
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/word.scss +0 -0
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/xbrl.scss +1 -0
- package/livingdocs/110.PDF/080.pdf-toc-page/ld-conf.json +9 -3
- package/package.json +1 -1
- package/scripts/config.js +0 -4
- package/srl/composables/root.ts +3 -1
- package/srl/scss/grid/functions.scss +11 -1
- package/srl/scss/spacer/mixins.scss +3 -3
- package/srl/scss/typography/functions.scss +7 -0
- package/srl/scss/typography/mixins.scss +23 -0
- package/livingdocs/020.Text/030.paragraph-strong/paragraph.html +0 -16
- package/livingdocs/110.PDF/110.pdf-toc-item-blank/ld-conf.json +0 -5
- package/livingdocs/110.PDF/110.pdf-toc-item-blank/pdf-toc-item-blank.html +0 -4
|
@@ -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
|
-
|
|
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
|
-
|
|
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": [
|
|
4
|
+
"properties": [
|
|
5
|
+
"pdf-spacer"
|
|
6
|
+
],
|
|
5
7
|
"directives": {
|
|
6
8
|
"list": {
|
|
7
|
-
"allowedChildren": [
|
|
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,19 +72,13 @@ 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
|
|
83
78
|
*/
|
|
84
79
|
&[class*="head"] {
|
|
85
80
|
border-bottom: (
|
|
86
|
-
var(--srl-table-border-
|
|
81
|
+
var(--srl-table-border-bold-width)
|
|
87
82
|
map.get($table-border-bold, style)
|
|
88
83
|
srl.colors-get(map.get($table-border-bold, color))
|
|
89
84
|
);
|
|
@@ -99,7 +94,7 @@ td {
|
|
|
99
94
|
|
|
100
95
|
&[class*="blinetop"] {
|
|
101
96
|
border-top: (
|
|
102
|
-
var(--srl-table-border-
|
|
97
|
+
var(--srl-table-border-bold-width)
|
|
103
98
|
map.get($table-border-bold, style)
|
|
104
99
|
srl.colors-get(map.get($table-border-bold, color))
|
|
105
100
|
);
|
|
@@ -129,7 +124,7 @@ td {
|
|
|
129
124
|
|
|
130
125
|
&[class*="blinebottom"] {
|
|
131
126
|
border-bottom: (
|
|
132
|
-
var(--srl-table-border-
|
|
127
|
+
var(--srl-table-border-bold-width)
|
|
133
128
|
map.get($table-border-bold, style)
|
|
134
129
|
srl.colors-get(map.get($table-border-bold, color))
|
|
135
130
|
);
|
|
@@ -157,7 +152,7 @@ td {
|
|
|
157
152
|
|
|
158
153
|
&[class*="blineleft"] {
|
|
159
154
|
border-left: (
|
|
160
|
-
var(--srl-table-border-
|
|
155
|
+
var(--srl-table-border-bold-width)
|
|
161
156
|
map.get($table-border-bold, style)
|
|
162
157
|
srl.colors-get(map.get($table-border-bold, color))
|
|
163
158
|
);
|
|
@@ -181,7 +176,7 @@ td {
|
|
|
181
176
|
|
|
182
177
|
&[class*="blineright"] {
|
|
183
178
|
border-right: (
|
|
184
|
-
var(--srl-table-border-
|
|
179
|
+
var(--srl-table-border-bold-width)
|
|
185
180
|
map.get($table-border-bold, style)
|
|
186
181
|
srl.colors-get(map.get($table-border-bold, color))
|
|
187
182
|
);
|
|
@@ -198,13 +193,13 @@ td {
|
|
|
198
193
|
/*
|
|
199
194
|
Indents
|
|
200
195
|
*/
|
|
201
|
-
&[class*="
|
|
196
|
+
&[class*="ind"] {
|
|
202
197
|
&:first-child {
|
|
203
198
|
padding-left: srl.spacer-get(200);
|
|
204
199
|
}
|
|
205
200
|
}
|
|
206
201
|
|
|
207
|
-
&[class*="
|
|
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,13 +1,9 @@
|
|
|
1
1
|
<figure class="srl-image">
|
|
2
|
-
<div
|
|
3
|
-
class="srl-image__alt-text"
|
|
4
|
-
doc-editable="alt-tag"
|
|
5
|
-
doc-optional
|
|
6
|
-
data-alt-text-source="alt"
|
|
7
|
-
>
|
|
8
|
-
Write the alt text here (optional, but recommended)
|
|
9
|
-
</div>
|
|
10
2
|
<div class="srl-grid srl-grid--media">
|
|
3
|
+
<div class="srl-image__alt-text" doc-editable="alt-tag" doc-toggle="show-alt-text"
|
|
4
|
+
data-alt-text-source="alt">
|
|
5
|
+
Write the alt text here (optional, but recommended)
|
|
6
|
+
</div>
|
|
11
7
|
<div
|
|
12
8
|
class="srl-grid__inner srl-image__image-container srl-image__image-container--desktop"
|
|
13
9
|
>
|
|
@@ -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,5 +1,17 @@
|
|
|
1
1
|
@use 'srl';
|
|
2
2
|
|
|
3
|
-
.srl-
|
|
4
|
-
@include srl.spacer-margin-top(
|
|
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-
|
|
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-
|
|
3
|
-
<div class="srl-
|
|
4
|
-
<div class="srl-
|
|
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-
|
|
7
|
-
<div class="srl-
|
|
8
|
-
<svg
|
|
9
|
-
|
|
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
|
-
|
|
26
|
-
|
|
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>
|
|
@@ -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
|