chore: upgrade tailwind css from 3.4 to 4.3
This commit is contained in:
1 parent
9fcba26942
commit
1cda9d378a
29 files changed
+726
-724
No files matched your search
@@ -1,7 +1,7 @@
|
||||
{% set type = type|default('info') %}
|
||||
|
||||
<div class="{{ html_classes('p-4 mb-4 flex items-start space-x-2 text-gray-100 rounded-md', { 'bg-blue-600': type == 'info', 'bg-red-600': type == 'warning', 'bg-green-600': type == 'success' }) }}">
|
||||
{{ icon(type == 'success' ? 'check' : 'alert', 'w-5 h-5 flex-shrink-0') }}
|
||||
{{ icon(type == 'success' ? 'check' : 'alert', 'w-5 h-5 shrink-0') }}
|
||||
<div class="leading-relaxed text-base">
|
||||
{% block message %}
|
||||
{{ message | nl2br }}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{% if is_maintenance_mode() %}
|
||||
<div class="sticky top-0 z-50 bg-red-600 text-gray-100 px-4 lg:px-8 py-2 flex items-center justify-center space-x-2">
|
||||
{{ icon('alert', 'w-5 h-5 flex-shrink-0') }}
|
||||
{{ icon('alert', 'w-5 h-5 shrink-0') }}
|
||||
<span class="leading-relaxed">Wartungsmodus — das Portal ist für andere Benutzer gesperrt.</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
@@ -11,7 +11,7 @@
|
||||
'- Punkt': 'Aufzählung',
|
||||
'1. Punkt': 'Nummerierung',
|
||||
} %}
|
||||
<span class="inline-flex items-center space-x-1 py-1 px-2 bg-gray-50 border border-gray-200 rounded">
|
||||
<span class="inline-flex items-center space-x-1 py-1 px-2 bg-gray-50 border border-gray-200 rounded-sm">
|
||||
<code>{{ example }}</code>
|
||||
<span>{{ label }}</span>
|
||||
</span>
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
}
|
||||
}) }}>
|
||||
<div {{ stimulus_target('upload-collection', 'dropzone') }} class="w-full flex flex-col space-y-4">
|
||||
<div class="border border-dashed border-gray-400 rounded flex flex-col justify-center items-center p-4 pointer-events-none">
|
||||
<div class="border border-dashed border-gray-400 rounded-sm flex flex-col justify-center items-center p-4 pointer-events-none">
|
||||
{{ icon('upload', 'w-6 h-6') }}
|
||||
<span class="block text-sm text-center">{{ 'uploader.drop_files'|trans }} <strong>{{ 'uploader.click_here'|trans }}</strong></span>
|
||||
</div>
|
||||
<div class="border border-red-500 rounded-md p-4 text-red-500 hidden" {{ stimulus_target('upload-collection', 'errors') }}></div>
|
||||
<template {{ stimulus_target('upload-collection', 'previewTemplate') }}>
|
||||
<div class="bg-gray-100 border rounded p-2">
|
||||
<div class="bg-gray-100 border rounded-sm p-2">
|
||||
<div class="pb-2">
|
||||
<span class="block bg-gray-400 h-1 w-0" data-dz-uploadprogress></span>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user