style: restyle the teamer cards and the login pages
This commit is contained in:
1 parent
fa0ffcf636
commit
ec3fd68695
9 files changed
+30
-38
No files matched your search
@@ -8,11 +8,11 @@
|
||||
</h1>
|
||||
<div class="grid sm:grid-cols-2 md:grid-cols-3 gap-4 pb-4">
|
||||
{% for assignment in pagination %}
|
||||
<div class="relative flex flex-col justify-between rounded-md border border-gray-200 bg-gray-100 p-4">
|
||||
<div class="card relative flex flex-col justify-between p-4">
|
||||
<div class="flex flex-col space-y-2 pb-2">
|
||||
<div class="flex items-start space-x-2">
|
||||
{{ icon('flag-' ~ assignment.destination.country, 'w-5 h-5 shrink-0') }}
|
||||
<span class="flex-1 font-bold">{{ assignment.destination.product }}</span>
|
||||
<span class="flex-1 font-bold text-brand">{{ assignment.destination.product }}</span>
|
||||
</div>
|
||||
<div class="flex items-start space-x-2">
|
||||
{{ icon('calendar', 'w-5 h-5 shrink-0') }}
|
||||
@@ -62,7 +62,7 @@
|
||||
<a href="{{ path('app_teamer_bookmark_toggle', { 'uuid': assignment.uuid, 'r': return_url() }) }}"
|
||||
class="absolute top-0 right-0 mt-2 mr-2"
|
||||
title="{{ isBookmarked ? 'Von der Merkliste löschen' : 'Auf die Merkliste setzen' }}">
|
||||
{{ icon('star', html_classes('w-5 h-5', { 'text-yellow-500': isBookmarked, 'text-gray-200': not isBookmarked } )) }}
|
||||
{{ icon('star', html_classes('w-5 h-5', { 'text-yellow-500': isBookmarked, 'text-gray-300': not isBookmarked } )) }}
|
||||
</a>
|
||||
</div>
|
||||
{% else %}
|
||||
|
||||
Reference in new issue
Block a user