Updated the styling for the cookieconsent banner

This commit is contained in:
Moritz Deiaco
2024-06-08 12:08:48 +02:00
parent 87f93b3cab
commit 8b489da287

View File

@@ -12,17 +12,17 @@
{ {
<div class="mb-12 mx-8 d-flex justify-content-end fixed-bottom no-pointer-events" style="pointer-events: none;"> <div class="mb-12 mx-8 d-flex justify-content-end fixed-bottom no-pointer-events" style="pointer-events: none;">
<div style="pointer-events: all; max-width: var(--bs-breakpoint-sm)" class="w-100"> <div style="pointer-events: all; max-width: var(--bs-breakpoint-sm)" class="w-100">
<div class="card"> <div class="card shadow-lg">
<div class="card-body"> <div class="card-body">
<h3 class="mb-4">@ConfigService.Get().Customisation.CookieConsentBanner.BannerTitle</h3> <h3 class="mb-4">@ConfigService.Get().Customisation.CookieConsentBanner.BannerTitle</h3>
<p class="text-muted fs-6"> <p class="text-muted fs-6">
@ConfigService.Get().Customisation.CookieConsentBanner.BannerText @ConfigService.Get().Customisation.CookieConsentBanner.BannerText
</p> </p>
<span class="d-flex gap-5"> <span class="d-flex gap-5">
<a @onclick:preventDefault @onclick="Consent" class="cursor-pointer text-primary"> <a @onclick:preventDefault @onclick="Consent" class="btn btn-primary btn-sm cursor-pointer">
<i class="bx bx-check"></i> @ConfigService.Get().Customisation.CookieConsentBanner.ConsentText <i class="bx bx-check"></i> @ConfigService.Get().Customisation.CookieConsentBanner.ConsentText
</a> </a>
<a @onclick:preventDefault @onclick="Decline" class="cursor-pointer text-primary"> <a @onclick:preventDefault @onclick="Decline" class="btn btn-secondary btn-sm cursor-pointer">
<i class="bx bx-x"></i> @ConfigService.Get().Customisation.CookieConsentBanner.DeclineText <i class="bx bx-x"></i> @ConfigService.Get().Customisation.CookieConsentBanner.DeclineText
</a> </a>
</span> </span>