Signalfarben kräftiger: green-50/red-50 → green-100/red-100
Betrifft Kalender-Tageskacheln, Event-Liste (App) und Admin-Event-Übersicht. Borders ebenfalls angepasst (green-300/red-300). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -34,7 +34,7 @@
|
|||||||
@forelse ($events as $event)
|
@forelse ($events as $event)
|
||||||
@php
|
@php
|
||||||
$minStatus = $event->minimumsStatus();
|
$minStatus = $event->minimumsStatus();
|
||||||
$bgClass = match($minStatus) { true => 'bg-green-50 border-green-200', false => 'bg-red-50 border-red-200', default => 'bg-white border-gray-200' };
|
$bgClass = match($minStatus) { true => 'bg-green-100 border-green-300', false => 'bg-red-100 border-red-300', default => 'bg-white border-gray-200' };
|
||||||
@endphp
|
@endphp
|
||||||
<div class="{{ $bgClass }} border rounded-lg shadow-sm p-4 mb-3">
|
<div class="{{ $bgClass }} border rounded-lg shadow-sm p-4 mb-3">
|
||||||
<div class="flex flex-col lg:flex-row lg:items-center gap-4">
|
<div class="flex flex-col lg:flex-row lg:items-center gap-4">
|
||||||
|
|||||||
@@ -306,8 +306,8 @@
|
|||||||
dayCellClass(day) {
|
dayCellClass(day) {
|
||||||
if (!day.currentMonth) return 'bg-gray-50 text-gray-400';
|
if (!day.currentMonth) return 'bg-gray-50 text-gray-400';
|
||||||
const status = this.dayMinStatus(this.eventsForDate(day.dateStr));
|
const status = this.dayMinStatus(this.eventsForDate(day.dateStr));
|
||||||
if (status === true) return 'bg-green-50';
|
if (status === true) return 'bg-green-100';
|
||||||
if (status === false) return 'bg-red-50';
|
if (status === false) return 'bg-red-100';
|
||||||
if (day.isToday) return 'bg-blue-50';
|
if (day.isToday) return 'bg-blue-50';
|
||||||
return '';
|
return '';
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
@foreach ($events as $event)
|
@foreach ($events as $event)
|
||||||
@php
|
@php
|
||||||
$minStatus = $event->minimumsStatus();
|
$minStatus = $event->minimumsStatus();
|
||||||
$bgClass = match($minStatus) { true => 'bg-green-50', false => 'bg-red-50', default => 'bg-white' };
|
$bgClass = match($minStatus) { true => 'bg-green-100', false => 'bg-red-100', default => 'bg-white' };
|
||||||
@endphp
|
@endphp
|
||||||
<a href="{{ route('events.show', $event) }}" class="block {{ $bgClass }} rounded-lg shadow p-4 hover:shadow-md transition-shadow">
|
<a href="{{ route('events.show', $event) }}" class="block {{ $bgClass }} rounded-lg shadow p-4 hover:shadow-md transition-shadow">
|
||||||
<div class="flex flex-col sm:flex-row sm:items-center gap-3">
|
<div class="flex flex-col sm:flex-row sm:items-center gap-3">
|
||||||
|
|||||||
Reference in New Issue
Block a user