From 7742a231ac34f978062316d5295ed76f7db9771a Mon Sep 17 00:00:00 2001 From: Tamara Steinwender <tamara.steinwender@tugraz.at> Date: Tue, 22 Mar 2022 15:56:47 +0100 Subject: [PATCH] Adapt small stuff --- .../src/nextcloud-file-picker.js | 2 - packages/file-handling/src/styles.js | 82 +------------------ .../src/tabulator-table-styles.js | 5 -- 3 files changed, 1 insertion(+), 88 deletions(-) diff --git a/packages/file-handling/src/nextcloud-file-picker.js b/packages/file-handling/src/nextcloud-file-picker.js index 1e2d737e..2d2abe71 100644 --- a/packages/file-handling/src/nextcloud-file-picker.js +++ b/packages/file-handling/src/nextcloud-file-picker.js @@ -184,7 +184,6 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) { : i18n.t('nextcloud-file-picker.no-data-type'), responsiveLayout: 'collapse', responsiveLayoutCollapseStartOpen: false, - addRowPos: 'top', columnDefaults: { vertAlign: 'middle', hozAlign: 'left', @@ -2950,7 +2949,6 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) { .more-menu { height: 22.4px; - /*top: 4px;*/ width: 19px; margin-top: 4px; } diff --git a/packages/file-handling/src/styles.js b/packages/file-handling/src/styles.js index e274b32c..6caf41c9 100644 --- a/packages/file-handling/src/styles.js +++ b/packages/file-handling/src/styles.js @@ -121,24 +121,7 @@ export function getFileHandlingCss() { font-weight: normal; font-size: 1rem; } - - .tabulator - .tabulator-header - .tabulator-col.tabulator-sortable[aria-sort='asc'] - .tabulator-col-content - .tabulator-arrow, - .tabulator - .tabulator-header - .tabulator-col.tabulator-sortable[aria-sort='none'] - .tabulator-col-content - .tabulator-arrow, - .tabulator - .tabulator-header - .tabulator-col.tabulator-sortable[aria-sort='desc'] - .tabulator-col-content - .tabulator-arrow { - padding-bottom: 6px; - } + .tabulator .tabulator-header, .tabulator .tabulator-header, @@ -174,51 +157,6 @@ export function getFileHandlingCss() { display: inline-flex; } - .tabulator - .tabulator-header - .tabulator-col.tabulator-sortable[aria-sort='desc'] - .tabulator-col-content - .tabulator-arrow { - top: 16px; - } - - .tabulator - .tabulator-header - .tabulator-col.tabulator-sortable[aria-sort='asc'] - .tabulator-col-content - .tabulator-arrow { - border-top: none; - border-bottom: 4px solid var(--dbp-muted); - } - - .tabulator - .tabulator-header - .tabulator-col.tabulator-sortable[aria-sort='none'] - .tabulator-col-content - .tabulator-arrow { - border-top: none; - border-bottom: 4px solid var(--dbp-muted); - } - - .tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-arrow { - border-left: 4px solid transparent; - border-right: 4px solid transparent; - } - - .tabulator - .tabulator-header - .tabulator-col.tabulator-sortable[aria-sort='desc'] - .tabulator-col-content - .tabulator-arrow, - .tabulator - .tabulator-header - .tabulator-col.tabulator-sortable[aria-sort='desc'] - .tabulator-col-content - .tabulator-arrow { - border-top: 4px solid var(--dbp-muted); - border-bottom: none; - } - .tabulator-row, .tabulator-row.tabulator-row-even { padding-top: 10px; @@ -231,24 +169,6 @@ export function getFileHandlingCss() { color: var(--dbp-hover-color, var(--dbp-on-content-surface)); } - .tabulator - .tabulator-header - .tabulator-col.tabulator-sortable[aria-sort='asc'] - .tabulator-col-content - .tabulator-col-sorter - .tabulator-arrow { - border-bottom-color: var(--dbp-content); - } - - .tabulator - .tabulator-header - .tabulator-col.tabulator-sortable[aria-sort='none'] - .tabulator-col-content - .tabulator-col-sorter - .tabulator-arrow { - border-bottom-color: var(--dbp-muted); - } - .tabulator-header { padding-top: 10px; padding-bottom: 10px; diff --git a/packages/file-handling/src/tabulator-table-styles.js b/packages/file-handling/src/tabulator-table-styles.js index aff8f8a5..62bb1ffd 100644 --- a/packages/file-handling/src/tabulator-table-styles.js +++ b/packages/file-handling/src/tabulator-table-styles.js @@ -32,11 +32,6 @@ export function getTabulatorStyles() { padding-bottom: 20px; } - .tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right, .tabulator-row .tabulator-frozen.tabulator-frozen-right{ - background-color: var(--dbp-background); - color: var(--dbp-content); - } - .tabulator-placeholder-contents { text-align: center; padding-top: 10px; -- GitLab