styling
This commit is contained in:
parent
c8a5cc1cb1
commit
bbc7440c37
@ -36,10 +36,10 @@
|
|||||||
<div class="flex justify-between sm:col-span-3 p-1 group">
|
<div class="flex justify-between sm:col-span-3 p-1 group">
|
||||||
<div class="lg:w-80">
|
<div class="lg:w-80">
|
||||||
<a href="{{ route('reports.show', $report->id) }}" class="flex">
|
<a href="{{ route('reports.show', $report->id) }}" class="flex">
|
||||||
<span class="material-icons-outlined text-5xl transform transition-all hover:scale-125">
|
<span class="material-icons-outlined text-5xl transform transition-all hover:scale-125 text-black-400">
|
||||||
{{ $icons[$report->id] }}
|
{{ $icons[$report->id] }}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<div class="ltr:ml-2 rtl:mr-2">
|
<div class="ltr:ml-2 rtl:mr-2">
|
||||||
<h2 class="mb-1">
|
<h2 class="mb-1">
|
||||||
<span class="border-b border-transparent transition-all group-hover:border-black">
|
<span class="border-b border-transparent transition-all group-hover:border-black">
|
||||||
@ -58,7 +58,7 @@
|
|||||||
@canany(['create-common-reports', 'update-common-reports', 'delete-common-reports'])
|
@canany(['create-common-reports', 'update-common-reports', 'delete-common-reports'])
|
||||||
<x-dropdown id="widget-{{ $category_id }}-{{ $report->id }}">
|
<x-dropdown id="widget-{{ $category_id }}-{{ $report->id }}">
|
||||||
<x-slot name="trigger" class="flex" override="class">
|
<x-slot name="trigger" class="flex" override="class">
|
||||||
<span class="material-icons-outlined text-purple text-lg px-1 py-0.5 cursor-pointer hover:bg-gray-100 hover:rounded-lg hover:shadow-md">more_vert</span>
|
<span class="material-icons-outlined text-lg px-1 py-0.5 cursor-pointer hover:bg-gray-100 hover:rounded-lg hover:shadow-md">more_vert</span>
|
||||||
</x-slot>
|
</x-slot>
|
||||||
|
|
||||||
@can('update-common-reports')
|
@can('update-common-reports')
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<span
|
<span
|
||||||
id="{{ $pinned ? 'reports-unpin-' . $reportId : 'reports-pin-' . $reportId }}"
|
id="{{ $pinned ? 'reports-unpin-' . $reportId : 'reports-pin-' . $reportId }}"
|
||||||
@class([
|
@class([
|
||||||
'text-purple text-lg transform rotate-45 cursor-pointer mx-2',
|
'text-black-400 text-lg transform rotate-45 cursor-pointer mx-2',
|
||||||
'material-icons-outlined' => ($pinned) ? false : true,
|
'material-icons-outlined' => ($pinned) ? false : true,
|
||||||
'material-icons' => (! $pinned) ? false : true,
|
'material-icons' => (! $pinned) ? false : true,
|
||||||
])
|
])
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
'border-r border-gray-300' => ($loop->count == 6 && $loop->last) ? false : true,
|
'border-r border-gray-300' => ($loop->count == 6 && $loop->last) ? false : true,
|
||||||
])
|
])
|
||||||
>
|
>
|
||||||
<span class="material-icons-outlined text-4xl transition-all">{{ $icons[$report->id] }}</span>
|
<span class="material-icons-outlined text-4xl transition-all text-black-400">{{ $icons[$report->id] }}</span>
|
||||||
<div class="h-10 font-medium text-sm mt-2">
|
<div class="h-10 font-medium text-sm mt-2">
|
||||||
<span class="border-b border-transparent transition-all group-hover:border-black">
|
<span class="border-b border-transparent transition-all group-hover:border-black">
|
||||||
{{ $report->name }}
|
{{ $report->name }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user