aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/animationtimeline/TimelineOverview.scss
blob: 2878232e61e141babfa9f50d9b5d319798959afc (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
@import './../global/globalCssVariables.module.scss';

$timelineColor: #9acedf;
$timelineDark: #77a1aa;

.timelineOverview-bounding {
    width: 100%;
    margin-right: 10px;
}

.timeline-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.timeline-overview-container {
    // padding: 0px;
    margin-right: 5px;
    // margin: 0px;
    margin-left: 5px;
    // width: 300px;
    width: 100%;
    height: 25px;
    background: white;
    position: relative;
    border: 2px solid $timelineDark;
    // width: 100%;

    .timeline-overview-visible {
        position: absolute;
        height: 21px;
        background: $timelineColor;
        display: inline-block;
        margin: 0px;
        padding: 0px;
        // top: 1px;
    }

    .timeline-overview-scrubber-container {
        margin: 0px;
        padding: 0px;
        position: absolute;
        height: 100%;
        width: 2px;
        top: 0px;
        left: 0px;
        z-index: 1001;
        background-color: black;
        display: inline-block;

        .timeline-overview-scrubber-head {
            padding: 0px;
            margin: 0px;
            position: absolute;
            height: 10px;
            width: 10px;
            background-color: white;
            border-radius: 50%;
            border: 2px solid black;
            left: -4px;
            // top: -30px;
            top: -10px;
        }
    }
}

.timeline-play-bar {
    position: relative;
    padding: 0px;
    margin: 0px;
    width: 100%;
    height: 4px;
    background-color: $timelineColor;
    border-radius: 20px;
    cursor: pointer;

    .timeline-play-head {
        position: absolute;
        padding: 0px;
        margin: 0px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background-color: white;
        border: 3px solid $timelineColor;
        left: 0px;
        top: -8px;
        cursor: pointer;
    }
}

.timeline-play-tail {
    position: absolute;
    padding: 0px;
    margin: 0px;
    height: 4px;
    width: 0px;
    z-index: 1000;
    background-color: $timelineDark;
    border-radius: 20px;
    margin-top: -4px;
    cursor: pointer;
}