base.scss 8.87 KB
Newer Older
1
2
3
4
5
6
7
8
9
html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 80px;
}

10
#accentbar {
11
12
    position: -webkit-sticky;
    position: sticky;
13
14
    background: $preset;
    height: 5px;
15
    top: 0;
16
    z-index: 1020;
17
18
19
}

.navbar {
20
21
    position: -webkit-sticky;
    position: sticky;
22
23
    font-size: 16px;
    background-color: $white;
24
    border-bottom: 1px solid $grey;
25
    top: 5px;
26
27
    z-index: 1020;

28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83

    > .container {
        justify-content: end;
    }

    .navbar-brand {
        padding-top: .625rem;
        padding-bottom: .625rem;

        img {
            max-height: 5rem;
        }
    }

    .navbar-nav {
        .nav-item {
            .nav-link {
                color: $black;
                font-family: $header-font;
                text-transform: uppercase;
            }

            &.active, &:hover {
                .nav-link {
                    color: $preset;
                }
            }
        }

        .dropdown {
            .dropdown-menu {
                margin: 0;

                .dropdown-item {
                    font-family: $header-font;
                    text-transform: uppercase;
                }
            }
        }
    }

    .navbar-user {
        #language-switcher {
            display: flex;
            img {
                width: 20px;
                align-self: center;
            }
        }

        .dropdown-menu {
            left: -90px;
        }
    }
}

84
85
86
87
88
89
90
91
92
93
.table-clickable {
    tbody tr {
        &:hover {
            cursor: pointer;
            color: $preset;
            background-color: $light-grey;
        }
    }
}

94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
@media(min-width: 992px) {
    .navbar {
        .navbar-nav {
            .dropdown {
                &:hover {
                    > .dropdown-menu {
                        display: block;
                    }
                }

                > .dropdown-toggle {
                    &:active {
                        pointer-events: none;
                    }
                }
            }
        }
    }
}

114
@media(max-width: 1199px) {
115
116
117
118
119
120
121
122
123
    .navbar {
        .navbar-brand {
            img {
                max-height: 4rem;
            }
        }
    }
}

124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
@media(max-width: 767px) {
    #accentbar, .navbar {
        position: relative;
        top: 0;
    }
}

@media(max-width: 359px) {
    .navbar {
        .navbar-brand {
            img {
                max-height: 3rem;
            }
        }
    }
}

141
#page-header {
142
    height: 200px;
143
144

    .image {
145
        width: 100%;
146
        height: 100%;
147
        object-fit: cover;
148
149
150
    }
}

151
152
153
154
155
156
.home {
    #page-header {
        height: 360px;
    }
}

157
158
159
160
161
162
163
164
@media(max-width: 1023px) {
    #page-header {
        height: 170px;
    }
}

#page-content {
    padding: 1rem 0 4rem 0;
165
    border-top: 1px solid $grey;
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185

    .page-section {
        padding: 2rem 1rem 0 1rem;

        h1.section-title {
            position: relative;
            margin-bottom: 1.5rem;
            border-top: solid 1px $grey;
            padding: 20px 0 0;

            &::before {
                background: $preset;
                content: '';
                position: absolute;
                left: 50%;
                margin-left: -40px;
                height: 5px;
                width: 80px;
                top: -1px;
            }
186
187
188
189
190
191
192
193
194
195
196
197
198

            .btn {
                position: absolute;
                top: 15px;

                &.btn-first {
                    right: 0;
                }

                &.btn-second {
                    right: 50px
                }
            }
199
200
201
202
203
        }
    }
}

footer {
204
    position: absolute;
205
206
207
208
209
210
    background: $preset;
    overflow: hidden;
    font-size: 14px;
    color: $white;
    padding: 25px 0;
    margin: 0;
211
212
213
    bottom: 0;
    width: 100%;
    height: 80px;
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285

    .divider {
        margin-left: .7rem;
    }

    a {
        color: $white;
        margin-left: .7rem;

        &:hover {
            color: $grey;
        }
    }

    .social a {
        font-size: 1.2rem;
    }
}

