Projekt

Obecné

Profil

Stáhnout (19.5 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

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

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

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

    
60
        .carousel-caption {
61
            top: 50%;
62
            bottom: auto;
63
            transform: translateY(-50%);
64
            background-color: rgba(239, 218, 179, 0.5);
65
        }
66
    }
67

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

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

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

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

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

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

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

    
117
    ////color pro změnu jen barvy
118
    .black {
119
        color: $theme-color-five;
120
    }
121

    
122
    .white {
123
        color: $theme-color-one;
124
    }
125

    
126
    .colored {
127
        color: $theme-color-four;
128
    }
129

    
130

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

    
139
        .col-form-label {
140
            text-align: left;
141
            padding-top: 0;
142
            padding-bottom: 0;
143
        }
144

    
145
        .form-control {
146
            padding: 0;
147
            height: 17pt;
148
            border-radius: 0;
149

    
150
            &:focus {
151
                border-color: $theme-color-one;
152
                -webkit-box-shadow: none;
153
                box-shadow: none;
154
            }
155
        }
156
    }
157

    
158
    //Oprava barev pro Chrom
159
    input:-webkit-autofill {
160
        -webkit-box-shadow: 0 0 0 50px $theme-color-five inset !important;
161
        -webkit-text-fill-color: $theme-color-one;
162
        background-color: $theme-color-five !important;
163
        //outline: none !important;
164
        &:active, &:focus, &:visited, &:hover {
165
            -webkit-box-shadow: 0 0 0 50px $theme-color-five inset !important;
166
            -webkit-text-fill-color: $theme-color-one;
167
            background-color: $theme-color-five !important;
168
            //outline: none !important;
169
        }
170
    }
171

    
172
    .card-body {
173
        background-color: $theme-color-five;
174
        font-weight: $font-weight-one;
175
        color: $theme-color-four;
176
    }
177

    
178
    .form-control {
179
        background-color: $theme-color-five;
180
        margin-top: -1px;
181
        border-top-color: $theme-color-five;
182
        border-left-color: $theme-color-five;
183
        border-right-color: $theme-color-five;
184
        border-bottom-color: 0.5pt $theme-color-one;
185
        color: $theme-color-one;
186
        box-shadow: none;
187
        font-size: 8pt;
188
        outline: none;
189

    
190
        &:active, &:focus, &:visited, &:hover {
191
            outline: none;
192
            background-color: $theme-color-five;
193
            margin-top: -1px;
194
            border-top-color: $theme-color-five;
195
            border-left-color: $theme-color-five;
196
            border-right-color: $theme-color-five;
197
            border-bottom-color: 0.5pt $theme-color-one;
198
            color: $theme-color-one;
199
            box-shadow: none;
200
        }
201

    
202
    }
203

    
204
    .form-control.is-invalid {
205
        box-shadow: none;
206
        border-color: $theme-color-four;
207
        background-image: none;
208

    
209
        &:active, &:focus, &:visited {
210
            box-shadow: none;
211
            border-color: $theme-color-four;
212
        }
213
    }
214

    
215
    .button-square {
216
        font-size: 8pt;
217
        background-color: $theme-color-five;
218
        color: $theme-color-one;
219
        border: 0.5pt solid $theme-color-one;
220
        border-radius: 0;
221
        width: 6.5rem;
222
        height: 2rem;
223
        font-weight: $font-weight-one;
224

    
225
        &:active, &:focus, &:visited, &:hover {
226
            outline: none;
227
            box-shadow: none;
228
            color: $theme-color-one;
229
        }
230

    
231
        &:hover {
232
            color: $theme-color-four;
233
        }
234
    }
235

    
236
    //spendlik
237
    .pin-left:before {
238
        content: '';
239
        position: relative;
240
        height: 0.35433rem;
241
        width: 0.35433rem;
242
        background-color: $theme-color-one;
243
        border-radius: 50%;
244
        display: inline-block;
245
        top: -0.35433rem;
246
        left: -0.2rem;
247
    }
248

    
249
    .pin-left {
250
        border-left: .5pt solid $theme-color-four;
251
        position: fixed;
252
        bottom: 0;
253
        text-align: left;
254

    
255
        // center fixed div
256
        left: 50%;
257
        transform: translateX(-50%);
258
        width: 70%;
259

    
260
        .text {
261
            margin-left: 0.5rem;
262
            margin-bottom: 0.2rem; // looks fugly without margin
263
        }
264

    
265
        p {
266
            margin-top: 0;
267
            margin-bottom: 0;
268
        }
269
    }
