chevron styling when active collapse
This commit is contained in:
parent
08604acdbb
commit
bb579acd8a
@ -50,7 +50,7 @@
|
||||
{{ $class->row_names[$table_key][$id] }}
|
||||
@if (array_sum($parent_row_values) != array_sum($class->row_values[$table_key][$id]))
|
||||
<button type="button" class="align-text-top flex" node="child-{{ $id }}" onClick="toggleSub('child-{{ $id }}', event)">
|
||||
<span class="material-icons transform transition-all text-lg leading-none">navigate_next</span>
|
||||
<span class="material-icons transform rotate-90 transition-all text-lg leading-none">expand_more</span>
|
||||
</button>
|
||||
@endif
|
||||
</td>
|
||||
|
@ -0,0 +1,9 @@
|
||||
@foreach($class->tables as $table_key => $table_name)
|
||||
@php $grand_total = array_sum($class->footer_totals[$table_key]); @endphp
|
||||
|
||||
<div class="w-full lg:w-6/12">
|
||||
@include($class->views['summary.table.header'])
|
||||
@include($class->views['summary.table.body'])
|
||||
@include($class->views['summary.table.footer'])
|
||||
</div>
|
||||
@endforeach
|
@ -52,7 +52,7 @@
|
||||
<span>{{ $class->row_names[$table_key][$id] }}</span>
|
||||
@if (array_sum($parent_row_values) != array_sum($class->row_values[$table_key][$id]))
|
||||
<button type="button" class="align-text-top flex" node="child-{{ $id }}" onClick="toggleSub('child-{{ $id }}', event)">
|
||||
<span class="material-icons transform transition-all text-lg leading-none">navigate_next</span>
|
||||
<span class="material-icons transform rotate-90 transition-all text-lg leading-none">navigate_next</span>
|
||||
</button>
|
||||
@endif
|
||||
</div>
|
||||
|
@ -81,7 +81,7 @@
|
||||
node="child-{{ $category->id }}"
|
||||
onClick="toggleSub('child-{{ $category->id }}', event)"
|
||||
>
|
||||
<span class="material-icons transform transition-all text-lg leading-none align-middle text-white">navigate_next</span>
|
||||
<span class="material-icons transform rotate-90 transition-all text-lg leading-none align-middle text-white">chevron_right</span>
|
||||
</button>
|
||||
</x-tooltip>
|
||||
</div>
|
||||
|
@ -18,7 +18,7 @@
|
||||
node="child-{{ $sub_category->id }}"
|
||||
onClick="toggleSub('child-{{ $sub_category->id }}', event)"
|
||||
>
|
||||
<span class="material-icons transform transition-all text-lg leading-none align-middle text-white">navigate_next</span>
|
||||
<span class="material-icons transform rotate-90 transition-all text-lg leading-none align-middle text-white">chevron_right</span>
|
||||
</button>
|
||||
</x-tooltip>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user