From 5f0805d39b94eb2de1b73e0f43ac8685ae900994 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 20 Dec 2017 17:49:58 +0100 Subject: [PATCH 1/1] Design modals --- .../app/core/confirm/confirm.component.html | 22 +++++---- .../shared/video-description.component.scss | 5 +- .../video-download.component.html | 45 +++++++++++------- .../video-download.component.scss | 25 ++++------ .../+video-watch/video-download.component.ts | 22 ++++++++- .../+video-watch/video-report.component.html | 22 ++++----- .../+video-watch/video-report.component.scss | 6 +++ .../+video-watch/video-report.component.ts | 3 +- .../+video-watch/video-share.component.html | 14 ++++-- .../+video-watch/video-share.component.scss | 3 ++ .../+video-watch/video-watch.component.scss | 36 +++++++------- client/src/assets/images/global/cross.svg | 12 +++++ client/src/assets/images/video/alert.svg | 6 +-- client/src/assets/images/video/blacklist.svg | 15 ++++++ .../assets/images/video/download-black.svg | 16 +++++++ client/src/assets/images/video/eye-closed.svg | 18 ------- client/src/sass/application.scss | 34 +++++++++++++- client/src/sass/include/_bootstrap.scss | 2 +- client/src/sass/include/_mixins.scss | 47 +++++++++++++++++++ server/lib/cache/videos-preview-cache.ts | 2 +- 20 files changed, 246 insertions(+), 109 deletions(-) create mode 100644 client/src/app/videos/+video-watch/video-report.component.scss create mode 100644 client/src/assets/images/global/cross.svg create mode 100644 client/src/assets/images/video/blacklist.svg create mode 100644 client/src/assets/images/video/download-black.svg delete mode 100644 client/src/assets/images/video/eye-closed.svg diff --git a/client/src/app/core/confirm/confirm.component.html b/client/src/app/core/confirm/confirm.component.html index 31b735f97..cc2c28de2 100644 --- a/client/src/app/core/confirm/confirm.component.html +++ b/client/src/app/core/confirm/confirm.component.html @@ -3,17 +3,23 @@ diff --git a/client/src/app/videos/+video-edit/shared/video-description.component.scss b/client/src/app/videos/+video-edit/shared/video-description.component.scss index d6a5190c5..2c731bee3 100644 --- a/client/src/app/videos/+video-edit/shared/video-description.component.scss +++ b/client/src/app/videos/+video-edit/shared/video-description.component.scss @@ -2,11 +2,8 @@ @import '_mixins'; textarea { - @include peertube-input-text(100%); + @include peertube-textarea(100%, 150px); - padding: 5px 15px; - font-size: 15px; - height: 150px; margin-bottom: 15px; } diff --git a/client/src/app/videos/+video-watch/video-download.component.html b/client/src/app/videos/+video-watch/video-download.component.html index 7efc79e93..f8f17a471 100644 --- a/client/src/app/videos/+video-watch/video-download.component.html +++ b/client/src/app/videos/+video-watch/video-download.component.html @@ -1,29 +1,40 @@