From 390e8e14e780a40dabd73229d6e9857574612913 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Wed, 11 Jun 2025 18:04:53 +0200 Subject: [PATCH] --wip-- [skip ci] --- resources/css/table.css | 15 +++------- resources/js/components/ui/ActionButton.vue | 30 ++++++-------------- resources/js/components/ui/Sprite.vue | 3 +- resources/js/components/ui/Tabs.vue | 31 +++++++++++---------- 4 files changed, 30 insertions(+), 49 deletions(-) diff --git a/resources/css/table.css b/resources/css/table.css index 518bb1bd..9c62e2a4 100644 --- a/resources/css/table.css +++ b/resources/css/table.css @@ -1,10 +1,10 @@ .custom-table { width: 100%; - & > thead > th { + & > thead > th, & > thead > tr > th { @apply text-left px-6 text-gray-200 font-semibold py-3 border-gray-600 border-b; } - & > tr { + & > tr, & > tbody > tr { @apply text-gray-200 transition-all duration-300 rounded hover:bg-gray-800; & > td { @apply py-1 px-6; @@ -12,10 +12,10 @@ } &.custom-table-sm { - & > thead > th { + & > thead > th, & > thead > tr > th { @apply px-3 py-2; } - & > tr { + & > tr, & > tbody > tr { & > td { @apply py-1 px-3; } @@ -32,11 +32,4 @@ } } } - -} -.custom-table > * { - display: table-row; -} -.custom-table > * > * { - display: table-cell; } diff --git a/resources/js/components/ui/ActionButton.vue b/resources/js/components/ui/ActionButton.vue index f36695d3..5e6e0b99 100644 --- a/resources/js/components/ui/ActionButton.vue +++ b/resources/js/components/ui/ActionButton.vue @@ -1,28 +1,14 @@ - diff --git a/resources/js/components/ui/Sprite.vue b/resources/js/components/ui/Sprite.vue index 0ddccd81..f18d47bf 100644 --- a/resources/js/components/ui/Sprite.vue +++ b/resources/js/components/ui/Sprite.vue @@ -2,6 +2,5 @@ - diff --git a/resources/js/components/ui/Tabs.vue b/resources/js/components/ui/Tabs.vue index ed696c37..e44cf94a 100644 --- a/resources/js/components/ui/Tabs.vue +++ b/resources/js/components/ui/Tabs.vue @@ -2,22 +2,25 @@
+ :class="index === modelValue ? `group-[.is-popup]:bg-zinc-600` : ''" @click.prevent="openMenu(index)" + v-text="item.title" + />
-