aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionStackedTimeline.scss
blob: 0ced3f9e3cbdd599827e103e40113568dea69d98 (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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
@import '../global/globalCssVariables.module.scss';

.collectionStackedTimeline-timelineContainer {
    height: 100%;
    position: absolute;
    overflow-x: auto;
    overflow-y: hidden;
    border: none;
    background-color: $white;
    border-width: 0 2px 0 2px;

    &:hover {
        cursor: default;
        .collectionStackedTimeline-hover {
            display: block;
        }
    }
}

.collectionStackedTimeline-timelineContainer:hover + .timeline-hoverUI {
    display: flex;
    justify-content: center;
}

::-webkit-scrollbar {
    height: 5px;
}

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

    .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,
    .collectionStackedTimeline-hover {
        width: 1px;
        height: 100%;
        position: absolute;
        top: 0px;
        pointer-events: none;
    }

    .collectionStackedTimeline-current {
        background-color: $pink;
    }

    .collectionStackedTimeline-hover {
        display: none;
        background-color: $medium-blue;
    }

    .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: $dark-gray;
            position: absolute;
            top: 0;
            height: 100%;
            width: 10px;
            pointer-events: all;
            z-index: 100;
        }
        .collectionStackedTimeline-resizer {
            right: 0;
            cursor: e-resize;
        }
        .collectionStackedTimeline-left-resizer {
            left: 0;
            cursor: w-resize;
        }
    }

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

.timeline-hoverUI {
    position: absolute;
    z-index: 10000;
    transform: translate(-50%, 100%);
    height: 100%;
    display: none;

    .hoverTime {
        position: absolute;
        color: $dark-gray;
        transform: translate(0, -100%);

        font-weight: bold;
        pointer-events: none;
    }
}