Files
Virtnet.bond/extensions/Servers/Proxmox/views/components/ui/tab-panel.blade.php
Joseph.Rawlings 760cf84451 Add AdminLTE-style CSS framework to app.css
- Introduced AdminLTE CSS variables for color palette, body colors, card styles, and button styles.
- Implemented card components with variants for primary, success, warning, danger, and info.
- Added button styles including sizes and outline variants.
- Created form controls, select inputs, and input groups with consistent styling.
- Included utility classes for text and background colors, gradients, and shadows.
- Developed components for badges, alerts, callouts, progress bars, tables, small boxes, and info boxes.
- Integrated modal, dropdown, spinner, tooltip, and direct chat styles.
- Established timeline and close button styles, with dark mode support for specific components.
2025-12-17 13:45:56 -05:00

42 lines
870 B
PHP

{{--
Tab Panel Component - AdminLTE style
--}}
@props([
'name',
])
<style>
.tab-pane-lte {
animation: fadeIn var(--lte-transition-speed, 0.3s) ease-out;
}
.tab-pane-lte:focus {
outline: none;
}
.tab-pane-lte:focus-visible {
outline: 2px solid rgba(13, 110, 253, 0.25);
outline-offset: 2px;
border-radius: var(--lte-border-radius, 0.375rem);
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-4px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
</style>
<div
x-show="activeTab === '{{ $name }}'"
x-transition:enter="tab-pane-lte"
x-transition:enter-start="opacity-0"
x-transition:enter-end="opacity-100"
{{ $attributes->class(['tab-pane-lte']) }}
>
{{ $slot }}
</div>