base.scss 8.34 KB
Newer Older
1
2
3
#accentbar {
    background: $preset;
    height: 5px;
4
    z-index: 1020;
5
6
7
8
9
}

.navbar {
    font-size: 16px;
    background-color: $white;
10
    border-bottom: 1px solid $grey;
11
    top: 5px;
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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

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

68
69
70
71
72
73
74
75
76
77
.table-clickable {
    tbody tr {
        &:hover {
            cursor: pointer;
            color: $preset;
            background-color: $light-grey;
        }
    }
}

78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
@media(min-width: 992px) {
    .navbar {
        .navbar-nav {
            .dropdown {
                &:hover {
                    > .dropdown-menu {
                        display: block;
                    }
                }

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

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

#page-header {
    height: 360px;
    overflow: hidden;
111
112
    display: flex;
    justify-content: center;
113
114

    .image {
115
        width: auto;
116
        height: 100%;
117
        max-width: none;
118
119
120
121
122
123
124
125
126
127
128
    }
}

@media(max-width: 1023px) {
    #page-header {
        height: 170px;
    }
}

#page-content {
    padding: 1rem 0 4rem 0;
129
    border-top: 1px solid $grey;
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149

    .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;
            }
150
151
152
153
154
155
156
157
158
159
160
161
162

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

                &.btn-first {
                    right: 0;
                }

                &.btn-second {
                    right: 50px
                }
            }
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
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
        }
    }
}

footer {
    background: $preset;
    overflow: hidden;
    font-size: 14px;
    color: $white;
    padding: 25px 0;
    margin: 0;

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

246
247
248
249
        display: flex;
        align-items: center;
        text-align: center;

250
251
252
253
254
        img {
            width: auto;
            height: auto;
            max-width: 100%;
            max-height: 100%;
255
256
257
258
259

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

    .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;
285
286
            margin-bottom: 0;
            padding-bottom: 0.5rem;
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
318
319
320
321
322
323
324
325
326
327
        }

        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 {
328
                -moz-transform: translateY(0px);
329
330
331
332
333
334
335
                -webkit-transform: translateY(0px);
                transform: translateY(0px);
            }
        }

        .name {
            opacity: 0;
336
            -moz-transform: translateY(50px);
337
338
339
            -webkit-transform: translateY(50px);
            transform: translateY(50px);
        }
340
341
342
343
344
345
346
347

        .image {
            img {
                -moz-transform: scale(1.05);
                -webkit-transform: scale(1.05);
                transform: scale(1.05);
            }
        }
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
    }

    &: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;
367
                line-height: normal;
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
            }
        }
    }
}

@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;
391
                line-height: normal;
392
393
394
395
396
            }
        }
    }

}