@iris.interactive/handcook 1.0.3 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/package.json +1 -1
  2. package/public/fonts/svgfont/etourisme/etourisme-font.eot +0 -0
  3. package/public/fonts/svgfont/etourisme/etourisme-font.ttf +0 -0
  4. package/public/fonts/svgfont/etourisme/etourisme-font.woff +0 -0
  5. package/public/fonts/svgfont/info-neige/info-neige-font.eot +0 -0
  6. package/public/fonts/svgfont/info-neige/info-neige-font.ttf +0 -0
  7. package/public/fonts/svgfont/info-neige/info-neige-font.woff +0 -0
  8. package/public/fonts/svgfont/iris-tides/iris-tides-font.eot +0 -0
  9. package/public/fonts/svgfont/iris-tides/iris-tides-font.ttf +0 -0
  10. package/public/fonts/svgfont/iris-tides/iris-tides-font.woff +0 -0
  11. package/public/fonts/svgfont/iris-weather/iris-weather-font.eot +0 -0
  12. package/public/fonts/svgfont/iris-weather/iris-weather-font.ttf +0 -0
  13. package/public/fonts/svgfont/iris-weather/iris-weather-font.woff +0 -0
  14. package/public/fonts/svgfont/theme/theme-font.eot +0 -0
  15. package/public/fonts/svgfont/theme/theme-font.ttf +0 -0
  16. package/public/fonts/svgfont/theme/theme-font.woff +0 -0
  17. package/public/scripts/index.js +7 -98
  18. package/public/styles/scss/_init.scss +24 -0
  19. package/public/styles/scss/_layout.scss +190 -0
  20. package/public/styles/scss/_utils.scss +102 -0
  21. package/public/styles/scss/_variables.scss +412 -0
  22. package/public/styles/scss/lib/_etourisme-font.scss +54 -0
  23. package/public/styles/scss/lib/_info-neige-font.scss +36 -0
  24. package/public/styles/scss/lib/_iris-tides-font.scss +38 -0
  25. package/public/styles/scss/lib/_iris-weather-font.scss +47 -0
  26. package/public/styles/scss/lib/_theme-font.scss +134 -0
  27. package/public/styles/scss/mixins/_mixin-font.scss +31 -0
  28. package/public/styles/scss/mixins/_mixin-layout.scss +103 -0
  29. package/public/styles/scss/mixins/_mixin-style.scss +133 -0
  30. package/public/styles/style.css +219 -135
  31. package/public/scripts/index.js.map +0 -1
@@ -6,14 +6,225 @@
6
6
  /* ============================================= */
7
7
  /* Fonticon
8
8
  /* ============================================= */
