@net7/components 3.5.2 → 3.6.1
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/esm2020/lib/components/hero/hero.mjs +3 -3
- package/esm2020/lib/components/hero/hero.mock.mjs +2 -1
- package/esm2020/lib/components/text-viewer/text-viewer.mjs +3 -3
- package/esm2020/lib/components/text-viewer/text-viewer.mock.mjs +31 -23
- package/fesm2015/net7-components.mjs +35 -26
- package/fesm2015/net7-components.mjs.map +1 -1
- package/fesm2020/net7-components.mjs +35 -26
- package/fesm2020/net7-components.mjs.map +1 -1
- package/lib/components/hero/hero.d.ts +4 -0
- package/lib/components/text-viewer/text-viewer.d.ts +20 -0
- package/package.json +1 -1
- package/src/lib/styles/components/_hero.scss +23 -22
- package/src/lib/styles/components/_text-viewer.scss +138 -94
|
@@ -3,17 +3,18 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Brief description of the component here.
|
|
5
5
|
*/
|
|
6
|
-
|
|
6
|
+
|
|
7
7
|
/* ------------------------------------ *\
|
|
8
8
|
#WEB COMPONENTS STYLING
|
|
9
9
|
\* ------------------------------------ */
|
|
10
10
|
.n7-text-viewer {
|
|
11
11
|
pb-page {
|
|
12
|
-
--pb-base-font-family:
|
|
12
|
+
--pb-base-font-family: "Roboto", "Noto", sans-serif;
|
|
13
13
|
--pb-base-font-size: 16px;
|
|
14
14
|
--pb-base-line-height: 1.42857143;
|
|
15
15
|
--pb-base-font-weight: 300;
|
|
16
|
-
--pb-base-font: var(--pb-base-font-weight) var(--pb-base-font-size)/
|
|
16
|
+
--pb-base-font: var(--pb-base-font-weight) var(--pb-base-font-size) /
|
|
17
|
+
var(--pb-base-line-height) var(--pb-base-font-family);
|
|
17
18
|
--pb-serif-font-family: "Junicode", Georgia, "Times New Roman", serif;
|
|
18
19
|
--pb-content-font-family: var(--pb-serif-font-family);
|
|
19
20
|
--pb-content-font-size: 20px;
|
|
@@ -38,7 +39,7 @@
|
|
|
38
39
|
--pb-footnote-font-family: var(--pb-content-font-family);
|
|
39
40
|
--pb-footnote-font-weight: var(--pb-content-font-weight);
|
|
40
41
|
--pb-footnote-color: #303030;
|
|
41
|
-
--pb-footnote-padding: 0 0 0 .25em;
|
|
42
|
+
--pb-footnote-padding: 0 0 0 0.25em;
|
|
42
43
|
--pb-popover-theme: "light-border";
|
|
43
44
|
--pb-popover-max-width: 480px;
|
|
44
45
|
--pb-popover-font-size: 16px;
|
|
@@ -55,18 +56,18 @@
|
|
|
55
56
|
font: var(--pb-base-font);
|
|
56
57
|
color: var(--pb-color-primary);
|
|
57
58
|
margin: 0;
|
|
58
|
-
|
|
59
|
+
|
|
59
60
|
main {
|
|
60
61
|
pb-view {
|
|
61
62
|
font-size: 16px;
|
|
62
63
|
}
|
|
63
64
|
}
|
|
64
65
|
}
|
|
65
|
-
|
|
66
|
+
|
|
66
67
|
*:focus {
|
|
67
68
|
outline: none;
|
|
68
69
|
}
|
|
69
|
-
|
|
70
|
+
|
|
70
71
|
.splash {
|
|
71
72
|
position: fixed;
|
|
72
73
|
top: 0;
|
|
@@ -82,60 +83,63 @@
|
|
|
82
83
|
background-repeat: no-repeat;
|
|
83
84
|
transition: visibility 0s linear 300ms, opacity 300ms;
|
|
84
85
|
}
|
|
85
|
-
|
|
86
|
-
pb-page[unresolved]
|
|
86
|
+
|
|
87
|
+
pb-page[unresolved] ~ .splash {
|
|
87
88
|
visibility: visible;
|
|
88
89
|
opacity: 1;
|
|
89
90
|
transition: visibility 0s linear 0s, opacity 300ms;
|
|
90
91
|
}
|
|
91
|
-
|
|
92
|
+
|
|
92
93
|
app-header {
|
|
93
94
|
background-image: var(--pb-header-background-image);
|
|
94
95
|
}
|
|
95
|
-
|
|
96
|
+
|
|
96
97
|
app-toolbar {
|
|
97
98
|
--app-toolbar-font-size: 16px;
|
|
99
|
+
display: flex;
|
|
98
100
|
}
|
|
99
|
-
|
|
101
|
+
|
|
100
102
|
app-toolbar pb-search {
|
|
101
103
|
--pb-search-label-color: var(--pb-color-inverse);
|
|
102
104
|
--pb-search-input-color: var(--pb-color-inverse);
|
|
103
105
|
--pb-search-focus-color: var(--paper-orange-500);
|
|
104
106
|
padding-left: 20px;
|
|
105
107
|
}
|
|
106
|
-
|
|
108
|
+
|
|
107
109
|
app-drawer {
|
|
108
110
|
--pb-lang-item-color: black;
|
|
109
111
|
--pb-lang-input-color: black;
|
|
110
112
|
--pb-lang-label-color: var(--paper-grey-600);
|
|
111
113
|
}
|
|
112
|
-
|
|
114
|
+
|
|
113
115
|
.drawer-content {
|
|
114
116
|
overflow: auto;
|
|
115
117
|
height: 100%;
|
|
116
118
|
padding: 8px 10px;
|
|
117
119
|
text-align: left;
|
|
118
120
|
}
|
|
119
|
-
|
|
121
|
+
|
|
120
122
|
.drawer-content pb-collapse h3 {
|
|
121
123
|
margin-bottom: 0;
|
|
122
124
|
margin-top: 0;
|
|
123
125
|
}
|
|
124
|
-
|
|
126
|
+
|
|
125
127
|
.drawer-content paper-listbox {
|
|
126
128
|
margin: 0;
|
|
127
129
|
}
|
|
128
|
-
|
|
129
|
-
app-drawer .settings,
|
|
130
|
+
|
|
131
|
+
app-drawer .settings,
|
|
132
|
+
app-drawer pb-collapse {
|
|
130
133
|
display: flex;
|
|
131
134
|
flex-direction: column;
|
|
132
135
|
}
|
|
133
|
-
|
|
136
|
+
|
|
134
137
|
app-drawer paper-listbox {
|
|
135
138
|
width: 100%;
|
|
136
139
|
}
|
|
137
|
-
|
|
138
|
-
app-drawer a,
|
|
140
|
+
|
|
141
|
+
app-drawer a,
|
|
142
|
+
app-drawer a:link {
|
|
139
143
|
text-decoration: none;
|
|
140
144
|
color: inherit;
|
|
141
145
|
}
|
|
@@ -144,11 +148,11 @@
|
|
|
144
148
|
color: inherit;
|
|
145
149
|
font-weight: inherit;
|
|
146
150
|
}
|
|
147
|
-
|
|
151
|
+
|
|
148
152
|
app-drawer-layout:not([narrow]) [drawer-toggle] {
|
|
149
153
|
display: none;
|
|
150
154
|
}
|
|
151
|
-
|
|
155
|
+
|
|
152
156
|
.caveat-content {
|
|
153
157
|
overflow: auto;
|
|
154
158
|
height: 100%;
|
|
@@ -156,18 +160,51 @@
|
|
|
156
160
|
text-align: left;
|
|
157
161
|
font-size: smaller;
|
|
158
162
|
}
|
|
159
|
-
|
|
163
|
+
|
|
160
164
|
.toolbar {
|
|
161
|
-
|
|
165
|
+
display: flex;
|
|
166
|
+
position: relative;
|
|
167
|
+
// flex-flow: row wrap;
|
|
168
|
+
justify-content: space-between; //center
|
|
162
169
|
background-image: var(--pb-toolbar-background-image);
|
|
163
170
|
background-color: var(--pb-toolbar-background-color);
|
|
164
171
|
color: var(--pb-toolbar-color);
|
|
172
|
+
|
|
173
|
+
.n7-text-viewer__toolbar-container-flex:nth-child(1) {
|
|
174
|
+
flex: 0 0 10%;
|
|
175
|
+
}
|
|
176
|
+
.n7-text-viewer__toolbar-container-flex:nth-child(2) {
|
|
177
|
+
flex: 0 0 10%;
|
|
178
|
+
}
|
|
179
|
+
.n7-text-viewer__toolbar-container-flex:nth-child(3) {
|
|
180
|
+
flex: 0 0 10%;
|
|
181
|
+
}
|
|
182
|
+
.n7-text-viewer__toolbar-container-flex:nth-child(4) {
|
|
183
|
+
text-align: center;
|
|
184
|
+
padding: 0 2.3vw;
|
|
185
|
+
flex: 0 0 33.3%;
|
|
186
|
+
}
|
|
187
|
+
.n7-text-viewer__toolbar-container-flex:nth-child(5) {
|
|
188
|
+
flex: 0 0 11.1%;
|
|
189
|
+
}
|
|
190
|
+
.n7-text-viewer__toolbar-container-flex:nth-child(6) {
|
|
191
|
+
flex: 0 0 11.1%;
|
|
192
|
+
text-align: center;
|
|
193
|
+
}
|
|
194
|
+
.n7-text-viewer__toolbar-container-flex:nth-child(7) {
|
|
195
|
+
flex: 0 0 11.1%;
|
|
196
|
+
text-align: left;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
paper-button {
|
|
200
|
+
font-size: 14px;
|
|
201
|
+
}
|
|
165
202
|
}
|
|
166
|
-
|
|
203
|
+
|
|
167
204
|
[drawer-toggle] {
|
|
168
205
|
padding-right: 0;
|
|
169
206
|
}
|
|
170
|
-
|
|
207
|
+
|
|
171
208
|
.menubar {
|
|
172
209
|
justify-content: space-between;
|
|
173
210
|
background-image: var(--pb-menubar-background-image);
|
|
@@ -176,182 +213,192 @@
|
|
|
176
213
|
--pb-search-suggestions-color: var(--pb-color-primary);
|
|
177
214
|
--pb-search-suggestions-background: white;
|
|
178
215
|
}
|
|
179
|
-
|
|
216
|
+
|
|
180
217
|
.menubar pb-media-query {
|
|
181
218
|
flex: 1 0;
|
|
182
219
|
}
|
|
183
|
-
|
|
184
|
-
.menubar a,
|
|
220
|
+
|
|
221
|
+
.menubar a,
|
|
222
|
+
.menubar paper-menu-button {
|
|
185
223
|
margin: auto 8px;
|
|
186
224
|
display: block;
|
|
187
225
|
color: white;
|
|
188
226
|
text-decoration: none;
|
|
189
227
|
}
|
|
190
|
-
|
|
228
|
+
|
|
191
229
|
.menubar .logo {
|
|
192
230
|
margin: 0 16px 0 0;
|
|
193
231
|
}
|
|
194
|
-
|
|
232
|
+
|
|
195
233
|
.menubar .gitlab {
|
|
196
234
|
margin-left: 16px;
|
|
197
235
|
margin-right: 16px;
|
|
198
236
|
}
|
|
199
|
-
|
|
237
|
+
|
|
200
238
|
.menubar .gitlab img {
|
|
201
239
|
height: 32px;
|
|
202
240
|
}
|
|
203
|
-
|
|
241
|
+
|
|
204
242
|
.hidden {
|
|
205
243
|
display: none;
|
|
206
244
|
}
|
|
207
|
-
|
|
208
|
-
.menubar pb-login {}
|
|
209
|
-
|
|
245
|
+
|
|
246
|
+
// .menubar pb-login {}
|
|
247
|
+
|
|
210
248
|
.menubar pb-lang {
|
|
211
249
|
text-align: right;
|
|
212
250
|
flex: 1 0;
|
|
213
251
|
--pb-lang-item-color: white;
|
|
214
252
|
}
|
|
215
|
-
|
|
253
|
+
|
|
216
254
|
.menubar paper-item a {
|
|
217
255
|
color: black;
|
|
218
256
|
margin: 0;
|
|
219
257
|
}
|
|
220
|
-
|
|
258
|
+
|
|
221
259
|
[main-title] {
|
|
222
260
|
display: inline-block;
|
|
223
261
|
}
|
|
224
|
-
|
|
262
|
+
|
|
225
263
|
.logo img {
|
|
226
264
|
width: 140px;
|
|
227
265
|
height: 60px;
|
|
228
266
|
background-size: 100% 100%;
|
|
229
267
|
cursor: pointer;
|
|
230
268
|
}
|
|
231
|
-
|
|
269
|
+
|
|
232
270
|
pb-progress {
|
|
233
271
|
width: 100%;
|
|
234
272
|
}
|
|
235
|
-
|
|
273
|
+
|
|
236
274
|
pb-view-type {
|
|
237
|
-
font-size: .75em;
|
|
275
|
+
font-size: 0.75em;
|
|
238
276
|
}
|
|
239
|
-
|
|
277
|
+
|
|
240
278
|
@media (max-width: 768px) {
|
|
241
279
|
#downloadDialog {
|
|
242
280
|
width: 100%;
|
|
243
281
|
}
|
|
244
282
|
}
|
|
245
|
-
|
|
283
|
+
|
|
246
284
|
@media (min-width: 769px) {
|
|
247
285
|
#downloadDialog {
|
|
248
286
|
width: 50%;
|
|
249
287
|
}
|
|
250
288
|
}
|
|
251
|
-
|
|
289
|
+
|
|
252
290
|
.breadcrumbs {
|
|
253
291
|
margin: 10px 0 0 20px;
|
|
254
292
|
}
|
|
255
|
-
|
|
293
|
+
|
|
256
294
|
pb-view {
|
|
257
295
|
font-family: var(--pb-content-font-family);
|
|
258
296
|
font-size: var(--pb-content-font-size);
|
|
259
297
|
margin: 0 16px;
|
|
260
298
|
}
|
|
261
|
-
|
|
299
|
+
|
|
262
300
|
.breadcrumbs pb-view {
|
|
263
301
|
font-weight: 400;
|
|
264
302
|
font-size: var(--pb-breadcrumbs-font-size);
|
|
265
303
|
max-width: none;
|
|
266
304
|
}
|
|
267
|
-
|
|
305
|
+
|
|
268
306
|
@media (min-width: 769px) {
|
|
269
307
|
pb-view {
|
|
270
308
|
max-width: var(--pb-view-max-width);
|
|
271
309
|
}
|
|
272
310
|
}
|
|
273
|
-
|
|
311
|
+
|
|
274
312
|
pb-popover {
|
|
275
313
|
text-align: left !important;
|
|
276
314
|
}
|
|
277
|
-
|
|
278
|
-
h1,
|
|
315
|
+
|
|
316
|
+
h1,
|
|
317
|
+
h2,
|
|
318
|
+
h3,
|
|
319
|
+
h4,
|
|
320
|
+
h5,
|
|
321
|
+
h6 {
|
|
279
322
|
font-family: var(--pb-heading-font-family);
|
|
280
323
|
font-weight: var(--pb-heading-font-weight);
|
|
281
324
|
line-height: var(--pb-heading-line-height);
|
|
282
325
|
}
|
|
283
|
-
|
|
326
|
+
|
|
284
327
|
pb-drawer {
|
|
285
328
|
// top: 231px;
|
|
286
329
|
background-color: var(--pb-drawer-background-color);
|
|
287
330
|
overflow: auto;
|
|
288
331
|
height: calc(100vh - 217px);
|
|
289
332
|
}
|
|
290
|
-
|
|
333
|
+
|
|
291
334
|
pb-drawer a {
|
|
292
335
|
color: var(--pb-link-color);
|
|
293
336
|
text-decoration: var(--pb-link-text-decoration);
|
|
294
337
|
}
|
|
295
|
-
|
|
338
|
+
|
|
296
339
|
.toc ul {
|
|
297
340
|
list-style-type: none;
|
|
298
341
|
margin: 0;
|
|
299
342
|
padding: 0;
|
|
300
343
|
}
|
|
301
|
-
|
|
344
|
+
|
|
302
345
|
.toc ul ul {
|
|
303
346
|
margin-left: 28px;
|
|
304
347
|
}
|
|
305
|
-
|
|
348
|
+
|
|
306
349
|
.toc li {
|
|
307
|
-
margin-bottom: .5em;
|
|
350
|
+
margin-bottom: 0.5em;
|
|
308
351
|
}
|
|
309
|
-
|
|
352
|
+
|
|
310
353
|
.toc li:first-child {
|
|
311
|
-
margin-top: .5em;
|
|
354
|
+
margin-top: 0.5em;
|
|
312
355
|
}
|
|
313
|
-
|
|
356
|
+
|
|
314
357
|
.toc pb-link {
|
|
315
358
|
display: block;
|
|
316
359
|
}
|
|
317
|
-
|
|
318
|
-
.toc li>pb-link {
|
|
360
|
+
|
|
361
|
+
.toc li > pb-link {
|
|
319
362
|
margin-left: 28px;
|
|
320
363
|
}
|
|
321
|
-
|
|
364
|
+
|
|
322
365
|
.toc pb-link {
|
|
323
366
|
font-family: var(--pb-link-font-family);
|
|
324
367
|
padding: 4px 8px;
|
|
325
368
|
}
|
|
326
|
-
|
|
369
|
+
|
|
327
370
|
.toc pb-link a {
|
|
328
371
|
color: var(--pb-link-color);
|
|
329
372
|
text-decoration: var(--pb-link-text-decoration);
|
|
330
373
|
}
|
|
331
|
-
|
|
332
|
-
.toc h1,
|
|
374
|
+
|
|
375
|
+
.toc h1,
|
|
376
|
+
.toc h2,
|
|
377
|
+
.toc h3,
|
|
378
|
+
.toc h4,
|
|
379
|
+
.toc h5 {
|
|
333
380
|
font-family: var(--pb-link-font-family);
|
|
334
381
|
}
|
|
335
|
-
|
|
336
|
-
.toc [slot=collapse-trigger] pb-link {
|
|
382
|
+
|
|
383
|
+
.toc [slot="collapse-trigger"] pb-link {
|
|
337
384
|
margin-left: 0px;
|
|
338
385
|
}
|
|
339
|
-
|
|
386
|
+
|
|
340
387
|
.version {
|
|
341
388
|
text-align: right;
|
|
342
389
|
font-size: 0.85em;
|
|
343
390
|
padding: 1em;
|
|
344
391
|
color: var(--pb-color-lighter);
|
|
345
392
|
}
|
|
346
|
-
|
|
393
|
+
|
|
347
394
|
.version span {
|
|
348
395
|
font-weight: bold;
|
|
349
396
|
}
|
|
350
|
-
|
|
397
|
+
|
|
351
398
|
//
|
|
352
|
-
|
|
399
|
+
|
|
353
400
|
@import url("https://fonts.googleapis.com/css?family=Oswald|Roboto&display=swap");
|
|
354
|
-
|
|
401
|
+
|
|
355
402
|
pb-page {
|
|
356
403
|
// margin: 10px 20px;
|
|
357
404
|
font-size: 16px;
|
|
@@ -359,21 +406,21 @@
|
|
|
359
406
|
line-height: 1.42857;
|
|
360
407
|
font-weight: 300;
|
|
361
408
|
color: #333333;
|
|
362
|
-
|
|
409
|
+
|
|
363
410
|
--paper-tooltip-delay-in: 200;
|
|
364
411
|
}
|
|
365
|
-
|
|
412
|
+
|
|
366
413
|
main {
|
|
367
414
|
height: 70vh; //70vh
|
|
368
415
|
overflow: auto;
|
|
369
416
|
display: flex;
|
|
370
417
|
justify-content: space-between;
|
|
371
418
|
}
|
|
372
|
-
|
|
419
|
+
|
|
373
420
|
pb-view {
|
|
374
421
|
flex: 1 0;
|
|
375
422
|
}
|
|
376
|
-
|
|
423
|
+
|
|
377
424
|
pb-facsimile {
|
|
378
425
|
flex: 1 1;
|
|
379
426
|
max-width: 50vw;
|
|
@@ -382,16 +429,16 @@
|
|
|
382
429
|
background-color: #333333;
|
|
383
430
|
// position: static;
|
|
384
431
|
}
|
|
385
|
-
|
|
432
|
+
|
|
386
433
|
pb-navigation[disabled] {
|
|
387
434
|
display: block;
|
|
388
435
|
visibility: hidden;
|
|
389
436
|
}
|
|
390
|
-
|
|
437
|
+
|
|
391
438
|
pb-navigation[direction="forward"] {
|
|
392
439
|
float: right;
|
|
393
440
|
}
|
|
394
|
-
|
|
441
|
+
|
|
395
442
|
pb-view {
|
|
396
443
|
flex: 1 1;
|
|
397
444
|
max-width: 60vw;
|
|
@@ -399,11 +446,9 @@
|
|
|
399
446
|
max-height: var(--pb-view-height);
|
|
400
447
|
overflow: auto;
|
|
401
448
|
}
|
|
402
|
-
|
|
403
|
-
//
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
449
|
+
|
|
450
|
+
//
|
|
451
|
+
|
|
407
452
|
.content-body {
|
|
408
453
|
position: relative;
|
|
409
454
|
display: flex;
|
|
@@ -411,22 +456,22 @@
|
|
|
411
456
|
padding: 0 20px;
|
|
412
457
|
z-index: -1;
|
|
413
458
|
}
|
|
414
|
-
|
|
459
|
+
|
|
415
460
|
.content-body pb-navigation {
|
|
416
461
|
position: fixed;
|
|
417
462
|
bottom: 45%;
|
|
418
463
|
--paper-fab-background: #35424b;
|
|
419
464
|
color: white;
|
|
420
465
|
}
|
|
421
|
-
|
|
422
|
-
.content-body pb-navigation[direction=backward] {
|
|
466
|
+
|
|
467
|
+
.content-body pb-navigation[direction="backward"] {
|
|
423
468
|
left: 20px;
|
|
424
469
|
}
|
|
425
|
-
|
|
426
|
-
.content-body pb-navigation[direction=forward] {
|
|
470
|
+
|
|
471
|
+
.content-body pb-navigation[direction="forward"] {
|
|
427
472
|
right: 20px;
|
|
428
473
|
}
|
|
429
|
-
|
|
474
|
+
|
|
430
475
|
@media (max-width: 769px) {
|
|
431
476
|
.content-body pb-navigation {
|
|
432
477
|
display: none;
|
|
@@ -434,7 +479,6 @@
|
|
|
434
479
|
}
|
|
435
480
|
}
|
|
436
481
|
|
|
437
|
-
|
|
438
482
|
/* ------------------------------------ *\
|
|
439
483
|
#MEDIA-QUERIES
|
|
440
484
|
\* ------------------------------------ */
|
|
@@ -449,4 +493,4 @@
|
|
|
449
493
|
|
|
450
494
|
/* Retina */
|
|
451
495
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
452
|
-
}
|
|
496
|
+
}
|