diff --git a/extensions/Servers/Proxmox/views/components/ui/action-button.blade.php b/extensions/Servers/Proxmox/views/components/ui/action-button.blade.php index afc2ded7c..19442655e 100644 --- a/extensions/Servers/Proxmox/views/components/ui/action-button.blade.php +++ b/extensions/Servers/Proxmox/views/components/ui/action-button.blade.php @@ -1,5 +1,5 @@ {{-- - Action Toolbar Button Component - shadcn-style + Action Toolbar Button Component - TailAdmin style Individual button for VM control actions Usage: @@ -24,23 +24,23 @@ @php $variants = [ - 'default' => 'border bg-background hover:bg-accent hover:text-accent-foreground', - 'primary' => 'border border-primary/20 bg-primary/10 text-primary hover:bg-primary/20', - 'success' => 'border border-success/20 bg-success/10 text-success hover:bg-success/20', - 'warning' => 'border border-warning/20 bg-warning/10 text-warning hover:bg-warning/20', - 'danger' => 'border border-danger/20 bg-danger/10 text-danger hover:bg-danger/20', + 'default' => 'border border-gray-300 bg-white text-gray-700 shadow-theme-xs hover:bg-gray-50 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-300 dark:hover:bg-gray-700', + 'primary' => 'border border-brand-200 bg-brand-50 text-brand-600 hover:bg-brand-100 dark:border-brand-800 dark:bg-brand-500/10 dark:text-brand-400 dark:hover:bg-brand-500/20', + 'success' => 'border border-success-200 bg-success-50 text-success-600 hover:bg-success-100 dark:border-success-800 dark:bg-success-500/10 dark:text-success-400 dark:hover:bg-success-500/20', + 'warning' => 'border border-warning-200 bg-warning-50 text-warning-600 hover:bg-warning-100 dark:border-warning-800 dark:bg-warning-500/10 dark:text-warning-400 dark:hover:bg-warning-500/20', + 'danger' => 'border border-error-200 bg-error-50 text-error-600 hover:bg-error-100 dark:border-error-800 dark:bg-error-500/10 dark:text-error-400 dark:hover:bg-error-500/20', ]; $sizes = [ - 'sm' => 'h-8 px-3 text-xs', - 'md' => 'h-9 px-4 text-sm', - 'lg' => 'h-10 px-5 text-sm', + 'sm' => 'h-9 px-3 text-theme-xs', + 'md' => 'h-10 px-4 text-theme-sm', + 'lg' => 'h-11 px-5 text-theme-sm', ]; $iconSizes = [ 'sm' => 'size-3.5', 'md' => 'size-4', - 'lg' => 'size-4', + 'lg' => 'size-4.5', ]; @endphp @@ -53,7 +53,7 @@ {{ $attributes->merge([ 'disabled' => $disabled || $loading, ])->class([ - 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md font-medium ring-offset-background transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2', + 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg font-medium transition-colors duration-150 focus:outline-none focus-visible:ring-3 focus-visible:ring-brand-500/20', $variants[$variant] ?? $variants['default'], $sizes[$size] ?? $sizes['md'], 'pointer-events-none opacity-50' => $disabled, diff --git a/extensions/Servers/Proxmox/views/components/ui/action-toolbar.blade.php b/extensions/Servers/Proxmox/views/components/ui/action-toolbar.blade.php index 7df0c5994..db12d0d99 100644 --- a/extensions/Servers/Proxmox/views/components/ui/action-toolbar.blade.php +++ b/extensions/Servers/Proxmox/views/components/ui/action-toolbar.blade.php @@ -1,5 +1,5 @@ {{-- - Action Toolbar Component - shadcn-inspired + Action Toolbar Component - TailAdmin style For VM control buttons (Start, Stop, Restart, etc.) Usage: @@ -17,7 +17,7 @@ ])
{{ $label }}
-{{ $usageSummary }}
-{{ $entitlementLabel }}
+{{ $label }}
+{{ $usageSummary }}
+{{ $entitlementLabel }}
{{ $description }}
@endif{{ $message }}
+{{ $message }}
-