@net7/boilerplate-arianna 3.2.3 → 3.3.0
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/aw-facets-wrapper/aw-facets-wrapper.mjs +3 -3
- package/esm2020/lib/components/bubble-chart-wrapper/bubble-chart-wrapper.mjs +3 -3
- package/esm2020/lib/components/chart-tippy/chart-tippy.mjs +3 -3
- package/esm2020/lib/components/pdf-viewer/pdf-viewer.mjs +3 -3
- package/esm2020/lib/components/scheda-dropdown/scheda-dropdown.mjs +3 -3
- package/esm2020/lib/components/smart-breadcrumbs/smart-breadcrumbs.mjs +3 -3
- package/esm2020/lib/layouts/collection-layout/collection-layout.mjs +3 -3
- package/esm2020/lib/layouts/entita-layout/entita-layout.mjs +3 -3
- package/esm2020/lib/layouts/gallery-layout/gallery-layout.mjs +3 -3
- package/esm2020/lib/layouts/home-layout/home-layout.mjs +3 -3
- package/esm2020/lib/layouts/map-layout/map-layout.mjs +3 -3
- package/esm2020/lib/layouts/scheda-layout/scheda-layout.mjs +3 -3
- package/esm2020/lib/layouts/search-layout/search-layout.mjs +3 -3
- package/esm2020/lib/layouts/timeline-layout/timeline-layout.mjs +3 -3
- package/esm2020/lib/n7-boilerplate-arianna.module.mjs +4 -4
- package/esm2020/lib/search/aw-search.service.mjs +3 -3
- package/fesm2015/net7-boilerplate-arianna.mjs +49 -49
- package/fesm2020/net7-boilerplate-arianna.mjs +49 -49
- package/package.json +1 -1
- package/src/lib/styles/arianna/components/_breadcrumbs.scss +8 -12
- package/src/lib/styles/arianna/components/_bubble-popup-menu.scss +7 -7
- package/src/lib/styles/arianna/components/_facet.scss +7 -14
- package/src/lib/styles/arianna/components/_header.scss +5 -6
- package/src/lib/styles/arianna/components/_item-preview.scss +16 -24
- package/src/lib/styles/arianna/components/_metadata-viewer.scss +10 -11
- package/src/lib/styles/arianna/layouts/_home-layout.scss +68 -63
- package/src/lib/styles/arianna/layouts/_scheda-layout.scss +42 -46
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
* Layout for page detail of Cultural Objects and Aggregations.
|
|
5
5
|
* Includes traa navigation on the right.
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
|
|
8
8
|
/* ------------------------------------ *\
|
|
9
9
|
LAYOUT
|
|
10
10
|
\* ------------------------------------ */
|
|
11
11
|
.aw-scheda {
|
|
12
|
-
padding-top: $space*3;
|
|
13
|
-
margin-bottom: $space*6;
|
|
12
|
+
padding-top: $space * 3;
|
|
13
|
+
margin-bottom: $space * 6;
|
|
14
14
|
|
|
15
15
|
&__content {
|
|
16
16
|
display: flex;
|
|
@@ -26,7 +26,9 @@
|
|
|
26
26
|
|
|
27
27
|
&.is-sticky {
|
|
28
28
|
.n7-tree {
|
|
29
|
-
height: calc(
|
|
29
|
+
height: calc(
|
|
30
|
+
100% - #{$sidebar-header-height}
|
|
31
|
+
); /* space for sidebar header */
|
|
30
32
|
overflow-y: auto;
|
|
31
33
|
overflow-x: hidden;
|
|
32
34
|
}
|
|
@@ -38,11 +40,11 @@
|
|
|
38
40
|
min-width: $bubble-chart-column-container-min-width;
|
|
39
41
|
position: relative;
|
|
40
42
|
z-index: 4;
|
|
41
|
-
box-shadow: 0 2px 20px 0 rgba(0,0,0,0.08);
|
|
43
|
+
box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.08);
|
|
42
44
|
|
|
43
45
|
&-no-item {
|
|
44
46
|
width: 50%;
|
|
45
|
-
margin: $space*5 auto;
|
|
47
|
+
margin: $space * 5 auto;
|
|
46
48
|
text-align: center;
|
|
47
49
|
}
|
|
48
50
|
}
|
|
@@ -53,12 +55,11 @@
|
|
|
53
55
|
}
|
|
54
56
|
}
|
|
55
57
|
|
|
56
|
-
|
|
57
58
|
/* ------------------------------------ *\
|
|
58
59
|
TREE
|
|
59
60
|
\* ------------------------------------ */
|
|
60
61
|
.aw-scheda__tree {
|
|
61
|
-
box-shadow: 0 2px 20px 0 rgba(0,0,0,0.
|
|
62
|
+
box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
|
|
62
63
|
|
|
63
64
|
.n7-tree {
|
|
64
65
|
background-color: $color-background-base;
|
|
@@ -79,7 +80,7 @@
|
|
|
79
80
|
justify-content: center;
|
|
80
81
|
align-items: center;
|
|
81
82
|
height: 40px;
|
|
82
|
-
padding: 0 $space*2;
|
|
83
|
+
padding: 0 $space * 2;
|
|
83
84
|
background-color: $color-background-base;
|
|
84
85
|
}
|
|
85
86
|
.tree-placeholder-item {
|
|
@@ -89,7 +90,6 @@
|
|
|
89
90
|
}
|
|
90
91
|
}
|
|
91
92
|
|
|
92
|
-
|
|
93
93
|
/* ------------------------------------ *\
|
|
94
94
|
COLLAPSED
|
|
95
95
|
\* ------------------------------------ */
|
|
@@ -113,7 +113,6 @@
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
|
|
117
116
|
/* ------------------------------------ *\
|
|
118
117
|
SCHEDA-DETAILS
|
|
119
118
|
\* ------------------------------------ */
|
|
@@ -124,7 +123,7 @@
|
|
|
124
123
|
/* Intro text */
|
|
125
124
|
.aw-scheda__intro-text {
|
|
126
125
|
min-height: 650px;
|
|
127
|
-
padding: $space*2 $space*2.5;
|
|
126
|
+
padding: $space * 2 $space * 2.5;
|
|
128
127
|
text-align: left;
|
|
129
128
|
|
|
130
129
|
h2 {
|
|
@@ -132,7 +131,7 @@
|
|
|
132
131
|
}
|
|
133
132
|
|
|
134
133
|
h3 {
|
|
135
|
-
margin-top: $space*2;
|
|
134
|
+
margin-top: $space * 2;
|
|
136
135
|
font-size: $font-size-l;
|
|
137
136
|
}
|
|
138
137
|
|
|
@@ -141,7 +140,7 @@
|
|
|
141
140
|
}
|
|
142
141
|
|
|
143
142
|
li {
|
|
144
|
-
margin: 0 0 calc($space
|
|
143
|
+
margin: 0 0 calc($space * 0.5) 0;
|
|
145
144
|
padding: 0;
|
|
146
145
|
color: $color-text;
|
|
147
146
|
font-size: $font-size-m;
|
|
@@ -153,8 +152,8 @@
|
|
|
153
152
|
img {
|
|
154
153
|
float: left;
|
|
155
154
|
margin-top: $space;
|
|
156
|
-
margin-right: $space*3;
|
|
157
|
-
margin-bottom: $space*3;
|
|
155
|
+
margin-right: $space * 3;
|
|
156
|
+
margin-bottom: $space * 3;
|
|
158
157
|
max-width: 400px;
|
|
159
158
|
max-height: 400px;
|
|
160
159
|
height: auto;
|
|
@@ -167,10 +166,10 @@
|
|
|
167
166
|
.n7-breadcrumbs {
|
|
168
167
|
height: $sidebar-header-height;
|
|
169
168
|
overflow: hidden;
|
|
170
|
-
padding-left: $space*2;
|
|
169
|
+
padding-left: $space * 2;
|
|
171
170
|
box-sizing: border-box;
|
|
172
171
|
background-color: $color-background-medium;
|
|
173
|
-
box-shadow: inset 0 3px 20px rgba(0,0,0
|
|
172
|
+
box-shadow: inset 0 3px 20px rgba(0, 0, 0, 0.03);
|
|
174
173
|
|
|
175
174
|
.n7-breadcrumbs__label {
|
|
176
175
|
&:hover {
|
|
@@ -189,7 +188,7 @@
|
|
|
189
188
|
height: $sidebar-header-height;
|
|
190
189
|
box-sizing: border-box;
|
|
191
190
|
background-color: $color-background-medium;
|
|
192
|
-
box-shadow: inset 0 3px 20px rgba(0,0,0
|
|
191
|
+
box-shadow: inset 0 3px 20px rgba(0, 0, 0, 0.03);
|
|
193
192
|
}
|
|
194
193
|
|
|
195
194
|
.aw-scheda__fake-breadcrumbs-open {
|
|
@@ -197,7 +196,7 @@
|
|
|
197
196
|
align-items: center;
|
|
198
197
|
height: $sidebar-header-height;
|
|
199
198
|
margin-left: $sidebar-header-height;
|
|
200
|
-
padding-left: $space*2;
|
|
199
|
+
padding-left: $space * 2;
|
|
201
200
|
color: $color-text-light;
|
|
202
201
|
cursor: pointer;
|
|
203
202
|
transition: color $transition-durations;
|
|
@@ -220,7 +219,8 @@
|
|
|
220
219
|
|
|
221
220
|
/* Minor inner titles that describes the various sections */
|
|
222
221
|
.aw-scheda__inner-title {
|
|
223
|
-
padding: 0 $aw-scheda-content-padding $aw-scheda-content-padding
|
|
222
|
+
padding: 0 $aw-scheda-content-padding $aw-scheda-content-padding
|
|
223
|
+
$aw-scheda-content-padding;
|
|
224
224
|
font-size: $font-size-xxl;
|
|
225
225
|
font-weight: $font-weight-normal;
|
|
226
226
|
}
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
/* Sections that contains ImageViewer, Text, metadata, Buubble chart, Similar objects */
|
|
230
230
|
.aw-scheda__section {
|
|
231
231
|
// margin-bottom: $aw-scheda-content-padding;
|
|
232
|
-
padding-top: $space*3;
|
|
232
|
+
padding-top: $space * 3;
|
|
233
233
|
border-bottom: 2px solid $color-border-normal;
|
|
234
234
|
|
|
235
235
|
&:last-child {
|
|
@@ -243,13 +243,14 @@
|
|
|
243
243
|
padding: $aw-scheda-content-padding;
|
|
244
244
|
columns: 2;
|
|
245
245
|
font-size: $font-size-m;
|
|
246
|
-
line-height: 1.
|
|
246
|
+
line-height: 1.7;
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
/* Metadata */
|
|
250
250
|
.aw-scheda__metadata {
|
|
251
251
|
.n7-metadata-viewer {
|
|
252
|
-
padding: 0 $aw-scheda-content-padding $aw-scheda-content-padding
|
|
252
|
+
padding: 0 $aw-scheda-content-padding $aw-scheda-content-padding
|
|
253
|
+
$aw-scheda-content-padding;
|
|
253
254
|
}
|
|
254
255
|
}
|
|
255
256
|
|
|
@@ -259,7 +260,8 @@
|
|
|
259
260
|
display: flex;
|
|
260
261
|
align-items: center;
|
|
261
262
|
justify-content: center;
|
|
262
|
-
padding: 0 $aw-scheda-content-padding $aw-scheda-content-padding
|
|
263
|
+
padding: 0 $aw-scheda-content-padding $aw-scheda-content-padding
|
|
264
|
+
$aw-scheda-content-padding;
|
|
263
265
|
height: $bubble-section-patrimonio;
|
|
264
266
|
}
|
|
265
267
|
|
|
@@ -267,18 +269,19 @@
|
|
|
267
269
|
height: 100%;
|
|
268
270
|
}
|
|
269
271
|
}
|
|
270
|
-
|
|
272
|
+
|
|
271
273
|
/* Related items */
|
|
272
274
|
.aw-scheda__related {
|
|
273
275
|
overflow: hidden; /* For fake grid gap */
|
|
274
276
|
}
|
|
275
277
|
|
|
276
278
|
.aw-scheda__related-items {
|
|
277
|
-
padding: 0 $aw-scheda-content-padding $aw-scheda-content-padding
|
|
279
|
+
padding: 0 $aw-scheda-content-padding $aw-scheda-content-padding
|
|
280
|
+
$aw-scheda-content-padding;
|
|
278
281
|
|
|
279
282
|
/* Targeting elements in the last row */
|
|
280
|
-
|
|
281
|
-
|
|
283
|
+
> *:nth-child(2n + 1):nth-last-child(-n + 2),
|
|
284
|
+
> *:nth-child(2n + 1):nth-last-child(-n + 2) ~ * {
|
|
282
285
|
.n7-item-preview {
|
|
283
286
|
margin-bottom: 0;
|
|
284
287
|
padding-bottom: 0;
|
|
@@ -294,7 +297,7 @@
|
|
|
294
297
|
.aw-scheda__scheda-wrapper-loading {
|
|
295
298
|
background-color: $color-background-base;
|
|
296
299
|
z-index: 4;
|
|
297
|
-
box-shadow: 0 2px 20px 0 rgba(0,0,0,0.08);
|
|
300
|
+
box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.08);
|
|
298
301
|
}
|
|
299
302
|
|
|
300
303
|
/* ------------------------------------ *\
|
|
@@ -304,9 +307,6 @@
|
|
|
304
307
|
text-align: center;
|
|
305
308
|
}
|
|
306
309
|
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
310
|
/* ------------------------------------ *\
|
|
311
311
|
#DIGITAL OBJECTS: IMAGE VIEWER, EXTERNAL LINKS, PDF
|
|
312
312
|
\* ------------------------------------ */
|
|
@@ -314,20 +314,20 @@
|
|
|
314
314
|
/* Digital object selection */
|
|
315
315
|
&__digital-object-dropdown-label {
|
|
316
316
|
margin: 0 $space 0 0;
|
|
317
|
-
height: $space*4;
|
|
318
|
-
line-height: $space*4;
|
|
317
|
+
height: $space * 4;
|
|
318
|
+
line-height: $space * 4;
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
&__digital-object-dropdown {
|
|
322
322
|
display: flex;
|
|
323
|
-
padding: $space*2 $space*2;
|
|
323
|
+
padding: $space * 2 $space * 2;
|
|
324
324
|
border-bottom: 2px solid $color-border-normal;
|
|
325
325
|
|
|
326
326
|
.aw-scheda-dropdown__header {
|
|
327
327
|
display: flex;
|
|
328
328
|
align-items: center;
|
|
329
|
-
height: $space*4;
|
|
330
|
-
line-height: $space*4;
|
|
329
|
+
height: $space * 4;
|
|
330
|
+
line-height: $space * 4;
|
|
331
331
|
padding: 0 $space;
|
|
332
332
|
border: 1px solid $color-border-normal;
|
|
333
333
|
background-color: $color-background-light;
|
|
@@ -345,11 +345,12 @@
|
|
|
345
345
|
.aw-scheda-dropdown__items {
|
|
346
346
|
display: none;
|
|
347
347
|
position: absolute;
|
|
348
|
-
padding: $space*2;
|
|
348
|
+
padding: $space * 2;
|
|
349
349
|
z-index: $z-index-digital-object-modal;
|
|
350
350
|
background-color: $color-background-base;
|
|
351
351
|
border: 1px solid $color-border-normal;
|
|
352
|
-
box-shadow: 0 1px 1px rgba(0,0,0,0.04),
|
|
352
|
+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04),
|
|
353
|
+
0 2px 10px rgba(0, 0, 0, 0.04);
|
|
353
354
|
|
|
354
355
|
ul {
|
|
355
356
|
padding: 0;
|
|
@@ -401,30 +402,25 @@
|
|
|
401
402
|
}
|
|
402
403
|
}
|
|
403
404
|
|
|
404
|
-
|
|
405
405
|
/* ------------------------------------ *\
|
|
406
406
|
#MEDIA-QUERIES
|
|
407
407
|
\* ------------------------------------ */
|
|
408
408
|
@media all and (max-width: 1179px) {
|
|
409
|
-
|
|
410
409
|
.aw-scheda__scheda-wrapper {
|
|
411
410
|
.n7-inner-title__tools {
|
|
412
411
|
margin-left: 39px;
|
|
413
|
-
padding-top: calc($space
|
|
412
|
+
padding-top: calc($space * 0.5);
|
|
414
413
|
}
|
|
415
414
|
}
|
|
416
|
-
|
|
417
415
|
}
|
|
418
416
|
|
|
419
417
|
@media all and (max-width: 1120px) {
|
|
420
|
-
|
|
421
418
|
.aw-scheda__scheda-wrapper {
|
|
422
419
|
/* Description text */
|
|
423
420
|
.aw-scheda__description {
|
|
424
421
|
columns: 1;
|
|
425
422
|
}
|
|
426
423
|
}
|
|
427
|
-
|
|
428
424
|
}
|
|
429
425
|
|
|
430
426
|
@media all and (max-width: $breakpoint-ipad-portrait) {
|