@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,190 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ADVANCED-AUTOCOMPLETE
|
|
3
|
+
*
|
|
4
|
+
* Search bar autocomplete component which shows datas preview matching the typed words or words parts
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
#ADVANCED-AUTOCOMPLETE
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.n7-advanced-autocomplete {
|
|
11
|
+
&__results {
|
|
12
|
+
max-height: $advanced-autocomplete-results-max-height;
|
|
13
|
+
overflow-y: auto;
|
|
14
|
+
padding: $space*2 $space*2;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&__group {
|
|
18
|
+
display: flex;
|
|
19
|
+
// display: grid;
|
|
20
|
+
// grid-template-columns: 180px 2fr;
|
|
21
|
+
// grid-template-rows: 1fr;
|
|
22
|
+
// grid-column-gap: $space*2;
|
|
23
|
+
margin-bottom: $space*2;
|
|
24
|
+
padding-bottom: $space*2;
|
|
25
|
+
border-bottom: 1px solid $color-border-normal;
|
|
26
|
+
|
|
27
|
+
&:last-child {
|
|
28
|
+
border-bottom: 0;
|
|
29
|
+
margin-bottom: 0;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&__group-title-wrapper {
|
|
34
|
+
flex: 0 0 $advanced-autocomplete-group-title-width;
|
|
35
|
+
width: $advanced-autocomplete-group-title-width;
|
|
36
|
+
margin-right: $space*2;
|
|
37
|
+
color: $color-text-light;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&__group-title {
|
|
41
|
+
font-size: $font-size-m;
|
|
42
|
+
font-family: $font-family-headings;
|
|
43
|
+
line-height: 1.4;
|
|
44
|
+
vertical-align: middle;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&__group-icon {
|
|
48
|
+
margin-right: calc($space/2);
|
|
49
|
+
font-size: $font-size-l;
|
|
50
|
+
vertical-align: middle;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&__items {
|
|
54
|
+
flex: 1;
|
|
55
|
+
|
|
56
|
+
> *:last-child {
|
|
57
|
+
.n7-advanced-autocomplete__item {
|
|
58
|
+
margin-bottom: 0;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&__item {
|
|
64
|
+
display: block;
|
|
65
|
+
margin-bottom: $space;
|
|
66
|
+
font-size: $font-size-m;
|
|
67
|
+
color: $color-text;
|
|
68
|
+
word-break: break-all;
|
|
69
|
+
cursor: pointer;
|
|
70
|
+
|
|
71
|
+
&:hover {
|
|
72
|
+
color: $color-text-link;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/* Title */
|
|
77
|
+
&__item-title {
|
|
78
|
+
margin-right: $space;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/* Metadata */
|
|
82
|
+
&__item-metadata {
|
|
83
|
+
font-size: $font-size-s;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&__item-metadata-key {
|
|
87
|
+
margin-right: calc($space/2);
|
|
88
|
+
color: $color-text-light;
|
|
89
|
+
}
|
|
90
|
+
&__item-metadata-value {
|
|
91
|
+
margin-right: calc($space/2);
|
|
92
|
+
color: $color-text-light;
|
|
93
|
+
font-weight: $font-weight-bold;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* Action bar at the bottom */
|
|
97
|
+
&__action-bar {
|
|
98
|
+
display: flex;
|
|
99
|
+
justify-content: center;
|
|
100
|
+
padding: $space;
|
|
101
|
+
|
|
102
|
+
.n7-btn {
|
|
103
|
+
margin-right: $space;
|
|
104
|
+
|
|
105
|
+
&:last-child {
|
|
106
|
+
margin-right: 0;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
/* ------------------------------------ *\
|
|
114
|
+
#EMPTY
|
|
115
|
+
\* ------------------------------------ */
|
|
116
|
+
.n7-advanced-autocomplete.is-empty {
|
|
117
|
+
.n7-advanced-autocomplete__empty {
|
|
118
|
+
display: flex;
|
|
119
|
+
align-items: center;
|
|
120
|
+
justify-content: center;
|
|
121
|
+
height: $advanced-autocomplete-empty-height;
|
|
122
|
+
text-align: center;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
/* ------------------------------------ *\
|
|
128
|
+
#LOADING
|
|
129
|
+
\* ------------------------------------ */
|
|
130
|
+
.n7-advanced-autocomplete.is-loading {
|
|
131
|
+
.n7-advanced-autocomplete__loader {
|
|
132
|
+
display: flex;
|
|
133
|
+
align-items: center;
|
|
134
|
+
justify-content: center;
|
|
135
|
+
height: $advanced-autocomplete-empty-height;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
/* ------------------------------------ *\
|
|
141
|
+
#MEDIA-QUERIES
|
|
142
|
+
\* ------------------------------------ */
|
|
143
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
@media all and (max-width: $breakpoint-ipad-portrait - 1) {
|
|
147
|
+
|
|
148
|
+
.n7-advanced-autocomplete {
|
|
149
|
+
&__results {
|
|
150
|
+
padding: $space*1.5 $space*1.5;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
&__group {
|
|
154
|
+
display: block;
|
|
155
|
+
margin-bottom: $space*1.5;
|
|
156
|
+
padding-bottom: $space*1.5;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
&__group-title {
|
|
160
|
+
margin-bottom: $space;
|
|
161
|
+
font-size: $font-size-m;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
&__item {
|
|
165
|
+
margin-bottom: $space*1.5;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
&__action-bar {
|
|
170
|
+
flex-flow: column nowrap;
|
|
171
|
+
|
|
172
|
+
.n7-btn {
|
|
173
|
+
margin-right: 0;
|
|
174
|
+
margin-bottom: $space;
|
|
175
|
+
|
|
176
|
+
&:last-child {
|
|
177
|
+
margin-bottom: 0;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/* Retina */
|
|
189
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
190
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ALERT
|
|
3
|
+
*
|
|
4
|
+
* Alert component, with a body (html), an optional icon and an optional close button.
|
|
5
|
+
* Can be used as an alert for events/warnings/informations.
|
|
6
|
+
* Classes to be added to the root element: .is-success, .is-warning, .is-error
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/* ------------------------------------ *\
|
|
10
|
+
#ALERT
|
|
11
|
+
\* ------------------------------------ */
|
|
12
|
+
.n7-alert {
|
|
13
|
+
position: relative;
|
|
14
|
+
padding: $space*2 $space*5 $space*2 $space*2;
|
|
15
|
+
border-radius: $border-radius;
|
|
16
|
+
background-color: $alert-background;
|
|
17
|
+
|
|
18
|
+
&__close-button {
|
|
19
|
+
position: absolute;
|
|
20
|
+
top: $space*1.5;
|
|
21
|
+
right: $space*1.5;
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&__text {
|
|
26
|
+
margin: 0;
|
|
27
|
+
padding: 0;
|
|
28
|
+
font-size: $font-size-m;
|
|
29
|
+
line-height: 1.4;
|
|
30
|
+
color: $alert-color-text;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
/* ------------------------------------ *\
|
|
36
|
+
#WITH-ICON
|
|
37
|
+
\* ------------------------------------ */
|
|
38
|
+
.n7-alert.has-icon {
|
|
39
|
+
.n7-alert__icon {
|
|
40
|
+
position: absolute;
|
|
41
|
+
top: 0;
|
|
42
|
+
left: 0;
|
|
43
|
+
bottom: 0;
|
|
44
|
+
width: $space*6;
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
font-size: $font-size-l;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.n7-alert__text {
|
|
52
|
+
margin-left: $space*3.5;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
/* ------------------------------------ *\
|
|
58
|
+
#COLORS
|
|
59
|
+
\* ------------------------------------ */
|
|
60
|
+
.n7-alert.is-success,
|
|
61
|
+
.n7-alert.is-warning,
|
|
62
|
+
.n7-alert.is-error {
|
|
63
|
+
.n7-alert__close-button,
|
|
64
|
+
.n7-alert__text,
|
|
65
|
+
.n7-alert__icon {
|
|
66
|
+
color: $color-text-inverse;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.n7-alert.is-success {
|
|
71
|
+
background-color: $alert-background-success;
|
|
72
|
+
|
|
73
|
+
.n7-alert__close-button,
|
|
74
|
+
.n7-alert__text,
|
|
75
|
+
.n7-alert__icon {
|
|
76
|
+
color: $alert-color-text-success;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.n7-alert.is-warning {
|
|
81
|
+
background-color: $alert-background-warning;
|
|
82
|
+
|
|
83
|
+
.n7-alert__close-button,
|
|
84
|
+
.n7-alert__text,
|
|
85
|
+
.n7-alert__icon {
|
|
86
|
+
color: $alert-color-text-warning;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.n7-alert.is-error {
|
|
91
|
+
background-color: $alert-background-error;
|
|
92
|
+
|
|
93
|
+
.n7-alert__close-button,
|
|
94
|
+
.n7-alert__text,
|
|
95
|
+
.n7-alert__icon {
|
|
96
|
+
color: $alert-color-text-error;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
/* ------------------------------------ *\
|
|
102
|
+
#MEDIA-QUERIES
|
|
103
|
+
\* ------------------------------------ */
|
|
104
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/* Retina */
|
|
114
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
115
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ANCHOR-WRAPPER
|
|
3
|
+
*
|
|
4
|
+
* Brief description of the component here.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
#ANCHOR-WRAPPER
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.n7-anchor-wrapper {
|
|
11
|
+
// TODO
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
/* ------------------------------------ *\
|
|
16
|
+
#MEDIA-QUERIES
|
|
17
|
+
\* ------------------------------------ */
|
|
18
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* Retina */
|
|
28
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
29
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BREADCRUMBS
|
|
3
|
+
*
|
|
4
|
+
* Style for breadcrumbs for desktop and mobile
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
BREADCRUMBS
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.n7-breadcrumbs {
|
|
11
|
+
display: flex;
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
padding: calc($space/2);
|
|
14
|
+
background-color: $breadcrumbs-background;
|
|
15
|
+
@include consistent;
|
|
16
|
+
|
|
17
|
+
&__nav {
|
|
18
|
+
display: flex;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&__list {
|
|
22
|
+
display: flex;
|
|
23
|
+
margin: 0;
|
|
24
|
+
padding: 0;
|
|
25
|
+
align-items: center;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__item {
|
|
29
|
+
margin: calc($space/2) 0;
|
|
30
|
+
list-style: none;
|
|
31
|
+
|
|
32
|
+
&:after {
|
|
33
|
+
content: $breadcrumbs-arrow;
|
|
34
|
+
color: $breadcrumbs-arrow-color;
|
|
35
|
+
font-family: 'n7-icon' !important;
|
|
36
|
+
vertical-align: bottom;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&:last-child {
|
|
40
|
+
a {
|
|
41
|
+
color: $breadcrumbs-current-color;
|
|
42
|
+
cursor: default;
|
|
43
|
+
}
|
|
44
|
+
&:after {
|
|
45
|
+
content: ''
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&__label {
|
|
51
|
+
padding: $space;
|
|
52
|
+
text-decoration: none;
|
|
53
|
+
cursor: pointer;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/* ------------------------------------ *\
|
|
58
|
+
#MEDIA-QUERIES
|
|
59
|
+
\* ------------------------------------ */
|
|
60
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
64
|
+
|
|
65
|
+
.n7-breadcrumbs {
|
|
66
|
+
background: none;
|
|
67
|
+
|
|
68
|
+
&__item {
|
|
69
|
+
display: none;
|
|
70
|
+
|
|
71
|
+
&:nth-last-child(2) {
|
|
72
|
+
display: block;
|
|
73
|
+
|
|
74
|
+
.n7-breadcrumbs__label {
|
|
75
|
+
/* The back arrow is inserted within the A tag so it's clickable */
|
|
76
|
+
&:before {
|
|
77
|
+
content: $breadcrumbs-arrow-mobile;
|
|
78
|
+
margin-right: calc($space/2);
|
|
79
|
+
font-family: 'n7-icon' !important;
|
|
80
|
+
color: $breadcrumbs-arrow-color;
|
|
81
|
+
vertical-align: bottom;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&:after {
|
|
86
|
+
content: ''
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/* Retina */
|
|
98
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
99
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BUBBLECHART
|
|
3
|
+
*
|
|
4
|
+
* Component displaying a bubble graph. Based on 3djs.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
#BUBBLECHART
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.n7-bubble-chart {
|
|
11
|
+
.monospace-text {
|
|
12
|
+
font-family: monospace;
|
|
13
|
+
user-select: none;
|
|
14
|
+
font-weight: $font-weight-bold;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
/* ------------------------------------ *\
|
|
20
|
+
#MEDIA-QUERIES
|
|
21
|
+
\* ------------------------------------ */
|
|
22
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/* Retina */
|
|
32
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
33
|
+
}
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CAROUSEL
|
|
3
|
+
*
|
|
4
|
+
* Brief description of the component here.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
#CAROUSEL
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.n7-carousel {
|
|
11
|
+
position: relative;
|
|
12
|
+
height: $carousel-height;
|
|
13
|
+
|
|
14
|
+
&__slide {
|
|
15
|
+
position: relative;
|
|
16
|
+
width: 100%;
|
|
17
|
+
height: $carousel-height;
|
|
18
|
+
background-repeat: no-repeat;
|
|
19
|
+
background-position: center;
|
|
20
|
+
background-size: cover;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&__slide-content-wrapper {
|
|
24
|
+
position: relative;
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
height: 100%;
|
|
28
|
+
max-width: $carousel-content-width;
|
|
29
|
+
margin: 0 auto;
|
|
30
|
+
z-index: 2;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&__slide-content {
|
|
34
|
+
display: flex;
|
|
35
|
+
width: 100%;
|
|
36
|
+
padding: 3px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&__slide-content-left {
|
|
40
|
+
max-width: 60%;
|
|
41
|
+
padding: 3px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&__slide-content-right {
|
|
45
|
+
flex-grow: 1;
|
|
46
|
+
display: flex;
|
|
47
|
+
justify-content: flex-end;
|
|
48
|
+
align-items: flex-end;
|
|
49
|
+
padding: 3px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&__slide-title {
|
|
53
|
+
display: block;
|
|
54
|
+
margin-bottom: $space*2;
|
|
55
|
+
font-family: $font-family-headings;
|
|
56
|
+
font-size: $font-size-xxxl;
|
|
57
|
+
color: $color-text-inverse;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&__slide-text {
|
|
61
|
+
display: block;
|
|
62
|
+
margin-bottom: $space*2;
|
|
63
|
+
font-family: $font-family-main;
|
|
64
|
+
font-size: $font-size-l;
|
|
65
|
+
color: $color-text-inverse;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&__slide-metadata-wrapper {
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&__slide-metadata {
|
|
72
|
+
color: $color-text-inverse;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&__slide-metadata-label {
|
|
76
|
+
margin-right: calc($space/2);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
/* ------------------------------------ *\
|
|
82
|
+
#SLIDE-WITH-IMAGE
|
|
83
|
+
\* ------------------------------------ */
|
|
84
|
+
.n7-carousel {
|
|
85
|
+
&__slide.has-image {
|
|
86
|
+
/* Overlay */
|
|
87
|
+
&:after {
|
|
88
|
+
content: " ";
|
|
89
|
+
position: absolute;
|
|
90
|
+
top: 0;
|
|
91
|
+
left: 0;
|
|
92
|
+
right: 0;
|
|
93
|
+
bottom: 0;
|
|
94
|
+
background-color: rgba(0,0,0,.4);
|
|
95
|
+
z-index: 1;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
/* ------------------------------------ *\
|
|
102
|
+
#SLIDE-WITH-VIDEO
|
|
103
|
+
\* ------------------------------------ */
|
|
104
|
+
.n7-carousel {
|
|
105
|
+
/* Video bg */
|
|
106
|
+
&__slide-video {
|
|
107
|
+
position: absolute;
|
|
108
|
+
top: 50%;
|
|
109
|
+
left: 50%;
|
|
110
|
+
min-width: 100%;
|
|
111
|
+
min-height: 100%;
|
|
112
|
+
width: auto;
|
|
113
|
+
height: auto;
|
|
114
|
+
z-index: 0;
|
|
115
|
+
-ms-transform: translateX(-50%) translateY(-50%);
|
|
116
|
+
-moz-transform: translateX(-50%) translateY(-50%);
|
|
117
|
+
-webkit-transform: translateX(-50%) translateY(-50%);
|
|
118
|
+
transform: translateX(-50%) translateY(-50%);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/* Video overlay */
|
|
122
|
+
&__slide-video-overlay {
|
|
123
|
+
position: absolute;
|
|
124
|
+
background-color: rgba(0,0,0,.6);
|
|
125
|
+
top: 0;
|
|
126
|
+
left: 0;
|
|
127
|
+
right: 0;
|
|
128
|
+
bottom: 0;
|
|
129
|
+
z-index: 1;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
/* ------------------------------------ *\
|
|
135
|
+
#LATTE-CAROUSEL
|
|
136
|
+
\* ------------------------------------ */
|
|
137
|
+
.n7-carousel {
|
|
138
|
+
.latte-dots {
|
|
139
|
+
bottom: $space*2;
|
|
140
|
+
|
|
141
|
+
.latte-dot {
|
|
142
|
+
background-color: $color-background-base;
|
|
143
|
+
|
|
144
|
+
&.active {
|
|
145
|
+
background-color: $color-main;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.latte-next, .latte-previous {
|
|
151
|
+
border-color: $color-gray-00;
|
|
152
|
+
opacity: .7;
|
|
153
|
+
transition: all $transition-durations;
|
|
154
|
+
|
|
155
|
+
&:hover {
|
|
156
|
+
opacity: 1;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.latte-previous {
|
|
161
|
+
left: 16px;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.latte-next {
|
|
165
|
+
right: 16px;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
/* ------------------------------------ *\
|
|
171
|
+
#MEDIA-QUERIES
|
|
172
|
+
\* ------------------------------------ */
|
|
173
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/* Retina */
|
|
183
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
184
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CHART
|
|
3
|
+
*
|
|
4
|
+
* Style to overwrite or complete default library style.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
#CHART
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.n7-chart {
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
/* ------------------------------------ *\
|
|
15
|
+
#MEDIA-QUERIES
|
|
16
|
+
\* ------------------------------------ */
|
|
17
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* Retina */
|
|
27
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
28
|
+
}
|