270

    
271
    li {
272
        list-style-type: none;
273
    }
274

    
275
    .button-image {
276
        background-color: transparent;
277
        border-color: transparent;
278

    
279
        &:before {
280
            content: "";
281
            width: 100px;
282
            height: 100px;
283
            display: inline-block;
284
            margin-right: 5px;
285
            vertical-align: text-top;
286
            background-color: transparent;
287
            background-position: center center;
288
            background-repeat: no-repeat;
289
        }
290
    }
291

    
292
    .artefacts-area, .artefact-area {
293

    
294
        h5 {
295
            color: $theme-color-two;
296
            font-weight: $font-weight-two;
297
            line-height: 20pt;
298
            font-size: 21pt;
299
        }
300

    
301
        h6 {
302
            color: $theme-color-two;
303
            font-size: 14pt;
304
            //font-weight: lighter;
305
            font-weight: $font-weight-one;
306
        }
307

    
308
        img {
309
            border: transparent;
310
            border-radius: 1px;
311
        }
312

    
313
        .card {
314
            margin: 10px;
315
            border: none !important;
316
        }
317

    
318
        .left_panel_info {
319
            margin-top: 15px;
320
            margin-left: -10px;
321
            max-width: 250px;
322
        }
323

    
324
        .right_panel_info {
325
            margin-top: 15px;
326
            margin-right: -15px;
327
        }
328

    
329
        .card-cus-bottom {
330
            background-color: $theme-color-five;
331
        }
332

    
333
        .inter_info {
334
            &:before {
335
                background-image: url(../images/interface/Button_Info_50.png);
336
                width: 60px;
337
                height: 60px;
338
            }
339
        }
340

    
341
        .inter_like {
342
            display: none;
343

    
344
            &:before {
345
                background-image: url(../images/interface/Hearth_Empty_50.png);
346
                width: 60px;
347
                height: 60px;
348
            }
349
        }
350

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

    
359
        .inter_info, .inter_like, .inter_like_filled {
360
            padding: 0;
361

    
362
            &:focus, &:active, &:hover {
363
                background-color: transparent !important;
364
                border-color: transparent !important;
365
                outline: none !important;
366
                box-shadow: none !important;
367
            }
368
        ;
369
        }
370
    }
371

    
372
    // Artefact area
373
    .artefact-area {
374

    
375
        .card-cus-bottom {
376
            .left_panel_info, .right_panel_info {
377
                margin: 0.9375rem 0 0 0;
378
            }
379

    
380
            .right_panel_info {
381
                .float-right {
382
                    margin-right: -0.35rem;
383
                }
384
            }
385
        }
386

    
387
        .artefact-name {
388
            font-weight: $font-weight-two;
389
            font-size: 8pt;
390
            line-height: 10pt;
391
            margin-bottom: 0;
392
        }
393

    
394
        .artefact-author {
395
            font-size: 7pt;
396
            line-height: 8pt;
397
        }
398

    
399
        .inter_like {
400
            display: block;
401

    
402
            &:before {
403
                background-image: url(../images/interface/Heart_Empty.svg);
404
                width: 1.563rem;
405
                height: 1.25rem;
406
            }
407
        }
408

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

    
417
        .inter_info {
418

    
419
            padding-right: 1rem;
420

    
421
            &:before {
422
                background-image: url(../images/interface/Button_Info.svg);
423
                width: 1.875rem;
424
                height: 1.875rem;
425
            }
426
        }
427

    
428
        .artefact-likes {
429
            font-weight: $font-weight-two;
430
            font-size: 5pt;
431
            padding-right: 0.25rem;
432
        }
433
    }
434

    
435
    // Metadata area
