fix icon
This commit is contained in:
@@ -16,28 +16,28 @@
|
|||||||
<!-- Main Content -->
|
<!-- Main Content -->
|
||||||
<main class="container mx-auto w-full flex-1 my-8 sm:flex flex-col sm:px-4">
|
<main class="container mx-auto w-full flex-1 my-8 sm:flex flex-col sm:px-4">
|
||||||
<a href="{% url 'posts:show' previous %}" class="hidden z-20 fixed left-0 top-1/2 -mt-8 p-2 xl:flex items-center text-gray-400 dark:text-gray-300 rounded-md"
|
<a href="{% url 'posts:show' previous %}" class="hidden z-20 fixed left-0 top-1/2 -mt-8 p-2 xl:flex items-center text-gray-400 dark:text-gray-300 rounded-md"
|
||||||
x-data="{ showPrevArticleButton : false }"
|
x-data="{ showPrevArticleButton : false }"
|
||||||
@mouseleave="showPrevArticleButton = false"
|
@mouseleave="showPrevArticleButton = false"
|
||||||
@mouseover="showPrevArticleButton = true"
|
@mouseover="showPrevArticleButton = true"
|
||||||
>
|
>
|
||||||
<i class="fa-solid fa-chevron-left text-5xl -m-2 p-2 bg-gray-100 dark:bg-gray-700 rounded-md"></i>
|
<i class="fa-solid fa-chevron-left text-5xl -m-2 p-2 bg-gray-100 dark:bg-gray-700 rounded-md"></i>
|
||||||
<span class="text-gray-600 dark:text-gray-300 font-medium bg-gray-100 dark:bg-gray-700 -m-2 p-2 rounded-r-md origin-left"
|
<span class="text-gray-600 dark:text-gray-300 font-medium bg-gray-100 dark:bg-gray-700 -m-2 p-2 rounded-r-md origin-left"
|
||||||
x-show="showPrevArticleButton"
|
x-show="showPrevArticleButton"
|
||||||
x-transition:enter="transition ease-out duration-300"
|
x-transition:enter="transition ease-out duration-300"
|
||||||
x-transition:enter-start="opacity-0 bg-opacity-0 transform scale-90"
|
x-transition:enter-start="opacity-0 bg-opacity-0 transform scale-90"
|
||||||
x-transition:enter-end="opacity-100 transform scale-100"
|
x-transition:enter-end="opacity-100 transform scale-100"
|
||||||
x-transition:leave="transition ease-in duration-150"
|
x-transition:leave="transition ease-in duration-150"
|
||||||
x-transition:leave-start="opacity-100 transform scale-100"
|
x-transition:leave-start="opacity-100 transform scale-100"
|
||||||
x-transition:leave-end="opacity-0 bg-opacity-0 transform scale-100"
|
x-transition:leave-end="opacity-0 bg-opacity-0 transform scale-100"
|
||||||
>Vorheriger<br>Artikel</span>
|
>Vorheriger<br>Artikel</span>
|
||||||
</a>
|
</a>
|
||||||
<a href="{% url 'posts:show' next %}" class="hidden z-20 fixed right-0 top-1/2 -mt-8 p-2 xl:flex items-center text-gray-400 dark:text-gray-300 rounded-md"
|
<a href="{% url 'posts:show' next %}" class="hidden z-20 fixed right-0 top-1/2 -mt-8 p-2 xl:flex items-center text-gray-400 dark:text-gray-300 rounded-md"
|
||||||
x-data="{ showNextArticleButton : false }"
|
x-data="{ showNextArticleButton : false }"
|
||||||
@mouseleave="showNextArticleButton = false"
|
@mouseleave="showNextArticleButton = false"
|
||||||
@mouseover="showNextArticleButton = true"
|
@mouseover="showNextArticleButton = true"
|
||||||
>
|
>
|
||||||
<span class="z-30 text-gray-600 dark:text-gray-300 font-medium bg-gray-100 dark:bg-gray-700 -m-2 p-2 rounded-l-md text-right origin-right"
|
<span class="z-30 text-gray-600 dark:text-gray-300 font-medium bg-gray-100 dark:bg-gray-700 -m-2 p-2 rounded-l-md text-right origin-right"
|
||||||
x-show="showNextArticleButton"
|
x-show="showNextArticleButton"
|
||||||
x-transition:enter="transition ease-out duration-300"
|
x-transition:enter="transition ease-out duration-300"
|
||||||
x-transition:enter-start="opacity-0 bg-opacity-0 transform scale-90"
|
x-transition:enter-start="opacity-0 bg-opacity-0 transform scale-90"
|
||||||
x-transition:enter-end="opacity-100 transform scale-100"
|
x-transition:enter-end="opacity-100 transform scale-100"
|
||||||
@@ -110,7 +110,7 @@
|
|||||||
{% if post.post_type != 'N' %}
|
{% if post.post_type != 'N' %}
|
||||||
<div class="hidden lg:block absolute top-0 right-0 bg-white dark:bg-gray-900 rounded-bl p-2 bg-opacity-80 dark:bg-opacity-70 gap-2">
|
<div class="hidden lg:block absolute top-0 right-0 bg-white dark:bg-gray-900 rounded-bl p-2 bg-opacity-80 dark:bg-opacity-70 gap-2">
|
||||||
<div class="items-center lg:flex gap-2">
|
<div class="items-center lg:flex gap-2">
|
||||||
<i class="flex-none fa-solid fa-calendar-clock fa-fw text-gray-800 dark:text-gray-200"></i>
|
<i class="flex-none fa-solid fa-calendar-day fa-fw text-gray-800 dark:text-gray-200"></i>
|
||||||
<span class="flex-1 text-sm text-gray-800 dark:text-gray-200">
|
<span class="flex-1 text-sm text-gray-800 dark:text-gray-200">
|
||||||
Event-Start: {{ post.event_start|date }} um {{ post.event_start|time }} Uhr<br>
|
Event-Start: {{ post.event_start|date }} um {{ post.event_start|time }} Uhr<br>
|
||||||
Event-Ende: {{ post.event_end|date }} um {{ post.event_end|time }} Uhr
|
Event-Ende: {{ post.event_end|date }} um {{ post.event_end|time }} Uhr
|
||||||
@@ -126,7 +126,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="hidden absolute top-0 right-0 bg-white dark:bg-gray-900 rounded-bl p-2 bg-opacity-80 dark:bg-opacity-70 items-center gap-2">
|
<div class="hidden absolute top-0 right-0 bg-white dark:bg-gray-900 rounded-bl p-2 bg-opacity-80 dark:bg-opacity-70 items-center gap-2">
|
||||||
<i class="flex-none fa-solid fa-calendar-clock text-gray-800 dark:text-gray-200"></i>
|
<i class="flex-none fa-solid fa-calendar-day text-gray-800 dark:text-gray-200"></i>
|
||||||
<span class="flex-1 text-sm text-gray-800 dark:text-gray-200">
|
<span class="flex-1 text-sm text-gray-800 dark:text-gray-200">
|
||||||
Event-Start: {{ post.event_start|date }} um {{ post.event_start|time }} Uhr<br>
|
Event-Start: {{ post.event_start|date }} um {{ post.event_start|time }} Uhr<br>
|
||||||
Event-Ende: {{ post.event_end|date }} um {{ post.event_end|time }} Uhr<br>
|
Event-Ende: {{ post.event_end|date }} um {{ post.event_end|time }} Uhr<br>
|
||||||
|
|||||||
Reference in New Issue
Block a user