Project

General

Profile

1 57592 stefania.m
html {
2
    background: @site_background;
3
}
4
body {
5
    .md_font(400, 15px, 1.42857143);
6
    box-sizing: border-box;
7
    overflow-x: hidden;
8
}
9
10
/*html, body {
11
    height: 100%;
12
}*/
13
14
a, button {
15
    outline: none !important;
16
}
17
18
a {
19
    color: @md-color-blue-600;
20
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
21
    &:hover,
22
    &:active {
23
        color: @md-color-blue-900;
24
        text-decoration: none;
25
    }
26
}
27
28
.uk-text-upper {
29
    text-transform: uppercase;
30
}
31
32
.animate > * {
33
    visibility: hidden;
34
}
35
36
.animated {
37
    visibility: visible;
38
}
39
40
[class*=uk-animation-] {
41
    animation-timing-function: @md_easing;
42
    animation-duration: 840ms;
43
}
44
45
.heading {
46
    &_a {
47
        margin: 0;
48
        .md_font(300,42px,48px);
49
        .sub-heading {
50
            font-weight: 300;
51
            font-size: 24px;
52
            line-height: 30px;
53
            display: block;
54
            padding-top: 10px;
55
        }
56
        @media @screen_large_max {
57
            .md_font(300,32px,36px);
58
            .sub-heading {
59
                font-size: 20px;
60
                line-height: 24px;
61
            }
62
        }
63
    }
64
    &_b {
65
        margin: 0;
66
        .md_font(300,32px,36px);
67
        .sub-heading {
68
            font-weight: 300;
69
            font-size: 20px;
70
            line-height: 26px;
71
            display: block;
72
            padding-top: 10px;
73
        }
74
        @media @screen_large_max {
75
            .md_font(300,28px,32px);
76
            .sub-heading {
77
                font-size: 18px;
78
                line-height: 22px;
79
            }
80
        }
81
    }
82
    &_c {
83
        margin: 0;
84
        .md_font(400,24px,28px);
85
        .sub-heading {
86
            font-weight: 300;
87
            font-size: 18px;
88
            line-height: 20px;
89
            display: block;
90
            padding-top: 10px;
91
        }
92
        @media @screen_large_max {
93
            .md_font(300,22px,25px);
94
            .sub-heading {
95
                font-size: 16px;
96
                line-height: 20px;
97
            }
98
        }
99
    }
100
    &_a,
101
    &_b,
102
    &_c {
103
        + .uk-grid {
104
            margin-top: 24px;
105
        }
106
        .material-icons {
107
            vertical-align: middle;
108
        }
109
    }
110
    &_light {
111
        &,
112
        .sub-heading {
113
            color: @white;
114
        }
115
    }
116
117
}
118
119
// icons
120
.icon {
121
    &_large {
122
        font-size: 64px;
123
        @media @screen_large_max {
124
            font-size: 48px;
125
        }
126
    }
127
    &_dark {
128
        color: @text_secondary_color;
129
    }
130
}
131
132
// header
133
#header_main {
134
    transition: all 280ms @md_easing;
135
    position: relative;
136
    z-index: 10;
137
    .uk-navbar {
138
        background: @white;
139
        &-nav {
140
            > li {
141
                > a {
142
                    color: @text_secondary_color;
143
                    text-transform: uppercase;
144
                    font-size: 14px;
145
                    .md_font_family();
146
                    font-weight: 500;
147
                    box-shadow: inset 0 -4px 0 rgba(255,255,255,0);
148
                    background: none !important;
149
                    transition: all 280ms @md_easing;
150
                    &:hover,
151
                    &:active {
152
                        color: @text_secondary_color;
153
                    }
154
                }
155
                &.current_active {
156
                    a {
157
                        box-shadow: inset 0 -4px 0 @accent_color;
158
                    }
159
                }
160
            }
161
        }
162
    }
