refactor: update UI components to shadcn-style
- Refactored select component to align with shadcn design principles. - Updated server status indicator component for consistency with shadcn style. - Modified spinner component to follow shadcn design guidelines. - Enhanced stat card component with shadcn-inspired styles. - Adjusted tab panel component to reflect shadcn design updates. - Revamped table row and table data cell components to match shadcn aesthetics. - Updated table header cell component for improved styling consistency. - Refined table component to align with shadcn design principles. - Enhanced tabs component with shadcn-inspired styles. - Updated toggle component to follow shadcn design guidelines. - Refactored tooltip component to align with shadcn design principles. - Updated server card component to reflect shadcn-inspired design.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{{--
|
||||
Table Row Component - TailServer Theme
|
||||
Table Row Component - shadcn-style
|
||||
--}}
|
||||
|
||||
@props([
|
||||
@@ -16,8 +16,9 @@
|
||||
@if($href)
|
||||
<tr
|
||||
{{ $attributes->class([
|
||||
'border-b border-neutral/10 cursor-pointer transition-colors duration-150',
|
||||
'hover:bg-primary/5' => $isHoverable,
|
||||
'border-b transition-colors cursor-pointer',
|
||||
'hover:bg-muted/50' => $isHoverable,
|
||||
'data-[state=selected]:bg-muted',
|
||||
]) }}
|
||||
onclick="window.location='{{ $href }}'"
|
||||
>
|
||||
@@ -26,9 +27,10 @@
|
||||
@else
|
||||
<tr
|
||||
{{ $attributes->class([
|
||||
'border-b border-neutral/10 transition-colors duration-150',
|
||||
'hover:bg-neutral/5' => $isHoverable,
|
||||
'cursor-pointer hover:bg-primary/5' => $clickable,
|
||||
'border-b transition-colors',
|
||||
'hover:bg-muted/50' => $isHoverable,
|
||||
'cursor-pointer' => $clickable,
|
||||
'data-[state=selected]:bg-muted',
|
||||
]) }}
|
||||
>
|
||||
{{ $slot }}
|
||||
|
||||
Reference in New Issue
Block a user