436
    .metadata-area {
437

    
438
        h2 {
439
            color: $theme-color-two;
440
            font-weight: $font-weight-two;
441
            font-size: 12pt;
442
        }
443

    
444
        .arrow-down {
445
            position: fixed;
446
            top: 0.25rem;
447
            right: 0;
448
            margin: 2rem;
449
            width: 0;
450
            height: 0;
451
            border-left: 0.59055rem solid transparent;
452
            border-right: 0.59055rem solid transparent;
453
            border-top: 0.59055rem solid $theme-color-two;
454
        }
455

    
456
        .pin-horizontal {
457
            color: $theme-color-two;
458
            border-bottom: .042rem solid $theme-color-two;
459
            display: inline-block;
460
            margin: 2.75rem 3.125rem 0 0;
461

    
462
            &:after {
463
                content: '';
464
                background-color: #ddd1b9;
465
                position: relative;
466
                height: .5rem;
467
                width: .5rem;
468
                border-radius: 50%;
469
                display: block;
470
                margin-left: auto;
471
                top: .25rem;
472
            }
473

    
474
            .metadata {
475
                position: relative;
476
                display: flex;
477
                align-items: baseline;
478

    
479
                span {
480
                    font-weight: $font-weight-two;
481
                }
482

    
483
                .arrow-down {
484
                    position: relative;
485
                    top: 0;
486
                    right: 0;
487
                    width: 0;
488
                    height: 0;
489
                    border-left: 0.25rem solid transparent;
490
                    border-right: 0.25rem solid transparent;
491
                    border-top: 0.25rem solid $theme-color-two;
492
                    margin: 0 0.5rem 0 0.5rem;
493
                }
494
            }
495
        }
496

    
497
        .white-pin {
498
            color: $theme-color-one;
499
            border-bottom: .042rem solid $theme-color-one;
500

    
501
            &:before {
502
                content: '';
503
                background-color: $theme-color-one;
504
            }
505

    
506
            .metadata {
507
                .arrow-down {
508
                    border-top: 0.25rem solid $theme-color-one;
509
                }
510
            }
511
        }
512

    
513
        .metadata-text {
514
            font-size: 8pt;
515
            color: $theme-color-one;
516
            padding-top: 10px;
517
            padding-left: 25px;
518
            padding-right: 25px;
519

    
520
            .artefact-info {
521
                color: $theme-color-two;
522
                margin-top: 10px;
523

    
524
                .artefact-name {
525
                    font-weight: $font-weight-two;
526
                    font-size: 8pt;
527
                }
528

    
529
                .artefact-author {
530
                    font-weight: $font-weight-one;
531
                    font-size: 7pt;
532
                }
533

    
534
                .inter_like {
535

    
536
                    &:before {
537
                        background-image: url(../images/interface/Heart_Empty.svg);
538
                        width: 3.125rem;
539
                        height: 3.125rem;
540
                        margin-right: 0;
541
                    }
542

    
543
                    &:hover, &:focus, &:active {
544
                        background-color: transparent !important;
545
                        border-color: transparent !important;
546
                        outline: none !important;
547
                        box-shadow: none !important;
548
                    }
549
                }
550

    
551
                .inter_like_filled {
552

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

    
560
                    &:hover, &:focus, &:active {
561
                        background-color: transparent !important;
562
                        border-color: transparent !important;
563
                        outline: none !important;
564
                        box-shadow: none !important;
565
                    }
566
                }
567
            }
568
        }
569
    }
570

    
571
    // Modal
572
    .modal {
573
        font-weight: $font-weight-one;
574
        color: $theme-color-two;
575
        font-size: 8pt;
576

    
577
        .modal-header {
578
            border-bottom: 1px solid $theme-color-two;
579

    
580
            .close {
581
                color: $theme-color-two;
582
                text-shadow: none;
583
            }
584
        }
585

    
586
        .modal-content {
587
            background-color: $theme-color-five;
588
        }
589

    
590
        .modal-footer {
591
            border-top: 1px solid $theme-color-two;
592

    
593
            .btn {
594
                background-color: $theme-color-two;
595
                color: $theme-color-five;
596

    
597
            }
598
        }
599
    }
600

    
601
    .image-modal {
602
        .close {
603
            font-size: 24pt;
604
            color: $theme-color-two;
605
            text-shadow: none;
606
            position: absolute;
607
            top: 1rem;
608
            right: 0.125rem;
609
            opacity: 1;
610
            cursor: pointer;
611
            pointer-events: initial;
612
        }
613
    }
