@iris.interactive/handcook 1.0.14 → 2.3.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.
Files changed (50) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/public/index.html +39 -0
  4. package/public/mix-manifest.json +9 -0
  5. package/public/scripts/SmoothScroll.js +41 -0
  6. package/public/scripts/index.js +14 -0
  7. package/public/styles/scss/_utils.scss +0 -6
  8. package/public/styles/scss/_variables.scss +7 -0
  9. package/public/styles/scss/handcook.scss +20 -0
  10. package/public/styles/scss/mixins/_mixin-font.scss +36 -24
  11. package/public/styles/scss/mixins/_mixin-layout.scss +13 -32
  12. package/public/styles/scss/mixins/_mixin-style.scss +1 -1
  13. package/public/styles/style.css +35 -1230
  14. package/resources/assets/scripts/SmoothScroll.js +41 -0
  15. package/resources/assets/styles/_utils.scss +96 -0
  16. package/resources/assets/styles/_variables.scss +419 -0
  17. package/resources/assets/styles/handcook.scss +20 -0
  18. package/resources/assets/styles/mixins/_mixin-font.scss +43 -0
  19. package/resources/assets/styles/mixins/_mixin-layout.scss +84 -0
  20. package/resources/assets/styles/mixins/_mixin-style.scss +133 -0
  21. package/resources/index.html +39 -0
  22. package/resources/index.js +18 -0
  23. package/resources/style.scss +21 -0
  24. package/public/fonts/svgfont/etourisme/etourisme-font.eot +0 -0
  25. package/public/fonts/svgfont/etourisme/etourisme-font.svg +0 -1
  26. package/public/fonts/svgfont/etourisme/etourisme-font.ttf +0 -0
  27. package/public/fonts/svgfont/etourisme/etourisme-font.woff +0 -0
  28. package/public/fonts/svgfont/info-neige/info-neige-font.eot +0 -0
  29. package/public/fonts/svgfont/info-neige/info-neige-font.svg +0 -1
  30. package/public/fonts/svgfont/info-neige/info-neige-font.ttf +0 -0
  31. package/public/fonts/svgfont/info-neige/info-neige-font.woff +0 -0
  32. package/public/fonts/svgfont/iris-tides/iris-tides-font.eot +0 -0
  33. package/public/fonts/svgfont/iris-tides/iris-tides-font.svg +0 -1
  34. package/public/fonts/svgfont/iris-tides/iris-tides-font.ttf +0 -0
  35. package/public/fonts/svgfont/iris-tides/iris-tides-font.woff +0 -0
  36. package/public/fonts/svgfont/iris-weather/iris-weather-font.eot +0 -0
  37. package/public/fonts/svgfont/iris-weather/iris-weather-font.svg +0 -1
  38. package/public/fonts/svgfont/iris-weather/iris-weather-font.ttf +0 -0
  39. package/public/fonts/svgfont/iris-weather/iris-weather-font.woff +0 -0
  40. package/public/fonts/svgfont/theme/theme-font.eot +0 -0
  41. package/public/fonts/svgfont/theme/theme-font.svg +0 -1
  42. package/public/fonts/svgfont/theme/theme-font.ttf +0 -0
  43. package/public/fonts/svgfont/theme/theme-font.woff +0 -0
  44. package/public/styles/scss/_init.scss +0 -24
  45. package/public/styles/scss/_layout.scss +0 -213
  46. package/public/styles/scss/lib/_etourisme-font.scss +0 -55
  47. package/public/styles/scss/lib/_info-neige-font.scss +0 -36
  48. package/public/styles/scss/lib/_iris-tides-font.scss +0 -38
  49. package/public/styles/scss/lib/_iris-weather-font.scss +0 -47
  50. package/public/styles/scss/lib/_theme-font.scss +0 -135
