@net7/boilerplate-arianna 3.0.1-rc.2
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/README.md +24 -0
- package/esm2020/lib/components/aw-facets-wrapper/aw-facets-wrapper.mjs +29 -0
- package/esm2020/lib/components/bubble-chart-wrapper/bubble-chart-wrapper.mjs +23 -0
- package/esm2020/lib/components/chart-tippy/chart-tippy.mjs +25 -0
- package/esm2020/lib/components/index.mjs +7 -0
- package/esm2020/lib/components/pdf-viewer/pdf-viewer.mjs +31 -0
- package/esm2020/lib/components/scheda-dropdown/scheda-dropdown.mjs +26 -0
- package/esm2020/lib/components/smart-breadcrumbs/smart-breadcrumbs.mjs +82 -0
- package/esm2020/lib/config/apollo.config.mjs +706 -0
- package/esm2020/lib/config-types/arianna/app.mjs +2 -0
- package/esm2020/lib/config-types/arianna/index.mjs +3 -0
- package/esm2020/lib/config-types/arianna/layouts.mjs +2 -0
- package/esm2020/lib/config-types/index.mjs +2 -0
- package/esm2020/lib/data-sources/autocomplete-wrapper.ds.mjs +48 -0
- package/esm2020/lib/data-sources/aw-facets-wrapper.ds.mjs +162 -0
- package/esm2020/lib/data-sources/bubble-chart.ds.mjs +95 -0
- package/esm2020/lib/data-sources/carousel.ds.mjs +74 -0
- package/esm2020/lib/data-sources/chart-tippy.ds.mjs +30 -0
- package/esm2020/lib/data-sources/entita-metadata-viewer.ds.mjs +16 -0
- package/esm2020/lib/data-sources/entita-nav.ds.mjs +74 -0
- package/esm2020/lib/data-sources/gallery-results.ds.mjs +103 -0
- package/esm2020/lib/data-sources/hero.ds.mjs +27 -0
- package/esm2020/lib/data-sources/home-autocomplete.ds.mjs +80 -0
- package/esm2020/lib/data-sources/home-facets-wrapper.ds.mjs +178 -0
- package/esm2020/lib/data-sources/home-hero-patrimonio.ds.mjs +7 -0
- package/esm2020/lib/data-sources/home-item-tags-wrapper.ds.mjs +7 -0
- package/esm2020/lib/data-sources/index.mjs +36 -0
- package/esm2020/lib/data-sources/linked-objects.ds.mjs +219 -0
- package/esm2020/lib/data-sources/map.ds.mjs +88 -0
- package/esm2020/lib/data-sources/related-entities.ds.mjs +35 -0
- package/esm2020/lib/data-sources/scheda-breadcrumbs.ds.mjs +18 -0
- package/esm2020/lib/data-sources/scheda-dropdown.ds.mjs +40 -0
- package/esm2020/lib/data-sources/scheda-image.ds.mjs +65 -0
- package/esm2020/lib/data-sources/scheda-inner-title.ds.mjs +7 -0
- package/esm2020/lib/data-sources/scheda-metadata.ds.mjs +11 -0
- package/esm2020/lib/data-sources/scheda-pdf.ds.mjs +54 -0
- package/esm2020/lib/data-sources/search-layout-tabs.ds.mjs +28 -0
- package/esm2020/lib/data-sources/sidebar-header.ds.mjs +24 -0
- package/esm2020/lib/data-sources/table.ds.mjs +8 -0
- package/esm2020/lib/data-sources/timeline.ds.mjs +106 -0
- package/esm2020/lib/data-sources/tree.ds.mjs +154 -0
- package/esm2020/lib/event-handlers/autocomplete-wrapper.eh.mjs +18 -0
- package/esm2020/lib/event-handlers/aw-facets-wrapper.eh.mjs +88 -0
- package/esm2020/lib/event-handlers/bubble-chart.eh.mjs +98 -0
- package/esm2020/lib/event-handlers/chart-tippy.eh.mjs +64 -0
- package/esm2020/lib/event-handlers/entita-nav.eh.mjs +22 -0
- package/esm2020/lib/event-handlers/gallery-results.eh.mjs +38 -0
- package/esm2020/lib/event-handlers/hero.eh.mjs +25 -0
- package/esm2020/lib/event-handlers/home-autocomplete.eh.mjs +15 -0
- package/esm2020/lib/event-handlers/home-facets-wrapper.eh.mjs +125 -0
- package/esm2020/lib/event-handlers/home-hero-patrimonio.eh.mjs +7 -0
- package/esm2020/lib/event-handlers/home-item-tags-wrapper.eh.mjs +18 -0
- package/esm2020/lib/event-handlers/index.mjs +30 -0
- package/esm2020/lib/event-handlers/linked-objects.eh.mjs +60 -0
- package/esm2020/lib/event-handlers/map.eh.mjs +23 -0
- package/esm2020/lib/event-handlers/scheda-breadcrumbs.eh.mjs +12 -0
- package/esm2020/lib/event-handlers/scheda-dropdown.eh.mjs +17 -0
- package/esm2020/lib/event-handlers/scheda-pdf.eh.mjs +14 -0
- package/esm2020/lib/event-handlers/search-layout-tabs.eh.mjs +7 -0
- package/esm2020/lib/event-handlers/sidebar-header.eh.mjs +11 -0
- package/esm2020/lib/event-handlers/table.eh.mjs +15 -0
- package/esm2020/lib/event-handlers/timeline.eh.mjs +46 -0
- package/esm2020/lib/event-handlers/tree.eh.mjs +113 -0
- package/esm2020/lib/helpers/metadata.helper.mjs +89 -0
- package/esm2020/lib/layouts/collection-layout/collection-layout.config.mjs +17 -0
- package/esm2020/lib/layouts/collection-layout/collection-layout.ds.mjs +173 -0
- package/esm2020/lib/layouts/collection-layout/collection-layout.eh.mjs +27 -0
- package/esm2020/lib/layouts/collection-layout/collection-layout.mjs +38 -0
- package/esm2020/lib/layouts/collection-layout/collection-layout.types.mjs +2 -0
- package/esm2020/lib/layouts/entita-layout/entita-layout.config.mjs +29 -0
- package/esm2020/lib/layouts/entita-layout/entita-layout.ds.mjs +310 -0
- package/esm2020/lib/layouts/entita-layout/entita-layout.eh.mjs +119 -0
- package/esm2020/lib/layouts/entita-layout/entita-layout.mjs +51 -0
- package/esm2020/lib/layouts/entita-layout/entita-layout.types.mjs +2 -0
- package/esm2020/lib/layouts/gallery-layout/gallery-facets.config.mjs +145 -0
- package/esm2020/lib/layouts/gallery-layout/gallery-layout.config.mjs +32 -0
- package/esm2020/lib/layouts/gallery-layout/gallery-layout.ds.mjs +15 -0
- package/esm2020/lib/layouts/gallery-layout/gallery-layout.eh.mjs +8 -0
- package/esm2020/lib/layouts/gallery-layout/gallery-layout.mjs +45 -0
- package/esm2020/lib/layouts/home-layout/home-layout.config.mjs +36 -0
- package/esm2020/lib/layouts/home-layout/home-layout.ds.mjs +286 -0
- package/esm2020/lib/layouts/home-layout/home-layout.eh.mjs +245 -0
- package/esm2020/lib/layouts/home-layout/home-layout.mjs +44 -0
- package/esm2020/lib/layouts/index.mjs +41 -0
- package/esm2020/lib/layouts/map-layout/map-layout.config.mjs +26 -0
- package/esm2020/lib/layouts/map-layout/map-layout.ds.mjs +112 -0
- package/esm2020/lib/layouts/map-layout/map-layout.eh.mjs +44 -0
- package/esm2020/lib/layouts/map-layout/map-layout.mjs +46 -0
- package/esm2020/lib/layouts/scheda-layout/scheda-layout.config.mjs +32 -0
- package/esm2020/lib/layouts/scheda-layout/scheda-layout.ds.mjs +282 -0
- package/esm2020/lib/layouts/scheda-layout/scheda-layout.eh.mjs +150 -0
- package/esm2020/lib/layouts/scheda-layout/scheda-layout.mjs +53 -0
- package/esm2020/lib/layouts/search-layout/search-facets.config.mjs +163 -0
- package/esm2020/lib/layouts/search-layout/search-layout.config.mjs +32 -0
- package/esm2020/lib/layouts/search-layout/search-layout.ds.mjs +296 -0
- package/esm2020/lib/layouts/search-layout/search-layout.eh.mjs +175 -0
- package/esm2020/lib/layouts/search-layout/search-layout.mjs +50 -0
- package/esm2020/lib/layouts/timeline-layout/timeline-layout.config.mjs +26 -0
- package/esm2020/lib/layouts/timeline-layout/timeline-layout.ds.mjs +133 -0
- package/esm2020/lib/layouts/timeline-layout/timeline-layout.eh.mjs +41 -0
- package/esm2020/lib/layouts/timeline-layout/timeline-layout.mjs +46 -0
- package/esm2020/lib/n7-boilerplate-arianna.module.mjs +110 -0
- package/esm2020/lib/search/aw-facet-inputs/aw-facet-input-checkbox.mjs +32 -0
- package/esm2020/lib/search/aw-facet-inputs/aw-facet-input-link.mjs +89 -0
- package/esm2020/lib/search/aw-facet-inputs/aw-facet-input-select.mjs +28 -0
- package/esm2020/lib/search/aw-facet-inputs/aw-facet-input-text.mjs +36 -0
- package/esm2020/lib/search/aw-facet-inputs/aw-facet-input.mjs +30 -0
- package/esm2020/lib/search/aw-facet-inputs/index.mjs +6 -0
- package/esm2020/lib/search/aw-search.model.mjs +331 -0
- package/esm2020/lib/search/aw-search.service.mjs +42 -0
- package/esm2020/lib/search/entity-links.helper.mjs +126 -0
- package/esm2020/net7-boilerplate-arianna.mjs +5 -0
- package/esm2020/public-api.mjs +11 -0
- package/fesm2015/net7-boilerplate-arianna.mjs +7482 -0
- package/fesm2015/net7-boilerplate-arianna.mjs.map +1 -0
- package/fesm2020/net7-boilerplate-arianna.mjs +7520 -0
- package/fesm2020/net7-boilerplate-arianna.mjs.map +1 -0
- package/lib/components/aw-facets-wrapper/aw-facets-wrapper.d.ts +9 -0
- package/lib/components/bubble-chart-wrapper/bubble-chart-wrapper.d.ts +9 -0
- package/lib/components/chart-tippy/chart-tippy.d.ts +9 -0
- package/lib/components/index.d.ts +6 -0
- package/lib/components/pdf-viewer/pdf-viewer.d.ts +38 -0
- package/lib/components/scheda-dropdown/scheda-dropdown.d.ts +23 -0
- package/lib/components/smart-breadcrumbs/smart-breadcrumbs.d.ts +71 -0
- package/lib/config/apollo.config.d.ts +67 -0
- package/lib/config-types/arianna/app.d.ts +103 -0
- package/lib/config-types/arianna/index.d.ts +2 -0
- package/lib/config-types/arianna/layouts.d.ts +164 -0
- package/lib/config-types/index.d.ts +1 -0
- package/lib/data-sources/autocomplete-wrapper.ds.d.ts +18 -0
- package/lib/data-sources/aw-facets-wrapper.ds.d.ts +50 -0
- package/lib/data-sources/bubble-chart.ds.d.ts +47 -0
- package/lib/data-sources/carousel.ds.d.ts +22 -0
- package/lib/data-sources/chart-tippy.ds.d.ts +4 -0
- package/lib/data-sources/entita-metadata-viewer.ds.d.ts +9 -0
- package/lib/data-sources/entita-nav.ds.d.ts +4 -0
- package/lib/data-sources/gallery-results.ds.d.ts +11 -0
- package/lib/data-sources/hero.ds.d.ts +20 -0
- package/lib/data-sources/home-autocomplete.ds.d.ts +37 -0
- package/lib/data-sources/home-facets-wrapper.ds.d.ts +14 -0
- package/lib/data-sources/home-hero-patrimonio.ds.d.ts +4 -0
- package/lib/data-sources/home-item-tags-wrapper.ds.d.ts +4 -0
- package/lib/data-sources/index.d.ts +27 -0
- package/lib/data-sources/linked-objects.ds.d.ts +22 -0
- package/lib/data-sources/map.ds.d.ts +17 -0
- package/lib/data-sources/related-entities.ds.d.ts +7 -0
- package/lib/data-sources/scheda-breadcrumbs.ds.d.ts +5 -0
- package/lib/data-sources/scheda-dropdown.ds.d.ts +7 -0
- package/lib/data-sources/scheda-image.ds.d.ts +10 -0
- package/lib/data-sources/scheda-inner-title.ds.d.ts +4 -0
- package/lib/data-sources/scheda-metadata.ds.d.ts +8 -0
- package/lib/data-sources/scheda-pdf.ds.d.ts +8 -0
- package/lib/data-sources/search-layout-tabs.ds.d.ts +12 -0
- package/lib/data-sources/sidebar-header.ds.d.ts +11 -0
- package/lib/data-sources/table.ds.d.ts +4 -0
- package/lib/data-sources/timeline.ds.d.ts +37 -0
- package/lib/data-sources/tree.ds.d.ts +19 -0
- package/lib/event-handlers/autocomplete-wrapper.eh.d.ts +4 -0
- package/lib/event-handlers/aw-facets-wrapper.eh.d.ts +7 -0
- package/lib/event-handlers/bubble-chart.eh.d.ts +7 -0
- package/lib/event-handlers/chart-tippy.eh.d.ts +6 -0
- package/lib/event-handlers/entita-nav.eh.d.ts +4 -0
- package/lib/event-handlers/gallery-results.eh.d.ts +4 -0
- package/lib/event-handlers/hero.eh.d.ts +4 -0
- package/lib/event-handlers/home-autocomplete.eh.d.ts +4 -0
- package/lib/event-handlers/home-facets-wrapper.eh.d.ts +7 -0
- package/lib/event-handlers/home-hero-patrimonio.eh.d.ts +4 -0
- package/lib/event-handlers/home-item-tags-wrapper.eh.d.ts +4 -0
- package/lib/event-handlers/index.d.ts +21 -0
- package/lib/event-handlers/linked-objects.eh.d.ts +5 -0
- package/lib/event-handlers/map.eh.d.ts +5 -0
- package/lib/event-handlers/scheda-breadcrumbs.eh.d.ts +4 -0
- package/lib/event-handlers/scheda-dropdown.eh.d.ts +4 -0
- package/lib/event-handlers/scheda-pdf.eh.d.ts +6 -0
- package/lib/event-handlers/search-layout-tabs.eh.d.ts +4 -0
- package/lib/event-handlers/sidebar-header.eh.d.ts +4 -0
- package/lib/event-handlers/table.eh.d.ts +4 -0
- package/lib/event-handlers/timeline.eh.d.ts +5 -0
- package/lib/event-handlers/tree.eh.d.ts +9 -0
- package/lib/helpers/metadata.helper.d.ts +15 -0
- package/lib/layouts/collection-layout/collection-layout.config.d.ts +13 -0
- package/lib/layouts/collection-layout/collection-layout.d.ts +21 -0
- package/lib/layouts/collection-layout/collection-layout.ds.d.ts +50 -0
- package/lib/layouts/collection-layout/collection-layout.eh.d.ts +6 -0
- package/lib/layouts/collection-layout/collection-layout.types.d.ts +31 -0
- package/lib/layouts/entita-layout/entita-layout.config.d.ts +29 -0
- package/lib/layouts/entita-layout/entita-layout.d.ts +28 -0
- package/lib/layouts/entita-layout/entita-layout.ds.d.ts +76 -0
- package/lib/layouts/entita-layout/entita-layout.eh.d.ts +13 -0
- package/lib/layouts/entita-layout/entita-layout.types.d.ts +17 -0
- package/lib/layouts/gallery-layout/gallery-facets.config.d.ts +150 -0
- package/lib/layouts/gallery-layout/gallery-layout.config.d.ts +38 -0
- package/lib/layouts/gallery-layout/gallery-layout.d.ts +26 -0
- package/lib/layouts/gallery-layout/gallery-layout.ds.d.ts +158 -0
- package/lib/layouts/gallery-layout/gallery-layout.eh.d.ts +4 -0
- package/lib/layouts/home-layout/home-layout.config.d.ts +15 -0
- package/lib/layouts/home-layout/home-layout.d.ts +23 -0
- package/lib/layouts/home-layout/home-layout.ds.d.ts +53 -0
- package/lib/layouts/home-layout/home-layout.eh.d.ts +11 -0
- package/lib/layouts/index.d.ts +32 -0
- package/lib/layouts/map-layout/map-layout.config.d.ts +22 -0
- package/lib/layouts/map-layout/map-layout.d.ts +23 -0
- package/lib/layouts/map-layout/map-layout.ds.d.ts +37 -0
- package/lib/layouts/map-layout/map-layout.eh.d.ts +5 -0
- package/lib/layouts/scheda-layout/scheda-layout.config.d.ts +19 -0
- package/lib/layouts/scheda-layout/scheda-layout.d.ts +33 -0
- package/lib/layouts/scheda-layout/scheda-layout.ds.d.ts +75 -0
- package/lib/layouts/scheda-layout/scheda-layout.eh.d.ts +11 -0
- package/lib/layouts/search-layout/search-facets.config.d.ts +168 -0
- package/lib/layouts/search-layout/search-layout.config.d.ts +38 -0
- package/lib/layouts/search-layout/search-layout.d.ts +31 -0
- package/lib/layouts/search-layout/search-layout.ds.d.ts +71 -0
- package/lib/layouts/search-layout/search-layout.eh.d.ts +31 -0
- package/lib/layouts/timeline-layout/timeline-layout.config.d.ts +22 -0
- package/lib/layouts/timeline-layout/timeline-layout.d.ts +23 -0
- package/lib/layouts/timeline-layout/timeline-layout.ds.d.ts +39 -0
- package/lib/layouts/timeline-layout/timeline-layout.eh.d.ts +5 -0
- package/lib/n7-boilerplate-arianna.module.d.ts +28 -0
- package/lib/search/aw-facet-inputs/aw-facet-input-checkbox.d.ts +18 -0
- package/lib/search/aw-facet-inputs/aw-facet-input-link.d.ts +8 -0
- package/lib/search/aw-facet-inputs/aw-facet-input-select.d.ts +21 -0
- package/lib/search/aw-facet-inputs/aw-facet-input-text.d.ts +30 -0
- package/lib/search/aw-facet-inputs/aw-facet-input.d.ts +35 -0
- package/lib/search/aw-facet-inputs/index.d.ts +5 -0
- package/lib/search/aw-search.model.d.ts +125 -0
- package/lib/search/aw-search.service.d.ts +13 -0
- package/lib/search/entity-links.helper.d.ts +12 -0
- package/net7-boilerplate-arianna.d.ts +5 -0
- package/package.json +36 -0
- package/public-api.d.ts +6 -0
- package/src/lib/styles/arianna/components/_advanced-autocomplete.scss +103 -0
- package/src/lib/styles/arianna/components/_breadcrumbs.scss +129 -0
- package/src/lib/styles/arianna/components/_bubble-popup-menu.scss +87 -0
- package/src/lib/styles/arianna/components/_carousel.scss +32 -0
- package/src/lib/styles/arianna/components/_facet-header.scss +58 -0
- package/src/lib/styles/arianna/components/_facet.scss +268 -0
- package/src/lib/styles/arianna/components/_footer.scss +64 -0
- package/src/lib/styles/arianna/components/_header.scss +61 -0
- package/src/lib/styles/arianna/components/_item-preview.scss +278 -0
- package/src/lib/styles/arianna/components/_map.scss +59 -0
- package/src/lib/styles/arianna/components/_metadata-viewer.scss +106 -0
- package/src/lib/styles/arianna/components/_pdf-viewer.scss +93 -0
- package/src/lib/styles/arianna/components/_simple-autocomplete.scss +60 -0
- package/src/lib/styles/arianna/components/_timeline.scss +112 -0
- package/src/lib/styles/arianna/components/_tippy-tooltip.scss +41 -0
- package/src/lib/styles/arianna/components/_tree.scss +110 -0
- package/src/lib/styles/arianna/generic/_color_scheme.scss +60 -0
- package/src/lib/styles/arianna/generic/_mixins.scss +18 -0
- package/src/lib/styles/arianna/generic/_variables.scss +380 -0
- package/src/lib/styles/arianna/layouts/_collection-layout.scss +200 -0
- package/src/lib/styles/arianna/layouts/_entita-layout.scss +344 -0
- package/src/lib/styles/arianna/layouts/_home-layout.scss +785 -0
- package/src/lib/styles/arianna/layouts/_multimedia-layout.scss +132 -0
- package/src/lib/styles/arianna/layouts/_scheda-layout.scss +438 -0
- package/src/lib/styles/arianna/layouts/_search-layout.scss +284 -0
- package/src/lib/styles/arianna/utilities/_item-preview-list.scss +48 -0
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* COLLECTION
|
|
3
|
+
*
|
|
4
|
+
* Style for the collection page.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
COLLECTION
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.aw-collection-layout {
|
|
11
|
+
margin: $space*3 auto $space*6 auto;
|
|
12
|
+
max-width: $page-max-width;
|
|
13
|
+
box-shadow: $search-box-shadow;
|
|
14
|
+
background-color: $color-background-base;
|
|
15
|
+
padding-bottom: $space*4;
|
|
16
|
+
|
|
17
|
+
&__header {
|
|
18
|
+
border-bottom: 1px solid $color-border-light;
|
|
19
|
+
|
|
20
|
+
.n7-inner-title {
|
|
21
|
+
padding: $space*3;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.n7-inner-title__title {
|
|
25
|
+
margin-bottom: 0;
|
|
26
|
+
font-size: $font-size-xl;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&__description {
|
|
31
|
+
padding: $space*3;
|
|
32
|
+
background-color: $color-background-light;
|
|
33
|
+
border-bottom: 1px solid $color-border-light;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&__description-text {
|
|
37
|
+
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&__grid {
|
|
41
|
+
padding: $space*3 $space*3 0 $space*3;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
&__btn-more {
|
|
46
|
+
margin: 0 auto;
|
|
47
|
+
display: block;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
/* ------------------------------------ *\
|
|
53
|
+
ITEM-PREVIEW
|
|
54
|
+
\* ------------------------------------ */
|
|
55
|
+
.aw-collection-layout {
|
|
56
|
+
|
|
57
|
+
.n7-item-preview,
|
|
58
|
+
.n7-item-preview.is-overlay.has-color,
|
|
59
|
+
.n7-item-preview.is-overlay.has-image,
|
|
60
|
+
.n7-item-preview.is-overlay.has-color.has-image {
|
|
61
|
+
margin-bottom: $space*3;
|
|
62
|
+
background-color: $collection-item-preview-default-color;
|
|
63
|
+
border-radius: $border-radius*2;
|
|
64
|
+
@include card-box-shadow;
|
|
65
|
+
|
|
66
|
+
.n7-item-preview__inner {
|
|
67
|
+
height: $collection-item-preview-height;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.n7-item-preview__content {
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-direction: column;
|
|
73
|
+
justify-content: flex-end;
|
|
74
|
+
align-items: flex-start;
|
|
75
|
+
box-sizing: border-box;
|
|
76
|
+
height: $collection-item-preview-height;
|
|
77
|
+
padding: $space*3;
|
|
78
|
+
border-radius: $border-radius*2;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.n7-item-preview__title {
|
|
82
|
+
margin: 0;
|
|
83
|
+
color: $color-text-inverse;
|
|
84
|
+
text-align: left;
|
|
85
|
+
font-size: $font-size-xl;
|
|
86
|
+
text-align: left;
|
|
87
|
+
text-shadow: 0 1px 2px rgba( 0,0,0,.05 );
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.n7-item-preview__text {
|
|
91
|
+
margin: $space 0 0 0;
|
|
92
|
+
color: $color-text-inverse;
|
|
93
|
+
text-align: left;
|
|
94
|
+
font-size: $font-size-m;
|
|
95
|
+
text-align: left;
|
|
96
|
+
text-shadow: 0 1px 2px rgba( 0,0,0,.05 );
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.n7-item-preview__image {
|
|
100
|
+
// background-image: url(/assets/images/arianna/logo_MAXXI_w_alpha.svg);
|
|
101
|
+
background-size: cover;
|
|
102
|
+
background-repeat: no-repeat;
|
|
103
|
+
background-position: center;
|
|
104
|
+
border-radius: $border-radius*2;
|
|
105
|
+
|
|
106
|
+
&:after {
|
|
107
|
+
border-radius: $border-radius*2;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.n7-item-preview.has-color {
|
|
113
|
+
.n7-item-preview__image {
|
|
114
|
+
&:after {
|
|
115
|
+
display: none;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/* Hover */
|
|
121
|
+
.n7-item-preview,
|
|
122
|
+
.n7-item-preview.is-overlay.has-color,
|
|
123
|
+
.n7-item-preview.is-overlay.has-image,
|
|
124
|
+
.n7-item-preview.is-overlay.has-color.has-image {
|
|
125
|
+
&:hover {
|
|
126
|
+
@include card-box-shadow-hover;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/* Types colors */
|
|
132
|
+
.aw-collection-layout {
|
|
133
|
+
|
|
134
|
+
.n7-item-preview.is-overlay.is-persona {
|
|
135
|
+
background-color: $color-people;
|
|
136
|
+
}
|
|
137
|
+
.n7-item-preview.is-overlay.is-luogo {
|
|
138
|
+
background-color: $color-places;
|
|
139
|
+
}
|
|
140
|
+
.n7-item-preview.is-overlay.is-concetto {
|
|
141
|
+
background-color: $color-concepts;
|
|
142
|
+
}
|
|
143
|
+
.n7-item-preview.is-overlay.is-cosa-notevole {
|
|
144
|
+
background-color: $color-things;
|
|
145
|
+
}
|
|
146
|
+
.n7-item-preview.is-overlay.is-organizzazione {
|
|
147
|
+
background-color: $color-organizations;
|
|
148
|
+
}
|
|
149
|
+
.n7-item-preview.is-overlay.is-famiglia {
|
|
150
|
+
background-color: $color-families;
|
|
151
|
+
}
|
|
152
|
+
.n7-item-preview.is-overlay.is-evento {
|
|
153
|
+
background-color: $color-events;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/* Oggetti culturali */
|
|
157
|
+
.n7-item-preview.is-overlay.is-unita-archivistica,
|
|
158
|
+
.n7-item-preview.is-overlay.is-vestimento,
|
|
159
|
+
.n7-item-preview.is-overlay.is-fotografia,
|
|
160
|
+
.n7-item-preview.is-overlay.is-cartografica,
|
|
161
|
+
.n7-item-preview.is-overlay.is-scheda-dublin-core,
|
|
162
|
+
.n7-item-preview.is-overlay.is-scheda-oa,
|
|
163
|
+
.n7-item-preview.is-overlay.is-materiale-musicale,
|
|
164
|
+
.n7-item-preview.is-overlay.is-opera-arte-contemporanea,
|
|
165
|
+
.n7-item-preview.is-overlay.is-libro-antico {
|
|
166
|
+
background-color: $color-oggetto-culturale;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/* Aggregazioni logiche */
|
|
170
|
+
.n7-item-preview.is-overlay.is-fondo-fotografico,
|
|
171
|
+
.n7-item-preview.is-overlay.is-aggregazione-logica {
|
|
172
|
+
background-color: $color-aggregazione-logica;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/* Watermark */
|
|
177
|
+
.aw-collection-layout {
|
|
178
|
+
.n7-item-preview.is-overlay.has-image.has-watermark {
|
|
179
|
+
.n7-item-preview__image {
|
|
180
|
+
background-size: auto 40px;
|
|
181
|
+
background-position: right 24px top 24px;
|
|
182
|
+
|
|
183
|
+
&:after {
|
|
184
|
+
display: none;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/* ------------------------------------ *\
|
|
191
|
+
LOADING
|
|
192
|
+
\* ------------------------------------ */
|
|
193
|
+
.aw-collection-layout {
|
|
194
|
+
.is-loading {
|
|
195
|
+
.n7-content-placeholder__item {
|
|
196
|
+
height: $collection-item-preview-height;
|
|
197
|
+
margin-bottom: $space*3;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
@@ -0,0 +1,344 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ENTITÀ
|
|
3
|
+
*
|
|
4
|
+
* Layout for entity page
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
ENTITY
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.aw-entity {
|
|
11
|
+
display: flex;
|
|
12
|
+
margin: $space*3 auto $space*6 auto;
|
|
13
|
+
max-width: $page-max-width;
|
|
14
|
+
position: relative;
|
|
15
|
+
|
|
16
|
+
&__content {
|
|
17
|
+
flex: 1;
|
|
18
|
+
min-width: $bubble-chart-column-container-min-width;
|
|
19
|
+
margin-top: $space*3;
|
|
20
|
+
background-color: $color-background-base;
|
|
21
|
+
box-shadow: 0 2px 20px 0 rgba(0,0,0,0.08);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
/* ------------------------------------ *\
|
|
27
|
+
#SIDEBAR
|
|
28
|
+
\* ------------------------------------ */
|
|
29
|
+
.aw-entity {
|
|
30
|
+
&__sidebar-title-wrapper {
|
|
31
|
+
padding: $space*2;
|
|
32
|
+
background-color: $color-background-light;
|
|
33
|
+
border: 1px solid $color-border-light;
|
|
34
|
+
box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.08);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&__sidebar-title {
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
margin: 0;
|
|
41
|
+
font-size: $font-size-xl;
|
|
42
|
+
|
|
43
|
+
.aw-entity__sidebar-title-icon {
|
|
44
|
+
margin-right: $space*1.5;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.color-persona & {
|
|
48
|
+
color: $color-people;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.color-luogo & {
|
|
52
|
+
color: $color-places;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.color-concetto & {
|
|
56
|
+
color: $color-concepts;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.color-cosa-notevole & {
|
|
60
|
+
color: $color-things;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.color-organizzazione & {
|
|
64
|
+
color: $color-organizations;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.color-famiglia & {
|
|
68
|
+
color: $color-families;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.color-evento & {
|
|
72
|
+
color: $color-events;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&__sidebar-title-text {
|
|
77
|
+
font-weight: $font-weight-black;
|
|
78
|
+
line-height: 1.15;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&__sidebar-title-wrapper {
|
|
82
|
+
background: $entity-sidebar-title-background;
|
|
83
|
+
border-top: 1px solid $color-border-light;
|
|
84
|
+
border-right: 1px solid $color-border-light;
|
|
85
|
+
border-left: 1px solid $color-border-light;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&__sidebar-title-text {
|
|
89
|
+
font-weight: $font-weight-black;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* Sidebar nav */
|
|
93
|
+
&__sidebar {
|
|
94
|
+
flex: 0 0 $aw-scheda-tree-width;
|
|
95
|
+
width: $aw-scheda-tree-width;
|
|
96
|
+
|
|
97
|
+
.n7-nav {
|
|
98
|
+
background-color: $color-background-base;
|
|
99
|
+
box-shadow: 0 2px 20px 0 rgba(0,0,0,0.08);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.n7-nav__item {
|
|
103
|
+
position: relative;
|
|
104
|
+
padding: $space*2;
|
|
105
|
+
|
|
106
|
+
/* Current item */
|
|
107
|
+
&.is-selected {
|
|
108
|
+
.n7-nav__label {
|
|
109
|
+
color: $color-text;
|
|
110
|
+
font-weight: $font-weight-bold;
|
|
111
|
+
|
|
112
|
+
&:hover {
|
|
113
|
+
color: $color-text;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&::before {
|
|
118
|
+
content: '';
|
|
119
|
+
display: block;
|
|
120
|
+
width: $space;
|
|
121
|
+
position: absolute;
|
|
122
|
+
top: 0;
|
|
123
|
+
right: 0;
|
|
124
|
+
bottom: 0;
|
|
125
|
+
background: $entity-nav-item-active-decoration-bg;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
// hide overview tab
|
|
129
|
+
&.overview-tab {
|
|
130
|
+
display: none;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.n7-nav__link {
|
|
135
|
+
display: block;
|
|
136
|
+
padding: 0;
|
|
137
|
+
border-bottom: 1px solid $color-border-light;
|
|
138
|
+
color: $color-text-light;
|
|
139
|
+
text-transform: uppercase;
|
|
140
|
+
font-size: $font-size-l;
|
|
141
|
+
|
|
142
|
+
&:hover {
|
|
143
|
+
color: $color-text-link;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
&:last-of-type {
|
|
148
|
+
.n7-nav__link {
|
|
149
|
+
border-bottom: none;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* Loading */
|
|
155
|
+
&__sidebar-title-wrapper-loading {
|
|
156
|
+
padding: $space*2;
|
|
157
|
+
background-color: $color-background-light;
|
|
158
|
+
border: 1px solid $color-border-light;
|
|
159
|
+
box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.08);
|
|
160
|
+
|
|
161
|
+
.entity-placeholder-title {
|
|
162
|
+
height: 29px;
|
|
163
|
+
margin-bottom: 0;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
&__sidebar-nav-loading {
|
|
168
|
+
background-color: $color-background-base;
|
|
169
|
+
box-shadow: 0 2px 20px 0 rgba(0,0,0,0.08);
|
|
170
|
+
|
|
171
|
+
.n7-content-placeholder {
|
|
172
|
+
padding: $space*2;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.entity-placeholder-nav {
|
|
176
|
+
height: 25px;
|
|
177
|
+
margin-bottom: 0;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
/* ------------------------------------ *\
|
|
184
|
+
#CONTENT
|
|
185
|
+
\* ------------------------------------ */
|
|
186
|
+
.aw-entity {
|
|
187
|
+
&__content-section {
|
|
188
|
+
padding: $space*3;
|
|
189
|
+
// border-bottom: 2px solid $color-border-light;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
&__content-section-header {
|
|
193
|
+
display: flex;
|
|
194
|
+
margin-bottom: $space*2.6;
|
|
195
|
+
align-items: center;
|
|
196
|
+
|
|
197
|
+
.n7-btn {
|
|
198
|
+
margin-left: auto;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
&__content-section-header-decorated {
|
|
203
|
+
padding-bottom: calc(#{$space}*3 - 0.3em);
|
|
204
|
+
border-bottom: 1px solid $color-border-light;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
&__content-section-title {
|
|
208
|
+
font-weight: $font-weight-normal;
|
|
209
|
+
font-size: $font-size-xxl;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
&__overview-description {
|
|
213
|
+
column-count: 2;
|
|
214
|
+
font-size: $font-size-m;
|
|
215
|
+
line-height: 1.70;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
&-layout__button-wrapper {
|
|
219
|
+
display: flex;
|
|
220
|
+
justify-content: flex-end;
|
|
221
|
+
padding-top: $space*1.5;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/* Hover on breadcrumbs */
|
|
225
|
+
n7-smart-breadcrumbs {
|
|
226
|
+
cursor: pointer;
|
|
227
|
+
|
|
228
|
+
&:hover {
|
|
229
|
+
+ n7-item-preview {
|
|
230
|
+
.n7-item-preview__title {
|
|
231
|
+
color: $color-main;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.n7-pagination {
|
|
238
|
+
margin-top: $space*4;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/* Bubble chart */
|
|
242
|
+
.n7-bubble-chart {
|
|
243
|
+
display: flex;
|
|
244
|
+
align-items: center;
|
|
245
|
+
justify-content: center;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
#bubbleChartContainer {
|
|
249
|
+
height: 100%;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/* Bubble chart in overview */
|
|
253
|
+
.aw-entity__bubble-chart-wrapper-small {
|
|
254
|
+
.n7-bubble-chart {
|
|
255
|
+
height: $bubble-section-entity-overview;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/* Bubble chart detail */
|
|
260
|
+
.aw-entity__bubble-chart-wrapper {
|
|
261
|
+
.n7-bubble-chart {
|
|
262
|
+
height: $bubble-section-entity-detail;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
/* Related entities list */
|
|
267
|
+
.aw-entity__related-items {
|
|
268
|
+
// padding: 0 $aw-scheda-content-padding $aw-scheda-content-padding $aw-scheda-content-padding;
|
|
269
|
+
/* Targeting elements in the last row */
|
|
270
|
+
>*:nth-child(2n + 1):nth-last-child(-n + 2),
|
|
271
|
+
>*:nth-child(2n + 1):nth-last-child(-n + 2) ~ * {
|
|
272
|
+
.n7-item-preview {
|
|
273
|
+
margin-bottom: 0;
|
|
274
|
+
padding-bottom: 0;
|
|
275
|
+
border-bottom: 0;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/* Empty state */
|
|
281
|
+
&__content-section-empty {
|
|
282
|
+
display: block;
|
|
283
|
+
margin: $space auto;
|
|
284
|
+
text-align: center;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/* Loading */
|
|
288
|
+
&__content-loading {
|
|
289
|
+
flex: 1;
|
|
290
|
+
min-width: $bubble-chart-column-container-min-width;
|
|
291
|
+
margin-top: $space*3;
|
|
292
|
+
background-color: $color-background-base;
|
|
293
|
+
box-shadow: 0 2px 20px 0 rgba(0,0,0,0.08);
|
|
294
|
+
|
|
295
|
+
.aw-entity__content-loading-title {
|
|
296
|
+
width: 40%;
|
|
297
|
+
padding: $space*3;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.entity-placeholder-title {
|
|
301
|
+
height: 45px;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.aw-entity__content-loading-items {
|
|
305
|
+
.n7-content-placeholder {
|
|
306
|
+
padding: $space*1 $space*3;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.entity-placeholder-item-preview {
|
|
310
|
+
height: 25px;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
/* ------------------------------------ *\
|
|
318
|
+
#MEDIA-QUERIES
|
|
319
|
+
\* ------------------------------------ */
|
|
320
|
+
@media all and (max-width: 1120px) {
|
|
321
|
+
|
|
322
|
+
.aw-entity {
|
|
323
|
+
&__overview-description {
|
|
324
|
+
column-count: 1;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.n7-metadata-viewer {
|
|
328
|
+
column-count: 1;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/* Retina */
|
|
343
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
344
|
+
}
|