diff options
| author | Michael <michael.foiani@gmail.com> | 2022-06-07 17:26:53 -0400 |
|---|---|---|
| committer | Michael <michael.foiani@gmail.com> | 2022-06-07 17:26:53 -0400 |
| commit | f4a384b194f1267d1a5a22cedf2a06edcd6e1b26 (patch) | |
| tree | c6e3c0f5f97ddbb7324f32da35b29adc628a80ec /src/client/views/nodes/RecordingBox/ProgressBar.scss | |
| parent | a08eff4abbcdb1ae78b4b27f0171c4046486219c (diff) | |
started working with the pointer events to drag - very laggy, may try something more simple for now
Diffstat (limited to 'src/client/views/nodes/RecordingBox/ProgressBar.scss')
| -rw-r--r-- | src/client/views/nodes/RecordingBox/ProgressBar.scss | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/src/client/views/nodes/RecordingBox/ProgressBar.scss b/src/client/views/nodes/RecordingBox/ProgressBar.scss index a493b0b89..5d27c8a7d 100644 --- a/src/client/views/nodes/RecordingBox/ProgressBar.scss +++ b/src/client/views/nodes/RecordingBox/ProgressBar.scss @@ -1,11 +1,14 @@ .progressbar { + touch-action: none; + + position: absolute; display: flex; justify-content: flex-start; bottom: 10px; width: 80%; - height: 5px; + height: 20px; background-color: gray; &.done { @@ -23,4 +26,30 @@ z-index: 3; pointer-events: none; } -}
\ No newline at end of file +} + +.segment { + border: 3px solid black; + background-color: red; + margin: 1px; + padding: 0; + cursor: pointer; + transition-duration: .25s; + + text-align: center; +} + +.segment:first-child { + margin-left: 2px; +} +.segment:last-child { + margin-right: 2px; +} + +.segment:hover { + margin: 0px; + border: 4px solid red; + background-color: black; + min-width: 10px; + border-radius: 2px; +} |
