style StudiengangInformation

This commit is contained in:
Harald Bamberger
2025-06-12 15:53:35 +02:00
parent 565925abb2
commit 982373d03b
4 changed files with 23 additions and 27 deletions
+6
View File
@@ -774,4 +774,10 @@ html {
.abgabe-zieldatum-border-green .abgabe-zieldatum-overlay {
color: green;
}
.stgkontaktinfo {
display: grid;
grid-template-columns: 25px auto;
word-wrap: anywhere;
}
@@ -30,7 +30,7 @@ components:{
template:/*html*/`
<div id="fhc-studiengang-informationen">
<template v-if="studiengang?.bezeichnung && semester">
<div class="card card-body mb-3">
<div class="card card-body mb-3 border-0">
<div class="mb-1">
<h2 class="h4 mb-1 pb-0">{{$p.t('lehre','studiengang')}}:</h2>
<span class="mb-1">{{studiengang?.bezeichnung}}</span>
@@ -15,37 +15,27 @@ export default {
}
},
template:/*html*/`
<div class="card" :style="{'width':displayWidget?'12rem':'15rem'}">
<div class="bg-dark d-flex justify-content-center">
<div class="card border-0" :style="{'width':displayWidget?'12rem':'15rem'}">
<div class="d-flex justify-content-center">
<img :src="base64Image" alt="mitarbeiter_foto" style="width: 110px; height: auto; object-fir:scale-down;" class="card-img-top" >
</div>
<div class="card-body">
<div class="card-body p-2 flex-grow-0" style="min-height: 50px;">
<h6 class="text-center card-title mb-0">{{fullname}} <a v-if="profilViewLink" :href="profilViewLink"><i class="ms-2 fa fa-arrow-up-right-from-square fhc-primary-color" ></i></a></h6>
</div>
<hr class="my-0">
<div class="card-body">
<div class="card-body p-2">
<dl class="stgkontaktinfo">
<dt><i class="fa fa-phone me-2"></i></dt>
<dd class="mb-3"><a class="fhc-link-color" :href="phone.link">{{phone.number}}</a></dd>
<dt><i class="fa fa-home me-2"></i></dt>
<dd class="mb-3">{{ort}}</dd>
<dt><i class="fa-regular fa-envelope me-2"></i></dt>
<dd class="mb-3"><a class="fhc-link-color" :href="email_link" v-html="formattedEmail"></a></dd>
</dl>
<div class="flex flex-column gap-3">
<div class="mb-3">
<span>
<i class="fa fa-phone me-2"></i>
<a class="fhc-link-color" :href="phone.link">{{phone.number}}</a>
</span>
</div>
<div class="mb-3">
<span>
<i class="fa fa-home me-2"></i>
{{ort}}
</span>
</div>
<div>
<span>
<i class="fa-regular fa-envelope me-2"></i>
<a class="fhc-link-color" :href="email_link" v-html="formattedEmail"></a>
</span>
</div>
</div>
</div>
</div>
`,
@@ -5,7 +5,7 @@ export default {
showBezeichnung:Boolean,
},
template:/*html*/`
<div class="card mb-3">
<div class="card mb-3 border-0">
<div class="card-header">
<span>{{title}}</span>
</div>