@simple-reporting/base 1.0.21 → 1.0.23
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/general.scss +1 -0
- package/dev/src/assets/scss/pdf.scss +13 -0
- package/dev/src/assets/scss/placeholders.scss +48 -0
- package/dev/src/entries/pdf.ts +14 -1
- package/dev/srl.config.json +106 -0
- package/livingdocs/010.Titles/010.title-h1/scss/general.scss +12 -0
- package/livingdocs/010.Titles/020.title-h2/scss/general.scss +12 -1
- package/livingdocs/010.Titles/030.title-h3/scss/general.scss +0 -1
- package/livingdocs/010.Titles/040.title-h4/scss/general.scss +0 -1
- package/livingdocs/010.Titles/050.title-h5/scss/general.scss +0 -1
- package/livingdocs/010.Titles/060.title-h6/scss/general.scss +0 -1
- package/livingdocs/020.Text/010.lead/scss/general.scss +0 -1
- package/livingdocs/020.Text/020.paragraph/scss/general.scss +0 -1
- package/livingdocs/020.Text/040.link/scss/general.scss +0 -1
- package/livingdocs/020.Text/050.quote/scss/general.scss +0 -4
- package/livingdocs/020.Text/060.quote-with-portrait/scss/general.scss +4 -1
- package/livingdocs/020.Text/070.footnote-container/scss/general.scss +1 -2
- package/livingdocs/020.Text/080.footnote-item/scss/general.scss +0 -8
- package/livingdocs/020.Text/080.footnote-item/scss/pdf.scss +8 -1
- package/livingdocs/020.Text/080.footnote-item/scss/web.scss +8 -1
- package/livingdocs/030.Lists/010.unordered-list/scss/general.scss +3 -3
- package/livingdocs/030.Lists/010.unordered-list/scss/pdf.scss +8 -0
- package/livingdocs/030.Lists/010.unordered-list/scss/web.scss +2 -0
- package/livingdocs/030.Lists/010.unordered-list/unordered-list.html +1 -1
- package/livingdocs/030.Lists/020.ordered-list/scss/general.scss +2 -5
- package/livingdocs/030.Lists/030.alphanumeric-list/scss/general.scss +2 -5
- package/livingdocs/030.Lists/040.list-item/scss/general.scss +7 -0
- package/livingdocs/030.Lists/040.list-item/scss/web.scss +13 -0
- package/livingdocs/040.Media/010.table/scss/general.scss +18 -39
- package/livingdocs/040.Media/010.table/scss/pdf.scss +20 -0
- package/livingdocs/040.Media/020.image/scss/general.scss +0 -4
- package/livingdocs/080.CV/010.cv/cv.html +34 -32
- package/livingdocs/080.CV/010.cv/scss/app.scss +1 -0
- package/livingdocs/080.CV/010.cv/scss/editor.scss +1 -0
- package/livingdocs/080.CV/010.cv/scss/general.scss +15 -0
- package/livingdocs/080.CV/010.cv/scss/pdf.scss +14 -0
- package/livingdocs/080.CV/010.cv/scss/web.scss +15 -0
- package/livingdocs/080.CV/010.cv/scss/word.scss +0 -0
- package/livingdocs/080.CV/010.cv/scss/xbrl.scss +1 -0
- package/livingdocs/080.CV/020.cv-time-span/cv-time-span.html +14 -12
- package/livingdocs/080.CV/020.cv-time-span/scss/app.scss +1 -0
- package/livingdocs/080.CV/020.cv-time-span/scss/editor.scss +1 -0
- package/livingdocs/080.CV/020.cv-time-span/scss/general.scss +10 -0
- package/livingdocs/080.CV/020.cv-time-span/scss/pdf.scss +10 -0
- package/livingdocs/080.CV/020.cv-time-span/scss/web.scss +10 -0
- package/livingdocs/080.CV/020.cv-time-span/scss/word.scss +0 -0
- package/livingdocs/080.CV/020.cv-time-span/scss/xbrl.scss +1 -0
- package/livingdocs/090.Signatures/020.signature-item/scss/general.scss +1 -0
- package/livingdocs/100.Misc/010.anchor/anchor.html +1 -1
- package/livingdocs/100.Misc/020.accordion/accordion.html +7 -5
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/pdf-chapter-navigation.html +1 -1
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/editor.scss +4 -0
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/general.scss +9 -1
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/pdf.scss +0 -9
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/pdf-chapter-navigation-item.html +3 -2
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/general.scss +14 -1
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/pdf.scss +1 -14
- package/livingdocs/110.PDF/070.pdf-cover/ld-conf.json +3 -0
- package/livingdocs/110.PDF/070.pdf-cover/properties.json +19 -0
- package/livingdocs/110.PDF/070.pdf-cover/scss/editor.scss +7 -0
- package/livingdocs/110.PDF/070.pdf-cover/scss/general.scss +22 -0
- package/livingdocs/110.PDF/070.pdf-cover/scss/pdf.scss +22 -0
- package/livingdocs/110.PDF/070.pdf-cover/scss/web.scss +1 -0
- package/livingdocs/110.PDF/070.pdf-cover/scss/word.scss +0 -0
- package/livingdocs/110.PDF/070.pdf-cover/scss/xbrl.scss +1 -0
- package/livingdocs/110.PDF/080.pdf-toc-page/pdf-toc-page.html +1 -1
- package/livingdocs/110.PDF/080.pdf-toc-page/scss/editor.scss +35 -0
- package/livingdocs/110.PDF/080.pdf-toc-page/scss/general.scss +5 -0
- package/livingdocs/110.PDF/080.pdf-toc-page/scss/pdf.scss +20 -0
- package/livingdocs/110.PDF/080.pdf-toc-page/scss/web.scss +1 -0
- package/livingdocs/110.PDF/080.pdf-toc-page/scss/word.scss +0 -0
- package/livingdocs/110.PDF/080.pdf-toc-page/scss/xbrl.scss +1 -0
- package/livingdocs/110.PDF/090.pdf-toc-item-title/pdf-toc-item-title.html +1 -1
- package/livingdocs/110.PDF/090.pdf-toc-item-title/scss/editor.scss +3 -0
- package/livingdocs/110.PDF/090.pdf-toc-item-title/scss/general.scss +5 -0
- package/livingdocs/110.PDF/090.pdf-toc-item-title/scss/pdf.scss +2 -0
- package/livingdocs/110.PDF/090.pdf-toc-item-title/scss/web.scss +1 -0
- package/livingdocs/110.PDF/090.pdf-toc-item-title/scss/word.scss +0 -0
- package/livingdocs/110.PDF/090.pdf-toc-item-title/scss/xbrl.scss +1 -0
- package/livingdocs/110.PDF/100.pdf-toc-item/pdf-toc-item.html +2 -2
- package/livingdocs/110.PDF/100.pdf-toc-item/scss/editor.scss +3 -0
- package/livingdocs/110.PDF/100.pdf-toc-item/scss/general.scss +23 -0
- package/livingdocs/110.PDF/100.pdf-toc-item/scss/pdf.scss +2 -0
- package/livingdocs/110.PDF/100.pdf-toc-item/scss/web.scss +1 -0
- package/livingdocs/110.PDF/100.pdf-toc-item/scss/word.scss +0 -0
- package/livingdocs/110.PDF/100.pdf-toc-item/scss/xbrl.scss +1 -0
- package/livingdocs/999.Properties/pdf-spacer/properties.json +7 -11
- package/livingdocs/999.Properties/pdf-spacer/scss/pdf.scss +29 -0
- package/package.json +1 -1
- package/scripts/build.js +2 -2
- package/scripts/init.js +1 -1
- package/srl/.srl/App.vue +9 -5
- package/srl/.srl/components/Srl/Article/Accordion.vue +106 -0
- package/srl/.srl/components/Srl/Article/Dialog/Button.vue +39 -16
- package/srl/.srl/components/Srl/Category/Accordion.vue +32 -4
- package/srl/.srl/plugins/initProject.ts +12 -7
- package/srl/.srl/utils/html.ts +71 -62
- package/srl/.srl/utils/index.ts +28 -1
- package/srl/.srl/utils/pageState.ts +61 -0
- package/srl/srl/pdf/PDFNotes.ts +71 -0
- package/srl/srl/pdf/PDFSetPageNumbers.ts +25 -0
- /package/srl/srl/{Awesomizr.js → pdf/Awesomizr.js} +0 -0
package/dev/package.json
CHANGED
|
@@ -85,6 +85,19 @@ img {
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
+
/*
|
|
89
|
+
Hold titles and the following component on the same page
|
|
90
|
+
*/
|
|
91
|
+
.srl-title-h1,
|
|
92
|
+
.srl-title-h2,
|
|
93
|
+
.srl-title-h3,
|
|
94
|
+
.srl-title-h4,
|
|
95
|
+
.srl-title-h5 {
|
|
96
|
+
& + * {
|
|
97
|
+
break-before: avoid;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
88
101
|
/*
|
|
89
102
|
Layout
|
|
90
103
|
*/
|
|
@@ -225,6 +225,54 @@
|
|
|
225
225
|
@include srl.grid-offset(1, desktop-large);
|
|
226
226
|
}
|
|
227
227
|
|
|
228
|
+
/*
|
|
229
|
+
Quote with an image regular with
|
|
230
|
+
Just the image
|
|
231
|
+
*/
|
|
232
|
+
%srl-cv-header-portrait {
|
|
233
|
+
// Mobile
|
|
234
|
+
@include srl.grid-col(4);
|
|
235
|
+
|
|
236
|
+
// Mobile landscape
|
|
237
|
+
@include srl.grid-col(4, phone-ls);
|
|
238
|
+
|
|
239
|
+
// Tablet portrait
|
|
240
|
+
@include srl.grid-col(3, tablet-pt);
|
|
241
|
+
|
|
242
|
+
// Tablet landscape
|
|
243
|
+
@include srl.grid-col(3, tablet-ls);
|
|
244
|
+
|
|
245
|
+
// Desktop
|
|
246
|
+
@include srl.grid-col(2, desktop);
|
|
247
|
+
|
|
248
|
+
// Desktop large
|
|
249
|
+
@include srl.grid-col(2, desktop-large);
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/*
|
|
253
|
+
Quote with an image regular with
|
|
254
|
+
Just the text
|
|
255
|
+
*/
|
|
256
|
+
%srl-cv-header-content {
|
|
257
|
+
// Mobile
|
|
258
|
+
@include srl.grid-col(4);
|
|
259
|
+
|
|
260
|
+
// Mobile landscape
|
|
261
|
+
@include srl.grid-col(4, phone-ls);
|
|
262
|
+
|
|
263
|
+
// Tablet portrait
|
|
264
|
+
@include srl.grid-col(5, tablet-pt);
|
|
265
|
+
|
|
266
|
+
// Tablet landscape
|
|
267
|
+
@include srl.grid-col(5, tablet-ls);
|
|
268
|
+
|
|
269
|
+
// Desktop
|
|
270
|
+
@include srl.grid-col(4, desktop);
|
|
271
|
+
|
|
272
|
+
// Desktop large
|
|
273
|
+
@include srl.grid-col(4, desktop-large);
|
|
274
|
+
}
|
|
275
|
+
|
|
228
276
|
%srl-icon {
|
|
229
277
|
display: block;
|
|
230
278
|
width: srl.system-size-unit(24);
|
package/dev/src/entries/pdf.ts
CHANGED
|
@@ -1,2 +1,15 @@
|
|
|
1
1
|
import '#imports/pdf.scss'
|
|
2
|
-
import * as Awesomizr from 'srl/Awesomizr.js'
|
|
2
|
+
import * as Awesomizr from 'srl/pdf/Awesomizr.js'
|
|
3
|
+
import * as PDFNotes from 'srl/pdf/PDFNotes.ts'
|
|
4
|
+
import * as PDFSetPageNumbers from 'srl/pdf/PDFSetPageNumbers.ts';
|
|
5
|
+
|
|
6
|
+
document.addEventListener('DOMContentLoaded', () => {
|
|
7
|
+
new PDFNotes({
|
|
8
|
+
noteClass: '.srl-category-notes_group, .srl-category-notes_holding'
|
|
9
|
+
})
|
|
10
|
+
|
|
11
|
+
new PDFSetPageNumbers({
|
|
12
|
+
tocItemClass: '.srl-pdf-toc__item:not(.srl-pdf-toc__item--blank)',
|
|
13
|
+
tocItemPageNumberClass: '.srl-pdf-toc__number'
|
|
14
|
+
});
|
|
15
|
+
})
|
package/dev/srl.config.json
CHANGED
|
@@ -121,6 +121,22 @@
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
|
+
{
|
|
125
|
+
"name": "title-h1-pdf",
|
|
126
|
+
"font-family": "Inter",
|
|
127
|
+
"font-size": "16pt",
|
|
128
|
+
"line-height": 1.2,
|
|
129
|
+
"font-style": "normal",
|
|
130
|
+
"font-weight": 600,
|
|
131
|
+
"color": "white-1000",
|
|
132
|
+
"letter-spacing": 0,
|
|
133
|
+
"media": {
|
|
134
|
+
"print": {
|
|
135
|
+
"font-size": "16pt",
|
|
136
|
+
"line-height": 1.2
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
},
|
|
124
140
|
{
|
|
125
141
|
"name": "title-h2",
|
|
126
142
|
"font-family": "Inter",
|
|
@@ -143,6 +159,22 @@
|
|
|
143
159
|
}
|
|
144
160
|
}
|
|
145
161
|
},
|
|
162
|
+
{
|
|
163
|
+
"name": "title-h2-pdf",
|
|
164
|
+
"font-family": "Inter",
|
|
165
|
+
"font-size": "28pt",
|
|
166
|
+
"line-height": 0.875,
|
|
167
|
+
"font-style": "normal",
|
|
168
|
+
"font-weight": 600,
|
|
169
|
+
"color": "white-1000",
|
|
170
|
+
"letter-spacing": 0,
|
|
171
|
+
"media": {
|
|
172
|
+
"print": {
|
|
173
|
+
"font-size": "28pt",
|
|
174
|
+
"line-height": 0.875
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
},
|
|
146
178
|
{
|
|
147
179
|
"name": "title-h3",
|
|
148
180
|
"font-family": "Inter",
|
|
@@ -643,6 +675,27 @@
|
|
|
643
675
|
}
|
|
644
676
|
}
|
|
645
677
|
},
|
|
678
|
+
{
|
|
679
|
+
"name": "cv-time-span",
|
|
680
|
+
"font-family": "Inter",
|
|
681
|
+
"font-size": 14,
|
|
682
|
+
"line-height": 1.5,
|
|
683
|
+
"font-style": "normal",
|
|
684
|
+
"font-weight": 400,
|
|
685
|
+
"color": "black-1000",
|
|
686
|
+
"letter-spacing": 0,
|
|
687
|
+
"media": {
|
|
688
|
+
"print": {
|
|
689
|
+
"font-size": "9pt",
|
|
690
|
+
"line-height": 1.444
|
|
691
|
+
},
|
|
692
|
+
"up": {
|
|
693
|
+
"tablet-pt": {
|
|
694
|
+
"font-size": 16
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
},
|
|
646
699
|
{
|
|
647
700
|
"name": "pdf-header",
|
|
648
701
|
"font-family": "Inter",
|
|
@@ -659,6 +712,59 @@
|
|
|
659
712
|
}
|
|
660
713
|
}
|
|
661
714
|
},
|
|
715
|
+
{
|
|
716
|
+
"name": "toc-title",
|
|
717
|
+
"font-family": "Inter",
|
|
718
|
+
"font-size": "28pt",
|
|
719
|
+
"line-height": 1.14,
|
|
720
|
+
"font-style": "normal",
|
|
721
|
+
"font-weight": 600,
|
|
722
|
+
"color": "black-1000",
|
|
723
|
+
"letter-spacing": 0,
|
|
724
|
+
"media": {
|
|
725
|
+
"print": {
|
|
726
|
+
"font-size": "28pt",
|
|
727
|
+
"line-height": 1.14
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
"name": "toc-item-title",
|
|
733
|
+
"font-family": "Inter",
|
|
734
|
+
"font-size": "20pt",
|
|
735
|
+
"line-height": 1.2,
|
|
736
|
+
"font-style": "normal",
|
|
737
|
+
"font-weight": 600,
|
|
738
|
+
"color": "black-1000",
|
|
739
|
+
"letter-spacing": 0,
|
|
740
|
+
"media": {
|
|
741
|
+
"print": {
|
|
742
|
+
"font-size": "20pt",
|
|
743
|
+
"line-height": 1.2
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
"name": "toc-item",
|
|
749
|
+
"font-family": "Inter",
|
|
750
|
+
"font-size": 14,
|
|
751
|
+
"line-height": 1.5,
|
|
752
|
+
"font-style": "normal",
|
|
753
|
+
"font-weight": 600,
|
|
754
|
+
"color": "black-1000",
|
|
755
|
+
"letter-spacing": 0,
|
|
756
|
+
"media": {
|
|
757
|
+
"print": {
|
|
758
|
+
"font-size": "9pt",
|
|
759
|
+
"line-height": 1.444
|
|
760
|
+
},
|
|
761
|
+
"up": {
|
|
762
|
+
"tablet-pt": {
|
|
763
|
+
"font-size": 16
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
},
|
|
662
768
|
{
|
|
663
769
|
"name": "editor-label-text",
|
|
664
770
|
"font-family": "Inter",
|
|
@@ -2,4 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
.srl-title-h1 {
|
|
4
4
|
@include srl.typography-title-h1();
|
|
5
|
+
|
|
6
|
+
.srl-pdf-cover & {
|
|
7
|
+
@include srl.typography-title-h1-pdf();
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.srl-cover--font-color-black & {
|
|
11
|
+
color: srl.colors-black-1000();
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.srl-cover--font-color-primary & {
|
|
15
|
+
color: srl.colors-primary-1000();
|
|
16
|
+
}
|
|
5
17
|
}
|
|
@@ -5,7 +5,18 @@ $number-width: srl.spacer-get(map.get(srl.$meta, title, number-width));
|
|
|
5
5
|
|
|
6
6
|
.srl-title-h2 {
|
|
7
7
|
@include srl.typography-title-h2();
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
.srl-pdf-cover & {
|
|
10
|
+
@include srl.typography-title-h2-pdf();
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.srl-cover--font-color-black & {
|
|
14
|
+
color: srl.colors-black-1000();
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.srl-cover--font-color-primary & {
|
|
18
|
+
color: srl.colors-primary-1000();
|
|
19
|
+
}
|
|
9
20
|
}
|
|
10
21
|
|
|
11
22
|
.srl-title-h2__number-text-container {
|
|
@@ -4,13 +4,5 @@
|
|
|
4
4
|
.srl-footnote:not(.srl-grid),
|
|
5
5
|
.srl-footnote__item {
|
|
6
6
|
display: flex;
|
|
7
|
-
@include srl.spacer-margin-top(100);
|
|
8
7
|
@include srl.typography-footnote-text();
|
|
9
8
|
}
|
|
10
|
-
|
|
11
|
-
.srl-footnote__key {
|
|
12
|
-
font-size: 60%;
|
|
13
|
-
font-variant-numeric: tabular-nums;
|
|
14
|
-
line-height: 1; // prevents normal text from getting too much height
|
|
15
|
-
vertical-align: super;
|
|
16
|
-
}
|
|
@@ -6,9 +6,16 @@ $number-width: srl.system-size-unit(map.get(srl.$meta, footnote, number-width-pd
|
|
|
6
6
|
.srl-footnote__key,
|
|
7
7
|
.srl-footnote__number {
|
|
8
8
|
width: $number-width;
|
|
9
|
+
|
|
10
|
+
&:empty {
|
|
11
|
+
width: 0;
|
|
12
|
+
|
|
13
|
+
& + .srl-footnote__text {
|
|
14
|
+
width: 100%;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
9
17
|
}
|
|
10
18
|
|
|
11
|
-
.srl-footnote__text,
|
|
12
19
|
.srl-footnote__text {
|
|
13
20
|
width: calc(100% - #{$number-width});
|
|
14
21
|
}
|
|
@@ -6,9 +6,16 @@ $number-width: srl.system-size-unit(map.get(srl.$meta, footnote, number-width));
|
|
|
6
6
|
.srl-footnote__key,
|
|
7
7
|
.srl-footnote__number {
|
|
8
8
|
width: $number-width;
|
|
9
|
+
|
|
10
|
+
&:empty {
|
|
11
|
+
width: 0;
|
|
12
|
+
|
|
13
|
+
& + .srl-footnote__text {
|
|
14
|
+
width: 100%;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
9
17
|
}
|
|
10
18
|
|
|
11
|
-
.srl-footnote__text,
|
|
12
19
|
.srl-footnote__text {
|
|
13
20
|
width: calc(100% - #{$number-width});
|
|
14
21
|
}
|
|
@@ -10,17 +10,24 @@ $alphanumeric-marker-after: ")";
|
|
|
10
10
|
display: flex;
|
|
11
11
|
@include srl.typography-list();
|
|
12
12
|
|
|
13
|
+
.srl-footnote-container .srl-table-list & {
|
|
14
|
+
@include srl.typography-footnote-text();
|
|
15
|
+
}
|
|
16
|
+
|
|
13
17
|
&:before {
|
|
18
|
+
.srl-table-list--ul &,
|
|
14
19
|
.srl-list-group--ul & {
|
|
15
20
|
content: "#{$unordered-marker}";
|
|
16
21
|
}
|
|
17
22
|
|
|
23
|
+
.srl-table-list--ol &,
|
|
18
24
|
.srl-list-group--ol & {
|
|
19
25
|
counter-increment: ordered-list;
|
|
20
26
|
content: counter(ordered-list) $ordered-marker-after;
|
|
21
27
|
font-variant-numeric: tabular-nums;
|
|
22
28
|
}
|
|
23
29
|
|
|
30
|
+
.srl-table-list--alphanumeric &,
|
|
24
31
|
.srl-list-group--alphanumeric & {
|
|
25
32
|
counter-increment: alphanumeric-list;
|
|
26
33
|
content: counter(alphanumeric-list, lower-alpha) $alphanumeric-marker-after;
|
|
@@ -2,13 +2,26 @@
|
|
|
2
2
|
@use "sass:map";
|
|
3
3
|
|
|
4
4
|
$marker-width: srl.system-size-unit(map.get(srl.$meta, list, marker-width));
|
|
5
|
+
$number-width: srl.system-size-unit(map.get(srl.$meta, footnote, number-width));
|
|
5
6
|
|
|
6
7
|
.srl-list-group__item {
|
|
7
8
|
&:before {
|
|
8
9
|
width: $marker-width;
|
|
10
|
+
|
|
11
|
+
.srl-table-list--ul &,
|
|
12
|
+
.srl-table-list--ol &,
|
|
13
|
+
.srl-table-list--alphanumeric & {
|
|
14
|
+
padding-left: $number-width;
|
|
15
|
+
}
|
|
9
16
|
}
|
|
10
17
|
}
|
|
11
18
|
|
|
12
19
|
.srl-list-group__item-text {
|
|
13
20
|
width: calc(100% - #{$marker-width});
|
|
21
|
+
|
|
22
|
+
.srl-table-list--ul &,
|
|
23
|
+
.srl-table-list--ol &,
|
|
24
|
+
.srl-table-list--alphanumeric & {
|
|
25
|
+
width: calc(100% - #{$marker-width} - #{$number-width});
|
|
26
|
+
}
|
|
14
27
|
}
|
|
@@ -11,7 +11,6 @@ $table-border-bold: map.get(srl.$meta, table, border, bold);
|
|
|
11
11
|
|
|
12
12
|
.srl-table {
|
|
13
13
|
display: block;
|
|
14
|
-
@include srl.spacer-margin-top(400);
|
|
15
14
|
}
|
|
16
15
|
|
|
17
16
|
.srl-table__container {
|
|
@@ -58,6 +57,9 @@ td {
|
|
|
58
57
|
/*
|
|
59
58
|
Font colors
|
|
60
59
|
*/
|
|
60
|
+
&[class*="fcprimary"] {
|
|
61
|
+
color: srl.colors-primary-1000();
|
|
62
|
+
}
|
|
61
63
|
|
|
62
64
|
/*
|
|
63
65
|
Font Sizes
|
|
@@ -74,6 +76,10 @@ td {
|
|
|
74
76
|
font-weight: srl.typography-get-font-weight('table-head-strong');
|
|
75
77
|
}
|
|
76
78
|
|
|
79
|
+
&[class*="regular"] {
|
|
80
|
+
font-weight: srl.typography-get-font-weight('table-cell-regular');
|
|
81
|
+
}
|
|
82
|
+
|
|
77
83
|
&[class*="bold"] {
|
|
78
84
|
font-weight: srl.typography-get-font-weight('table-cell-strong');
|
|
79
85
|
}
|
|
@@ -214,48 +220,21 @@ td {
|
|
|
214
220
|
}
|
|
215
221
|
}
|
|
216
222
|
|
|
223
|
+
&[class*="ind_ind_ind"] {
|
|
224
|
+
&:first-child {
|
|
225
|
+
padding-left: srl.spacer-get(800);
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
217
229
|
/*
|
|
218
230
|
Cell Backgrounds
|
|
219
231
|
DEFINE HERE; DIFFERENT CSS CLASSES IN EVERY PROJECT
|
|
220
232
|
*/
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
background-color: transparent;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
&[class*="background-03"] {
|
|
230
|
-
background-color: transparent;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
&[class*="background-04"] {
|
|
234
|
-
background-color: transparent;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
&[class*="background-05"] {
|
|
238
|
-
background-color: transparent;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
&[class*="background-06"] {
|
|
242
|
-
background-color: transparent;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
&[class*="background-07"] {
|
|
246
|
-
background-color: transparent;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
&[class*="background-08"] {
|
|
250
|
-
background-color: transparent;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
&[class*="background-09"] {
|
|
254
|
-
background-color: transparent;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
&[class*="background-10"] {
|
|
258
|
-
background-color: transparent;
|
|
233
|
+
@for $i from 1 through 10 {
|
|
234
|
+
$suffix: if($i < 10, "0#{$i}", "#{$i}");
|
|
235
|
+
&[class*="background-#{$suffix}"] {
|
|
236
|
+
background-color: var(--srl-table-background-#{$suffix}, transparent);
|
|
237
|
+
}
|
|
259
238
|
}
|
|
260
239
|
|
|
261
240
|
&[class*="background-01"],
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
@use 'srl';
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
|
+
$table-cells-width-in-mm: false;
|
|
5
|
+
|
|
6
|
+
.srl-table {
|
|
7
|
+
break-inside: avoid;
|
|
8
|
+
}
|
|
9
|
+
|
|
4
10
|
.srl-table__container > div {
|
|
5
11
|
display: flex;
|
|
6
12
|
flex-direction: column;
|
|
@@ -15,6 +21,20 @@
|
|
|
15
21
|
}
|
|
16
22
|
}
|
|
17
23
|
|
|
24
|
+
@if $table-cells-width-in-mm == true {
|
|
25
|
+
.srl-table-container {
|
|
26
|
+
width: 100%;
|
|
27
|
+
display: flex;
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
align-items: flex-end;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
table {
|
|
33
|
+
width: fit-content;
|
|
34
|
+
min-width: unset;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
18
38
|
tr {
|
|
19
39
|
&[class*="pagebreak"] {
|
|
20
40
|
break-after: always;
|