diff --git a/src/views/Catalog.vue b/src/views/Catalog.vue index 14c23f62d7d03e9e809adb8ca0a2c7505774ab20..0c5b33a8bc67f00db90ff28ed3b1b054fce56be7 100644 --- a/src/views/Catalog.vue +++ b/src/views/Catalog.vue @@ -216,12 +216,12 @@ h1 { } .table .row { display: flex; - transition: background-color ease-out 0.2s; + transition: all ease-out 0.2s; } -.table .row:not(:first-of-type).selected { +.table .row:not(.header).selected { background-color: #8bddd9; } -.table .row:not(:first-of-type):hover { +.table .row:not(.header):hover { background-color: #009c95; color: #ffffff; cursor: pointer; diff --git a/src/views/feature_type/Feature_type_detail.vue b/src/views/feature_type/Feature_type_detail.vue index 7dd2f69fe5ea53a56b2863429ebb1f7fda6fb768..bae93743c7a6f3c88d330129f2fd46a9d4cf654c 100644 --- a/src/views/feature_type/Feature_type_detail.vue +++ b/src/views/feature_type/Feature_type_detail.vue @@ -101,7 +101,7 @@ class="ui icon button import-catalog" >Créer un nouveau type de signalement à partir du catalogue Datasud </router-link> - <div v-if="$route.params.geojson" class="ui button import-catalog"> + <div v-if="$route.params.geojson" class="ui button import-catalog basic active teal"> Ressource {{$route.params.geojson.name}} </div> <ul v-if="importError" class="errorlist"> @@ -337,15 +337,11 @@ export default { if (!this.project) { this.GET_PROJECT_INFO(this.$route.params.slug); } - this.$store.commit("feature/SET_FEATURES", []); //* empty features remaining in case they were in geojson format and will be fetch anyway + this.$store.commit("feature/SET_FEATURES", []); //* empty remaining features in case they were in geojson format and will be fetch anyway this.getFeatures(); - // .then(res => resolve(res)) - // .catch(err => reject(err)); this.SET_CURRENT_FEATURE_TYPE_SLUG( this.$route.params.feature_type_slug ); - console.log(this.$route.params) - console.log(this.$route.params.type) if (this.$route.params.type === "external-geojson") { this.showImport = true; }