Welcome to mirror list, hosted at ThFree Co, Russian Federation.

progress.scss « scss « assets - github.com/forestryio/hugo-theme-novela.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4433cc401cc75a7588b866fa6be5067e9e946ac0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/*************************ASIDE*************************/
.aside-container{
    display: flex;
    margin: 0 auto;
    max-width: 1140px;
    z-index: 100;
    position: sticky;
    top: 30%;
  
    /*DESKTOP MEDIUM*/
    @media screen and (max-width: $desktop_medium){
        display: none;
    }
}

.aside-align{
    position: fixed;
    display: flex;
    transform: translateY(0px);
    top: 0;
    align-items: center;
    height: 100vh;
    z-index: 3;
  
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s linear, visibility 0.4s linear;
}

.overlap-container{
    user-select: none;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s;
}

/*************************PROGRESS*************************/
.progress-container{
    position: relative;
    outline: none;
    user-select: none;
}

.track-line{
    position: relative;
    display: flex;
    flex-direction: column;
    height: calc(88vh - 40px);
    max-height: 425px;
    width: 1px;
    background-color: var(--track);
    opacity: 0.6;
    overflow: hidden;
}

.progress-line{
    position: absolute;
    height: 100%;
    top: -100%;
    width: 1px;
    background-color: var(--progress);
    left: 0;
}