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 @@
|
||||
{{--
|
||||
Copy Button Component - TailServer Theme
|
||||
Copy Button Component - shadcn-style
|
||||
Small inline button to copy text to clipboard
|
||||
|
||||
Usage:
|
||||
@@ -17,7 +17,7 @@
|
||||
copyToClipboard() {
|
||||
navigator.clipboard.writeText(this.copyText);
|
||||
this.copied = true;
|
||||
setTimeout(() => this.copied = false, 3000);
|
||||
setTimeout(() => this.copied = false, 2000);
|
||||
}
|
||||
}"
|
||||
class="inline-flex items-center"
|
||||
@@ -26,7 +26,7 @@
|
||||
<button
|
||||
@click="copyToClipboard()"
|
||||
type="button"
|
||||
class="text-base/50 hover:text-base/70 transition-colors relative inline-flex items-center justify-center size-4"
|
||||
class="text-muted-foreground hover:text-foreground transition-colors duration-150 relative inline-flex items-center justify-center size-4"
|
||||
title="Copy to clipboard"
|
||||
>
|
||||
<x-ri-check-fill x-show="copied" x-transition x-cloak class="absolute size-4 text-success" />
|
||||
|
||||
Reference in New Issue
Block a user