From 6811ec8da7361500894fa688979bc976159c5b16 Mon Sep 17 00:00:00 2001 From: salam Date: Mon, 16 Feb 2026 11:21:43 +0100 Subject: [PATCH] wip --- app/Models/MultilineSetting.php | 5 ++++ resources/css/filament/admin/theme.css | 38 +++++++++++++++++++++++++- 2 files changed, 42 insertions(+), 1 deletion(-) diff --git a/app/Models/MultilineSetting.php b/app/Models/MultilineSetting.php index 8a3341a1..af0e8638 100644 --- a/app/Models/MultilineSetting.php +++ b/app/Models/MultilineSetting.php @@ -13,4 +13,9 @@ class MultilineSetting extends Model 'short', 'table', ]; + + public function sport() + { + return $this->belongsTo(Sport::class); + } } diff --git a/resources/css/filament/admin/theme.css b/resources/css/filament/admin/theme.css index 1e933f2b..94fb9468 100644 --- a/resources/css/filament/admin/theme.css +++ b/resources/css/filament/admin/theme.css @@ -91,10 +91,46 @@ button[wire\:click="resetTableFiltersForm"] { padding: 2px; } */ +/* +widget space to top menu +*/ +.fi-page-header-main-ctn { + padding-top: 1rem; +} +/* +widget space to filter +*/ +.fi-page-content { + row-gap: 1rem; +} + +/* + * top space inside filter conatiner + */ +.fi-ta-filters-above-content-ctn { + padding-top: 0; +} + +.fi-ta-filters-above-content-ctn { + @apply py-3 +} + +.fi-ta-header-toolbar { + @apply py-3 +} + +.fi-ta-cell { + @apply py-0.5 +} + +.fi-ta-cell>div { + @apply py-0.5 +} + +/** x for removing all filters (not working) */ #mapper_right .fi-ta-filter-indicators button, #mapper_left .fi-ta-filter-indicators button { - /** remove all filters not working */ display: none; }