diff options
| author | mehekj <mehek.jethani@gmail.com> | 2022-03-16 23:05:56 -0400 |
|---|---|---|
| committer | mehekj <mehek.jethani@gmail.com> | 2022-03-16 23:05:56 -0400 |
| commit | cca2faa0bc4083db7b1a0b9cb6a9c5092e332d31 (patch) | |
| tree | d0292dda4bb81e02948aa01d8aa8882062950543 /src/client/views/nodes/VideoBox.scss | |
| parent | e474d02cf51c5e20e42baa6b7d9c4aeb4ab51967 (diff) | |
basic video UI and functionality complete
Diffstat (limited to 'src/client/views/nodes/VideoBox.scss')
| -rw-r--r-- | src/client/views/nodes/VideoBox.scss | 65 |
1 files changed, 47 insertions, 18 deletions
diff --git a/src/client/views/nodes/VideoBox.scss b/src/client/views/nodes/VideoBox.scss index 35f5a7e65..3cf10a033 100644 --- a/src/client/views/nodes/VideoBox.scss +++ b/src/client/views/nodes/VideoBox.scss @@ -86,27 +86,42 @@ background-color: $dark-gray; color: white; border-radius: 100px; + top: calc(100% - 20px); left: 50%; - transform: translate(-50%, -150%); - transition: top 0.5s, opacity 0.2s, visibility 0s; - height: 5%; - width: 80%; + transform: translate(-50%, -100%); + + transition: top 0.5s, width 0.5s, opacity 0.2s, visibility 0s; + height: 120px; + padding: 0 20px; .timecode-controls { display: flex; flex-direction: row; + align-items: center; + justify-content: center; margin: 0 5px; + flex-grow: 2; + font-size: 32px; .timecode { margin: 0 5px; } + + .timeline-slider { + margin: 0 20px 0 20px; + flex-grow: 2; + } + } + + .toolbar-slider.volume, .toolbar-slider.zoom { + width: 100px; } .videobox-button { margin: 5px; cursor: pointer; - width: 30px; - height: 30px; + width: 70px; + height: 70px; border-radius: 50%; background: $dark-gray; display: flex; @@ -118,10 +133,12 @@ } svg { - width: 20px; + width: 40px; + height: 40px; } } } + .videoBox-time, .videoBox-snapshot, .videoBox-timelineButton, @@ -146,6 +163,22 @@ } } +.videoBox-content-fullScreen, .videoBox-content-fullScreen-interactive { + display: flex; + justify-content: center; + align-items: center; + + &:hover { + .videoBox-ui { + opacity: 0; + } + } + + .videoBox-ui:hover { + opacity: 1; + } +} + video::-webkit-media-controls { display: none !important; } @@ -153,7 +186,7 @@ video::-webkit-media-controls { input[type="range"] { -webkit-appearance: none; background: none; - margin: 5px; + margin: 10px; } input[type="range"]:focus { @@ -162,25 +195,21 @@ input[type="range"]:focus { input[type="range"]::-webkit-slider-runnable-track { width: 100%; - height: 6px; + height: 20px; cursor: pointer; box-shadow: 0; background: $light-gray; - border-radius: 3px; + border-radius: 20px; } input[type="range"]::-webkit-slider-thumb { box-shadow: 0; border: 0; - height: 10px; - width: 10px; - border-radius: 10px; + height: 26px; + width: 26px; + border-radius: 20px; background: $medium-blue; cursor: pointer; -webkit-appearance: none; - margin-top: -2px; -} - -.toolbar-slider.volume { - width: 50px; + margin-top: -3px; }
\ No newline at end of file |
