aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionStackedTimeline.scss
blob: 92476e298cd29f2dc14cec029695b77c7f52d4b6 (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
.collectionStackedTimeline {
  position: absolute;
  width: 100%;
  height: 100%;
  border: gray solid 1px;
  border-radius: 3px;
  z-index: 1000;
  overflow: hidden;
  top: 0px;

  .collectionStackedTimeline-trim-shade {
    position: absolute;
    height: 100%;
    background-color: black;
    opacity: 0.3;
  }

  .collectionStackedTimeline-trim-controls {
    height: 100%;
    position: absolute;
    border: 2px solid yellow;
    display: flex;
    justify-content: space-between;

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

  .collectionStackedTimeline-selector {
    position: absolute;
    width: 10px;
    top: 2.5%;
    height: 95%;
    background: lightblue;
    border-radius: 5px;
    opacity: 0.3;
    z-index: 500;
    border-style: solid;
    border-color: darkblue;
    border-width: 1px;
  }

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

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

    .collectionStackedTimeline-left-resizer,
    .collectionStackedTimeline-resizer {
      background: dimgrey;
      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;
  }
}