Projekt

Obecné

Profil

Stáhnout (16 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
    }
64

    
65
    /////////text types
66
    //většina běžných textů
67
    .text {
68
        font-weight: $font-weight-one;
69
        font-size: 8pt;
70
        line-height: 9pt;
71
    }
72

    
73
    //text inputu a název artefaktů
74
    .text2{
75
        font-weight: $font-weight-two;
76
        font-size: 8pt;
77
    }
78

    
79
    //název "kaplicky" a "choose a few" v categories (tam má jinou barvu)
80
    .kaplicky{
81
        color: $theme-color-one;
82
        font-size: 11pt;
83
        font-weight: $font-weight-three;
84
        letter-spacing: 3pt;
85
    }
86

    
87
    //autor artefaktu
88
    .text-author{
89
        font-weight: $font-weight-one;
90
        font-size: 7pt;
91
        color: $theme-color-four;
92
    }
93

    
94
    //počet lajků
95
    .text-number{
96
        font-weight: $font-weight-two;
97
        font-size: 5pt;
98
        color: $theme-color-four;
99
    }
100

    
101
    //notes u metadat, about v about, text levého menu
102
    .text-headline{
103
        font-weight: $font-weight-two;
104
        font-size: 12pt;
105
        color: $theme-color-four;
106
    }
107

    
108
    //název metadata, text pravého menu
109
    .text-page{
110
        font-weight: $font-weight-two;
111
        font-size: 7pt;
112
    }
113

    
114
    ////color pro změnu jen barvy
115
    .black{
116
        color: $theme-color-five;
117
    }
118
    .white{
119
        color: $theme-color-one;
120
    }
121
    .colored{
122
        color: $theme-color-four;
123
    }
124

    
125

    
126
    ////login
127
    .auth{
128
        .card{
129
            border: none;
130
            text-align: center;
131
            font-size: 8pt;
132
        }
133

    
134
        .col-form-label{
135
            text-align: left;
136
            padding-top: 0;
137
            padding-bottom: 0;
138
        }
139
        .form-control{
140
            padding: 0;
141
            height: 17pt;
142
            border-radius: 0;
143
        }
144
    }
145

    
146
    .card-body {
147
    	background-color: $theme-color-five;
148
    	font-weight: $font-weight-one;
149
    	color: $theme-color-four;
150
	}
151

    
152
	.form-control {
153
    	background-color: $theme-color-five;
154
    	margin-top: -1px;
155
    	border-top-color: $theme-color-five;
156
    	border-left-color: $theme-color-five;
157
    	border-right-color: $theme-color-five;
158
    	border-bottom-color: 0.5pt $theme-color-one;
159
    	color: $theme-color-one;
160
        box-shadow: none;
161
        font-size: 8pt;
162

    
163
        &:active, &:focus, &:visited{
164
            background-color: $theme-color-five;
165
            margin-top: -1px;
166
            border-top-color: $theme-color-five;
167
            border-left-color: $theme-color-five;
168
            border-right-color: $theme-color-five;
169
            border-bottom-color: 0.5pt $theme-color-one;
170
            color: $theme-color-one;
171
            box-shadow: none;
172
        }
173

    
174
	}
175
    .form-control.is-invalid{
176
        box-shadow: none;
177
        border-color: $theme-color-four;
178
        background-image: none;
179
        &:active, &:focus, &:visited{
180
            box-shadow: none;
181
            border-color: $theme-color-four;
182
        }
183
    }
184

    
185
    .button-square {
186
        font-size: 8pt;
187
        background-color: $theme-color-five;
188
        color: $theme-color-one;
189
        border: 0.5pt solid $theme-color-one;
190
        border-radius: 0;
191
        width: 6.5rem;
192
        height: 2rem;
193
        font-weight: $font-weight-one;
194

    
195
        &:active, &:focus, &:visited {
196
            outline: none;
197
            box-shadow: none;
198
        }
199
    }
200

    
201
    //spendlik
