Projekt

Obecné

Profil

Stáhnout (20.9 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
}
709

    
710
.arrow-left {
711
    margin-left: 80%;
712

    
713
    border-right: 0.59055rem solid $theme-color-five;
714
    background-color: $theme-color-four !important;
715
}
716

    
717
.arrow-right {
718
    border-left: 0.59055rem solid $theme-color-four;
719

    
720
    position: fixed;
721
    z-index: 3;
722
    top: 0;
723
    left: 0;
724
}
725

    
726
.separator {
727
    border-bottom: 1px solid $theme-color-five;
728
}
729

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

    
743
.sidenav a {
744
    text-decoration: none;
745
    color: $theme-color-five;
746
    display: block;
747
    transition: 0.3s;
748

    
749
    &:hover {
750
        color: $theme-color-four;
751
        background-color: $theme-color-one;
752
    }
753

    
754
    &:active, &:focus, .active {
755
        color: $theme-color-one;
756
        background-color: $theme-color-four;
757
    }
758
}
759

    
760
.dropdown-item.active, .dropdown-item:active {
761
    color: $theme-color-five;
762
    background-color: $theme-color-one;
763
}
764

    
765
.logo-kaplicky {
766
    display: block;
767
    text-align: center;
768
    width: 100%;
769
}
770

    
771
.vertical-center {
772
    margin-top: -5.1rem; // fixed navbar correction
773
    min-height: 100vh;
774
    display: flex;
775
    align-items: center;
776
}
777

    
778
.error {
779
    color: $theme-color-one;
780
    font-size: xx-large;
781
    display: block;
782
    text-align: center;
783
}
784

    
785
// login and registration alert bottom margin
786
.al {
787
    margin-bottom: 3rem;
788
}
789

    
790
@media screen and (max-height: 450px) {
791
    .sidenav a {
792
        font-size: 18px;
793
    }
794
}
795

    
796
@media (max-width: 990px) {
797
}
798

    
799
@media (max-width: 770px) {
800
}
801

    
802
@media only screen and (max-width: 540px) {
803
    .sidenav {
804
        width: 0;
805
    }
806
    .head-title.text-center h1 {
807
        font-size: 23pt;
808
        padding-top: 50pt;
809
        white-space: nowrap;
810

    
811
    }
812

    
813
    /*.btn-circle.rounded-circle.btn-sm
814
    {
815
        width: 90px;
816
        height: 90px;
817
    }
818

    
819
    .btn-circle.rounded-circle.btn-dm
820
    {
821
        width: 130px;
822
        height: 130px;
823
    }
824

    
825
    .btn-circle.rounded-circle.btn-xl
826
    {
827
        width: 180px;
828
        height: 180px;
829
    }*/
830

    
831
    body {
832
        .carousel {
833
            .carousel-inner {
834
                .social-logo {
835
                    padding-left: 30px;
836
                    top: 20%;
837
                }
838
            }
839
        }
840
    }
841
}
842

    
843
@media (min-width: 330px) and (max-height: 900px) {
844
    body {
845
        .carousel {
846
            .carousel-inner {
847
                .social-logo {
848
                    top: 25%;
849
                }
850
            }
851
        }
852
    }
853
}
854

    
855
@media (min-width: 1024px) {
856

    
857
    body {
858
        .kaplicky{
859
            text-align: left !important;
860
            font-size: 24pt;
861
            line-height: 24pt;
862
        }
863

    
864
        .text {
865
            text-align: left;
866
            font-size: 18pt;
867
            line-height: 26pt;
868
        }
869

    
870
        .carousel {
871
            .carousel-inner {
872
                .social-logo {
873
                    justify-content: center;
874
                    top: 90%;
875

    
876
                    .logo {
877
                        margin-left: 10rem;
878

    
879
                        img {
880
                            width: 3.125rem;
881
                        }
882

    
883
                        &:first-child {
884
                            margin-left: 0;
885
                        }
886
                    }
887
                }
888
                .carousel-button {
889
                    transform: none;
890
                    left: 76%;
891
                    bottom: 20%;
892
                }
893
            }
894

    
895
            .carousel-caption{
896
                padding: 3.75rem 6.25rem 10em;
897

    
898
                h2 {
899
                    margin-bottom: 1rem;
900
                }
901
            }
902
        }
903

    
904
        .button-square {
905
            font-size: 18pt;
906
            width: 10.875rem;
907
            height: 2.938rem;
908
        }
909
    }
910
}
(1-1/3)