163
    &.header-light {
164
        background: @white;
165
    }
166
    .header_cta {
167
        margin-top: 14px;
168
        @media @screen_large_max {
169
            margin-top: 6px;
170
        }
171
    }
172
}
173
#mobile_navigation_toggle {
174
    display: none;
175
}
176
#mobile_navigation {
177
    .uk-offcanvas-bar {
178
        background: @white;
179
        .md-box-shadow-right();
180
        transition: transform 280ms @md_easing;
181
        &:after {
182
            display: none;
183
184
        }
185
        ul {
186
            .reset_list(32px 0 0 0,0);
187
            li {
188
                a {
189
                    display: block;
190
                    font-size: 16px;
191
                    font-weight: 500;
192
                    line-height: 25px;
193
                    padding: 8px 20px;
194
                    color: @text_primary_color;
195
                    small {
196
                        font-size: 12px;
197
                        color: @text_secondary_color;
198
                        display: block;
199
                        margin-top: -2px;
200
                    }
201
                    .menu_icon {
202
                        width: 48px;
203
                        text-align: left;
204
                        display: inline-block;
205
                        color: @text_secondary_color;
206
                        float: left;
207
                        .material-icons {
208
                            font-size: 24px;
209
                            vertical-align: top;
210
                        }
211
                    }
212
                    .menu_title {
213
                        display: block;
214
                        overflow: hidden;
215
                    }
216
                }
217
            }
218
        }
219
    }
220
}
221
.uk-offcanvas-page {
222
    transition: margin 280ms @md_easing;
223
}
224
225
.header_sticky {
226
    padding-top: @header_main_height;
227
    @media @screen_large_max {
228
        padding-top: @header_main_mobile_height;
229
    }
230
    #header_main {
231
        position: fixed;
232
        top: 0;
233
        left: 0;
234
        right: 0;
235
        z-index: 1000;
236
    }
237
}
238
.header_shadow {
239
    #header_main {
240
        box-shadow: 0 2px 6px rgba(0,0,0,0.25);
241
    }
