';
}
$infostring .= '
'.$val['player_name'].' '.$val['player_position'].'
';
$infostring .= '
'.$events_played.' Events,
';
diff --git a/app/Filament/Pages/Statistic.php b/app/Filament/Pages/Statistic.php
index 9fb2110e..7a63ec67 100644
--- a/app/Filament/Pages/Statistic.php
+++ b/app/Filament/Pages/Statistic.php
@@ -348,7 +348,10 @@ class Statistic extends BaseDashboard
->prefixIcon('icon-player')
->preload()
->searchable()
- ->extraAttributes(fn () => ['id' => 'player_selector'])
+ ->extraAttributes(fn () => [
+ 'id' => 'player_selector',
+ 'style' => 'width: 100%;',
+ ])
->suffixAction(
Action::make('iconInfo')
->icon('phosphor-question-fill')
diff --git a/app/Filament/Widgets/BoxesBettypeAll.php b/app/Filament/Widgets/BoxesBettypeAll.php
index 54839088..d5ac703c 100644
--- a/app/Filament/Widgets/BoxesBettypeAll.php
+++ b/app/Filament/Widgets/BoxesBettypeAll.php
@@ -55,32 +55,32 @@ class BoxesBettypeAll extends StatsOverviewWidget
$lost = $data['lost_odd'];
$boxes[] = Stat::make('Odds', self::template_odds($data, $win, $draw, $lost))
->description('Expectations')
- ->extraAttributes(['x-init' => "animate('win', $win, 2); animate('draw', $draw, 2); animate('lost', $lost, 2)", 'class' => 'box-purple']);
+ ->extraAttributes(['x-init' => "animate('win', $win, 2); animate('draw', $draw, 2); animate('lost', $lost, 2)", 'class' => 'box-success']);
// BOX EXPECTED
if (isset($data['gls'])) {
$boxes[] = Stat::make('Expected', self::template_tabelle_1($data))
- ->extraAttributes(['class' => 'box-gray'])
+ ->extraAttributes(['class' => 'box-yellow'])
->description('Home - Away');
}
// BOX AVERAGE
if (isset($data['gls_team'])) {
$boxes[] = Stat::make('Average '.$data['active_team'], self::template_tabelle_2($data))
- ->extraAttributes(['class' => 'box-success'])
+ ->extraAttributes(['class' => 'box-blank'])
->description($team_position);
}
// BOX AVERAGE WITH TEAM FIXED TO ACTIVE SEASON
if (isset($data['gls_team_season'])) {
$boxes[] = Stat::make('Average '.$data['active_team'], self::template_tabelle_3($data))
- ->extraAttributes(['class' => 'box-yellow'])
+ ->extraAttributes(['class' => 'box-blank'])
->description('Season '.$data['active_season']);
}
// BOX AVERAGE ALL LEAGUE FIXED TO ACTIVE SEASON
if (isset($data['gls_liga_season'])) {
$boxes[] = Stat::make('League Average', self::template_tabelle_4($data))
- ->extraAttributes(['class' => 'box-yellow'])
+ ->extraAttributes(['class' => 'box-blank'])
->description('Season '.$data['active_season']);
}
diff --git a/resources/css/filament/admin/theme.css b/resources/css/filament/admin/theme.css
index fe5f27da..32c87808 100644
--- a/resources/css/filament/admin/theme.css
+++ b/resources/css/filament/admin/theme.css
@@ -121,24 +121,28 @@ input[type="radio"].fi-radio-input {
/*
Statistiko BOX Widgets
*/
+.box-blank {
+ @apply p-2 flex justify-center drop-shadow
+}
+
.box-info {
- @apply bg-info-50 dark:bg-info-500/20 border border-info-500/30 dark:border-info-900 drop-shadow-xl p-2 flex justify-center
+ @apply bg-info-50 dark:bg-info-500/20 border border-info-500/30 dark:border-info-900 p-2 flex justify-center
}
.box-success {
- @apply bg-success-50 dark:bg-success-500/20 border border-success-500/30 dark:border-success-900 drop-shadow-xl p-2 flex justify-center
+ @apply bg-success-50 dark:bg-success-500/20 border border-success-500/30 dark:border-success-900 p-2 flex justify-center
}
.box-purple {
- @apply bg-purple-50 dark:bg-purple-500/20 border border-purple-500/30 dark:border-purple-900 drop-shadow-xl p-2 flex justify-center
+ @apply bg-purple-50 dark:bg-purple-500/20 border border-purple-500/30 dark:border-purple-900 p-2 flex justify-center
}
.box-yellow {
- @apply bg-yellow-50 dark:bg-yellow-500/20 border border-yellow-500/30 dark:border-yellow-900 drop-shadow-xl p-2 flex justify-center
+ @apply bg-yellow-50 dark:bg-yellow-500/20 border border-yellow-500/30 dark:border-yellow-900 p-2 flex justify-center
}
.box-gray {
- @apply bg-gray-50 dark:bg-gray-500/20 border border-gray-500/30 dark:border-gray-900 drop-shadow-xl p-2 flex justify-center
+ @apply bg-gray-50 dark:bg-gray-500/20 border border-gray-500/30 dark:border-gray-900 p-2 flex justify-center
}
/*