Projekt

Obecné

Profil

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

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

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

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

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

    
65
    .container{
66
        margin-top: 4.99055rem;
67
    }
68

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

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

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

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

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

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

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

    
118
    ////color pro změnu jen barvy
119
    .black{
120
        color: $theme-color-five;
121
    }
122
    .white{
123
        color: $theme-color-one;
124
    }
125
    .colored{
126
        color: $theme-color-four;
127
    }
128

    
129

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

    
138
        .col-form-label{
139
            text-align: left;
140
            padding-top: 0;
141
            padding-bottom: 0;
142
        }
143
        .form-control{
144
            padding: 0;
145
            height: 17pt;
146
            border-radius: 0;
147
            &:focus{
148
                border-color: $theme-color-one;
149
                -webkit-box-shadow: none;
150
                box-shadow: none;
151
            }
152
        }
153

    
154
        .card-body{
155
            padding-bottom: 0px;
156
            padding-top: calc(28vh - 4.99055rem);
157
        }
158
    }
159

    
160
    /*input:-internal-autofill-selected{
161

    
162
    }*/
163
    //Oprava barev pro Chrom
164
    input:-webkit-autofill {
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
        &:active, &:focus, &:visited, &:hover{
170
            -webkit-box-shadow:0 0 0 50px $theme-color-five inset !important;
171
            -webkit-text-fill-color: $theme-color-one;
172
            background-color: $theme-color-five !important;
173
            //outline: none !important;
174
        }
175
    }
176

    
177
    .card-body {
178
    	background-color: $theme-color-five;
179
    	font-weight: $font-weight-one;
180
    	color: $theme-color-four;
181
	}
182

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

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

    
207
	}
208
    .form-control.is-invalid{
209
        box-shadow: none;
210
        border-color: $theme-color-four;
211
        background-image: none;
212
        &:active, &:focus, &:visited{
213
            box-shadow: none;
214
            border-color: $theme-color-four;
215
        }
216
    }
217

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

    
228
        &:active, &:focus, &:visited, &:hover {
229
            outline: none;
230
            box-shadow: none;
231
            color: $theme-color-one;
232
        }
233
        &:hover{
234
            color: $theme-color-four;
235
        }
236
    }
237

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

    
251
    .pin-left {
252
        border-left: .5pt solid $theme-color-four;
253
        display: inline-block;
254
        margin: 12rem 50px 0px -5rem;
255
        position: fixed;
256
        top: 28vh;
257
        bottom: 0;
258
        text-align: left;
259
        width: 100%;
260
        .text{
261
            margin-left: 0.5rem;
262
        }
263
        p{
264
            margin-top: 0;
265
            margin-bottom: 0;
266
        }
267
    }
268

    
269
    .register{
270
        .pin-left{
271
            margin-top: 17rem;
272
        }
273
    }
274

    
275
    li{
276
        list-style-type: none;
277
    }
278

    
279
    .button-image {
280
        background-color: transparent;
281
        border-color: transparent;
282

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

    
296
    .artefacts-area, .artefact-area {
297

    
298
        h5 {
299
            color: $theme-color-two;
300
            font-weight: $font-weight-two;
301
            line-height: 20pt;
302
            font-size: 21pt;
303
        }
304

    
305
        h6 {
306
            color: $theme-color-two;
307
            font-size: 14pt;
308
            //font-weight: lighter;
309
            font-weight: $font-weight-one;
310
        }
311

    
312
        img {
313
            border: transparent;
314
            border-radius: 1px;
315
        }
316

    
317
        .card {
318
            margin: 10px;
319
            border: none !important;
320
        }
321

    
322
        .left_panel_info {
323
            margin-top: 15px;
324
            margin-left: -10px;
325
            max-width: 250px;
326
        }
327

    
328
        .right_panel_info {
329
            margin-top: 15px;
330
            margin-right: -15px;
331
        }
332

    
333
        .card-cus-bottom {
334
            background-color: $theme-color-five;
335
        }
336

    
337
        .inter_info {
338
            &:before {
339
                background-image: url(../images/interface/Button_Info_50.png);
340
                width: 60px;
341
                height: 60px;
342
            }
343
        }
344

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

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

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

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

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

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

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

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

    
400
        .inter_like {
401
            display: block;
402

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

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

    
418
        .inter_info {
419

    
420
            padding-right: 1rem;
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
            &:before {
463
                content: '';
464
                background-color: $theme-color-two;
465
                position: relative;
466
                height: .5rem;
467
                width: .5rem;
468
                border-radius: 50%;
469
                display: inline-block;
470
                top: 1.5rem;
471
                left: 50vw;
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
    {
649
        margin: 2%;
650
    }
651

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

    
666
        //FONT
667
        font-size: 8mm;
668
        word-wrap: break-word;
669

    
670
        //SPACING
671
        height: 40mm;
672
        width: 100%;
673

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

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

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

    
700
.top-bar{
701
    padding-bottom: 4.59055rem;
702
    background-color: $theme-color-five;
703
    position: fixed;
704
    width: 100%;
705
    top: 0;
706
}
707

    
708
.arrow-left {
709
    margin-left: 80%;
710

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

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

    
718
    position: fixed;
719
    z-index: 1;
720
    top: 0;
721
    left: 0;
722
}
723

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

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

    
741
.sidenav a {
742
    text-decoration: none;
743
    color: $theme-color-five;
744
    display: block;
745
    transition: 0.3s;
746
    &:hover{
747
        color: $theme-color-four;
748
        background-color: $theme-color-one;
749
    }
750
    &:active, &:focus, .active{
751
        color: $theme-color-one;
752
        background-color: $theme-color-four;
753
    }
754
}
755

    
756
.dropdown-item.active, .dropdown-item:active{
757
    color: $theme-color-five;
758
    background-color: $theme-color-one;
759
}
760

    
761
.logo-kaplicky{
762
    position: fixed;
763
    top: 0;
764
    left: calc(50vw - 50pt);
765
    margin-top: 2rem;
766
}
767

    
768
.vertical-center {
769
    min-height: 100vh;
770
    display: flex;
771
    align-items: center;
772
}
773

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

    
781
@media screen and (max-height: 450px) {
782
    .sidenav a {font-size: 18px;}
783
}
784

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

    
787
@media (max-width: 770px) {
788
    body {
789
        .pin-left {
790
            margin-left: -33vw;
791
            margin-top: 15rem;
792
            //left: 20vw;
793
        }
794
        .register{
795
            .pin-left{
796
                margin-top: 20rem;
797
            }
798
        }
799

    
800
    }
801
}
802

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

    
814
    }
815

    
816
    /*.btn-circle.rounded-circle.btn-sm
817
    {
818
        width: 90px;
819
        height: 90px;
820
    }
821

    
822
    .btn-circle.rounded-circle.btn-dm
823
    {
824
        width: 130px;
825
        height: 130px;
826
    }
827

    
828
    .btn-circle.rounded-circle.btn-xl
829
    {
830
        width: 180px;
831
        height: 180px;
832
    }*/
833

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

    
846
@media (min-width: 330px) and (max-height: 900px)
847
{
848
    body{
849
        .carousel {
850
            .carousel-inner {
851
                .social-logo {
852
                    top: 25%;
853
                }
854
            }
855
        }
856
    }
857
}
(1-1/3)