242
}
243
244
// top banner (slideshow)
245
.banner {
246
    color: @white;
247
    position: relative;
248
    .uk-slideshow {
249
        &,
250
        > li {
251
            height: 640px;
252
        }
253
        > li {
254
            background-size: 100% auto;
255
            background-position: center center;
256
            background-repeat: no-repeat;
257
            .slide {
258
                &_content_a {
259
                    margin: 160px 0 0 640px;
260
                }
261
                &_content_b {
262
                    margin: 320px 0 0 0;
263
                    background: rgba(0,0,0,.4);
264
                    padding: 24px;
265
                }
266
                &_content_c {
267
                    margin: 120px 540px 0 0;
268
                    .slide_header,
269
                    p {
270
                        color: @text_primary_color;
271
                    }
272
                }
273
                &_header {
274
                    color: @white;
275
                    .md_font(400,38px,42px);
276
                    margin: 0 0 18px;
277
                }
278
            }
279
            p {
280
                margin: 0;
281
                font-size: 20px;
282
                font-weight: 300;
283
                + * {
284
                   margin-top: 32px;
285
                }
286
            }
287
        }
288
    }
289
    .slide_navigation {
290
        display: none;
291
    }
292
    &:hover {
293
        .slide_navigation {
294
            display: block;
295
        }
296
    }
297
}
298
.uk-touch {
299
    .slide_navigation {
300
        display: block !important;
301
    }
302
}
303
.uk-slidenav {
304
    position: absolute;
305
    top: 50%;
306
    margin-top: -30px;
307
    color: @white !important;
308
    background: rgba(0,0,0,.2);
309
    border-radius: 12px;
310
    font-size: 48px;
311
    transition: all 280ms @md_easing;
312
    &-previous {
313
        left: 16px;
314
        &:before {
315
            position: relative;
316
            left: -2px;
317
            top: -2px;
318
        }
319
    }
320
    &-next {
321
        right: 16px;
322
        &:before {
323
            position: relative;
324
            right: -2px;
325
            top: -2px;
326
        }
327
    }
328
    &:active,
329
    &:hover {
330
        background: rgba(0,0,0,.6);
331
        border-radius: 50%;
332
    }
333
}
334
.uk-dotnav {
335
    > li {
336
        border: 2px solid rgba(255,255,255,.8);
337
        padding: 2px;
338
        margin-right: 6px;
339
        border-radius: 50%;
340
        &.uk-active {
341
            border-color: @white;
342
            > a {
343
                background: @accent_color;
344
            }
345
        }
346
        > a {
347
            margin: 0;
348
            width: 14px;
349
            height: 14px;
350
        }
351
    }
352
}
353
354
// sections
355
.section {
356
    padding: 48px 0;
357
    position: relative;
358
    &_large {
359
        padding: 64px 0;
360
    }
361
    &_dark {
362
        color: @white;
363
    }
364
    &_gallery {
365
        position: relative;
366
        .slide_navigation {
367
            display: none;
368
        }
369
        &:hover {
370
            .slide_navigation {
371
                display: block;
372
            }
373
        }
374
    }
375
}
376
377
// uikit
378
[class*=uk-width].uk-container-center {
379
    float: none;
380
}
381
382
// media queries
383
@media @screen_xlarge_max {
384
    .banner {
385
        .uk-slideshow {
386
            &,
387
            > li {
388
                height: auto;
389
                min-height: 360px;
390
            }
391
            > li {
392
                .slide {
393
                    &_content_a,
394
                    &_content_b,
395
                    &_content_c {
396
                        margin: 0;
397
                        position: absolute;
398
                        left: 0;
399
                        right: 0;
400
                        top: 0;
401
                        bottom: 0;
402
                        background: rgba(0,0,0,.4);
403
                        padding: 48px 48px 0;
404
                        text-align: center;
405
                    }
406
                    &_header {
407
                        margin-bottom: 20px;
408
                        color: @white !important;
409
                    }
410
                }
411
                p {
412
                    font-size: 20px;
413
                    color: @white !important;
414
                    + * {
415
                        margin-top: 24px;
416
                    }
417
                }
418
            }
419
        }
420
    }
421
}
422
@media @screen_large_max {
423
    #header_main {
424
        height: @header_main_mobile_height;
425
        .uk-navbar-brand {
426
            line-height: 48px;
427
            padding: 0;
428
        }
429
    }
430
    #main_navigation {
431
        display: none;
432
        .uk-navbar {
433
            &-nav {
434
435
            }
436
        }
437
    }
438
    #mobile_navigation_toggle {
439
        padding: 12px 4px 10px;
440
        display: inline-block;
441
        i {
442
            font-size: 24px;
443
        }
444
    }
445
}
446
@media @screen_medium_max {
447
    .banner {
448
        .uk-slideshow {
449
            > li {
450
                background-size: auto 100%;
451
                .slide {
452
                    &_content_a,
453
                    &_content_b,
454
                    &_content_c {
455
                        margin: 0;
456
                        position: absolute;
457
                        left: 0;
458
                        right: 0;
459
                        top: 0;
460
                        bottom: 0;
461
                        background: rgba(0,0,0,.4);
462
                        padding: 24px 12px;
463
                        text-align: center;
464
                    }
465
                    &_header {
466
                        .md_font(400,24px,28px);
467
                        margin-bottom: 6px;
468
                        color: @white !important;
469
                    }
470
                }
471
                p {
472
                    font-size: 15px;
473
                    color: @white !important;
474
                    + * {
475
                        margin-top: 24px;
476
                    }
477
                }
478
            }
479
        }
480
    }
481
    .uk-container {
482
        padding-left: 15px;
483
        padding-right: 15px;
484
    }
485
}