Projekt

Obecné

Profil

Stáhnout (17 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
            p {
64
                font-size: 8pt;
65
                color: $theme-color-five;
66
            }
67
        }
68
    }
69

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

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

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

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

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

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

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

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

    
130

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

    
139
        .col-form-label{
140
            text-align: left;
141
            padding-top: 0px;
142
            padding-bottom: 0px;
143
        }
144
        .form-control{
145
            padding: 0px;
146
            height: 17pt;
147
            border-radius: 0%;
148
        }
149
    }
150

    
151
    .card-body {
152
    	background-color: $theme-color-five;
153
    	font-weight: $font-weight-one;
154
    	color: $theme-color-four;
155

    
156
	}
157

    
158
	.form-control {
159
    	background-color: $theme-color-five;
160
    	margin-top: -1px;
161
    	border-top-color: $theme-color-five;
162
    	border-left-color: $theme-color-five;
163
    	border-right-color: $theme-color-five;
164
    	border-bottom-color: 0.5pt $theme-color-one;
165
    	color: $theme-color-one;
166
        box-shadow: none;
167
        font-size: 8pt;
168

    
169
        &:active, &:focus, &:visited{
170
            background-color: $theme-color-five;
171
            margin-top: -1px;
172
            border-top-color: $theme-color-five;
173
            border-left-color: $theme-color-five;
174
            border-right-color: $theme-color-five;
175
            border-bottom-color: 0.5pt $theme-color-one;
176
            color: $theme-color-one;
177
            box-shadow: none;
178
        }
179

    
180
	}
181
    .form-control.is-invalid{
182
        box-shadow: none;
183
        border-color: $theme-color-four;
184
        background-image: none;
185
        &:active, &:focus, &:visited{
186
            box-shadow: none;
187
            border-color: $theme-color-four;
188
        }
189
    }
190

    
191
    /*.form-control:focus {
192
        background-color: $theme-color-five;
193
        margin-top: -1px;
194
        border-top-color: $theme-color-five;
195
        border-left-color: $theme-color-five;
196
        border-right-color: $theme-color-five;
197
        border-bottom-color: 0.5pt $theme-color-one;
198
        color: $theme-color-one;
199
        box-shadow: none;
200
        font-size: 8pt;
201
    }*/
202

    
203
    .button-square {
204
        font-size: 8pt;
205
        background-color: $theme-color-five;
206
        color: $theme-color-one;
207
        border: 0.5pt solid $theme-color-one;
208
        border-radius: 0;
209
        width: 6.5rem;
210
        height: 2rem;
211
        font-weight: $font-weight-one;
212

    
213
        &:active, &:focus, &:visited {
214
            outline: none;
215
            box-shadow: none;
216
        }
217
    }
218

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

    
231
    }
232

    
233
    .pin-left {
234
        border-left: .5pt solid $theme-color-four;
235
        display: inline-block;
236
        //margin: 50px;
237
        //margin-bottom: 0pt;
238
        margin: 10rem 50px 0px -5rem;
239
        //min-height: 75vh;
240
        //height: auto;
241
        position: fixed;
242
        top: 0;
243
        bottom: 0;
244
        text-align: left;
245
        width: 100%;
246
        .text{
247
            //padding-top: 5rem;//0.35433rem;
248
            //margin-top: 5rem;
249
            //top: 5rem;
250
            margin-left: 0.5rem;
251
        }
252
        p{
253
            margin-top: 0pt;
254
            margin-bottom: 0pt;
255
        }
256
    }
257

    
258
    li{
259
        list-style-type: none;
260
    }
261

    
262
    /*footer {
263
        background: $theme-color-four;
264
        color: $theme-color-five;
265
        display: block;
266
        height: 50px;
267
        position: fixed;
268
        left: 0;
269
        bottom: 0;
270
        width: 100%;
271
    }*/
272

    
273
    .button-image {
274
        background-color: transparent;
275
        border-color: transparent;
276

    
277
        &:before {
278
            content: "";
279
            width: 100px;
280
            height: 100px;
281
            display: inline-block;
282
            margin-right: 5px;
283
            vertical-align: text-top;
284
            background-color: transparent;
285
            background-position : center center;
286
            background-repeat:no-repeat;
287
        }
288
    }
