Projekt

Obecné

Profil

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

    
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/Hearth_Empty_Small.png);
385
                width: 25px;
386
                height: 19px;
387
            }
388
        }
389

    
390
        .inter_info {
391

    
392
            padding-right: 1rem;
393
            &:before {
394
                background-image: url(../images/interface/Button_Info_Small.png);
395
                width: 29px;
396
                height: 29px;
397
            }
398
        }
399

    
400
        .artefact-likes {
401
            font-weight: $font-weight-two;
402
            font-size: 5pt;
403
            padding-right: 0.25rem;
404
        }
405
    }
406

    
407
    // Metadata area
408
    .metadata-area {
409

    
410
        h2 {
411
            font-weight: $font-weight-two;
412
            font-size: 12pt;
413
        }
414

    
415
        .arrow-down {
416
            position: fixed;
417
            top: 0.25rem;
418
            right: 0;
419
            margin: 2rem;
420
            width: 0;
421
            height: 0;
422
            border-left: 0.59055rem solid transparent;
423
            border-right: 0.59055rem solid transparent;
424
            border-top: 0.59055rem solid $theme-color-two;
425
        }
426

    
427
        .pin-horizontal {
428
            color: $theme-color-two;
429
            border-bottom: .042rem solid $theme-color-two;
430
            display: inline-block;
431
            margin: 2.75rem 3.125rem 0 0;
432

    
433
            &:before {
434
                content: '';
435
                background-color: $theme-color-two;
436
                position: relative;
437
                height: .5rem;
438
                width: .5rem;
439
                border-radius: 50%;
440
                display: inline-block;
441
                top: 1.5rem;
442
                left: 50vw;
443
            }
444

    
445
            .metadata {
446
                position: relative;
447
                display: flex;
448
                align-items: baseline;
449

    
450
                span {
451
                    font-weight: $font-weight-two;
452
                }
453

    
454
                .arrow-down {
455
                    position: relative;
456
                    top: 0;
457
                    right: 0;
458
                    width: 0;
459
                    height: 0;
460
                    border-left: 0.25rem solid transparent;
461
                    border-right: 0.25rem solid transparent;
462
                    border-top: 0.25rem solid $theme-color-two;
463
                    margin: 0 0.5rem 0 0.5rem;
464
                }
465
            }
466
        }
467

    
468
        .white-pin {
469
            color: $theme-color-one;
470
            border-bottom: .042rem solid $theme-color-one;
471

    
472
            &:before {
473
                content: '';
474
                background-color: $theme-color-one;
475
            }
476

    
477
            .metadata {
478
                .arrow-down {
479
                    border-top: 0.25rem solid $theme-color-one;
480
                }
481
            }
482
        }
483

    
484
        .metadata-text {
485
            font-size: 8pt;
486
            color: $theme-color-one;
487
            padding-top: 10px;
488
            padding-left: 25px;
489
            padding-right: 25px;
490

    
491
            .artefact-info {
492
                color: $theme-color-two;
493
                margin-top: 10px;
494

    
495
                .artefact-name {
496
                    font-weight: $font-weight-two;
497
                    font-size: 8pt;
498
                }
499

    
500
                .artefact-author {
501
                    font-weight: $font-weight-one;
502
                    font-size: 7pt;
503
                }
504

    
505
                .inter_like_filled {
506

    
507
                    &:before {
508
                        background-image : url(../images/interface/Heart_Filled.svg);
509
                        width: 3.125rem;
510
                        height: 3.125rem;
511
                        margin-right: 0;
512
                    }
513

    
514
                    &:hover, &:focus, &:active {
515
                        background-color: transparent !important;
516
                        border-color: transparent !important;
517
                        outline: none !important;
518
                        box-shadow: none !important;
519
                    }
520
                }
521
            }
522
        }
523
    }
524

    
525
    /*.content {
526
        position: relative;
527

    
528
        //Circle style button
529
        .btn-circle.rounded-circle {
530
            padding: 6px 0px;
531
            font-size: 16px;
532
            text-align: center;
533
        }
534
        .btn-categories
535
        {
536
            position: absolute;
537
            border-width: 5px;
538
            background-color: $theme-color-five;
539
            border-color: $theme-color-four;
540
            color:$theme-color-four;
541
            outline: none !important;
542
            box-shadow: none !important;
543
            font-weight: $font-weight-two;
544

    
545
            &:active
546
            {
547
                background-color: $theme-color-three;
548
                border-color: $theme-color-four;
549
                outline: none !important;
550
                box-shadow: none !important;
551
                color:$theme-color-five;
552
            }
553
        }
554
    }*/
