From e656cc697748ec8c8ee21336cd91fcab580b0579 Mon Sep 17 00:00:00 2001 From: Suzana Dirla Date: Fri, 5 Apr 2019 16:05:21 +0300 Subject: [PATCH] [ADF-4323] Add style fixes from ACA (#4546) * [ADF-4323] add style fix for adf-search-sorting-picker - moved from ACA * [ADF-4323] use Flex Layout's media query mixin * [ADF-4323] add style fix for adf-pagination - moved from ACA * [ADF-4323] add style fix for adf-version-manager - which fixed issue [ACA-1750] * [ADF-4323] remove not used property * [ADF-4323] remove extra bottom-border * [ADF-4323] upload-drag-area refactor to scss * [ADF-4323] add style fix for adf file upload - from ACA * [ADF-4323] add style fix for adf-info-drawer - from ACA * [ADF-4323] add style fix for adf-toolbar - from ACA * [ADF-4323] add style fix for adf-sidenav-layout - from ACA * [ADF-4323] add style fix for adf-search-filter - from ACA * [ADF-4323] add style fix for adf-upload-drag-area - from ACA * [ADF-4323] add style fix for adf-info-drawer - from ACA * [ADF-4323] move style fix for adf-manage-versions from demo-shell * [ADF-4323] use Flex Layout's media query mixin * [ADF-4323] small fix to remove scrolling * [ADF-4323] add adf-sidenav-layout host element class * [ADF-4323] change 'inline' class name to 'adf-toolbar--inline' - css lint was failing because of old naming * [ADF-4323] set pagination empty state styling * [ADF-4323] set pagination border to none --- .../app/components/files/files.component.scss | 18 ---- .../trashcan/trashcan.component.html | 2 +- .../search-filter.component.scss | 89 +++++++++++-------- .../search-sorting-picker.component.scss | 9 ++ .../search-sorting-picker.component.ts | 1 + lib/content-services/styles/_index.scss | 6 ++ .../file-uploading-dialog.component.scss | 2 +- .../file-uploading-list-row.component.scss | 5 +- .../components/upload-drag-area.component.css | 15 ---- .../upload-drag-area.component.scss | 88 ++++++++++++++++++ .../components/upload-drag-area.component.ts | 2 +- .../version-manager.component.scss | 20 ++++- .../info-drawer-layout.component.scss | 28 +++++- .../sidenav-layout.component.html | 44 +++++---- .../sidenav-layout.component.scss | 30 +++++-- .../sidenav-layout.component.ts | 18 +++- lib/core/pagination/pagination.component.scss | 44 ++++----- lib/core/styles/_index.scss | 2 + lib/core/styles/_theming.scss | 1 + lib/core/toolbar/toolbar.component.scss | 34 +++++-- 20 files changed, 311 insertions(+), 147 deletions(-) create mode 100644 lib/content-services/search/components/search-sorting-picker/search-sorting-picker.component.scss delete mode 100644 lib/content-services/upload/components/upload-drag-area.component.css create mode 100644 lib/content-services/upload/components/upload-drag-area.component.scss diff --git a/demo-shell/src/app/components/files/files.component.scss b/demo-shell/src/app/components/files/files.component.scss index 1d7ab7a8a0..ef0dcd4223 100644 --- a/demo-shell/src/app/components/files/files.component.scss +++ b/demo-shell/src/app/components/files/files.component.scss @@ -76,28 +76,10 @@ .adf-manage-versions-sidebar { width: 360px !important; - color: rgba(0, 0, 0, 0.87); - - .adf-manage-versions-empty, - .adf-manage-versions-no-permission { - margin: 44px; - color: mat-color($foreground, text, 0.54); - text-align: center; - - &-icon { - display: block; - font-size: 48px; - margin: 0 auto 32px; - } - } & .adf-info-drawer-layout-header { display: none !important; } - - & .adf-info-drawer-layout-content { - padding: 10px !important; - } } .adf-no-result__empty_doc_lib { diff --git a/demo-shell/src/app/components/trashcan/trashcan.component.html b/demo-shell/src/app/components/trashcan/trashcan.component.html index 505778b790..66229fb45f 100644 --- a/demo-shell/src/app/components/trashcan/trashcan.component.html +++ b/demo-shell/src/app/components/trashcan/trashcan.component.html @@ -3,7 +3,7 @@ - +