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: 3.35rem 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/Hearth_Filled_50.png);
509
                        width: 50px;
510
                        height: 50px;
511
                    }
512

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

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

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

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

    
555

    
556

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    
671
    }
672
}
673

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

    
685
    }
686

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

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

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

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

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