Projekt

Obecné

Profil

Stáhnout (22.3 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
    padding-top: 5.1rem;
8

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

    
17
    .carousel {
18
        margin-top: - 5.1rem;
19

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

    
29
                img {
30
                    width: 7.5rem;
31
                }
32
            }
33

    
34
            .social-logo {
35
                text-align: center;
36
                justify-content: space-around;
37
                flex-wrap: nowrap;
38
                position: absolute;
39
                top: 25%;
40
                padding-left: 25px;
41
                width: 100%;
42
                z-index: 1;
43

    
44
                img {
45
                    width: 2.0625rem;
46
                }
47
            }
48

    
49
            .carousel-button {
50
                bottom: 10%;
51
                left: 50%;
52
                transform: translateX(-50%);
53
                position: absolute;
54
                z-index: 1;
55
            }
56

    
57
            .carousel-item {
58
                height: 100vh;
59
                min-height: 350px;
60
                background: no-repeat center center scroll;
61
                -webkit-background-size: cover;
62
                -moz-background-size: cover;
63
                -o-background-size: cover;
64
                background-size: cover;
65
            }
66
        }
67

    
68
        .carousel-caption {
69
            top: 50%;
70
            bottom: auto;
71
            transform: translateY(-50%);
72
            background-color: rgba(239, 218, 179, 0.5);
73
        }
74
    }
75

    
76
    /////////text types
77
    //většina běžných textů
78
    .text {
79
        font-weight: $font-weight-one;
80
        font-size: 8pt;
81
        line-height: 9pt;
82
    }
83

    
84
    //text inputu a název artefaktů
85
    .text2 {
86
        font-weight: $font-weight-two;
87
        font-size: 8pt;
88
    }
89

    
90
    //název "kaplicky" a "choose a few" v categories (tam má jinou barvu)
91
    .kaplicky {
92
        color: $theme-color-one;
93
        font-size: 11pt;
94
        font-weight: $font-weight-three;
95
        letter-spacing: 3pt;
96
    }
97

    
98
    //autor artefaktu
99
    .text-author {
100
        font-weight: $font-weight-one;
101
        font-size: 7pt;
102
        color: $theme-color-four;
103
    }
104

    
105
    //počet lajků
106
    .text-number {
107
        font-weight: $font-weight-two;
108
        font-size: 5pt;
109
        color: $theme-color-four;
110
    }
111

    
112
    //notes u metadat, about v about, text levého menu
113
    .text-headline {
114
        font-weight: $font-weight-two;
115
        font-size: 12pt;
116
        color: $theme-color-four;
117
    }
118

    
119
    //notes u metadat, about v about, text levého menu
120
    .text-headline-desktop {
121
        font-weight: $font-weight-two;
122
        font-size: 24pt;
123
        color: $theme-color-four;
124
    }
125

    
126
    //název metadata, text pravého menu
127
    .text-page {
128
        font-weight: $font-weight-two;
129
        font-size: 7pt;
130
    }
131

    
132
    ////color pro změnu jen barvy
133
    .black {
134
        color: $theme-color-five;
135
    }
136

    
137
    .white {
138
        color: $theme-color-one;
139
    }
140

    
141
    .colored {
142
        color: $theme-color-four;
143
    }
144

    
145

    
146
    ////login
147
    .auth {
148
        .card {
149
            border: none;
150
            text-align: center;
151
            font-size: 8pt;
152
        }
153

    
154
        .col-form-label {
155
            text-align: left;
156
            padding-top: 0;
157
            padding-bottom: 0;
158
        }
159

    
160
        .form-control {
161
            padding: 0;
162
            height: 17pt;
163
            border-radius: 0;
164

    
165
            &:focus {
166
                border-color: $theme-color-one;
167
                -webkit-box-shadow: none;
168
                box-shadow: none;
169
            }
170
        }
171
    }
172

    
173
    //Oprava barev pro Chrom
