@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,208 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TREE
|
|
3
|
+
*
|
|
4
|
+
* Component to navigate a tree.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
#TREE-ITEMS
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.n7-tree {
|
|
11
|
+
/* First level elements */
|
|
12
|
+
&__item-contents {
|
|
13
|
+
display: flex;
|
|
14
|
+
border-bottom: 1px solid $color-border-normal;
|
|
15
|
+
|
|
16
|
+
/* n7-anchor-wrapper directive */
|
|
17
|
+
> * {
|
|
18
|
+
flex-grow: 2;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&__item-text {
|
|
23
|
+
display: block;
|
|
24
|
+
margin: 0 $space*1;
|
|
25
|
+
padding: $space*1 0;
|
|
26
|
+
color: $color-text;
|
|
27
|
+
font-size: $font-size-m;
|
|
28
|
+
font-weight: $font-weight-bold;
|
|
29
|
+
line-height: 1.4;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* Sub level elements */
|
|
33
|
+
&__children-wrapper {
|
|
34
|
+
.n7-tree__n7-tree__item {
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.n7-tree__item-text {
|
|
38
|
+
font-size: $font-size-s;
|
|
39
|
+
font-weight: $font-weight-normal;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&__item-toggle {
|
|
44
|
+
display: flex;
|
|
45
|
+
align-items: center;
|
|
46
|
+
flex-shrink: 0;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
width: 40px;
|
|
49
|
+
text-align: center;
|
|
50
|
+
font-size: $font-size-l;
|
|
51
|
+
border-right: 1px solid $color-border-light;
|
|
52
|
+
color: $color-text;
|
|
53
|
+
flex-grow: 0;
|
|
54
|
+
cursor: pointer;
|
|
55
|
+
|
|
56
|
+
&:hover {
|
|
57
|
+
color: $color-text-link;
|
|
58
|
+
background-color: $color-background-medium;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&__item-details {
|
|
63
|
+
display: flex;
|
|
64
|
+
align-items: center;
|
|
65
|
+
cursor: pointer;
|
|
66
|
+
|
|
67
|
+
&:hover {
|
|
68
|
+
.n7-tree__item-text {
|
|
69
|
+
color: $color-text-link;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&__item-icon {
|
|
75
|
+
display: flex;
|
|
76
|
+
align-items: center;
|
|
77
|
+
justify-content: center;
|
|
78
|
+
width: $tree-image-size;
|
|
79
|
+
margin-left: $space*1;
|
|
80
|
+
color: $color-text-light;
|
|
81
|
+
flex-shrink: 0;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* Icon on the right */
|
|
85
|
+
&__item-right-icon {
|
|
86
|
+
display: flex;
|
|
87
|
+
align-items: center;
|
|
88
|
+
justify-content: center;
|
|
89
|
+
width: $tree-image-size;
|
|
90
|
+
margin-left: auto;
|
|
91
|
+
color: $color-text-light;
|
|
92
|
+
flex-shrink: 0;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&__item-img {
|
|
96
|
+
margin-left: $space*1;
|
|
97
|
+
width: $tree-image-size;
|
|
98
|
+
height: $tree-image-size;
|
|
99
|
+
object-fit: cover;
|
|
100
|
+
flex-shrink: 0;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/* is-active */
|
|
104
|
+
&__item.is-active {
|
|
105
|
+
> .n7-tree__item-contents {
|
|
106
|
+
.n7-tree__item-text {
|
|
107
|
+
font-weight: $font-weight-bold;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/* is-collapsed: all children are hidden */
|
|
113
|
+
&__item.is-collapsed {
|
|
114
|
+
.n7-tree__children-wrapper {
|
|
115
|
+
display: none;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
/* ------------------------------------ *\
|
|
122
|
+
#INDENTATION
|
|
123
|
+
\* ------------------------------------ */
|
|
124
|
+
/* stylelint-disable */
|
|
125
|
+
.n7-tree__children-wrapper {
|
|
126
|
+
.n7-tree__item-contents {
|
|
127
|
+
padding-left: $tree-indent;
|
|
128
|
+
}
|
|
129
|
+
.n7-tree__item-toggle {
|
|
130
|
+
border-left: 1px solid $color-border-light;
|
|
131
|
+
}
|
|
132
|
+
.n7-tree__children-wrapper {
|
|
133
|
+
/* 3rd level */
|
|
134
|
+
.n7-tree__item-contents {
|
|
135
|
+
padding-left: $tree-indent*2;
|
|
136
|
+
}
|
|
137
|
+
.n7-tree__item-toggle {
|
|
138
|
+
border-left: 1px solid $color-border-light;
|
|
139
|
+
}
|
|
140
|
+
.n7-tree__children-wrapper {
|
|
141
|
+
/* 4th level */
|
|
142
|
+
.n7-tree__item-contents {
|
|
143
|
+
padding-left: $tree-indent*3;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.n7-tree__children-wrapper {
|
|
147
|
+
/* 5th level */
|
|
148
|
+
.n7-tree__item-contents {
|
|
149
|
+
padding-left: $tree-indent*4;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.n7-tree__children-wrapper {
|
|
153
|
+
/* 6th level */
|
|
154
|
+
.n7-tree__item-contents {
|
|
155
|
+
padding-left: $tree-indent*5;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.n7-tree__children-wrapper {
|
|
159
|
+
/* 7th level */
|
|
160
|
+
.n7-tree__item-contents {
|
|
161
|
+
padding-left: $tree-indent*6;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.n7-tree__children-wrapper {
|
|
165
|
+
/* 8th level */
|
|
166
|
+
.n7-tree__item-contents {
|
|
167
|
+
padding-left: $tree-indent*7;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.n7-tree__children-wrapper {
|
|
171
|
+
/* 9th level */
|
|
172
|
+
.n7-tree__item-contents {
|
|
173
|
+
padding-left: $tree-indent*8;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.n7-tree__children-wrapper {
|
|
177
|
+
/* 10th level */
|
|
178
|
+
.n7-tree__item-contents {
|
|
179
|
+
padding-left: $tree-indent*9;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/* All flats */
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
/* stylelint-enable */
|
|
193
|
+
|
|
194
|
+
/* ------------------------------------ *\
|
|
195
|
+
#MEDIA-QUERIES
|
|
196
|
+
\* ------------------------------------ */
|
|
197
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/* Retina */
|
|
207
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
208
|
+
}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WIZARD
|
|
3
|
+
*
|
|
4
|
+
* Component to guide the user through a step-by-step process.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
#WIZARD
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.n7-wizard {
|
|
11
|
+
height: $wizard-height;
|
|
12
|
+
|
|
13
|
+
&__list {
|
|
14
|
+
display: flex;
|
|
15
|
+
position: relative;
|
|
16
|
+
height: $wizard-height;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&__item {
|
|
20
|
+
position: relative;
|
|
21
|
+
display: inline-block;
|
|
22
|
+
height: $wizard-height;
|
|
23
|
+
line-height: $wizard-height;
|
|
24
|
+
padding: 0 0 0 $wizard-number-circle-margin;
|
|
25
|
+
|
|
26
|
+
&:not(:first-child) {
|
|
27
|
+
padding-left: calc($wizard-height/2.5) + $wizard-number-circle-margin;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* Past items */
|
|
31
|
+
background-color: $wizard-past-bg-color;
|
|
32
|
+
color: $wizard-past-text-color;
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
|
|
35
|
+
/* Current item */
|
|
36
|
+
&.is-active {
|
|
37
|
+
background-color: $wizard-present-bg-color;
|
|
38
|
+
color: $wizard-present-text-color;
|
|
39
|
+
cursor: default;
|
|
40
|
+
|
|
41
|
+
.n7-wizard__number {
|
|
42
|
+
background-color: $wizard-present-number-bg-color;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* Future items */
|
|
47
|
+
&.is-active ~ * {
|
|
48
|
+
background-color: $wizard-future-bg-color;
|
|
49
|
+
color: $wizard-future-text-color;
|
|
50
|
+
cursor: not-allowed;
|
|
51
|
+
|
|
52
|
+
.n7-wizard__number {
|
|
53
|
+
background-color: $wizard-future-number-bg-color;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&:first-child {
|
|
58
|
+
border-radius: calc($wizard-height/2) 0 0 calc($wizard-height/2);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&:last-child {
|
|
62
|
+
padding-right: $wizard-number-circle-margin;
|
|
63
|
+
border-radius: 0 calc($wizard-height/2) calc($wizard-height/2) 0;
|
|
64
|
+
|
|
65
|
+
.n7-wizard__text {
|
|
66
|
+
margin-right: $wizard-number-circle-margin;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/* Arrows */
|
|
71
|
+
&:not(:last-child) {
|
|
72
|
+
&:after {
|
|
73
|
+
content: " ";
|
|
74
|
+
width: 0;
|
|
75
|
+
height: 0;
|
|
76
|
+
border-style: solid;
|
|
77
|
+
border-width: calc($wizard-height/2) 0 calc($wizard-height/2) calc($wizard-height/3);
|
|
78
|
+
border-color: transparent transparent transparent $wizard-past-bg-color;
|
|
79
|
+
position: absolute;
|
|
80
|
+
top: 0;
|
|
81
|
+
right: ceil(- calc($wizard-height/3)); // ceil is used to avoid showing fractions of pixel
|
|
82
|
+
z-index: 10;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&:before {
|
|
86
|
+
content: " ";
|
|
87
|
+
width: 0;
|
|
88
|
+
height: 0;
|
|
89
|
+
border-style: solid;
|
|
90
|
+
border-width: calc($wizard-height/1.5) 0 calc($wizard-height/1.5) calc($wizard-height/2.5);
|
|
91
|
+
border-color: transparent transparent transparent $color-background-base;
|
|
92
|
+
position: absolute;
|
|
93
|
+
top: - calc((( calc($wizard-height/1.5) * 2) - ( calc($wizard-height/2) * 2)) /2);
|
|
94
|
+
right: ceil(- calc($wizard-height/2.5)); // ceil is used to avoid showing fractions of pixel
|
|
95
|
+
z-index: 5;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&.is-active {
|
|
99
|
+
&:after {
|
|
100
|
+
border-color: transparent transparent transparent $wizard-present-bg-color;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&.is-active ~ * {
|
|
105
|
+
&:after {
|
|
106
|
+
border-color: transparent transparent transparent $wizard-future-bg-color;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&__number {
|
|
113
|
+
display: inline-block;
|
|
114
|
+
margin-top: $wizard-number-circle-margin;
|
|
115
|
+
width: $wizard-height - ($wizard-number-circle-margin * 2);
|
|
116
|
+
height: $wizard-height - ($wizard-number-circle-margin * 2);
|
|
117
|
+
text-align: center;
|
|
118
|
+
line-height: $wizard-height - ($wizard-number-circle-margin * 2);
|
|
119
|
+
font-weight: $font-weight-bold;
|
|
120
|
+
font-size: $wizard-number-size;
|
|
121
|
+
vertical-align: top;
|
|
122
|
+
border-radius: calc(($wizard-height - ($wizard-number-circle-margin * 2))/2);
|
|
123
|
+
background-color: $wizard-past-number-bg-color;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&__text {
|
|
127
|
+
display: inline-block;
|
|
128
|
+
margin-left: $wizard-number-circle-margin;
|
|
129
|
+
font-weight: $font-weight-normal;
|
|
130
|
+
font-size: $wizard-text-size;
|
|
131
|
+
vertical-align: top;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
/* ------------------------------------ *\
|
|
137
|
+
#MEDIA-QUERIES
|
|
138
|
+
\* ------------------------------------ */
|
|
139
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/* Retina */
|
|
149
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
150
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
//
|
|
2
|
+
// COLOR SCHEME
|
|
3
|
+
//
|
|
4
|
+
// Here we define all colors used in components and project
|
|
5
|
+
//
|
|
6
|
+
|
|
7
|
+
// ------------------------------------ //
|
|
8
|
+
// #COLOR-SCHEME
|
|
9
|
+
// ------------------------------------ //
|
|
10
|
+
// Grayscale (background, borders, text)
|
|
11
|
+
$color-gray-00: #ffffff;
|
|
12
|
+
$color-gray-01: #f7f7f7;
|
|
13
|
+
$color-gray-02: #f0f0f0;
|
|
14
|
+
$color-gray-03: #dddddd;
|
|
15
|
+
$color-gray-04: #ababab;
|
|
16
|
+
$color-gray-05: #262216;
|
|
17
|
+
|
|
18
|
+
// Brand colors
|
|
19
|
+
$color-main: #2e5bff;
|
|
20
|
+
$color-second: #8c54ff;
|
|
21
|
+
$color-third: #f5a623;
|
|
22
|
+
$color-text-hover: rgb(26, 64, 204); /* Used for text link in hover state */
|
|
23
|
+
|
|
24
|
+
// Status colors
|
|
25
|
+
$color-error: #d12c47;
|
|
26
|
+
$color-warning: #f5a623;
|
|
27
|
+
$color-success: #3f7600;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
//
|
|
2
|
+
// MIXINS
|
|
3
|
+
//
|
|
4
|
+
// Various mixins
|
|
5
|
+
//
|
|
6
|
+
|
|
7
|
+
// ------------------------------------ //
|
|
8
|
+
// #MIXINS
|
|
9
|
+
// ------------------------------------ //
|
|
10
|
+
@mixin overlay {
|
|
11
|
+
position: absolute;
|
|
12
|
+
content: " ";
|
|
13
|
+
top: 0;
|
|
14
|
+
bottom: 0;
|
|
15
|
+
left: 0;
|
|
16
|
+
right: 0;
|
|
17
|
+
background-color: rgba(#000000, .4) !important;
|
|
18
|
+
transition: all $transition-durations;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@mixin overlay-bottom-gradient {
|
|
22
|
+
position: absolute;
|
|
23
|
+
content: " ";
|
|
24
|
+
top: 0;
|
|
25
|
+
bottom: 0;
|
|
26
|
+
left: 0;
|
|
27
|
+
right: 0;
|
|
28
|
+
|
|
29
|
+
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,1) 100%); /* FF3.6-15 */
|
|
30
|
+
background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 50%,rgba(0,0,0,1) 100%); /* Chrome10-25,Safari5.1-6 */
|
|
31
|
+
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 50%,rgba(0,0,0,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
|
|
32
|
+
|
|
33
|
+
transition: all $transition-durations;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@mixin consistent {
|
|
37
|
+
&:after {
|
|
38
|
+
content: ' ';
|
|
39
|
+
clear: both;
|
|
40
|
+
display: block;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
// ------------------------------------ //
|
|
46
|
+
// #INPUT PLACEHOLDER STYLE
|
|
47
|
+
// ------------------------------------ //
|
|
48
|
+
@mixin placeholder {
|
|
49
|
+
&::-webkit-input-placeholder {
|
|
50
|
+
@content;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&:-moz-placeholder {
|
|
54
|
+
@content;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&::-moz-placeholder {
|
|
58
|
+
@content;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&:-ms-input-placeholder {
|
|
62
|
+
@content;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// ------------------------------------ //
|
|
67
|
+
// #FLEX-ITEM-WIDTH
|
|
68
|
+
// ------------------------------------ //
|
|
69
|
+
@mixin flex-item-width($width) {
|
|
70
|
+
flex: 0 0 $width;
|
|
71
|
+
width: $width;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// ------------------------------------ //
|
|
75
|
+
// #FIRST LETTER CAPITAL
|
|
76
|
+
// ------------------------------------ //
|
|
77
|
+
@mixin first-letter-capital() {
|
|
78
|
+
&:first-letter {
|
|
79
|
+
text-transform: uppercase;
|
|
80
|
+
}
|
|
81
|
+
}
|