Projekt

Obecné

Profil

« Předchozí | Další » 

Revize e765fd91

Přidáno uživatelem Marek Lovčí před asi 4 roky(ů)

Relace Metadata|User.
Issue #7847 @0.25h

Zobrazit rozdíly:

resources/sass/_custom.scss
1
// Ready for custom styling
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
    footer {
259
        background: $theme-color-four;
260
        color: $theme-color-five;
261
        display: block;
262
        height: 50px;
263
        position: fixed;
264
        left: 0;
265
        bottom: 0;
266
        width: 100%;
267
    }
268

  
269
    .button-image {
270
        background-color: transparent;
271
        border-color: transparent;
272

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

  
286
    .artefacts-area {
287

  
288
        h5 {
289
            color: $theme-color-two;
290
            font-weight: $font-weight-two;
291
            line-height: 20pt;
292
            font-size: 21pt;
293
        }
294

  
295
        h6 {
296
            color: $theme-color-two;
297
            font-size: 14pt;
298
            //font-weight: lighter;
299
            font-weight: $font-weight-one;
300
        }
301

  
302
        img {
303
            border: transparent;
304
            border-radius: 1px;
305
        }
306

  
307
        .card {
308
            margin: 10px;
309
            border: none !important;
310
        }
311

  
312
        .left_panel_info {
313
            margin-top: 15px;
314
            margin-left: -10px;
315
            max-width: 250px;
316
        }
317

  
318
        .right_panel_info {
319
            margin-top: 15px;
320
            margin-right: -15px;
321
        }
322

  
323
        .card-cus-bottom {
324
            background-color: $theme-color-five;
325
        }
326

  
327
        .inter_info {
328
            &:before {
329
                background-image: url(../images/interface/Button_Info_50.png);
330
                width: 60px;
331
                height: 60px;
332
            }
333
        }
334

  
335
        .inter_like {
336
            display: none;
337
            &:before {
338
                background-image : url(../images/interface/Hearth_Empty_50.png);
339
                width: 60px;
340
                height: 60px;
341
            }
342
        }
343

  
344
        .inter_like_filled {
345
            &:before {
346
                background-image : url(../images/interface/Hearth_Filled_50.png);
347
                width: 60px;
348
                height: 60px;
349
            }
350
        }
351

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

  
363
    .monButton {
364

  
365
        &:before {
366
            background-image : url(../images/Button_Arrow_Small.png);
367
            //height: 0.9685rem;
368
            //width: 0.59055rem;
369
        }
370

  
371
        &:hover {
372
            background-color: transparent;
373
            border-color: $theme-color-four;
374
        }
375

  
376
        &:focus {
377
            background-color: transparent;
378
            border-color: $theme-color-four;
379
            outline: none !important;
380
            box-shadow: none !important;
381
        }
382

  
383
        &:active {
384
            background-color: transparent !important;
385
            border-color: transparent !important;
386
            outline: none !important;
387
            box-shadow: none !important;
388
        }
389
    }
390

  
391
    .content {
392
        position: relative;
393

  
394
        //Circle style button
395
            //Toto možná nebude zcela optimální pro ostatní circle buttony. Nehodící se propagujte do btn-categories.
396
        .btn-circle.rounded-circle {
397
            padding: 6px 0px;
398
            font-size: 16px;
399
            text-align: center;
400
        }
401
        .btn-categories
402
        {
403
            position: absolute;
404
            border-width: 5px;
405
            background-color: $theme-color-five;
406
            border-color: $theme-color-four;
407
            color:$theme-color-four;
408
            outline: none !important;
409
            box-shadow: none !important;
410
            font-weight: $font-weight-two;
411

  
412
            &:active
413
            {
414
                background-color: $theme-color-three;
415
                border-color: $theme-color-four;
416
                outline: none !important;
417
                box-shadow: none !important;
418
                color:$theme-color-five;
419
            }
420
        }
421

  
422
        .btn-sm
423
        {
424
            width: 120px;
425
            height: 120px;
426
        }
427
        .btn-dm
428
        {
429
            width: 240px;
430
            height: 240px;
431
        }
432
        .btn-xl
433
        {
434
            width: 360px;
435
            height: 360px;
436
        }
437

  
438
    }
439
}
440

  
441
.arrow{
442
    position: absolute;
443
    width: 0;
444
    height: 0;
445
    margin: 2rem;
446
    cursor:pointer;
447
    border: 0.59055rem solid transparent;
448
}
449

  
450
.arrow-left {
451
    margin-left: 80%;
452

  
453
    border-right:0.59055rem solid $theme-color-five;
454
    background-color: $theme-color-four !important;
455
}
456

  
457
.arrow-right {
458
    border-left:0.59055rem solid $theme-color-four;
459

  
460
    position: fixed;
461
    z-index: 1;
462
    top: 0;
463
    left: 0;
464
}
465

  
466
.sidenav {
467
    height: 100%;
468
    width: 0;
469
    position: fixed;
470
    z-index: 1;
471
    top: 0;
472
    left: 0;
473
    background-color: $theme-color-four;
474
    overflow-x: hidden;
475
    transition: 0.5s;
476
}
477

  
478
.sidenav a {
479
    text-decoration: none;
480
    color: $theme-color-five;
481
    display: block;
482
    transition: 0.3s;
483
}
484

  
485
.sidenav a:hover {
486
    color: $theme-color-four;
487
    background-color: $theme-color-one;
488
}
489

  
490
@media screen and (max-height: 450px) {
491
    //.sidenav {padding-top: 15px;}
492
    .sidenav a {font-size: 18px;}
493
}
494

  
495
@media (max-width: 990px) {
496
    body {
497
        /*.pin-left {
498
            margin-left: -15rem;
499
            margin-top: 11rem;
500
        }*/
501
    }
502
}
503

  
504
@media (max-width: 770px) {
505
    body {
506
        .pin-left {
507
            margin-left: -33vw;
508
            margin-top: 12rem;
509
            //left: 20vw;
510
        }
511
    }
512
}
513

  
514
@media only screen and (max-width: 540px)
515
{
516
    .head-title.text-center h1
517
    {
518
        font-size: 45pt;
519
    }
520

  
521
    .btn-circle.rounded-circle.btn-sm
522
    {
523
        width: 90px;
524
        height: 90px;
525
    }
526

  
527
    .btn-circle.rounded-circle.btn-dm
528
    {
529
        width: 130px;
530
        height: 130px;
531
    }
532

  
533
    .btn-circle.rounded-circle.btn-xl
534
    {
535
        width: 180px;
536
        height: 180px;
537
    }
538

  
539
    body{
540
        .carousel {
541
            .carousel-inner {
542
                .social-logo {
543
                    padding-left: 30px;
544
                    top: 20%;
545
                }
546
            }
547
        }
548
    }
549
}
550

  
551
@media (min-width: 330px) and (max-height: 900px)
552
{
553
    body{
554
        .carousel {
555
            .carousel-inner {
556
                .social-logo {
557
                    top: 25%;
558
                }
559
            }
560
        }
561
    }
562
}

Také k dispozici: Unified diff