From 1d872c4454d062ba233e36b31df2677167d02c95 Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Fri, 3 Jul 2020 12:01:21 -0300 Subject: [PATCH] First version of modified mapping for compound metadata child list. --- .../edition/importer-mapping-form.vue | 162 ++++++++++++++---- 1 file changed, 133 insertions(+), 29 deletions(-) diff --git a/src/views/admin/components/edition/importer-mapping-form.vue b/src/views/admin/components/edition/importer-mapping-form.vue index ac4d00c86..0dcb047e1 100644 --- a/src/views/admin/components/edition/importer-mapping-form.vue +++ b/src/views/admin/components/edition/importer-mapping-form.vue @@ -51,35 +51,102 @@ class="source-metadatum" v-for="(sourceMetadatum, index) of importerSourceInfo.source_metadata" :key="index"> -

{{ sourceMetadatum }}

- - - - - + +

{{ $i18n.get('info_select_collection_to_list_metadata') }}

p { + font-weight: normal; + transition: font-weight 0.1s ease; + } + + &:hover { + &>p { + font-weight: bold; + } + } + } + + .child-source-metadatum { + flex-basis: 100%; + border-left: 1px solid var(--tainacan-gray2); + padding-left: 1.5em; + opacity: 1; + transition: border-left 0.2s ease, opacity 0.2s ease; + + .source-metadatum { + border-bottom: none; + margin-bottom: 0; + margin-top: 2px; + padding-top: 8px; + padding-bottom: 0px; + border-top: 1px solid var(--tainacan-gray2); + } + + &.disabled-child-source-metadadum { + border-left: 1px solid var(--tainacan-gray1); + opacity: 0.70; + } } .is-inline .control{