From 6e33bf2882162d8760f55bcafb12fd9507e09ff1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 21 Dec 2017 11:08:46 +0100 Subject: Add no result text if there are no results --- .../app/videos/+video-watch/video-watch.component.html | 12 ++++++++---- .../app/videos/+video-watch/video-watch.component.scss | 16 +++++++++++++--- 2 files changed, 21 insertions(+), 7 deletions(-) (limited to 'client/src/app/videos') 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 d9b572430..860edecd2 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.html +++ b/client/src/app/videos/+video-watch/video-watch.component.html @@ -13,12 +13,16 @@
{{ video.name }}
-
- +
+
-
- +
+
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 205a4333c..02b44bda1 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.scss +++ b/client/src/app/videos/+video-watch/video-watch.component.scss @@ -51,6 +51,12 @@ .video-info-actions { min-width: 215px; + display: flex; + justify-content: end; + + .action-button:not(:first-child), .action-more { + margin-left: 10px; + } .action-button { @include peertube-button; @@ -85,12 +91,16 @@ } } - &.activated { - @include orange-button; + &.action-button-like.activated { + background-color: #39CC0B; .icon-like { background-image: url('../../../assets/images/video/like-white.svg'); } + } + + &.action-button-dislike.activated { + background-color: #FF0000; .icon-dislike { background-image: url('../../../assets/images/video/dislike-white.svg'); @@ -222,7 +232,7 @@ } -@media screen and (max-width: 1200px) { +@media screen and (max-width: 1300px) { .other-videos { display: none; } -- cgit v1.2.3