9
- /*
10
- * Created by IRIS Interactive
11
- * User : IRIS Interactive
12
- */
13
- /* Import
14
- /* ============================================= */
15
- /* Fonticon
16
- /* ============================================= */
9
+ @font-face {
10
+ font-family: "etourisme-font";
11
+ font-weight: normal;
12
+ font-style: normal;
13
+ 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");
14
+ font-display: swap;
15
+ }
16
+ .ei:before,
17
+ .ei:after {
18
+ display: inline-block;
19
+ vertical-align: middle;
20
+ font-family: "etourisme-font", sans-serif;
21
+ font-style: initial;
22
+ }
23
+
24
+ .ei--danger:not(.ei--after):before {
25
+ content: "\ea01";
26
+ }
27
+
28
+ .ei--danger.ei--after:after {
29
+ content: "\ea01";
30
+ }
31
+
32
+ .ei--denivele:not(.ei--after):before {
33
+ content: "\ea02";
34
+ }
35
+
36
+ .ei--denivele.ei--after:after {
37
+ content: "\ea02";
38
+ }
39
+
40
+ .ei--distance:not(.ei--after):before {
41
+ content: "\ea03";
42
+ }
43
+
44
+ .ei--distance.ei--after:after {
45
+ content: "\ea03";
46
+ }
47
+
48
+ .ei--duration:not(.ei--after):before {
49
+ content: "\ea04";
50
+ }
51
+
52
+ .ei--duration.ei--after:after {
53
+ content: "\ea04";
54
+ }
55
+
56
+ .ei--environment:not(.ei--after):before {
57
+ content: "\ea05";
58
+ }
59
+
60
+ .ei--environment.ei--after:after {
61
+ content: "\ea05";
62
+ }
63
+
64
+ .ei--file-downlaod:not(.ei--after):before {
65
+ content: "\ea06";
66
+ }
67
+
68
+ .ei--file-downlaod.ei--after:after {
69
+ content: "\ea06";
70
+ }
71
+
72
+ .ei--flag:not(.ei--after):before {
73
+ content: "\ea07";
74
+ }
75
+
76
+ .ei--flag.ei--after:after {
77
+ content: "\ea07";
78
+ }
79
+
80
+ .ei--itinerary:not(.ei--after):before {
81
+ content: "\ea08";
82
+ }
83
+
84
+ .ei--itinerary.ei--after:after {
85
+ content: "\ea08";
86
+ }
87
+
88
+ .ei--level:not(.ei--after):before {
89
+ content: "\ea09";
90
+ }
91
+
92
+ .ei--level.ei--after:after {
93
+ content: "\ea09";
94
+ }
95
+
96
+ .ei--location-on:not(.ei--after):before {
97
+ content: "\ea0a";
98
+ }
99
+
100
+ .ei--location-on.ei--after:after {
101
+ content: "\ea0a";
102
+ }
103
+
104
+ .ei--loop:not(.ei--after):before {
105
+ content: "\ea0b";
106
+ }
107
+
108
+ .ei--loop.ei--after:after {
109
+ content: "\ea0b";
110
+ }
111
+
112
+ .ei--path:not(.ei--after):before {
113
+ content: "\ea0c";
114
+ }
115
+
116
+ .ei--path.ei--after:after {
117
+ content: "\ea0c";
118
+ }
119
+
120
+ .ei--period:not(.ei--after):before {
121
+ content: "\ea0d";
122
+ }
123
+
124
+ .ei--period.ei--after:after {
125
+ content: "\ea0d";
126
+ }
127
+
128
+ @font-face {
129
+ font-family: "info-neige-font";
130
+ font-weight: normal;
131
+ font-style: normal;
132
+ 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");
133
+ font-display: swap;
134
+ }
135
+ .ni:before {
136
+ font-family: "info-neige-font", sans-serif;
137
+ font-style: initial;
138
+ }
139
+
140
+ .ni-bullet:before {
141
+ content: "\ea01";
142
+ }
143
+
144
+ @font-face {
145
+ font-family: "iris-tides-font";
146
+ font-weight: normal;
147
+ font-style: normal;
148
+ 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");
149
+ font-display: swap;
150
+ }
151
+ .ti:before {
152
+ font-family: "iris-tides-font", sans-serif;
153
+ font-style: initial;
154
+ }
155
+
156
+ .ti-coefficient:before {
157
+ content: "\ea01";
158
+ }
159
+
160
+ .ti-high-tide:before {
161
+ content: "\ea02";
162
+ }
163
+
164
+ .ti-low-tide:before {
165
+ content: "\ea03";
166
+ }
167
+
168
+ @font-face {
169
+ font-family: "iris-weather-font";
170
+ font-weight: normal;
171
+ font-style: normal;
172
+ 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");
173
+ font-display: swap;
174
+ }
175
+ .wi:before {
176
+ font-family: "iris-weather-font", sans-serif;
177
+ font-style: initial;
178
+ }
179
+
180
+ .wi-day-cloudy:before {
181
+ content: "\ea01";
182
+ }
183
+
184
+ .wi-day-fog:before {
185
+ content: "\ea02";
186
+ }
187
+
188
+ .wi-day-rain:before {
189
+ content: "\ea03";
190
+ }
191
+
192
+ .wi-day-sleet:before {
193
+ content: "\ea04";
194
+ }
195
+
196
+ .wi-day-snow:before {
197
+ content: "\ea05";
198
+ }
199
+
200
+ .wi-day-sunny:before {
201
+ content: "\ea06";
202
+ }
203
+
204
+ .wi-day-windy:before {
205
+ content: "\ea07";
206
+ }
207
+
208
+ .wi-flag-wind:before {
209
+ content: "\ea08";
210
+ }
211
+
212
+ .wi-humidity:before {
213
+ content: "\ea09";
214
+ }
215
+
216
+ .wi-night-clear:before {
217
+ content: "\ea0a";
218
+ }
219
+
220
+ .wi-night-cloudy:before {
221
+ content: "\ea0b";
222
+ }
223
+
224
+ .wi-thermostat:before {
225
+ content: "\ea0c";
226
+ }
227
+
17
228
  @font-face {
18
229
  font-family: "theme-font";
19
230
  font-weight: normal;
@@ -772,130 +983,3 @@
772
983
  .fi--youtube.fi--after:after {
773
984
  content: "\ea5d";
774
985
  }
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":""}