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 --- .../account/account-videos/account-videos.component.html | 2 ++ client/src/app/shared/video/abstract-video-list.html | 2 ++ .../app/videos/+video-watch/video-watch.component.html | 12 ++++++++---- .../app/videos/+video-watch/video-watch.component.scss | 16 +++++++++++++--- 4 files changed, 25 insertions(+), 7 deletions(-) (limited to 'client') diff --git a/client/src/app/account/account-videos/account-videos.component.html b/client/src/app/account/account-videos/account-videos.component.html index f73483039..0755158b9 100644 --- a/client/src/app/account/account-videos/account-videos.component.html +++ b/client/src/app/account/account-videos/account-videos.component.html @@ -1,3 +1,5 @@ +
No results.
+
+
No results.
+
{{ 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