Projekt

Obecné

Profil

Stáhnout (17.9 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
        }
144
    }
145

    
146
    /*input:-internal-autofill-selected{
147

    
148
    }*/
149
    //Oprava barev pro Chrom
150
    input:-webkit-autofill {
151
        -webkit-box-shadow:0 0 0 50px $theme-color-five inset;
152
        -webkit-text-fill-color: $theme-color-one;
153
        &:active, &:focus, &:visited, &:hover{
154
            -webkit-box-shadow:0 0 0 50px $theme-color-five inset;
155
            -webkit-text-fill-color: $theme-color-one;
156
        }
157
    }
158

    
159
    .card-body {
160
    	background-color: $theme-color-five;
161
    	font-weight: $font-weight-one;
162
    	color: $theme-color-four;
163
	}
164

    
165
	.form-control {
166
    	background-color: $theme-color-five;
167
    	margin-top: -1px;
168
    	border-top-color: $theme-color-five;
169
    	border-left-color: $theme-color-five;
170
    	border-right-color: $theme-color-five;
171
    	border-bottom-color: 0.5pt $theme-color-one;
172
    	color: $theme-color-one;
173
        box-shadow: none;
174
        font-size: 8pt;
175

    
176
        &:active, &:focus, &:visited{
177
            background-color: $theme-color-five;
178
            margin-top: -1px;
179
            border-top-color: $theme-color-five;
180
            border-left-color: $theme-color-five;
181
            border-right-color: $theme-color-five;
182
            border-bottom-color: 0.5pt $theme-color-one;
183
            color: $theme-color-one;
184
            box-shadow: none;
185
        }
186

    
187
	}
188
    .form-control.is-invalid{
189
        box-shadow: none;
190
        border-color: $theme-color-four;
191
        background-image: none;
192
        &:active, &:focus, &:visited{
193
            box-shadow: none;
194
            border-color: $theme-color-four;
195
        }
196
    }
197

    
198
    .button-square {
199
        font-size: 8pt;
200
        background-color: $theme-color-five;
201
        color: $theme-color-one;
202
        border: 0.5pt solid $theme-color-one;
203
        border-radius: 0;
204
        width: 6.5rem;
205
        height: 2rem;
206
        font-weight: $font-weight-one;
207

    
208
        &:active, &:focus, &:visited, &:hover {
209
            outline: none;
210
            box-shadow: none;
211
            color: $theme-color-one;
212
        }
213
        &:hover{
214
            color: $theme-color-four;
215
        }
216
    }
217

    
218
    //spendlik
219
    .pin-left:before {
220
        content: '';
221
        position: relative;
222
        height: 0.35433rem;
223
        width: 0.35433rem;
224
        background-color: $theme-color-one;
225
        border-radius: 50%;
226
        display: inline-block;
227
        top: -0.35433rem;
228
        left: -0.2rem;
229
    }
230

    
231
    .pin-left {
232
        border-left: .5pt solid $theme-color-four;
233
        display: inline-block;
234
        margin: 12rem 50px 0px -5rem;
235
        position: fixed;
236
        top: 0;
237
        bottom: 0;
238
        text-align: left;
239
        width: 100%;
240
        .text{
241
            margin-left: 0.5rem;
242
        }
243
        p{
244
            margin-top: 0;
245
            margin-bottom: 0;
246
        }
247
    }
248

    
249
    .register{
250
        .pin-left{
251
            margin-top: 17rem;
252
        }
253
    }
254

    
255
    li{
256
        list-style-type: none;
257
    }
258

    
259
    .button-image {
260
        background-color: transparent;
261
        border-color: transparent;
262

    
263
        &:before {
264
            content: "";
265
            width: 100px;
266
            height: 100px;
267
            display: inline-block;
268
            margin-right: 5px;
269
            vertical-align: text-top;
270
            background-color: transparent;
271
            background-position : center center;
272
            background-repeat:no-repeat;
273
        }
274
    }
