cash flow responsive
This commit is contained in:
parent
e8693a3c92
commit
e522de171b
29
public/css/app.css
vendored
29
public/css/app.css
vendored
@ -47162,6 +47162,18 @@ html[dir='rtl'] .el-scrollbar__wrap {
|
||||
.el-range-editor.el-input__inner {
|
||||
width: 100%;
|
||||
}
|
||||
/* apex-chart cash-flow */
|
||||
.apex-chart-cash-flow .apexcharts-legend {
|
||||
width: 24rem !important;
|
||||
-ms-flex-pack: distribute !important;
|
||||
justify-content: space-around !important;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.apex-chart-cash-flow .apexcharts-toolbar {
|
||||
top: 45px !important;
|
||||
}
|
||||
/* apex-chart cash-flow */
|
||||
}
|
||||
/* element-ui */
|
||||
|
||||
@ -49918,6 +49930,14 @@ body{
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.lg\:relative{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.lg\:right-0{
|
||||
right: 0px;
|
||||
}
|
||||
|
||||
.lg\:right-24{
|
||||
right: 6rem;
|
||||
}
|
||||
@ -49948,6 +49968,10 @@ body{
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.lg\:mt-11{
|
||||
margin-top: 2.75rem;
|
||||
}
|
||||
|
||||
.lg\:mt-60{
|
||||
margin-top: 15rem;
|
||||
}
|
||||
@ -50158,6 +50182,11 @@ body{
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.lg\:justify-around{
|
||||
-ms-flex-pack: distribute;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.lg\:gap-16{
|
||||
gap: 4rem;
|
||||
}
|
||||
|
11
resources/assets/sass/app.css
vendored
11
resources/assets/sass/app.css
vendored
@ -459,6 +459,17 @@ html[dir='rtl'] .el-scrollbar__wrap {
|
||||
.el-range-editor.el-input__inner {
|
||||
width: 100%;
|
||||
}
|
||||
/* apex-chart cash-flow */
|
||||
.apex-chart-cash-flow .apexcharts-legend {
|
||||
width: 24rem !important;
|
||||
justify-content: space-around !important;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.apex-chart-cash-flow .apexcharts-toolbar {
|
||||
top: 45px !important;
|
||||
}
|
||||
/* apex-chart cash-flow */
|
||||
}
|
||||
/* element-ui */
|
||||
|
||||
|
@ -1,48 +1,48 @@
|
||||
<div id="widget-{{ $class->model->id }}" class="w-full my-8 px-12">
|
||||
@include($class->views['header'], ['header_class' => ''])
|
||||
|
||||
<div class="flex flex-col lg:flex-row mt-3">
|
||||
<div class="w-full lg:w-11/12">
|
||||
<div class="flex flex-col-reverse lg:flex-row mt-3">
|
||||
<div class="w-full lg:w-11/12 apex-chart-cash-flow">
|
||||
{!! $chart->container() !!}
|
||||
</div>
|
||||
|
||||
<div class="w-full lg:w-1/12 mt-11 space-y-2">
|
||||
<div class="flex flex-col items-center justify-between text-center">
|
||||
<div class="w-96 lg:w-1/12 flex flex-row lg:flex-col items-center justify-around sm:justify-start lg:mt-11 space-y-0 sm:space-y-2">
|
||||
<div class="relative flex flex-col items-center sm:justify-between text-center">
|
||||
<div class="flex justify-end lg:block text-lg">
|
||||
<x-tooltip id="tooltip-cashflow-incoming" placement="top" message="{{ $totals['incoming_exact'] }}">
|
||||
{{ $totals['incoming_for_humans'] }}
|
||||
</x-tooltip>
|
||||
</div>
|
||||
|
||||
<span class="text-green text-xs">
|
||||
<span class="text-green text-xs hidden lg:block">
|
||||
{{ trans('general.incoming') }}
|
||||
</span>
|
||||
|
||||
<span class="material-icons mt-2">remove</span>
|
||||
<span class="absolute lg:relative material-icons mt-2 -right-12 lg:right-0">remove</span>
|
||||
</div>
|
||||
|
||||
<div class="flex flex-col items-center justify-between">
|
||||
<div class="relative flex flex-col items-center sm:justify-between">
|
||||
<div class="flex justify-end lg:block text-lg">
|
||||
<x-tooltip id="tooltip-cashflow-outgoing" placement="top" message="{{ $totals['outgoing_exact'] }}">
|
||||
{{ $totals['outgoing_for_humans'] }}
|
||||
</x-tooltip>
|
||||
</div>
|
||||
|
||||
<span class="text-rose text-xs">
|
||||
<span class="text-rose text-xs hidden lg:block">
|
||||
{{ trans('general.outgoing') }}
|
||||
</span>
|
||||
|
||||
<span class="material-icons mt-2">drag_handle</span>
|
||||
<span class="absolute lg:relative material-icons mt-2 -right-12 lg:right-0">drag_handle</span>
|
||||
</div>
|
||||
|
||||
<div class="flex flex-col items-center justify-between">
|
||||
<div class="relative flex flex-col items-center sm:justify-between">
|
||||
<div class="flex justify-end lg:block text-lg">
|
||||
<x-tooltip id="tooltip-cashflow-profit" placement="top" message="{{ $totals['profit_exact'] }}">
|
||||
{{ $totals['profit_for_humans'] }}
|
||||
</x-tooltip>
|
||||
</div>
|
||||
|
||||
<span class="text-purple text-xs">{{ trans_choice('general.profits', 1) }}</span>
|
||||
<span class="text-purple text-xs hidden lg:block">{{ trans_choice('general.profits', 1) }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -5,5 +5,9 @@ lg:my-12
|
||||
lg:mt-4
|
||||
lg:pl-6
|
||||
lg:w-9
|
||||
lg:mt-11
|
||||
lg:relative
|
||||
lg:right-0
|
||||
lg:justify-around
|
||||
ltr:-right-1.5
|
||||
rtl:-left-1.5
|
Loading…
x
Reference in New Issue
Block a user