202
    .pin-left:before {
203
        content: '';
204
        position: relative;
205
        height: 0.35433rem;
206
        width: 0.35433rem;
207
        background-color: $theme-color-one;
208
        border-radius: 50%;
209
        display: inline-block;
210
        top: -0.35433rem;
211
        left: -0.2rem;
212
    }
213

    
214
    .pin-left {
215
        border-left: .5pt solid $theme-color-four;
216
        display: inline-block;
217
        margin: 10rem 50px 0px -5rem;
218
        position: fixed;
219
        top: 0;
220
        bottom: 0;
221
        text-align: left;
222
        width: 100%;
223
        .text{
224
            margin-left: 0.5rem;
225
        }
226
        p{
227
            margin-top: 0;
228
            margin-bottom: 0;
229
        }
230
    }
231

    
232
    li{
233
        list-style-type: none;
234
    }
235

    
236
    .button-image {
237
        background-color: transparent;
238
        border-color: transparent;
239

    
240
        &:before {
241
            content: "";
242
            width: 100px;
243
            height: 100px;
244
            display: inline-block;
245
            margin-right: 5px;
246
            vertical-align: text-top;
247
            background-color: transparent;
248
            background-position : center center;
249
            background-repeat:no-repeat;
250
        }
251
    }
252

    
253
    .artefacts-area, .artefact-area {
254

    
255
        h5 {
256
            color: $theme-color-two;
257
            font-weight: $font-weight-two;
258
            line-height: 20pt;
259
            font-size: 21pt;
260
        }
261

    
262
        h6 {
263
            color: $theme-color-two;
264
            font-size: 14pt;
265
            //font-weight: lighter;
266
            font-weight: $font-weight-one;
267
        }
268

    
269
        img {
270
            border: transparent;
271
            border-radius: 1px;
272
        }
273

    
274
        .card {
275
            margin: 10px;
276
            border: none !important;
277
        }
278

    
279
        .left_panel_info {
280
            margin-top: 15px;
281
            margin-left: -10px;
282
            max-width: 250px;
283
        }
284

    
285
        .right_panel_info {
286
            margin-top: 15px;
287
            margin-right: -15px;
288
        }
289

    
290
        .card-cus-bottom {
291
            background-color: $theme-color-five;
292
        }
293

    
294
        .inter_info {
295
            &:before {
296
                background-image: url(../images/interface/Button_Info_50.png);
297
                width: 60px;
298
                height: 60px;
299
            }
300
        }
301

    
302
        .inter_like {
303
            display: none;
304
            &:before {
305
                background-image : url(../images/interface/Hearth_Empty_50.png);
306
                width: 60px;
307
                height: 60px;
308
            }
309
        }
310

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

    
319
        .inter_info, .inter_like, .inter_like_filled {
320
            padding: 0;
321
            &:focus, &:active, &:hover {
322
                background-color: transparent !important;
323
                border-color: transparent !important;
324
                outline: none !important;
325
                box-shadow: none !important;
326
            };
327
        }
328
    }
329

    
330

    
331
    .artefact-area {
332

    
333
        .card-cus-bottom {
334
            .left_panel_info, .right_panel_info {
335
                margin: 0.9375rem 0 0 0;
336
            }
337

    
338
            .right_panel_info {
339
                .float-right {
340
                    margin-right: -0.35rem;
341
                }
342
            }
343
        }
344

    
345
        .artefact-name {
346
            font-weight: $font-weight-two;
347
            font-size: 8pt;
348
            line-height: 10pt;
349
            margin-bottom: 0;
350
        }
351

    
352
        .artefact-author {
353
            font-size: 7pt;
354
            line-height: 8pt;
355
        }
356

    
357
        .inter_like {
358
            display: block;
359

    
360
            &:before {
361
                background-image: url(../images/interface/Hearth_Empty_Small.png);
362
                width: 25px;
363
                height: 19px;
364
            }
365
        }
366

    
367
        .inter_info {
368

    
369
            padding-right: 1rem;
370
            &:before {
371
                background-image: url(../images/interface/Button_Info_Small.png);
372
                width: 29px;
373
                height: 29px;
374
            }
375
        }
376

    
377
        .artefact-likes {
378
            font-weight: $font-weight-two;
379
            font-size: 5pt;
380
            padding-right: 0.25rem;
381
        }
382
    }