275

    
276
    .artefacts-area, .artefact-area {
277

    
278
        h5 {
279
            color: $theme-color-two;
280
            font-weight: $font-weight-two;
281
            line-height: 20pt;
282
            font-size: 21pt;
283
        }
284

    
285
        h6 {
286
            color: $theme-color-two;
287
            font-size: 14pt;
288
            //font-weight: lighter;
289
            font-weight: $font-weight-one;
290
        }
291

    
292
        img {
293
            border: transparent;
294
            border-radius: 1px;
295
        }
296

    
297
        .card {
298
            margin: 10px;
299
            border: none !important;
300
        }
301

    
302
        .left_panel_info {
303
            margin-top: 15px;
304
            margin-left: -10px;
305
            max-width: 250px;
306
        }
307

    
308
        .right_panel_info {
309
            margin-top: 15px;
310
            margin-right: -15px;
311
        }
312

    
313
        .card-cus-bottom {
314
            background-color: $theme-color-five;
315
        }
316

    
317
        .inter_info {
318
            &:before {
319
                background-image: url(../images/interface/Button_Info_50.png);
320
                width: 60px;
321
                height: 60px;
322
            }
323
        }
324

    
325
        .inter_like {
326
            display: none;
327
            &:before {
328
                background-image : url(../images/interface/Hearth_Empty_50.png);
329
                width: 60px;
330
                height: 60px;
331
            }
332
        }
333

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

    
342
        .inter_info, .inter_like, .inter_like_filled {
343
            padding: 0;
344
            &:focus, &:active, &:hover {
345
                background-color: transparent !important;
346
                border-color: transparent !important;
347
                outline: none !important;
348
                box-shadow: none !important;
349
            };
350
        }
351
    }
352

    
353
    // Artefact area
354
    .artefact-area {
355

    
356
        .card-cus-bottom {
357
            .left_panel_info, .right_panel_info {
358
                margin: 0.9375rem 0 0 0;
359
            }
360

    
361
            .right_panel_info {
362
                .float-right {
363
                    margin-right: -0.35rem;
364
                }
365
            }
366
        }
367

    
368
        .artefact-name {
369
            font-weight: $font-weight-two;
370
            font-size: 8pt;
371
            line-height: 10pt;
372
            margin-bottom: 0;
373
        }
374

    
375
        .artefact-author {
376
            font-size: 7pt;
377
            line-height: 8pt;
378
        }
379

    
380
        .inter_like {
381
            display: block;
382

    
383
            &:before {
384
                background-image: url(../images/interface/Heart_Empty.svg);
385
                width: 1.563rem;
386
                height: 1.25rem;
387
            }
388
        }
389

    
390
        .inter_like_filled {
391
            &:before {
392
                background-image : url(../images/interface/Heart_Filled.svg);
393
                width: 1.563rem;
394
                height: 1.25rem;
395
            }
396
        }
397

    
398
        .inter_info {
399

    
400
            padding-right: 1rem;
401
            &:before {
402
                background-image: url(../images/interface/Button_Info.svg);
403
                width: 1.875rem;
404
                height: 1.875rem;
405
            }
406
        }
407

    
408
        .artefact-likes {
409
            font-weight: $font-weight-two;
410
            font-size: 5pt;
411
            padding-right: 0.25rem;
412
        }
413
    }
414

    
415
    // Metadata area
