Projekt

Obecné

Profil

Stáhnout (21.2 KB) Statistiky
| Větev: | Tag: | Revize:
1
// Variables
2
@import 'variables';
3

    
4
body {
5
    background-color: $theme-color-five;
6
    font-family: $font-family-one;
7

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

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

    
26
                img {
27
                    width: 7.5rem;
28
                }
29
            }
30

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

    
41
                img {
42
                    width: 2.0625rem;
43
                }
44
            }
45

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

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

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

    
73
    .container{
74
        margin-top: 4.99055rem;
75
    }
76

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

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

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

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

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

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

    
120
    //název metadata, text pravého menu
121
    .text-page{
122
        font-weight: $font-weight-two;
123
        font-size: 7pt;
124
    }
125

    
126
    ////color pro změnu jen barvy
127
    .black{
128
        color: $theme-color-five;
129
    }
130
    .white{
131
        color: $theme-color-one;
132
    }
133
    .colored{
134
        color: $theme-color-four;
135
    }
136

    
137

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

    
146
        .col-form-label{
147
            text-align: left;
148
            padding-top: 0;
149
            padding-bottom: 0;
150
        }
151
        .form-control{
152
            padding: 0;
153
            height: 17pt;
154
            border-radius: 0;
155
            &:focus{
156
                border-color: $theme-color-one;
157
                -webkit-box-shadow: none;
158
                box-shadow: none;
159
            }
160
        }
161

    
162
        .card-body{
163
            padding-bottom: 0px;
164
            padding-top: calc(28vh - 4.99055rem);
165
        }
166
    }
167

    
168
    /*input:-internal-autofill-selected{
169

    
170
    }*/
171
    //Oprava barev pro Chrom
172
    input:-webkit-autofill {
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
        &:active, &:focus, &:visited, &:hover{
178
            -webkit-box-shadow:0 0 0 50px $theme-color-five inset !important;
179
            -webkit-text-fill-color: $theme-color-one;
180
            background-color: $theme-color-five !important;
181
            //outline: none !important;
182
        }
183
    }
184

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

    
191
	.form-control {
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
        font-size: 8pt;
201
        outline: none;
202

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

    
215
	}
216
    .form-control.is-invalid{
217
        box-shadow: none;
218
        border-color: $theme-color-four;
219
        background-image: none;
220
        &:active, &:focus, &:visited{
221
            box-shadow: none;
222
            border-color: $theme-color-four;
223
        }
224
    }
225

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

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

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

    
259
    .pin-left {
260
        border-left: .5pt solid $theme-color-four;
261
        display: inline-block;
262
        margin: 12rem 50px 0px -5rem;
263
        position: fixed;
264
        top: 28vh;
265
        bottom: 0;
266
        text-align: left;
267
        width: 100%;
268
        .text{
269
            margin-left: 0.5rem;
270
        }
271
        p{
272
            margin-top: 0;
273
            margin-bottom: 0;
274
        }
275
    }
276

    
277
    .register{
278
        .pin-left{
279
            margin-top: 17rem;
280
        }
281
    }
282

    
283
    li{
284
        list-style-type: none;
285
    }
