From c4a051712bc7385967a21895d025962e317c7870 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 16 Jun 2022 16:10:12 +0200 Subject: Cleanup title-page CSS --- .../src/app/+videos/+video-edit/shared/video-edit.component.scss | 9 --------- client/src/app/+videos/+video-edit/video-add.component.html | 2 +- client/src/app/+videos/+video-edit/video-update.component.html | 2 +- .../+video-watch/shared/comment/video-comments.component.html | 2 +- .../shared/recommendations/recommended-videos.component.html | 5 ++--- .../shared/recommendations/recommended-videos.component.scss | 8 ++------ 6 files changed, 7 insertions(+), 21 deletions(-) (limited to 'client/src/app/+videos') diff --git a/client/src/app/+videos/+video-edit/shared/video-edit.component.scss b/client/src/app/+videos/+video-edit/shared/video-edit.component.scss index 770a0f585..e8a6c6e42 100644 --- a/client/src/app/+videos/+video-edit/shared/video-edit.component.scss +++ b/client/src/app/+videos/+video-edit/shared/video-edit.component.scss @@ -5,15 +5,6 @@ @include peertube-select-container(auto); } -.title-page a { - color: pvar(--mainForegroundColor); - - &:hover { - text-decoration: none; - opacity: .8; - } -} - my-peertube-checkbox { display: block; margin-bottom: 1rem; diff --git a/client/src/app/+videos/+video-edit/video-add.component.html b/client/src/app/+videos/+video-edit/video-add.component.html index 29cf08e75..27ad14d63 100644 --- a/client/src/app/+videos/+video-edit/video-add.component.html +++ b/client/src/app/+videos/+video-edit/video-add.component.html @@ -40,7 +40,7 @@
-
+
Import {{ videoName }} Upload {{ videoName }}
diff --git a/client/src/app/+videos/+video-edit/video-update.component.html b/client/src/app/+videos/+video-edit/video-update.component.html index 446406d1a..6a32f1477 100644 --- a/client/src/app/+videos/+video-edit/video-update.component.html +++ b/client/src/app/+videos/+video-edit/video-update.component.html @@ -1,5 +1,5 @@
-
+ diff --git a/client/src/app/+videos/+video-watch/shared/comment/video-comments.component.html b/client/src/app/+videos/+video-watch/shared/comment/video-comments.component.html index a54df97cd..e27942e66 100644 --- a/client/src/app/+videos/+video-watch/shared/comment/video-comments.component.html +++ b/client/src/app/+videos/+video-watch/shared/comment/video-comments.component.html @@ -1,6 +1,6 @@
-

+

{totalNotDeletedComments, plural, =0 {Comments} =1 {1 Comment} other {{{totalNotDeletedComments}} Comments}}

diff --git a/client/src/app/+videos/+video-watch/shared/recommendations/recommended-videos.component.html b/client/src/app/+videos/+video-watch/shared/recommendations/recommended-videos.component.html index e493ad8d7..5ac801622 100644 --- a/client/src/app/+videos/+video-watch/shared/recommendations/recommended-videos.component.html +++ b/client/src/app/+videos/+video-watch/shared/recommendations/recommended-videos.component.html @@ -1,9 +1,8 @@
-

- Other videos -

+

Other videos

+
diff --git a/client/src/app/+videos/+video-watch/shared/recommendations/recommended-videos.component.scss b/client/src/app/+videos/+video-watch/shared/recommendations/recommended-videos.component.scss index 784d0e961..5b1bf9cab 100644 --- a/client/src/app/+videos/+video-watch/shared/recommendations/recommended-videos.component.scss +++ b/client/src/app/+videos/+video-watch/shared/recommendations/recommended-videos.component.scss @@ -8,18 +8,14 @@ margin-bottom: 25px; flex-wrap: wrap-reverse; - .title-page.active, - .title-page.title-page-single { + .title-page { @include margin-right(.5rem !important); margin-bottom: unset; + margin-top: 0; } } -.title-page { - margin-top: 0; -} - .title-page-autoplay { @include margin-left(auto); -- cgit v1.2.3