Projekt

Obecné

Profil

Stáhnout (12.4 KB) Statistiky
| Větev: | Tag: | Revize:
1
// Variables
2
@import 'variables';
3

    
4
body {
5
    background-color: $theme-color-five;
6
    font-family: $font-family-one;
7

    
8
    .head-title h1 {
9
        color: $theme-color-one;
10
        font-weight: $font-weight-one;
11
        font-size: 60pt;
12
        //font-weight: bold;
13
        letter-spacing: 3px;
14
    }
15

    
16
    .carousel {
17
        .carousel-inner {
18
            .museum-logo {
19
                display: flex;
20
                justify-content: center;
21
                position: absolute;
22
                top: 5%;
23
                width: 100%;
24
                z-index: 1;
25
            }
26

    
27
            .social-logo {
28
                text-align: center;
29
                justify-content: space-between;
30
                flex-wrap: nowrap;
31
                position: absolute;
32
                top: 25%;
33
                padding-left: 25px;
34
                width: 100%;
35
                z-index: 1;
36
            }
37

    
38
            .carousel-button {
39
                bottom: 10%;
40
                left: 50%;
41
                transform: translateX(-50%);
42
                position: absolute;
43
                z-index: 1;
44
            }
45

    
46
            .carousel-item {
47
                height: 100vh;
48
                min-height: 350px;
49
                background: no-repeat center center scroll;
50
                -webkit-background-size: cover;
51
                -moz-background-size: cover;
52
                -o-background-size: cover;
53
                background-size: cover;
54
            }
55
        }
56

    
57
        .carousel-caption {
58
            top: 50%;
59
            bottom: auto;
60
            transform: translateY(-50%);
61
            background-color:  rgba(239, 218, 179, 0.5);
62

    
63
            p {
64
                font-size: 8pt;
65
                color: $theme-color-five;
66
            }
67
        }
68
    }
69

    
70
    /////////text types
71
    //většina běžných textů
72
    .text {
73
        font-weight: $font-weight-one;
74
        font-size: 8pt;
75
        line-height: 9pt;
76
    }
77

    
78
    //text inputu a název artefaktů
79
    .text2{
80
        font-weight: $font-weight-two;
81
        font-size: 8pt;
82
    }
83

    
84
    //název "kaplicky" a "choose a few" v categories (tam má jinou barvu)
85
    .kaplicky{
86
        color: $theme-color-one;
87
        font-size: 11pt;
88
        font-weight: $font-weight-three;
89
        letter-spacing: 3pt;
90
    }
91

    
92
    //autor artefaktu
93
    .text-author{
94
        font-weight: $font-weight-one;
95
        font-size: 7pt;
96
        color: $theme-color-four;
97
    }
98

    
99
    //počet lajků
100
    .text-number{
101
        font-weight: $font-weight-two;
102
        font-size: 5pt;
103
        color: $theme-color-four;
104
    }
105

    
106
    //notes u metadat, about v about, text levého menu
107
    .text-headline{
108
        font-weight: $font-weight-two;
109
        font-size: 12pt;
110
        color: $theme-color-four;
111
    }
112

    
113
    //název metadata, text pravého menu
114
    .text-page{
115
        font-weight: $font-weight-two;
116
        font-size: 7pt;
117
    }
118

    
119
    ////color pro změnu jen barvy
120
    .black{
121
        color: $theme-color-five;
122
    }
123
    .white{
124
        color: $theme-color-one;
125
    }
126
    .colored{
127
        color: $theme-color-four;
128
    }
129

    
130

    
131
    ////login
132
    .auth{
133
        .card{
134
            border: none;
135
            text-align: center;
136
            font-size: 8pt;
137
        }
138

    
139
        .col-form-label{
140
            text-align: left;
141
            padding-top: 0px;
142
            padding-bottom: 0px;
143
        }
144
        .form-control{
145
            padding: 0px;
146
            height: 17pt;
147
            border-radius: 0%;
148
        }
149
    }
150

    
151
    .card-body {
152
    	background-color: $theme-color-five;
153
    	font-weight: $font-weight-one;
154
    	color: $theme-color-four;
155

    
156
	}
157

    
158
	.form-control {
159
    	background-color: $theme-color-five;
160
    	margin-top: -1px;
161
    	border-top-color: $theme-color-five;
162
    	border-left-color: $theme-color-five;
163
    	border-right-color: $theme-color-five;
164
    	border-bottom-color: 0.5pt $theme-color-one;
165
    	color: $theme-color-one;
166
        box-shadow: none;
167
        font-size: 8pt;
168

    
169
        &:active, &:focus, &:visited{
170
            background-color: $theme-color-five;
171
            margin-top: -1px;
172
            border-top-color: $theme-color-five;
173
            border-left-color: $theme-color-five;
174
            border-right-color: $theme-color-five;
175
            border-bottom-color: 0.5pt $theme-color-one;
176
            color: $theme-color-one;
177
            box-shadow: none;
178
        }
179

    
180
	}
181
    .form-control.is-invalid{
182
        box-shadow: none;
183
        border-color: $theme-color-four;
184
        background-image: none;
185
        &:active, &:focus, &:visited{
186
            box-shadow: none;
187
            border-color: $theme-color-four;
188
        }
189
    }
190

    
191
    /*.form-control:focus {
192
        background-color: $theme-color-five;
193
        margin-top: -1px;
194
        border-top-color: $theme-color-five;
195
        border-left-color: $theme-color-five;
196
        border-right-color: $theme-color-five;
197
        border-bottom-color: 0.5pt $theme-color-one;
198
        color: $theme-color-one;
199
        box-shadow: none;
200
        font-size: 8pt;
201
    }*/
202

    
203
    .button-square {
204
        font-size: 8pt;
205
        background-color: $theme-color-five;
206
        color: $theme-color-one;
207
        border: 0.5pt solid $theme-color-one;
208
        border-radius: 0;
209
        width: 6.5rem;
210
        height: 2rem;
211
        font-weight: $font-weight-one;
212

    
213
        &:active, &:focus, &:visited {
214
            outline: none;
215
            box-shadow: none;
216
        }
217
    }
218

    
219
    //spendlik
220
    .pin-left:before {
221
        content: '';
222
        position: relative;
223
        height: 0.35433rem;
224
        width: 0.35433rem;
225
        background-color: $theme-color-one;
226
        border-radius: 50%;
227
        display: inline-block;
228
        top: -0.35433rem;
229
        left: -0.2rem;
230

    
231
    }
232

    
233
    .pin-left {
234
        border-left: .5pt solid $theme-color-four;
235
        display: inline-block;
236
        margin: 50px;
237
        margin-bottom: 0pt;
238
        min-height: 75vh;
239
        height: auto;
240
        text-align: left;
241
        width: 100%;
242
        .text{
243
            //padding-top: 5rem;//0.35433rem;
244
            //margin-top: 5rem;
245
            //top: 5rem;
246
            margin-left: 0.5rem;
247
        }
248
        p{
249
            margin-top: 0pt;
250
            margin-bottom: 0pt;
251
        }
252
    }
253

    
254
    .button-image {
255
        background-color: transparent;
256
        border-color: transparent;
257

    
258
        &:before {
259
            content: "";
260
            width: 100px;
261
            height: 100px;
262
            display: inline-block;
263
            margin-right: 5px;
264
            vertical-align: text-top;
265
            background-color: transparent;
266
            background-position : center center;
267
            background-repeat:no-repeat;
268
        }
269
    }
270

    
271
    .artefacts-area {
272

    
273
        h5 {
274
            color: $theme-color-two;
275
            font-weight: $font-weight-two;
276
            line-height: 20pt;
277
            font-size: 21pt;
278
        }
279

    
280
        h6 {
281
            color: $theme-color-two;
282
            font-size: 14pt;
283
            //font-weight: lighter;
284
            font-weight: $font-weight-one;
285
        }
286

    
287
        img {
288
            border: transparent;
289
            border-radius: 1px;
290
        }
291

    
292
        .card {
293
            margin: 10px;
294
            border: none !important;
295
        }
296

    
297
        .left_panel_info {
298
            margin-top: 15px;
299
            margin-left: -10px;
300
            max-width: 250px;
301
        }
302

    
303
        .right_panel_info {
304
            margin-top: 15px;
305
            margin-right: -15px;
306
        }
307

    
308
        .card-cus-bottom {
309
            background-color: $theme-color-five;
310
        }
311

    
312
        .inter_info {
313
            &:before {
314
                background-image: url(../images/interface/Button_Info_50.png);
315
                width: 60px;
316
                height: 60px;
317
            }
318
        }
319

    
320
        .inter_like {
321
            display: none;
322
            &:before {
323
                background-image : url(../images/interface/Hearth_Empty_50.png);
324
                width: 60px;
325
                height: 60px;
326
            }
327
        }
328

    
329
        .inter_like_filled {
330
            &:before {
331
                background-image : url(../images/interface/Hearth_Filled_50.png);
332
                width: 60px;
333
                height: 60px;
334
            }
335
        }
336

    
337
        .inter_info, .inter_like, .inter_like_filled {
338
            padding: 0;
339
            &:focus, &:active, &:hover {
340
                background-color: transparent !important;
341
                border-color: transparent !important;
342
                outline: none !important;
343
                box-shadow: none !important;
344
            };
345
        }
346
    }
347

    
348
    .monButton {
349

    
350
        &:before {
351
            background-image : url(../images/Button_Arrow_Small.png);
352
            //height: 0.9685rem;
353
            //width: 0.59055rem;
354
        }
355

    
356
        &:hover {
357
            background-color: transparent;
358
            border-color: $theme-color-four;
359
        }
360

    
361
        &:focus {
362
            background-color: transparent;
363
            border-color: $theme-color-four;
364
            outline: none !important;
365
            box-shadow: none !important;
366
        }
367

    
368
        &:active {
369
            background-color: transparent !important;
370
            border-color: transparent !important;
371
            outline: none !important;
372
            box-shadow: none !important;
373
        }
374
    }
375

    
376
    .content {
377
        position: relative;
378

    
379
        //Circle style button
380
            //Toto možná nebude zcela optimální pro ostatní circle buttony. Nehodící se propagujte do btn-categories.
381
        .btn-circle.rounded-circle {
382
            padding: 6px 0px;
383
            font-size: 16px;
384
            text-align: center;
385
        }
386
        .btn-categories
387
        {
388
            position: absolute;
389
            border-width: 5px;
390
            background-color: $theme-color-five;
391
            border-color: $theme-color-four;
392
            color:$theme-color-four;
393
            outline: none !important;
394
            box-shadow: none !important;
395
            font-weight: $font-weight-two;
396

    
397
            &:active
398
            {
399
                background-color: $theme-color-three;
400
                border-color: $theme-color-four;
401
                outline: none !important;
402
                box-shadow: none !important;
403
                color:$theme-color-five;
404
            }
405
        }
406

    
407
        .btn-sm
408
        {
409
            width: 120px;
410
            height: 120px;
411
        }
412
        .btn-dm
413
        {
414
            width: 240px;
415
            height: 240px;
416
        }
417
        .btn-xl
418
        {
419
            width: 360px;
420
            height: 360px;
421
        }
422

    
423
    }
424
}
425

    
426
.arrow-left {
427
    position: absolute;
428
    width: 0;
429
    height: 0;
430
    margin-top: 50px;
431
    //height: 0.9685rem;
432
    //width: 0.59055rem;
433
    margin-left: 90%;
434
    border-top: 0.59055rem solid transparent;
435
    border-bottom: 0.59055rem solid transparent;
436

    
437
    border-right:0.59055rem solid $theme-color-four;
438
}
439
.arrow-right {
440
    position: absolute;
441
    top: 0;
442
    width: 0;
443
    height: 0;
444
    margin: 50px;
445
    border-top: 0.59055rem solid transparent;
446
    border-bottom: 0.59055rem solid transparent;
447

    
448
    border-left:0.59055rem solid $theme-color-four;
449
}
450

    
451
.sidenav {
452
    height: 100%;
453
    width: 0;
454
    position: fixed;
455
    z-index: 1;
456
    top: 0;
457
    left: 0;
458
    //margin-top: 50px;
459
    background-color: $theme-color-five;
460
    overflow-x: hidden;
461
    transition: 0.5s;
462
    //padding-top: 60px;
463
}
464

    
465
.sidenav a {
466
    //padding: 8px 8px 8px 50px;
467
    text-decoration: none;
468
    //font-size: 25px;
469
    color: $theme-color-four;
470
    display: block;
471
    transition: 0.3s;
472
}
473

    
474
.sidenav a:hover {
475
    color: $theme-color-five;
476
    background-color: $theme-color-one;
477
}
478

    
479
/*.sidenav .closebtn {
480
    position: absolute;
481
    top: 0;
482
    right: 25px;
483
    font-size: 36px;
484
    margin-left: 50px;
485
}*/
486

    
487
@media screen and (max-height: 450px) {
488
    .sidenav {padding-top: 15px;}
489
    .sidenav a {font-size: 18px;}
490
}
491

    
492
@media (max-width: 990px) {
493
    body {
494
        .pin-left {
495
            margin-left: 0px;
496
        }
497
    }
498
}
499

    
500
@media only screen and (max-width: 540px)
501
{
502

    
503

    
504
    .head-title.text-center h1
505
    {
506
        font-size: 45pt;
507
    }
508

    
509
    .btn-circle.rounded-circle.btn-sm
510
    {
511
        width: 90px;
512
        height: 90px;
513
    }
514

    
515
    .btn-circle.rounded-circle.btn-dm
516
    {
517
        width: 130px;
518
        height: 130px;
519
    }
520

    
521
    .btn-circle.rounded-circle.btn-xl
522
    {
523
        width: 180px;
524
        height: 180px;
525
    }
526

    
527
    body{
528
        .carousel {
529
            .carousel-inner {
530
                .social-logo {
531
                    padding-left: 30px;
532
                    top: 20%;
533
                }
534
            }
535
        }
536
    }
537
}
538

    
539
@media (min-width: 330px) and (max-height: 900px)
540
{
541
    body{
542
        .carousel {
543
            .carousel-inner {
544
                .social-logo {
545
                    top: 25%;
546
                }
547
            }
548
        }
549
    }
550
}
(1-1/3)