286

    
287
    .button-image {
288
        background-color: transparent;
289
        border-color: transparent;
290

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

    
304
    .artefacts-area, .artefact-area {
305

    
306
        h5 {
307
            color: $theme-color-two;
308
            font-weight: $font-weight-two;
309
            line-height: 20pt;
310
            font-size: 21pt;
311
        }
312

    
313
        h6 {
314
            color: $theme-color-two;
315
            font-size: 14pt;
316
            //font-weight: lighter;
317
            font-weight: $font-weight-one;
318
        }
319

    
320
        img {
321
            border: transparent;
322
            border-radius: 1px;
323
        }
324

    
325
        .card {
326
            margin: 10px;
327
            border: none !important;
328
        }
329

    
330
        .left_panel_info {
331
            margin-top: 15px;
332
            margin-left: -10px;
333
            max-width: 250px;
334
        }
335

    
336
        .right_panel_info {
337
            margin-top: 15px;
338
            margin-right: -15px;
339
        }
340

    
341
        .card-cus-bottom {
342
            background-color: $theme-color-five;
343
        }
344

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

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

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

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

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

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

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

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

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

    
408
        .inter_like {
409
            display: block;
410

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

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

    
426
        .inter_info {
427

    
428
            padding-right: 1rem;
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
            &:before {
471
                content: '';
472
                background-color: $theme-color-two;
473
                position: relative;
474
                height: .5rem;
475
                width: .5rem;
476
                border-radius: 50%;
477
                display: inline-block;
478
                top: 1.5rem;
479
                left: 50vw;
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 - ROW BLOCK
655
    .cat-col-md-2
656
    {
657
        margin: 2%;
658
    }
659

    
660
    //CATEGORIES - TILES
661
    .btn.btn-dark.cat-tile
662
    {
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
        //FONT
675
        font-size: 8mm;
676
        word-wrap: break-word;
677

    
678
        //SPACING
679
        height: 40mm;
680
        width: 100%;
681

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

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

    
699
.arrow{
700
    position: absolute;
701
    width: 0;
702
    height: 0;
703
    margin: 2rem;
704
    cursor:pointer;
705
    border: 0.59055rem solid transparent;
706
}
707

    
708
.top-bar{
709
    padding-bottom: 4.59055rem;
710
    background-color: $theme-color-five;
711
    position: fixed;
712
    width: 100%;
713
    top: 0;
714
}
715

    
716
.arrow-left {
717
    margin-left: 80%;
718

    
719
    border-right:0.59055rem solid $theme-color-five;
720
    background-color: $theme-color-four !important;
721
}
722

    
723
.arrow-right {
724
    border-left:0.59055rem solid $theme-color-four;
725

    
726
    position: fixed;
727
    z-index: 1;
728
    top: 0;
729
    left: 0;
730
}
731

    
732
.separator{
733
    border-bottom: 1px solid $theme-color-five;
734
}
735

    
736
.sidenav {
737
    height: 100%;
738
    //width: 0;
739
    width: 250px;
740
    position: fixed;
741
    z-index: 1;
742
    top: 0;
743
    left: 0;
744
    background-color: $theme-color-four;
745
    overflow-x: hidden;
746
    transition: 0.5s;
747
}
748

    
749
.sidenav a {
750
    text-decoration: none;
751
    color: $theme-color-five;
752
    display: block;
753
    transition: 0.3s;
754
    &:hover{
755
        color: $theme-color-four;
756
        background-color: $theme-color-one;
757
    }
758
    &:active, &:focus, .active{
759
        color: $theme-color-one;
760
        background-color: $theme-color-four;
761
    }
762
}
763

    
764
.dropdown-item.active, .dropdown-item:active{
765
    color: $theme-color-five;
766
    background-color: $theme-color-one;
767
}
768

    
769
.logo-kaplicky{
770
    position: fixed;
771
    top: 0;
772
    left: calc(50vw - 50pt);
773
    margin-top: 2rem;
774
}
775

    
776
.vertical-center {
777
    min-height: 100vh;
778
    display: flex;
779
    align-items: center;
780
}
781

    
782
.error {
783
    color: $theme-color-one;
784
    font-size: xx-large;
785
    display: block;
786
    text-align: center;
787
}
788

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

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

    
795
@media (max-width: 770px) {
796
    body {
797
        .pin-left {
798
            margin-left: -33vw;
799
            margin-top: 15rem;
800
            //left: 20vw;
801
        }
802
        .register{
803
            .pin-left{
804
                margin-top: 20rem;
805
            }
806
        }
807

    
808
    }
809
}
810

    
811
@media only screen and (max-width: 540px)
812
{
813
    .sidenav{
814
        width: 0;
815
    }
816
    .head-title.text-center h1
817
    {
818
        font-size: 23pt;
819
        padding-top: 50pt;
820
        white-space: nowrap;
821

    
822
    }
823

    
824
    /*.btn-circle.rounded-circle.btn-sm
825
    {
826
        width: 90px;
827
        height: 90px;
828
    }
829

    
830
    .btn-circle.rounded-circle.btn-dm
831
    {
832
        width: 130px;
833
        height: 130px;
834
    }
835

    
836
    .btn-circle.rounded-circle.btn-xl
837
    {
838
        width: 180px;
839
        height: 180px;
840
    }*/
841

    
842
    body{
843
        .carousel {
844
            .carousel-inner {
845
                .social-logo {
846
                    padding-left: 30px;
847
                    top: 20%;
848
                }
849
            }
850
        }
851
    }
852
}
853

    
854
@media (min-width: 330px) and (max-height: 900px)
855
{
856
    body{
857
        .carousel {
858
            .carousel-inner {
859
                .social-logo {
860
                    top: 25%;
861
                }
862
            }
863
        }
864
    }
865
}
866

    
867
@media (min-width: 1024px) {
868

    
869
    body {
870
        .kaplicky{
871
            text-align: left !important;
872
            font-size: 24pt;
873
            line-height: 24pt;
874
        }
875

    
876
        .text {
877
            text-align: left;
878
            font-size: 18pt;
879
            line-height: 26pt;
880
        }
881

    
882
        .carousel {
883
            .carousel-inner {
884
                .social-logo {
885
                    justify-content: center;
886
                    top: 90%;
887

    
888
                    .logo {
889
                        margin-left: 10rem;
890

    
891
                        img {
892
                            width: 3.125rem;
893
                        }
894

    
895
                        &:first-child {
896
                            margin-left: 0;
897
                        }
898
                    }
899
                }
900
                .carousel-button {
901
                    transform: none;
902
                    left: 76%;
903
                    bottom: 20%;
904
                }
905
            }
906

    
907
            .carousel-caption{
908
                padding: 3.75rem 6.25rem 10em;
909

    
910
                h2 {
911
                    margin-bottom: 1rem;
912
                }
913
            }
914
        }
915

    
916
        .button-square {
917
            font-size: 18pt;
918
            width: 10.875rem;
919
            height: 2.938rem;
920
        }
921
    }
922
}
(1-1/3)