174
    input:-webkit-autofill {
175
        -webkit-box-shadow: 0 0 0 50px $theme-color-five inset !important;
176
        -webkit-text-fill-color: $theme-color-one;
177
        background-color: $theme-color-five !important;
178
        //outline: none !important;
179
        &:active, &:focus, &:visited, &:hover {
180
            -webkit-box-shadow: 0 0 0 50px $theme-color-five inset !important;
181
            -webkit-text-fill-color: $theme-color-one;
182
            background-color: $theme-color-five !important;
183
            //outline: none !important;
184
        }
185
    }
186

    
187
    .card-body {
188
        background-color: $theme-color-five;
189
        font-weight: $font-weight-one;
190
        color: $theme-color-four;
191
    }
192

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

    
205
        &:active, &:focus, &:visited, &:hover {
206
            outline: none;
207
            background-color: $theme-color-five;
208
            margin-top: -1px;
209
            border-top-color: $theme-color-five;
210
            border-left-color: $theme-color-five;
211
            border-right-color: $theme-color-five;
212
            border-bottom-color: 0.5pt $theme-color-one;
213
            color: $theme-color-one;
214
            box-shadow: none;
215
        }
216

    
217
    }
218

    
219
    .form-control.is-invalid {
220
        box-shadow: none;
221
        border-color: $theme-color-four;
222
        background-image: none;
223

    
224
        &:active, &:focus, &:visited {
225
            box-shadow: none;
226
            border-color: $theme-color-four;
227
        }
228
    }
229

    
230
    .button-square {
231
        font-size: 8pt;
232
        background-color: $theme-color-five;
233
        color: $theme-color-one;
234
        border: 0.5pt solid $theme-color-one;
235
        border-radius: 0;
236
        width: 6.5rem;
237
        height: 2rem;
238
        font-weight: $font-weight-one;
239

    
240
        &:active, &:focus, &:visited, &:hover {
241
            outline: none;
242
            box-shadow: none;
243
            color: $theme-color-one;
244
        }
245

    
246
        &:hover {
247
            color: $theme-color-four;
248
        }
249
    }
250

    
251
    //spendlik
252
    .pin-left:before {
253
        content: '';
254
        position: relative;
255
        height: 0.35433rem;
256
        width: 0.35433rem;
257
        background-color: $theme-color-one;
258
        border-radius: 50%;
259
        display: inline-block;
260
        top: -0.35433rem;
261
        left: -0.2rem;
262
    }
263

    
264
    .pin-left {
265
        border-left: .5pt solid $theme-color-four;
266
        position: fixed;
267
        bottom: 0;
268
        text-align: left;
269

    
270
        // center fixed div
271
        left: 50%;
272
        transform: translateX(-50%);
273
        width: 70%;
274

    
275
        .text {
276
            margin-left: 0.5rem;
277
            margin-bottom: 0.2rem; // looks fugly without margin
278
        }
279

    
280
        p {
281
            margin-top: 0;
282
            margin-bottom: 0;
283
        }
284
    }
285

    
286
    li {
287
        list-style-type: none;
288
    }
289

    
290
    .button-image {
291
        background-color: transparent;
292
        border-color: transparent;
293

    
294
        &:before {
295
            content: "";
296
            width: 100px;
297
            height: 100px;
298
            display: inline-block;
299
            margin-right: 5px;
300
            vertical-align: text-top;
301
            background-color: transparent;
302
            background-position: center center;
303
            background-repeat: no-repeat;
304
        }
305
    }