416
    .metadata-area {
417

    
418
        h2 {
419
            font-weight: $font-weight-two;
420
            font-size: 12pt;
421
        }
422

    
423
        .arrow-down {
424
            position: fixed;
425
            top: 0.25rem;
426
            right: 0;
427
            margin: 2rem;
428
            width: 0;
429
            height: 0;
430
            border-left: 0.59055rem solid transparent;
431
            border-right: 0.59055rem solid transparent;
432
            border-top: 0.59055rem solid $theme-color-two;
433
        }
434

    
435
        .pin-horizontal {
436
            color: $theme-color-two;
437
            border-bottom: .042rem solid $theme-color-two;
438
            display: inline-block;
439
            margin: 2.75rem 3.125rem 0 0;
440

    
441
            &:before {
442
                content: '';
443
                background-color: $theme-color-two;
444
                position: relative;
445
                height: .5rem;
446
                width: .5rem;
447
                border-radius: 50%;
448
                display: inline-block;
449
                top: 1.5rem;
450
                left: 50vw;
451
            }
452

    
453
            .metadata {
454
                position: relative;
455
                display: flex;
456
                align-items: baseline;
457

    
458
                span {
459
                    font-weight: $font-weight-two;
460
                }
461

    
462
                .arrow-down {
463
                    position: relative;
464
                    top: 0;
465
                    right: 0;
466
                    width: 0;
467
                    height: 0;
468
                    border-left: 0.25rem solid transparent;
469
                    border-right: 0.25rem solid transparent;
470
                    border-top: 0.25rem solid $theme-color-two;
471
                    margin: 0 0.5rem 0 0.5rem;
472
                }
473
            }
474
        }
475

    
476
        .white-pin {
477
            color: $theme-color-one;
478
            border-bottom: .042rem solid $theme-color-one;
479

    
480
            &:before {
481
                content: '';
482
                background-color: $theme-color-one;
483
            }
484

    
485
            .metadata {
486
                .arrow-down {
487
                    border-top: 0.25rem solid $theme-color-one;
488
                }
489
            }
490
        }
491

    
492
        .metadata-text {
493
            font-size: 8pt;
494
            color: $theme-color-one;
495
            padding-top: 10px;
496
            padding-left: 25px;
497
            padding-right: 25px;
498

    
499
            .artefact-info {
500
                color: $theme-color-two;
501
                margin-top: 10px;
502

    
503
                .artefact-name {
504
                    font-weight: $font-weight-two;
505
                    font-size: 8pt;
506
                }
507

    
508
                .artefact-author {
509
                    font-weight: $font-weight-one;
510
                    font-size: 7pt;
511
                }
512

    
513
                .inter_like_filled {
514

    
515
                    &:before {
516
                        background-image : url(../images/interface/Heart_Filled.svg);
517
                        width: 3.125rem;
518
                        height: 3.125rem;
519
                        margin-right: 0;
520
                    }
521

    
522
                    &:hover, &:focus, &:active {
523
                        background-color: transparent !important;
524
                        border-color: transparent !important;
525
                        outline: none !important;
526
                        box-shadow: none !important;
527
                    }
528
                }
529
            }
530
        }
531
    }
532

    
533
    // Modal
534
    .modal {
535
        font-weight: $font-weight-one;
536
        color: $theme-color-two;
537
        font-size: 8pt;
538

    
539
        .modal-header {
540
            border-bottom: 1px solid $theme-color-two;
541

    
542
            .close {
543
                color: $theme-color-two;
544
                text-shadow: none;
545
            }
546
        }
547

    
548
        .modal-content {
549
            background-color: $theme-color-five;
550
        }
551

    
552
        .modal-footer {
553
            border-top: 1px solid $theme-color-two;
554

    
555
            .btn {
556
                background-color: $theme-color-two;
557
                color: $theme-color-five;
558

    
559
            }
560
        }
561
    }
562

    
563
    .image-modal {
564
        .close {
565
            font-size: 24pt;
566
            color: $theme-color-two;
567
            text-shadow: none;
568
            position: absolute;
569
            top: 1rem;
570
            right: 0.125rem;
571
            opacity: 1;
572
            cursor: pointer;
573
            pointer-events: initial;
574
        }
575
    }
576

    
577
    /*.content {
578
        position: relative;
579

    
580
        //Circle style button
581
        .btn-circle.rounded-circle {
582
            padding: 6px 0px;
583
            font-size: 16px;
584
            text-align: center;
585
        }
586
        .btn-categories
587
        {
588
            position: absolute;
589
            border-width: 5px;
590
            background-color: $theme-color-five;
591
            border-color: $theme-color-four;
592
            color:$theme-color-four;
593
            outline: none !important;
594
            box-shadow: none !important;
595
            font-weight: $font-weight-two;
596

    
597
            &:active
598
            {
599
                background-color: $theme-color-three;
600
                border-color: $theme-color-four;
601
                outline: none !important;
602
                box-shadow: none !important;
603
                color:$theme-color-five;
604
            }
605
        }
606
    }*/
