rtl controlled
This commit is contained in:
@ -195,12 +195,12 @@
|
||||
<div class="row">
|
||||
<div class="col-100">
|
||||
<div class="text extra-spacing">
|
||||
<table class="lines">
|
||||
<table class="lines lines-radius-border">
|
||||
<thead style="background-color:{{ $backgroundColor }} !important; -webkit-print-color-adjust: exact;">
|
||||
<tr>
|
||||
@stack('name_th_start')
|
||||
@if (! $hideItems || (! $hideName && ! $hideDescription))
|
||||
<td class="item text font-semibold text-alignment-left text-left text-white border-radius-first">
|
||||
<td class="item text font-semibold text-alignment-left text-left text-white">
|
||||
<span>
|
||||
{{ (trans_choice($textItems, 2) != $textItems) ? trans_choice($textItems, 2) : trans($textItems) }}
|
||||
</span>
|
||||
@ -242,7 +242,7 @@
|
||||
|
||||
@stack('total_th_start')
|
||||
@if (! $hideAmount)
|
||||
<td class="total text font-semibold text-white text-alignment-right text-right border-radius-last">
|
||||
<td class="total text font-semibold text-white text-alignment-right text-right">
|
||||
<span>
|
||||
{{ trans($textAmount) }}
|
||||
</span>
|
||||
|
@ -206,12 +206,12 @@
|
||||
<div class="row">
|
||||
<div class="col-100">
|
||||
<div class="text extra-spacing">
|
||||
<table class="lines modern-lines">
|
||||
<table class="lines modern-lines lines-radius-border">
|
||||
<thead style="background-color:{{ $backgroundColor }} !important; -webkit-print-color-adjust: exact;">
|
||||
<tr>
|
||||
@stack('name_th_start')
|
||||
@if (! $hideItems || (! $hideName && ! $hideDescription))
|
||||
<td class="item text font-semibold text-alignment-left text-left text-white border-radius-first">
|
||||
<td class="item text font-semibold text-alignment-left text-left text-white">
|
||||
{{ (trans_choice($textItems, 2) != $textItems) ? trans_choice($textItems, 2) : trans($textItems) }}
|
||||
</td>
|
||||
@endif
|
||||
@ -245,7 +245,7 @@
|
||||
|
||||
@stack('total_th_start')
|
||||
@if (! $hideAmount)
|
||||
<td class="total text font-semibold text-white text-alignment-right text-right border-radius-last">
|
||||
<td class="total text font-semibold text-white text-alignment-right text-right">
|
||||
{{ trans($textAmount) }}
|
||||
</td>
|
||||
@endif
|
||||
|
@ -11,24 +11,24 @@
|
||||
|
||||
<div class="flex items-center mt-1">
|
||||
@if (empty($attributes['disabled']))
|
||||
<label class="relative w-10 rounded-tl-lg rounded-bl-lg py-2 px-1 text-sm text-center transition-all cursor-pointer" @click="form.{{ $name }}=1" v-bind:class="[form.{{ $name }} == 1 ? ['bg-green-500','text-white'] : 'bg-black-100']">
|
||||
<label class="relative w-10 ltr:rounded-tl-lg ltr:rounded-bl-lg rtl:rounded-tr-lg rtl:rounded-br-lg py-2 px-1 text-sm text-center transition-all cursor-pointer" @click="form.{{ $name }}=1" v-bind:class="[form.{{ $name }} == 1 ? ['bg-green-500','text-white'] : 'bg-black-100']">
|
||||
{{ empty($enable) ? trans('general.yes') : $enable }}
|
||||
<input type="radio" name="{{ $name }}" id="{{ $name }}-1" class="absolute left-0 opacity-0">
|
||||
</label>
|
||||
@else
|
||||
<label class="relative w-10 rounded-tl-lg rounded-bl-lg py-2 px-1 text-sm text-center transition-all cursor-not-allowed{{ ($value) ? ' bg-green-500 text-white opacity-20 disabled' : ' disabled' }}">
|
||||
<label class="relative w-10 ltr:rounded-tl-lg ltr:rounded-bl-lg rtl:rounded-tr-lg rtl:rounded-br-lg py-2 px-1 text-sm text-center transition-all cursor-not-allowed{{ ($value) ? ' bg-green-500 text-white opacity-20 disabled' : ' disabled' }}">
|
||||
{{ empty($enable) ? trans('general.yes') : $enable }}
|
||||
<input type="radio" name="{{ $name }}" id="{{ $name }}-1" class="absolute left-0 opacity-0" disabled>
|
||||
</label>
|
||||
@endif
|
||||
|
||||
@if (empty($attributes['disabled']))
|
||||
<label class="relative w-10 rounded-tr-lg rounded-br-lg py-2 px-1 text-sm text-center transition-all cursor-pointer" @click="form.{{ $name }}=0" v-bind:class="[form.{{ $name }} == 0 ? ['bg-red-500','text-white'] : 'bg-black-100']">
|
||||
<label class="relative w-10 ltr:rounded-tr-lg ltr:rounded-br-lg rtl:rounded-tl-lg rtl:rounded-bl-lg py-2 px-1 text-sm text-center transition-all cursor-pointer" @click="form.{{ $name }}=0" v-bind:class="[form.{{ $name }} == 0 ? ['bg-red-500','text-white'] : 'bg-black-100']">
|
||||
{{ empty($disable) ? trans('general.no') : $disable }}
|
||||
<input type="radio" name="{{ $name }}" id="{{ $name }}-0" class="absolute left-0 opacity-0">
|
||||
</label>
|
||||
@else
|
||||
<label class="relative w-10 rounded-tr-lg rounded-br-lg py-2 px-1 text-sm text-center transition-all cursor-not-allowed{{ ($value) ? ' disabled' : 'bg-red-500 text-white opacity-20 disabled disabled' }}">
|
||||
<label class="relative w-10 ltr:rounded-tr-lg ltr:rounded-br-lg rtl:rounded-tl-lg rtl:rounded-bl-lg py-2 px-1 text-sm text-center transition-all cursor-not-allowed{{ ($value) ? ' disabled' : 'bg-red-500 text-white opacity-20 disabled disabled' }}">
|
||||
{{ empty($disable) ? trans('general.no') : $disable }}
|
||||
<input type="radio" name="{{ $name }}" id="{{ $name }}-0" class="absolute left-0 opacity-0" disabled>
|
||||
</label>
|
||||
|
Reference in New Issue
Block a user