289

    
290
    .artefacts-area, .artefact-area {
291

    
292
        h5 {
293
            color: $theme-color-two;
294
            font-weight: $font-weight-two;
295
            line-height: 20pt;
296
            font-size: 21pt;
297
        }
298

    
299
        h6 {
300
            color: $theme-color-two;
301
            font-size: 14pt;
302
            //font-weight: lighter;
303
            font-weight: $font-weight-one;
304
        }
305

    
306
        img {
307
            border: transparent;
308
            border-radius: 1px;
309
        }
310

    
311
        .card {
312
            margin: 10px;
313
            border: none !important;
314
        }
315

    
316
        .left_panel_info {
317
            margin-top: 15px;
318
            margin-left: -10px;
319
            max-width: 250px;
320
        }
321

    
322
        .right_panel_info {
323
            margin-top: 15px;
324
            margin-right: -15px;
325
        }
326

    
327
        .card-cus-bottom {
328
            background-color: $theme-color-five;
329
        }
330

    
331
        .inter_info {
332
            &:before {
333
                background-image: url(../images/interface/Button_Info_50.png);
334
                width: 60px;
335
                height: 60px;
336
            }
337
        }
338

    
339
        .inter_like {
340
            display: none;
341
            &:before {
342
                background-image : url(../images/interface/Hearth_Empty_50.png);
343
                width: 60px;
344
                height: 60px;
345
            }
346
        }
347

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

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

    
367
    .artefact-area {
368

    
369
        .card-cus-bottom {
370
            .left_panel_info, .right_panel_info {
371
                margin: 0.9375rem 0 0 0;
372
            }
373

    
374
            .right_panel_info {
375
                .float-right {
376
                    margin-right: -0.35rem;
377
                }
378
            }
379
        }
380

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

    
388
        .artefact-author {
389
            font-size: 7pt;
390
            line-height: 8pt;
391
        }
392

    
393
        .inter_like {
394
            display: block;
395

    
396
            &:before {
397
                background-image: url(../images/interface/Hearth_Empty_Small.png);
398
                width: 25px;
399
                height: 19px;
400
            }
401
        }
402

    
403
        .inter_info {
404

    
405
            padding-right: 1rem;
406
            &:before {
407
                background-image: url(../images/interface/Button_Info_Small.png);
408
                width: 29px;
409
                height: 29px;
410
            }
411
        }
412

    
413
        .artefact-likes {
414
            font-weight: $font-weight-two;
415
            font-size: 5pt;
416
            padding-right: 0.25rem;
417
        }
418
    }
419

    
420
    // Metadata area
421
    .metadata-area {
422

    
423
        h2 {
424
            font-weight: $font-weight-two;
425
            font-size: 12pt;
426
        }
427

    
428
        .arrow-down {
429
            position: fixed;
430
            top: 0.25rem;
431
            right: 0;
432
            margin: 2rem;
433
            width: 0;
434
            height: 0;
435
            border-left: 0.59055rem solid transparent;
436
            border-right: 0.59055rem solid transparent;
437
            border-top: 0.59055rem solid $theme-color-two;
438
        }
439

    
440
        .pin-horizontal {
441
            color: $theme-color-two;
442
            border-bottom: .042rem solid $theme-color-two;
443
            display: inline-block;
444
            margin: 3.35rem 3.125rem 0 0;
445

    
446
            &:before {
447
                content: '';
448
                background-color: $theme-color-two;
449
                position: relative;
450
                height: .5rem;
451
                width: .5rem;
452
                border-radius: 50%;
453
                display: inline-block;
454
                top: 1.5rem;
455
                left: 50vw;
456
            }
457

    
458
            .metadata {
459
                position: relative;
460
                display: flex;
461
                align-items: baseline;
462

    
463
                span {
464
                    font-weight: $font-weight-two;
465
                }
466

    
467
                .arrow-down {
468
                    position: relative;
469
                    top: 0;
470
                    right: 0;
471
                    width: 0;
472
                    height: 0;
473
                    border-left: 0.25rem solid transparent;
474
                    border-right: 0.25rem solid transparent;
475
                    border-top: 0.25rem solid $theme-color-two;
476
                    margin: 0 0.5rem 0 0.5rem;
477
                }
478
            }
479
        }
480

    
481
        .white-pin {
482
            color: $theme-color-one;
483
            border-bottom: .042rem solid $theme-color-one;
484

    
485
            &:before {
486
                content: '';
487
                background-color: $theme-color-one;
488
            }
489

    
490
            .metadata {
491
                .arrow-down {
492
                    border-top: 0.25rem solid $theme-color-one;
493
                }
494
            }
495
        }
496

    
497
        .metadata-text {
498
            font-size: 8pt;
499
            color: $theme-color-one;
500
            padding-top: 10px;
501
            padding-left: 25px;
502
            padding-right: 25px;
503

    
504
            .artefact-info {
505
                color: $theme-color-two;
506
                margin-top: 10px;
507

    
508
                .artefact-name {
509
                    font-weight: $font-weight-two;
510
                    font-size: 8pt;
511
                }
512

    
513
                .artefact-author {
514
                    font-weight: $font-weight-one;
515
                    font-size: 7pt;
516
                }
517

    
518
                .inter_like_filled {
519

    
520
                    &:before {
521
                        background-image : url(../images/interface/Hearth_Filled_50.png);
522
                        width: 50px;
523
                        height: 50px;
524
                    }
525

    
526
                    &:hover, &:focus, &:active {
527
                        background-color: transparent !important;
528
                        border-color: transparent !important;
529
                        outline: none !important;
530
                        box-shadow: none !important;
531
                    }
532
                }
533
            }
534
        }
535
    }
536

    
537
    .content {
538
        position: relative;
539

    
540
        //Circle style button
541
        .btn-circle.rounded-circle {
542
            padding: 6px 0px;
543
            font-size: 16px;
544
            text-align: center;
545
        }
546
        .btn-categories
547
        {
548
            position: absolute;
549
            border-width: 5px;
550
            background-color: $theme-color-five;
551
            border-color: $theme-color-four;
552
            color:$theme-color-four;
553
            outline: none !important;
554
            box-shadow: none !important;
555
            font-weight: $font-weight-two;
556

    
557
            &:active
558
            {
559
                background-color: $theme-color-three;
560
                border-color: $theme-color-four;
561
                outline: none !important;
562
                box-shadow: none !important;
563
                color:$theme-color-five;
564
            }
565
        }
566
    }
567

    
568
    //CATEGORIES - ROW BLOCK
569
    .cat-col-md-2
570
    {
571
        margin: 2%;
572
    }
573

    
574
    //CATEGORIES - TILES
575
    .btn.btn-dark.cat-tile
576
    {
577
        //STYLING
578
        border-color: $theme-color-four;
579
        border-radius: 0;
580
        border-style: solid;
581
        border-width: 2px;
582
        color: $theme-color-four;
583
        background-color: $theme-color-five;
584
        text-align: center;
585
        outline: none !important;
586
        box-shadow: none !important;
587

    
588
        //FONT
589
        font-size: 8mm;
590
        word-wrap: break-word;
591

    
592
        //SPACING
593
        height: 40mm;
594
        width: 100%;
595

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

    
606
    //CATEGORY/{id} -h2 title NO ARTEFACTS
607
    .category-h2
608
    {
609
        color: $theme-color-four;
610
    }
611
}
612

    
613
.arrow{
614
    position: absolute;
615
    width: 0;
616
    height: 0;
617
    margin: 2rem;
618
    cursor:pointer;
619
    border: 0.59055rem solid transparent;
620
}
621

    
622
.arrow-left {
623
    margin-left: 80%;
624

    
625
    border-right:0.59055rem solid $theme-color-five;
626
    background-color: $theme-color-four !important;
627
}
628

    
629
.arrow-right {
630
    border-left:0.59055rem solid $theme-color-four;
631

    
632
    position: fixed;
633
    z-index: 1;
634
    top: 0;
635
    left: 0;
636
}
637

    
638
.sidenav {
639
    height: 100%;
640
    width: 0;
641
    width: 250px;
642
    position: fixed;
643
    z-index: 1;
644
    top: 0;
645
    left: 0;
646
    background-color: $theme-color-four;
647
    overflow-x: hidden;
648
    transition: 0.5s;
649
}
650

    
651
.sidenav a {
652
    text-decoration: none;
653
    color: $theme-color-five;
654
    display: block;
655
    transition: 0.3s;
656
}
657

    
658
.sidenav a:hover {
659
    color: $theme-color-four;
660
    background-color: $theme-color-one;
661
}
662

    
663
@media screen and (max-height: 450px) {
664
    //.sidenav {padding-top: 15px;}
665
    .sidenav a {font-size: 18px;}
666
}
667

    
668
@media (max-width: 990px) {
669
    body {
670
        /*.pin-left {
671
            margin-left: -15rem;
672
            margin-top: 11rem;
673
        }*/
674
    }
675
}
676

    
677
@media (max-width: 770px) {
678
    body {
679
        .pin-left {
680
            margin-left: -33vw;
681
            margin-top: 12rem;
682
            //left: 20vw;
683
        }
684
    }
685
}
686

    
687
@media only screen and (max-width: 540px)
688
{
689
    .sidenav{
690
        width: 0;
691
    }
692
    .head-title.text-center h1
693
    {
694
        font-size: 23pt;
695
        padding-top: 50pt;
696
        white-space: nowrap;
697

    
698
    }
699

    
700
    .btn-circle.rounded-circle.btn-sm
701
    {
702
        width: 90px;
703
        height: 90px;
704
    }
705

    
706
    .btn-circle.rounded-circle.btn-dm
707
    {
708
        width: 130px;
709
        height: 130px;
710
    }
711

    
712
    .btn-circle.rounded-circle.btn-xl
713
    {
714
        width: 180px;
715
        height: 180px;
716
    }
717

    
718
    body{
719
        .carousel {
720
            .carousel-inner {
721
                .social-logo {
722
                    padding-left: 30px;
723
                    top: 20%;
724
                }
725
            }
726
        }
727
    }
728
}
729

    
730
@media (min-width: 330px) and (max-height: 900px)
731
{
732
    body{
733
        .carousel {
734
            .carousel-inner {
735
                .social-logo {
736
                    top: 25%;
737
                }
738
            }
739
        }
740
    }
741
}
(1-1/3)