.dropdown-menu {
    border-top-left-radius: 0;
    border-top-right-radius: 0;

    .dropdown-item {
        padding: 0.5rem 1.5rem;
        font-size: .8rem;

        &:hover, &:active, &.active {
            background-color: $preset;
            color: $white;
        }
    }
}

img {
    max-width: 100%;
}

.grid-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;

    .ribbon-wrapper {
        width: 120px;
        height: 110px;
        overflow: hidden;
        position: absolute;
        top: -3px;
        right: -3px;

        .ribbon {
            color: white;
            text-align: center;
            -webkit-transform: rotate(45deg);
            -moz-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
            -o-transform: rotate(45deg);
            position: relative;
            padding: 5px 0;
            left: -5px;
            top: 28px;
            width: 170px;
            background-color: $preset;
        }
    }

    .image {
        position: absolute;
        width: 100%;
        height: 100%;

286
287
288
289
        display: flex;
        align-items: center;
        text-align: center;

290
291
292
293
294
        img {
            width: auto;
            height: auto;
            max-width: 100%;
            max-height: 100%;
295
296
297
298
299

            transition: all 300ms ease-in-out 0s;
            -moz-transition: all 300ms ease-in-out 0s;
            -webkit-transition: all 300ms ease-in-out 0s;
            -o-transition: all 300ms ease-in-out 0s;
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
        }
    }

    .overlay {
        position: absolute;
        opacity: 0;
        background-color: rgba($preset, .7);
        transition: all 300ms ease-in-out 0s;
        -moz-transition: all 300ms ease-in-out 0s;
        -webkit-transition: all 300ms ease-in-out 0s;
        -o-transition: all 300ms ease-in-out 0s;
        width: 100%;
        height: 100%;

        h5, p {
            color: $white;
            -webkit-transform: translateY(-50px);
        }

        h5 {
            transform: translateY(-50px);
            transition: all 300ms ease-in-out 0s;
            -moz-transition: all 300ms ease-in-out 0s;
            -webkit-transition: all 300ms ease-in-out 0s;
            -o-transition: all 300ms ease-in-out 0s;
325
326
            margin-bottom: 0;
            padding-bottom: 0.5rem;
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
        }

        p {
            transform: translateY(-50px);
            transition: all 300ms ease-in-out 0s;
            -moz-transition: all 300ms ease-in-out 0s;
            -webkit-transition: all 300ms ease-in-out 0s;
            -o-transition: all 300ms ease-in-out 0s;
            margin-bottom: 0;
        }
    }

    .name {
        position: absolute;
        bottom: 0;
        width: 100%;

        padding: 2rem 1.5rem 1rem 1.5rem;

        transition: all 300ms ease-in-out 0s;
        -moz-transition: all 300ms ease-in-out 0s;
        -webkit-transition: all 300ms ease-in-out 0s;
        -o-transition: all 300ms ease-in-out 0s;

        color: $white;
        font-size: 15px;

        background: rgba(0, 0, 0, 0);
        background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.6)));
        background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
        background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
        background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    }

    &:hover {
        .overlay {
            opacity: 1;

            h5, p {
368
                -moz-transform: translateY(0px);
369
370
371
372
373
374
375
                -webkit-transform: translateY(0px);
                transform: translateY(0px);
            }
        }

        .name {
            opacity: 0;
376
            -moz-transform: translateY(50px);
377
378
379
            -webkit-transform: translateY(50px);
            transform: translateY(50px);
        }
380
381
382
383
384
385
386
387

        .image {
            img {
                -moz-transform: scale(1.05);
                -webkit-transform: scale(1.05);
                transform: scale(1.05);
            }
        }
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
    }

    &:after {
        content: "";
        display: block;
        padding-bottom: 100%;
    }
}

@media(max-width: 991px) {
    .grid-item {
        .overlay {
            h5 {
                margin-bottom: 0;
                font-size: 14px;
            }

            p {
                font-size: 11px;
407
                line-height: normal;
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
            }
        }
    }
}

@media(max-width: 767px) {
    .grid-item {
        .ribbon-wrapper {
            display: none;
        }

        .name {
            font-size: 11px;
            padding: .5rem;
        }

        .overlay {
            h5 {
                font-size: 11px;
            }

            p {
                font-size: 9px;
431
                line-height: normal;
432
433
434
435
436
            }
        }
    }

}