|
1 |
%title {
|
|
2 |
@extend %title;
|
|
3 |
text-align: center;
|
|
4 |
}
|
|
5 |
|
|
6 |
%big-title {
|
|
7 |
@extend %title;
|
|
8 |
background-color: transparent;
|
|
9 |
color: $font-color;
|
|
10 |
padding: 0;
|
|
11 |
font-size: 2em;
|
|
12 |
text-align: left;
|
|
13 |
}
|
|
14 |
|
|
15 |
%title-secondary {
|
|
16 |
@extend %title;
|
|
17 |
display: flex;
|
|
18 |
background-color: transparent;
|
|
19 |
color: $font-color;
|
|
20 |
text-align: left;
|
|
21 |
border-bottom: 4px solid $orange;
|
|
22 |
padding: 0;
|
|
23 |
margin-bottom: 1rem;
|
|
24 |
|
|
25 |
&::after {
|
|
26 |
content: "";
|
|
27 |
display: block;
|
|
28 |
height: 4px;
|
|
29 |
background-color: #2d2d2d;
|
|
30 |
flex-grow: 1;
|
|
31 |
align-self: flex-end;
|
|
32 |
position: relative;
|
|
33 |
top: 4px;
|
|
34 |
}
|
|
35 |
}
|
|
36 |
|
|
37 |
%title-secondary-white {
|
|
38 |
@extend %title-secondary;
|
|
39 |
color: white;
|
|
40 |
border-color: $primary-color;
|
|
41 |
&::after {
|
|
42 |
background-color: $font-color;
|
|
43 |
}
|
|
44 |
}
|
|
45 |
|
|
46 |
%cancel-button {
|
|
47 |
@extend %cancel-button;
|
|
48 |
border: 1px solid currentColor;
|
|
49 |
color: $primary-color;
|
|
50 |
background-color: hsla(0, 0%, 100%, 0.6);
|
|
51 |
|
|
52 |
&:hover {
|
|
53 |
color: $dark-desaturated-blue;
|
|
54 |
background-color: white;
|
|
55 |
}
|
|
56 |
}
|
|
57 |
|
|
58 |
|
|
59 |
// typo
|
|
60 |
a:hover {
|
|
61 |
color: black;
|
|
62 |
background-color: $sldv-links-background-color;
|
|
63 |
}
|
|
64 |
|
|
65 |
|
|
66 |
#main-content {
|
|
67 |
background-color: $sldv-main-color;
|
|
68 |
@media (min-width: $mobile-limit + 1) {
|
|
69 |
padding: 20px;
|
|
70 |
}
|
|
71 |
}
|
|
72 |
|
|
73 |
// Page shadow
|
|
74 |
#page {
|
|
75 |
position: relative;
|
|
76 |
z-index: 1;
|
|
77 |
&::after {
|
|
78 |
content: "";
|
|
79 |
display: block;
|
|
80 |
height: 100vh;
|
|
81 |
width: $width;
|
|
82 |
max-width: 100%;
|
|
83 |
position: fixed;
|
|
84 |
box-shadow: 0 0 10px #7777774d;
|
|
85 |
z-index: -1;
|
|
86 |
|
|
87 |
@media (min-width: $width + 1) {
|
|
88 |
left: calc( 50% - #{$width / 2});
|
|
89 |
}
|
|
90 |
}
|
|
91 |
}
|
|
92 |
|
|
93 |
|
|
94 |
div#header {
|
|
95 |
font-family: $title-font-family;
|
|
96 |
background-image: url(img/bg-header.jpg);
|
|
97 |
background-position: center center;
|
|
98 |
background-size: cover;
|
|
99 |
padding: 0.7em;
|
|
100 |
// keep free for top-links
|
|
101 |
padding-top: 2rem;
|
|
102 |
|
|
103 |
#logo {
|
|
104 |
width: 420px;
|
|
105 |
max-width: 100%;
|
|
106 |
|
|
107 |
a {
|
|
108 |
display: block;
|
|
109 |
font-weight: 400;
|
|
110 |
color: #222;
|
|
111 |
font-size: 0.8em;
|
|
112 |
text-align: right;
|
|
113 |
padding: .3em;
|
|
114 |
padding-top: 20%;
|
|
115 |
// logo on top, white block on bottom
|
|
116 |
background-image: url(img/logo-sldv420x80.png), linear-gradient(to top, hsla(0,100%,100%,.6) 80%, transparent);
|
|
117 |
background-position: top center, center bottom;
|
|
118 |
background-repeat: no-repeat;
|
|
119 |
background-size: 100%, 100% 1.5em
|
|
120 |
}
|
|
121 |
}
|
|
122 |
}
|
|
123 |
|
|
124 |
div.gru-nav {
|
|
125 |
font-family: $title-font-family;
|
|
126 |
font-weight: 300;
|
|
127 |
|
|
128 |
@media (max-width: $mobile-limit) {
|
|
129 |
&-wrapper {
|
|
130 |
margin-top: -50px;
|
|
131 |
}
|
|
132 |
}
|
|
133 |
ul {
|
|
134 |
margin: 0;
|
|
135 |
li a {
|
|
136 |
font-weight: normal;
|
|
137 |
text-transform: uppercase;
|
|
138 |
}
|
|
139 |
}
|
|
140 |
}
|
|
141 |
|
|
142 |
body.has-picture nav::after {
|
|
143 |
position: static;
|
|
144 |
width: $width;
|
|
145 |
max-width: 100%;
|
|
146 |
margin: auto;
|
|
147 |
background-clip: content-box;
|
|
148 |
border: 0.7em solid $sldv-main-color;
|
|
149 |
@media (min-width: $mobile-limit + 1 ) {
|
|
150 |
border-width: 20px;
|
|
151 |
}
|
|
152 |
}
|
|
153 |
|
|
154 |
// pwa nav
|
|
155 |
.pwa-navigation {
|
|
156 |
box-shadow: 0 0 10px $primary-color;
|
|
157 |
font-family: $title-font-family;
|
|
158 |
text-transform: uppercase;
|
|
159 |
|
|
160 |
div > ul li a {
|
|
161 |
background-color: $primary-color;
|
|
162 |
background-clip: padding-box;
|
|
163 |
border: 1px solid transparent;
|
|
164 |
border-width: 0 1px;
|
|
165 |
|
|
166 |
span {
|
|
167 |
font-size: 12px;
|
|
168 |
}
|
|
169 |
}
|
|
170 |
}
|
|
171 |
|
|
172 |
|
|
173 |
// Cells in sidebar
|
|
174 |
#sidebar, #gauche, .authentic-page .gru-content {
|
|
175 |
// Cells titles
|
|
176 |
div#tracking-code h3,
|
|
177 |
div.links-list h2,
|
|
178 |
div.textcell h2:first-child,
|
|
179 |
div.cell h2:first-child,
|
|
180 |
div.block h2,
|
|
181 |
div.a2-block h2 {
|
|
182 |
@extend %title-secondary;
|
|
183 |
}
|
|
184 |
// Cells background {
|
|
185 |
div.cell,
|
|
186 |
div.block,
|
|
187 |
.a2-block {
|
|
188 |
background-color: transparent;
|
|
189 |
border: none;
|
|
190 |
margin-bottom: 1.5rem;
|
|
191 |
margin-top: 1.5rem;
|
|
192 |
|
|
193 |
h2:first-child ~ *:not(link) {
|
|
194 |
background-color: $cell-background;
|
|
195 |
border: $cell-border;
|
|
196 |
border-radius: $cell-border-radius;
|
|
197 |
margin: 0;
|
|
198 |
padding: .7rem;
|
|
199 |
display: block;
|
|
200 |
|
|
201 |
& + * {
|
|
202 |
border-top: 0;
|
|
203 |
margin-top: -1px;
|
|
204 |
}
|
|
205 |
}
|
|
206 |
}
|
|
207 |
}
|
|
208 |
|
|
209 |
|
|
210 |
|
|
211 |
// Don't overlaid link text & key icon
|
|
212 |
li.required-authentication a {
|
|
213 |
padding-right: 1.7em !important
|
|
214 |
}
|
|
215 |
|
|
216 |
// Patch bg-color issue
|
|
217 |
div#rub_service,
|
|
218 |
ul#evolutions div.evolution-metadata,
|
|
219 |
ul#evolutions li div.msg {
|
|
220 |
background: $sldv-main-color;
|
|
221 |
}
|
|
222 |
ul#evolutions li span.item {
|
|
223 |
box-shadow: 0 0 0px 5px $sldv-main-color;
|
|
224 |
}
|
|
225 |
|
|
226 |
div#rub_service h2 {
|
|
227 |
@extend %big-title;
|
|
228 |
}
|
|
229 |
|
|
230 |
div#tracking-code a {
|
|
231 |
padding: 0 !important;
|
|
232 |
}
|
|
233 |
.wcs-steps {
|
|
234 |
font-family: $title-font-family;
|
|
235 |
}
|
|
236 |
|
|
237 |
|
|
238 |
#footer-wrapper {
|
|
239 |
background-color: transparent;
|
|
240 |
padding: 0;
|
|
241 |
margin: 0;
|
|
242 |
}
|
|
243 |
#footer {
|
|
244 |
background-color: $footer-background;
|
|
245 |
padding: 0.7em;
|
|
246 |
// add simple clearfix
|
|
247 |
overflow: hidden;
|
|
248 |
|
|
249 |
@media (min-width: $mobile-limit + 1) {
|
|
250 |
padding: 20px;
|
|
251 |
}
|
|
252 |
|
|
253 |
}
|
|
254 |
|
|
255 |
// Cells in footer
|
|
256 |
#footer {
|
|
257 |
|
|
258 |
a {
|
|
259 |
color: #aaa;
|
|
260 |
&:hover {
|
|
261 |
color: white;
|
|
262 |
background-color: black;
|
|
263 |
}
|
|
264 |
}
|
|
265 |
// Cells titles
|
|
266 |
div.links-list h2,
|
|
267 |
div.textcell h2:first-child,
|
|
268 |
div.cell h2:first-child {
|
|
269 |
@extend %title-secondary-white;
|
|
270 |
}
|
|
271 |
// Footer Links-list
|
|
272 |
div.links-list ul {
|
|
273 |
& > li > a {
|
|
274 |
border-bottom: 1px solid black;
|
|
275 |
padding: .5em 0;
|
|
276 |
transition: color 0.4s;
|
|
277 |
}
|
|
278 |
}
|
|
279 |
}
|