aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/RecordingBox/ProgressBar.scss
blob: c7a190566dd8945c46e53574ba611856cd928dd8 (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
.progressbar {
  touch-action: none;
  vertical-align: middle;
  text-align: center;

  align-items: center;


      position: absolute;
      display: flex;
      justify-content: flex-start;
      bottom: 2px;
      width: 99%;
      height: 30px;
      background-color: gray;

      &.done {
            top: 0;
            width: 0px;
            height: 5px;
            background-color: red;
            z-index: 2;
      }

      &.mark {
            top: 0;
            background-color: transparent;
            border-right: 2px solid white;
            z-index: 3;
            pointer-events: none; 
      }
}

.segment {
  border: 3px solid black;
  background-color: red;
  margin: 1px;
  padding: 0;
  cursor: pointer;
  transition-duration: .5s;
  user-select: none;

  vertical-align: middle;
  text-align: center;
}

.segment-hide {
    background-color: inherit;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    // /* Hide the text. */
    // text-indent: 100%;
    // white-space: nowrap;
    // overflow: hidden;
}

.segment:first-child {
  margin-left: 2px;
}
.segment:last-child {
  margin-right: 2px;
}

.segment:hover {
    background-color: white;
}

.segment:hover, .segment-selected {
  margin: 0px;
  border: 4px solid red;
  border-radius: 2px;
}

.segment-selected {
  border: 4px solid grey;
  background-color: red;
}