Projekt

Obecné

Profil

Stáhnout (18.4 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
    /////////text types
66
    //většina běžných textů
67
    .text {
68
        font-weight: $font-weight-one;
69
        font-size: 8pt;
70
        line-height: 9pt;
71
    }
72

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

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

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

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

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

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

    
114
    ////color pro změnu jen barvy
115
    .black{
116
        color: $theme-color-five;
117
    }
118
    .white{
119
        color: $theme-color-one;
120
    }
121
    .colored{
122
        color: $theme-color-four;
123
    }
124

    
125

    
126
    ////login
127
    .auth{
128
        .card{
129
            border: none;
130
            text-align: center;
131
            font-size: 8pt;
132
        }
133

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

    
150
        .card-body{
151
            padding-bottom: 0px;
152
            padding-top: 28vh
153
        }
154
    }
155

    
156
    /*input:-internal-autofill-selected{
157

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

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

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

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

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

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

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

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

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

    
265
    .register{
266
        .pin-left{
267
            margin-top: 17rem;
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
            &:before {
344
                background-image : url(../images/interface/Hearth_Empty_50.png);
345
                width: 60px;
346
                height: 60px;
347
            }
348
        }
349

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

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

    
369
    // Artefact area
370
    .artefact-area {
371

    
372
        .card-cus-bottom {
373
            .left_panel_info, .right_panel_info {
374
                margin: 0.9375rem 0 0 0;
375
            }
376

    
377
            .right_panel_info {
378
                .float-right {
379
                    margin-right: -0.35rem;
380
                }
381
            }
382
        }
383

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

    
391
        .artefact-author {
392
            font-size: 7pt;
393
            line-height: 8pt;
394
        }
395

    
396
        .inter_like {
397
            display: block;
398

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

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

    
414
        .inter_info {
415

    
416
            padding-right: 1rem;
417
            &:before {
418
                background-image: url(../images/interface/Button_Info.svg);
419
                width: 1.875rem;
420
                height: 1.875rem;
421
            }
422
        }
423

    
424
        .artefact-likes {
425
            font-weight: $font-weight-two;
426
            font-size: 5pt;
427
            padding-right: 0.25rem;
428
        }
429
    }
430

    
431
    // Metadata area
432
    .metadata-area {
433

    
434
        h2 {
435
            font-weight: $font-weight-two;
436
            font-size: 12pt;
437
        }
438

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

    
451
        .pin-horizontal {
452
            color: $theme-color-two;
453
            border-bottom: .042rem solid $theme-color-two;
454
            display: inline-block;
455
            margin: 2.75rem 3.125rem 0 0;
456

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

    
469
            .metadata {
470
                position: relative;
471
                display: flex;
472
                align-items: baseline;
473

    
474
                span {
475
                    font-weight: $font-weight-two;
476
                }
477

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

    
492
        .white-pin {
493
            color: $theme-color-one;
494
            border-bottom: .042rem solid $theme-color-one;
495

    
496
            &:before {
497
                content: '';
498
                background-color: $theme-color-one;
499
            }
500

    
501
            .metadata {
502
                .arrow-down {
503
                    border-top: 0.25rem solid $theme-color-one;
504
                }
505
            }
506
        }
507

    
508
        .metadata-text {
509
            font-size: 8pt;
510
            color: $theme-color-one;
511
            padding-top: 10px;
512
            padding-left: 25px;
513
            padding-right: 25px;
514

    
515
            .artefact-info {
516
                color: $theme-color-two;
517
                margin-top: 10px;
518

    
519
                .artefact-name {
520
                    font-weight: $font-weight-two;
521
                    font-size: 8pt;
522
                }
523

    
524
                .artefact-author {
525
                    font-weight: $font-weight-one;
526
                    font-size: 7pt;
527
                }
528

    
529
                .inter_like_filled {
530

    
531
                    &:before {
532
                        background-image : url(../images/interface/Heart_Filled.svg);
533
                        width: 3.125rem;
534
                        height: 3.125rem;
535
                        margin-right: 0;
536
                    }
537

    
538
                    &:hover, &:focus, &:active {
539
                        background-color: transparent !important;
540
                        border-color: transparent !important;
541
                        outline: none !important;
542
                        box-shadow: none !important;
543
                    }
544
                }
545
            }
546
        }
547
    }
548

    
549
    // Modal
550
    .modal {
551
        font-weight: $font-weight-one;
552
        color: $theme-color-two;
553
        font-size: 8pt;
554

    
555
        .modal-header {
556
            border-bottom: 1px solid $theme-color-two;
557

    
558
            .close {
559
                color: $theme-color-two;
560
                text-shadow: none;
561
            }
562
        }
563

    
564
        .modal-content {
565
            background-color: $theme-color-five;
566
        }
567

    
568
        .modal-footer {
569
            border-top: 1px solid $theme-color-two;
570

    
571
            .btn {
572
                background-color: $theme-color-two;
573
                color: $theme-color-five;
574

    
575
            }
576
        }
577
    }
578

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

    
593
    /*.content {
594
        position: relative;
595

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

    
613
            &:active
614
            {
615
                background-color: $theme-color-three;
616
                border-color: $theme-color-four;
617
                outline: none !important;
618
                box-shadow: none !important;
619
                color:$theme-color-five;
620
            }
621
        }
622
    }*/
623

    
624
    //CATEGORIES - ROW BLOCK
625
    .cat-col-md-2
626
    {
627
        margin: 2%;
628
    }
629

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

    
644
        //FONT
645
        font-size: 8mm;
646
        word-wrap: break-word;
647

    
648
        //SPACING
649
        height: 40mm;
650
        width: 100%;
651

    
652
        &:active, &:focus
653
        {
654
            background-color: $theme-color-three;
655
            border-color: $theme-color-four;
656
            outline: none !important;
657
            box-shadow: none !important;
658
            color: $theme-color-five;
659
        }
660
    }