614

    
615
    /*.content {
616
        position: relative;
617

    
618
        //Circle style button
619
        .btn-circle.rounded-circle {
620
            padding: 6px 0px;
621
            font-size: 16px;
622
            text-align: center;
623
        }
624
        .btn-categories
625
        {
626
            position: absolute;
627
            border-width: 5px;
628
            background-color: $theme-color-five;
629
            border-color: $theme-color-four;
630
            color:$theme-color-four;
631
            outline: none !important;
632
            box-shadow: none !important;
633
            font-weight: $font-weight-two;
634

    
635
            &:active
636
            {
637
                background-color: $theme-color-three;
638
                border-color: $theme-color-four;
639
                outline: none !important;
640
                box-shadow: none !important;
641
                color:$theme-color-five;
642
            }
643
        }
644
    }*/
645

    
646
    //CATEGORIES - ROW BLOCK
647
    .cat-col-md-2 {
648
        margin: 2%;
649
    }
650

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

    
664
        //FONT
665
        font-size: 8mm;
666
        word-wrap: break-word;
667

    
668
        //SPACING
669
        height: 40mm;
670
        width: 100%;
671

    
672
        &:active, &:focus {
673
            background-color: $theme-color-three;
674
            border-color: $theme-color-four;
675
            outline: none !important;
676
            box-shadow: none !important;
677
            color: $theme-color-five;
678
        }
679
    }
680

    
681
    //CATEGORY/{id} -h2 title NO ARTEFACTS
682
    .category-h2 {
683
        color: $theme-color-four;
684
    }
685
}
686

    
687
.arrow {
688
    position: absolute;
689
    width: 0;
690
    height: 0;
691
    margin: 2rem;
692
    cursor: pointer;
693
    border: 0.59055rem solid transparent;
694
}
695

    
696
.top-bar {
697
    background-color: $theme-color-five;
698
    height: 5rem;
699
    position: fixed;
700
    width: 100%;
701
    top: 0;
702
    z-index: 2;
703
}
704

    
705
.arrow-left {
706
    margin-left: 80%;
707

    
708
    border-right: 0.59055rem solid $theme-color-five;
709
    background-color: $theme-color-four !important;
710
}
711

    
712
.arrow-right {
713
    border-left: 0.59055rem solid $theme-color-four;
714

    
715
    position: fixed;
716
    z-index: 3;
717
    top: 0;
718
    left: 0;
719
}
720

    
721
.separator {
722
    border-bottom: 1px solid $theme-color-five;
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
.dropdown-item.active, .dropdown-item:active {
756
    color: $theme-color-five;
757
    background-color: $theme-color-one;
758
}
759

    
760
.logo-kaplicky {
761
    display: block;
762
    text-align: center;
763
}
764

    
765
.vertical-center {
766
    margin-top: -5.1rem; // fixed navbar correction
767
    min-height: 100vh;
768
    display: flex;
769
    align-items: center;
770
}
771

    
772
.error {
773
    color: $theme-color-one;
774
    font-size: xx-large;
775
    display: block;
776
    text-align: center;
777
}
778

    
779
// login and registration alert bottom margin
780
.al {
781
    margin-bottom: 3rem;
782
}
783

    
784
@media screen and (max-height: 450px) {
785
    .sidenav a {
786
        font-size: 18px;
787
    }
788
}
789

    
790
@media (max-width: 990px) {
791
}
792

    
793
@media (max-width: 770px) {
794
}
795

    
796
@media only screen and (max-width: 540px) {
797
    .sidenav {
798
        width: 0;
799
    }
800
    .head-title.text-center h1 {
801
        font-size: 23pt;
802
        padding-top: 50pt;
803
        white-space: nowrap;
804

    
805
    }
806

    
807
    /*.btn-circle.rounded-circle.btn-sm
808
    {
809
        width: 90px;
810
        height: 90px;
811
    }
812

    
813
    .btn-circle.rounded-circle.btn-dm
814
    {
815
        width: 130px;
816
        height: 130px;
817
    }
818

    
819
    .btn-circle.rounded-circle.btn-xl
820
    {
821
        width: 180px;
822
        height: 180px;
823
    }*/
824

    
825
    body {
826
        .carousel {
827
            .carousel-inner {
828
                .social-logo {
829
                    padding-left: 30px;
830
                    top: 20%;
831
                }
832
            }
833
        }
834
    }
835
}
836

    
837
@media (min-width: 330px) and (max-height: 900px) {
838
    body {
839
        .carousel {
840
            .carousel-inner {
841
                .social-logo {
842
                    top: 25%;
843
                }
844
            }
845
        }
846
    }
847
}
(1-1/3)