base.scss 9.48 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
.tablesorter-header {
    outline: none;
}

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

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

118
@media(max-width: 1199px) {
119
120
121
122
123
124
125
126
127
    .navbar {
        .navbar-brand {
            img {
                max-height: 4rem;
            }
        }
    }
}

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

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

145
#page-header {
146
    height: 200px;
147
148

    .image {
149
        width: 100%;
150
        height: 100%;
151
        object-fit: cover;
152
153
154
    }
}

155
156
.home {
    #page-header {
157
158
159
160
        height: 0;
        padding-bottom: 21.5%;
        position: relative;

161
        .image, #announcements-slider {
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
        }
    }
}

@media(max-width: 991px) {
    .home {
        #page-header {
            height: 0;
            padding-bottom: 40%;
            position: relative;

            #announcements-slider {
                position: absolute;
                top: 0;
                bottom: 0;
                left: 0;
                right: 0;
            }
        }
186
187
188
    }
}

189
190
191
192
193
194
195
196
@media(max-width: 1023px) {
    #page-header {
        height: 170px;
    }
}

#page-content {
    padding: 1rem 0 4rem 0;
197
    border-top: 1px solid $grey;
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217

    .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;
            }
218
219
220
221
222
223
224
225
226
227
228
229
230

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

                &.btn-first {
                    right: 0;
                }

                &.btn-second {
                    right: 50px
                }
            }
231
232
233
234
235
        }
    }
}

footer {
236
    position: absolute;
237
238
239
240
241
242
    background: $preset;
    overflow: hidden;
    font-size: 14px;
    color: $white;
    padding: 25px 0;
    margin: 0;
243
244
245
    bottom: 0;
    width: 100%;
    height: 80px;
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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317

    .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%;

318
319
320
321
        display: flex;
        align-items: center;
        text-align: center;

322
323
324
325
326
        img {
            width: auto;
            height: auto;
            max-width: 100%;
            max-height: 100%;
327
328
329
330
331

            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;
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
        }
    }

    .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;
357
358
            margin-bottom: 0;
            padding-bottom: 0.5rem;
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
        }

        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 {
400
                -moz-transform: translateY(0px);
401
402
403
404
405
406
407
                -webkit-transform: translateY(0px);
                transform: translateY(0px);
            }
        }

        .name {
            opacity: 0;
408
            -moz-transform: translateY(50px);
409
410
411
            -webkit-transform: translateY(50px);
            transform: translateY(50px);
        }
412
413
414
415
416
417
418
419

        .image {
            img {
                -moz-transform: scale(1.05);
                -webkit-transform: scale(1.05);
                transform: scale(1.05);
            }
        }
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
    }

    &: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;
439
                line-height: normal;
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
            }
        }
    }
}

@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;
463
                line-height: normal;
464
465
466
467
468
            }
        }
    }

}