From 931d3430184143ebd88e5243def6eb1d7acfdbf4 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 28 Apr 2021 16:41:07 +0200 Subject: Move to stylelint --- .../shared/video-caption-add-modal.component.scss | 4 ++-- .../+video-edit/shared/video-edit.component.scss | 6 +++--- .../video-add-components/video-send.scss | 6 +++--- .../+videos/+video-edit/video-add.component.scss | 2 +- .../comment/video-comment-add.component.scss | 6 ++++-- .../comment/video-comment.component.scss | 7 +++++-- .../comment/video-comments.component.scss | 5 +++-- .../recommended-videos.component.scss | 3 ++- .../video-watch-playlist.component.scss | 2 +- .../+video-watch/video-watch.component.html | 2 +- .../+video-watch/video-watch.component.scss | 23 +++++++++++----------- .../overview/video-overview.component.scss | 10 ++++++---- .../trending/video-trending-header.component.scss | 2 +- 13 files changed, 44 insertions(+), 34 deletions(-) (limited to 'client/src/app/+videos') diff --git a/client/src/app/+videos/+video-edit/shared/video-caption-add-modal.component.scss b/client/src/app/+videos/+video-edit/shared/video-caption-add-modal.component.scss index 0958b5f80..a85cf444c 100644 --- a/client/src/app/+videos/+video-edit/shared/video-caption-add-modal.component.scss +++ b/client/src/app/+videos/+video-edit/shared/video-caption-add-modal.component.scss @@ -16,6 +16,6 @@ label { } .warning-replace-caption { - color: red; + color: #ff0000; margin-top: 10px; -} \ No newline at end of file +} 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 0b70b0270..bc32d7964 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 @@ -150,7 +150,7 @@ p-calendar { @include media-breakpoint-up(md) { @include make-col(7); - & + .col-video-edit { + + .col-video-edit { @include make-col(5); } } @@ -158,7 +158,7 @@ p-calendar { @include media-breakpoint-up(xl) { @include make-col(8); - & + .col-video-edit { + + .col-video-edit { @include make-col(4); } } @@ -169,7 +169,7 @@ p-calendar { @include media-breakpoint-up(md) { @include make-col(8); - & + .col-video-edit { + + .col-video-edit { @include make-col(4); } } diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-send.scss b/client/src/app/+videos/+video-edit/video-add-components/video-send.scss index 17c5f63e9..dc9153b2b 100644 --- a/client/src/app/+videos/+video-edit/video-add-components/video-send.scss +++ b/client/src/app/+videos/+video-edit/video-add-components/video-send.scss @@ -6,7 +6,7 @@ $width-size: 190px; .alert.alert-danger { text-align: center; - & > div { + > div { font-weight: $font-semibold; } } @@ -17,10 +17,10 @@ $width-size: 190px; align-items: center; .upload-icon { + @include apply-svg-color(#C6C6C6); + width: 90px; margin-bottom: 25px; - - @include apply-svg-color(#C6C6C6); } .peertube-select-container { diff --git a/client/src/app/+videos/+video-edit/video-add.component.scss b/client/src/app/+videos/+video-edit/video-add.component.scss index 1ebee946b..35bca24d0 100644 --- a/client/src/app/+videos/+video-edit/video-add.component.scss +++ b/client/src/app/+videos/+video-edit/video-add.component.scss @@ -44,7 +44,7 @@ $nav-link-height: 40px; ::ng-deep .video-add-nav { border-bottom: $border-width $border-type $border-color; - margin: 20px 0 0 0 !important; + margin: 20px 0 0 !important; &.hide-nav { display: none !important; diff --git a/client/src/app/+videos/+video-watch/comment/video-comment-add.component.scss b/client/src/app/+videos/+video-watch/comment/video-comment-add.component.scss index 54e61eac4..7743bd41d 100644 --- a/client/src/app/+videos/+video-watch/comment/video-comment-add.component.scss +++ b/client/src/app/+videos/+video-watch/comment/video-comment-add.component.scss @@ -31,7 +31,7 @@ form { padding-right: $markdown-icon-width + 15px !important; @media screen and (max-width: 600px) { - padding-right: $markdown-icon-width + 19px !important; + padding-right: $markdown-icon-width + 19px !important; } &:focus::placeholder { @@ -57,7 +57,9 @@ form { } } - &:focus, &:active, &:hover { + &:focus, + &:active, + &:hover { my-global-icon svg { background-color: #C6C6C6; color: pvar(--mainBackgroundColor); diff --git a/client/src/app/+videos/+video-watch/comment/video-comment.component.scss b/client/src/app/+videos/+video-watch/comment/video-comment.component.scss index f0dcc08b8..a4d2e237c 100644 --- a/client/src/app/+videos/+video-watch/comment/video-comment.component.scss +++ b/client/src/app/+videos/+video-watch/comment/video-comment.component.scss @@ -62,7 +62,7 @@ my-actor-avatar { display: inline-flex; padding-right: 6px; padding-left: 6px; - color: white !important; + color: #fff !important; } .comment-account { @@ -133,7 +133,10 @@ my-actor-avatar { cursor: pointer; margin-right: 10px; - &:hover, &:active, &:focus, &:focus-visible { + &:hover, + &:active, + &:focus, + &:focus-visible { color: pvar(--mainForegroundColor); } } diff --git a/client/src/app/+videos/+video-watch/comment/video-comments.component.scss b/client/src/app/+videos/+video-watch/comment/video-comments.component.scss index e6778e1a9..a7e858069 100644 --- a/client/src/app/+videos/+video-watch/comment/video-comments.component.scss +++ b/client/src/app/+videos/+video-watch/comment/video-comments.component.scss @@ -11,7 +11,8 @@ cursor: pointer; } -.glyphicon, .comment-thread-loading { +.glyphicon, +.comment-thread-loading { margin-right: 5px; display: inline-block; font-size: 13px; @@ -40,7 +41,7 @@ #dropdown-sort-comments { font-weight: 600; text-transform: uppercase; - border: none; + border: 0; transform: translateY(-7%); } diff --git a/client/src/app/+videos/+video-watch/recommendations/recommended-videos.component.scss b/client/src/app/+videos/+video-watch/recommendations/recommended-videos.component.scss index c9fae6f27..5e0373afc 100644 --- a/client/src/app/+videos/+video-watch/recommendations/recommended-videos.component.scss +++ b/client/src/app/+videos/+video-watch/recommendations/recommended-videos.component.scss @@ -8,7 +8,8 @@ margin-bottom: 25px; flex-wrap: wrap-reverse; - .title-page.active, .title-page.title-page-single { + .title-page.active, + .title-page.title-page-single { margin-bottom: unset; margin-right: .5rem !important; } diff --git a/client/src/app/+videos/+video-watch/video-watch-playlist.component.scss b/client/src/app/+videos/+video-watch/video-watch-playlist.component.scss index 0b0a2a899..b3f93b83c 100644 --- a/client/src/app/+videos/+video-watch/video-watch-playlist.component.scss +++ b/client/src/app/+videos/+video-watch/video-watch-playlist.component.scss @@ -45,7 +45,7 @@ my-global-icon { &:not(.active) { - opacity: .5 + opacity: .5; } ::ng-deep { 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 eadb2148a..4779602d2 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.html +++ b/client/src/app/+videos/+video-watch/video-watch.component.html @@ -79,7 +79,7 @@ -
+