Andrew Wallo před 5 měsíci
rodič
revize
efeacfb857

+ 4
- 8
resources/css/filament/company/form-fields.css Zobrazit soubor

@@ -43,20 +43,16 @@
43 43
 
44 44
 /* Table Repeater Styles */
45 45
 :not(.is-spreadsheet) {
46
-    .table-repeater-container {
47
-        @apply border border-gray-300 dark:border-gray-600 rounded-sm;
48
-    }
49
-
50 46
     .table-repeater-row {
51
-        @apply hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors;
47
+        @apply hover:bg-gray-50 dark:hover:bg-white/5 transition-colors;
52 48
     }
53 49
 
54 50
     .table-repeater-column {
55
-        @apply p-3 text-sm text-gray-900 dark:text-gray-100;
51
+        @apply p-3;
56 52
     }
57 53
 
58 54
     .table-repeater-header {
59
-        @apply bg-gray-50 dark:bg-gray-700/50 border-b border-gray-300 dark:border-gray-600;
55
+        @apply bg-gray-50 dark:bg-white/5 border-b border-gray-200 dark:border-white/5;
60 56
     }
61 57
 
62 58
     .table-repeater-row {
@@ -68,7 +64,7 @@
68 64
     }
69 65
 
70 66
     .table-repeater-header-column {
71
-        @apply p-3 font-semibold bg-gray-50 dark:bg-gray-700/50;
67
+        @apply p-3 text-sm font-semibold text-gray-950 dark:text-white bg-gray-50 dark:bg-white/5;
72 68
     }
73 69
 
74 70
     /* Chrome, Safari, Edge, Opera */

+ 5
- 5
resources/views/filament/forms/components/custom-table-repeater.blade.php Zobrazit soubor

@@ -66,16 +66,16 @@
66 66
         ]) }}
67 67
     >
68 68
         @if (count($containers) || $emptyLabel !== false)
69
-            <div class="table-repeater-container rounded-xl relative ring-1 ring-gray-950/5 dark:ring-white/20">
69
+            <div class="table-repeater-container rounded-sm relative ring-1 ring-gray-950/5 dark:ring-white/20">
70 70
                 <table class="w-full">
71 71
                     <thead @class([
72 72
                         'table-repeater-header-hidden sr-only' => ! $renderHeader,
73
-                        'table-repeater-header rounded-t-xl overflow-hidden border-b border-gray-950/5 dark:border-white/20' => $renderHeader,
73
+                        'table-repeater-header overflow-hidden border-b border-gray-950/5 dark:border-white/20' => $renderHeader,
74 74
                     ])>
75 75
                     <tr class="text-xs md:divide-x rtl:divide-x-reverse md:divide-gray-950/5 dark:md:divide-white/20">
76 76
                         {{-- Move actions column to start if reorderAtStart is true --}}
77 77
                         @if ($hasActions && count($containers) && $reorderAtStart)
78
-                            <th class="table-repeater-header-column w-px first:rounded-tl-xl rtl:first:rounded-tr-xl rtl:first:rounded-tl-none p-2 bg-gray-100 dark:bg-gray-900/60">
78
+                            <th class="table-repeater-header-column w-px first:rounded-tl-sm rtl:first:rounded-tr-sm rtl:first:rounded-tl-none p-2 bg-gray-100 dark:bg-gray-900/60">
79 79
                                 <span class="sr-only">
80 80
                                     {{ trans('table-repeater::components.repeater.row_actions.label') }}
81 81
                                 </span>
@@ -85,7 +85,7 @@
85 85
                         @foreach ($headers as $key => $header)
86 86
                             <th
87 87
                                 @class([
88
-                                    'table-repeater-header-column p-2 font-medium first:rounded-tl-xl rtl:first:rounded-tr-xl rtl:first:rounded-tl-none last:rounded-tr-xl bg-gray-100 dark:text-gray-300 dark:bg-gray-900/60',
88
+                                    'table-repeater-header-column p-2 font-medium first:rounded-tl-sm rtl:first:rounded-tr-sm rtl:first:rounded-tl-none last:rounded-tr-sm bg-gray-100 dark:text-gray-300 dark:bg-gray-900/60',
89 89
                                     match($header->getAlignment()) {
90 90
                                       'center', Alignment::Center => 'text-center',
91 91
                                       'right', 'end', Alignment::Right, Alignment::End => 'text-end',
@@ -104,7 +104,7 @@
104 104
                         @endforeach
105 105
 
106 106
                         @if ($hasActions && count($containers))
107
-                            <th class="table-repeater-header-column w-px last:rounded-tr-xl rtl:last:rounded-tr-none rtl:last:rounded-tl-xl p-2 bg-gray-100 dark:bg-gray-900/60">
107
+                            <th class="table-repeater-header-column w-px last:rounded-tr-sm rtl:last:rounded-tr-none rtl:last:rounded-tl-sm p-2 bg-gray-100 dark:bg-gray-900/60">
108 108
                                 <span class="sr-only">
109 109
                                     {{ trans('table-repeater::components.repeater.row_actions.label') }}
110 110
                                 </span>

Načítá se…
Zrušit
Uložit