aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/videos')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.html10
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.scss23
2 files changed, 28 insertions, 5 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.html b/client/src/app/videos/+video-watch/video-watch.component.html
index f31e82bff..b17392ff1 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.html
+++ b/client/src/app/videos/+video-watch/video-watch.component.html
@@ -73,8 +73,14 @@
73 </div> 73 </div>
74 </div> 74 </div>
75 75
76 <div class="video-info-date-views"> 76 <div class="video-info-date-views-bar">
77 {{ video.createdAt | myFromNow }} - {{ video.views | myNumberFormatter }} views 77 <div class="video-info-date-views">
78 {{ video.createdAt | myFromNow }} - {{ video.views | myNumberFormatter }} views
79 </div>
80
81 <div class="video-info-likes-dislikes-bar">
82 <div class="likes-bar" [ngStyle]="{ 'width.%': video.likesPercent }"></div>
83 </div>
78 </div> 84 </div>
79 85
80 <div class="video-info-channel"> 86 <div class="video-info-channel">
diff --git a/client/src/app/videos/+video-watch/video-watch.component.scss b/client/src/app/videos/+video-watch/video-watch.component.scss
index 7bcfeb7c3..5064ceb95 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.scss
+++ b/client/src/app/videos/+video-watch/video-watch.component.scss
@@ -84,9 +84,26 @@
84 } 84 }
85 } 85 }
86 86
87 .video-info-date-views { 87 .video-info-date-views-bar {
88 font-size: 16px; 88 display: flex;
89 margin-bottom: 10px; 89
90 .video-info-date-views {
91 font-size: 16px;
92 margin-bottom: 10px;
93 flex-grow: 1;
94 }
95
96 .video-info-likes-dislikes-bar {
97 height: 5px;
98 width: 186px;
99 background-color: #E5E5E5;
100 margin-top: 25px;
101
102 .likes-bar {
103 height: 100%;
104 background-color: #39CC0B;
105 }
106 }
90 } 107 }
91 108
92 .video-info-channel { 109 .video-info-channel {