306

    
307
    .artefacts-area, .artefact-area {
308

    
309
        h5 {
310
            color: $theme-color-two;
311
            font-weight: $font-weight-two;
312
            line-height: 20pt;
313
            font-size: 21pt;
314
        }
315

    
316
        h6 {
317
            color: $theme-color-two;
318
            font-size: 14pt;
319
            //font-weight: lighter;
320
            font-weight: $font-weight-one;
321
        }
322

    
323
        img {
324
            border: transparent;
325
            border-radius: 1px;
326
        }
327

    
328
        .card {
329
            margin: 10px;
330
            border: none !important;
331
        }
332

    
333
        .left_panel_info {
334
            margin-top: 15px;
335
            margin-left: -10px;
336
            max-width: 250px;
337
        }
338

    
339
        .right_panel_info {
340
            margin-top: 15px;
341
            margin-right: -15px;
342
        }
343

    
344
        .card-cus-bottom {
345
            background-color: $theme-color-five;
346
        }
347

    
348
        .inter_info {
349
            &:before {
350
                background-image: url(../images/interface/Button_Info_50.png);
351
                width: 60px;
352
                height: 60px;
353
            }
354
        }
355

    
356
        .inter_like {
357
            display: none;
358

    
359
            &:before {
360
                background-image: url(../images/interface/Hearth_Empty_50.png);
361
                width: 60px;
362
                height: 60px;
363
            }
364
        }
365

    
366
        .inter_like_filled {
367
            &:before {
368
                background-image: url(../images/interface/Hearth_Filled_50.png);
369
                width: 60px;
370
                height: 60px;
371
            }
372
        }
373

    
374
        .inter_info, .inter_like, .inter_like_filled {
375
            padding: 0;
376

    
377
            &:focus, &:active, &:hover {
378
                background-color: transparent !important;
379
                border-color: transparent !important;
380
                outline: none !important;
381
                box-shadow: none !important;
382
            }
383
        ;
384
        }
385
    }
386

    
387
    // Artefact area
388
    .artefact-area {
389

    
390
        .card-cus-bottom {
391
            .left_panel_info, .right_panel_info {
392
                margin: 0.9375rem 0 0 0;
393
            }
394

    
395
            .right_panel_info {
396
                .float-right {
397
                    margin-right: -0.35rem;
398
                }
399
            }
400
        }
401

    
402
        .artefact-name {
403
            font-weight: $font-weight-two;
404
            font-size: 8pt;
405
            line-height: 10pt;
406
            margin-bottom: 0;
407
        }
408

    
409
        .artefact-author {
410
            font-size: 7pt;
411
            line-height: 8pt;
412
        }
413

    
414
        .inter_like {
415
            display: block;
416

    
417
            &:before {
418
                background-image: url(../images/interface/Heart_Empty.svg);
419
                width: 1.563rem;
420
                height: 1.25rem;
421
            }
422
        }
423

    
424
        .inter_like_filled {
425
            &:before {
426
                background-image: url(../images/interface/Heart_Filled.svg);
427
                width: 1.563rem;
428
                height: 1.25rem;
429
            }
430
        }
431

    
432
        .inter_info {
433

    
434
            padding-right: 1rem;
435

    
436
            &:before {
437
                background-image: url(../images/interface/Button_Info.svg);
438
                width: 1.875rem;
439
                height: 1.875rem;
440
            }
441
        }
442

    
443
        .artefact-likes {
444
            font-weight: $font-weight-two;
445
            font-size: 5pt;
446
            padding-right: 0.25rem;
447
        }
448
    }
449

    
450
    // Metadata area
