@iris.interactive/handcook 1.0.0 → 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.
Files changed (31) hide show
  1. package/README.md +3 -2
  2. package/package.json +1 -1
  3. package/public/fonts/svgfont/etourisme/etourisme-font.eot +0 -0
  4. package/public/fonts/svgfont/etourisme/etourisme-font.svg +1 -0
  5. package/public/fonts/svgfont/etourisme/etourisme-font.ttf +0 -0
  6. package/public/fonts/svgfont/etourisme/etourisme-font.woff +0 -0
  7. package/public/fonts/svgfont/info-neige/info-neige-font.eot +0 -0
  8. package/public/fonts/svgfont/info-neige/info-neige-font.svg +1 -0
  9. package/public/fonts/svgfont/info-neige/info-neige-font.ttf +0 -0
  10. package/public/fonts/svgfont/info-neige/info-neige-font.woff +0 -0
  11. package/public/fonts/svgfont/iris-tides/iris-tides-font.eot +0 -0
  12. package/public/fonts/svgfont/iris-tides/iris-tides-font.svg +1 -0
  13. package/public/fonts/svgfont/iris-tides/iris-tides-font.ttf +0 -0
  14. package/public/fonts/svgfont/iris-tides/iris-tides-font.woff +0 -0
  15. package/public/fonts/svgfont/iris-weather/iris-weather-font.eot +0 -0
  16. package/public/fonts/svgfont/iris-weather/iris-weather-font.svg +1 -0
  17. package/public/fonts/svgfont/iris-weather/iris-weather-font.ttf +0 -0
  18. package/public/fonts/svgfont/iris-weather/iris-weather-font.woff +0 -0
  19. package/public/fonts/svgfont/theme/theme-font.eot +0 -0
  20. package/public/fonts/svgfont/theme/theme-font.svg +1 -0
  21. package/public/fonts/svgfont/theme/theme-font.ttf +0 -0
  22. package/public/fonts/svgfont/theme/theme-font.woff +0 -0
  23. package/public/scripts/index.js +236 -2
  24. package/public/styles/scss/_mixin-font.scss +30 -0
  25. package/public/styles/scss/lib/_etourisme-font.scss +55 -0
  26. package/public/styles/scss/lib/_info-neige-font.scss +37 -0
  27. package/public/styles/scss/lib/_iris-tides-font.scss +39 -0
  28. package/public/styles/scss/lib/_iris-weather-font.scss +48 -0
  29. package/public/styles/scss/lib/_theme-font.scss +135 -0
  30. package/public/styles/style.css +1025 -0
  31. package/public/scripts/index.js.map +0 -1
@@ -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
+ }