@iris.interactive/handcook 1.0.3 → 1.0.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iris.interactive/handcook",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "The web cooking by IRIS Interactive",
5
5
  "main": "./public/scripts/index.js",
6
6
  "scripts": {
@@ -0,0 +1,30 @@
1
+ /*
2
+ * Created by IRIS Interactive
3
+ * User : IRIS Interactive
4
+ */
5
+
6
+ /* Import
7
+ /* ============================================= */
8
+ $allicons: ();
9
+
10
+ /* Fonticon
11
+ /* ============================================= */
12
+ @mixin fi($name, $position : '', $plugin: 'theme') {
13
+ $content: "";
14
+
15
+ @each $label, $icon in map-get($allicons, '#{$plugin}') {
16
+ @if $label == $name {
17
+ $content: $icon;
18
+ }
19
+ }
20
+
21
+ content: $content;
22
+ font-family: '#{$plugin}-font';
23
+
24
+ @if $position == "before" {
25
+ margin-right: 10px;
26
+ } @else if $position == "after" {
27
+ margin-left: 10px;
28
+ }
29
+ }
30
+
@@ -0,0 +1,55 @@
1
+
2
+ // Fonts file
3
+ @use "@package_style/_mixin-font" as *;
4
+ @font-face {
5
+ font-family: 'etourisme-font';
6
+ font-weight: normal;
7
+ font-style: normal;
8
+ src: url("../fonts/svgfont/etourisme/etourisme-font.eot"),
9
+ url("../fonts/svgfont/etourisme/etourisme-font.woff") format('woff'),
10
+ url("../fonts/svgfont/etourisme/etourisme-font.ttf") format('truetype'),
11
+ url("../fonts/svgfont/etourisme/etourisme-font.eot?#iefix") format('embedded-opentype'),
12
+ url("../fonts/svgfont/etourisme/etourisme-font.svg#etourisme-font") format('svg');
13
+ font-display: swap;
14
+ }
15
+
16
+ // Array fonts to mixin
17
+ $etourisme-icons: (
18
+ 'etourisme':
19
+ (
20
+ "danger": "\ea01",
21
+ "denivele": "\ea02",
22
+ "distance": "\ea03",
23
+ "duration": "\ea04",
24
+ "environment": "\ea05",
25
+ "file-downlaod": "\ea06",
26
+ "flag": "\ea07",
27
+ "itinerary": "\ea08",
28
+ "level": "\ea09",
29
+ "location-on": "\ea0a",
30
+ "loop": "\ea0b",
31
+ "path": "\ea0c",
32
+ "period": "\ea0d"
33
+ )
34
+
35
+ );
36
+
37
+ $allicons: map-merge($allicons, $etourisme-icons);
38
+
39
+ .ei:before,
40
+ .ei:after {
41
+ display: inline-block;
42
+ vertical-align: middle;
43
+ font-family: 'etourisme-font', sans-serif;
44
+ font-style: initial;
45
+ }
46
+
47
+ @each $name, $icon in map-get($etourisme-icons,'etourisme') {
48
+ .ei--#{$name}:not(.ei--after):before {
49
+ content: $icon;
50
+ }
51
+
52
+ .ei--#{$name}.ei--after:after {
53
+ content: $icon;
54
+ }
55
+ }
@@ -0,0 +1,37 @@
1
+
2
+ // Fonts file
3
+ @use "@package_style/_mixin-font" as *;
4
+ @font-face {
5
+ font-family: 'info-neige-font';
6
+ font-weight: normal;
7
+ font-style: normal;
8
+ src: url('../fonts/svgfont/info-neige/info-neige-font.eot'),
9
+ url('../fonts/svgfont/info-neige/info-neige-font.woff') format('woff'),
10
+ url('../fonts/svgfont/info-neige/info-neige-font.ttf') format('truetype'),
11
+ url('../fonts/svgfont/info-neige/info-neige-font.eot?#iefix') format('embedded-opentype'),
12
+ url('../fonts/svgfont/info-neige/info-neige-font.svg#info-neige-font') format('svg');
13
+ font-display: swap;
14
+ }
15
+
16
+ // Array fonts to mixin
17
+ $info-neige-icons: (
18
+ 'info-neige':
19
+ (
20
+ "bullet": "\ea01"
21
+ )
22
+
23
+ );
24
+
25
+ $allicons: map-merge($allicons, $info-neige-icons);
26
+
27
+ // Fonts class
28
+ .ni:before {
29
+ font-family: 'info-neige-font', sans-serif;
30
+ font-style: initial;
31
+ }
32
+
33
+ @each $name, $icon in map-get($info-neige-icons, 'info-neige') {
34
+ .ni-#{$name}:before {
35
+ content: $icon;
36
+ }
37
+ }
@@ -0,0 +1,39 @@
1
+
2
+ // Fonts file
3
+ @use "@package_style/_mixin-font" as *;
4
+ @font-face {
5
+ font-family: 'iris-tides-font';
6
+ font-weight: normal;
7
+ font-style: normal;
8
+ src: url('../fonts/svgfont/iris-tides/iris-tides-font.eot'),
9
+ url('../fonts/svgfont/iris-tides/iris-tides-font.woff') format('woff'),
10
+ url('../fonts/svgfont/iris-tides/iris-tides-font.ttf') format('truetype'),
11
+ url('../fonts/svgfont/iris-tides/iris-tides-font.eot?#iefix') format('embedded-opentype'),
12
+ url('../fonts/svgfont/iris-tides/iris-tides-font.svg#iris-tides-font') format('svg');
13
+ font-display: swap;
14
+ }
15
+
16
+ // Array fonts to mixin
17
+ $iris-tides-icons: (
18
+ 'iris-tides':
19
+ (
20
+ "coefficient": "\ea01",
21
+ "high-tide": "\ea02",
22
+ "low-tide": "\ea03"
23
+ )
24
+
25
+ );
26
+
27
+ $allicons: map-merge($allicons, $iris-tides-icons);
28
+
29
+ // Fonts class
30
+ .ti:before {
31
+ font-family: 'iris-tides-font', sans-serif;
32
+ font-style: initial;
33
+ }
34
+
35
+ @each $name, $icon in map-get($iris-tides-icons, 'iris-tides') {
36
+ .ti-#{$name}:before {
37
+ content: $icon;
38
+ }
39
+ }
@@ -0,0 +1,48 @@
1
+
2
+ // Fonts file
3
+ @use "@package_style/_mixin-font" as *;
4
+ @font-face {
5
+ font-family: 'iris-weather-font';
6
+ font-weight: normal;
7
+ font-style: normal;
8
+ src: url('../fonts/svgfont/iris-weather/iris-weather-font.eot'),
9
+ url('../fonts/svgfont/iris-weather/iris-weather-font.woff') format('woff'),
10
+ url('../fonts/svgfont/iris-weather/iris-weather-font.ttf') format('truetype'),
11
+ url('../fonts/svgfont/iris-weather/iris-weather-font.eot?#iefix') format('embedded-opentype'),
12
+ url('../fonts/svgfont/iris-weather/iris-weather-font.svg#iris-weather-font') format('svg');
13
+ font-display: swap;
14
+ }
15
+
16
+ // Array fonts to mixin
17
+ $weather-icons: (
18
+ 'iris-weather':
19
+ (
20
+ "day-cloudy": "\ea01",
21
+ "day-fog": "\ea02",
22
+ "day-rain": "\ea03",
23
+ "day-sleet": "\ea04",
24
+ "day-snow": "\ea05",
25
+ "day-sunny": "\ea06",
26
+ "day-windy": "\ea07",
27
+ "flag-wind": "\ea08",
28
+ "humidity": "\ea09",
29
+ "night-clear": "\ea0a",
30
+ "night-cloudy": "\ea0b",
31
+ "thermostat": "\ea0c"
32
+ )
33
+
34
+ );
35
+
36
+ $allicons: map-merge($allicons, $weather-icons);
37
+
38
+ // Fonts class
39
+ .wi:before {
40
+ font-family: 'iris-weather-font', sans-serif;
41
+ font-style: initial;
42
+ }
43
+
44
+ @each $name, $icon in map-get($weather-icons, 'iris-weather') {
45
+ .wi-#{$name}:before {
46
+ content: $icon;
47
+ }
48
+ }
@@ -0,0 +1,135 @@
1
+
2
+ // Fonts file
3
+ @use "@package_style/_mixin-font" as *;
4
+ @font-face {
5
+ font-family: 'theme-font';
6
+ font-weight: normal;
7
+ font-style: normal;
8
+ src: url("../fonts/svgfont/theme/theme-font.eot"),
9
+ url("../fonts/svgfont/theme/theme-font.woff") format('woff'),
10
+ url("../fonts/svgfont/theme/theme-font.ttf") format('truetype'),
11
+ url("../fonts/svgfont/theme/theme-font.eot?#iefix") format('embedded-opentype'),
12
+ url("../fonts/svgfont/theme/theme-font.svg#theme-font") format('svg');
13
+ font-display: swap;
14
+ }
15
+
16
+ // Array fonts to mixin
17
+ $theme-icons: (
18
+ 'theme':
19
+ (
20
+ "activites": "\ea01",
21
+ "add-location-alt-line": "\ea02",
22
+ "add-location-alt": "\ea03",
23
+ "add": "\ea04",
24
+ "arrow-back": "\ea05",
25
+ "arrow-downward": "\ea06",
26
+ "arrow-forward": "\ea07",
27
+ "arrow-upward": "\ea08",
28
+ "beenhere": "\ea09",
29
+ "by-a-boat": "\ea0a",
30
+ "by-car": "\ea0b",
31
+ "by-plane": "\ea0c",
32
+ "by-train": "\ea0d",
33
+ "calendar-today": "\ea0e",
34
+ "call": "\ea0f",
35
+ "capacity-banquet": "\ea10",
36
+ "capacity-carre": "\ea11",
37
+ "capacity-class": "\ea12",
38
+ "capacity-cocktail": "\ea13",
39
+ "capacity-modular": "\ea14",
40
+ "capacity-theatre": "\ea15",
41
+ "capacity-u": "\ea16",
42
+ "category": "\ea17",
43
+ "centered-position": "\ea18",
44
+ "check-box": "\ea19",
45
+ "chevron-bottom": "\ea1a",
46
+ "chevron-left": "\ea1b",
47
+ "chevron-right": "\ea1c",
48
+ "chevron-top": "\ea1d",
49
+ "circle": "\ea1e",
50
+ "close": "\ea1f",
51
+ "computer": "\ea20",
52
+ "confirmation-number": "\ea21",
53
+ "credit-score": "\ea22",
54
+ "delete-forever": "\ea23",
55
+ "direction-run": "\ea24",
56
+ "edit": "\ea25",
57
+ "email": "\ea26",
58
+ "error": "\ea27",
59
+ "event-available": "\ea28",
60
+ "facebook": "\ea29",
61
+ "favorite-filled": "\ea2a",
62
+ "favorite": "\ea2b",
63
+ "file-download": "\ea2c",
64
+ "file-upload": "\ea2d",
65
+ "filter": "\ea2e",
66
+ "forward-to-inbox": "\ea2f",
67
+ "fullscreen": "\ea30",
68
+ "group": "\ea31",
69
+ "hebergement": "\ea32",
70
+ "hebergements": "\ea33",
71
+ "hotel": "\ea34",
72
+ "infos-pratiques": "\ea35",
73
+ "instagram": "\ea36",
74
+ "layers": "\ea37",
75
+ "local-activity": "\ea38",
76
+ "location-on-line": "\ea39",
77
+ "location-on": "\ea3a",
78
+ "map": "\ea3b",
79
+ "menu-book": "\ea3c",
80
+ "mic": "\ea3d",
81
+ "photo-camera": "\ea3e",
82
+ "picture-as-pdf": "\ea3f",
83
+ "play-circle": "\ea40",
84
+ "print": "\ea41",
85
+ "question-answer": "\ea42",
86
+ "quote": "\ea43",
87
+ "remove": "\ea44",
88
+ "replay": "\ea45",
89
+ "reply": "\ea46",
90
+ "reset": "\ea47",
91
+ "restaurant": "\ea48",
92
+ "restaurants": "\ea49",
93
+ "schedule": "\ea4a",
94
+ "search": "\ea4b",
95
+ "sell": "\ea4c",
96
+ "share": "\ea4d",
97
+ "shopping-cart": "\ea4e",
98
+ "sites-visites": "\ea4f",
99
+ "support": "\ea50",
100
+ "thermostat": "\ea51",
101
+ "thumb-down": "\ea52",
102
+ "thumb-up": "\ea53",
103
+ "toggle-off": "\ea54",
104
+ "toggle-on": "\ea55",
105
+ "twitter": "\ea56",
106
+ "videocam": "\ea57",
107
+ "visibility": "\ea58",
108
+ "volume-off": "\ea59",
109
+ "volume-up": "\ea5a",
110
+ "whatsapp": "\ea5b",
111
+ "work": "\ea5c",
112
+ "youtube": "\ea5d"
113
+ )
114
+
115
+ );
116
+
117
+ $allicons: map-merge($allicons, $theme-icons);
118
+
119
+ .fi:before,
120
+ .fi:after {
121
+ display: inline-block;
122
+ vertical-align: middle;
123
+ font-family: 'theme-font', sans-serif;
124
+ font-style: initial;
125
+ }
126
+
127
+ @each $name, $icon in map-get($theme-icons,'theme') {
128
+ .fi--#{$name}:not(.fi--after):before {
129
+ content: $icon;
130
+ }
131
+
132
+ .fi--#{$name}.fi--after:after {
133
+ content: $icon;
134
+ }
135
+ }
@@ -6,6 +6,257 @@
6
6
  /* ============================================= */