451
    .metadata-area {
452

    
453
        h2 {
454
            color: $theme-color-two;
455
            font-weight: $font-weight-two;
456
            font-size: 12pt;
457
        }
458

    
459
        .arrow-down {
460
            position: fixed;
461
            top: 0.25rem;
462
            right: 0;
463
            margin: 2rem;
464
            width: 0;
465
            height: 0;
466
            border-left: 0.59055rem solid transparent;
467
            border-right: 0.59055rem solid transparent;
468
            border-top: 0.59055rem solid $theme-color-two;
469
        }
470

    
471
        .pin-horizontal {
472
            color: $theme-color-two;
473
            border-bottom: .042rem solid $theme-color-two;
474
            display: inline-block;
475
            margin: 2.75rem 3.125rem 0 0;
476

    
477
            &:after {
478
                content: '';
479
                background-color: #ddd1b9;
480
                position: relative;
481
                height: .5rem;
482
                width: .5rem;
483
                border-radius: 50%;
484
                display: block;
485
                margin-left: auto;
486
                top: .25rem;
487
            }
488

    
489
            .metadata {
490
                position: relative;
491
                display: flex;
492
                align-items: baseline;
493

    
494
                span {
495
                    font-weight: $font-weight-two;
496
                }
497

    
498
                .arrow-down {
499
                    position: relative;
500
                    top: 0;
501
                    right: 0;
502
                    width: 0;
503
                    height: 0;
504
                    border-left: 0.25rem solid transparent;
505
                    border-right: 0.25rem solid transparent;
506
                    border-top: 0.25rem solid $theme-color-two;
507
                    margin: 0 0.5rem 0 0.5rem;
508
                }
509
            }
510
        }
511

    
512
        .white-pin {
513
            color: $theme-color-one;
514
            border-bottom: .042rem solid $theme-color-one;
515

    
516
            &:before {
517
                content: '';
518
                background-color: $theme-color-one;
519
            }
520

    
521
            .metadata {
522
                .arrow-down {
523
                    border-top: 0.25rem solid $theme-color-one;
524
                }
525
            }
526
        }
527

    
528
        .metadata-text {
529
            font-size: 8pt;
530
            color: $theme-color-one;
531
            padding-top: 10px;
532
            padding-left: 25px;
533
            padding-right: 25px;
534

    
535
            .artefact-info {
536
                color: $theme-color-two;
537
                margin-top: 10px;
538

    
539
                .artefact-name {
540
                    font-weight: $font-weight-two;
541
                    font-size: 8pt;
542
                }
543

    
544
                .artefact-author {
545
                    font-weight: $font-weight-one;
546
                    font-size: 7pt;
547
                }
548

    
549
                .inter_like {
550

    
551
                    &:before {
552
                        background-image: url(../images/interface/Heart_Empty.svg);
553
                        width: 3.125rem;
554
                        height: 3.125rem;
555
                        margin-right: 0;
556
                    }
557

    
558
                    &:hover, &:focus, &:active {
559
                        background-color: transparent !important;
560
                        border-color: transparent !important;
561
                        outline: none !important;
562
                        box-shadow: none !important;
563
                    }
564
                }
565

    
566
                .inter_like_filled {
567

    
568
                    &:before {
569
                        background-image: url(../images/interface/Heart_Filled.svg);
570
                        width: 3.125rem;
571
                        height: 3.125rem;
572
                        margin-right: 0;
573
                    }
574

    
575
                    &:hover, &:focus, &:active {
576
                        background-color: transparent !important;
577
                        border-color: transparent !important;
578
                        outline: none !important;
579
                        box-shadow: none !important;
580
                    }
581
                }
582
            }
583
        }
584
    }
585

    
586
    // Modal
587
    .modal {
588
        font-weight: $font-weight-one;
589
        color: $theme-color-two;
590
        font-size: 8pt;
591

    
592
        .modal-header {
593
            border-bottom: 1px solid $theme-color-two;
594

    
595
            .close {
596
                color: $theme-color-two;
597
                text-shadow: none;
598
            }
599
        }
600

    
601
        .modal-content {
602
            background-color: $theme-color-five;
603
        }
604

    
605
        .modal-footer {
606
            border-top: 1px solid $theme-color-two;
607

    
608
            .btn {
609
                background-color: $theme-color-two;
610
                color: $theme-color-five;
611

    
612
            }
613
        }
614
    }
615

    
616
    .image-modal {
617
        .close {
618
            font-size: 24pt;
619
            color: $theme-color-two;
620
            text-shadow: none;
621
            position: absolute;
622
            top: 1rem;
623
            right: 0.125rem;
624
            opacity: 1;
625
            cursor: pointer;
626
            pointer-events: initial;
627
        }
628
    }
629

    
630
    /*.content {
631
        position: relative;
632

    
633
        //Circle style button
634
        .btn-circle.rounded-circle {
635
            padding: 6px 0px;
636
            font-size: 16px;
637
            text-align: center;
638
        }
639
        .btn-categories
640
        {
641
            position: absolute;
642
            border-width: 5px;
643
            background-color: $theme-color-five;
644
            border-color: $theme-color-four;
645
            color:$theme-color-four;
646
            outline: none !important;
647
            box-shadow: none !important;
648
            font-weight: $font-weight-two;
649

    
650
            &:active
651
            {
652
                background-color: $theme-color-three;
653
                border-color: $theme-color-four;
654
                outline: none !important;
655
                box-shadow: none !important;
656
                color:$theme-color-five;
657
            }
658
        }
659
    }*/
