Files
Virtnet.bond/extensions/Servers/Proxmox/views/components/ui/table-row.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

56 lines
1.1 KiB
PHP

{{--
Table Row Component - AdminLTE style
--}}
@props([
'clickable' => false,
'href' => null,
'hoverable' => null,
])
@php
$isHoverable = $hoverable ?? true;
@endphp
<style>
.table-row-lte {
transition: background-color var(--lte-transition-speed, 0.3s) ease;
border-bottom: 1px solid var(--lte-border-color, #dee2e6);
}
.table-row-lte:last-child {
border-bottom: none;
}
.table-row-lte-clickable {
cursor: pointer;
}
.table-row-lte-clickable:hover {
background-color: rgba(13, 110, 253, 0.04);
}
.dark .table-row-lte {
border-bottom-color: #374151;
}
.dark .table-row-lte-clickable:hover {
background-color: rgba(13, 110, 253, 0.08);
}
</style>
@if($href)
<tr
{{ $attributes->class([
'table-row-lte table-row-lte-clickable',
]) }}
onclick="window.location='{{ $href }}'"
>
{{ $slot }}
</tr>
@else
<tr
{{ $attributes->class([
'table-row-lte',
'table-row-lte-clickable' => $clickable,
]) }}
>
{{ $slot }}
</tr>
@endif