@@ -1,213 +0,0 @@
1
- /*
2
- * Created by IRIS Interactive
3
- * User : IRIS Interactive
4
- */
5
-
6
- // Body layout
7
- body.fullscreen {
8
- .header {
9
- height: $header;
10
-
11
- @include breakpoint(medium) {
12
- height: $header-small;
13
- }
14
- }
15
-
16
- .alignheight {
17
- height: calc(100vh - #{$header});
18
-
19
- @include breakpoint(medium) {
20
- height: calc(100vh - #{$header-small});
21
- }
22
- }
23
-
24
- .header .banner,
25
- .footer,
26
- .prefooter {
27
- display: none;
28
- }
29
- }
30
-
31
- /* Margin section
32
- / ================================================== */
33
- .section {
34
- position: relative;
35
- margin-top: $section-margin-top;
36
- margin-bottom: $section-margin-bottom;
37
-
38
- @include breakpoint(medium) {
39
- margin-top: $section-margin-top-small;
40
- margin-bottom: $section-margin-bottom-small;
41
- }
42
-
43
- .fullscreen & {
44
- margin-top: 0;
45
- margin-bottom: 0;
46
- }
47
- }
48
-
49
- .section-tools {
50
- position: absolute;
51
- z-index: 1;
52
- top: 0;
53
- left: 0;
54
- margin-left: 30px;
55
-
56
- @include breakpoint(large) {
57
- display: none;
58
- }
59
- }
60
-
61
- .section-tools__item {
62
- @include d-flex(center, center, column);
63
- margin-bottom: 20px;
64
-
65
- @include breakpoint(large) {
66
- font-size: $font-size-small;
67
- }
68
-
69
- @include breakpoint(medium) {
70
- @include d-flex(center, center, row);
71
-
72
- > * {
73
- margin: 0 3px;
74
-
75
- &:first-child {
76
- margin-left: 0;
77
- }
78
- }
79
- }
80
-
81
- @include breakpoint(small) {
82
- margin: 0 $margin-small;
83
- @include d-flex(flex-start, center, row);
84
- width: calc(100% - #{$margin-small} * 2);
85
- }
86
-
87
- @include breakpoint(xsmall) {
88
- margin: 0 $margin-xsmall;
89
- width: calc(100% - #{$margin-xsmall} * 2);
90
- }
91
- }
92
-
93
-
94
- /* Width element
95
- / ================================================== */
96
- .article > * {
97
-
98
- &:not(.alignwide):not(.alignfull) {
99
- max-width: $article;
100
- margin-left: auto;
101
- margin-right: auto;
102
- }
103
-
104
- &:not(.alignfull) {
105
-
106
- @include breakpoint(large) {
107
- width: calc(100% - #{$margin-xlarge} * 2);
108
- }
109
-
110
- @include breakpoint(medium) {
111
- width: calc(100% - #{$margin-large} * 2);
112
- }
113
-
114
- @include breakpoint(small) {
115
- width: calc(100% - #{$margin-small} * 2);
116
- }
117
-
118
- @include breakpoint(xsmall) {
119
- width: calc(100% - #{$margin-xsmall} * 2);
120
- }
121
- }
122
- }
123
-
124
- .alignwide {
125
- max-width: $container;
126
- margin-left: auto;
127
- margin-right: auto;
128
-
129
- // TODO : gestion des marges dans le cas des strates full (ex. Blog > post-video, carousels)
130
- // TODO then : supprimer les padding left & right des strates carousel + vérifs des sliders sur les différentes réso (marges, visibilité des items etc)
131
- //.alignfull > & {
132
- // margin-left: 40px;
133
- // margin-right: 40px;
134
- //}
135
- }
136
-
137
- .container {
138
- max-width: $container;
139
- margin-left: auto;
140
- margin-right: auto;
141
-
142
- @include breakpoint(large) {
143
- width: calc(100% - #{$margin-large} * 2);
144
- }
145
-
146
- @include breakpoint(medium) {
147
- width: calc(100% - #{$margin-medium} * 2);
148
- }
149
-
150
- @include breakpoint(small) {
151
- width: calc(100% - #{$margin-small} * 2);
152
- }
153
-
154
- @include breakpoint(xsmall) {
155
- width: calc(100% - #{$margin-xsmall} * 2);
156
- }
157
- }
158
-
159
- .alignheight {
160
- height: 100vh;
161
- }
162
-
163
- // Full width inside containers
164
- .full-width {
165
- margin-left: calc(50% - 50vw);
166
- margin-right: calc(50% - 50vw);
167
- }
168
-
169
- /* Margin element
170
- / ================================================== */
171
- .hentry {
172
-
173
- // On définie les marges sur les titres uniquement sur ceux de 1er niveau
174
- // Pour les titres dans les blocs (colonne, mise en avant...) les marges sont définies dans le bloc
175
- > h1,
176
- > h2,
177
- > h3,
178
- > h4,
179
- > h5,
180
- > h6 {
181
- margin-top: $title-margin-top;
182
- margin-bottom: $title-margin-bottom;
183
-
184
- @include breakpoint(small) {
185
- margin-top: $title-margin-top-small;
186
- margin-bottom: $title-margin-bottom-small;
187
- }
188
- }
189
-
190
- // TODO no style liste
191
- ul:not(.not-list-style),
192
- ol:not(.not-list-style),
193
- p {
194
- margin-bottom: $text-margin-bottom;
195
- }
196
-
197
- > *[class] {
198
- margin-top: $block-margin-top;
199
- margin-bottom: $block-margin-bottom;
200
-
201
- @include breakpoint(small) {
202
- margin-top: $block-margin-top-small;
203
- margin-bottom: $block-margin-bottom-small;
204
- }
205
- }
206
- }
207
-
208
-
209
- /* TODO
210
- / ================================================== */
211
- //.wp-block {
212
- // position: relative;
213
- //}
@@ -1,55 +0,0 @@
1
-
2
- // Fonts file
3
- @font-face {
4
- font-family: 'etourisme-font';
5
- font-weight: normal;
6
- font-style: normal;
7
- src: url("#{$svgfont_path}/etourisme/etourisme-font.eot"),
8
- url("#{$svgfont_path}/etourisme/etourisme-font.woff") format('woff'),
9
- url("#{$svgfont_path}/etourisme/etourisme-font.ttf") format('truetype'),
10
- url("#{$svgfont_path}/etourisme/etourisme-font.eot?#iefix") format('embedded-opentype'),
11
- url("#{$svgfont_path}/etourisme/etourisme-font.svg#etourisme-font") format('svg');
12
- font-display: swap;
13
- }
14
-
15
- // Array fonts to mixin
16
- $etourisme-icons: (
17
- 'etourisme':
18
- (
19
- "danger": "\ea01",
20
- "denivele": "\ea02",
21
- "distance": "\ea03",
22
- "duration": "\ea04",
23
- "environment": "\ea05",
24
- "file-downlaod": "\ea06",
25
- "flag": "\ea07",
26
- "itinerary": "\ea08",
27
- "level": "\ea09",
28
- "location-on": "\ea0a",
29
- "loop": "\ea0b",
30
- "path": "\ea0c",
31
- "period": "\ea0d"
32
- )
33
-
34
- );
35
-
36
- $allicons: map-merge($allicons, $etourisme-icons);
37
-
38
- .ei:before,
39
- .ei:after {
40
- color: $icon-color;
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
- }
@@ -1,36 +0,0 @@
1
-
2
- // Fonts file
3
- @font-face {
4
- font-family: 'info-neige-font';
5
- font-weight: normal;
6
- font-style: normal;
7
- src: url('#{$svgfont_path}/info-neige/info-neige-font.eot'),
8
- url('#{$svgfont_path}/info-neige/info-neige-font.woff') format('woff'),
9
- url('#{$svgfont_path}/info-neige/info-neige-font.ttf') format('truetype'),
10
- url('#{$svgfont_path}/info-neige/info-neige-font.eot?#iefix') format('embedded-opentype'),
11
- url('#{$svgfont_path}/info-neige/info-neige-font.svg#info-neige-font') format('svg');
12
- font-display: swap;
13
- }
14
-
15
- // Array fonts to mixin
16
- $info-neige-icons: (
17
- 'info-neige':
18
- (
19
- "bullet": "\ea01"
20
- )
21
-
22
- );
23
-
24
- $allicons: map-merge($allicons, $info-neige-icons);
25
-
26
- // Fonts class
27
- .ni:before {
28
- font-family: 'info-neige-font', sans-serif;
29
- font-style: initial;
30
- }
31
-
32
- @each $name, $icon in map-get($info-neige-icons, 'info-neige') {
33
- .ni-#{$name}:before {
34
- content: $icon;
35
- }
36
- }
@@ -1,38 +0,0 @@
1
-
2
- // Fonts file
3
- @font-face {
4
- font-family: 'iris-tides-font';
5
- font-weight: normal;
6
- font-style: normal;
7
- src: url('#{$svgfont_path}/iris-tides/iris-tides-font.eot'),
8
- url('#{$svgfont_path}/iris-tides/iris-tides-font.woff') format('woff'),
9
- url('#{$svgfont_path}/iris-tides/iris-tides-font.ttf') format('truetype'),
10
- url('#{$svgfont_path}/iris-tides/iris-tides-font.eot?#iefix') format('embedded-opentype'),
11
- url('#{$svgfont_path}/iris-tides/iris-tides-font.svg#iris-tides-font') format('svg');
12
- font-display: swap;
13
- }
14
-
15
- // Array fonts to mixin
16
- $iris-tides-icons: (
17
- 'iris-tides':
18
- (
19
- "coefficient": "\ea01",
20
- "high-tide": "\ea02",
21
- "low-tide": "\ea03"
22
- )
23
-
24
- );
25
-
26
- $allicons: map-merge($allicons, $iris-tides-icons);
27
-
28
- // Fonts class
29
- .ti:before {
30
- font-family: 'iris-tides-font', sans-serif;
31
- font-style: initial;
32
- }
33
-
34
- @each $name, $icon in map-get($iris-tides-icons, 'iris-tides') {
35
- .ti-#{$name}:before {
36
- content: $icon;
37
- }
38
- }
@@ -1,47 +0,0 @@
1
-
2
- // Fonts file
3
- @font-face {
4
- font-family: 'iris-weather-font';
5
- font-weight: normal;
6
- font-style: normal;
7
- src: url('#{$svgfont_path}/iris-weather/iris-weather-font.eot'),
8
- url('#{$svgfont_path}/iris-weather/iris-weather-font.woff') format('woff'),
9
- url('#{$svgfont_path}/iris-weather/iris-weather-font.ttf') format('truetype'),
10
- url('#{$svgfont_path}/iris-weather/iris-weather-font.eot?#iefix') format('embedded-opentype'),
11
- url('#{$svgfont_path}/iris-weather/iris-weather-font.svg#iris-weather-font') format('svg');
12
- font-display: swap;
13
- }
14
-
15
- // Array fonts to mixin
16
- $weather-icons: (
17
- 'iris-weather':
18
- (
19
- "day-cloudy": "\ea01",
20
- "day-fog": "\ea02",
21
- "day-rain": "\ea03",
22
- "day-sleet": "\ea04",
23
- "day-snow": "\ea05",
24
- "day-sunny": "\ea06",
25
- "day-windy": "\ea07",
26
- "flag-wind": "\ea08",
27
- "humidity": "\ea09",
28
- "night-clear": "\ea0a",
29
- "night-cloudy": "\ea0b",
30
- "thermostat": "\ea0c"
31
- )
32
-
33
- );
34
-
35
- $allicons: map-merge($allicons, $weather-icons);
36
-
37
- // Fonts class
38
- .wi:before {
39
- font-family: 'iris-weather-font', sans-serif;
40
- font-style: initial;
41
- }
42
-
43
- @each $name, $icon in map-get($weather-icons, 'iris-weather') {
44
- .wi-#{$name}:before {
45
- content: $icon;
46
- }
47
- }
@@ -1,135 +0,0 @@
1
-
2
- // Fonts file
3
- @font-face {
4
- font-family: 'theme-font';
5
- font-weight: normal;
6
- font-style: normal;
7
- src: url("#{$svgfont_path}/theme/theme-font.eot"),
8
- url("#{$svgfont_path}/theme/theme-font.woff") format('woff'),
9
- url("#{$svgfont_path}/theme/theme-font.ttf") format('truetype'),
10
- url("#{$svgfont_path}/theme/theme-font.eot?#iefix") format('embedded-opentype'),
11
- url("#{$svgfont_path}/theme/theme-font.svg#theme-font") format('svg');
12
- font-display: swap;
13
- }
14
-
15
- // Array fonts to mixin
16
- $theme-icons: (
17
- 'theme':
18
- (
19
- "activites": "\ea01",
20
- "add-location-alt-line": "\ea02",
21
- "add-location-alt": "\ea03",
22
- "add": "\ea04",
23
- "arrow-back": "\ea05",
24
- "arrow-downward": "\ea06",
25
- "arrow-forward": "\ea07",
26
- "arrow-upward": "\ea08",
27
- "beenhere": "\ea09",
28
- "by-a-boat": "\ea0a",
29
- "by-car": "\ea0b",
30
- "by-plane": "\ea0c",
31
- "by-train": "\ea0d",
32
- "calendar-today": "\ea0e",
33
- "call": "\ea0f",
34
- "capacity-banquet": "\ea10",
35
- "capacity-carre": "\ea11",
36
- "capacity-class": "\ea12",
37
- "capacity-cocktail": "\ea13",
38
- "capacity-modular": "\ea14",
39
- "capacity-theatre": "\ea15",
40
- "capacity-u": "\ea16",
41
- "category": "\ea17",
42
- "centered-position": "\ea18",
43
- "check-box": "\ea19",
44
- "chevron-bottom": "\ea1a",
45
- "chevron-left": "\ea1b",
46
- "chevron-right": "\ea1c",
47
- "chevron-top": "\ea1d",
48
- "circle": "\ea1e",
49
- "close": "\ea1f",
50
- "computer": "\ea20",
51
- "confirmation-number": "\ea21",
52
- "credit-score": "\ea22",
53
- "delete-forever": "\ea23",
54
- "direction-run": "\ea24",
55
- "edit": "\ea25",
56
- "email": "\ea26",
57
- "error": "\ea27",
58
- "event-available": "\ea28",
59
- "facebook": "\ea29",
60
- "favorite-filled": "\ea2a",
61
- "favorite": "\ea2b",
62
- "file-download": "\ea2c",
63
- "file-upload": "\ea2d",
64
- "filter": "\ea2e",
65
- "forward-to-inbox": "\ea2f",
66
- "fullscreen": "\ea30",
67
- "group": "\ea31",
68
- "hebergement": "\ea32",
69
- "hebergements": "\ea33",
70
- "hotel": "\ea34",
71
- "infos-pratiques": "\ea35",
72
- "instagram": "\ea36",
73
- "layers": "\ea37",
74
- "local-activity": "\ea38",
75
- "location-on-line": "\ea39",
76
- "location-on": "\ea3a",
77
- "map": "\ea3b",
78
- "menu-book": "\ea3c",
79
- "mic": "\ea3d",
80
- "photo-camera": "\ea3e",
81
- "picture-as-pdf": "\ea3f",
82
- "play-circle": "\ea40",
83
- "print": "\ea41",
84
- "question-answer": "\ea42",
85
- "quote": "\ea43",
86
- "remove": "\ea44",
87
- "replay": "\ea45",
88
- "reply": "\ea46",
89
- "reset": "\ea47",
90
- "restaurant": "\ea48",
91
- "restaurants": "\ea49",
92
- "schedule": "\ea4a",
93
- "search": "\ea4b",
94
- "sell": "\ea4c",
95
- "share": "\ea4d",
96
- "shopping-cart": "\ea4e",
97
- "sites-visites": "\ea4f",
98
- "support": "\ea50",
99
- "thermostat": "\ea51",
100
- "thumb-down": "\ea52",
101
- "thumb-up": "\ea53",
102
- "toggle-off": "\ea54",
103
- "toggle-on": "\ea55",
104
- "twitter": "\ea56",
105
- "videocam": "\ea57",
106
- "visibility": "\ea58",
107
- "volume-off": "\ea59",
108
- "volume-up": "\ea5a",
109
- "whatsapp": "\ea5b",
110
- "work": "\ea5c",
111
- "youtube": "\ea5d"
112
- )
113
-
114
- );
115
-
116
- $allicons: map-merge($allicons, $theme-icons);
117
-
118
- .fi:before,
119
- .fi:after {
120
- color: $icon-color;
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
- }