@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,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SIDEBAR-HEADER
|
|
3
|
+
*
|
|
4
|
+
* Header for sidebar with icons (on the left and the right) and a text.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
#SIDEBAR-HEADER
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.n7-sidebar-header {
|
|
11
|
+
display: flex;
|
|
12
|
+
width: 100%;
|
|
13
|
+
height: $sidebar-header-height;
|
|
14
|
+
background-color: $sidebar-header-background-color;
|
|
15
|
+
|
|
16
|
+
&__icon-left {
|
|
17
|
+
display: block;
|
|
18
|
+
width: $sidebar-header-height;
|
|
19
|
+
height: $sidebar-header-height;
|
|
20
|
+
line-height: $sidebar-header-height;
|
|
21
|
+
text-align: center;
|
|
22
|
+
font-size: $font-size-l;
|
|
23
|
+
color: $sidebar-left-text-color;
|
|
24
|
+
background-color: $sidebar-left-background-color;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&__text {
|
|
28
|
+
margin-right: $space;
|
|
29
|
+
margin-left: $space;
|
|
30
|
+
line-height: $sidebar-header-height;
|
|
31
|
+
font-size: $font-size-m;
|
|
32
|
+
color: $sidebar-header-text-color;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&__secondary-text {
|
|
36
|
+
line-height: $sidebar-header-height;
|
|
37
|
+
font-size: $font-size-s;
|
|
38
|
+
color: $sidebar-header-text-color;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&__icon-right {
|
|
42
|
+
margin-left: auto; // Flexbox stuff
|
|
43
|
+
display: block;
|
|
44
|
+
width: $sidebar-header-height;
|
|
45
|
+
height: $sidebar-header-height;
|
|
46
|
+
color: $sidebar-right-text-color;
|
|
47
|
+
background-color: $sidebar-right-background-color;
|
|
48
|
+
line-height: $sidebar-header-height;
|
|
49
|
+
text-align: center;
|
|
50
|
+
font-size: $font-size-xl;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
/* ------------------------------------ *\
|
|
56
|
+
#MEDIA-QUERIES
|
|
57
|
+
\* ------------------------------------ */
|
|
58
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* Retina */
|
|
68
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
69
|
+
}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SIGNUP
|
|
3
|
+
*
|
|
4
|
+
* Component for login/signup/forgotten password managing.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
#SIGNUP
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.n7-signup {
|
|
11
|
+
max-width: $signup-max-width;
|
|
12
|
+
margin-right: auto;
|
|
13
|
+
margin-left: auto;
|
|
14
|
+
padding: $space*2;
|
|
15
|
+
|
|
16
|
+
&__text {
|
|
17
|
+
font-size: $font-size-s;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&__form-error {
|
|
21
|
+
margin-top: calc($space/2);
|
|
22
|
+
margin-bottom: calc($space/2);
|
|
23
|
+
font-size: $font-size-s;
|
|
24
|
+
color: $signup-error-color;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&__form-item {
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-flow: column nowrap;
|
|
30
|
+
padding: $space 0;
|
|
31
|
+
position: relative;
|
|
32
|
+
|
|
33
|
+
textarea,
|
|
34
|
+
input[type="date"],
|
|
35
|
+
input[type="datetime"],
|
|
36
|
+
input[type="datetime-local"],
|
|
37
|
+
input[type="email"], input[type="month"],
|
|
38
|
+
input[type="number"], input[type="password"],
|
|
39
|
+
input[type="search"], input[type="tel"],
|
|
40
|
+
input[type="text"], input[type="time"], input[type="url"], input[type="week"] {
|
|
41
|
+
background: $signup-input-background;
|
|
42
|
+
|
|
43
|
+
&:-webkit-autofill {
|
|
44
|
+
background: $signup-input-background !important;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
input[type="password"] {
|
|
49
|
+
padding-right: 35px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&.has-error {
|
|
53
|
+
textarea,
|
|
54
|
+
input[type="date"],
|
|
55
|
+
input[type="datetime"],
|
|
56
|
+
input[type="datetime-local"],
|
|
57
|
+
input[type="email"], input[type="month"],
|
|
58
|
+
input[type="number"], input[type="password"],
|
|
59
|
+
input[type="search"], input[type="tel"],
|
|
60
|
+
input[type="text"], input[type="time"], input[type="url"], input[type="week"] {
|
|
61
|
+
border-color: $signup-error-color;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&__form-item-label {
|
|
67
|
+
font-size: $font-size-s;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&__form-item-hint {
|
|
71
|
+
margin-bottom: $space;
|
|
72
|
+
font-size: $font-size-xs;
|
|
73
|
+
color: $color-text-light;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&__input-wrapper {
|
|
77
|
+
position: relative;
|
|
78
|
+
width: 100%;
|
|
79
|
+
|
|
80
|
+
textarea,
|
|
81
|
+
input[type="date"],
|
|
82
|
+
input[type="datetime"],
|
|
83
|
+
input[type="datetime-local"],
|
|
84
|
+
input[type="email"], input[type="month"],
|
|
85
|
+
input[type="number"], input[type="password"],
|
|
86
|
+
input[type="search"], input[type="tel"],
|
|
87
|
+
input[type="text"], input[type="time"], input[type="url"], input[type="week"] {
|
|
88
|
+
width: 100%;
|
|
89
|
+
box-sizing: border-box;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.n7-signup__form-item-show-password {
|
|
93
|
+
position: absolute;
|
|
94
|
+
right: 2px;
|
|
95
|
+
line-height: $form-input-height;
|
|
96
|
+
border: none;
|
|
97
|
+
background: transparent;
|
|
98
|
+
|
|
99
|
+
&:hover,
|
|
100
|
+
&:focus {
|
|
101
|
+
color: $color-text-hover;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&__form-item-forgot-password {
|
|
107
|
+
a {
|
|
108
|
+
text-decoration: underline;
|
|
109
|
+
font-size: $font-size-s;
|
|
110
|
+
color: $color-text;
|
|
111
|
+
|
|
112
|
+
&:hover,
|
|
113
|
+
&:focus {
|
|
114
|
+
color: $color-text-hover;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&__footer {
|
|
120
|
+
display: flex;
|
|
121
|
+
align-items: center;
|
|
122
|
+
margin-top: $space;
|
|
123
|
+
padding: $space*1.5 0;
|
|
124
|
+
border-top: 1px solid $color-border-normal;
|
|
125
|
+
|
|
126
|
+
.n7-btn {
|
|
127
|
+
margin-left: auto;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&__footer-text {
|
|
132
|
+
font-size: $font-size-s;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
/* ------------------------------------ *\
|
|
138
|
+
#MEDIA-QUERIES
|
|
139
|
+
\* ------------------------------------ */
|
|
140
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
@media all and (max-width: $breakpoint-ipad-portrait - 1) {
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
@media all and (min-width: $breakpoint-ipad-portrait) {
|
|
150
|
+
.n7-signup {
|
|
151
|
+
padding: $space*3;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/* Retina */
|
|
156
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
157
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SIMPLE-AUTOCOMPLETE
|
|
3
|
+
*
|
|
4
|
+
* Autocomplete results suggestions component, simpler version of advanced-autocomplete.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
#SIMPLE-AUTOCOMPLETE
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.n7-simple-autocomplete {
|
|
11
|
+
padding: 0 $space*1.5;
|
|
12
|
+
border-radius: $border-radius;
|
|
13
|
+
border: 1px solid $color-border-normal;
|
|
14
|
+
font-size: $font-size-s;
|
|
15
|
+
|
|
16
|
+
&__list {
|
|
17
|
+
margin: 0;
|
|
18
|
+
padding: 0;
|
|
19
|
+
list-style: none;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&__item {
|
|
23
|
+
border-bottom: 1px solid $color-border-light;
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
|
|
26
|
+
&:last-child {
|
|
27
|
+
border-bottom: none;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&__link {
|
|
32
|
+
display: block;
|
|
33
|
+
padding: calc($space/1.5) 0 calc($space/1.5) 0;
|
|
34
|
+
color: $color-text;
|
|
35
|
+
|
|
36
|
+
&:hover {
|
|
37
|
+
color: $color-text-link-hover;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&__label {
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
/* ------------------------------------ *\
|
|
47
|
+
#MEDIA-QUERIES
|
|
48
|
+
\* ------------------------------------ */
|
|
49
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/* Retina */
|
|
59
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
60
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TABLE
|
|
3
|
+
*
|
|
4
|
+
* Table component used to display values in a table and to edit list of values in a table.
|
|
5
|
+
* Cell can contain values, HTML snippets and input fields.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* ------------------------------------ *\
|
|
9
|
+
TABLE
|
|
10
|
+
\* ------------------------------------ */
|
|
11
|
+
.n7-table {
|
|
12
|
+
&__table {
|
|
13
|
+
width: 100%;
|
|
14
|
+
border-collapse: collapse;
|
|
15
|
+
border: $table-border-size solid $table-border-color;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* Header */
|
|
19
|
+
&__table-header-cell {
|
|
20
|
+
padding: $space;
|
|
21
|
+
border: $table-border-size solid $table-border-color;
|
|
22
|
+
background-color: $table-header-bg;
|
|
23
|
+
color: $table-header-text-color;
|
|
24
|
+
font-size: $table-header-font-size;
|
|
25
|
+
text-align: left;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* Contents */
|
|
29
|
+
&__table-body-row:nth-child(even) {
|
|
30
|
+
background-color: $table-bg-even;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&__table-body-row:nth-child(odd) {
|
|
34
|
+
background-color: $table-bg-odd;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&__table-body-cell {
|
|
38
|
+
padding: $space;
|
|
39
|
+
border: $table-border-size solid $table-border-color;
|
|
40
|
+
color: $table-text-color;
|
|
41
|
+
font-size: $table-font-size;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/* Footer */
|
|
45
|
+
&__table-footer-cell {
|
|
46
|
+
padding: $space;
|
|
47
|
+
border: $table-border-size solid $table-border-color;
|
|
48
|
+
background-color: $table-footer-bg;
|
|
49
|
+
color: $table-footer-text-color;
|
|
50
|
+
font-size: $table-footer-font-size;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* TODO Add a comment here to explain what is this! */
|
|
54
|
+
.hidden {
|
|
55
|
+
display: none;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.showing {
|
|
59
|
+
display: table-row;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
/* ------------------------------------ *\
|
|
65
|
+
#MEDIA-QUERIES
|
|
66
|
+
\* ------------------------------------ */
|
|
67
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
71
|
+
|
|
72
|
+
.n7-table {
|
|
73
|
+
&__table {
|
|
74
|
+
display: block;
|
|
75
|
+
width: 100%;
|
|
76
|
+
border: 0;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&__table-footer {
|
|
80
|
+
display: none;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&__table-header {
|
|
84
|
+
display: block;
|
|
85
|
+
display: none;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&__table-body {
|
|
89
|
+
display: block;
|
|
90
|
+
width: 100%;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&__table-body-row {
|
|
94
|
+
display: block;
|
|
95
|
+
width: 100%;
|
|
96
|
+
border-bottom: $table-border-size solid $table-border-color;
|
|
97
|
+
margin-bottom: .625em;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&__table-body-cell {
|
|
101
|
+
display: block;
|
|
102
|
+
border-top: $table-border-size solid $table-border-color;
|
|
103
|
+
border-left: $table-border-size solid $table-border-color;
|
|
104
|
+
border-right: $table-border-size solid $table-border-color;
|
|
105
|
+
border-bottom: 0;
|
|
106
|
+
font-size: .8em;
|
|
107
|
+
text-align: right;
|
|
108
|
+
|
|
109
|
+
&:before {
|
|
110
|
+
content: attr(aria-label);
|
|
111
|
+
float: left;
|
|
112
|
+
font-weight: $font-weight-bold;
|
|
113
|
+
text-transform: uppercase;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&:last-child {
|
|
117
|
+
border-bottom: 0;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/* Retina */
|
|
128
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
129
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TAG
|
|
3
|
+
*
|
|
4
|
+
* Tag component, with value, label and icon to click and remove it.
|
|
5
|
+
* Can be used as tag element and as active filter indication.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* ------------------------------------ *\
|
|
9
|
+
TAG
|
|
10
|
+
\* ------------------------------------ */
|
|
11
|
+
.n7-tag {
|
|
12
|
+
padding: calc($space/2) $space;
|
|
13
|
+
background-color: $color-second;
|
|
14
|
+
border-radius: $border-radius-hard;
|
|
15
|
+
font-size: $font-size-xs;
|
|
16
|
+
|
|
17
|
+
&__label, &__text {
|
|
18
|
+
color: $color-text-inverse;
|
|
19
|
+
font-size: $font-size-xs;
|
|
20
|
+
line-height: 1;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&__label {
|
|
24
|
+
font-weight: $font-weight-bold;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&__icon {
|
|
28
|
+
margin-left: calc($space/2);
|
|
29
|
+
font-size: $font-size-xs;
|
|
30
|
+
color: $color-text-inverse;
|
|
31
|
+
line-height: 1;
|
|
32
|
+
cursor: pointer;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/* ------------------------------------ *\
|
|
38
|
+
#MEDIA-QUERIES
|
|
39
|
+
\* ------------------------------------ */
|
|
40
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* Retina */
|
|
50
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
51
|
+
}
|