From 6ffdc57b44825d6c61845a78d47e9a72204eb1af Mon Sep 17 00:00:00 2001 From: Pranav C Date: Wed, 24 Nov 2021 15:34:47 +0530 Subject: [PATCH] feat(gui): add table list filter option re #783 Signed-off-by: Pranav C --- .../nc-gui/components/ProjectTreeView.vue | 79 +++++++++++++------ 1 file changed, 57 insertions(+), 22 deletions(-) diff --git a/packages/nc-gui/components/ProjectTreeView.vue b/packages/nc-gui/components/ProjectTreeView.vue index 6905481f0f..f53a8d887b 100644 --- a/packages/nc-gui/components/ProjectTreeView.vue +++ b/packages/nc-gui/components/ProjectTreeView.vue @@ -26,16 +26,24 @@ <!– mdi-arrow-expand-horizontal–> --> - - - - - - - - - - + + + + - + @@ -186,6 +202,7 @@ n.type === 'tableDir'); } @@ -1165,7 +1182,7 @@ export default { await this.loadViews(this.menuItem); this.$toast.success('Views refreshed').goAway(1000); } else if (action === 'IMPORT_EXCEL') { - this.excelImportDialog=true + this.excelImportDialog = true } else if (action === 'ENV_DB_FUNCTIONS_REFRESH') { await this.loadFunctions(this.menuItem); this.$toast.success('Functions refreshed').goAway(1000); @@ -1768,6 +1785,24 @@ export default { .nested:hover .action { opacity: 1; } + +/deep/ .nc-table-list-filter .v-input__slot { + min-height: 30px !important; +} +/deep/ .nc-table-list-filter .v-input__slot label { + top: 6px; +} + + + +/deep/ .nc-table-list-filter.theme--light.v-text-field > .v-input__control > .v-input__slot:before { + border-top-color: rgba(0, 0, 0, 0.12) !important; +} + +/deep/ .nc-table-list-filter.theme--dark.v-text-field > .v-input__control > .v-input__slot:before { + border-top-color: rgba(255, 255, 255, 0.12) !important; +} +