Projekt

Obecné

Profil

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

    
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
            font-weight: $font-weight-two;
440
            font-size: 12pt;
441
        }
442

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

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

    
461
            &:before {
462
                content: '';
463
                background-color: $theme-color-two;
464
                position: relative;
465
                height: .5rem;
466
                width: .5rem;
467
                border-radius: 50%;
468
                display: inline-block;
469
                top: 1.5rem;
470
                left: 50vw;
471
            }
472

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

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

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

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

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

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

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

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

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

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

    
533
                .inter_like_filled {
534

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

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

    
553
    // Modal
554
    .modal {
555
        font-weight: $font-weight-one;
556
        color: $theme-color-two;
557
        font-size: 8pt;
558

    
559
        .modal-header {
560
            border-bottom: 1px solid $theme-color-two;
561

    
562
            .close {
563
                color: $theme-color-two;
564
                text-shadow: none;
565
            }
566
        }
567

    
568
        .modal-content {
569
            background-color: $theme-color-five;
570
        }
571

    
572
        .modal-footer {
573
            border-top: 1px solid $theme-color-two;
574

    
575
            .btn {
576
                background-color: $theme-color-two;
577
                color: $theme-color-five;
578

    
579
            }
580
        }
581
    }
582

    
583
    .image-modal {
584
        .close {
585
            font-size: 24pt;
586
            color: $theme-color-two;
587
            text-shadow: none;
588
            position: absolute;
589
            top: 1rem;
590
            right: 0.125rem;
591
            opacity: 1;
592
            cursor: pointer;
593
            pointer-events: initial;
594
        }
595
    }
596

    
597
    /*.content {
598
        position: relative;
599

    
600
        //Circle style button
601
        .btn-circle.rounded-circle {
602
            padding: 6px 0px;
603
            font-size: 16px;
604
            text-align: center;
605
        }
606
        .btn-categories
607
        {
608
            position: absolute;
609
            border-width: 5px;
610
            background-color: $theme-color-five;
611
            border-color: $theme-color-four;
612
            color:$theme-color-four;
613
            outline: none !important;
614
            box-shadow: none !important;
615
            font-weight: $font-weight-two;
616

    
617
            &:active
618
            {
619
                background-color: $theme-color-three;
620
                border-color: $theme-color-four;
621
                outline: none !important;
622
                box-shadow: none !important;
623
                color:$theme-color-five;
624
            }
625
        }
626
    }*/
627

    
628
    //CATEGORIES - ROW BLOCK
629
    .cat-col-md-2
630
    {
631
        margin: 2%;
632
    }
633

    
634
    //CATEGORIES - TILES
635
    .btn.btn-dark.cat-tile
636
    {
637
        //STYLING
638
        border-color: $theme-color-four;
639
        border-radius: 0;
640
        border-style: solid;
641
        border-width: 2px;
642
        color: $theme-color-four;
643
        background-color: $theme-color-five;
644
        text-align: center;
645
        outline: none !important;
646
        box-shadow: none !important;
647

    
648
        //FONT
649
        font-size: 8mm;
650
        word-wrap: break-word;
651

    
652
        //SPACING
653
        height: 40mm;
654
        width: 100%;
655

    
656
        &:active, &:focus
657
        {
658
            background-color: $theme-color-three;
659
            border-color: $theme-color-four;
660
            outline: none !important;
661
            box-shadow: none !important;
662
            color: $theme-color-five;
663
        }
664
    }
665

    
666
    //CATEGORY/{id} -h2 title NO ARTEFACTS
667
    .category-h2
668
    {
669
        color: $theme-color-four;
670
    }
671
}
672

    
673
.arrow{
674
    position: absolute;
675
    width: 0;
676
    height: 0;
677
    margin: 2rem;
678
    cursor:pointer;
679
    border: 0.59055rem solid transparent;
680
}
681

    
682
.top-bar{
683
    padding-bottom: 4.59055rem;
684
    background-color: $theme-color-five;
685
    position: fixed;
686
    width: 100%;
687
    top: 0;
688
}
689

    
690
.arrow-left {
691
    margin-left: 80%;
692

    
693
    border-right:0.59055rem solid $theme-color-five;
694
    background-color: $theme-color-four !important;
695
}
696

    
697
.arrow-right {
698
    border-left:0.59055rem solid $theme-color-four;
699

    
700
    position: fixed;
701
    z-index: 1;
702
    top: 0;
703
    left: 0;
704
}
705

    
706
.separator{
707
    border-bottom: 1px solid $theme-color-five;
708
}
709

    
710
.sidenav {
711
    height: 100%;
712
    //width: 0;
713
    width: 250px;
714
    position: fixed;
715
    z-index: 1;
716
    top: 0;
717
    left: 0;
718
    background-color: $theme-color-four;
719
    overflow-x: hidden;
720
    transition: 0.5s;
721
}
722

    
723
.sidenav a {
724
    text-decoration: none;
725
    color: $theme-color-five;
726
    display: block;
727
    transition: 0.3s;
728
    &:hover{
729
        color: $theme-color-four;
730
        background-color: $theme-color-one;
731
    }
732
    &:active, &:focus, .active{
733
        color: $theme-color-one;
734
        background-color: $theme-color-four;
735
    }
736
}
737

    
738
.dropdown-item.active, .dropdown-item:active{
739
    color: $theme-color-five;
740
    background-color: $theme-color-one;
741
}
742

    
743
.logo-kaplicky{
744
    position: fixed;
745
    top: 0;
746
    left: calc(50vw - 50pt);
747
    margin-top: 2rem;
748
}
749

    
750
.vertical-center {
751
    min-height: 100vh;
752
    display: flex;
753
    align-items: center;
754
}
755

    
756
.error {
757
    color: $theme-color-one;
758
    font-size: xx-large;
759
    display: block;
760
    text-align: center;
761
}
762

    
763
@media screen and (max-height: 450px) {
764
    .sidenav a {font-size: 18px;}
765
}
766

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

    
769
@media (max-width: 770px) {
770
    body {
771
        .pin-left {
772
            margin-left: -33vw;
773
            margin-top: 15rem;
774
            //left: 20vw;
775
        }
776
        .register{
777
            .pin-left{
778
                margin-top: 20rem;
779
            }
780
        }
781

    
782
    }
783
}
784

    
785
@media only screen and (max-width: 540px)
786
{
787
    .sidenav{
788
        width: 0;
789
    }
790
    .head-title.text-center h1
791
    {
792
        font-size: 23pt;
793
        padding-top: 50pt;
794
        white-space: nowrap;
795

    
796
    }
797

    
798
    /*.btn-circle.rounded-circle.btn-sm
799
    {
800
        width: 90px;
801
        height: 90px;
802
    }
803

    
804
    .btn-circle.rounded-circle.btn-dm
805
    {
806
        width: 130px;
807
        height: 130px;
808
    }
809

    
810
    .btn-circle.rounded-circle.btn-xl
811
    {
812
        width: 180px;
813
        height: 180px;
814
    }*/
815

    
816
    body{
817
        .carousel {
818
            .carousel-inner {
819
                .social-logo {
820
                    padding-left: 30px;
821
                    top: 20%;
822
                }
823
            }
824
        }
825
    }
826
}
827

    
828
@media (min-width: 330px) and (max-height: 900px)
829
{
830
    body{
831
        .carousel {
832
            .carousel-inner {
833
                .social-logo {
834
                    top: 25%;
835
                }
836
            }
837
        }
838
    }
839
}
(1-1/3)