660

    
661
    //CATEGORIES - TILES
662
    .btn.btn-dark.cat-tile {
663
        //STYLING
664
        border-color: $theme-color-four;
665
        border-radius: 0;
666
        border-style: solid;
667
        border-width: 2px;
668
        color: $theme-color-four;
669
        background-color: $theme-color-five;
670
        text-align: center;
671
        outline: none !important;
672
        box-shadow: none !important;
673

    
674
        //TEXT OVERFLOW
675
        overflow: hidden;
676
        text-overflow: ellipsis;
677

    
678
        //FONT
679
        font-size: 22pt;
680

    
681
        //SPACING
682
        padding: 4rem 0.5rem;
683

    
684
        &:active, &:focus {
685
            background-color: $theme-color-three;
686
            border-color: $theme-color-four;
687
            outline: none !important;
688
            box-shadow: none !important;
689
            color: $theme-color-five;
690
        }
691
    }
692

    
693
    //CATEGORY/{id} -h2 title NO ARTEFACTS
694
    .category-h2 {
695
        color: $theme-color-four;
696
    }
697
}
698

    
699
.top-bar {
700
    background-color: $theme-color-five;
701
    height: 5rem;
702
    position: fixed;
703
    width: 100%;
704
    top: 0;
705
    z-index: 2;
706
    .shadow {
707
        box-shadow: none;
708
    }
709
}
710

    
711
.separator {
712
    position: relative;
713
    z-index : 5;
714
    &:before{
715
        width: 50%;
716
        content : "";
717
        position: absolute;
718
        left    : 0;
719
        bottom  : 0;
720
        height  : 1px;
721
        border-bottom:1px solid $theme-color-five;
722
    }
723
}
724

    
725
.sidenav {
726
    height: 100%;
727
    width: 0;
728
    //width: 250px;
729
    position: fixed;
730
    z-index: 4;
731
    top: 0;
732
    left: 0;
733
    background-color: $theme-color-four;
734
    overflow-x: hidden;
735
    transition: 0.5s;
736
}
737

    
738
.sidenav a {
739
    text-decoration: none;
740
    color: $theme-color-five;
741
    display: block;
742
    transition: 0.3s;
743

    
744
    &:hover {
745
        color: $theme-color-four;
746
        background-color: $theme-color-one;
747
    }
748

    
749
    &:active, &:focus, .active {
750
        color: $theme-color-one;
751
        background-color: $theme-color-four;
752
    }
753
}
754

    
755
.bar-desktop{
756
    display: flex;
757
    align-items: center;
758
    min-width: 84vw;
759
    margin-left: 8vw;
760
    margin-right: 8vw;
761
}
762

    
763
.down {
764
    position: absolute;
765
    z-index: 5;
766
    bottom: 0;
767
    left: 0;
768
    width: 100%;
769
    margin-bottom: 3rem;
770
}
771

    
772
.menu-item{
773
    padding: 0.25rem 1.5rem;
774
    width: 100%;
775
    border: 0;
776
    &:active, &.active, &:focus{
777
        color: $theme-color-one;
778
        background-color: $theme-color-five;
779
        border: none;
780
        outline: none;
781
        box-shadow: none;
782
    }
783
}
784

    
785
.logo-kaplicky {
786
    text-align: center;
787
    display: none;
788
    &:active, &.active, &:focus{
789
        outline: none;
790
        box-shadow: none;
791
    }
792
}
793

    
794
.vertical-center {
795
    margin-top: -5.1rem; // fixed navbar correction
796
    min-height: 100vh;
797
    display: flex;
798
    align-items: center;
799
}
800

    
801
.error {
802
    color: $theme-color-one;
803
    font-size: xx-large;
804
    display: block;
805
    text-align: center;
806
}
807

    
808
// login and registration alert bottom margin
809
.al {
810
    margin-bottom: 3rem;
811
}
812

    
813
@media screen and (max-height: 450px) {
814
    .sidenav a {
815
        font-size: 18px;
816
    }
817
    .down {
818
        bottom: unset;
819
        margin-bottom: unset;
820
    }
821
}
822

    
823
@media (max-width: 990px) {
824
}
825

    
826
@media (max-width: 770px) {
827
}
828

    
829
@media only screen and (max-width: 540px) {
830
    .sidenav {
831
        width: 0;
832
    }
833
    .head-title.text-center h1 {
834
        font-size: 23pt;
835
        padding-top: 50pt;
836
        white-space: nowrap;
837
    }
838
    .logo-kaplicky{
839
        width: 100%;
840
        display: block;
841
    }
842
    .arrow {
843
        position: absolute;
844
        width: 0;
845
        height: 0;
846
        margin: 2rem;
847
        cursor: pointer;
848
        border: 0.59055rem solid transparent;
849
        &:active, &.active, &:focus{
850
            outline: none;
851
            box-shadow: none;
852
        }
853
    }
854
    .arrow-left {
855
        margin-left: 80%;
856

    
857
        border-right: 0.59055rem solid $theme-color-five;
858
        background-color: $theme-color-four !important;
859
    }
860
    .arrow-right {
861
        border-left: 0.59055rem solid $theme-color-four;
862

    
863
        position: fixed;
864
        z-index: 3;
865
        top: 0;
866
        left: 0;
867
    }
868
    .bar-desktop{
869
        display: none;
870
    }
871
    .menu-item:active, .menu-item.active{
872
        color: $theme-color-five;
873
        background-color: $theme-color-one;
874
    }
875

    
876

    
877
    /*.btn-circle.rounded-circle.btn-sm
878
    {
879
        width: 90px;
880
        height: 90px;
881
    }
882

    
883
    .btn-circle.rounded-circle.btn-dm
884
    {
885
        width: 130px;
886
        height: 130px;
887
    }
888

    
889
    .btn-circle.rounded-circle.btn-xl
890
    {
891
        width: 180px;
892
        height: 180px;
893
    }*/
894

    
895
    body {
896
        .carousel {
897
            .carousel-inner {
898
                .social-logo {
899
                    padding-left: 30px;
900
                    top: 20%;
901
                }
902
            }
903
        }
904
    }
905
}
906

    
907
@media (min-width: 330px) and (max-height: 900px) {
908
    body {
909
        .carousel {
910
            .carousel-inner {
911
                .social-logo {
912
                    top: 25%;
913
                }
914
            }
915
        }
916
    }
917
}
918

    
919
@media (min-width: 1024px) {
920

    
921
    body {
922
        .kaplicky{
923
            text-align: left !important;
924
            font-size: 24pt;
925
            line-height: 24pt;
926
        }
927

    
928
        .text {
929
            text-align: left;
930
            font-size: 18pt;
931
            line-height: 26pt;
932
        }
933

    
934
        .carousel {
935
            .carousel-inner {
936
                .social-logo {
937
                    justify-content: center;
938
                    top: 90%;
939

    
940
                    .logo {
941
                        margin-left: 10rem;
942

    
943
                        img {
944
                            width: 3.125rem;
945
                        }
946

    
947
                        &:first-child {
948
                            margin-left: 0;
949
                        }
950
                    }
951
                }
952
                .carousel-button {
953
                    transform: none;
954
                    left: 76%;
955
                    bottom: 20%;
956
                }
957
            }
958

    
959
            .carousel-caption{
960
                padding: 3.75rem 6.25rem 10em;
961

    
962
                h2 {
963
                    margin-bottom: 1rem;
964
                }
965
            }
966
        }
967

    
968
        .button-square {
969
            font-size: 18pt;
970
            width: 10.875rem;
971
            height: 2.938rem;
972
        }
973
    }
974
}
(1-1/3)