383

    
384
    // Metadata area
385
    .metadata-area {
386

    
387
        h2 {
388
            font-weight: $font-weight-two;
389
            font-size: 12pt;
390
        }
391

    
392
        .arrow-down {
393
            position: fixed;
394
            top: 0.25rem;
395
            right: 0;
396
            margin: 2rem;
397
            width: 0;
398
            height: 0;
399
            border-left: 0.59055rem solid transparent;
400
            border-right: 0.59055rem solid transparent;
401
            border-top: 0.59055rem solid $theme-color-two;
402
        }
403

    
404
        .pin-horizontal {
405
            color: $theme-color-two;
406
            border-bottom: .042rem solid $theme-color-two;
407
            display: inline-block;
408
            margin: 3.35rem 3.125rem 0 0;
409

    
410
            &:before {
411
                content: '';
412
                background-color: $theme-color-two;
413
                position: relative;
414
                height: .5rem;
415
                width: .5rem;
416
                border-radius: 50%;
417
                display: inline-block;
418
                top: 1.5rem;
419
                left: 50vw;
420
            }
421

    
422
            .metadata {
423
                position: relative;
424
                display: flex;
425
                align-items: baseline;
426

    
427
                span {
428
                    font-weight: $font-weight-two;
429
                }
430

    
431
                .arrow-down {
432
                    position: relative;
433
                    top: 0;
434
                    right: 0;
435
                    width: 0;
436
                    height: 0;
437
                    border-left: 0.25rem solid transparent;
438
                    border-right: 0.25rem solid transparent;
439
                    border-top: 0.25rem solid $theme-color-two;
440
                    margin: 0 0.5rem 0 0.5rem;
441
                }
442
            }
443
        }
444

    
445
        .white-pin {
446
            color: $theme-color-one;
447
            border-bottom: .042rem solid $theme-color-one;
448

    
449
            &:before {
450
                content: '';
451
                background-color: $theme-color-one;
452
            }
453

    
454
            .metadata {
455
                .arrow-down {
456
                    border-top: 0.25rem solid $theme-color-one;
457
                }
458
            }
459
        }
460

    
461
        .metadata-text {
462
            font-size: 8pt;
463
            color: $theme-color-one;
464
            padding-top: 10px;
465
            padding-left: 25px;
466
            padding-right: 25px;
467

    
468
            .artefact-info {
469
                color: $theme-color-two;
470
                margin-top: 10px;
471

    
472
                .artefact-name {
473
                    font-weight: $font-weight-two;
474
                    font-size: 8pt;
475
                }
476

    
477
                .artefact-author {
478
                    font-weight: $font-weight-one;
479
                    font-size: 7pt;
480
                }
481

    
482
                .inter_like_filled {
483

    
484
                    &:before {
485
                        background-image : url(../images/interface/Hearth_Filled_50.png);
486
                        width: 50px;
487
                        height: 50px;
488
                    }
489

    
490
                    &:hover, &:focus, &:active {
491
                        background-color: transparent !important;
492
                        border-color: transparent !important;
493
                        outline: none !important;
494
                        box-shadow: none !important;
495
                    }
496
                }
497
            }
498
        }
499
    }
500

    
501
    /*.content {
502
        position: relative;
503

    
504
        //Circle style button
505
        .btn-circle.rounded-circle {
506
            padding: 6px 0px;
507
            font-size: 16px;
508
            text-align: center;
509
        }
510
        .btn-categories
511
        {
512
            position: absolute;
513
            border-width: 5px;
514
            background-color: $theme-color-five;
515
            border-color: $theme-color-four;
516
            color:$theme-color-four;
517
            outline: none !important;
518
            box-shadow: none !important;
519
            font-weight: $font-weight-two;
520

    
521
            &:active
522
            {
523
                background-color: $theme-color-three;
524
                border-color: $theme-color-four;
525
                outline: none !important;
526
                box-shadow: none !important;
527
                color:$theme-color-five;
528
            }
529
        }
530
    }*/
531

    
532

    
533

    
534
    //CATEGORIES - ROW BLOCK
