From 931d3430184143ebd88e5243def6eb1d7acfdbf4 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 28 Apr 2021 16:41:07 +0200 Subject: Move to stylelint --- .../+my-video-channels/my-video-channel-edit.component.scss | 3 ++- .../+my-video-channels/my-video-channels.component.scss | 2 +- .../app/+my-library/my-history/my-history.component.scss | 4 ++-- client/src/app/+my-library/my-library.component.scss | 6 +++--- .../+my-library/my-ownership/my-ownership.component.scss | 8 ++++---- .../my-video-imports/my-video-imports.component.scss | 2 +- .../my-video-playlist-elements.component.scss | 13 +++++++------ .../my-videos/modals/video-change-ownership.component.scss | 2 +- .../src/app/+my-library/my-videos/my-videos.component.scss | 4 ++-- 9 files changed, 23 insertions(+), 21 deletions(-) (limited to 'client/src/app/+my-library') diff --git a/client/src/app/+my-library/+my-video-channels/my-video-channel-edit.component.scss b/client/src/app/+my-library/+my-video-channels/my-video-channel-edit.component.scss index 22de103d1..667726c22 100644 --- a/client/src/app/+my-library/+my-video-channels/my-video-channel-edit.component.scss +++ b/client/src/app/+my-library/+my-video-channels/my-video-channel-edit.component.scss @@ -66,7 +66,8 @@ textarea { width: auto !important; } - label[for=name] + div, textarea { + label[for=name] + div, + textarea { width: 100%; } } diff --git a/client/src/app/+my-library/+my-video-channels/my-video-channels.component.scss b/client/src/app/+my-library/+my-video-channels/my-video-channels.component.scss index dafba925e..bb5394094 100644 --- a/client/src/app/+my-library/+my-video-channels/my-video-channels.component.scss +++ b/client/src/app/+my-library/+my-video-channels/my-video-channels.component.scss @@ -83,7 +83,7 @@ input[type=text] { margin: auto; .video-channel-name { - margin-left: 0px !important; + margin-left: 0 !important; } } } diff --git a/client/src/app/+my-library/my-history/my-history.component.scss b/client/src/app/+my-library/my-history/my-history.component.scss index af4a34b4b..28b809f71 100644 --- a/client/src/app/+my-library/my-history/my-history.component.scss +++ b/client/src/app/+my-library/my-history/my-history.component.scss @@ -39,12 +39,12 @@ } .delete-history { - grid-column: 4; - @include peertube-button; @include grey-button; @include button-with-icon; + grid-column: 4; + font-size: 15px; } } diff --git a/client/src/app/+my-library/my-library.component.scss b/client/src/app/+my-library/my-library.component.scss index a5bb499b4..b32bc84e7 100644 --- a/client/src/app/+my-library/my-library.component.scss +++ b/client/src/app/+my-library/my-library.component.scss @@ -2,12 +2,12 @@ @import '_mixins'; .row { + @include sub-menu-h1; + flex-direction: column; width: 100%; - & > my-top-menu-dropdown:nth-child(1) { + > my-top-menu-dropdown:nth-child(1) { flex-grow: 1; } - - @include sub-menu-h1; } diff --git a/client/src/app/+my-library/my-ownership/my-ownership.component.scss b/client/src/app/+my-library/my-ownership/my-ownership.component.scss index 7cac9c9f3..dfc8fc99e 100644 --- a/client/src/app/+my-library/my-ownership/my-ownership.component.scss +++ b/client/src/app/+my-library/my-ownership/my-ownership.component.scss @@ -13,15 +13,15 @@ display: inline-flex; .video-table-video-image { - @include miniature-thumbnail; - $image-height: 45px; + @include miniature-thumbnail; + height: $image-height; width: #{(16/9) * $image-height}; margin-right: 0.5rem; border-radius: 2px; - border: none; + border: 0; background: transparent; display: inline-flex; justify-content: center; @@ -60,7 +60,7 @@ div .glyphicon { font-size: 80%; - color: gray; + color: #808080; margin-left: 0.1rem; } diff --git a/client/src/app/+my-library/my-video-imports/my-video-imports.component.scss b/client/src/app/+my-library/my-video-imports/my-video-imports.component.scss index a93c28028..c4b847c3d 100644 --- a/client/src/app/+my-library/my-video-imports/my-video-imports.component.scss +++ b/client/src/app/+my-library/my-video-imports/my-video-imports.component.scss @@ -6,7 +6,7 @@ pre { } .video-import-error { - color: red; + color: #ff0000; } .badge { diff --git a/client/src/app/+my-library/my-video-playlists/my-video-playlist-elements.component.scss b/client/src/app/+my-library/my-video-playlists/my-video-playlist-elements.component.scss index 0c68dedf6..67587a58a 100644 --- a/client/src/app/+my-library/my-video-playlists/my-video-playlist-elements.component.scss +++ b/client/src/app/+my-library/my-video-playlists/my-video-playlist-elements.component.scss @@ -25,8 +25,8 @@ } .playlist-buttons { - display:flex; - margin: 30px 0 10px 0; + display: flex; + margin: 30px 0 10px; .share-button { @include peertube-button; @@ -42,9 +42,10 @@ .cdk-drag-preview { box-sizing: border-box; border-radius: 4px; - box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), - 0 8px 10px 1px rgba(0, 0, 0, 0.14), - 0 3px 14px 2px rgba(0, 0, 0, 0.12); + box-shadow: + 0 5px 5px -3px rgba(0, 0, 0, 0.2), + 0 8px 10px 1px rgba(0, 0, 0, 0.14), + 0 3px 14px 2px rgba(0, 0, 0, 0.12); } .cdk-drag-placeholder { @@ -56,7 +57,7 @@ } .video:last-child { - border: none; + border: 0; } .videos.cdk-drop-list-dragging .video:not(.cdk-drag-placeholder) { diff --git a/client/src/app/+my-library/my-videos/modals/video-change-ownership.component.scss b/client/src/app/+my-library/my-videos/modals/video-change-ownership.component.scss index a79fec179..16187bc4a 100644 --- a/client/src/app/+my-library/my-videos/modals/video-change-ownership.component.scss +++ b/client/src/app/+my-library/my-videos/modals/video-change-ownership.component.scss @@ -7,4 +7,4 @@ p-autocomplete { .form-group { margin: 20px 0; -} \ No newline at end of file +} diff --git a/client/src/app/+my-library/my-videos/my-videos.component.scss b/client/src/app/+my-library/my-videos/my-videos.component.scss index aaf21126b..57623c36f 100644 --- a/client/src/app/+my-library/my-videos/my-videos.component.scss +++ b/client/src/app/+my-library/my-videos/my-videos.component.scss @@ -26,12 +26,12 @@ h1 { } .action-button-delete-selection { - display: inline-block; - @include peertube-button; @include orange-button; @include button-with-icon(21px); + display: inline-block; + my-global-icon { @include apply-svg-color(#fff); } -- cgit v1.2.3