summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/viewer/player/components.media/media.css
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-09-23 16:08:26 +0200
committerJules Laplace <julescarbon@gmail.com>2020-09-23 16:08:26 +0200
commit9f707dfa8c0b2d38d4d81c1cf0df38df494a49b2 (patch)
tree2c8af745d62fcfd7002bc66939b31b408bc85c3c /animism-align/frontend/app/views/viewer/player/components.media/media.css
parent41052dd5b95cf2813662d8201b206ad2af78da40 (diff)
new video UI
Diffstat (limited to 'animism-align/frontend/app/views/viewer/player/components.media/media.css')
-rw-r--r--animism-align/frontend/app/views/viewer/player/components.media/media.css51
1 files changed, 39 insertions, 12 deletions
diff --git a/animism-align/frontend/app/views/viewer/player/components.media/media.css b/animism-align/frontend/app/views/viewer/player/components.media/media.css
index 32d35d0..653a53b 100644
--- a/animism-align/frontend/app/views/viewer/player/components.media/media.css
+++ b/animism-align/frontend/app/views/viewer/player/components.media/media.css
@@ -302,29 +302,56 @@
.video-scrubber {
position: absolute;
- bottom: 5rem;
- left: 50%;
- width: 300px;
- height: 16px;
- margin-left: -150px;
+ bottom: 4rem;
+ left: 1rem;
+ width: calc(100% - 2rem);
+ height: 3rem;
+ background: white;
+ border-radius: 1.5rem;
+ display: flex;
+ align-items: center;
+}
+.video-scrubber .start-controls {
+ width: 3rem;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+.video-scrubber .scrub-bar-container {
+ flex: 1;
+ height: 3rem;
+ display: flex;
+ align-items: center;
+ position: relative;
cursor: pointer;
}
.video-scrubber .scrub-bar {
- position: absolute;
- top: 7px;
- left: 0;
+ position: relative;
width: 100%;
height: 2px;
- background: white;
+ margin-top: 1px;
+ background: black;
}
.video-scrubber .scrub-dot {
position: absolute;
- top: 0;
+ top: 50%;
left: 0;
width: 16px;
height: 16px;
+ margin-top: -7px;
margin-left: -8px;
border-radius: 50%;
- background: white;
- cursor: pointer;
+ background: black;
+ pointer-events: none;
+}
+.video-scrubber .end-controls {
+ width: 7rem;
+ display: flex;
+ flex-direction: row;
+ justify-content: center;
+ color: black;
}
+.video-scrubber .playerTime {
+ display: flex;
+ align-items: center;
+} \ No newline at end of file