7
7
  /* Fonticon
8
8
  /* ============================================= */
9
+ /*
10
+ * Created by IRIS Interactive
11
+ * User : IRIS Interactive
12
+ */
13
+ /* Import
14
+ /* ============================================= */
15
+ /* Fonticon
16
+ /* ============================================= */
17
+ @font-face {
18
+ font-family: "etourisme-font";
19
+ font-weight: normal;
20
+ font-style: normal;
21
+ src: url("../fonts/svgfont/etourisme/etourisme-font.eot"), url("../fonts/svgfont/etourisme/etourisme-font.woff") format("woff"), url("../fonts/svgfont/etourisme/etourisme-font.ttf") format("truetype"), url("../fonts/svgfont/etourisme/etourisme-font.eot?#iefix") format("embedded-opentype"), url("../fonts/svgfont/etourisme/etourisme-font.svg#etourisme-font") format("svg");
22
+ font-display: swap;
23
+ }
24
+ .ei:before,
25
+ .ei:after {
26
+ display: inline-block;
27
+ vertical-align: middle;
28
+ font-family: "etourisme-font", sans-serif;
29
+ font-style: initial;
30
+ }
31
+
32
+ .ei--danger:not(.ei--after):before {
33
+ content: "\ea01";
34
+ }
35
+
36
+ .ei--danger.ei--after:after {
37
+ content: "\ea01";
38
+ }
39
+
40
+ .ei--denivele:not(.ei--after):before {
41
+ content: "\ea02";
42
+ }
43
+
44
+ .ei--denivele.ei--after:after {
45
+ content: "\ea02";
46
+ }
47
+
48
+ .ei--distance:not(.ei--after):before {
49
+ content: "\ea03";
50
+ }
51
+
52
+ .ei--distance.ei--after:after {
53
+ content: "\ea03";
54
+ }
55
+
56
+ .ei--duration:not(.ei--after):before {
57
+ content: "\ea04";
58
+ }
59
+
60
+ .ei--duration.ei--after:after {
61
+ content: "\ea04";
62
+ }
63
+
64
+ .ei--environment:not(.ei--after):before {
65
+ content: "\ea05";
66
+ }
67
+
68
+ .ei--environment.ei--after:after {
69
+ content: "\ea05";
70
+ }
71
+
72
+ .ei--file-downlaod:not(.ei--after):before {
73
+ content: "\ea06";
74
+ }
75
+
76
+ .ei--file-downlaod.ei--after:after {
77
+ content: "\ea06";
78
+ }
79
+
80
+ .ei--flag:not(.ei--after):before {
81
+ content: "\ea07";
82
+ }
83
+
84
+ .ei--flag.ei--after:after {
85
+ content: "\ea07";
86
+ }
87
+
88
+ .ei--itinerary:not(.ei--after):before {
89
+ content: "\ea08";
90
+ }
91
+
92
+ .ei--itinerary.ei--after:after {
93
+ content: "\ea08";
94
+ }
95
+
96
+ .ei--level:not(.ei--after):before {
97
+ content: "\ea09";
98
+ }
99
+
100
+ .ei--level.ei--after:after {
101
+ content: "\ea09";
102
+ }
103
+
104
+ .ei--location-on:not(.ei--after):before {
105
+ content: "\ea0a";
106
+ }
107
+
108
+ .ei--location-on.ei--after:after {
109
+ content: "\ea0a";
110
+ }
111
+
112
+ .ei--loop:not(.ei--after):before {
113
+ content: "\ea0b";
114
+ }
115
+
116
+ .ei--loop.ei--after:after {
117
+ content: "\ea0b";
118
+ }
119
+
120
+ .ei--path:not(.ei--after):before {
121
+ content: "\ea0c";
122
+ }
123
+
124
+ .ei--path.ei--after:after {
125
+ content: "\ea0c";
126
+ }
127
+
128
+ .ei--period:not(.ei--after):before {
129
+ content: "\ea0d";
130
+ }
131
+
132
+ .ei--period.ei--after:after {
133
+ content: "\ea0d";
134
+ }
135
+
136
+ /*
137
+ * Created by IRIS Interactive
138
+ * User : IRIS Interactive
139
+ */
140
+ /* Import
141
+ /* ============================================= */
142
+ /* Fonticon
143
+ /* ============================================= */
144
+ @font-face {
145
+ font-family: "info-neige-font";
146
+ font-weight: normal;
147
+ font-style: normal;
148
+ src: url("../fonts/svgfont/info-neige/info-neige-font.eot"), url("../fonts/svgfont/info-neige/info-neige-font.woff") format("woff"), url("../fonts/svgfont/info-neige/info-neige-font.ttf") format("truetype"), url("../fonts/svgfont/info-neige/info-neige-font.eot?#iefix") format("embedded-opentype"), url("../fonts/svgfont/info-neige/info-neige-font.svg#info-neige-font") format("svg");
149
+ font-display: swap;
150
+ }
151
+ .ni:before {
152
+ font-family: "info-neige-font", sans-serif;
153
+ font-style: initial;
154
+ }
155
+
156
+ .ni-bullet:before {
157
+ content: "\ea01";
158
+ }
159
+
160
+ /*
161
+ * Created by IRIS Interactive
162
+ * User : IRIS Interactive
163
+ */
164
+ /* Import
165
+ /* ============================================= */
166
+ /* Fonticon
167
+ /* ============================================= */
168
+ @font-face {
169
+ font-family: "iris-tides-font";
170
+ font-weight: normal;
171
+ font-style: normal;
172
+ src: url("../fonts/svgfont/iris-tides/iris-tides-font.eot"), url("../fonts/svgfont/iris-tides/iris-tides-font.woff") format("woff"), url("../fonts/svgfont/iris-tides/iris-tides-font.ttf") format("truetype"), url("../fonts/svgfont/iris-tides/iris-tides-font.eot?#iefix") format("embedded-opentype"), url("../fonts/svgfont/iris-tides/iris-tides-font.svg#iris-tides-font") format("svg");
173
+ font-display: swap;
174
+ }
175
+ .ti:before {
176
+ font-family: "iris-tides-font", sans-serif;
177
+ font-style: initial;
178
+ }
179
+
180
+ .ti-coefficient:before {
181
+ content: "\ea01";
182
+ }
183
+
184
+ .ti-high-tide:before {
185
+ content: "\ea02";
186
+ }
187
+
188
+ .ti-low-tide:before {
189
+ content: "\ea03";
190
+ }
191
+
192
+ /*
193
+ * Created by IRIS Interactive
194
+ * User : IRIS Interactive
195
+ */
196
+ /* Import
197
+ /* ============================================= */
198
+ /* Fonticon
199
+ /* ============================================= */
200
+ @font-face {
201
+ font-family: "iris-weather-font";
202
+ font-weight: normal;
203
+ font-style: normal;
204
+ src: url("../fonts/svgfont/iris-weather/iris-weather-font.eot"), url("../fonts/svgfont/iris-weather/iris-weather-font.woff") format("woff"), url("../fonts/svgfont/iris-weather/iris-weather-font.ttf") format("truetype"), url("../fonts/svgfont/iris-weather/iris-weather-font.eot?#iefix") format("embedded-opentype"), url("../fonts/svgfont/iris-weather/iris-weather-font.svg#iris-weather-font") format("svg");
205
+ font-display: swap;
206
+ }
207
+ .wi:before {
208
+ font-family: "iris-weather-font", sans-serif;
209
+ font-style: initial;
210
+ }
211
+
212
+ .wi-day-cloudy:before {
213
+ content: "\ea01";
214
+ }
215
+
216
+ .wi-day-fog:before {
217
+ content: "\ea02";
218
+ }
219
+
220
+ .wi-day-rain:before {
221
+ content: "\ea03";
222
+ }
223
+
224
+ .wi-day-sleet:before {
225
+ content: "\ea04";
226
+ }
227
+
228
+ .wi-day-snow:before {
229
+ content: "\ea05";
230
+ }
231
+
232
+ .wi-day-sunny:before {
233
+ content: "\ea06";
234
+ }
235
+
236
+ .wi-day-windy:before {
237
+ content: "\ea07";
238
+ }
239
+
240
+ .wi-flag-wind:before {
241
+ content: "\ea08";
242
+ }
243
+
244
+ .wi-humidity:before {
245
+ content: "\ea09";
246
+ }
247
+
248
+ .wi-night-clear:before {
249
+ content: "\ea0a";
250
+ }
251
+
252
+ .wi-night-cloudy:before {
253
+ content: "\ea0b";
254
+ }
255
+
256
+ .wi-thermostat:before {
257
+ content: "\ea0c";
258
+ }
259
+
9
260
  /*
10
261
  * Created by IRIS Interactive
11
262
  * User : IRIS Interactive
@@ -772,130 +1023,3 @@
772
1023
  .fi--youtube.fi--after:after {
773
1024
  content: "\ea5d";
774
1025
  }
775
-
776
- /*
777
- * Created by IRIS Interactive
778
- * User : IRIS Interactive
779
- */
780
- /* Import
781
- /* ============================================= */
782
- /* Fonticon
783
- /* ============================================= */
784
- @font-face {
785
- font-family: "etourisme-font";
786
- font-weight: normal;
787
- font-style: normal;
788
- src: url("../fonts/svgfont/etourisme/etourisme-font.eot"), url("../fonts/svgfont/etourisme/etourisme-font.woff") format("woff"), url("../fonts/svgfont/etourisme/etourisme-font.ttf") format("truetype"), url("../fonts/svgfont/etourisme/etourisme-font.eot?#iefix") format("embedded-opentype"), url("../fonts/svgfont/etourisme/etourisme-font.svg#etourisme-font") format("svg");
789
- font-display: swap;
790
- }
791
- .ei:before,
792
- .ei:after {
793
- display: inline-block;
794
- vertical-align: middle;
795
- font-family: "etourisme-font", sans-serif;
796
- font-style: initial;
797
- }
798
-
799
- .ei--danger:not(.ei--after):before {
800
- content: "\ea01";
801
- }
802
-
803
- .ei--danger.ei--after:after {
804
- content: "\ea01";
805
- }
806
-
807
- .ei--denivele:not(.ei--after):before {
808
- content: "\ea02";
809
- }
810
-
811
- .ei--denivele.ei--after:after {
812
- content: "\ea02";
813
- }
814
-
815
- .ei--distance:not(.ei--after):before {
816
- content: "\ea03";
817
- }
818
-
819
- .ei--distance.ei--after:after {
820
- content: "\ea03";
821
- }
822
-
823
- .ei--duration:not(.ei--after):before {
824
- content: "\ea04";
825
- }
826
-
827
- .ei--duration.ei--after:after {
828
- content: "\ea04";
829
- }
830
-
831
- .ei--environment:not(.ei--after):before {
832
- content: "\ea05";
833
- }
834
-
835
- .ei--environment.ei--after:after {
836
- content: "\ea05";
837
- }
838
-
839
- .ei--file-downlaod:not(.ei--after):before {
840
- content: "\ea06";
841
- }
842
-
843
- .ei--file-downlaod.ei--after:after {
844
- content: "\ea06";
845
- }
846
-
847
- .ei--flag:not(.ei--after):before {
848
- content: "\ea07";
849
- }
850
-
851
- .ei--flag.ei--after:after {
852
- content: "\ea07";
853
- }
854
-
855
- .ei--itinerary:not(.ei--after):before {
856
- content: "\ea08";
857
- }
858
-
859
- .ei--itinerary.ei--after:after {
860
- content: "\ea08";
861
- }
862
-
863
- .ei--level:not(.ei--after):before {
864
- content: "\ea09";
865
- }
866
-
867
- .ei--level.ei--after:after {
868
- content: "\ea09";
869
- }
870
-
871
- .ei--location-on:not(.ei--after):before {
872
- content: "\ea0a";
873
- }
874
-
875
- .ei--location-on.ei--after:after {
876
- content: "\ea0a";
877
- }
878
-
879
- .ei--loop:not(.ei--after):before {
880
- content: "\ea0b";
881
- }
882
-
883
- .ei--loop.ei--after:after {
884
- content: "\ea0b";
885
- }
886
-
887
- .ei--path:not(.ei--after):before {
888
- content: "\ea0c";
889
- }
890
-
891
- .ei--path.ei--after:after {
892
- content: "\ea0c";
893
- }
894
-
895
- .ei--period:not(.ei--after):before {
896
- content: "\ea0d";
897
- }
898
-
899
- .ei--period.ei--after:after {
900
- content: "\ea0d";
901
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"/scripts/index.js","mappings":"mBAAA,IAEMA,EAAe,SAAfA,EAAgBC,EAAWC,EAAaC,EAAUC,EAAkBC,GACzE,IAAMC,EAAUJ,EAAcD,EAC1BM,EAAWD,EAAUH,EAEzBI,EAAWC,KAAKC,IAAIF,EAAU,GAE9B,IAR6BG,EAQvBC,GARuBD,EAQJH,GARkBG,EAAEA,EAU7CE,OAAOC,OAAO,EAAGR,EAAqBD,EAAmBO,GACtDL,EAAUH,GACZW,uBAAsB,SAACC,GACtB,IAAMb,EAAca,IAAa,IAAIC,MAAOC,UAC5CjB,EAAaC,EAAWC,EAAaC,EAAUC,EAAkBC,OA0BpE,QArBqB,SAAEa,GAAgD,IAA9BC,EAA8B,uDAAV,IACtDC,EAAiBC,SAASC,iBAAkBJ,GAClDE,EAAeG,SAAS,SAAEC,EAASC,GAClCD,EAAQE,iBAAkB,SAAS,SAAEC,GACpCA,EAAMC,iBACN,IAAMC,EAA6C,IAAlCL,EAAQM,aAAc,QAAmBT,SAASU,cAAeP,EAAQM,aAAc,SAAaT,SAASU,cAAeP,EAAQQ,QAAQC,MACvJC,OAAoCC,IAA1BX,EAAQQ,QAAQE,MAAwBV,EAAQQ,QAAQE,MAAQ,EAEnEpB,uBAAsB,SAACC,GACnC,IAAMqB,EAAQrB,IAAa,IAAIC,MAAOC,UAChCoB,EAAQD,EAER/B,EAAoBO,OAAO0B,YAC3BlC,EAAmByB,EAAOU,wBAAwBC,IAAMN,EAE9DlC,EAAaqC,EAAOD,EAAOjB,EAAmBf,EAAkBC,aChCpEoC,QAAQC,aAAeA,G","sources":["webpack://handcook/./resources/assets/scripts/SmoothScroll.js","webpack://handcook/./resources/index.js"],"sourcesContent":["const easeInCubic = function (t) { return t*t*t }\n\nconst scrollToElem = (startTime, currentTime, duration, scrollEndElemTop, startScrollOffset) => {\n\tconst runtime = currentTime - startTime;\n\tlet progress = runtime / duration;\n\n\tprogress = Math.min(progress, 1);\n\n\tconst ease = easeInCubic(progress);\n\n\twindow.scroll(0, startScrollOffset + (scrollEndElemTop * ease));\n\tif(runtime < duration){\n\t\trequestAnimationFrame((timestamp) => {\n\t\t\tconst currentTime = timestamp || new Date().getTime();\n\t\t\tscrollToElem(startTime, currentTime, duration, scrollEndElemTop, startScrollOffset);\n\t\t})\n\t}\n}\n\nconst SmoothScroll = ( triggerAttribute, durationAnimation = 1000 ) => {\n\tconst triggerElement = document.querySelectorAll( triggerAttribute );\n\ttriggerElement.forEach( ( element, key ) => {\n\t\telement.addEventListener( 'click', ( event ) => {\n\t\t\tevent.preventDefault();\n\t\t\tconst target = ( element.getAttribute( 'href' ) != '' ) ? document.querySelector( element.getAttribute( 'href' ) ) : document.querySelector( element.dataset.href );\n\t\t\tconst shift = ( element.dataset.shift !== undefined ) ? element.dataset.shift : 0;\n\n\t\t\tconst anim = requestAnimationFrame((timestamp) => {\n\t\t\t\tconst stamp = timestamp || new Date().getTime();\n\t\t\t\tconst start = stamp;\n\n\t\t\t\tconst startScrollOffset = window.pageYOffset;\n\t\t\t\tconst scrollEndElemTop = target.getBoundingClientRect().top - shift;\n\n\t\t\t\tscrollToElem(start, stamp, durationAnimation, scrollEndElemTop, startScrollOffset);\n\t\t\t})\n\t\t} );\n\t} );\n}\n\nexport default SmoothScroll;\n","import SmoothScroll from '@package_script/SmoothScroll';\n\nexports.SmoothScroll = SmoothScroll;\n"],"names":["scrollToElem","startTime","currentTime","duration","scrollEndElemTop","startScrollOffset","runtime","progress","Math","min","t","ease","window","scroll","requestAnimationFrame","timestamp","Date","getTime","triggerAttribute","durationAnimation","triggerElement","document","querySelectorAll","forEach","element","key","addEventListener","event","preventDefault","target","getAttribute","querySelector","dataset","href","shift","undefined","stamp","start","pageYOffset","getBoundingClientRect","top","exports","SmoothScroll"],"sourceRoot":""}