aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionStackedTimeline.scss
blob: 36aa36978dedc0bab494644df7b09acca0d152c0 (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.scss";

.timeline-container {
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    border: none;
    background-color: $white;
    border: 2px solid $dark-gray;
    border-width: 0 2px 0 2px;
}

.collectionStackedTimeline {
    position: absolute;
    background: $off-white;
    z-index: 1000;
    height: 100%;

    .collectionStackedTimeline-trim-shade {
        position: absolute;
        height: 100%;
        background-color: $dark-gray;
        opacity: 0.3;
        top: 0;
    }

    .collectionStackedTimeline-trim-controls {
        height: 100%;
        position: absolute;
        box-sizing: border-box;
        border: 2px solid $medium-blue;
        display: flex;
        justify-content: space-between;
        max-width: 100%;
        top: 0;
        left: 0;

        .collectionStackedTimeline-trim-handle {
            background-color: $medium-blue;
            height: 100%;
            width: 5px;
            cursor: ew-resize;
        }
    }

    .collectionStackedTimeline-selector {
        position: absolute;
        width: 10px;
        top: 2.5%;
        height: 95%;
        background: $light-blue;
        border-radius: 3px;
        opacity: 0.3;
        z-index: 500;
        border-style: solid;
        border-color: $medium-blue;
        border-width: 1px;
    }

    .collectionStackedTimeline-current {
        width: 1px;
        height: 100%;
        background-color: $pink;
        position: absolute;
        top: 0px;
        pointer-events: none;
    }

    .collectionStackedTimeline-marker-timeline {
        position: absolute;
        top: 2.5%;
        height: 95%;
        border-radius: 4px;
        background: $light-gray;
        &:hover {
            opacity: 1;
        }

        .collectionStackedTimeline-left-resizer,
        .collectionStackedTimeline-resizer {
            background: $medium-gray;
            position: absolute;
            top: 0;
            height: 100%;
            width: 10px;
            pointer-events: all;
            cursor: ew-resize;
            z-index: 100;
        }
        .collectionStackedTimeline-resizer {
            right: 0;
        }
        .collectionStackedTimeline-left-resizer {
            left: 0;
        }
    }

    .collectionStackedTimeline-waveform {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        pointer-events: none;
    }
}