@iris.interactive/handcook 1.0.6 → 1.0.10
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 +1 -1
- package/public/fonts/svgfont/etourisme/etourisme-font.eot +0 -0
- package/public/fonts/svgfont/etourisme/etourisme-font.ttf +0 -0
- package/public/fonts/svgfont/etourisme/etourisme-font.woff +0 -0
- package/public/fonts/svgfont/theme/theme-font.eot +0 -0
- package/public/fonts/svgfont/theme/theme-font.ttf +0 -0
- package/public/fonts/svgfont/theme/theme-font.woff +0 -0
- package/public/styles/scss/_init.scss +24 -0
- package/public/styles/scss/_layout.scss +190 -0
- package/public/styles/scss/_utils.scss +102 -0
- package/public/styles/scss/_variables.scss +412 -0
- package/public/styles/scss/lib/_etourisme-font.scss +1 -0
- package/public/styles/scss/lib/_theme-font.scss +1 -0
- package/public/styles/scss/{_mixin-font.scss → mixins/_mixin-font.scss} +0 -0
- package/public/styles/scss/mixins/_mixin-layout.scss +103 -0
- package/public/styles/scss/mixins/_mixin-style.scss +133 -0
- package/public/styles/style.css +369 -0
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Created by IRIS Interactive
|
|
3
|
+
* User : IRIS Interactive
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
*,
|
|
7
|
+
*:after,
|
|
8
|
+
*:before {
|
|
9
|
+
-moz-osx-font-smoothing: grayscale;
|
|
10
|
+
-webkit-font-smoothing: antialiased;
|
|
11
|
+
text-rendering: optimizeLegibility;
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
margin: 0;
|
|
14
|
+
padding: 0;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
body {
|
|
18
|
+
background: $background-color;
|
|
19
|
+
color: $color;
|
|
20
|
+
font-family: $font-family;
|
|
21
|
+
line-height: $line-height;
|
|
22
|
+
font-weight: $font-weight;
|
|
23
|
+
font-size: $font-size--rem;
|
|
24
|
+
}
|
|
@@ -0,0 +1,190 @@
|
|
|
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: 0 auto;
|
|
127
|
+
|
|
128
|
+
// TODO : gestion des marges dans le cas des strates full (ex. Blog > post-video, carousels)
|
|
129
|
+
// TODO then : supprimer les paddinf left&right des strates carousel + vérifs des sliders sur les différentes réso (marges, visibilité des items etc)
|
|
130
|
+
//.alignfull > & {
|
|
131
|
+
// margin-left: 40px;
|
|
132
|
+
// margin-right: 40px;
|
|
133
|
+
//}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.alignheight {
|
|
137
|
+
height: 100vh;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
// Full width inside containers
|
|
141
|
+
.full-width {
|
|
142
|
+
margin-left: calc(50% - 50vw);
|
|
143
|
+
margin-right: calc(50% - 50vw);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/* Margin element
|
|
147
|
+
/ ================================================== */
|
|
148
|
+
.hentry {
|
|
149
|
+
|
|
150
|
+
// On définie les marges sur les titres uniquement sur ceux de 1er niveau
|
|
151
|
+
// Pour les titres dans les blocs (colonne, mise en avant...) les marges sont définies dans le bloc
|
|
152
|
+
> h1,
|
|
153
|
+
> h2,
|
|
154
|
+
> h3,
|
|
155
|
+
> h4,
|
|
156
|
+
> h5,
|
|
157
|
+
> h6 {
|
|
158
|
+
margin-top: $title-margin-top;
|
|
159
|
+
margin-bottom: $title-margin-bottom;
|
|
160
|
+
|
|
161
|
+
@include breakpoint(small) {
|
|
162
|
+
margin-top: $title-margin-top-small;
|
|
163
|
+
margin-bottom: $title-margin-bottom-small;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
// TODO no style liste
|
|
168
|
+
ul:not(.not-list-style),
|
|
169
|
+
ol:not(.not-list-style),
|
|
170
|
+
p {
|
|
171
|
+
margin-bottom: $text-margin-bottom;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
> *[class] {
|
|
175
|
+
margin-top: $block-margin-top;
|
|
176
|
+
margin-bottom: $block-margin-bottom;
|
|
177
|
+
|
|
178
|
+
@include breakpoint(small) {
|
|
179
|
+
margin-top: $block-margin-top-small;
|
|
180
|
+
margin-bottom: $block-margin-bottom-small;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
/* TODO
|
|
187
|
+
/ ================================================== */
|
|
188
|
+
//.wp-block {
|
|
189
|
+
// position: relative;
|
|
190
|
+
//}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Created by IRIS Interactive
|
|
3
|
+
* User : IRIS Interactive
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/* Utils classes
|
|
7
|
+
/* ============================================= */
|
|
8
|
+
.stretched-link {
|
|
9
|
+
@include stretched-link;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
/* ============================================= */
|
|
14
|
+
.list-flex {
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-wrap: wrap;
|
|
17
|
+
margin-bottom: 0;
|
|
18
|
+
|
|
19
|
+
> * {
|
|
20
|
+
list-style-type: none;
|
|
21
|
+
margin: 0 10px 10px 0;
|
|
22
|
+
|
|
23
|
+
&:last-child {
|
|
24
|
+
margin-right: 0;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* Animations
|
|
30
|
+
/* ============================================= */
|
|
31
|
+
@keyframes loader {
|
|
32
|
+
|
|
33
|
+
100% {
|
|
34
|
+
transform: rotate(360deg);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* Sr-only
|
|
39
|
+
/* ============================================= */
|
|
40
|
+
.sr-only {
|
|
41
|
+
clip: rect(0, 0, 0, 0);
|
|
42
|
+
border-width: 0;
|
|
43
|
+
height: 1px;
|
|
44
|
+
margin: -1px;
|
|
45
|
+
overflow: hidden;
|
|
46
|
+
padding: 0;
|
|
47
|
+
position: absolute;
|
|
48
|
+
white-space: nowrap;
|
|
49
|
+
width: 1px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* Text with icon before
|
|
53
|
+
/* ============================================= */
|
|
54
|
+
.text-icon {
|
|
55
|
+
display: inline-flex;
|
|
56
|
+
align-items: center;
|
|
57
|
+
|
|
58
|
+
&:before {
|
|
59
|
+
margin-right: 5px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// If icon after
|
|
63
|
+
&:after {
|
|
64
|
+
margin-left: 5px;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* Block with img animated on hover
|
|
69
|
+
/* ============================================= */
|
|
70
|
+
.hover-item {
|
|
71
|
+
|
|
72
|
+
img {
|
|
73
|
+
@include transition;
|
|
74
|
+
will-change: transform;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&:hover {
|
|
78
|
+
img {
|
|
79
|
+
@include animate;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* Masquer un element
|
|
85
|
+
/* ============================================= */
|
|
86
|
+
.hide {
|
|
87
|
+
display: none;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/* Opening
|
|
91
|
+
/* ============================================= */
|
|
92
|
+
.is-opened {
|
|
93
|
+
color: $c-success;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.soon-closed {
|
|
97
|
+
color: $c-warning;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.is-closed {
|
|
101
|
+
color: $c-error;
|
|
102
|
+
}
|
|
@@ -0,0 +1,412 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Created by IRIS Interactive
|
|
3
|
+
* User : IRIS Interactive
|
|
4
|
+
*/
|
|
5
|
+
@use "sass:math";
|
|
6
|
+
|
|
7
|
+
/* Layout
|
|
8
|
+
/ ================================================== */
|
|
9
|
+
$container: 1220px;
|
|
10
|
+
$article: 800px;
|
|
11
|
+
$sidebar: 360px;
|
|
12
|
+
|
|
13
|
+
$header: 120px; //TODO: Hérité du plugin customer ?
|
|
14
|
+
$header-small: 80px; //TODO: Hérité du plugin customer ?
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/* Gutter
|
|
18
|
+
/ ================================================== */
|
|
19
|
+
$gutter: 40px;
|
|
20
|
+
$gutter-large: $gutter*2;
|
|
21
|
+
$gutter-medium: 20px;
|
|
22
|
+
$gutter-small: 20px;
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
/* Margin
|
|
26
|
+
/ ================================================== */
|
|
27
|
+
$section-margin-top: 100px;
|
|
28
|
+
$section-margin-bottom: 60px;
|
|
29
|
+
$section-margin-top-small: 40px;
|
|
30
|
+
$section-margin-bottom-small: 40px;
|
|
31
|
+
$text-margin-bottom: 20px;
|
|
32
|
+
|
|
33
|
+
$title-margin-top: 80px;
|
|
34
|
+
$title-margin-bottom: 20px;
|
|
35
|
+
$title-margin-top-small: 60px;
|
|
36
|
+
$title-margin-bottom-small: 20px;
|
|
37
|
+
|
|
38
|
+
$block-margin-top: 80px;
|
|
39
|
+
$block-margin-top-medium: 60px;
|
|
40
|
+
$block-margin-top-small: 30px;
|
|
41
|
+
$block-margin-bottom: 80px;
|
|
42
|
+
$block-margin-bottom-medium: 60px;
|
|
43
|
+
$block-margin-bottom-small: 30px;
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
/* Margin
|
|
47
|
+
/ ================================================== */
|
|
48
|
+
$margin-xlarge: 8%;
|
|
49
|
+
$margin-large: 60px;
|
|
50
|
+
$margin-medium: 40px;
|
|
51
|
+
$margin-small: 20px;
|
|
52
|
+
$margin-xsmall: 20px;
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
/* Breakpoint
|
|
56
|
+
/ ================================================== */
|
|
57
|
+
$breakpoint-desktop: $container; // min-width
|
|
58
|
+
$breakpoint-xlarge: math.div($container, 1 - math.div($margin-xlarge, 100%) * 2)+1; // min-width
|
|
59
|
+
$breakpoint-large: math.div($container, 1 - math.div($margin-xlarge, 100%) * 2); // max-width
|
|
60
|
+
$breakpoint-medium: 1000px; // max-width
|
|
61
|
+
$breakpoint-small: 650px; // max-width
|
|
62
|
+
$breakpoint-xsmall: 370px; // max-width
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
/* Global
|
|
66
|
+
/ ================================================== */
|
|
67
|
+
$font-family: var(--iris--global--font-family);
|
|
68
|
+
$font-weight: var(--iris--global--font-weight);
|
|
69
|
+
$font-size: var(--iris--global--font-size-regular);
|
|
70
|
+
$font-size--rem: var(--iris--global--font-size-regular--rem);
|
|
71
|
+
$line-height: 1.75;
|
|
72
|
+
$color: var(--iris--global--color);
|
|
73
|
+
$background-color: var(--iris--global--background-color);
|
|
74
|
+
|
|
75
|
+
$border-color: var(--iris--global--border-color);
|
|
76
|
+
$border-radius: var(--iris--global--border-radius);
|
|
77
|
+
$box-shadow: var(--iris--global--box-shadow-color) var(--iris--global--box-shadow-offset-x) var(--iris--global--box-shadow-offset-y) var(--iris--global--box-shadow-blur-radius) var(--iris--global--box-shadow-spread-radius);
|
|
78
|
+
|
|
79
|
+
$font-size-xsmall: var(--iris--global--font-size-xsmall);
|
|
80
|
+
$font-size-xsmall--rem: var(--iris--global--font-size-xsmall--rem);
|
|
81
|
+
$font-size-small: var(--iris--global--font-size-small);
|
|
82
|
+
$font-size-small--rem: var(--iris--global--font-size-small--rem);
|
|
83
|
+
$font-size-regular: $font-size;
|
|
84
|
+
$font-size-regular--rem: $font-size--rem;
|
|
85
|
+
$font-size-large: var(--iris--global--font-size-large);
|
|
86
|
+
$font-size-large--rem: var(--iris--global--font-size-large--rem);
|
|
87
|
+
$font-size-large--small: var(--iris--global--font-size-large--small);
|
|
88
|
+
$font-size-large--small--rem: var(--iris--global--font-size-large--small--rem);
|
|
89
|
+
$font-size-extra-large: var(--iris--global--font-size-extra-large);
|
|
90
|
+
$font-size-extra-large--rem: var(--iris--global--font-size-extra-large--rem);
|
|
91
|
+
$font-size-extra-large--small: var(--iris--global--font-size-extra-large--small);
|
|
92
|
+
$font-size-extra-large--small--rem: var(--iris--global--font-size-extra-large--small--rem);
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
//Icon
|
|
96
|
+
$icon-color: var(--iris--icon--color);
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
//Rank
|
|
100
|
+
$rank-color: #ffc400; // var(--iris--rank--color)
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
//Meta
|
|
104
|
+
$meta-color: var(--iris--meta--color);
|
|
105
|
+
$meta-font-size: $font-size-small;
|
|
106
|
+
$meta-font-size--rem: $font-size-small--rem;
|
|
107
|
+
|
|
108
|
+
// Links
|
|
109
|
+
$link-color: var(--iris--link--color);
|
|
110
|
+
$link-color-hover: var(--iris--link--color-hover);
|
|
111
|
+
$link-text-decoration: var(--iris--link--text-decoration, none);
|
|
112
|
+
$link-box-shadow: var(--iris--link--box-shadow, none);
|
|
113
|
+
$link-underline-offset: var(--iris--link--underline-offset, 0);
|
|
114
|
+
$link-font-weight: var(--iris--link--font-weight);
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
// Advanced Links
|
|
118
|
+
$advanced-link-font-weight: var(--iris--advanced-link--font-weight);
|
|
119
|
+
$advanced-link-font-family: var(--iris--advanced-link--font-family);
|
|
120
|
+
$advanced-link-text-transform: var(--iris--advanced-link--text-transform);
|
|
121
|
+
$advanced-link-letter-spacing: var(--iris--advanced-link--letter-spacing);
|
|
122
|
+
$advanced-link-font-size: var(--iris--advanced-link--font-size);
|
|
123
|
+
$advanced-link-font-size-rem: var(--iris--advanced-link--font-size--rem);
|
|
124
|
+
$advanced-link-color: var(--iris--advanced-link--color);
|
|
125
|
+
$advanced-link-color-hover: var(--iris--advanced-link--color-hover);
|
|
126
|
+
$advanced-link-text-decoration: var(--iris--advanced-link--text-decoration, none);
|
|
127
|
+
$advanced-link-underline-offset: var(--iris--advanced-link--underline-offset, 0);
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
// List
|
|
131
|
+
$list-color: var(--iris--list--color);
|
|
132
|
+
$list-style-type: var(--iris--list--style-type, 50%);
|
|
133
|
+
$list-padding-left: calc(#{$font-size} * 1px + 10px);
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
//Heading
|
|
137
|
+
$h1-font-family: var(--iris--h1--font-family);
|
|
138
|
+
$h1-font-weight: var(--iris--h1--font-weight, 400);
|
|
139
|
+
$h1-font-size: var(--iris--h1--font-size);
|
|
140
|
+
$h1-font-size--rem: var(--iris--h1--font-size--rem);
|
|
141
|
+
$h1-font-size-medium: var(--iris--h1--font-size--medium);
|
|
142
|
+
$h1-font-size-medium--rem: var(--iris--h1--font-size--medium--rem);
|
|
143
|
+
$h1-font-size-small: var(--iris--h1--font-size--small);
|
|
144
|
+
$h1-font-size-small--rem: var(--iris--h1--font-size--small--rem);
|
|
145
|
+
$h1-color: var(--iris--h1--color);
|
|
146
|
+
$h1-text-align: var(--iris--h1--text-align);
|
|
147
|
+
$h1-text-transform: var(--iris--h1--text-transform);
|
|
148
|
+
|
|
149
|
+
$h2-font-family: var(--iris--h2--font-family);
|
|
150
|
+
$h2-font-weight: var(--iris--h2--font-weight, 400);
|
|
151
|
+
$h2-font-size: var(--iris--h2--font-size);
|
|
152
|
+
$h2-font-size--rem: var(--iris--h2--font-size--rem);
|
|
153
|
+
$h2-font-size-small: var(--iris--h2--font-size--small);
|
|
154
|
+
$h2-font-size-small--rem: var(--iris--h2--font-size--small--rem);
|
|
155
|
+
$h2-color: var(--iris--h2--color);
|
|
156
|
+
$h2-text-align: var(--iris--h2--text-align);
|
|
157
|
+
$h2-text-transform: var(--iris--h2--text-transform);
|
|
158
|
+
|
|
159
|
+
$h3-font-family: var(--iris--h3--font-family);
|
|
160
|
+
$h3-font-weight: var(--iris--h3--font-weight, 400);
|
|
161
|
+
$h3-font-size: var(--iris--h3--font-size);
|
|
162
|
+
$h3-font-size--rem: var(--iris--h3--font-size--rem);
|
|
163
|
+
$h3-font-size-medium: var(--iris--h3--font-size--medium);
|
|
164
|
+
$h3-font-size-medium--rem: var(--iris--h3--font-size--medium--rem);
|
|
165
|
+
$h3-font-size-small: var(--iris--h3--font-size--small);
|
|
166
|
+
$h3-font-size-small--rem: var(--iris--h3--font-size--small--rem);
|
|
167
|
+
$h3-color: var(--iris--h3--color);
|
|
168
|
+
$h3-text-align: var(--iris--h3--text-align);
|
|
169
|
+
$h3-text-transform: var(--iris--h3--text-transform);
|
|
170
|
+
|
|
171
|
+
$h4-font-family: var(--iris--h4--font-family);
|
|
172
|
+
$h4-font-weight: var(--iris--h4--font-weight, 400);
|
|
173
|
+
$h4-font-size: var(--iris--h4--font-size);
|
|
174
|
+
$h4-font-size--rem: var(--iris--h4--font-size--rem);
|
|
175
|
+
$h4-font-size-medium: var(--iris--h4--font-size--medium);
|
|
176
|
+
$h4-font-size-medium--rem: var(--iris--h4--font-size--medium--rem);
|
|
177
|
+
$h4-font-size-small: var(--iris--h4--font-size--small);
|
|
178
|
+
$h4-font-size-small--rem: var(--iris--h4--font-size--small--rem);
|
|
179
|
+
$h4-color: var(--iris--h4--color);
|
|
180
|
+
$h4-text-align: var(--iris--h4--text-align);
|
|
181
|
+
$h4-text-transform: var(--iris--h4--text-transform);
|
|
182
|
+
|
|
183
|
+
$h5-font-family: var(--iris--h5--font-family);
|
|
184
|
+
$h5-font-weight: var(--iris--h5--font-weight, 400);
|
|
185
|
+
$h5-font-size: var(--iris--h5--font-size);
|
|
186
|
+
$h5-font-size--rem: var(--iris--h5--font-size--rem);
|
|
187
|
+
$h5-font-size-medium: var(--iris--h5--font-size--medium);
|
|
188
|
+
$h5-font-size-medium--rem: var(--iris--h5--font-size--medium--rem);
|
|
189
|
+
$h5-font-size-small: var(--iris--h5--font-size--small);
|
|
190
|
+
$h5-font-size-small--rem: var(--iris--h5--font-size--small--rem);
|
|
191
|
+
$h5-color: var(--iris--h5--color);
|
|
192
|
+
$h5-text-align: var(--iris--h5--text-align);
|
|
193
|
+
$h5-text-transform: var(--iris--h5--text-transform);
|
|
194
|
+
|
|
195
|
+
$h6-font-family: var(--iris--h6--font-family);
|
|
196
|
+
$h6-font-weight: var(--iris--h6--font-weight, 400);
|
|
197
|
+
$h6-font-size: var(--iris--h6--font-size);
|
|
198
|
+
$h6-font-size--rem: var(--iris--h6--font-size--rem);
|
|
199
|
+
$h6-font-size-medium: var(--iris--h6--font-size--medium);
|
|
200
|
+
$h6-font-size-medium--rem: var(--iris--h6--font-size--medium--rem);
|
|
201
|
+
$h6-font-size-small: var(--iris--h6--font-size--small);
|
|
202
|
+
$h6-font-size-small--rem: var(--iris--h6--font-size--small--rem);
|
|
203
|
+
$h6-color: var(--iris--h6--color);
|
|
204
|
+
$h6-text-align: var(--iris--h6--text-align);
|
|
205
|
+
$h6-text-transform: var(--iris--h6--text-transform);
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
// Blockquote
|
|
209
|
+
$blockquote-color: var(--iris--blockquote--color);
|
|
210
|
+
$blockquote-font-family: var(--iris--blockquote--font-family);
|
|
211
|
+
$blockquote-font-weight: var(--iris--blockquote--font-weight);
|
|
212
|
+
$blockquote-font-style: var(--iris--blockquote--font-style);
|
|
213
|
+
$blockquote-font-size: var(--iris--blockquote--font-size);
|
|
214
|
+
$blockquote-font-size--rem: var(--iris--blockquote--font-size--rem);
|
|
215
|
+
$blockquote-font-size-small: var(--iris--blockquote--font-size--small);
|
|
216
|
+
$blockquote-font-size-small--rem: var(--iris--blockquote--font-size--small--rem);
|
|
217
|
+
$blockquote-padding-left: calc(#{$blockquote-font-size} * 1px + 20px);
|
|
218
|
+
$blockquote-text-align: var(--iris--blockquote--text-align);
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
// Excerpt
|
|
222
|
+
$excerpt-font-family: var(--iris--excerpt--font-family);
|
|
223
|
+
$excerpt-font-weight: var(--iris--excerpt--font-weight);
|
|
224
|
+
$excerpt-font-style: var(--iris--excerpt--font-style);
|
|
225
|
+
$excerpt-font-size: var(--iris--excerpt--font-size);
|
|
226
|
+
$excerpt-font-size--rem: var(--iris--excerpt--font-size--rem);
|
|
227
|
+
$excerpt-font-size-small: var(--iris--excerpt--font-size--small);
|
|
228
|
+
$excerpt-font-size-small--rem: var(--iris--excerpt--font-size--small--rem);
|
|
229
|
+
$excerpt-color: var(--iris--excerpt--color);
|
|
230
|
+
$excerpt-text-align: var(--iris--excerpt--text-align);
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
// Separator
|
|
234
|
+
$hr-height: var(--iris--hr--height);
|
|
235
|
+
$hr-width: var(--iris--hr--width);
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
// Table
|
|
239
|
+
$table-thead-color: var(--iris--table--thead--color);
|
|
240
|
+
$table-thead-background-color: var(--iris--table--thead--background-color);
|
|
241
|
+
$table-even-background-color: var(--iris--table--even--background-color);
|
|
242
|
+
|
|
243
|
+
// Form
|
|
244
|
+
$form-field-color: var(--iris--form-field--color);
|
|
245
|
+
$form-field-background-color: var(--iris--form-field--background-color, transparent);
|
|
246
|
+
$form-field-border-color: var(--iris--form-field--border-color, transparent);
|
|
247
|
+
$form-field-border-style: var(--iris--form-field--border-style);
|
|
248
|
+
$form-field-border: var(--iris--form-field--border);
|
|
249
|
+
$form-field-height: var(--iris--form-field--height);
|
|
250
|
+
$form-field-border-radius: var(--iris--form-field--border-radius);
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
// Button
|
|
254
|
+
$button-font-weight : var(--iris--button--font-weight, 400);
|
|
255
|
+
$button-font-family : var(--iris--button--font-family);
|
|
256
|
+
$button-text-transform : var(--iris--button--text-transform);
|
|
257
|
+
$button-letter-spacing : var(--iris--button--letter-spacing);
|
|
258
|
+
$button-padding-x: var(--iris--button--padding-x);
|
|
259
|
+
$button-padding-y: var(--iris--button--padding-y);
|
|
260
|
+
$button-font-size: var(--iris--button--font-size);
|
|
261
|
+
$button-font-size--rem: var(--iris--button--font-size--rem);
|
|
262
|
+
$button-border-radius: var(--iris--button--border-radius);
|
|
263
|
+
$button-color: var(--iris--button--color);
|
|
264
|
+
$button-background-color: var(--iris--button--background-color);
|
|
265
|
+
$button-color-hover: var(--iris--button--color-hover);
|
|
266
|
+
$button-background-color-hover: var(--iris--button--background-color-hover, none);
|
|
267
|
+
$button-background-image: var(--iris--button--background-image, none);
|
|
268
|
+
$button-gradient-background-image-size: var(--iris--global--gradient-background-size, (200% 100%));
|
|
269
|
+
$button-border: var(--iris--button--border, none);
|
|
270
|
+
$button-border-hover: var(--iris--button--border-hover, none);
|
|
271
|
+
|
|
272
|
+
// Tags
|
|
273
|
+
$tag-padding-top: var(--iris--tag--padding-top);
|
|
274
|
+
$tag-padding-right: var(--iris--tag--padding-right);
|
|
275
|
+
$tag-padding-bottom: var(--iris--tag--padding-bottom);
|
|
276
|
+
$tag-padding-left: var(--iris--tag--padding-left);
|
|
277
|
+
$tag-font-size: var(--iris--tag--font-size);
|
|
278
|
+
$tag-font-size--rem: var(--iris--tag--font-size--rem);
|
|
279
|
+
|
|
280
|
+
// Tags border
|
|
281
|
+
$border-tag-color: var(--iris--tag--border--text-color);
|
|
282
|
+
$border-tag-border-color: var(--iris--tag--border--border-color);
|
|
283
|
+
|
|
284
|
+
//Tags background
|
|
285
|
+
$background-tag-color: var(--iris--tag--background--text-color);
|
|
286
|
+
$background-tag-background-color: var(--iris--tag--background--background-color);
|
|
287
|
+
|
|
288
|
+
// Tooltip
|
|
289
|
+
$tooltip-color: var(--iris--tooltip--color);
|
|
290
|
+
$tooltip-background-color: var(--iris--tooltip--background-color);
|
|
291
|
+
|
|
292
|
+
// Popover
|
|
293
|
+
$popover-color: var(--iris--popover--color);
|
|
294
|
+
$popover-background-color: var(--iris--popover--background-color);
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
// Switch
|
|
298
|
+
$switch-on: var(--iris--switch--color-on);
|
|
299
|
+
$switch-off: var(--iris--switch--color-off);
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
// Highlight
|
|
303
|
+
$highlight-color: var(--iris--highlight--color);
|
|
304
|
+
$highlight-background-color: var(--iris--highlight--background-color);
|
|
305
|
+
$highlight-link-color: var(--iris--highlight--color-link);
|
|
306
|
+
$highlight-link-color-hover: var(--iris--highlight--color-link-hover);
|
|
307
|
+
|
|
308
|
+
// Highlight
|
|
309
|
+
$highlight-color: var(--iris--highlight--color);
|
|
310
|
+
$highlight-background-color: var(--iris--highlight--background-color);
|
|
311
|
+
$highlight-link-color: var(--iris--highlight--color-link);
|
|
312
|
+
$highlight-link-color-hover: var(--iris--highlight--color-link-hover);
|
|
313
|
+
|
|
314
|
+
// Single SIT highlight
|
|
315
|
+
$detail-sit-highlight-color: var(--iris--detail-sit-highlight--color);
|
|
316
|
+
$detail-sit-highlight-background-color: var(--iris--detail-sit-highlight--background-color);
|
|
317
|
+
$detail-sit-highlight-link-color: var(--iris--detail-sit-highlight--color-link);
|
|
318
|
+
$detail-sit-highlight-link-color-hover: var(--iris--detail-sit-highlight--color-link-hover);
|
|
319
|
+
|
|
320
|
+
// Strate Full
|
|
321
|
+
$stratefull-color: var(--iris--stratefull--color);
|
|
322
|
+
$stratefull-background-color: var(--iris--stratefull--background-color);
|
|
323
|
+
$stratefull-link-color: var(--iris--stratefull--color-link);
|
|
324
|
+
$stratefull-link-color-hover: var(--iris--stratefull--color-link-hover);
|
|
325
|
+
$stratefull-content-x: var(--iris--stratefull--content-x);
|
|
326
|
+
$stratefull-content-y: var(--iris--stratefull--content-y);
|
|
327
|
+
$stratefull-content-width: var(--iris--stratefull--content-width);
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
// Brochures form
|
|
331
|
+
$brochure-form-color: var(--iris--brochure-form--color);
|
|
332
|
+
$brochure-form-background-color: var(--iris--brochure-form--background-color);
|
|
333
|
+
$brochure-form-link-color: var(--iris--brochure-form--color-link);
|
|
334
|
+
$brochure-form-link-color-hover: var(--iris--brochure-form--color-link-hover);
|
|
335
|
+
$brochure-form-field-background-color: var(--iris--brochure-form-field--background-color);
|
|
336
|
+
$brochure-form-field-border-color: var(--iris--brochure-form-field--border-color);
|
|
337
|
+
$brochure-form-field-border: var(--iris--brochure-form-field--border);
|
|
338
|
+
$brochure-form-field-color: var(--iris--brochure-form-field--color);
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
// Alternative content
|
|
342
|
+
$alternative-content-color: var(--iris--alternative-content--color);
|
|
343
|
+
$alternative-content-background-color: var(--iris--alternative-content--background-color);
|
|
344
|
+
$alternative-content-link-color: var(--iris--alternative-content--color-link);
|
|
345
|
+
$alternative-content-link-color-hover: var(--iris--alternative-content--color-link-hover);
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
// Relative content
|
|
349
|
+
$relative-content-color: var(--iris--relative-content--color);
|
|
350
|
+
$relative-content-background-color: var(--iris--relative-content--background-color);
|
|
351
|
+
$relative-content-link-color: var(--iris--relative-content--color-link);
|
|
352
|
+
$relative-content-link-color-hover: var(--iris--relative-content--color-link-hover);
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
// Video highlight
|
|
356
|
+
$video-highlight-color: var(--iris--video-highlight--color);
|
|
357
|
+
$video-highlight-background-color: var(--iris--video-highlight--background-color);
|
|
358
|
+
$video-highlight-link-color: var(--iris--video-highlight--color-link);
|
|
359
|
+
$video-highlight-link-color-hover: var(--iris--video-highlight--color-link-hover);
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
// Authors
|
|
363
|
+
$authors-color: var(--iris--authors--color);
|
|
364
|
+
$authors-background-color: var(--iris--authors--background-color);
|
|
365
|
+
$authors-link-color: var(--iris--authors--color-link);
|
|
366
|
+
$authors-link-color-hover: var(--iris--authors--color-link-hover);
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
// Ma Plage
|
|
370
|
+
$ma-plage-color: var(--iris--ma-plage--color);
|
|
371
|
+
$ma-plage-background-color: var(--iris--ma-plage--background-color);
|
|
372
|
+
$ma-plage-link-color: var(--iris--ma-plage--color-link);
|
|
373
|
+
$ma-plage-link-color-hover: var(--iris--ma-plage--color-link-hover);
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
// Tides
|
|
377
|
+
$tides-background-color: var(--iris--tides--background-color);
|
|
378
|
+
$tides-color: var(--iris--tides--color);
|
|
379
|
+
$tides-link-color: var(--iris--tides--color-link);
|
|
380
|
+
$tides-link-color-hover: var(--iris--tides--color-link-hover);
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
// Snow
|
|
384
|
+
$snow-color: var(--iris--snow--color);
|
|
385
|
+
$snow-background-color: var(--iris--snow--background-color);
|
|
386
|
+
$snow-link-color: var(--iris--snow--color-link);
|
|
387
|
+
$snow-link-color-hover: var(--iris--snow--color-link-hover);
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
// How to come
|
|
391
|
+
$how-to-come-color: var(--iris--how-to-come--color);
|
|
392
|
+
$how-to-come-background-color: var(--iris--how-to-come--background-color);
|
|
393
|
+
$how-to-come-link-color: var(--iris--how-to-come--color-link);
|
|
394
|
+
$how-to-come-link-color-hover: var(--iris--how-to-come--color-link-hover);
|
|
395
|
+
|
|
396
|
+
// Trip
|
|
397
|
+
$trip-color: var(--iris--trip--color);
|
|
398
|
+
$trip-background-color: var(--iris--trip--background-color);
|
|
399
|
+
$trip-link-color: var(--iris--trip--color-link);
|
|
400
|
+
$trip-link-color-hover: var(--iris--trip--color-link-hover);
|
|
401
|
+
|
|
402
|
+
/* Notifications
|
|
403
|
+
/ ================================================== */
|
|
404
|
+
$c-error: #f33;
|
|
405
|
+
$c-success: #009e55;
|
|
406
|
+
$c-warning: #ff890e;
|
|
407
|
+
|
|
408
|
+
/* Difficulty
|
|
409
|
+
/ ================================================== */
|
|
410
|
+
$c-easy: #9ccc65;
|
|
411
|
+
$c-medium: #29b6f6;
|
|
412
|
+
$c-hard: #ef5350;
|
|
File without changes
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Created by IRIS Interactive
|
|
3
|
+
* User : IRIS Interactive
|
|
4
|
+
*/
|
|
5
|
+
@use "sass:math";
|
|
6
|
+
|
|
7
|
+
/* Main gutter
|
|
8
|
+
/ ================================================== */
|
|
9
|
+
@mixin breakpoint($point) {
|
|
10
|
+
|
|
11
|
+
@if $point == "xlarge" {
|
|
12
|
+
@media screen and (min-width: #{$breakpoint-xlarge}) {
|
|
13
|
+
@content;
|
|
14
|
+
}
|
|
15
|
+
} @else if $point == "large" {
|
|
16
|
+
@media screen and (max-width: #{$breakpoint-large}) {
|
|
17
|
+
@content;
|
|
18
|
+
}
|
|
19
|
+
} @else if $point == "medium" {
|
|
20
|
+
@media screen and (max-width: #{$breakpoint-medium}) {
|
|
21
|
+
@content;
|
|
22
|
+
}
|
|
23
|
+
} @else if $point == "small" {
|
|
24
|
+
@media screen and (max-width: #{$breakpoint-small}) {
|
|
25
|
+
@content;
|
|
26
|
+
}
|
|
27
|
+
} @else if $point == "xsmall" {
|
|
28
|
+
@media screen and (max-width: #{$breakpoint-xsmall}) {
|
|
29
|
+
@content;
|
|
30
|
+
}
|
|
31
|
+
} @else if $point == "desktop" {
|
|
32
|
+
@media screen and (min-width: #{$breakpoint-desktop}) {
|
|
33
|
+
@content;
|
|
34
|
+
}
|
|
35
|
+
} @else {
|
|
36
|
+
@media screen and (max-width: $point) {
|
|
37
|
+
@content;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* display flex
|
|
43
|
+
/* ============================================= */
|
|
44
|
+
@mixin d-flex( $position-x, $position-y, $direction : row, $display : flex ) {
|
|
45
|
+
display: $display;
|
|
46
|
+
justify-content: $position-x;
|
|
47
|
+
align-items: $position-y;
|
|
48
|
+
flex-direction: $direction;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* Font size
|
|
52
|
+
/* ============================================= */
|
|
53
|
+
@function rem-size( $size ) {
|
|
54
|
+
$remSize: math.div($size, 16);
|
|
55
|
+
@return #{$remSize}rem;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// TODO : n'est plus utilisé
|
|
59
|
+
@function rem-size-ratio( $size, $ratio ) {
|
|
60
|
+
@return calc((#{$size} / 16 * 1rem) * #{$ratio});
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@function vw-size( $size ) {
|
|
64
|
+
$ceil-size: math.div(math.div($container, 1px), 1 - math.div($margin-xlarge, 100%) * 2);
|
|
65
|
+
@return calc(#{$size} * 100 / #{$ceil-size} * 1vw);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// Breakpoint large recalcule font-size
|
|
69
|
+
@function clamp-size( $min, $value, $max) {
|
|
70
|
+
$val: vw-size($value);
|
|
71
|
+
@return clamp(#{$min}, #{$val}, #{$max});
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* Hover - TODO
|
|
75
|
+
/* ============================================= */
|
|
76
|
+
@mixin hover {
|
|
77
|
+
|
|
78
|
+
.no-touchevents & {
|
|
79
|
+
&:hover {
|
|
80
|
+
@content;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/* Touch
|
|
86
|
+
/* ============================================= */
|
|
87
|
+
@mixin touch {
|
|
88
|
+
|
|
89
|
+
.touchevents & {
|
|
90
|
+
@content;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/* Clear
|
|
95
|
+
/* ============================================= */
|
|
96
|
+
@mixin clear {
|
|
97
|
+
|
|
98
|
+
&:after {
|
|
99
|
+
content: "";
|
|
100
|
+
display: block;
|
|
101
|
+
clear: both;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Created by IRIS Interactive
|
|
3
|
+
* User : IRIS Interactive
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/* Transition
|
|
7
|
+
/* ============================================= */
|
|
8
|
+
@mixin transition($delay : 0.2s) {
|
|
9
|
+
transition: $delay ease;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/* Hover
|
|
13
|
+
/* ============================================= */
|
|
14
|
+
@mixin animate {
|
|
15
|
+
transform: scale(1.02);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* Ellipsis
|
|
19
|
+
/* ============================================= */
|
|
20
|
+
@mixin ellipsis {
|
|
21
|
+
overflow: hidden;
|
|
22
|
+
text-overflow: ellipsis;
|
|
23
|
+
white-space: nowrap;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
/* Adaptive height block
|
|
28
|
+
/* ============================================= */
|
|
29
|
+
@mixin adaptive-height($padding : 115%, $padding-medium : 0, $padding-small : 0, $padding-xsmall:0) {
|
|
30
|
+
position: relative;
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
|
|
33
|
+
&:after {
|
|
34
|
+
content: "";
|
|
35
|
+
display: block;
|
|
36
|
+
padding-bottom: $padding;
|
|
37
|
+
|
|
38
|
+
@if $padding-medium != 0 {
|
|
39
|
+
@include breakpoint(medium) {
|
|
40
|
+
padding-bottom: $padding-medium;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@if $padding-small != 0 {
|
|
45
|
+
@include breakpoint(small) {
|
|
46
|
+
padding-bottom: $padding-small;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@if $padding-small != 0 {
|
|
51
|
+
@include breakpoint(xsmall) {
|
|
52
|
+
padding-bottom: $padding-xsmall;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// TODO
|
|
58
|
+
img:not(.emoji) {
|
|
59
|
+
margin: 0 auto;
|
|
60
|
+
@include object-fit(absolute);
|
|
61
|
+
@include transition(0.4s);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/* Line clamp
|
|
66
|
+
/* ============================================= */
|
|
67
|
+
@mixin line-clamp($line : 0) {
|
|
68
|
+
display: -webkit-box;
|
|
69
|
+
line-clamp: $line;
|
|
70
|
+
-webkit-line-clamp: $line;
|
|
71
|
+
-webkit-box-orient: vertical;
|
|
72
|
+
overflow: hidden;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* Object fit
|
|
76
|
+
/* ============================================= */
|
|
77
|
+
@mixin object-fit($position : '') {
|
|
78
|
+
width: 100%;
|
|
79
|
+
height: 100%;
|
|
80
|
+
object-fit: cover;
|
|
81
|
+
|
|
82
|
+
@if $position == 'absolute' {
|
|
83
|
+
position: absolute;
|
|
84
|
+
top: 0;
|
|
85
|
+
left: 0;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
/* Linear Gradient
|
|
91
|
+
/* ============================================= */
|
|
92
|
+
@mixin linear-gradient {
|
|
93
|
+
background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* fit-content
|
|
97
|
+
/* ============================================= */
|
|
98
|
+
@mixin fit-content {
|
|
99
|
+
|
|
100
|
+
> *:last-child {
|
|
101
|
+
margin-bottom: 0;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/* stretched-link
|
|
106
|
+
/* ============================================= */
|
|
107
|
+
@mixin stretched-link {
|
|
108
|
+
|
|
109
|
+
&:before {
|
|
110
|
+
position: absolute;
|
|
111
|
+
top: 0;
|
|
112
|
+
right: 0;
|
|
113
|
+
bottom: 0;
|
|
114
|
+
left: 0;
|
|
115
|
+
z-index: 1;
|
|
116
|
+
pointer-events: auto;
|
|
117
|
+
content: "";
|
|
118
|
+
background-color: rgba(0, 0, 0, 0);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/* sr-only
|
|
123
|
+
/* ============================================= */
|
|
124
|
+
@mixin sr-only {
|
|
125
|
+
position: absolute;
|
|
126
|
+
width: 1px;
|
|
127
|
+
height: 1px;
|
|
128
|
+
padding: 0;
|
|
129
|
+
margin: -1px;
|
|
130
|
+
overflow: hidden;
|
|
131
|
+
clip: rect(0, 0, 0, 0);
|
|
132
|
+
border: 0;
|
|
133
|
+
}
|
package/public/styles/style.css
CHANGED
|
@@ -2,10 +2,377 @@
|
|
|
2
2
|
* Created by IRIS Interactive
|
|
3
3
|
* User : IRIS Interactive
|
|
4
4
|
*/
|
|
5
|
+
/* Layout
|
|
6
|
+
/ ================================================== */
|
|
7
|
+
/* Gutter
|
|
8
|
+
/ ================================================== */
|
|
9
|
+
/* Margin
|
|
10
|
+
/ ================================================== */
|
|
11
|
+
/* Margin
|
|
12
|
+
/ ================================================== */
|
|
13
|
+
/* Breakpoint
|
|
14
|
+
/ ================================================== */
|
|
15
|
+
/* Global
|
|
16
|
+
/ ================================================== */
|
|
17
|
+
/* Notifications
|
|
18
|
+
/ ================================================== */
|
|
19
|
+
/* Difficulty
|
|
20
|
+
/ ================================================== */
|
|
21
|
+
/*
|
|
22
|
+
* Created by IRIS Interactive
|
|
23
|
+
* User : IRIS Interactive
|
|
24
|
+
*/
|
|
5
25
|
/* Import
|
|
6
26
|
/* ============================================= */
|
|
7
27
|
/* Fonticon
|
|
8
28
|
/* ============================================= */
|
|
29
|
+
/*
|
|
30
|
+
* Created by IRIS Interactive
|
|
31
|
+
* User : IRIS Interactive
|
|
32
|
+
*/
|
|
33
|
+
/* Main gutter
|
|
34
|
+
/ ================================================== */
|
|
35
|
+
/* display flex
|
|
36
|
+
/* ============================================= */
|
|
37
|
+
/* Font size
|
|
38
|
+
/* ============================================= */
|
|
39
|
+
/* Hover - TODO
|
|
40
|
+
/* ============================================= */
|
|
41
|
+
/* Touch
|
|
42
|
+
/* ============================================= */
|
|
43
|
+
/* Clear
|
|
44
|
+
/* ============================================= */
|
|
45
|
+
/*
|
|
46
|
+
* Created by IRIS Interactive
|
|
47
|
+
* User : IRIS Interactive
|
|
48
|
+
*/
|
|
49
|
+
/* Transition
|
|
50
|
+
/* ============================================= */
|
|
51
|
+
/* Hover
|
|
52
|
+
/* ============================================= */
|
|
53
|
+
/* Ellipsis
|
|
54
|
+
/* ============================================= */
|
|
55
|
+
/* Adaptive height block
|
|
56
|
+
/* ============================================= */
|
|
57
|
+
/* Line clamp
|
|
58
|
+
/* ============================================= */
|
|
59
|
+
/* Object fit
|
|
60
|
+
/* ============================================= */
|
|
61
|
+
/* Linear Gradient
|
|
62
|
+
/* ============================================= */
|
|
63
|
+
/* fit-content
|
|
64
|
+
/* ============================================= */
|
|
65
|
+
/* stretched-link
|
|
66
|
+
/* ============================================= */
|
|
67
|
+
/* sr-only
|
|
68
|
+
/* ============================================= */
|
|
69
|
+
/*
|
|
70
|
+
* Created by IRIS Interactive
|
|
71
|
+
* User : IRIS Interactive
|
|
72
|
+
*/
|
|
73
|
+
*,
|
|
74
|
+
*:after,
|
|
75
|
+
*:before {
|
|
76
|
+
-moz-osx-font-smoothing: grayscale;
|
|
77
|
+
-webkit-font-smoothing: antialiased;
|
|
78
|
+
text-rendering: optimizeLegibility;
|
|
79
|
+
box-sizing: border-box;
|
|
80
|
+
margin: 0;
|
|
81
|
+
padding: 0;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
body {
|
|
85
|
+
background: var(--iris--global--background-color);
|
|
86
|
+
color: var(--iris--global--color);
|
|
87
|
+
font-family: var(--iris--global--font-family);
|
|
88
|
+
line-height: 1.75;
|
|
89
|
+
font-weight: var(--iris--global--font-weight);
|
|
90
|
+
font-size: var(--iris--global--font-size-regular--rem);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/*
|
|
94
|
+
* Created by IRIS Interactive
|
|
95
|
+
* User : IRIS Interactive
|
|
96
|
+
*/
|
|
97
|
+
body.fullscreen .header {
|
|
98
|
+
height: 120px;
|
|
99
|
+
}
|
|
100
|
+
@media screen and (max-width: 1000px) {
|
|
101
|
+
body.fullscreen .header {
|
|
102
|
+
height: 80px;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
body.fullscreen .alignheight {
|
|
106
|
+
height: calc(100vh - 120px);
|
|
107
|
+
}
|
|
108
|
+
@media screen and (max-width: 1000px) {
|
|
109
|
+
body.fullscreen .alignheight {
|
|
110
|
+
height: calc(100vh - 80px);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
body.fullscreen .header .banner,
|
|
114
|
+
body.fullscreen .footer,
|
|
115
|
+
body.fullscreen .prefooter {
|
|
116
|
+
display: none;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/* Margin section
|
|
120
|
+
/ ================================================== */
|
|
121
|
+
.section {
|
|
122
|
+
position: relative;
|
|
123
|
+
margin-top: 100px;
|
|
124
|
+
margin-bottom: 60px;
|
|
125
|
+
}
|
|
126
|
+
@media screen and (max-width: 1000px) {
|
|
127
|
+
.section {
|
|
128
|
+
margin-top: 40px;
|
|
129
|
+
margin-bottom: 40px;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
.fullscreen .section {
|
|
133
|
+
margin-top: 0;
|
|
134
|
+
margin-bottom: 0;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.section-tools {
|
|
138
|
+
position: absolute;
|
|
139
|
+
z-index: 1;
|
|
140
|
+
top: 0;
|
|
141
|
+
left: 0;
|
|
142
|
+
margin-left: 30px;
|
|
143
|
+
}
|
|
144
|
+
@media screen and (max-width: 1452.380952381px) {
|
|
145
|
+
.section-tools {
|
|
146
|
+
display: none;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.section-tools__item {
|
|
151
|
+
display: flex;
|
|
152
|
+
justify-content: center;
|
|
153
|
+
align-items: center;
|
|
154
|
+
flex-direction: column;
|
|
155
|
+
margin-bottom: 20px;
|
|
156
|
+
}
|
|
157
|
+
@media screen and (max-width: 1452.380952381px) {
|
|
158
|
+
.section-tools__item {
|
|
159
|
+
font-size: var(--iris--global--font-size-small);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
@media screen and (max-width: 1000px) {
|
|
163
|
+
.section-tools__item {
|
|
164
|
+
display: flex;
|
|
165
|
+
justify-content: center;
|
|
166
|
+
align-items: center;
|
|
167
|
+
flex-direction: row;
|
|
168
|
+
}
|
|
169
|
+
.section-tools__item > * {
|
|
170
|
+
margin: 0 3px;
|
|
171
|
+
}
|
|
172
|
+
.section-tools__item > *:first-child {
|
|
173
|
+
margin-left: 0;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
@media screen and (max-width: 650px) {
|
|
177
|
+
.section-tools__item {
|
|
178
|
+
margin: 0 20px;
|
|
179
|
+
display: flex;
|
|
180
|
+
justify-content: flex-start;
|
|
181
|
+
align-items: center;
|
|
182
|
+
flex-direction: row;
|
|
183
|
+
width: calc(100% - 20px * 2);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
@media screen and (max-width: 370px) {
|
|
187
|
+
.section-tools__item {
|
|
188
|
+
margin: 0 20px;
|
|
189
|
+
width: calc(100% - 20px * 2);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/* Width element
|
|
194
|
+
/ ================================================== */
|
|
195
|
+
.article > *:not(.alignwide):not(.alignfull) {
|
|
196
|
+
max-width: 800px;
|
|
197
|
+
margin-left: auto;
|
|
198
|
+
margin-right: auto;
|
|
199
|
+
}
|
|
200
|
+
@media screen and (max-width: 1452.380952381px) {
|
|
201
|
+
.article > *:not(.alignfull) {
|
|
202
|
+
width: calc(100% - 8% * 2);
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
@media screen and (max-width: 1000px) {
|
|
206
|
+
.article > *:not(.alignfull) {
|
|
207
|
+
width: calc(100% - 60px * 2);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
@media screen and (max-width: 650px) {
|
|
211
|
+
.article > *:not(.alignfull) {
|
|
212
|
+
width: calc(100% - 20px * 2);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
@media screen and (max-width: 370px) {
|
|
216
|
+
.article > *:not(.alignfull) {
|
|
217
|
+
width: calc(100% - 20px * 2);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.alignwide {
|
|
222
|
+
max-width: 1220px;
|
|
223
|
+
margin: 0 auto;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.alignheight {
|
|
227
|
+
height: 100vh;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.full-width {
|
|
231
|
+
margin-left: calc(50% - 50vw);
|
|
232
|
+
margin-right: calc(50% - 50vw);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
/* Margin element
|
|
236
|
+
/ ================================================== */
|
|
237
|
+
.hentry > h1,
|
|
238
|
+
.hentry > h2,
|
|
239
|
+
.hentry > h3,
|
|
240
|
+
.hentry > h4,
|
|
241
|
+
.hentry > h5,
|
|
242
|
+
.hentry > h6 {
|
|
243
|
+
margin-top: 80px;
|
|
244
|
+
margin-bottom: 20px;
|
|
245
|
+
}
|
|
246
|
+
@media screen and (max-width: 650px) {
|
|
247
|
+
.hentry > h1,
|
|
248
|
+
.hentry > h2,
|
|
249
|
+
.hentry > h3,
|
|
250
|
+
.hentry > h4,
|
|
251
|
+
.hentry > h5,
|
|
252
|
+
.hentry > h6 {
|
|
253
|
+
margin-top: 60px;
|
|
254
|
+
margin-bottom: 20px;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
.hentry ul:not(.not-list-style),
|
|
258
|
+
.hentry ol:not(.not-list-style),
|
|
259
|
+
.hentry p {
|
|
260
|
+
margin-bottom: 20px;
|
|
261
|
+
}
|
|
262
|
+
.hentry > *[class] {
|
|
263
|
+
margin-top: 80px;
|
|
264
|
+
margin-bottom: 80px;
|
|
265
|
+
}
|
|
266
|
+
@media screen and (max-width: 650px) {
|
|
267
|
+
.hentry > *[class] {
|
|
268
|
+
margin-top: 30px;
|
|
269
|
+
margin-bottom: 30px;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
/* TODO
|
|
274
|
+
/ ================================================== */
|
|
275
|
+
/*
|
|
276
|
+
* Created by IRIS Interactive
|
|
277
|
+
* User : IRIS Interactive
|
|
278
|
+
*/
|
|
279
|
+
/* Utils classes
|
|
280
|
+
/* ============================================= */
|
|
281
|
+
.stretched-link:before {
|
|
282
|
+
position: absolute;
|
|
283
|
+
top: 0;
|
|
284
|
+
right: 0;
|
|
285
|
+
bottom: 0;
|
|
286
|
+
left: 0;
|
|
287
|
+
z-index: 1;
|
|
288
|
+
pointer-events: auto;
|
|
289
|
+
content: "";
|
|
290
|
+
background-color: rgba(0, 0, 0, 0);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/* ============================================= */
|
|
294
|
+
.list-flex {
|
|
295
|
+
display: flex;
|
|
296
|
+
flex-wrap: wrap;
|
|
297
|
+
margin-bottom: 0;
|
|
298
|
+
}
|
|
299
|
+
.list-flex > * {
|
|
300
|
+
list-style-type: none;
|
|
301
|
+
margin: 0 10px 10px 0;
|
|
302
|
+
}
|
|
303
|
+
.list-flex > *:last-child {
|
|
304
|
+
margin-right: 0;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
/* Animations
|
|
308
|
+
/* ============================================= */
|
|
309
|
+
@-webkit-keyframes loader {
|
|
310
|
+
100% {
|
|
311
|
+
transform: rotate(360deg);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
@keyframes loader {
|
|
315
|
+
100% {
|
|
316
|
+
transform: rotate(360deg);
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
/* Sr-only
|
|
320
|
+
/* ============================================= */
|
|
321
|
+
.sr-only {
|
|
322
|
+
clip: rect(0, 0, 0, 0);
|
|
323
|
+
border-width: 0;
|
|
324
|
+
height: 1px;
|
|
325
|
+
margin: -1px;
|
|
326
|
+
overflow: hidden;
|
|
327
|
+
padding: 0;
|
|
328
|
+
position: absolute;
|
|
329
|
+
white-space: nowrap;
|
|
330
|
+
width: 1px;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
/* Text with icon before
|
|
334
|
+
/* ============================================= */
|
|
335
|
+
.text-icon {
|
|
336
|
+
display: inline-flex;
|
|
337
|
+
align-items: center;
|
|
338
|
+
}
|
|
339
|
+
.text-icon:before {
|
|
340
|
+
margin-right: 5px;
|
|
341
|
+
}
|
|
342
|
+
.text-icon:after {
|
|
343
|
+
margin-left: 5px;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
/* Block with img animated on hover
|
|
347
|
+
/* ============================================= */
|
|
348
|
+
.hover-item img {
|
|
349
|
+
transition: 0.2s ease;
|
|
350
|
+
will-change: transform;
|
|
351
|
+
}
|
|
352
|
+
.hover-item:hover img {
|
|
353
|
+
transform: scale(1.02);
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
/* Masquer un element
|
|
357
|
+
/* ============================================= */
|
|
358
|
+
.hide {
|
|
359
|
+
display: none;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
/* Opening
|
|
363
|
+
/* ============================================= */
|
|
364
|
+
.is-opened {
|
|
365
|
+
color: #009e55;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.soon-closed {
|
|
369
|
+
color: #ff890e;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.is-closed {
|
|
373
|
+
color: #f33;
|
|
374
|
+
}
|
|
375
|
+
|
|
9
376
|
@font-face {
|
|
10
377
|
font-family: "etourisme-font";
|
|
11
378
|
font-weight: normal;
|
|
@@ -15,6 +382,7 @@
|
|
|
15
382
|
}
|
|
16
383
|
.ei:before,
|
|
17
384
|
.ei:after {
|
|
385
|
+
color: var(--iris--icon--color);
|
|
18
386
|
display: inline-block;
|
|
19
387
|
vertical-align: middle;
|
|
20
388
|
font-family: "etourisme-font", sans-serif;
|
|
@@ -234,6 +602,7 @@
|
|
|
234
602
|
}
|
|
235
603
|
.fi:before,
|
|
236
604
|
.fi:after {
|
|
605
|
+
color: var(--iris--icon--color);
|
|
237
606
|
display: inline-block;
|
|
238
607
|
vertical-align: middle;
|
|
239
608
|
font-family: "theme-font", sans-serif;
|