607

    
608
    //CATEGORIES - ROW BLOCK
609
    .cat-col-md-2
610
    {
611
        margin: 2%;
612
    }
613

    
614
    //CATEGORIES - TILES
615
    .btn.btn-dark.cat-tile
616
    {
617
        //STYLING
618
        border-color: $theme-color-four;
619
        border-radius: 0;
620
        border-style: solid;
621
        border-width: 2px;
622
        color: $theme-color-four;
623
        background-color: $theme-color-five;
624
        text-align: center;
625
        outline: none !important;
626
        box-shadow: none !important;
627

    
628
        //FONT
629
        font-size: 8mm;
630
        word-wrap: break-word;
631

    
632
        //SPACING
633
        height: 40mm;
634
        width: 100%;
635

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

    
646
    //CATEGORY/{id} -h2 title NO ARTEFACTS
647
    .category-h2
648
    {
649
        color: $theme-color-four;
650
    }
651
}
652

    
653
.arrow{
654
    position: absolute;
655
    width: 0;
656
    height: 0;
657
    margin: 2rem;
658
    cursor:pointer;
659
    border: 0.59055rem solid transparent;
660
}
661

    
662
.arrow-left {
663
    margin-left: 80%;
664

    
665
    border-right:0.59055rem solid $theme-color-five;
666
    background-color: $theme-color-four !important;
667
}
668

    
669
.arrow-right {
670
    border-left:0.59055rem solid $theme-color-four;
671

    
672
    position: fixed;
673
    z-index: 1;
674
    top: 0;
675
    left: 0;
676
}
677

    
678
.sidenav {
679
    height: 100%;
680
    //width: 0;
681
    width: 250px;
682
    position: fixed;
683
    z-index: 1;
684
    top: 0;
685
    left: 0;
686
    background-color: $theme-color-four;
687
    overflow-x: hidden;
688
    transition: 0.5s;
689
}
690

    
691
.sidenav a {
692
    text-decoration: none;
693
    color: $theme-color-five;
694
    display: block;
695
    transition: 0.3s;
696
}
697

    
698
.sidenav a:hover {
699
    color: $theme-color-four;
700
    background-color: $theme-color-one;
701
}
702

    
703
@media screen and (max-height: 450px) {
704
    .sidenav a {font-size: 18px;}
705
}
706

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

    
709
@media (max-width: 770px) {
710
    body {
711
        .pin-left {
712
            margin-left: -33vw;
713
            margin-top: 15rem;
714
            //left: 20vw;
715
        }
716
        .register{
717
            .pin-left{
718
                margin-top: 20rem;
719
            }
720
        }
721

    
722
    }
723
}
724

    
725
@media only screen and (max-width: 540px)
726
{
727
    .sidenav{
728
        width: 0;
729
    }
730
    .head-title.text-center h1
731
    {
732
        font-size: 23pt;
733
        padding-top: 50pt;
734
        white-space: nowrap;
735

    
736
    }
737

    
738
    /*.btn-circle.rounded-circle.btn-sm
739
    {
740
        width: 90px;
741
        height: 90px;
742
    }
743

    
744
    .btn-circle.rounded-circle.btn-dm
745
    {
746
        width: 130px;
747
        height: 130px;
748
    }
749

    
750
    .btn-circle.rounded-circle.btn-xl
751
    {
752
        width: 180px;
753
        height: 180px;
754
    }*/
755

    
756
    body{
757
        .carousel {
758
            .carousel-inner {
759
                .social-logo {
760
                    padding-left: 30px;
761
                    top: 20%;
762
                }
763
            }
764
        }
765
    }
766
}
767

    
768
@media (min-width: 330px) and (max-height: 900px)
769
{
770
    body{
771
        .carousel {
772
            .carousel-inner {
773
                .social-logo {
774
                    top: 25%;
775
                }
776
            }
777
        }
778
    }
779
}
(1-1/3)