From 0676fc323aa9e86574ed0433ff4280832e50678d Mon Sep 17 00:00:00 2001 From: yingfeng Date: Tue, 7 May 2024 16:44:49 -0400 Subject: [PATCH 1/2] AMP-3152: - fix item-search table row selection style - fix deliverable table row selection style - style.scss is added but not in use now. could be useful in the future --- public/css/style.css | 4 ++-- src/App.vue | 3 +++ src/components/deliverables/Deliverables.vue | 4 ++-- src/components/shared/Search.vue | 11 ++++++++--- src/styles/style.scss | 1 + 5 files changed, 16 insertions(+), 7 deletions(-) create mode 100644 src/styles/style.scss diff --git a/public/css/style.css b/public/css/style.css index 6f1cce3b..aa47834c 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -658,8 +658,8 @@ svg.icon-user { height: 250px; overflow-y: scroll; } -.highlight { - background: #F8ECB4; } +/* .highlight { + background: #F8ECB4; } */ .scrollDiv td, .scrollDiv th { text-align: left; } diff --git a/src/App.vue b/src/App.vue index 5487c8e7..fc8e05ab 100644 --- a/src/App.vue +++ b/src/App.vue @@ -62,3 +62,6 @@ export default { + diff --git a/src/components/deliverables/Deliverables.vue b/src/components/deliverables/Deliverables.vue index 3ac1efc0..52f2e783 100644 --- a/src/components/deliverables/Deliverables.vue +++ b/src/components/deliverables/Deliverables.vue @@ -164,8 +164,8 @@ v-on:keyup.down="onArrowDown" v-on:keyup.up="onArrowUp" v-on:click="rowClicked(index)" - v-bind:class="{ - highlight: rowSelected(pfile.primaryfileId), + :class="{ + 'table-dark': rowSelected(pfile.primaryfileId), }" > {{ pfile.collectionName }} diff --git a/src/components/shared/Search.vue b/src/components/shared/Search.vue index 5ec07b1d..9d3d6792 100644 --- a/src/components/shared/Search.vue +++ b/src/components/shared/Search.vue @@ -332,7 +332,7 @@ :class=" type === 'item-search' ? source.id === selectedItemId - ? 'item-cls trActive' + ? 'item-cls table-dark' : 'item-cls' : '' " @@ -1086,9 +1086,14 @@ export default {