@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,225 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IMAGE-VIEWER-TOOLS
|
|
3
|
+
*
|
|
4
|
+
* Component that is overlapped on the image tools to add thumbs, caption and other functionalities.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
#IMAGE-VIEWER-TOOLS
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.n7-image-viewer-tools {
|
|
11
|
+
width: 100%;
|
|
12
|
+
position: relative;
|
|
13
|
+
// height: 600px;
|
|
14
|
+
// background-color: $image-viewer-background-color;
|
|
15
|
+
|
|
16
|
+
/* Test layout */
|
|
17
|
+
&__test {
|
|
18
|
+
height: 600px;
|
|
19
|
+
background-color: $image-viewer-background-color;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&__bar {
|
|
23
|
+
position: absolute;
|
|
24
|
+
bottom: 0;
|
|
25
|
+
left: 0;
|
|
26
|
+
right: 0;
|
|
27
|
+
display: flex;
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
align-items: flex-end;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&__thumbs-description {
|
|
33
|
+
width: 100%;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* ------------------------------------ *\
|
|
38
|
+
#CONTROLS
|
|
39
|
+
\* ------------------------------------ */
|
|
40
|
+
/* Buttons to show/fide the thumbs strip or the caption. */
|
|
41
|
+
.n7-image-viewer-tools {
|
|
42
|
+
&__controls {
|
|
43
|
+
margin: 0 $space*2 $space*2 0;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&__control-wrapper {
|
|
47
|
+
display: block;
|
|
48
|
+
margin-top: $space;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&__control-btn {
|
|
52
|
+
display: flex;
|
|
53
|
+
align-items: center;
|
|
54
|
+
justify-content: center;
|
|
55
|
+
width: $image-viewer-control-width;
|
|
56
|
+
height: $image-viewer-control-height;
|
|
57
|
+
margin-top: $space;
|
|
58
|
+
cursor: pointer;
|
|
59
|
+
background-color: $image-viewer-tools-control-color;
|
|
60
|
+
border-radius: $border-radius;
|
|
61
|
+
box-shadow: 0 0 14px $image-viewer-background-color;
|
|
62
|
+
|
|
63
|
+
&:hover {
|
|
64
|
+
.n7-image-viewer-tools__control-btn-icon {
|
|
65
|
+
color: rgba($color-text-inverse, 1);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&__control-btn-icon {
|
|
71
|
+
color: rgba($color-text-inverse, .8);
|
|
72
|
+
font-size: $image-viewer-control-icon-size;
|
|
73
|
+
transition: color $transition-durations;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&__control-btn.is-active {
|
|
77
|
+
background-color: $image-viewer-tools-control-color-active;
|
|
78
|
+
|
|
79
|
+
&:hover {
|
|
80
|
+
.n7-image-viewer-tools__control-btn-icon {
|
|
81
|
+
color: rgba($color-text-inverse, 1);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
/* ------------------------------------ *\
|
|
89
|
+
#THUMBS
|
|
90
|
+
\* ------------------------------------ */
|
|
91
|
+
.n7-image-viewer-tools {
|
|
92
|
+
&__thumbs {
|
|
93
|
+
position: relative;
|
|
94
|
+
background: rgba(0,0,0,0.65);
|
|
95
|
+
box-shadow: 0 -3px 30px rgba(0,0,0,.1), inset 0 1px 1px rgba(255,255,255,.1);
|
|
96
|
+
width: 100%;
|
|
97
|
+
height: auto;
|
|
98
|
+
bottom: 0;
|
|
99
|
+
overflow-x: hidden;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&__thumbs-strip {
|
|
103
|
+
position: relative;
|
|
104
|
+
display: flex;
|
|
105
|
+
flex-wrap: nowrap;
|
|
106
|
+
padding: $space 0;
|
|
107
|
+
overflow-x: hidden;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&__thumb {
|
|
111
|
+
margin: 0 calc($space/2);
|
|
112
|
+
|
|
113
|
+
&.active {
|
|
114
|
+
.n7-image-viewer-tools__thumb-image {
|
|
115
|
+
border: 3px solid $image-viewer-thumb-active-border-color;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&__thumb-image {
|
|
121
|
+
height: $image-viewer-thumb-height;
|
|
122
|
+
width: $image-viewer-thumb-width;
|
|
123
|
+
object-fit: contain;
|
|
124
|
+
background: rgba(0,0,0,0.4);
|
|
125
|
+
border-radius: $border-radius;
|
|
126
|
+
border: 3px solid transparent;
|
|
127
|
+
|
|
128
|
+
&:hover {
|
|
129
|
+
cursor: pointer;
|
|
130
|
+
border: 3px solid $image-viewer-thumb-hover-border-color;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/* Left/right arrows to scroll thumbs */
|
|
135
|
+
&__thumbs-scroll-left,
|
|
136
|
+
&__thumbs-scroll-right {
|
|
137
|
+
position: absolute;
|
|
138
|
+
top: 0;
|
|
139
|
+
bottom: 0;
|
|
140
|
+
width: 40px;
|
|
141
|
+
display: flex;
|
|
142
|
+
align-items: center;
|
|
143
|
+
justify-content: center;
|
|
144
|
+
|
|
145
|
+
span {
|
|
146
|
+
color: $color-text-inverse;
|
|
147
|
+
font-size: $font-size-xxxl;
|
|
148
|
+
cursor: pointer;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&.is_disabled {
|
|
152
|
+
display: none;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
&__thumbs-scroll-left {
|
|
157
|
+
left: 0;
|
|
158
|
+
background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&__thumbs-scroll-right {
|
|
162
|
+
right: 0;
|
|
163
|
+
background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
/* ------------------------------------ *\
|
|
169
|
+
#DESCRIPTION/CAPTION
|
|
170
|
+
\* ------------------------------------ */
|
|
171
|
+
.n7-image-viewer-tools {
|
|
172
|
+
&__description {
|
|
173
|
+
position: relative;
|
|
174
|
+
box-sizing: border-box;
|
|
175
|
+
width: 100%;
|
|
176
|
+
height: auto;
|
|
177
|
+
background: rgba(0,0,0,0.65);
|
|
178
|
+
bottom: 0;
|
|
179
|
+
box-shadow: 0 -3px 30px rgba(0,0,0,.1), inset 0 1px 1px rgba(255,255,255,.1);
|
|
180
|
+
color: $color-text-inverse;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&__description-text-wrapper {
|
|
184
|
+
box-sizing: border-box;
|
|
185
|
+
max-height: 300px;
|
|
186
|
+
overflow-y: auto;
|
|
187
|
+
padding: $space*4 $space*5;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
&__description-close {
|
|
191
|
+
position: absolute;
|
|
192
|
+
width: $image-viewer-control-width;
|
|
193
|
+
height: $image-viewer-control-height;
|
|
194
|
+
display: flex;
|
|
195
|
+
align-items: center;
|
|
196
|
+
justify-content: center;
|
|
197
|
+
right: $space*2;
|
|
198
|
+
top: $space*2;
|
|
199
|
+
font-size: $image-viewer-control-icon-size;
|
|
200
|
+
cursor: pointer;
|
|
201
|
+
color: $color-text-inverse;
|
|
202
|
+
transition: color $transition-durations;
|
|
203
|
+
|
|
204
|
+
&:hover {
|
|
205
|
+
color: $color-text-link;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
/* ------------------------------------ *\
|
|
212
|
+
#MEDIA-QUERIES
|
|
213
|
+
\* ------------------------------------ */
|
|
214
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/* Retina */
|
|
224
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
225
|
+
}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IMAGE-VIEWER
|
|
3
|
+
*
|
|
4
|
+
* Image viewer component based on OpenSeaDragon.
|
|
5
|
+
* The component includes a thumb preview tool and
|
|
6
|
+
* native controls for zoomin zoomout home and fullscreen.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/* ------------------------------------ *\
|
|
10
|
+
#IMAGE-VIEWER
|
|
11
|
+
\* ------------------------------------ */
|
|
12
|
+
.n7-image-viewer {
|
|
13
|
+
position: relative;
|
|
14
|
+
background-color: $image-viewer-background-color;
|
|
15
|
+
|
|
16
|
+
&__viewer {
|
|
17
|
+
height: $image-viewer-height;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
/* ------------------------------------ *\
|
|
23
|
+
#THUMBS
|
|
24
|
+
\* ------------------------------------ */
|
|
25
|
+
/* This is the style for the default OpenSeaDragon thumbs.
|
|
26
|
+
For our custom thumbs please refer to ImageViewerTools. */
|
|
27
|
+
.n7-image-viewer {
|
|
28
|
+
&__thumbs {
|
|
29
|
+
position: absolute;
|
|
30
|
+
top: 50%;
|
|
31
|
+
transform: translateY(-50%);
|
|
32
|
+
right: $space*2;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&__thumb-list {
|
|
36
|
+
list-style: none;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&__thumb-item {
|
|
40
|
+
width: $image-viewer-thumb-width !important;
|
|
41
|
+
height: $image-viewer-thumb-height !important;
|
|
42
|
+
margin-bottom: $space;
|
|
43
|
+
background-size: cover;
|
|
44
|
+
background-position: center center;
|
|
45
|
+
background-repeat: none;
|
|
46
|
+
border: 2px solid transparent;
|
|
47
|
+
cursor: pointer;
|
|
48
|
+
|
|
49
|
+
&:last-child {
|
|
50
|
+
margin-bottom: 0;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&:hover:not(.is-active) {
|
|
54
|
+
border: 2px solid $image-viewer-thumb-hover-border-color;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&.is-active {
|
|
58
|
+
border: 2px solid $image-viewer-thumb-active-border-color;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
/* ------------------------------------ *\
|
|
65
|
+
#CONTROLS
|
|
66
|
+
\* ------------------------------------ */
|
|
67
|
+
.n7-image-viewer__controls {
|
|
68
|
+
position: absolute;
|
|
69
|
+
top: $space*2;
|
|
70
|
+
right: $space*2;
|
|
71
|
+
|
|
72
|
+
.n7-image-viewer__controls-list {
|
|
73
|
+
margin: 0;
|
|
74
|
+
padding: 0;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.n7-image-viewer__controls-item {
|
|
78
|
+
display: flex !important;
|
|
79
|
+
align-items: center;
|
|
80
|
+
justify-content: center;
|
|
81
|
+
width: $image-viewer-control-width;
|
|
82
|
+
height: $image-viewer-control-height;
|
|
83
|
+
margin-bottom: $space !important;
|
|
84
|
+
cursor: pointer;
|
|
85
|
+
background-color: rgba(#000000, .9);
|
|
86
|
+
border-radius: $border-radius;
|
|
87
|
+
|
|
88
|
+
span {
|
|
89
|
+
color: rgba($color-text-inverse, .8);
|
|
90
|
+
font-size: $image-viewer-control-icon-size;
|
|
91
|
+
transition: color $transition-durations;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&:hover {
|
|
95
|
+
background-color: rgba(#000000, 1);
|
|
96
|
+
span {
|
|
97
|
+
color: rgba($color-text-inverse, 1);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&:last-child {
|
|
102
|
+
margin-bottom: 0;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
/* ------------------------------------ *\
|
|
109
|
+
#PREV-NEXT
|
|
110
|
+
\* ------------------------------------ */
|
|
111
|
+
.n7-image-viewer__prev, .n7-image-viewer__next {
|
|
112
|
+
position: absolute !important;
|
|
113
|
+
top: 50%;
|
|
114
|
+
transform: translateY(-50%);
|
|
115
|
+
|
|
116
|
+
span {
|
|
117
|
+
color: rgba($color-text-inverse, .8);
|
|
118
|
+
font-size: $font-size-xxl*2;
|
|
119
|
+
transition: all $transition-durations;
|
|
120
|
+
cursor: pointer !important;
|
|
121
|
+
text-shadow: 0 2px 4px rgba(#000000, .5);
|
|
122
|
+
|
|
123
|
+
&:hover {
|
|
124
|
+
color: rgba($color-text-inverse, 1);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.n7-image-viewer__prev {
|
|
130
|
+
left: 0;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.n7-image-viewer__next {
|
|
134
|
+
right: 0;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
/* ------------------------------------ *\
|
|
139
|
+
#REFERENCE-STRIP
|
|
140
|
+
\* ------------------------------------ */
|
|
141
|
+
.openseadragon-container {
|
|
142
|
+
&:hover {
|
|
143
|
+
.referencestrip {
|
|
144
|
+
margin-bottom: 0 !important;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.referencestrip {
|
|
150
|
+
margin-bottom: -100px !important;
|
|
151
|
+
transition: all $transition-durations*2;
|
|
152
|
+
|
|
153
|
+
> *, .openseadragon-container, .openseadragon-canvas, canvas, .displayregion {
|
|
154
|
+
cursor: pointer !important;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
/* ------------------------------------ *\
|
|
160
|
+
#MEDIA-QUERIES
|
|
161
|
+
\* ------------------------------------ */
|
|
162
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/* Retina */
|
|
172
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
173
|
+
}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* INNER-TITLE
|
|
3
|
+
*
|
|
4
|
+
* Title component for page, sections, with title, subtitle and some sortings items.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* ------------------------------------ *\
|
|
8
|
+
#INNER-TITLE
|
|
9
|
+
\* ------------------------------------ */
|
|
10
|
+
.n7-inner-title {
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
padding: $space*2;
|
|
14
|
+
|
|
15
|
+
select,
|
|
16
|
+
input[type="text"] {
|
|
17
|
+
height: $inner-title-filters-height;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&__left-wrapper {
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&__icon-left {
|
|
26
|
+
padding: 0;
|
|
27
|
+
margin-right: $space;
|
|
28
|
+
font-size: $font-size-xxl;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&__image-left {
|
|
32
|
+
flex-shrink: 0;
|
|
33
|
+
padding: 0;
|
|
34
|
+
margin-right: $space;
|
|
35
|
+
width: $inner-title-image-size;
|
|
36
|
+
height: $inner-title-image-size;
|
|
37
|
+
background-size: cover;
|
|
38
|
+
background-repeat: no-repeat;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&__title {
|
|
42
|
+
margin-bottom: calc($space/2) ;
|
|
43
|
+
font-weight: $font-weight-bold;
|
|
44
|
+
font-size: $font-size-xxl;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&__subtitle {
|
|
48
|
+
font-size: $font-size-l;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&__tools {
|
|
52
|
+
display: flex;
|
|
53
|
+
align-items: center;
|
|
54
|
+
margin-left: auto;
|
|
55
|
+
|
|
56
|
+
> div {
|
|
57
|
+
margin-left: $space*2;
|
|
58
|
+
|
|
59
|
+
&:first-child {
|
|
60
|
+
margin-left: 0;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&__tools-label {
|
|
66
|
+
font-size: $font-size-l;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&__sorting {
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&__sorting-label {
|
|
73
|
+
margin-right: $space;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&__search {
|
|
77
|
+
display: flex;
|
|
78
|
+
align-items: center;
|
|
79
|
+
|
|
80
|
+
@include placeholder {
|
|
81
|
+
font-size: $font-size-m;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&__search-bar {
|
|
86
|
+
margin-right: calc($space/2);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&__buttons-wrapper {
|
|
90
|
+
display: flex;
|
|
91
|
+
align-items: center;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&__buttons-icon {
|
|
95
|
+
padding: 0;
|
|
96
|
+
margin-right: $space;
|
|
97
|
+
font-size: $font-size-l;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&__single-button-wrapper {
|
|
101
|
+
margin-right: $space;
|
|
102
|
+
|
|
103
|
+
&:last-of-type {
|
|
104
|
+
margin-right: 0;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
/* ------------------------------------ *\
|
|
111
|
+
#MEDIA-QUERIES
|
|
112
|
+
\* ------------------------------------ */
|
|
113
|
+
@media all and (max-width: $breakpoint-inner-title-medium) {
|
|
114
|
+
|
|
115
|
+
.n7-inner-title {
|
|
116
|
+
flex-wrap: wrap;
|
|
117
|
+
|
|
118
|
+
&__tools {
|
|
119
|
+
margin-left: 0;
|
|
120
|
+
padding: $space*2 0 0 0;
|
|
121
|
+
@include flex-item-width(calc(100% - #{$space*6}));
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
@media all and (max-width: $breakpoint-inner-title-small) {
|
|
128
|
+
|
|
129
|
+
.n7-inner-title {
|
|
130
|
+
|
|
131
|
+
&__wrapper-texts {
|
|
132
|
+
margin-bottom: $space;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&__tools {
|
|
136
|
+
align-items: stretch;
|
|
137
|
+
flex-flow: column nowrap;
|
|
138
|
+
@include flex-item-width(100%);
|
|
139
|
+
|
|
140
|
+
> div {
|
|
141
|
+
margin-left: 0;
|
|
142
|
+
margin-bottom: $space*1.5;
|
|
143
|
+
|
|
144
|
+
&:last-child {
|
|
145
|
+
margin-bottom: 0;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
@media all and (min-width: $breakpoint-desktop-wide) {
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/* Retina */
|
|
160
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
161
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/* ------------------------------------ *\
|
|
2
|
+
#INPUT CHECKBOX
|
|
3
|
+
\* ------------------------------------ */
|
|
4
|
+
.n7-input-checkbox {
|
|
5
|
+
display: inline-block;
|
|
6
|
+
margin-right: $space*2;
|
|
7
|
+
|
|
8
|
+
&__input-wrapper {
|
|
9
|
+
display: inline-block;
|
|
10
|
+
margin-right: $space;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&__input {
|
|
14
|
+
margin-right: calc($space/2);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&__label {
|
|
18
|
+
font-size: $font-size-s;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
/* ------------------------------------ *\
|
|
24
|
+
#FIELDSET
|
|
25
|
+
\* ------------------------------------ */
|
|
26
|
+
/* Wraps all the checkboxes to add a common label (tag: legend) */
|
|
27
|
+
.n7-input-checkbox {
|
|
28
|
+
&__fieldset {
|
|
29
|
+
border: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&__legend {}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
/* ------------------------------------ *\
|
|
37
|
+
#MEDIA-QUERIES
|
|
38
|
+
\* ------------------------------------ */
|
|
39
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/* Retina */
|
|
49
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
50
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/* ------------------------------------ *\
|
|
2
|
+
#LINKS
|
|
3
|
+
\* ------------------------------------ */
|
|
4
|
+
.n7-input-link {
|
|
5
|
+
max-height: $facet-links-max-height;
|
|
6
|
+
padding-right: $space;
|
|
7
|
+
overflow-y: auto;
|
|
8
|
+
|
|
9
|
+
&__link {
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
padding-bottom: $space;
|
|
13
|
+
margin-bottom: $space;
|
|
14
|
+
border-bottom: 1px solid $color-border-normal;
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
|
|
17
|
+
&:last-child {
|
|
18
|
+
margin-bottom: 0;
|
|
19
|
+
border-bottom: 0;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&__icon {
|
|
24
|
+
margin-right: $space;
|
|
25
|
+
font-size: $font-size-m;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__text {
|
|
29
|
+
padding-right: $space;
|
|
30
|
+
font-size: $font-size-m;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&__counter {
|
|
34
|
+
margin-left: auto;
|
|
35
|
+
padding: calc($space/4) calc($space/2);
|
|
36
|
+
border-radius: $border-radius;
|
|
37
|
+
font-size: $font-size-xs;
|
|
38
|
+
color: $color-text-inverse;
|
|
39
|
+
background-color: $color-second;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* Hover */
|
|
43
|
+
.n7-input-link__link:hover {
|
|
44
|
+
.n7-input-link__text {
|
|
45
|
+
color: $color-text-link;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* Active */
|
|
50
|
+
.n7-input-link__link.is-active {
|
|
51
|
+
&:before {
|
|
52
|
+
content: "\e938";
|
|
53
|
+
font-family: 'n7-icon';
|
|
54
|
+
margin-right: $space;
|
|
55
|
+
color: $color-success;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.n7-input-link__text {
|
|
59
|
+
font-weight: $font-weight-bold;
|
|
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
|
+
|
|
73
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/* Retina */
|
|
77
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
78
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* ------------------------------------ *\
|
|
2
|
+
#SELECT
|
|
3
|
+
\* ------------------------------------ */
|
|
4
|
+
.n7-input-select {
|
|
5
|
+
display: inline-block;
|
|
6
|
+
margin-bottom: calc($space/2);
|
|
7
|
+
margin-right: $space;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
/* ------------------------------------ *\
|
|
12
|
+
#MEDIA-QUERIES
|
|
13
|
+
\* ------------------------------------ */
|
|
14
|
+
@media all and (max-width: $breakpoint-laptop) {
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@media all and (max-width: $breakpoint-ipad-portrait) {
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@media all and (max-width: $breakpoint-smartphone-landscape) {
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* Retina */
|
|
24
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
25
|
+
}
|