555

    
556

    
557

    
558
    //CATEGORIES - ROW BLOCK
559
    .cat-col-md-2
560
    {
561
        margin: 2%;
562
    }
563

    
564
    //CATEGORIES - TILES
565
    .btn.btn-dark.cat-tile
566
    {
567
        //STYLING
568
        border-color: $theme-color-four;
569
        border-radius: 0;
570
        border-style: solid;
571
        border-width: 2px;
572
        color: $theme-color-four;
573
        background-color: $theme-color-five;
574
        text-align: center;
575
        outline: none !important;
576
        box-shadow: none !important;
577

    
578
        //FONT
579
        font-size: 8mm;
580
        word-wrap: break-word;
581

    
582
        //SPACING
583
        height: 40mm;
584
        width: 100%;
585

    
586
        &:active, &:focus
587
        {
588
            background-color: $theme-color-three;
589
            border-color: $theme-color-four;
590
            outline: none !important;
591
            box-shadow: none !important;
592
            color: $theme-color-five;
593
        }
594
    }
595

    
596
    //CATEGORY/{id} -h2 title NO ARTEFACTS
597
    .category-h2
598
    {
599
        color: $theme-color-four;
600
    }
601
}
602

    
603
.arrow{
604
    position: absolute;
605
    width: 0;
606
    height: 0;
607
    margin: 2rem;
608
    cursor:pointer;
609
    border: 0.59055rem solid transparent;
610
}
611

    
612
.arrow-left {
613
    margin-left: 80%;
614

    
615
    border-right:0.59055rem solid $theme-color-five;
616
    background-color: $theme-color-four !important;
617
}
618

    
619
.arrow-right {
620
    border-left:0.59055rem solid $theme-color-four;
621

    
622
    position: fixed;
623
    z-index: 1;
624
    top: 0;
625
    left: 0;
626
}
627

    
628
.sidenav {
629
    height: 100%;
630
    //width: 0;
631
    width: 250px;
632
    position: fixed;
633
    z-index: 1;
634
    top: 0;
635
    left: 0;
636
    background-color: $theme-color-four;
637
    overflow-x: hidden;
638
    transition: 0.5s;
639
}
640

    
641
.sidenav a {
642
    text-decoration: none;
643
    color: $theme-color-five;
644
    display: block;
645
    transition: 0.3s;
646
}
647

    
648
.sidenav a:hover {
649
    color: $theme-color-four;
650
    background-color: $theme-color-one;
651
}
652

    
653
@media screen and (max-height: 450px) {
654
    .sidenav a {font-size: 18px;}
655
}
656

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

    
659
@media (max-width: 770px) {
660
    body {
661
        .pin-left {
662
            margin-left: -33vw;
663
            margin-top: 15rem;
664
            //left: 20vw;
665
        }
666
        .register{
667
            .pin-left{
668
                margin-top: 20rem;
669
            }
670
        }
671

    
672
    }
673
}
674

    
675
@media only screen and (max-width: 540px)
676
{
677
    .sidenav{
678
        width: 0;
679
    }
680
    .head-title.text-center h1
681
    {
682
        font-size: 23pt;
683
        padding-top: 50pt;
684
        white-space: nowrap;
685

    
686
    }
687

    
688
    /*.btn-circle.rounded-circle.btn-sm
689
    {
690
        width: 90px;
691
        height: 90px;
692
    }
693

    
694
    .btn-circle.rounded-circle.btn-dm
695
    {
696
        width: 130px;
697
        height: 130px;
698
    }
699

    
700
    .btn-circle.rounded-circle.btn-xl
701
    {
702
        width: 180px;
703
        height: 180px;
704
    }*/
705

    
706
    body{
707
        .carousel {
708
            .carousel-inner {
709
                .social-logo {
710
                    padding-left: 30px;
711
                    top: 20%;
712
                }
713
            }
714
        }
715
    }
716
}
717

    
718
@media (min-width: 330px) and (max-height: 900px)
719
{
720
    body{
721
        .carousel {
722
            .carousel-inner {
723
                .social-logo {
724
                    top: 25%;
725
                }
726
            }
727
        }
728
    }
729
}
(1-1/3)