@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.
Files changed (232) hide show
  1. package/README.md +24 -0
  2. package/esm2020/lib/components/advanced-autocomplete/advanced-autocomplete.mjs +25 -0
  3. package/esm2020/lib/components/advanced-autocomplete/advanced-autocomplete.mock.mjs +100 -0
  4. package/esm2020/lib/components/alert/alert.mjs +24 -0
  5. package/esm2020/lib/components/alert/alert.mock.mjs +11 -0
  6. package/esm2020/lib/components/anchor-wrapper/anchor-wrapper.mjs +35 -0
  7. package/esm2020/lib/components/breadcrumbs/breadcrumbs.mjs +25 -0
  8. package/esm2020/lib/components/breadcrumbs/breadcrumbs.mock.mjs +25 -0
  9. package/esm2020/lib/components/bubble-chart/bubble-chart.mjs +315 -0
  10. package/esm2020/lib/components/bubble-chart/bubble-chart.mock.mjs +4025 -0
  11. package/esm2020/lib/components/carousel/carousel.mjs +89 -0
  12. package/esm2020/lib/components/carousel/carousel.mock.mjs +135 -0
  13. package/esm2020/lib/components/chart/chart.mjs +37 -0
  14. package/esm2020/lib/components/chart/chart.mock.mjs +112 -0
  15. package/esm2020/lib/components/content-placeholder/content-placeholder.mjs +17 -0
  16. package/esm2020/lib/components/content-placeholder/content-placeholder.mock.mjs +13 -0
  17. package/esm2020/lib/components/data-widget/data-widget.mjs +29 -0
  18. package/esm2020/lib/components/data-widget/data-widget.mock.mjs +13 -0
  19. package/esm2020/lib/components/datepicker/datepicker.mjs +44 -0
  20. package/esm2020/lib/components/datepicker/datepicker.mock.mjs +8 -0
  21. package/esm2020/lib/components/facet/facet.mjs +24 -0
  22. package/esm2020/lib/components/facet/facet.mock.mjs +103 -0
  23. package/esm2020/lib/components/facet-header/facet-header.mjs +24 -0
  24. package/esm2020/lib/components/facet-header/facet-header.mock.mjs +9 -0
  25. package/esm2020/lib/components/facet-year-range/facet-year-range.mjs +53 -0
  26. package/esm2020/lib/components/facet-year-range/facet-year-range.mock.mjs +30 -0
  27. package/esm2020/lib/components/footer/footer.mjs +25 -0
  28. package/esm2020/lib/components/footer/footer.mock.mjs +48 -0
  29. package/esm2020/lib/components/header/header.mjs +51 -0
  30. package/esm2020/lib/components/header/header.mock.mjs +83 -0
  31. package/esm2020/lib/components/hero/hero.mjs +41 -0
  32. package/esm2020/lib/components/hero/hero.mock.mjs +25 -0
  33. package/esm2020/lib/components/histogram-range/histogram-range.mjs +376 -0
  34. package/esm2020/lib/components/histogram-range/histogram-range.mock.mjs +243 -0
  35. package/esm2020/lib/components/image-viewer/image-viewer.mjs +55 -0
  36. package/esm2020/lib/components/image-viewer/image-viewer.mock.mjs +25 -0
  37. package/esm2020/lib/components/image-viewer-tools/image-viewer-tools.mjs +28 -0
  38. package/esm2020/lib/components/image-viewer-tools/image-viewer-tools.mock.mjs +54 -0
  39. package/esm2020/lib/components/inner-title/inner-title.mjs +40 -0
  40. package/esm2020/lib/components/inner-title/inner-title.mock.mjs +52 -0
  41. package/esm2020/lib/components/input-checkbox/input-checkbox.mjs +24 -0
  42. package/esm2020/lib/components/input-checkbox/input-checkbox.mock.mjs +25 -0
  43. package/esm2020/lib/components/input-link/input-link.mjs +24 -0
  44. package/esm2020/lib/components/input-link/input-link.mock.mjs +38 -0
  45. package/esm2020/lib/components/input-select/input-select.mjs +24 -0
  46. package/esm2020/lib/components/input-select/input-select.mock.mjs +12 -0
  47. package/esm2020/lib/components/input-text/input-text.mjs +24 -0
  48. package/esm2020/lib/components/input-text/input-text.mock.mjs +13 -0
  49. package/esm2020/lib/components/item-preview/item-preview.mjs +25 -0
  50. package/esm2020/lib/components/item-preview/item-preview.mock.mjs +43 -0
  51. package/esm2020/lib/components/loader/loader.mjs +16 -0
  52. package/esm2020/lib/components/loader/loader.mock.mjs +4 -0
  53. package/esm2020/lib/components/map/map.mjs +64 -0
  54. package/esm2020/lib/components/map/map.mock.mjs +25 -0
  55. package/esm2020/lib/components/metadata-viewer/metadata-viewer.mjs +19 -0
  56. package/esm2020/lib/components/metadata-viewer/metadata-viewer.mock.mjs +74 -0
  57. package/esm2020/lib/components/nav/nav.mjs +22 -0
  58. package/esm2020/lib/components/nav/nav.mock.mjs +29 -0
  59. package/esm2020/lib/components/pagination/pagination.mjs +31 -0
  60. package/esm2020/lib/components/pagination/pagination.mock.mjs +23 -0
  61. package/esm2020/lib/components/progress-line/progress-line.mjs +19 -0
  62. package/esm2020/lib/components/progress-line/progress-line.mock.mjs +5 -0
  63. package/esm2020/lib/components/sidebar-header/sidebar-header.mjs +24 -0
  64. package/esm2020/lib/components/sidebar-header/sidebar-header.mock.mjs +9 -0
  65. package/esm2020/lib/components/signup/signup.mjs +44 -0
  66. package/esm2020/lib/components/signup/signup.mock.mjs +106 -0
  67. package/esm2020/lib/components/simple-autocomplete/simple-autocomplete.mjs +25 -0
  68. package/esm2020/lib/components/simple-autocomplete/simple-autocomplete.mock.mjs +15 -0
  69. package/esm2020/lib/components/table/table.mjs +35 -0
  70. package/esm2020/lib/components/table/table.mock.mjs +152 -0
  71. package/esm2020/lib/components/tag/tag.mjs +24 -0
  72. package/esm2020/lib/components/tag/tag.mock.mjs +8 -0
  73. package/esm2020/lib/components/text-viewer/text-viewer.mjs +37 -0
  74. package/esm2020/lib/components/text-viewer/text-viewer.mock.mjs +39 -0
  75. package/esm2020/lib/components/timeline/timeline.mjs +51 -0
  76. package/esm2020/lib/components/timeline/timeline.mock.mjs +137 -0
  77. package/esm2020/lib/components/toast/toast.mjs +24 -0
  78. package/esm2020/lib/components/toast/toast.mock.mjs +47 -0
  79. package/esm2020/lib/components/tooltip-content/tooltip-content.mjs +25 -0
  80. package/esm2020/lib/components/tooltip-content/tooltip-content.mock.mjs +19 -0
  81. package/esm2020/lib/components/tree/tree.mjs +25 -0
  82. package/esm2020/lib/components/tree/tree.mock.mjs +274 -0
  83. package/esm2020/lib/components/wizard/wizard.mjs +24 -0
  84. package/esm2020/lib/components/wizard/wizard.mock.mjs +29 -0
  85. package/esm2020/lib/dv-components-lib.module.mjs +191 -0
  86. package/esm2020/lib/shared-interfaces.mjs +2 -0
  87. package/esm2020/net7-components.mjs +5 -0
  88. package/esm2020/public-api.mjs +93 -0
  89. package/fesm2015/net7-components.mjs +8154 -0
  90. package/fesm2015/net7-components.mjs.map +1 -0
  91. package/fesm2020/net7-components.mjs +8168 -0
  92. package/fesm2020/net7-components.mjs.map +1 -0
  93. package/lib/components/advanced-autocomplete/advanced-autocomplete.d.ts +57 -0
  94. package/lib/components/advanced-autocomplete/advanced-autocomplete.mock.d.ts +2 -0
  95. package/lib/components/alert/alert.d.ts +46 -0
  96. package/lib/components/alert/alert.mock.d.ts +2 -0
  97. package/lib/components/anchor-wrapper/anchor-wrapper.d.ts +16 -0
  98. package/lib/components/breadcrumbs/breadcrumbs.d.ts +50 -0
  99. package/lib/components/breadcrumbs/breadcrumbs.mock.d.ts +2 -0
  100. package/lib/components/bubble-chart/bubble-chart.d.ts +108 -0
  101. package/lib/components/bubble-chart/bubble-chart.mock.d.ts +2 -0
  102. package/lib/components/carousel/carousel.d.ts +166 -0
  103. package/lib/components/carousel/carousel.mock.d.ts +2 -0
  104. package/lib/components/chart/chart.d.ts +46 -0
  105. package/lib/components/chart/chart.mock.d.ts +2 -0
  106. package/lib/components/content-placeholder/content-placeholder.d.ts +28 -0
  107. package/lib/components/content-placeholder/content-placeholder.mock.d.ts +2 -0
  108. package/lib/components/data-widget/data-widget.d.ts +50 -0
  109. package/lib/components/data-widget/data-widget.mock.d.ts +2 -0
  110. package/lib/components/datepicker/datepicker.d.ts +43 -0
  111. package/lib/components/datepicker/datepicker.mock.d.ts +2 -0
  112. package/lib/components/facet/facet.d.ts +129 -0
  113. package/lib/components/facet/facet.mock.d.ts +2 -0
  114. package/lib/components/facet-header/facet-header.d.ts +44 -0
  115. package/lib/components/facet-header/facet-header.mock.d.ts +2 -0
  116. package/lib/components/facet-year-range/facet-year-range.d.ts +83 -0
  117. package/lib/components/facet-year-range/facet-year-range.mock.d.ts +2 -0
  118. package/lib/components/footer/footer.d.ts +118 -0
  119. package/lib/components/footer/footer.mock.d.ts +2 -0
  120. package/lib/components/header/header.d.ts +281 -0
  121. package/lib/components/header/header.mock.d.ts +2 -0
  122. package/lib/components/hero/hero.d.ts +75 -0
  123. package/lib/components/hero/hero.mock.d.ts +2 -0
  124. package/lib/components/histogram-range/histogram-range.d.ts +113 -0
  125. package/lib/components/histogram-range/histogram-range.mock.d.ts +2 -0
  126. package/lib/components/image-viewer/image-viewer.d.ts +61 -0
  127. package/lib/components/image-viewer/image-viewer.mock.d.ts +2 -0
  128. package/lib/components/image-viewer-tools/image-viewer-tools.d.ts +116 -0
  129. package/lib/components/image-viewer-tools/image-viewer-tools.mock.d.ts +2 -0
  130. package/lib/components/inner-title/inner-title.d.ts +61 -0
  131. package/lib/components/inner-title/inner-title.mock.d.ts +2 -0
  132. package/lib/components/input-checkbox/input-checkbox.d.ts +67 -0
  133. package/lib/components/input-checkbox/input-checkbox.mock.d.ts +2 -0
  134. package/lib/components/input-link/input-link.d.ts +54 -0
  135. package/lib/components/input-link/input-link.mock.d.ts +2 -0
  136. package/lib/components/input-select/input-select.d.ts +67 -0
  137. package/lib/components/input-select/input-select.mock.d.ts +2 -0
  138. package/lib/components/input-text/input-text.d.ts +81 -0
  139. package/lib/components/input-text/input-text.mock.d.ts +2 -0
  140. package/lib/components/item-preview/item-preview.d.ts +93 -0
  141. package/lib/components/item-preview/item-preview.mock.d.ts +2 -0
  142. package/lib/components/loader/loader.d.ts +22 -0
  143. package/lib/components/loader/loader.mock.d.ts +2 -0
  144. package/lib/components/map/map.d.ts +69 -0
  145. package/lib/components/map/map.mock.d.ts +2 -0
  146. package/lib/components/metadata-viewer/metadata-viewer.d.ts +65 -0
  147. package/lib/components/metadata-viewer/metadata-viewer.mock.d.ts +8 -0
  148. package/lib/components/nav/nav.d.ts +66 -0
  149. package/lib/components/nav/nav.mock.d.ts +2 -0
  150. package/lib/components/pagination/pagination.d.ts +94 -0
  151. package/lib/components/pagination/pagination.mock.d.ts +2 -0
  152. package/lib/components/progress-line/progress-line.d.ts +23 -0
  153. package/lib/components/progress-line/progress-line.mock.d.ts +2 -0
  154. package/lib/components/sidebar-header/sidebar-header.d.ts +44 -0
  155. package/lib/components/sidebar-header/sidebar-header.mock.d.ts +2 -0
  156. package/lib/components/signup/signup.d.ts +109 -0
  157. package/lib/components/signup/signup.mock.d.ts +2 -0
  158. package/lib/components/simple-autocomplete/simple-autocomplete.d.ts +40 -0
  159. package/lib/components/simple-autocomplete/simple-autocomplete.mock.d.ts +2 -0
  160. package/lib/components/table/table.d.ts +89 -0
  161. package/lib/components/table/table.mock.d.ts +2 -0
  162. package/lib/components/tag/tag.d.ts +45 -0
  163. package/lib/components/tag/tag.mock.d.ts +2 -0
  164. package/lib/components/text-viewer/text-viewer.d.ts +34 -0
  165. package/lib/components/text-viewer/text-viewer.mock.d.ts +2 -0
  166. package/lib/components/timeline/timeline.d.ts +30 -0
  167. package/lib/components/timeline/timeline.mock.d.ts +2 -0
  168. package/lib/components/toast/toast.d.ts +84 -0
  169. package/lib/components/toast/toast.mock.d.ts +2 -0
  170. package/lib/components/tooltip-content/tooltip-content.d.ts +24 -0
  171. package/lib/components/tooltip-content/tooltip-content.mock.d.ts +2 -0
  172. package/lib/components/tree/tree.d.ts +79 -0
  173. package/lib/components/tree/tree.mock.d.ts +2 -0
  174. package/lib/components/wizard/wizard.d.ts +57 -0
  175. package/lib/components/wizard/wizard.mock.d.ts +2 -0
  176. package/lib/dv-components-lib.module.d.ts +50 -0
  177. package/lib/shared-interfaces.d.ts +60 -0
  178. package/net7-components.d.ts +5 -0
  179. package/package.json +44 -0
  180. package/public-api.d.ts +85 -0
  181. package/src/lib/styles/_imports.scss +77 -0
  182. package/src/lib/styles/atoms/_button.scss +205 -0
  183. package/src/lib/styles/components/_advanced-autocomplete.scss +190 -0
  184. package/src/lib/styles/components/_alert.scss +115 -0
  185. package/src/lib/styles/components/_anchor-wrapper.scss +29 -0
  186. package/src/lib/styles/components/_breadcrumbs.scss +99 -0
  187. package/src/lib/styles/components/_bubble-chart.scss +33 -0
  188. package/src/lib/styles/components/_carousel.scss +184 -0
  189. package/src/lib/styles/components/_chart.scss +28 -0
  190. package/src/lib/styles/components/_content-placeholder.scss +74 -0
  191. package/src/lib/styles/components/_data-widget.scss +93 -0
  192. package/src/lib/styles/components/_datepicker.scss +29 -0
  193. package/src/lib/styles/components/_facet-header.scss +58 -0
  194. package/src/lib/styles/components/_facet-year-range.scss +63 -0
  195. package/src/lib/styles/components/_facet.scss +164 -0
  196. package/src/lib/styles/components/_footer.scss +116 -0
  197. package/src/lib/styles/components/_header.scss +474 -0
  198. package/src/lib/styles/components/_hero.scss +207 -0
  199. package/src/lib/styles/components/_histogram-range.scss +36 -0
  200. package/src/lib/styles/components/_image-viewer-tools.scss +225 -0
  201. package/src/lib/styles/components/_image-viewer.scss +173 -0
  202. package/src/lib/styles/components/_inner-title.scss +161 -0
  203. package/src/lib/styles/components/_input-checkbox.scss +50 -0
  204. package/src/lib/styles/components/_input-link.scss +78 -0
  205. package/src/lib/styles/components/_input-select.scss +25 -0
  206. package/src/lib/styles/components/_input-text.scss +53 -0
  207. package/src/lib/styles/components/_item-preview.scss +218 -0
  208. package/src/lib/styles/components/_loader.scss +54 -0
  209. package/src/lib/styles/components/_map.scss +31 -0
  210. package/src/lib/styles/components/_metadata-viewer.scss +52 -0
  211. package/src/lib/styles/components/_nav.scss +57 -0
  212. package/src/lib/styles/components/_pagination.scss +170 -0
  213. package/src/lib/styles/components/_progress-line.scss +53 -0
  214. package/src/lib/styles/components/_sidebar-header.scss +69 -0
  215. package/src/lib/styles/components/_signup.scss +157 -0
  216. package/src/lib/styles/components/_simple-autocomplete.scss +60 -0
  217. package/src/lib/styles/components/_table.scss +129 -0
  218. package/src/lib/styles/components/_tag.scss +51 -0
  219. package/src/lib/styles/components/_text-viewer.scss +446 -0
  220. package/src/lib/styles/components/_timeline.scss +29 -0
  221. package/src/lib/styles/components/_toast.scss +99 -0
  222. package/src/lib/styles/components/_tooltip-content.scss +29 -0
  223. package/src/lib/styles/components/_tree.scss +208 -0
  224. package/src/lib/styles/components/_wizard.scss +150 -0
  225. package/src/lib/styles/generic/_color_scheme.scss +27 -0
  226. package/src/lib/styles/generic/_mixins.scss +81 -0
  227. package/src/lib/styles/generic/_variables.scss +385 -0
  228. package/src/lib/styles/global/_forms.scss +122 -0
  229. package/src/lib/styles/global/_global.scss +46 -0
  230. package/src/lib/styles/global/_normalize.scss +433 -0
  231. package/src/lib/styles/global/_typography.scss +88 -0
  232. 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
+ }