535
    .cat-col-md-2
536
    {
537
        margin: 2%;
538
    }
539

    
540
    //CATEGORIES - TILES
541
    .btn.btn-dark.cat-tile
542
    {
543
        //STYLING
544
        border-color: $theme-color-four;
545
        border-radius: 0;
546
        border-style: solid;
547
        border-width: 2px;
548
        color: $theme-color-four;
549
        background-color: $theme-color-five;
550
        text-align: center;
551
        outline: none !important;
552
        box-shadow: none !important;
553

    
554
        //FONT
555
        font-size: 8mm;
556
        word-wrap: break-word;
557

    
558
        //SPACING
559
        height: 40mm;
560
        width: 100%;
561

    
562
        &:active, &:focus
563
        {
564
            background-color: $theme-color-three;
565
            border-color: $theme-color-four;
566
            outline: none !important;
567
            box-shadow: none !important;
568
            color: $theme-color-five;
569
        }
570
    }
571

    
572
    //CATEGORY/{id} -h2 title NO ARTEFACTS
573
    .category-h2
574
    {
575
        color: $theme-color-four;
576
    }
577
}
578

    
579
.arrow{
580
    position: absolute;
581
    width: 0;
582
    height: 0;
583
    margin: 2rem;
584
    cursor:pointer;
585
    border: 0.59055rem solid transparent;
586
}
587

    
588
.arrow-left {
589
    margin-left: 80%;
590

    
591
    border-right:0.59055rem solid $theme-color-five;
592
    background-color: $theme-color-four !important;
593
}
594

    
595
.arrow-right {
596
    border-left:0.59055rem solid $theme-color-four;
597

    
598
    position: fixed;
599
    z-index: 1;
600
    top: 0;
601
    left: 0;
602
}
603

    
604
.sidenav {
605
    height: 100%;
606
    //width: 0;
607
    width: 250px;
608
    position: fixed;
609
    z-index: 1;
610
    top: 0;
611
    left: 0;
612
    background-color: $theme-color-four;
613
    overflow-x: hidden;
614
    transition: 0.5s;
615
}
616

    
617
.sidenav a {
618
    text-decoration: none;
619
    color: $theme-color-five;
620
    display: block;
621
    transition: 0.3s;
622
}
623

    
624
.sidenav a:hover {
625
    color: $theme-color-four;
626
    background-color: $theme-color-one;
627
}
628

    
629
@media screen and (max-height: 450px) {
630
    .sidenav a {font-size: 18px;}
631
}
632

    
633
@media (max-width: 990px) {}//Ponecháno pro případ, že se bude měnit login
634

    
635
@media (max-width: 770px) {
636
    body {
637
        .pin-left {
638
            margin-left: -33vw;
639
            margin-top: 12rem;
640
            //left: 20vw;
641
        }
642
    }
643
}
644

    
645
@media only screen and (max-width: 540px)
646
{
647
    .sidenav{
648
        width: 0;
649
    }
650
    .head-title.text-center h1
651
    {
652
        font-size: 23pt;
653
        padding-top: 50pt;
654
        white-space: nowrap;
655

    
656
    }
657

    
658
    /*.btn-circle.rounded-circle.btn-sm
659
    {
660
        width: 90px;
661
        height: 90px;
662
    }
663

    
664
    .btn-circle.rounded-circle.btn-dm
665
    {
666
        width: 130px;
667
        height: 130px;
668
    }
669

    
670
    .btn-circle.rounded-circle.btn-xl
671
    {
672
        width: 180px;
673
        height: 180px;
674
    }*/
675

    
676
    body{
677
        .carousel {
678
            .carousel-inner {
679
                .social-logo {
680
                    padding-left: 30px;
681
                    top: 20%;
682
                }
683
            }
684
        }
685
    }
686
}
687

    
688
@media (min-width: 330px) and (max-height: 900px)
689
{
690
    body{
691
        .carousel {
692
            .carousel-inner {
693
                .social-logo {
694
                    top: 25%;
695
                }
696
            }
697
        }
698
    }
699
}
(1-1/3)