Projekt

Obecné

Profil

Stáhnout (16.1 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
    .card-body {
147
    	background-color: $theme-color-five;
148
    	font-weight: $font-weight-one;
149
    	color: $theme-color-four;
150
	}
151

    
152
	.form-control {
153
    	background-color: $theme-color-five;
154
    	margin-top: -1px;
155
    	border-top-color: $theme-color-five;
156
    	border-left-color: $theme-color-five;
157
    	border-right-color: $theme-color-five;
158
    	border-bottom-color: 0.5pt $theme-color-one;
159
    	color: $theme-color-one;
160
        box-shadow: none;
161
        font-size: 8pt;
162

    
163
        &:active, &:focus, &:visited{
164
            background-color: $theme-color-five;
165
            margin-top: -1px;
166
            border-top-color: $theme-color-five;
167
            border-left-color: $theme-color-five;
168
            border-right-color: $theme-color-five;
169
            border-bottom-color: 0.5pt $theme-color-one;
170
            color: $theme-color-one;
171
            box-shadow: none;
172
        }
173

    
174
	}
175
    .form-control.is-invalid{
176
        box-shadow: none;
177
        border-color: $theme-color-four;
178
        background-image: none;
179
        &:active, &:focus, &:visited{
180
            box-shadow: none;
181
            border-color: $theme-color-four;
182
        }
183
    }
184

    
185
    .button-square {
186
        font-size: 8pt;
187
        background-color: $theme-color-five;
188
        color: $theme-color-one;
189
        border: 0.5pt solid $theme-color-one;
190
        border-radius: 0;
191
        width: 6.5rem;
192
        height: 2rem;
193
        font-weight: $font-weight-one;
194

    
195
        &:active, &:focus, &:visited, &:hover {
196
            outline: none;
197
            box-shadow: none;
198
            color: $theme-color-one;
199
        }
200
        &:hover{
201
            color: $theme-color-four;
202
        }
203
    }
204

    
205
    //spendlik
206
    .pin-left:before {
207
        content: '';
208
        position: relative;
209
        height: 0.35433rem;
210
        width: 0.35433rem;
211
        background-color: $theme-color-one;
212
        border-radius: 50%;
213
        display: inline-block;
214
        top: -0.35433rem;
215
        left: -0.2rem;
216
    }
217

    
218
    .pin-left {
219
        border-left: .5pt solid $theme-color-four;
220
        display: inline-block;
221
        margin: 10rem 50px 0px -5rem;
222
        position: fixed;
223
        top: 0;
224
        bottom: 0;
225
        text-align: left;
226
        width: 100%;
227
        .text{
228
            margin-left: 0.5rem;
229
        }
230
        p{
231
            margin-top: 0;
232
            margin-bottom: 0;
233
        }
234
    }
235

    
236
    li{
237
        list-style-type: none;
238
    }
239

    
240
    .button-image {
241
        background-color: transparent;
242
        border-color: transparent;
243

    
244
        &:before {
245
            content: "";
246
            width: 100px;
247
            height: 100px;
248
            display: inline-block;
249
            margin-right: 5px;
250
            vertical-align: text-top;
251
            background-color: transparent;
252
            background-position : center center;
253
            background-repeat:no-repeat;
254
        }
255
    }
256

    
257
    .artefacts-area, .artefact-area {
258

    
259
        h5 {
260
            color: $theme-color-two;
261
            font-weight: $font-weight-two;
262
            line-height: 20pt;
263
            font-size: 21pt;
264
        }
265

    
266
        h6 {
267
            color: $theme-color-two;
268
            font-size: 14pt;
269
            //font-weight: lighter;
270
            font-weight: $font-weight-one;
271
        }
272

    
273
        img {
274
            border: transparent;
275
            border-radius: 1px;
276
        }
277

    
278
        .card {
279
            margin: 10px;
280
            border: none !important;
281
        }
282

    
283
        .left_panel_info {
284
            margin-top: 15px;
285
            margin-left: -10px;
286
            max-width: 250px;
287
        }
288

    
289
        .right_panel_info {
290
            margin-top: 15px;
291
            margin-right: -15px;
292
        }
293

    
294
        .card-cus-bottom {
295
            background-color: $theme-color-five;
296
        }
297

    
298
        .inter_info {
299
            &:before {
300
                background-image: url(../images/interface/Button_Info_50.png);
301
                width: 60px;
302
                height: 60px;
303
            }
304
        }
305

    
306
        .inter_like {
307
            display: none;
308
            &:before {
309
                background-image : url(../images/interface/Hearth_Empty_50.png);
310
                width: 60px;
311
                height: 60px;
312
            }
313
        }
314

    
315
        .inter_like_filled {
316
            &:before {
317
                background-image : url(../images/interface/Hearth_Filled_50.png);
318
                width: 60px;
319
                height: 60px;
320
            }
321
        }
322

    
323
        .inter_info, .inter_like, .inter_like_filled {
324
            padding: 0;
325
            &:focus, &:active, &:hover {
326
                background-color: transparent !important;
327
                border-color: transparent !important;
328
                outline: none !important;
329
                box-shadow: none !important;
330
            };
331
        }
332
    }
333

    
334

    
335
    .artefact-area {
336

    
337
        .card-cus-bottom {
338
            .left_panel_info, .right_panel_info {
339
                margin: 0.9375rem 0 0 0;
340
            }
341

    
342
            .right_panel_info {
343
                .float-right {
344
                    margin-right: -0.35rem;
345
                }
346
            }
347
        }
348

    
349
        .artefact-name {
350
            font-weight: $font-weight-two;
351
            font-size: 8pt;
352
            line-height: 10pt;
353
            margin-bottom: 0;
354
        }
355

    
356
        .artefact-author {
357
            font-size: 7pt;
358
            line-height: 8pt;
359
        }
360

    
361
        .inter_like {
362
            display: block;
363

    
364
            &:before {
365
                background-image: url(../images/interface/Hearth_Empty_Small.png);
366
                width: 25px;
367
                height: 19px;
368
            }
369
        }
370

    
371
        .inter_info {
372

    
373
            padding-right: 1rem;
374
            &:before {
375
                background-image: url(../images/interface/Button_Info_Small.png);
376
                width: 29px;
377
                height: 29px;
378
            }
379
        }
380

    
381
        .artefact-likes {
382
            font-weight: $font-weight-two;
383
            font-size: 5pt;
384
            padding-right: 0.25rem;
385
        }
386
    }
387

    
388
    // Metadata area
389
    .metadata-area {
390

    
391
        h2 {
392
            font-weight: $font-weight-two;
393
            font-size: 12pt;
394
        }
395

    
396
        .arrow-down {
397
            position: fixed;
398
            top: 0.25rem;
399
            right: 0;
400
            margin: 2rem;
401
            width: 0;
402
            height: 0;
403
            border-left: 0.59055rem solid transparent;
404
            border-right: 0.59055rem solid transparent;
405
            border-top: 0.59055rem solid $theme-color-two;
406
        }
407

    
408
        .pin-horizontal {
409
            color: $theme-color-two;
410
            border-bottom: .042rem solid $theme-color-two;
411
            display: inline-block;
412
            margin: 3.35rem 3.125rem 0 0;
413

    
414
            &:before {
415
                content: '';
416
                background-color: $theme-color-two;
417
                position: relative;
418
                height: .5rem;
419
                width: .5rem;
420
                border-radius: 50%;
421
                display: inline-block;
422
                top: 1.5rem;
423
                left: 50vw;
424
            }
425

    
426
            .metadata {
427
                position: relative;
428
                display: flex;
429
                align-items: baseline;
430

    
431
                span {
432
                    font-weight: $font-weight-two;
433
                }
434

    
435
                .arrow-down {
436
                    position: relative;
437
                    top: 0;
438
                    right: 0;
439
                    width: 0;
440
                    height: 0;
441
                    border-left: 0.25rem solid transparent;
442
                    border-right: 0.25rem solid transparent;
443
                    border-top: 0.25rem solid $theme-color-two;
444
                    margin: 0 0.5rem 0 0.5rem;
445
                }
446
            }
447
        }
448

    
449
        .white-pin {
450
            color: $theme-color-one;
451
            border-bottom: .042rem solid $theme-color-one;
452

    
453
            &:before {
454
                content: '';
455
                background-color: $theme-color-one;
456
            }
457

    
458
            .metadata {
459
                .arrow-down {
460
                    border-top: 0.25rem solid $theme-color-one;
461
                }
462
            }
463
        }
464

    
465
        .metadata-text {
466
            font-size: 8pt;
467
            color: $theme-color-one;
468
            padding-top: 10px;
469
            padding-left: 25px;
470
            padding-right: 25px;
471

    
472
            .artefact-info {
473
                color: $theme-color-two;
474
                margin-top: 10px;
475

    
476
                .artefact-name {
477
                    font-weight: $font-weight-two;
478
                    font-size: 8pt;
479
                }
480

    
481
                .artefact-author {
482
                    font-weight: $font-weight-one;
483
                    font-size: 7pt;
484
                }
485

    
486
                .inter_like_filled {
487

    
488
                    &:before {
489
                        background-image : url(../images/interface/Hearth_Filled_50.png);
490
                        width: 50px;
491
                        height: 50px;
492
                    }
493

    
494
                    &:hover, &:focus, &:active {
495
                        background-color: transparent !important;
496
                        border-color: transparent !important;
497
                        outline: none !important;
498
                        box-shadow: none !important;
499
                    }
500
                }
501
            }
502
        }
503
    }
504

    
505
    /*.content {
506
        position: relative;
507

    
508
        //Circle style button
509
        .btn-circle.rounded-circle {
510
            padding: 6px 0px;
511
            font-size: 16px;
512
            text-align: center;
513
        }
514
        .btn-categories
515
        {
516
            position: absolute;
517
            border-width: 5px;
518
            background-color: $theme-color-five;
519
            border-color: $theme-color-four;
520
            color:$theme-color-four;
521
            outline: none !important;
522
            box-shadow: none !important;
523
            font-weight: $font-weight-two;
524

    
525
            &:active
526
            {
527
                background-color: $theme-color-three;
528
                border-color: $theme-color-four;
529
                outline: none !important;
530
                box-shadow: none !important;
531
                color:$theme-color-five;
532
            }
533
        }
534
    }*/
535

    
536

    
537

    
538
    //CATEGORIES - ROW BLOCK
539
    .cat-col-md-2
540
    {
541
        margin: 2%;
542
    }
543

    
544
    //CATEGORIES - TILES
545
    .btn.btn-dark.cat-tile
546
    {
547
        //STYLING
548
        border-color: $theme-color-four;
549
        border-radius: 0;
550
        border-style: solid;
551
        border-width: 2px;
552
        color: $theme-color-four;
553
        background-color: $theme-color-five;
554
        text-align: center;
555
        outline: none !important;
556
        box-shadow: none !important;
557

    
558
        //FONT
559
        font-size: 8mm;
560
        word-wrap: break-word;
561

    
562
        //SPACING
563
        height: 40mm;
564
        width: 100%;
565

    
566
        &:active, &:focus
567
        {
568
            background-color: $theme-color-three;
569
            border-color: $theme-color-four;
570
            outline: none !important;
571
            box-shadow: none !important;
572
            color: $theme-color-five;
573
        }
574
    }
575

    
576
    //CATEGORY/{id} -h2 title NO ARTEFACTS
577
    .category-h2
578
    {
579
        color: $theme-color-four;
580
    }
581
}
582

    
583
.arrow{
584
    position: absolute;
585
    width: 0;
586
    height: 0;
587
    margin: 2rem;
588
    cursor:pointer;
589
    border: 0.59055rem solid transparent;
590
}
591

    
592
.arrow-left {
593
    margin-left: 80%;
594

    
595
    border-right:0.59055rem solid $theme-color-five;
596
    background-color: $theme-color-four !important;
597
}
598

    
599
.arrow-right {
600
    border-left:0.59055rem solid $theme-color-four;
601

    
602
    position: fixed;
603
    z-index: 1;
604
    top: 0;
605
    left: 0;
606
}
607

    
608
.sidenav {
609
    height: 100%;
610
    //width: 0;
611
    width: 250px;
612
    position: fixed;
613
    z-index: 1;
614
    top: 0;
615
    left: 0;
616
    background-color: $theme-color-four;
617
    overflow-x: hidden;
618
    transition: 0.5s;
619
}
620

    
621
.sidenav a {
622
    text-decoration: none;
623
    color: $theme-color-five;
624
    display: block;
625
    transition: 0.3s;
626
}
627

    
628
.sidenav a:hover {
629
    color: $theme-color-four;
630
    background-color: $theme-color-one;
631
}
632

    
633
@media screen and (max-height: 450px) {
634
    .sidenav a {font-size: 18px;}
635
}
636

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

    
639
@media (max-width: 770px) {
640
    body {
641
        .pin-left {
642
            margin-left: -33vw;
643
            margin-top: 12rem;
644
            //left: 20vw;
645
        }
646
    }
647
}
648

    
649
@media only screen and (max-width: 540px)
650
{
651
    .sidenav{
652
        width: 0;
653
    }
654
    .head-title.text-center h1
655
    {
656
        font-size: 23pt;
657
        padding-top: 50pt;
658
        white-space: nowrap;
659

    
660
    }
661

    
662
    /*.btn-circle.rounded-circle.btn-sm
663
    {
664
        width: 90px;
665
        height: 90px;
666
    }
667

    
668
    .btn-circle.rounded-circle.btn-dm
669
    {
670
        width: 130px;
671
        height: 130px;
672
    }
673

    
674
    .btn-circle.rounded-circle.btn-xl
675
    {
676
        width: 180px;
677
        height: 180px;
678
    }*/
679

    
680
    body{
681
        .carousel {
682
            .carousel-inner {
683
                .social-logo {
684
                    padding-left: 30px;
685
                    top: 20%;
686
                }
687
            }
688
        }
689
    }
690
}
691

    
692
@media (min-width: 330px) and (max-height: 900px)
693
{
694
    body{
695
        .carousel {
696
            .carousel-inner {
697
                .social-logo {
698
                    top: 25%;
699
                }
700
            }
701
        }
702
    }
703
}
(1-1/3)