aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-watch/video-watch.component.scss
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-12-05 16:28:05 +0100
committerChocobozzz <me@florianbigard.com>2019-12-05 16:28:05 +0100
commit0d3a9be9f13c2642cb6cf26fdebc5edf5217bbbc (patch)
treea2ce764547dffa560664c3c7726dc9c9bc23599b /client/src/app/videos/+video-watch/video-watch.component.scss
parentf56ebb3616606e678b25d8064696c75655dcd2ed (diff)
downloadPeerTube-0d3a9be9f13c2642cb6cf26fdebc5edf5217bbbc.tar.gz
PeerTube-0d3a9be9f13c2642cb6cf26fdebc5edf5217bbbc.tar.zst
PeerTube-0d3a9be9f13c2642cb6cf26fdebc5edf5217bbbc.zip
Add likes/dislikes counts in the buttons
Diffstat (limited to 'client/src/app/videos/+video-watch/video-watch.component.scss')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.scss15
1 files changed, 15 insertions, 0 deletions
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 80d01b7ce..86b44d5da 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.scss
+++ b/client/src/app/videos/+video-watch/video-watch.component.scss
@@ -239,9 +239,20 @@ $player-factor: 1.7; // 16/9
239 display: none; 239 display: none;
240 } 240 }
241 241
242 .action-button-like,
243 .action-button-dislike {
244 .count {
245 margin-right: 5px;
246 }
247 }
248
242 &.action-button-like.activated { 249 &.action-button-like.activated {
243 background-color: $green; 250 background-color: $green;
244 251
252 .count {
253 color: #fff;
254 }
255
245 my-global-icon { 256 my-global-icon {
246 @include apply-svg-color(#fff); 257 @include apply-svg-color(#fff);
247 } 258 }
@@ -250,6 +261,10 @@ $player-factor: 1.7; // 16/9
250 &.action-button-dislike.activated { 261 &.action-button-dislike.activated {
251 background-color: $red; 262 background-color: $red;
252 263
264 .count {
265 color: #fff;
266 }
267
253 my-global-icon { 268 my-global-icon {
254 @include apply-svg-color(#fff); 269 @include apply-svg-color(#fff);
255 } 270 }