isite 2021.12.7 → 2021.12.13
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.
|
@@ -1,113 +1,139 @@
|
|
|
1
1
|
.print-only {
|
|
2
|
-
|
|
2
|
+
visibility: collapse;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.page-a4 {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
display: inline-block;
|
|
7
|
+
height: 297mm !important;
|
|
8
|
+
width: 210mm !important;
|
|
9
|
+
padding: 2mm !important;
|
|
10
|
+
margin: 0mm !important;
|
|
11
|
+
background: white !important;
|
|
12
|
+
color: #000 !important;
|
|
13
|
+
page-break-before: always !important;
|
|
14
|
+
page-break-after: always !important;
|
|
15
|
+
page-break-inside: avoid !important;
|
|
16
|
+
}
|
|
17
|
+
.width-15-mm {
|
|
18
|
+
min-width: 15mm !important;
|
|
19
|
+
width: 15mm !important;
|
|
20
|
+
white-space: nowrap;
|
|
21
|
+
max-width: 15mm !important;
|
|
22
|
+
}
|
|
23
|
+
.width-30-mm {
|
|
24
|
+
min-width: 30mm !important;
|
|
25
|
+
width: 30mm !important;
|
|
26
|
+
white-space: nowrap;
|
|
27
|
+
max-width: 30mm !important;
|
|
28
|
+
}
|
|
29
|
+
.width-60-mm {
|
|
30
|
+
min-width: 60mm !important;
|
|
31
|
+
width: 60mm !important;
|
|
32
|
+
white-space: nowrap;
|
|
33
|
+
max-width: 60mm !important;
|
|
34
|
+
}
|
|
35
|
+
.width-90-mm {
|
|
36
|
+
min-width: 90mm !important;
|
|
37
|
+
width: 90mm !important;
|
|
38
|
+
white-space: nowrap;
|
|
39
|
+
max-width: 90mm !important;
|
|
14
40
|
}
|
|
15
41
|
|
|
16
42
|
.page-width-a4 {
|
|
17
|
-
|
|
18
|
-
|
|
43
|
+
padding: 2mm;
|
|
44
|
+
margin: 0mm;
|
|
19
45
|
}
|
|
20
46
|
|
|
21
47
|
body.a4 {
|
|
22
|
-
|
|
23
|
-
|
|
48
|
+
background: white;
|
|
49
|
+
color: #000;
|
|
24
50
|
}
|
|
25
51
|
body.a4 {
|
|
26
|
-
|
|
52
|
+
height: 297mm;
|
|
27
53
|
}
|
|
28
|
-
body.print-mode{
|
|
29
|
-
|
|
30
|
-
|
|
54
|
+
body.print-mode {
|
|
55
|
+
padding: 0px !important;
|
|
56
|
+
margin: 2mm !important;
|
|
31
57
|
}
|
|
32
58
|
body.print-mode .hide {
|
|
33
|
-
|
|
59
|
+
visibility: visible;
|
|
34
60
|
}
|
|
35
61
|
body.print-mode .not-print,
|
|
36
62
|
body.print-mode .dont-print {
|
|
37
|
-
|
|
63
|
+
display: none;
|
|
38
64
|
}
|
|
39
65
|
body.print-mode .print-only {
|
|
40
|
-
|
|
66
|
+
visibility: visible;
|
|
41
67
|
}
|
|
42
68
|
body.print-mode .table {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
69
|
+
table-layout: fixed;
|
|
70
|
+
border-collapse: collapse;
|
|
71
|
+
border: 1px solid black;
|
|
72
|
+
font-size: 8pt;
|
|
73
|
+
page-break-inside: avoid;
|
|
48
74
|
}
|
|
49
75
|
body.print-mode .table.wide {
|
|
50
|
-
|
|
51
|
-
|
|
76
|
+
min-width: 206mm !important;
|
|
77
|
+
width: 206mm !important;
|
|
52
78
|
}
|
|
53
79
|
body.print-mode .table th {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
80
|
+
color: #000 !important;
|
|
81
|
+
background: #fff !important;
|
|
82
|
+
border-collapse: collapse;
|
|
57
83
|
}
|
|
58
84
|
body.print-mode .table td {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
85
|
+
color: #000 !important;
|
|
86
|
+
background: #fff !important;
|
|
87
|
+
border-collapse: collapse;
|
|
62
88
|
}
|
|
63
89
|
body.print-mode input,
|
|
64
90
|
body.print-mode textarea {
|
|
65
|
-
|
|
91
|
+
font-size: 8pt;
|
|
66
92
|
}
|
|
67
93
|
body.print-mode .small {
|
|
68
|
-
|
|
94
|
+
font-size: 6pt;
|
|
69
95
|
}
|
|
70
96
|
|
|
71
97
|
.page {
|
|
72
|
-
page-break-before: always;
|
|
73
|
-
page-break-after: always;
|
|
74
|
-
page-break-inside: avoid !important;
|
|
75
|
-
}
|
|
76
|
-
@media print {
|
|
77
|
-
:root {
|
|
78
|
-
--legend-color: #000;
|
|
79
|
-
--legend-text-shadow: none;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.page {
|
|
83
|
-
/* this section always occupies it's own page or pages. */
|
|
84
98
|
page-break-before: always;
|
|
85
99
|
page-break-after: always;
|
|
86
100
|
page-break-inside: avoid !important;
|
|
87
|
-
|
|
101
|
+
}
|
|
102
|
+
@media print {
|
|
103
|
+
:root {
|
|
104
|
+
--legend-color: #000;
|
|
105
|
+
--legend-text-shadow: none;
|
|
106
|
+
}
|
|
88
107
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
108
|
+
.page {
|
|
109
|
+
/* this section always occupies it's own page or pages. */
|
|
110
|
+
page-break-before: always;
|
|
111
|
+
page-break-after: always;
|
|
112
|
+
page-break-inside: avoid !important;
|
|
113
|
+
}
|
|
92
114
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
}
|
|
115
|
+
.print-break {
|
|
116
|
+
page-break-after: always;
|
|
117
|
+
}
|
|
97
118
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
119
|
+
.print-start {
|
|
120
|
+
/* elements always start on the top of a new page. */
|
|
121
|
+
page-break-before: always;
|
|
122
|
+
}
|
|
101
123
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
h4,
|
|
106
|
-
h5 {
|
|
107
|
-
page-break-after: avoid;
|
|
108
|
-
}
|
|
124
|
+
.print-content {
|
|
125
|
+
page-break-inside: avoid;
|
|
126
|
+
}
|
|
109
127
|
|
|
110
|
-
|
|
128
|
+
h1,
|
|
129
|
+
h2,
|
|
130
|
+
h3,
|
|
131
|
+
h4,
|
|
132
|
+
h5 {
|
|
133
|
+
page-break-after: avoid;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/* @page: first {
|
|
111
137
|
margin: 0;
|
|
112
138
|
}
|
|
113
139
|
@page: blank {
|
|
@@ -116,44 +142,44 @@ body.print-mode .small {
|
|
|
116
142
|
}
|
|
117
143
|
} */
|
|
118
144
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
145
|
+
@page {
|
|
146
|
+
size: A4;
|
|
147
|
+
}
|
|
122
148
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
149
|
+
@page: right {
|
|
150
|
+
@top-right {
|
|
151
|
+
content: '';
|
|
152
|
+
}
|
|
126
153
|
}
|
|
127
|
-
}
|
|
128
154
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
155
|
+
@page: right {
|
|
156
|
+
@bottom-right {
|
|
157
|
+
content: '';
|
|
158
|
+
}
|
|
132
159
|
}
|
|
133
|
-
}
|
|
134
160
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
161
|
+
@page: left {
|
|
162
|
+
@top-left {
|
|
163
|
+
content: '';
|
|
164
|
+
}
|
|
138
165
|
}
|
|
139
|
-
}
|
|
140
166
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
167
|
+
@page: left {
|
|
168
|
+
@bottom-left {
|
|
169
|
+
content: 'Page ' counter(page) ' of ' counter(pages);
|
|
170
|
+
}
|
|
144
171
|
}
|
|
145
|
-
}
|
|
146
172
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
173
|
+
a {
|
|
174
|
+
font-weight: bolder;
|
|
175
|
+
text-decoration: none;
|
|
176
|
+
}
|
|
151
177
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
178
|
+
a[href^='http']:after {
|
|
179
|
+
content: ' [ ' attr(href) ' ] ';
|
|
180
|
+
}
|
|
155
181
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
182
|
+
a[href^='#']:after {
|
|
183
|
+
content: '';
|
|
184
|
+
}
|
|
159
185
|
}
|
|
@@ -318,10 +318,8 @@
|
|
|
318
318
|
op.url = site.handle_url(op.url);
|
|
319
319
|
|
|
320
320
|
if (window.SOCIALBROWSER && window.SOCIALBROWSER.fetchJson) {
|
|
321
|
-
console.log(' ( SOCIALBROWSER.fetchJson ) ', op);
|
|
322
321
|
SOCIALBROWSER.fetchJson(op, (data) => {
|
|
323
322
|
callback(data);
|
|
324
|
-
console.log(' ( SOCIALBROWSER.fetchJson callback ) ', data);
|
|
325
323
|
});
|
|
326
324
|
} else {
|
|
327
325
|
fetch(op.url, {
|