- styling search page: facet-category.vue und vs-result.vue

This commit is contained in:
Arno Kaimbacher 2021-12-09 16:41:47 +01:00
parent b24832ca08
commit 8c5094f91a
3 changed files with 39 additions and 17 deletions

View File

@ -50,6 +50,8 @@ export default FacetCategory;
background-clip: border-box;
border: 1px solid rgba(0, 0, 0, 0.125); */
border-radius: 0;
/* rempve box-shadow */
box-shadow: none;
}
/* .card-footer:last-child,

View File

@ -1,22 +1,21 @@
<template>
<div class="column" v-for="document in results" :key="document.id">
<div v-for="document in results" :key="document.id">
<div class="card result-list-container">
<div class="card-content record-elem">
<p v-if="document.identifier && document.identifier.length > 0">
<!-- <span>Author: {{ document.identifier.join(', ') }}</span> -->
<!-- <span v-for="(author,index) in document.author" :key="index">{{ author }}; </span> -->
<!-- <span>'https://doi.org/' + {{ document.identifier[0] }}</span> -->
<a target="_blank" v-bind:href="'https://doi.org/' + document.identifier[0]"> {{ "https://doi.org/" + document.identifier[0] }} </a>&nbsp;
<span v-if="document.author && document.author.length > 0">{{ document.author[0] }}</span>
</p>
<span class="label label-info" data-container="div" data-title="Publication date">
{{ convert(document.server_date_published) }}
</span>
<span class="label label-default ng-binding">{{ document.doctype }}</span>
<span v-if="openAccessLicences.includes(document.licence)" class="label label-success titlecase">Open Access</span>
<p v-if="document.identifier && document.identifier.length > 0">
<!-- <span>Author: {{ document.identifier.join(', ') }}</span> -->
<!-- <span v-for="(author,index) in document.author" :key="index">{{ author }}; </span> -->
<!-- <span>'https://doi.org/' + {{ document.identifier[0] }}</span> -->
<a target="_blank" v-bind:href="'https://doi.org/' + document.identifier[0]">
{{ "https://doi.org/" + document.identifier[0] }}
</a>
</p>
<h4>
<a
v-if="document.identifier && document.identifier.length > 0"
@ -31,10 +30,10 @@
</a>
</h4>
<p v-if="document.author && document.author.length > 0">
<!-- <span>Author: {{ document.author.join(', ') }}</span> -->
<!-- <p v-if="document.author && document.author.length > 0">
<span>Author: {{ document.author.join(', ') }}</span>
<span v-for="(author, index) in document.author" :key="index">{{ author }}; </span>
</p>
</p> -->
<p class="clamped clamped-2">
<span class="text">
@ -60,6 +59,12 @@ export default VsResults;
</script>
<style lang="scss" scoped>
.card {
border-radius: 0;
/* rempve box-shadow */
box-shadow: none;
}
/* overflow for abstracts */
.clamped {
line-height: 1.5;
@ -108,8 +113,9 @@ export default VsResults;
/* .record-elem .h4, record-elem h4 {
font-size: 18px;
} */
.record-elem p a {
color: #3ad29f;
color: #33cccc;
font-size: 14px;
}
/* .record-elem h4 a {
@ -122,7 +128,7 @@ export default VsResults;
text-decoration: none;
font-weight: bold;
/* margin-left: 10px; */
font-size: 16px;
// font-size: 16px;
}
.record-elem h4 a:hover {
color: #777;
@ -133,9 +139,9 @@ export default VsResults;
} */
.record-elem .h4,
.record-elem h4 {
font-size: 16px;
// font-size: 16px;
letter-spacing: 0.05em;
margin-top: 8px;
// margin-top: 8px;
}
.record-detail h1,
.record-detail p,

View File

@ -120,6 +120,20 @@
</div>
</div>
</div>
<div class="container-fluid" style="padding-top: 3.8em">
<div class="columns is-mobile partner-logos">
<div class="column col-sm text-center">
<img src="@/assets/site/img/re3-data-logo-mono.jpg" alt="re3 data logo" />
</div>
<div class="column col-sm text-center mobile-space">
<img src="@/assets/site/img/geosphere-austria-logo.jpg" class="pb-3" alt="logo geosphere austria" />
</div>
<div class="column col-sm text-center">
<img src="@/assets/site/img/placeholder-logo.jpg" alt="logo placeholder" />
</div>
</div>
</div>
</div>
</template>