661

    
662
    //CATEGORY/{id} -h2 title NO ARTEFACTS
663
    .category-h2
664
    {
665
        color: $theme-color-four;
666
    }
667
}
668

    
669
.arrow{
670
    position: absolute;
671
    width: 0;
672
    height: 0;
673
    margin: 2rem;
674
    cursor:pointer;
675
    border: 0.59055rem solid transparent;
676
}
677

    
678
.arrow-left {
679
    margin-left: 80%;
680

    
681
    border-right:0.59055rem solid $theme-color-five;
682
    background-color: $theme-color-four !important;
683
}
684

    
685
.arrow-right {
686
    border-left:0.59055rem solid $theme-color-four;
687

    
688
    position: fixed;
689
    z-index: 1;
690
    top: 0;
691
    left: 0;
692
}
693

    
694
.sidenav {
695
    height: 100%;
696
    //width: 0;
697
    width: 250px;
698
    position: fixed;
699
    z-index: 1;
700
    top: 0;
701
    left: 0;
702
    background-color: $theme-color-four;
703
    overflow-x: hidden;
704
    transition: 0.5s;
705
}
706

    
707
.sidenav a {
708
    text-decoration: none;
709
    color: $theme-color-five;
710
    display: block;
711
    transition: 0.3s;
712
}
713

    
714
.sidenav a:hover {
715
    color: $theme-color-four;
716
    background-color: $theme-color-one;
717
}
718

    
719
@media screen and (max-height: 450px) {
720
    .sidenav a {font-size: 18px;}
721
}
722

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

    
725
@media (max-width: 770px) {
726
    body {
727
        .pin-left {
728
            margin-left: -33vw;
729
            margin-top: 15rem;
730
            //left: 20vw;
731
        }
732
        .register{
733
            .pin-left{
734
                margin-top: 20rem;
735
            }
736
        }
737

    
738
    }
739
}
740

    
741
@media only screen and (max-width: 540px)
742
{
743
    .sidenav{
744
        width: 0;
745
    }
746
    .head-title.text-center h1
747
    {
748
        font-size: 23pt;
749
        padding-top: 50pt;
750
        white-space: nowrap;
751

    
752
    }
753

    
754
    /*.btn-circle.rounded-circle.btn-sm
755
    {
756
        width: 90px;
757
        height: 90px;
758
    }
759

    
760
    .btn-circle.rounded-circle.btn-dm
761
    {
762
        width: 130px;
763
        height: 130px;
764
    }
765

    
766
    .btn-circle.rounded-circle.btn-xl
767
    {
768
        width: 180px;
769
        height: 180px;
770
    }*/
771

    
772
    body{
773
        .carousel {
774
            .carousel-inner {
775
                .social-logo {
776
                    padding-left: 30px;
777
                    top: 20%;
778
                }
779
            }
780
        }
781
    }
782
}
783

    
784
@media (min-width: 330px) and (max-height: 900px)
785
{
786
    body{
787
        .carousel {
788
            .carousel-inner {
789
                .social-logo {
790
                    top: 25%;
791
                }
792
            }
793
        }
794
    }
795
}
(1-1/3)