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.
This commit is contained in:
@@ -1,17 +1,41 @@
|
||||
{{--
|
||||
Tab Panel Component - TailAdmin style
|
||||
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="transition ease-out duration-200"
|
||||
x-transition:enter="tab-pane-lte"
|
||||
x-transition:enter-start="opacity-0"
|
||||
x-transition:enter-end="opacity-100"
|
||||
{{ $attributes->class(['focus:outline-none focus-visible:ring-3 focus-visible:ring-brand-500/20']) }}
|
||||
{{ $attributes->class(['tab-pane-lte']) }}
|
||||
>
|
||||
{{ $slot }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user