@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,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CONTENT-PLACEHOLDER
|
|
3
|
+
*
|
|
4
|
+
* Component used in loading status to show a preview of what real results/contents will be.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
#CONTENT-PLACEHOLDER
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.n7-content-placeholder {
|
|
11
|
+
&__item {
|
|
12
|
+
background-color: $color-background-light;
|
|
13
|
+
height: $space*2;
|
|
14
|
+
width: auto;
|
|
15
|
+
margin-bottom: $space;
|
|
16
|
+
border-radius: $border-radius;
|
|
17
|
+
|
|
18
|
+
animation-duration: 1.3s;
|
|
19
|
+
animation-fill-mode: forwards;
|
|
20
|
+
animation-iteration-count: infinite;
|
|
21
|
+
animation-name: contentPlaceholderAnimation;
|
|
22
|
+
animation-timing-function: linear;
|
|
23
|
+
background: linear-gradient(to right, $color-background-light 0%, $color-background-medium 30%, $color-background-light 60%);
|
|
24
|
+
background-size: 500px 104px;
|
|
25
|
+
position: relative;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// Example application
|
|
29
|
+
.thumb-placeholder {
|
|
30
|
+
float: left;
|
|
31
|
+
height: $space*7;
|
|
32
|
+
width: $space*7;
|
|
33
|
+
border-radius: 50%;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.title-placeholder {
|
|
37
|
+
margin-left: $space*9;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.text-placeholder {
|
|
41
|
+
margin-left: $space*9;
|
|
42
|
+
height: $space*4;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.text-placeholder + .n7-content-placeholder__item {
|
|
46
|
+
clear: both;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@keyframes contentPlaceholderAnimation {
|
|
51
|
+
0% {
|
|
52
|
+
background-position: 0 0
|
|
53
|
+
}
|
|
54
|
+
100% {
|
|
55
|
+
background-position: 1000px 0
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
/* ------------------------------------ *\
|
|
61
|
+
#MEDIA-QUERIES
|
|
62
|
+
\* ------------------------------------ */
|
|
63
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/* Retina */
|
|
73
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
74
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DATA WIDGET
|
|
3
|
+
*
|
|
4
|
+
* Brief description of the component here.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
#DATA WIDGET
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.n7-data-widget {
|
|
11
|
+
/* First row */
|
|
12
|
+
&__main {
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&__main-icon {
|
|
18
|
+
margin-right: calc($space/2);
|
|
19
|
+
font-size: $font-size-xl;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&__main-title {
|
|
23
|
+
margin: 0;
|
|
24
|
+
font-size: $font-size-xl;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* Second row */
|
|
28
|
+
&__sub {
|
|
29
|
+
display: flex;
|
|
30
|
+
align-items: center;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&__sub-title {
|
|
34
|
+
margin: 0 calc($space/2) 0 0;
|
|
35
|
+
font-size: $font-size-xs;
|
|
36
|
+
line-height: 1;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&__sub-info {
|
|
40
|
+
display: flex;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&__sub-info-icon {
|
|
44
|
+
font-size: $font-size-xs;
|
|
45
|
+
line-height: 1;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&__sub-info-label {
|
|
49
|
+
font-size: $font-size-xs;
|
|
50
|
+
line-height: 1;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
/* ------------------------------------ *\
|
|
56
|
+
#POSITIVE/NEGATIVE COLORS
|
|
57
|
+
\* ------------------------------------ */
|
|
58
|
+
.n7-data-widget.is-positive {
|
|
59
|
+
.n7-data-widget__sub-info-icon {
|
|
60
|
+
color: $color-success;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.n7-data-widget__sub-info-label {
|
|
64
|
+
color: $color-success;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.n7-data-widget.is-error {
|
|
69
|
+
.n7-data-widget__sub-info-icon {
|
|
70
|
+
color: $color-error;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.n7-data-widget__sub-info-label {
|
|
74
|
+
color: $color-error;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
/* ------------------------------------ *\
|
|
80
|
+
#MEDIA-QUERIES
|
|
81
|
+
\* ------------------------------------ */
|
|
82
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* Retina */
|
|
92
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
93
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DATEPICKER
|
|
3
|
+
*
|
|
4
|
+
* Brief description of the component here.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
#DATEPICKER
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.n7-datepicker {
|
|
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,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FACET-HEADER
|
|
3
|
+
*
|
|
4
|
+
* Header component for facet, displaying facet title and other datas (for istance count of items).
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
#FACET-HEADER
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.n7-facet-header {
|
|
11
|
+
display: flex;
|
|
12
|
+
height: $facet-header-height;
|
|
13
|
+
background: $facet-header-background;
|
|
14
|
+
color: $facet-header-text-color;
|
|
15
|
+
|
|
16
|
+
&__text {
|
|
17
|
+
margin-right: $space;
|
|
18
|
+
margin-left: $space;
|
|
19
|
+
font-size: $font-size-m;
|
|
20
|
+
line-height: $facet-header-height;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&__secondary-text {
|
|
24
|
+
font-size: $font-size-s;
|
|
25
|
+
line-height: $facet-header-height;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__icon-left,
|
|
29
|
+
&__icon-right {
|
|
30
|
+
width: $facet-header-height;
|
|
31
|
+
height: $facet-header-height;
|
|
32
|
+
text-align: center;
|
|
33
|
+
line-height: $facet-header-height;
|
|
34
|
+
background: $facet-header-icon-background;
|
|
35
|
+
font-size: $font-size-l;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&__icon-right {
|
|
39
|
+
margin-left: auto;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
/* ------------------------------------ *\
|
|
45
|
+
#MEDIA-QUERIES
|
|
46
|
+
\* ------------------------------------ */
|
|
47
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* Retina */
|
|
57
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
58
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FACET-YEAR-RANGE
|
|
3
|
+
*
|
|
4
|
+
* Content of the facet that includes to selects to select a raneg of values/years.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
#FACET-YEAR-RANGE
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.n7-facet-year-range {
|
|
11
|
+
padding: $space*1.5 0 $space*1.5 $space*1.5;
|
|
12
|
+
display: flex;
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
// display: grid;
|
|
15
|
+
// grid-template-columns: repeat(2, 1fr);
|
|
16
|
+
// grid-column-gap: $space*1.5;
|
|
17
|
+
|
|
18
|
+
.n7-facet-year-range__in,
|
|
19
|
+
.n7-facet-year-range__out {
|
|
20
|
+
display: flex;
|
|
21
|
+
box-sizing: border-box;
|
|
22
|
+
padding-right: $space*1.5;
|
|
23
|
+
flex: 0 0 50%;
|
|
24
|
+
max-width: 50%;
|
|
25
|
+
align-items: center;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.n7-facet-year-range__in {
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.n7-facet-year-range__in-label,
|
|
32
|
+
.n7-facet-year-range__out-label {
|
|
33
|
+
margin-right: calc($space/2);
|
|
34
|
+
margin-bottom: 0;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.n7-facet-year-range__in-select,
|
|
38
|
+
.n7-facet-year-range__out-select {
|
|
39
|
+
flex-grow: 1;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.n7-facet-year-range__in-select-placeholder,
|
|
43
|
+
.n7-facet-year-range__out-select-placeholder {
|
|
44
|
+
color: $color-text-light;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
/* ------------------------------------ *\
|
|
50
|
+
#MEDIA-QUERIES
|
|
51
|
+
\* ------------------------------------ */
|
|
52
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* Retina */
|
|
62
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
63
|
+
}
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FACET
|
|
3
|
+
*
|
|
4
|
+
* Facet component including:
|
|
5
|
+
* - array of checkboxes;
|
|
6
|
+
* - search inpout with label;
|
|
7
|
+
* - list of results.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/* ------------------------------------ *\
|
|
11
|
+
#FACET
|
|
12
|
+
\* ------------------------------------ */
|
|
13
|
+
.n7-facet {
|
|
14
|
+
/* General section inside facet */
|
|
15
|
+
&__section {
|
|
16
|
+
margin-bottom: $facet-inner-padding*2;
|
|
17
|
+
margin-left: $facet-inner-padding;
|
|
18
|
+
margin-right: $facet-inner-padding;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
/* ------------------------------------ *\
|
|
24
|
+
#INPUT CHECKBOX
|
|
25
|
+
\* ------------------------------------ */
|
|
26
|
+
.n7-facet {
|
|
27
|
+
&__section-input-checkbox {
|
|
28
|
+
display: inline-block;
|
|
29
|
+
margin-right: $space*2;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&__input-checkbox-input {
|
|
33
|
+
margin-right: calc($space/2);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&__input-checkbox-label {
|
|
37
|
+
font-size: $font-size-s;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
/* ------------------------------------ *\
|
|
43
|
+
#INPUT TEXT
|
|
44
|
+
\* ------------------------------------ */
|
|
45
|
+
.n7-facet {
|
|
46
|
+
|
|
47
|
+
&__input-text-label {
|
|
48
|
+
display: block;
|
|
49
|
+
font-size: $font-size-s;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&__input-text-wrapper {
|
|
53
|
+
position: relative;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&__input-text[type="text"] {
|
|
57
|
+
width: 100%;
|
|
58
|
+
box-sizing: border-box;
|
|
59
|
+
padding-right: $space*4;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&__input-text-icon {
|
|
63
|
+
position: absolute;
|
|
64
|
+
bottom: 0;
|
|
65
|
+
right: $space;
|
|
66
|
+
line-height: $form-input-height;
|
|
67
|
+
color: $color-text-light;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
/* ------------------------------------ *\
|
|
73
|
+
#LIST
|
|
74
|
+
\* ------------------------------------ */
|
|
75
|
+
.n7-facet {
|
|
76
|
+
&__section-input-links {
|
|
77
|
+
max-height: $facet-links-max-height;
|
|
78
|
+
padding-right: $space;
|
|
79
|
+
overflow-y: auto;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&__input-link {
|
|
83
|
+
display: flex;
|
|
84
|
+
align-items: center;
|
|
85
|
+
padding-bottom: $space;
|
|
86
|
+
margin-bottom: $space;
|
|
87
|
+
border-bottom: 1px solid $color-border-normal;
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
|
|
90
|
+
&:last-child {
|
|
91
|
+
margin-bottom: 0;
|
|
92
|
+
border-bottom: 0;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&__input-link-icon {
|
|
97
|
+
margin-right: $space;
|
|
98
|
+
font-size: $font-size-m;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&__input-link-text {
|
|
102
|
+
padding-right: $space;
|
|
103
|
+
font-size: $font-size-m;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&__input-link-counter {
|
|
107
|
+
margin-left: auto;
|
|
108
|
+
padding: calc($space/4) calc($space/2);
|
|
109
|
+
border-radius: $border-radius;
|
|
110
|
+
font-size: $font-size-xs;
|
|
111
|
+
color: $color-text-inverse;
|
|
112
|
+
background-color: $color-second;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/* Hover */
|
|
116
|
+
.n7-facet__input-link:hover {
|
|
117
|
+
.n7-facet__input-link-text {
|
|
118
|
+
color: $color-text-link;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/* Active */
|
|
123
|
+
.n7-facet__input-link.is-active {
|
|
124
|
+
&:before {
|
|
125
|
+
content: "\e938";
|
|
126
|
+
font-family: 'n7-icon';
|
|
127
|
+
margin-right: $space;
|
|
128
|
+
color: $color-success;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.n7-facet__input-link-text {
|
|
132
|
+
font-weight: $font-weight-bold;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
/* ------------------------------------ *\
|
|
139
|
+
#SELECT
|
|
140
|
+
\* ------------------------------------ */
|
|
141
|
+
.n7-facet {
|
|
142
|
+
&__section-input-select {
|
|
143
|
+
display: inline-block;
|
|
144
|
+
margin-bottom: calc($space/2);
|
|
145
|
+
margin-right: $space;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
/* ------------------------------------ *\
|
|
151
|
+
#MEDIA-QUERIES
|
|
152
|
+
\* ------------------------------------ */
|
|
153
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/* Retina */
|
|
163
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
164
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FOOTER
|
|
3
|
+
*
|
|
4
|
+
* General footer structure, (hopefully) suitable for all needs.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
#FOOTER
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.n7-footer {
|
|
11
|
+
background-color: $footer-background-color;
|
|
12
|
+
|
|
13
|
+
&__content {
|
|
14
|
+
display: flex;
|
|
15
|
+
max-width: $page-max-width;
|
|
16
|
+
margin-right: auto;
|
|
17
|
+
margin-left: auto;
|
|
18
|
+
padding: $space*3 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&__column {
|
|
22
|
+
flex: 1;
|
|
23
|
+
padding: 0 calc($grid-gutter-h/2);
|
|
24
|
+
|
|
25
|
+
&:first-of-type {
|
|
26
|
+
padding-left: 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&:last-of-type {
|
|
30
|
+
padding-right: 0;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&__column-nav-list {
|
|
35
|
+
padding-left: 0;
|
|
36
|
+
list-style: none;
|
|
37
|
+
font-size: $font-size-xs;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&__column-nav-item {
|
|
41
|
+
margin-bottom: calc($space/2);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&__column-nav-link {
|
|
45
|
+
text-decoration: underline;
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&__column-title,
|
|
50
|
+
&__column-text {
|
|
51
|
+
font-size: $font-size-xs;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&__column-images {
|
|
55
|
+
padding-top: $space;
|
|
56
|
+
|
|
57
|
+
img {
|
|
58
|
+
width: auto;
|
|
59
|
+
height: $footer-image-height;
|
|
60
|
+
margin-right: calc($space/2);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
/* ------------------------------------ *\
|
|
67
|
+
#MEDIA-QUERIES
|
|
68
|
+
\* ------------------------------------ */
|
|
69
|
+
@media all and (max-width: $footer-breakpoint-desktop) {
|
|
70
|
+
.n7-footer {
|
|
71
|
+
&__column {
|
|
72
|
+
|
|
73
|
+
&:first-of-type {
|
|
74
|
+
padding-left: calc($grid-gutter-h/2);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&:last-of-type {
|
|
78
|
+
padding-right: calc($grid-gutter-h/2);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@media all and (max-width: $footer-breakpoint-mobile) {
|
|
88
|
+
|
|
89
|
+
.n7-footer {
|
|
90
|
+
&__content {
|
|
91
|
+
flex-flow: column nowrap;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&__column {
|
|
95
|
+
padding-bottom: calc($grid-gutter-h/2);
|
|
96
|
+
|
|
97
|
+
&:last-of-type {
|
|
98
|
+
padding-bottom: 0;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&__column-nav-list,
|
|
103
|
+
&__column-nav-item {
|
|
104
|
+
margin-bottom: 0;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&__column-nav-list {
|
|
108
|
+
margin-top: 0;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/* Retina */
|
|
115
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
116
|
+
}
|