aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/animationtimeline/Region.scss
blob: b390ae34e15db533670aafe8960d413b16cc0c40 (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
106
@import './../global/globalCssVariables.module.scss';

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

.bar {
    height: 100%;
    width: 5px;
    position: absolute;

    // pointer-events: none;
    .menubox {
        width: 200px;
        height: 200px;
        top: 50%;
        position: relative;
        background-color: $white;

        .menutable {
            tr:nth-child(odd) {
                background-color: $light-gray;
            }
        }
    }

    .leftResize {
        left: -10px;
        border: 3px solid black;
        transform: rotate(45deg) scale(0.25) !important;
        background-color: black !important;
    }

    .rightResize {
        right: -10px;
        border: 3px solid black;
        transform: rotate(45deg) scale(0.25) !important;
        background-color: black !important;
    }

    .keyframe-indicator {
        height: 20px;
        width: 20px;
        top: calc(50% - 10px);
        background-color: white;
        -ms-transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        z-index: 1000;
        position: absolute;
    }

    .keyframe-information {
        display: none;
        position: relative;
        // z-index: 100000;
        // background: $timelineDark;
        width: 100px;
        // left: -50px;
        height: 100px;
        // top: 40px;
    }

    .keyframeCircle {
        left: -10px;
        border: 3px solid $timelineDark;
    }

    .fadeLeft {
        left: 0px;
        height: 100%;
        position: absolute;
        pointer-events: none;
        background: linear-gradient(to left, $timelineColor 10%, $white);
    }

    .fadeRight {
        right: 0px;
        height: 100%;
        position: absolute;
        pointer-events: none;
        background: linear-gradient(to right, $timelineColor 10%, $white);
    }

    .divider {
        height: 100%;
        width: 1px;
        position: absolute;
        background-color: black;
        cursor: col-resize;
        pointer-events: none;
    }

    .keyframe {
        height: 100%;
        position: absolute;
    }

    .fadeIn-container,
    .fadeOut-container,
    .body-container {
        position: absolute;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
    }
}