@net7/components 3.0.2-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/advanced-autocomplete/advanced-autocomplete.mjs +25 -0
- package/esm2020/lib/components/advanced-autocomplete/advanced-autocomplete.mock.mjs +100 -0
- package/esm2020/lib/components/alert/alert.mjs +24 -0
- package/esm2020/lib/components/alert/alert.mock.mjs +11 -0
- package/esm2020/lib/components/anchor-wrapper/anchor-wrapper.mjs +35 -0
- package/esm2020/lib/components/breadcrumbs/breadcrumbs.mjs +25 -0
- package/esm2020/lib/components/breadcrumbs/breadcrumbs.mock.mjs +25 -0
- package/esm2020/lib/components/bubble-chart/bubble-chart.mjs +315 -0
- package/esm2020/lib/components/bubble-chart/bubble-chart.mock.mjs +4025 -0
- package/esm2020/lib/components/carousel/carousel.mjs +89 -0
- package/esm2020/lib/components/carousel/carousel.mock.mjs +135 -0
- package/esm2020/lib/components/chart/chart.mjs +37 -0
- package/esm2020/lib/components/chart/chart.mock.mjs +112 -0
- package/esm2020/lib/components/content-placeholder/content-placeholder.mjs +17 -0
- package/esm2020/lib/components/content-placeholder/content-placeholder.mock.mjs +13 -0
- package/esm2020/lib/components/data-widget/data-widget.mjs +29 -0
- package/esm2020/lib/components/data-widget/data-widget.mock.mjs +13 -0
- package/esm2020/lib/components/datepicker/datepicker.mjs +44 -0
- package/esm2020/lib/components/datepicker/datepicker.mock.mjs +8 -0
- package/esm2020/lib/components/facet/facet.mjs +24 -0
- package/esm2020/lib/components/facet/facet.mock.mjs +103 -0
- package/esm2020/lib/components/facet-header/facet-header.mjs +24 -0
- package/esm2020/lib/components/facet-header/facet-header.mock.mjs +9 -0
- package/esm2020/lib/components/facet-year-range/facet-year-range.mjs +53 -0
- package/esm2020/lib/components/facet-year-range/facet-year-range.mock.mjs +30 -0
- package/esm2020/lib/components/footer/footer.mjs +25 -0
- package/esm2020/lib/components/footer/footer.mock.mjs +48 -0
- package/esm2020/lib/components/header/header.mjs +51 -0
- package/esm2020/lib/components/header/header.mock.mjs +83 -0
- package/esm2020/lib/components/hero/hero.mjs +41 -0
- package/esm2020/lib/components/hero/hero.mock.mjs +25 -0
- package/esm2020/lib/components/histogram-range/histogram-range.mjs +376 -0
- package/esm2020/lib/components/histogram-range/histogram-range.mock.mjs +243 -0
- package/esm2020/lib/components/image-viewer/image-viewer.mjs +55 -0
- package/esm2020/lib/components/image-viewer/image-viewer.mock.mjs +25 -0
- package/esm2020/lib/components/image-viewer-tools/image-viewer-tools.mjs +28 -0
- package/esm2020/lib/components/image-viewer-tools/image-viewer-tools.mock.mjs +54 -0
- package/esm2020/lib/components/inner-title/inner-title.mjs +40 -0
- package/esm2020/lib/components/inner-title/inner-title.mock.mjs +52 -0
- package/esm2020/lib/components/input-checkbox/input-checkbox.mjs +24 -0
- package/esm2020/lib/components/input-checkbox/input-checkbox.mock.mjs +25 -0
- package/esm2020/lib/components/input-link/input-link.mjs +24 -0
- package/esm2020/lib/components/input-link/input-link.mock.mjs +38 -0
- package/esm2020/lib/components/input-select/input-select.mjs +24 -0
- package/esm2020/lib/components/input-select/input-select.mock.mjs +12 -0
- package/esm2020/lib/components/input-text/input-text.mjs +24 -0
- package/esm2020/lib/components/input-text/input-text.mock.mjs +13 -0
- package/esm2020/lib/components/item-preview/item-preview.mjs +25 -0
- package/esm2020/lib/components/item-preview/item-preview.mock.mjs +43 -0
- package/esm2020/lib/components/loader/loader.mjs +16 -0
- package/esm2020/lib/components/loader/loader.mock.mjs +4 -0
- package/esm2020/lib/components/map/map.mjs +64 -0
- package/esm2020/lib/components/map/map.mock.mjs +25 -0
- package/esm2020/lib/components/metadata-viewer/metadata-viewer.mjs +19 -0
- package/esm2020/lib/components/metadata-viewer/metadata-viewer.mock.mjs +74 -0
- package/esm2020/lib/components/nav/nav.mjs +22 -0
- package/esm2020/lib/components/nav/nav.mock.mjs +29 -0
- package/esm2020/lib/components/pagination/pagination.mjs +31 -0
- package/esm2020/lib/components/pagination/pagination.mock.mjs +23 -0
- package/esm2020/lib/components/progress-line/progress-line.mjs +19 -0
- package/esm2020/lib/components/progress-line/progress-line.mock.mjs +5 -0
- package/esm2020/lib/components/sidebar-header/sidebar-header.mjs +24 -0
- package/esm2020/lib/components/sidebar-header/sidebar-header.mock.mjs +9 -0
- package/esm2020/lib/components/signup/signup.mjs +44 -0
- package/esm2020/lib/components/signup/signup.mock.mjs +106 -0
- package/esm2020/lib/components/simple-autocomplete/simple-autocomplete.mjs +25 -0
- package/esm2020/lib/components/simple-autocomplete/simple-autocomplete.mock.mjs +15 -0
- package/esm2020/lib/components/table/table.mjs +35 -0
- package/esm2020/lib/components/table/table.mock.mjs +152 -0
- package/esm2020/lib/components/tag/tag.mjs +24 -0
- package/esm2020/lib/components/tag/tag.mock.mjs +8 -0
- package/esm2020/lib/components/text-viewer/text-viewer.mjs +37 -0
- package/esm2020/lib/components/text-viewer/text-viewer.mock.mjs +39 -0
- package/esm2020/lib/components/timeline/timeline.mjs +51 -0
- package/esm2020/lib/components/timeline/timeline.mock.mjs +137 -0
- package/esm2020/lib/components/toast/toast.mjs +24 -0
- package/esm2020/lib/components/toast/toast.mock.mjs +47 -0
- package/esm2020/lib/components/tooltip-content/tooltip-content.mjs +25 -0
- package/esm2020/lib/components/tooltip-content/tooltip-content.mock.mjs +19 -0
- package/esm2020/lib/components/tree/tree.mjs +25 -0
- package/esm2020/lib/components/tree/tree.mock.mjs +274 -0
- package/esm2020/lib/components/wizard/wizard.mjs +24 -0
- package/esm2020/lib/components/wizard/wizard.mock.mjs +29 -0
- package/esm2020/lib/dv-components-lib.module.mjs +191 -0
- package/esm2020/lib/shared-interfaces.mjs +2 -0
- package/esm2020/net7-components.mjs +5 -0
- package/esm2020/public-api.mjs +93 -0
- package/fesm2015/net7-components.mjs +8154 -0
- package/fesm2015/net7-components.mjs.map +1 -0
- package/fesm2020/net7-components.mjs +8168 -0
- package/fesm2020/net7-components.mjs.map +1 -0
- package/lib/components/advanced-autocomplete/advanced-autocomplete.d.ts +57 -0
- package/lib/components/advanced-autocomplete/advanced-autocomplete.mock.d.ts +2 -0
- package/lib/components/alert/alert.d.ts +46 -0
- package/lib/components/alert/alert.mock.d.ts +2 -0
- package/lib/components/anchor-wrapper/anchor-wrapper.d.ts +16 -0
- package/lib/components/breadcrumbs/breadcrumbs.d.ts +50 -0
- package/lib/components/breadcrumbs/breadcrumbs.mock.d.ts +2 -0
- package/lib/components/bubble-chart/bubble-chart.d.ts +108 -0
- package/lib/components/bubble-chart/bubble-chart.mock.d.ts +2 -0
- package/lib/components/carousel/carousel.d.ts +166 -0
- package/lib/components/carousel/carousel.mock.d.ts +2 -0
- package/lib/components/chart/chart.d.ts +46 -0
- package/lib/components/chart/chart.mock.d.ts +2 -0
- package/lib/components/content-placeholder/content-placeholder.d.ts +28 -0
- package/lib/components/content-placeholder/content-placeholder.mock.d.ts +2 -0
- package/lib/components/data-widget/data-widget.d.ts +50 -0
- package/lib/components/data-widget/data-widget.mock.d.ts +2 -0
- package/lib/components/datepicker/datepicker.d.ts +43 -0
- package/lib/components/datepicker/datepicker.mock.d.ts +2 -0
- package/lib/components/facet/facet.d.ts +129 -0
- package/lib/components/facet/facet.mock.d.ts +2 -0
- package/lib/components/facet-header/facet-header.d.ts +44 -0
- package/lib/components/facet-header/facet-header.mock.d.ts +2 -0
- package/lib/components/facet-year-range/facet-year-range.d.ts +83 -0
- package/lib/components/facet-year-range/facet-year-range.mock.d.ts +2 -0
- package/lib/components/footer/footer.d.ts +118 -0
- package/lib/components/footer/footer.mock.d.ts +2 -0
- package/lib/components/header/header.d.ts +281 -0
- package/lib/components/header/header.mock.d.ts +2 -0
- package/lib/components/hero/hero.d.ts +75 -0
- package/lib/components/hero/hero.mock.d.ts +2 -0
- package/lib/components/histogram-range/histogram-range.d.ts +113 -0
- package/lib/components/histogram-range/histogram-range.mock.d.ts +2 -0
- package/lib/components/image-viewer/image-viewer.d.ts +61 -0
- package/lib/components/image-viewer/image-viewer.mock.d.ts +2 -0
- package/lib/components/image-viewer-tools/image-viewer-tools.d.ts +116 -0
- package/lib/components/image-viewer-tools/image-viewer-tools.mock.d.ts +2 -0
- package/lib/components/inner-title/inner-title.d.ts +61 -0
- package/lib/components/inner-title/inner-title.mock.d.ts +2 -0
- package/lib/components/input-checkbox/input-checkbox.d.ts +67 -0
- package/lib/components/input-checkbox/input-checkbox.mock.d.ts +2 -0
- package/lib/components/input-link/input-link.d.ts +54 -0
- package/lib/components/input-link/input-link.mock.d.ts +2 -0
- package/lib/components/input-select/input-select.d.ts +67 -0
- package/lib/components/input-select/input-select.mock.d.ts +2 -0
- package/lib/components/input-text/input-text.d.ts +81 -0
- package/lib/components/input-text/input-text.mock.d.ts +2 -0
- package/lib/components/item-preview/item-preview.d.ts +93 -0
- package/lib/components/item-preview/item-preview.mock.d.ts +2 -0
- package/lib/components/loader/loader.d.ts +22 -0
- package/lib/components/loader/loader.mock.d.ts +2 -0
- package/lib/components/map/map.d.ts +69 -0
- package/lib/components/map/map.mock.d.ts +2 -0
- package/lib/components/metadata-viewer/metadata-viewer.d.ts +65 -0
- package/lib/components/metadata-viewer/metadata-viewer.mock.d.ts +8 -0
- package/lib/components/nav/nav.d.ts +66 -0
- package/lib/components/nav/nav.mock.d.ts +2 -0
- package/lib/components/pagination/pagination.d.ts +94 -0
- package/lib/components/pagination/pagination.mock.d.ts +2 -0
- package/lib/components/progress-line/progress-line.d.ts +23 -0
- package/lib/components/progress-line/progress-line.mock.d.ts +2 -0
- package/lib/components/sidebar-header/sidebar-header.d.ts +44 -0
- package/lib/components/sidebar-header/sidebar-header.mock.d.ts +2 -0
- package/lib/components/signup/signup.d.ts +109 -0
- package/lib/components/signup/signup.mock.d.ts +2 -0
- package/lib/components/simple-autocomplete/simple-autocomplete.d.ts +40 -0
- package/lib/components/simple-autocomplete/simple-autocomplete.mock.d.ts +2 -0
- package/lib/components/table/table.d.ts +89 -0
- package/lib/components/table/table.mock.d.ts +2 -0
- package/lib/components/tag/tag.d.ts +45 -0
- package/lib/components/tag/tag.mock.d.ts +2 -0
- package/lib/components/text-viewer/text-viewer.d.ts +34 -0
- package/lib/components/text-viewer/text-viewer.mock.d.ts +2 -0
- package/lib/components/timeline/timeline.d.ts +30 -0
- package/lib/components/timeline/timeline.mock.d.ts +2 -0
- package/lib/components/toast/toast.d.ts +84 -0
- package/lib/components/toast/toast.mock.d.ts +2 -0
- package/lib/components/tooltip-content/tooltip-content.d.ts +24 -0
- package/lib/components/tooltip-content/tooltip-content.mock.d.ts +2 -0
- package/lib/components/tree/tree.d.ts +79 -0
- package/lib/components/tree/tree.mock.d.ts +2 -0
- package/lib/components/wizard/wizard.d.ts +57 -0
- package/lib/components/wizard/wizard.mock.d.ts +2 -0
- package/lib/dv-components-lib.module.d.ts +50 -0
- package/lib/shared-interfaces.d.ts +60 -0
- package/net7-components.d.ts +5 -0
- package/package.json +44 -0
- package/public-api.d.ts +85 -0
- package/src/lib/styles/_imports.scss +77 -0
- package/src/lib/styles/atoms/_button.scss +205 -0
- package/src/lib/styles/components/_advanced-autocomplete.scss +190 -0
- package/src/lib/styles/components/_alert.scss +115 -0
- package/src/lib/styles/components/_anchor-wrapper.scss +29 -0
- package/src/lib/styles/components/_breadcrumbs.scss +99 -0
- package/src/lib/styles/components/_bubble-chart.scss +33 -0
- package/src/lib/styles/components/_carousel.scss +184 -0
- package/src/lib/styles/components/_chart.scss +28 -0
- package/src/lib/styles/components/_content-placeholder.scss +74 -0
- package/src/lib/styles/components/_data-widget.scss +93 -0
- package/src/lib/styles/components/_datepicker.scss +29 -0
- package/src/lib/styles/components/_facet-header.scss +58 -0
- package/src/lib/styles/components/_facet-year-range.scss +63 -0
- package/src/lib/styles/components/_facet.scss +164 -0
- package/src/lib/styles/components/_footer.scss +116 -0
- package/src/lib/styles/components/_header.scss +474 -0
- package/src/lib/styles/components/_hero.scss +207 -0
- package/src/lib/styles/components/_histogram-range.scss +36 -0
- package/src/lib/styles/components/_image-viewer-tools.scss +225 -0
- package/src/lib/styles/components/_image-viewer.scss +173 -0
- package/src/lib/styles/components/_inner-title.scss +161 -0
- package/src/lib/styles/components/_input-checkbox.scss +50 -0
- package/src/lib/styles/components/_input-link.scss +78 -0
- package/src/lib/styles/components/_input-select.scss +25 -0
- package/src/lib/styles/components/_input-text.scss +53 -0
- package/src/lib/styles/components/_item-preview.scss +218 -0
- package/src/lib/styles/components/_loader.scss +54 -0
- package/src/lib/styles/components/_map.scss +31 -0
- package/src/lib/styles/components/_metadata-viewer.scss +52 -0
- package/src/lib/styles/components/_nav.scss +57 -0
- package/src/lib/styles/components/_pagination.scss +170 -0
- package/src/lib/styles/components/_progress-line.scss +53 -0
- package/src/lib/styles/components/_sidebar-header.scss +69 -0
- package/src/lib/styles/components/_signup.scss +157 -0
- package/src/lib/styles/components/_simple-autocomplete.scss +60 -0
- package/src/lib/styles/components/_table.scss +129 -0
- package/src/lib/styles/components/_tag.scss +51 -0
- package/src/lib/styles/components/_text-viewer.scss +446 -0
- package/src/lib/styles/components/_timeline.scss +29 -0
- package/src/lib/styles/components/_toast.scss +99 -0
- package/src/lib/styles/components/_tooltip-content.scss +29 -0
- package/src/lib/styles/components/_tree.scss +208 -0
- package/src/lib/styles/components/_wizard.scss +150 -0
- package/src/lib/styles/generic/_color_scheme.scss +27 -0
- package/src/lib/styles/generic/_mixins.scss +81 -0
- package/src/lib/styles/generic/_variables.scss +385 -0
- package/src/lib/styles/global/_forms.scss +122 -0
- package/src/lib/styles/global/_global.scss +46 -0
- package/src/lib/styles/global/_normalize.scss +433 -0
- package/src/lib/styles/global/_typography.scss +88 -0
- package/src/lib/styles/utilities/_grids.scss +361 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/* ------------------------------------ *\
|
|
2
|
+
#INPUT TEXT
|
|
3
|
+
\* ------------------------------------ */
|
|
4
|
+
.n7-input-text {
|
|
5
|
+
|
|
6
|
+
&__label {
|
|
7
|
+
display: block;
|
|
8
|
+
font-size: $font-size-s;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&__wrapper {
|
|
12
|
+
position: relative;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&__text[type="text"], &__text[type="number"] {
|
|
16
|
+
width: 100%;
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&__text[type="number"] {
|
|
21
|
+
padding-right: 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.has-icon {
|
|
25
|
+
input {
|
|
26
|
+
padding-right: $space*4;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&__icon {
|
|
31
|
+
position: absolute;
|
|
32
|
+
bottom: 0;
|
|
33
|
+
right: $space;
|
|
34
|
+
line-height: $form-input-height;
|
|
35
|
+
color: $color-text-light;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* ------------------------------------ *\
|
|
40
|
+
#MEDIA-QUERIES
|
|
41
|
+
\* ------------------------------------ */
|
|
42
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* Retina */
|
|
52
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
53
|
+
}
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ITEM-PREVIEW
|
|
3
|
+
*
|
|
4
|
+
* Component used to preview any kind of element with image, title, text, metadata and icons.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
#ITEM-PREVIEW
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.n7-item-preview {
|
|
11
|
+
/* anchor-wrapper wrapper af all contents */
|
|
12
|
+
&__inner {
|
|
13
|
+
cursor: default;
|
|
14
|
+
position: relative;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&__title {
|
|
18
|
+
margin-bottom: $space;
|
|
19
|
+
font-family: $font-family-headings;
|
|
20
|
+
font-size: $font-size-l;
|
|
21
|
+
font-weight: $font-weight-bold;
|
|
22
|
+
color: $color-text;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&__text {
|
|
26
|
+
margin-bottom: $space;
|
|
27
|
+
font-family: $font-family-main;
|
|
28
|
+
font-size: $font-size-s;
|
|
29
|
+
font-weight: $font-weight-normal;
|
|
30
|
+
color: $color-text;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* Metadata */
|
|
34
|
+
&__metadata-group {
|
|
35
|
+
margin-bottom: $space;
|
|
36
|
+
color: $color-text;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&__metadata-group-title {
|
|
40
|
+
margin-bottom: $space;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&__metadata-item {
|
|
44
|
+
display: inline-block;
|
|
45
|
+
margin-right: $space;
|
|
46
|
+
|
|
47
|
+
&:last-child {
|
|
48
|
+
margin-right: 0;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&__metadata-item-icon {
|
|
53
|
+
margin-right: calc($space/2);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&__metadata-item-label {
|
|
57
|
+
margin-right: calc($space/2);
|
|
58
|
+
font-family: $font-family-main;
|
|
59
|
+
font-size: $font-size-s;
|
|
60
|
+
font-weight: $font-weight-normal;
|
|
61
|
+
vertical-align: top;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&__metadata-item-value {
|
|
65
|
+
font-family: $font-family-main;
|
|
66
|
+
font-size: $font-size-s;
|
|
67
|
+
font-weight: $font-weight-bold;
|
|
68
|
+
vertical-align: top;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
/* ------------------------------------ *\
|
|
74
|
+
#HAS-IMAGE, #HAS-COLOR
|
|
75
|
+
\* ------------------------------------ */
|
|
76
|
+
.n7-item-preview.has-image,
|
|
77
|
+
.n7-item-preview.has-color {
|
|
78
|
+
.n7-item-preview__inner {
|
|
79
|
+
display: flex;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.n7-item-preview__image { /* Color background here */
|
|
83
|
+
width: $item-preview-image-width;
|
|
84
|
+
height: $item-preview-image-height;
|
|
85
|
+
margin-right: $space*1.5;
|
|
86
|
+
background-repeat: no-repeat;
|
|
87
|
+
background-size: cover;
|
|
88
|
+
background-position: center center;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.n7-item-preview__content {
|
|
92
|
+
flex: 1;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
/* ------------------------------------ *\
|
|
98
|
+
#IS-VERTICAL
|
|
99
|
+
\* ------------------------------------ */
|
|
100
|
+
.n7-item-preview.is-vertical.has-image,
|
|
101
|
+
.n7-item-preview.is-vertical.has-color {
|
|
102
|
+
.n7-item-preview__inner {
|
|
103
|
+
display: block;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.n7-item-preview__image { /* Color background here */
|
|
107
|
+
width: 100%;
|
|
108
|
+
height: $item-preview-vertical-image-height;
|
|
109
|
+
margin-bottom: $space;
|
|
110
|
+
margin-right: 0;
|
|
111
|
+
background-repeat: no-repeat;
|
|
112
|
+
background-size: cover;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
/* ------------------------------------ *\
|
|
118
|
+
#IS-OVERLAY
|
|
119
|
+
\* ------------------------------------ */
|
|
120
|
+
.n7-item-preview.is-overlay.has-image,
|
|
121
|
+
.n7-item-preview.is-overlay.has-color {
|
|
122
|
+
.n7-item-preview__inner {
|
|
123
|
+
display: block;
|
|
124
|
+
height: $item-preview-height;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.n7-item-preview__image { /* Color background here */
|
|
128
|
+
position: absolute;
|
|
129
|
+
top: 0;
|
|
130
|
+
bottom: 0;
|
|
131
|
+
left: 0;
|
|
132
|
+
right: 0;
|
|
133
|
+
width: auto;
|
|
134
|
+
height: auto;
|
|
135
|
+
margin-right: 0;
|
|
136
|
+
z-index: 1;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.n7-item-preview__content {
|
|
140
|
+
position: absolute;
|
|
141
|
+
z-index: 2;
|
|
142
|
+
top: 0;
|
|
143
|
+
bottom: 0;
|
|
144
|
+
right: 0;
|
|
145
|
+
left: 0;
|
|
146
|
+
display: flex;
|
|
147
|
+
flex-direction: column;
|
|
148
|
+
align-items: center;
|
|
149
|
+
justify-content: center;
|
|
150
|
+
padding: $space*2;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.n7-item-preview__title,
|
|
154
|
+
.n7-item-preview__text,
|
|
155
|
+
.n7-item-preview__metadata-group-title {
|
|
156
|
+
text-align: center;
|
|
157
|
+
color: $color-text-inverse;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.n7-item-preview__metadata-group {
|
|
161
|
+
text-align: center;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.n7-item-preview__metadata-item-icon,
|
|
165
|
+
.n7-item-preview__metadata-item-label,
|
|
166
|
+
.n7-item-preview__metadata-item-value {
|
|
167
|
+
color: $color-text-inverse;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/* Dark overlay behind the text only with image (not with color bg only) */
|
|
172
|
+
.n7-item-preview.is-overlay.has-image {
|
|
173
|
+
.n7-item-preview__image { /* Color background here */
|
|
174
|
+
&:after {
|
|
175
|
+
content: " ";
|
|
176
|
+
position: absolute;
|
|
177
|
+
z-index: 1;
|
|
178
|
+
top: 0;
|
|
179
|
+
bottom: 0;
|
|
180
|
+
left: 0;
|
|
181
|
+
right: 0;
|
|
182
|
+
background-color: rgba(0,0,0,0.5);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
/* ------------------------------------ *\
|
|
189
|
+
#HOVER
|
|
190
|
+
\* ------------------------------------ */
|
|
191
|
+
/* Only applied when the class .has-link is present */
|
|
192
|
+
.n7-item-preview.has-link {
|
|
193
|
+
.n7-item-preview__inner {
|
|
194
|
+
cursor: pointer;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
&:hover {
|
|
198
|
+
.n7-item-preview__title {
|
|
199
|
+
color: $color-text-link;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/* ------------------------------------ *\
|
|
205
|
+
#MEDIA-QUERIES
|
|
206
|
+
\* ------------------------------------ */
|
|
207
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/* Retina */
|
|
217
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
218
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LOADER
|
|
3
|
+
*
|
|
4
|
+
* Style for loader.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
LOADER
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.n7-loader {
|
|
11
|
+
position: relative;
|
|
12
|
+
text-indent: -9999em;
|
|
13
|
+
border-top: 1.1em solid $loader-color-back;
|
|
14
|
+
border-right: 1.1em solid $loader-color-back;
|
|
15
|
+
border-bottom: 1.1em solid $loader-color-back;
|
|
16
|
+
border-left: 1.1em solid $loader-color-front;
|
|
17
|
+
border-width: $loader-thickness;
|
|
18
|
+
-webkit-transform: translateZ(0);
|
|
19
|
+
-ms-transform: translateZ(0);
|
|
20
|
+
transform: translateZ(0);
|
|
21
|
+
-webkit-animation: load8 1s infinite linear;
|
|
22
|
+
animation: load8 1s infinite linear;
|
|
23
|
+
|
|
24
|
+
&, &:after {
|
|
25
|
+
border-radius: 50%;
|
|
26
|
+
width: $loader-size !important;
|
|
27
|
+
height: $loader-size !important;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
/* ------------------------------------ *\
|
|
33
|
+
ANIMATION
|
|
34
|
+
\* ------------------------------------ */
|
|
35
|
+
@-webkit-keyframes load8 {
|
|
36
|
+
0% {
|
|
37
|
+
-webkit-transform: rotate(0deg);
|
|
38
|
+
transform: rotate(0deg);
|
|
39
|
+
}
|
|
40
|
+
100% {
|
|
41
|
+
-webkit-transform: rotate(360deg);
|
|
42
|
+
transform: rotate(360deg);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
@keyframes load8 {
|
|
46
|
+
0% {
|
|
47
|
+
-webkit-transform: rotate(0deg);
|
|
48
|
+
transform: rotate(0deg);
|
|
49
|
+
}
|
|
50
|
+
100% {
|
|
51
|
+
-webkit-transform: rotate(360deg);
|
|
52
|
+
transform: rotate(360deg);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MAP
|
|
3
|
+
*
|
|
4
|
+
* Brief description of the component here.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
#MAP
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.n7-map {
|
|
11
|
+
&__container {
|
|
12
|
+
height: 600px;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/* ------------------------------------ *\
|
|
18
|
+
#MEDIA-QUERIES
|
|
19
|
+
\* ------------------------------------ */
|
|
20
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* Retina */
|
|
30
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
31
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* METADATA-VIEWER
|
|
3
|
+
*
|
|
4
|
+
* Component to display metadata organized and nested in groups.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
#METADATA-VIEWER
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.n7-metadata-viewer {
|
|
11
|
+
&__group-wrapper {
|
|
12
|
+
.n7-metadata-viewer__group-wrapper {
|
|
13
|
+
padding-left: $space*2;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&__group {
|
|
18
|
+
margin-bottom: $space*2;
|
|
19
|
+
break-inside: avoid;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&__group-title {
|
|
23
|
+
margin-bottom: $space*2;
|
|
24
|
+
font-size: $font-size-xl;
|
|
25
|
+
font-weight: $font-weight-bold;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__item {
|
|
29
|
+
margin-bottom: $space*1.5;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&__item-label {
|
|
33
|
+
font-weight: $font-weight-bold;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
/* ------------------------------------ *\
|
|
39
|
+
#MEDIA-QUERIES
|
|
40
|
+
\* ------------------------------------ */
|
|
41
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* Retina */
|
|
51
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
52
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NAV
|
|
3
|
+
*
|
|
4
|
+
* Generic navigation tool that can be user for secondary navigation,
|
|
5
|
+
* inner page navigation and virtually any situation when you need
|
|
6
|
+
* a menu.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/* ------------------------------------ *\
|
|
10
|
+
NAV
|
|
11
|
+
\* ------------------------------------ */
|
|
12
|
+
.n7-nav {
|
|
13
|
+
&__list {
|
|
14
|
+
padding: 0;
|
|
15
|
+
margin: 0;
|
|
16
|
+
list-style: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&__link {
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&__item {
|
|
24
|
+
padding: 0;
|
|
25
|
+
margin: 0;
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&__image {
|
|
31
|
+
height: $nav-image-height;
|
|
32
|
+
width: $nav-image-width;
|
|
33
|
+
object-fit: contain;
|
|
34
|
+
margin-right: calc($space/2);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&__icon {
|
|
38
|
+
margin-right: calc($space/2);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
/* ------------------------------------ *\
|
|
44
|
+
#MEDIA-QUERIES
|
|
45
|
+
\* ------------------------------------ */
|
|
46
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/* Retina */
|
|
56
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
57
|
+
}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PAGINATION
|
|
3
|
+
*
|
|
4
|
+
* Common pagination component used at the bottom of lists and feeds.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
#PAGINATION
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.n7-pagination {
|
|
11
|
+
display: flex;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
align-items: center;
|
|
14
|
+
|
|
15
|
+
&__items {
|
|
16
|
+
display: flex;
|
|
17
|
+
list-style: none;
|
|
18
|
+
padding: 0;
|
|
19
|
+
margin: 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&__items {
|
|
23
|
+
> li {
|
|
24
|
+
margin-left: calc($space/2);
|
|
25
|
+
margin-right: calc($space/2);
|
|
26
|
+
user-select: none;
|
|
27
|
+
|
|
28
|
+
&:first-child {
|
|
29
|
+
margin-left: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&:last-child {
|
|
33
|
+
margin-right: 0;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&__first-link, &__prev-link, &__page-link, &__next-link, &__last-link {
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
justify-content: center;
|
|
42
|
+
width: $pagination-item-width;
|
|
43
|
+
height: $pagination-item-height;
|
|
44
|
+
border: $pagination-border;
|
|
45
|
+
box-sizing: border-box;
|
|
46
|
+
background-color: $pagination-background;
|
|
47
|
+
border-radius: $pagination-radius;
|
|
48
|
+
cursor: pointer;
|
|
49
|
+
color: $pagination-color;
|
|
50
|
+
|
|
51
|
+
&:hover {
|
|
52
|
+
color: $pagination-color-hover;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* Special spacing and width for first, prev, next, last with text */
|
|
57
|
+
&__first-link, &__prev-link {
|
|
58
|
+
&.has-text {
|
|
59
|
+
width: auto;
|
|
60
|
+
padding: 0 $space*1.5 0 calc($space/2);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&__next-link, &__last-link {
|
|
65
|
+
&.has-text {
|
|
66
|
+
width: auto;
|
|
67
|
+
padding: 0 calc($space/2) 0 $space*1.5;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&__first-link, &__prev-link, &__next-link, &__last-link {
|
|
72
|
+
font-size: $font-size-l;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* Text labels for text in first, prev, next, last */
|
|
76
|
+
&__first-label, &__prev-label, &__next-label, &__last-label {
|
|
77
|
+
font-size: $font-size-s;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&__page-link {
|
|
81
|
+
font-size: $font-size-m;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* Modifiers */
|
|
85
|
+
.is-disabled {
|
|
86
|
+
.n7-pagination__first-link,
|
|
87
|
+
.n7-pagination__prev-link,
|
|
88
|
+
.n7-pagination__page-link,
|
|
89
|
+
.n7-pagination__next-link,
|
|
90
|
+
.n7-pagination__last-link {
|
|
91
|
+
color: $pagination-color-disabled;
|
|
92
|
+
cursor: not-allowed;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.is-active {
|
|
97
|
+
.n7-pagination__page-link {
|
|
98
|
+
border: $pagination-border-current;
|
|
99
|
+
background-color: $pagination-background-current;
|
|
100
|
+
color: $pagination-color-current;
|
|
101
|
+
cursor: default;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
/* ------------------------------------ *\
|
|
108
|
+
#HIDDEN-ICONS
|
|
109
|
+
\* ------------------------------------ */
|
|
110
|
+
/*
|
|
111
|
+
if class .has-hidden-icons is added to the root element, icons for first, previous,
|
|
112
|
+
next and last are hidden.
|
|
113
|
+
*/
|
|
114
|
+
.n7-pagination.has-hidden-icons {
|
|
115
|
+
.n7-pagination__first-link,
|
|
116
|
+
.n7-pagination__prev-link,
|
|
117
|
+
.n7-pagination__next-link,
|
|
118
|
+
.n7-pagination__last-link {
|
|
119
|
+
[class*=" n7-icon-"] {
|
|
120
|
+
display: none;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&.has-text {
|
|
124
|
+
padding: 0 $space*1.5 0 $space*1.5;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
/* ------------------------------------ *\
|
|
131
|
+
#WITH-RESULTS-NUMBER-SELECT
|
|
132
|
+
\* ------------------------------------ */
|
|
133
|
+
.n7-pagination.has-results-select {
|
|
134
|
+
display: flex;
|
|
135
|
+
justify-content: space-between;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
/* ------------------------------------ *\
|
|
140
|
+
#RESULTS-NUMBER-SELECT
|
|
141
|
+
\* ------------------------------------ */
|
|
142
|
+
.n7-pagination {
|
|
143
|
+
&__setting-select {
|
|
144
|
+
margin-left: $space;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
/* ------------------------------------ *\
|
|
150
|
+
#MEDIA-QUERIES
|
|
151
|
+
\* ------------------------------------ */
|
|
152
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
159
|
+
|
|
160
|
+
.n7-pagination {
|
|
161
|
+
&__page {
|
|
162
|
+
display: none;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/* Retina */
|
|
169
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
170
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PROGRESS-LINE
|
|
3
|
+
*
|
|
4
|
+
* Style for the progress line.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
#PROGRESS-LINE
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.n7-progress-line {
|
|
11
|
+
&__text-wrapper {
|
|
12
|
+
margin-bottom: $space;
|
|
13
|
+
display: flex;
|
|
14
|
+
justify-content: space-between;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&__label {
|
|
18
|
+
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&__value {
|
|
22
|
+
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&__wrapper {
|
|
26
|
+
height: $progress-line-height;
|
|
27
|
+
background-color: $progress-line-bg-color;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&__bar {
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
height: $progress-line-height;
|
|
34
|
+
background-color: $progress-line-front-color;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
/* ------------------------------------ *\
|
|
40
|
+
#MEDIA-QUERIES
|
|
41
|
+
\* ------------------------------------ */
|
|
42
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* Retina */
|
|
52
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
53
|
+
}
|