Projekt

Obecné

Profil

Stáhnout (21.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
    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
    //název metadata, text pravého menu
120
    .text-page {
121
        font-weight: $font-weight-two;
122
        font-size: 7pt;
123
    }
124

    
125
    ////color pro změnu jen barvy
126
    .black {
127
        color: $theme-color-five;
128
    }
129

    
130
    .white {
131
        color: $theme-color-one;
132
    }
133

    
134
    .colored {
135
        color: $theme-color-four;
136
    }
137

    
138

    
139
    ////login
140
    .auth {
141
        .card {
142
            border: none;
143
            text-align: center;
144
            font-size: 8pt;
145
        }
146

    
147
        .col-form-label {
148
            text-align: left;
149
            padding-top: 0;
150
            padding-bottom: 0;
151
        }
152

    
153
        .form-control {
154
            padding: 0;
155
            height: 17pt;
156
            border-radius: 0;
157

    
158
            &:focus {
159
                border-color: $theme-color-one;
160
                -webkit-box-shadow: none;
161
                box-shadow: none;
162
            }
163
        }
164
    }
165

    
166
    //Oprava barev pro Chrom
167
    input:-webkit-autofill {
168
        -webkit-box-shadow: 0 0 0 50px $theme-color-five inset !important;
169
        -webkit-text-fill-color: $theme-color-one;
170
        background-color: $theme-color-five !important;
171
        //outline: none !important;
172
        &:active, &:focus, &:visited, &:hover {
173
            -webkit-box-shadow: 0 0 0 50px $theme-color-five inset !important;
174
            -webkit-text-fill-color: $theme-color-one;
175
            background-color: $theme-color-five !important;
176
            //outline: none !important;
177
        }
178
    }
179

    
180
    .card-body {
181
        background-color: $theme-color-five;
182
        font-weight: $font-weight-one;
183
        color: $theme-color-four;
184
    }
185

    
186
    .form-control {
187
        background-color: $theme-color-five;
188
        margin-top: -1px;
189
        border-top-color: $theme-color-five;
190
        border-left-color: $theme-color-five;
191
        border-right-color: $theme-color-five;
192
        border-bottom-color: 0.5pt $theme-color-one;
193
        color: $theme-color-one;
194
        box-shadow: none;
195
        font-size: 8pt;
196
        outline: none;
197

    
198
        &:active, &:focus, &:visited, &:hover {
199
            outline: none;
200
            background-color: $theme-color-five;
201
            margin-top: -1px;
202
            border-top-color: $theme-color-five;
203
            border-left-color: $theme-color-five;
204
            border-right-color: $theme-color-five;
205
            border-bottom-color: 0.5pt $theme-color-one;
206
            color: $theme-color-one;
207
            box-shadow: none;
208
        }
209

    
210
    }
211

    
212
    .form-control.is-invalid {
213
        box-shadow: none;
214
        border-color: $theme-color-four;
215
        background-image: none;
216

    
217
        &:active, &:focus, &:visited {
218
            box-shadow: none;
219
            border-color: $theme-color-four;
220
        }
221
    }
222

    
223
    .button-square {
224
        font-size: 8pt;
225
        background-color: $theme-color-five;
226
        color: $theme-color-one;
227
        border: 0.5pt solid $theme-color-one;
228
        border-radius: 0;
229
        width: 6.5rem;
230
        height: 2rem;
231
        font-weight: $font-weight-one;
232

    
233
        &:active, &:focus, &:visited, &:hover {
234
            outline: none;
235
            box-shadow: none;
236
            color: $theme-color-one;
237
        }
238

    
239
        &:hover {
240
            color: $theme-color-four;
241
        }
242
    }
243

    
244
    //spendlik
245
    .pin-left:before {
246
        content: '';
247
        position: relative;
248
        height: 0.35433rem;
249
        width: 0.35433rem;
250
        background-color: $theme-color-one;
251
        border-radius: 50%;
252
        display: inline-block;
253
        top: -0.35433rem;
254
        left: -0.2rem;
255
    }
256

    
257
    .pin-left {
258
        border-left: .5pt solid $theme-color-four;
259
        position: fixed;
260
        bottom: 0;
261
        text-align: left;
262

    
263
        // center fixed div
264
        left: 50%;
265
        transform: translateX(-50%);
266
        width: 70%;
267

    
268
        .text {
269
            margin-left: 0.5rem;
270
            margin-bottom: 0.2rem; // looks fugly without margin
271
        }
272

    
273
        p {
274
            margin-top: 0;
275
            margin-bottom: 0;
276
        }
277
    }
278

    
279
    li {
280
        list-style-type: none;
281
    }
282

    
283
    .button-image {
284
        background-color: transparent;
285
        border-color: transparent;
286

    
287
        &:before {
288
            content: "";
289
            width: 100px;
290
            height: 100px;
291
            display: inline-block;
292
            margin-right: 5px;
293
            vertical-align: text-top;
294
            background-color: transparent;
295
            background-position: center center;
296
            background-repeat: no-repeat;
297
        }
298
    }
299

    
300
    .artefacts-area, .artefact-area {
301

    
302
        h5 {
303
            color: $theme-color-two;
304
            font-weight: $font-weight-two;
305
            line-height: 20pt;
306
            font-size: 21pt;
307
        }
308

    
309
        h6 {
310
            color: $theme-color-two;
311
            font-size: 14pt;
312
            //font-weight: lighter;
313
            font-weight: $font-weight-one;
314
        }
315

    
316
        img {
317
            border: transparent;
318
            border-radius: 1px;
319
        }
320

    
321
        .card {
322
            margin: 10px;
323
            border: none !important;
324
        }
325

    
326
        .left_panel_info {
327
            margin-top: 15px;
328
            margin-left: -10px;
329
            max-width: 250px;
330
        }
331

    
332
        .right_panel_info {
333
            margin-top: 15px;
334
            margin-right: -15px;
335
        }
336

    
337
        .card-cus-bottom {
338
            background-color: $theme-color-five;
339
        }
340

    
341
        .inter_info {
342
            &:before {
343
                background-image: url(../images/interface/Button_Info_50.png);
344
                width: 60px;
345
                height: 60px;
346
            }
347
        }
348

    
349
        .inter_like {
350
            display: none;
351

    
352
            &:before {
353
                background-image: url(../images/interface/Hearth_Empty_50.png);
354
                width: 60px;
355
                height: 60px;
356
            }
357
        }
358

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

    
367
        .inter_info, .inter_like, .inter_like_filled {
368
            padding: 0;
369

    
370
            &:focus, &:active, &:hover {
371
                background-color: transparent !important;
372
                border-color: transparent !important;
373
                outline: none !important;
374
                box-shadow: none !important;
375
            }
376
        ;
377
        }
378
    }
379

    
380
    // Artefact area
381
    .artefact-area {
382

    
383
        .card-cus-bottom {
384
            .left_panel_info, .right_panel_info {
385
                margin: 0.9375rem 0 0 0;
386
            }
387

    
388
            .right_panel_info {
389
                .float-right {
390
                    margin-right: -0.35rem;
391
                }
392
            }
393
        }
394

    
395
        .artefact-name {
396
            font-weight: $font-weight-two;
397
            font-size: 8pt;
398
            line-height: 10pt;
399
            margin-bottom: 0;
400
        }
401

    
402
        .artefact-author {
403
            font-size: 7pt;
404
            line-height: 8pt;
405
        }
406

    
407
        .inter_like {
408
            display: block;
409

    
410
            &:before {
411
                background-image: url(../images/interface/Heart_Empty.svg);
412
                width: 1.563rem;
413
                height: 1.25rem;
414
            }
415
        }
416

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

    
425
        .inter_info {
426

    
427
            padding-right: 1rem;
428

    
429
            &:before {
430
                background-image: url(../images/interface/Button_Info.svg);
431
                width: 1.875rem;
432
                height: 1.875rem;
433
            }
434
        }
435

    
436
        .artefact-likes {
437
            font-weight: $font-weight-two;
438
            font-size: 5pt;
439
            padding-right: 0.25rem;
440
        }
441
    }
442

    
443
    // Metadata area
444
    .metadata-area {
445

    
446
        h2 {
447
            color: $theme-color-two;
448
            font-weight: $font-weight-two;
449
            font-size: 12pt;
450
        }
451

    
452
        .arrow-down {
453
            position: fixed;
454
            top: 0.25rem;
455
            right: 0;
456
            margin: 2rem;
457
            width: 0;
458
            height: 0;
459
            border-left: 0.59055rem solid transparent;
460
            border-right: 0.59055rem solid transparent;
461
            border-top: 0.59055rem solid $theme-color-two;
462
        }
463

    
464
        .pin-horizontal {
465
            color: $theme-color-two;
466
            border-bottom: .042rem solid $theme-color-two;
467
            display: inline-block;
468
            margin: 2.75rem 3.125rem 0 0;
469

    
470
            &:after {
471
                content: '';
472
                background-color: #ddd1b9;
473
                position: relative;
474
                height: .5rem;
475
                width: .5rem;
476
                border-radius: 50%;
477
                display: block;
478
                margin-left: auto;
479
                top: .25rem;
480
            }
481

    
482
            .metadata {
483
                position: relative;
484
                display: flex;
485
                align-items: baseline;
486

    
487
                span {
488
                    font-weight: $font-weight-two;
489
                }
490

    
491
                .arrow-down {
492
                    position: relative;
493
                    top: 0;
494
                    right: 0;
495
                    width: 0;
496
                    height: 0;
497
                    border-left: 0.25rem solid transparent;
498
                    border-right: 0.25rem solid transparent;
499
                    border-top: 0.25rem solid $theme-color-two;
500
                    margin: 0 0.5rem 0 0.5rem;
501
                }
502
            }
503
        }
504

    
505
        .white-pin {
506
            color: $theme-color-one;
507
            border-bottom: .042rem solid $theme-color-one;
508

    
509
            &:before {
510
                content: '';
511
                background-color: $theme-color-one;
512
            }
513

    
514
            .metadata {
515
                .arrow-down {
516
                    border-top: 0.25rem solid $theme-color-one;
517
                }
518
            }
519
        }
520

    
521
        .metadata-text {
522
            font-size: 8pt;
523
            color: $theme-color-one;
524
            padding-top: 10px;
525
            padding-left: 25px;
526
            padding-right: 25px;
527

    
528
            .artefact-info {
529
                color: $theme-color-two;
530
                margin-top: 10px;
531

    
532
                .artefact-name {
533
                    font-weight: $font-weight-two;
534
                    font-size: 8pt;
535
                }
536

    
537
                .artefact-author {
538
                    font-weight: $font-weight-one;
539
                    font-size: 7pt;
540
                }
541

    
542
                .inter_like {
543

    
544
                    &:before {
545
                        background-image: url(../images/interface/Heart_Empty.svg);
546
                        width: 3.125rem;
547
                        height: 3.125rem;
548
                        margin-right: 0;
549
                    }
550

    
551
                    &:hover, &:focus, &:active {
552
                        background-color: transparent !important;
553
                        border-color: transparent !important;
554
                        outline: none !important;
555
                        box-shadow: none !important;
556
                    }
557
                }
558

    
559
                .inter_like_filled {
560

    
561
                    &:before {
562
                        background-image: url(../images/interface/Heart_Filled.svg);
563
                        width: 3.125rem;
564
                        height: 3.125rem;
565
                        margin-right: 0;
566
                    }
567

    
568
                    &:hover, &:focus, &:active {
569
                        background-color: transparent !important;
570
                        border-color: transparent !important;
571
                        outline: none !important;
572
                        box-shadow: none !important;
573
                    }
574
                }
575
            }
576
        }
577
    }
578

    
579
    // Modal
580
    .modal {
581
        font-weight: $font-weight-one;
582
        color: $theme-color-two;
583
        font-size: 8pt;
584

    
585
        .modal-header {
586
            border-bottom: 1px solid $theme-color-two;
587

    
588
            .close {
589
                color: $theme-color-two;
590
                text-shadow: none;
591
            }
592
        }
593

    
594
        .modal-content {
595
            background-color: $theme-color-five;
596
        }
597

    
598
        .modal-footer {
599
            border-top: 1px solid $theme-color-two;
600

    
601
            .btn {
602
                background-color: $theme-color-two;
603
                color: $theme-color-five;
604

    
605
            }
606
        }
607
    }
608

    
609
    .image-modal {
610
        .close {
611
            font-size: 24pt;
612
            color: $theme-color-two;
613
            text-shadow: none;
614
            position: absolute;
615
            top: 1rem;
616
            right: 0.125rem;
617
            opacity: 1;
618
            cursor: pointer;
619
            pointer-events: initial;
620
        }
621
    }
622

    
623
    /*.content {
624
        position: relative;
625

    
626
        //Circle style button
627
        .btn-circle.rounded-circle {
628
            padding: 6px 0px;
629
            font-size: 16px;
630
            text-align: center;
631
        }
632
        .btn-categories
633
        {
634
            position: absolute;
635
            border-width: 5px;
636
            background-color: $theme-color-five;
637
            border-color: $theme-color-four;
638
            color:$theme-color-four;
639
            outline: none !important;
640
            box-shadow: none !important;
641
            font-weight: $font-weight-two;
642

    
643
            &:active
644
            {
645
                background-color: $theme-color-three;
646
                border-color: $theme-color-four;
647
                outline: none !important;
648
                box-shadow: none !important;
649
                color:$theme-color-five;
650
            }
651
        }
652
    }*/
653

    
654
    //CATEGORIES - TILES
655
    .btn.btn-dark.cat-tile {
656
        //STYLING
657
        border-color: $theme-color-four;
658
        border-radius: 0;
659
        border-style: solid;
660
        border-width: 2px;
661
        color: $theme-color-four;
662
        background-color: $theme-color-five;
663
        text-align: center;
664
        outline: none !important;
665
        box-shadow: none !important;
666

    
667
        //TEXT OVERFLOW
668
        overflow: hidden;
669
        text-overflow: ellipsis;
670

    
671
        //FONT
672
        font-size: 22pt;
673

    
674
        //SPACING
675
        padding: 4rem 0.5rem;
676

    
677
        &:active, &:focus {
678
            background-color: $theme-color-three;
679
            border-color: $theme-color-four;
680
            outline: none !important;
681
            box-shadow: none !important;
682
            color: $theme-color-five;
683
        }
684
    }
685

    
686
    //CATEGORY/{id} -h2 title NO ARTEFACTS
687
    .category-h2 {
688
        color: $theme-color-four;
689
    }
690
}
691

    
692
.arrow {
693
    position: absolute;
694
    width: 0;
695
    height: 0;
696
    margin: 2rem;
697
    cursor: pointer;
698
    border: 0.59055rem solid transparent;
699
}
700

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

    
713
.arrow-left {
714
    margin-left: 80%;
715

    
716
    border-right: 0.59055rem solid $theme-color-five;
717
    background-color: $theme-color-four !important;
718
}
719

    
720
.arrow-right {
721
    border-left: 0.59055rem solid $theme-color-four;
722

    
723
    position: fixed;
724
    z-index: 3;
725
    top: 0;
726
    left: 0;
727
}
728

    
729
.separator {
730
    position: relative;
731
    z-index : 5;
732
    &:before{
733
        width: 50%;
734
        content : "";
735
        position: absolute;
736
        left    : 0;
737
        bottom  : 0;
738
        height  : 1px;
739
        border-bottom:1px solid $theme-color-five;
740
    }
741
}
742

    
743
.sidenav {
744
    height: 100%;
745
    //width: 0;
746
    width: 250px;
747
    position: fixed;
748
    z-index: 4;
749
    top: 0;
750
    left: 0;
751
    background-color: $theme-color-four;
752
    overflow-x: hidden;
753
    transition: 0.5s;
754
}
755

    
756
.sidenav a {
757
    text-decoration: none;
758
    color: $theme-color-five;
759
    display: block;
760
    transition: 0.3s;
761

    
762
    &:hover {
763
        color: $theme-color-four;
764
        background-color: $theme-color-one;
765
    }
766

    
767
    &:active, &:focus, .active {
768
        color: $theme-color-one;
769
        background-color: $theme-color-four;
770
    }
771
}
772

    
773
.down {
774
    position: absolute;
775
    z-index: 5;
776
    bottom: 0;
777
    left: 0;
778
    width: 100%;
779
    margin-bottom: 3rem;
780
}
781

    
782
.menu-item{
783
    padding: 0.25rem 1.5rem;
784
    width: 100%;
785
    border: 0;
786
}
787

    
788
.menu-item.active, .menu-item:active {
789
    color: $theme-color-five;
790
    background-color: $theme-color-one;
791
}
792

    
793
.logo-kaplicky {
794
    display: block;
795
    text-align: center;
796
    width: 100%;
797
}
798

    
799
.vertical-center {
800
    margin-top: -5.1rem; // fixed navbar correction
801
    min-height: 100vh;
802
    display: flex;
803
    align-items: center;
804
}
805

    
806
.error {
807
    color: $theme-color-one;
808
    font-size: xx-large;
809
    display: block;
810
    text-align: center;
811
}
812

    
813
// login and registration alert bottom margin
814
.al {
815
    margin-bottom: 3rem;
816
}
817

    
818
@media screen and (max-height: 450px) {
819
    .sidenav a {
820
        font-size: 18px;
821
    }
822
    .down {
823
        bottom: unset;
824
        margin-bottom: unset;
825
    }
826
}
827

    
828
@media (max-width: 990px) {
829
}
830

    
831
@media (max-width: 770px) {
832
}
833

    
834
@media only screen and (max-width: 540px) {
835
    .sidenav {
836
        width: 0;
837
    }
838
    .head-title.text-center h1 {
839
        font-size: 23pt;
840
        padding-top: 50pt;
841
        white-space: nowrap;
842

    
843
    }
844

    
845
    /*.btn-circle.rounded-circle.btn-sm
846
    {
847
        width: 90px;
848
        height: 90px;
849
    }
850

    
851
    .btn-circle.rounded-circle.btn-dm
852
    {
853
        width: 130px;
854
        height: 130px;
855
    }
856

    
857
    .btn-circle.rounded-circle.btn-xl
858
    {
859
        width: 180px;
860
        height: 180px;
861
    }*/
862

    
863
    body {
864
        .carousel {
865
            .carousel-inner {
866
                .social-logo {
867
                    padding-left: 30px;
868
                    top: 20%;
869
                }
870
            }
871
        }
872
    }
873
}
874

    
875
@media (min-width: 330px) and (max-height: 900px) {
876
    body {
877
        .carousel {
878
            .carousel-inner {
879
                .social-logo {
880
                    top: 25%;
881
                }
882
            }
883
        }
884
    }
885
}
886

    
887
@media (min-width: 1024px) {
888

    
889
    body {
890
        .kaplicky{
891
            text-align: left !important;
892
            font-size: 24pt;
893
            line-height: 24pt;
894
        }
895

    
896
        .text {
897
            text-align: left;
898
            font-size: 18pt;
899
            line-height: 26pt;
900
        }
901

    
902
        .carousel {
903
            .carousel-inner {
904
                .social-logo {
905
                    justify-content: center;
906
                    top: 90%;
907

    
908
                    .logo {
909
                        margin-left: 10rem;
910

    
911
                        img {
912
                            width: 3.125rem;
913
                        }
914

    
915
                        &:first-child {
916
                            margin-left: 0;
917
                        }
918
                    }
919
                }
920
                .carousel-button {
921
                    transform: none;
922
                    left: 76%;
923
                    bottom: 20%;
924
                }
925
            }
926

    
927
            .carousel-caption{
928
                padding: 3.75rem 6.25rem 10em;
929

    
930
                h2 {
931
                    margin-bottom: 1rem;
932
                }
933
            }
934
        }
935

    
936
        .button-square {
937
            font-size: 18pt;
938
            width: 10.875rem;
939
            height: 2.938rem;
940
        }
941
    }
942
}
(1-1/3)