From 266947e5efc7ff30b0020beb5a74e4d4fc696fa5 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 14 Apr 2021 16:39:37 +0200 Subject: Refactor modal buttons style --- .../abuse-message-modal.component.html | 2 +- .../moderation-comment-modal.component.html | 7 ++---- .../batch-domains-modal.component.html | 7 ++---- .../report-modals/report.component.html | 5 ++-- .../report-modals/video-report.component.html | 5 ++-- .../user-ban-modal.component.html | 7 ++---- .../shared-moderation/video-block.component.html | 7 ++---- .../support-modal.component.html | 2 +- .../support-modal.component.scss | 3 --- .../support-modal.component.ts | 3 +-- .../live-stream-information.component.html | 5 +--- .../video-download.component.html | 29 ++++++++++------------ .../video-download.component.scss | 4 +-- 13 files changed, 33 insertions(+), 53 deletions(-) delete mode 100644 client/src/app/shared/shared-support-modal/support-modal.component.scss (limited to 'client/src/app/shared') diff --git a/client/src/app/shared/shared-abuse-list/abuse-message-modal.component.html b/client/src/app/shared/shared-abuse-list/abuse-message-modal.component.html index 17e9ce4cf..ab6967f28 100644 --- a/client/src/app/shared/shared-abuse-list/abuse-message-modal.component.html +++ b/client/src/app/shared/shared-abuse-list/abuse-message-modal.component.html @@ -41,7 +41,7 @@
- +
diff --git a/client/src/app/shared/shared-abuse-list/moderation-comment-modal.component.html b/client/src/app/shared/shared-abuse-list/moderation-comment-modal.component.html index 8082e93f4..cc7bb6c92 100644 --- a/client/src/app/shared/shared-abuse-list/moderation-comment-modal.component.html +++ b/client/src/app/shared/shared-abuse-list/moderation-comment-modal.component.html @@ -23,14 +23,11 @@
- +
diff --git a/client/src/app/shared/shared-moderation/batch-domains-modal.component.html b/client/src/app/shared/shared-moderation/batch-domains-modal.component.html index 1b85c8f48..6a3c65721 100644 --- a/client/src/app/shared/shared-moderation/batch-domains-modal.component.html +++ b/client/src/app/shared/shared-moderation/batch-domains-modal.component.html @@ -28,14 +28,11 @@
- +
diff --git a/client/src/app/shared/shared-moderation/report-modals/report.component.html b/client/src/app/shared/shared-moderation/report-modals/report.component.html index bda62312f..6c99180ef 100644 --- a/client/src/app/shared/shared-moderation/report-modals/report.component.html +++ b/client/src/app/shared/shared-moderation/report-modals/report.component.html @@ -51,10 +51,11 @@
- + +
diff --git a/client/src/app/shared/shared-moderation/report-modals/video-report.component.html b/client/src/app/shared/shared-moderation/report-modals/video-report.component.html index 4947088d1..1aae64bff 100644 --- a/client/src/app/shared/shared-moderation/report-modals/video-report.component.html +++ b/client/src/app/shared/shared-moderation/report-modals/video-report.component.html @@ -89,10 +89,11 @@
- + +
diff --git a/client/src/app/shared/shared-moderation/user-ban-modal.component.html b/client/src/app/shared/shared-moderation/user-ban-modal.component.html index 365eb1938..7129b00ca 100644 --- a/client/src/app/shared/shared-moderation/user-ban-modal.component.html +++ b/client/src/app/shared/shared-moderation/user-ban-modal.component.html @@ -23,14 +23,11 @@
- +
diff --git a/client/src/app/shared/shared-moderation/video-block.component.html b/client/src/app/shared/shared-moderation/video-block.component.html index e982c4d77..5e9e8493c 100644 --- a/client/src/app/shared/shared-moderation/video-block.component.html +++ b/client/src/app/shared/shared-moderation/video-block.component.html @@ -35,14 +35,11 @@
- +
diff --git a/client/src/app/shared/shared-support-modal/support-modal.component.html b/client/src/app/shared/shared-support-modal/support-modal.component.html index 4a967987f..289adcb6a 100644 --- a/client/src/app/shared/shared-support-modal/support-modal.component.html +++ b/client/src/app/shared/shared-support-modal/support-modal.component.html @@ -8,7 +8,7 @@ diff --git a/client/src/app/shared/shared-support-modal/support-modal.component.scss b/client/src/app/shared/shared-support-modal/support-modal.component.scss deleted file mode 100644 index 184e09027..000000000 --- a/client/src/app/shared/shared-support-modal/support-modal.component.scss +++ /dev/null @@ -1,3 +0,0 @@ -.action-button-cancel { - margin-right: 0 !important; -} diff --git a/client/src/app/shared/shared-support-modal/support-modal.component.ts b/client/src/app/shared/shared-support-modal/support-modal.component.ts index ae603c7a8..a0b9fada6 100644 --- a/client/src/app/shared/shared-support-modal/support-modal.component.ts +++ b/client/src/app/shared/shared-support-modal/support-modal.component.ts @@ -6,8 +6,7 @@ import { VideoChannel } from '@shared/models' @Component({ selector: 'my-support-modal', - templateUrl: './support-modal.component.html', - styleUrls: [ './support-modal.component.scss' ] + templateUrl: './support-modal.component.html' }) export class SupportModalComponent { @Input() video: VideoDetails = null diff --git a/client/src/app/shared/shared-video-live/live-stream-information.component.html b/client/src/app/shared/shared-video-live/live-stream-information.component.html index 57920239d..d6ee67ba9 100644 --- a/client/src/app/shared/shared-video-live/live-stream-information.component.html +++ b/client/src/app/shared/shared-video-live/live-stream-information.component.html @@ -30,10 +30,7 @@ - +
- + Advanced - + - + Simple @@ -131,13 +131,10 @@ 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 199c3dac8..485db5ef5 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 @@ -17,7 +17,7 @@ .nav-tabs { margin-top: 10x; } - + .glyphicon { margin-right: 5px; } @@ -46,7 +46,7 @@ @include orange-button; } -#dropdownDownloadType { +#dropdown-download-type { cursor: pointer; } -- cgit v1.2.3