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-miniature/abstract-video-list.scss | 17 ++++++++--------- .../video-download.component.scss | 4 ++-- .../video-miniature.component.scss | 4 ++-- 3 files changed, 12 insertions(+), 13 deletions(-) (limited to 'client/src/app/shared/shared-video-miniature') diff --git a/client/src/app/shared/shared-video-miniature/abstract-video-list.scss b/client/src/app/shared/shared-video-miniature/abstract-video-list.scss index 467ca1d2c..d9cf7a14f 100644 --- a/client/src/app/shared/shared-video-miniature/abstract-video-list.scss +++ b/client/src/app/shared/shared-video-miniature/abstract-video-list.scss @@ -3,7 +3,7 @@ @import '_mixins'; @import '_miniature'; -$iconSize: 16px; +$icon-size: 16px; ::ng-deep my-video-list-header { display: flex; @@ -17,20 +17,19 @@ $iconSize: 16px; my-feed { display: inline-block; - width: calc(#{$iconSize} - 2px); + width: calc(#{$icon-size} - 2px); } .moderation-block { - - my-global-icon { - position: relative; - width: $iconSize; - } - margin-left: .4rem; display: flex; justify-content: flex-end; align-items: center; + + my-global-icon { + position: relative; + width: $icon-size; + } } } @@ -72,7 +71,7 @@ $iconSize: 16px; .title-page { margin-bottom: 10px; - margin-right: 0px; + margin-right: 0; } } } diff --git a/client/src/app/shared/shared-video-miniature/video-download.component.scss b/client/src/app/shared/shared-video-miniature/video-download.component.scss index 7f6e03c87..b689b1046 100644 --- a/client/src/app/shared/shared-video-miniature/video-download.component.scss +++ b/client/src/app/shared/shared-video-miniature/video-download.component.scss @@ -28,7 +28,7 @@ border-top-right-radius: 0; border-bottom-right-radius: 0; - border-right: none; + border-right: 0; select { height: inherit; @@ -85,7 +85,7 @@ &.metadata-attribute-tags { .metadata-attribute-value:not(:nth-child(2)) { &::before { - content: ', ' + content: ', '; } } } diff --git a/client/src/app/shared/shared-video-miniature/video-miniature.component.scss b/client/src/app/shared/shared-video-miniature/video-miniature.component.scss index c142e2e93..5df89d019 100644 --- a/client/src/app/shared/shared-video-miniature/video-miniature.component.scss +++ b/client/src/app/shared/shared-video-miniature/video-miniature.component.scss @@ -41,7 +41,7 @@ my-actor-avatar { } .video-info-blocked { - color: red; + color: #ff0000; .blocked-reason::before { content: ' - '; @@ -49,7 +49,7 @@ my-actor-avatar { } .video-info-nsfw { - color: red; + color: #ff0000; } .video-actions { -- cgit v1.2.3