mobile button styling..

This commit is contained in:
Cüneyt Şentürk 2021-02-27 22:25:27 +03:00
parent 587dde8a3a
commit a85943632d
3 changed files with 22 additions and 9 deletions

13
public/css/custom.css vendored
View File

@ -655,6 +655,15 @@ table .align-items-center td span.badge {
margin-bottom: -1rem; margin-bottom: -1rem;
} }
#header .header-body .btn,
.save-buttons .btn {
width: 100%;
height: 40px;
font-size: 0.875rem;
padding: 0.425rem 1.25rem;
margin-top: 16px;
}
.header-button-top { .header-button-top {
width: 100%; width: 100%;
height: 40px; height: 40px;
@ -723,6 +732,10 @@ table .align-items-center td span.badge {
.save-buttons { .save-buttons {
float: none !important; float: none !important;
} }
input[type=hidden].form-control.datepicker.input {
display: none;
}
} }
/*--Xs Breakpoint Finish--*/ /*--Xs Breakpoint Finish--*/

View File

@ -31,7 +31,7 @@
@stack('timeline_create_body_button_edit_start') @stack('timeline_create_body_button_edit_start')
@if (!$hideButtonEdit) @if (!$hideButtonEdit)
@can($permissionUpdate) @can($permissionUpdate)
<a href="{{ route($routeButtonEdit, $document->id) }}" class="btn btn-primary btn-sm btn-alone"> <a href="{{ route($routeButtonEdit, $document->id) }}" class="btn btn-primary btn-sm btn-alone header-button-top">
{{ trans('general.edit') }} {{ trans('general.edit') }}
</a> </a>
@endcan @endcan
@ -74,11 +74,11 @@
@if (!$hideButtonSent) @if (!$hideButtonSent)
@can($permissionUpdate) @can($permissionUpdate)
@if($document->status == 'draft') @if($document->status == 'draft')
<a href="{{ route($routeButtonSent, $document->id) }}" class="btn btn-white btn-sm"> <a href="{{ route($routeButtonSent, $document->id) }}" class="btn btn-white btn-sm header-button-top">
{{ trans($textTimelineSentStatusMarkSent) }} {{ trans($textTimelineSentStatusMarkSent) }}
</a> </a>
@else @else
<button type="button" class="btn btn-secondary btn-sm" disabled="disabled"> <button type="button" class="btn btn-secondary btn-sm header-button-top" disabled="disabled">
{{ trans($textTimelineSentStatusMarkSent) }} {{ trans($textTimelineSentStatusMarkSent) }}
</button> </button>
@endif @endif
@ -90,11 +90,11 @@
@if (!$hideButtonReceived) @if (!$hideButtonReceived)
@can($permissionUpdate) @can($permissionUpdate)
@if ($document->status == 'draft') @if ($document->status == 'draft')
<a href="{{ route($routeButtonReceived, $document->id) }}" class="btn btn-danger btn-sm btn-alone"> <a href="{{ route($routeButtonReceived, $document->id) }}" class="btn btn-danger btn-sm btn-alone header-button-top">
{{ trans($textTimelineSentStatusReceived) }} {{ trans($textTimelineSentStatusReceived) }}
</a> </a>
@else @else
<button type="button" class="btn btn-secondary btn-sm" disabled="disabled"> <button type="button" class="btn btn-secondary btn-sm header-button-top" disabled="disabled">
{{ trans($textTimelineSentStatusReceived) }} {{ trans($textTimelineSentStatusReceived) }}
</button> </button>
@endif @endif
@ -125,12 +125,12 @@
@stack('timeline_sent_body_button_email_start') @stack('timeline_sent_body_button_email_start')
@if (!$hideButtonEmail) @if (!$hideButtonEmail)
@if($document->contact_email) @if($document->contact_email)
<a href="{{ route($routeButtonEmail, $document->id) }}" class="btn btn-danger btn-sm"> <a href="{{ route($routeButtonEmail, $document->id) }}" class="btn btn-danger btn-sm header-button-top">
{{ trans($textTimelineSendStatusMail) }} {{ trans($textTimelineSendStatusMail) }}
</a> </a>
@else @else
<el-tooltip content="{{ trans('invoices.messages.email_required') }}" placement="top"> <el-tooltip content="{{ trans('invoices.messages.email_required') }}" placement="top">
<button type="button" class="btn btn-danger btn-sm btn-tooltip disabled"> <button type="button" class="btn btn-danger btn-sm btn-tooltip disabled header-button-top">
{{ trans($textTimelineSendStatusMail) }} {{ trans($textTimelineSendStatusMail) }}
</button> </button>
</el-tooltip> </el-tooltip>
@ -141,7 +141,7 @@
@stack('timeline_sent_body_button_share_start') @stack('timeline_sent_body_button_share_start')
@if (!$hideButtonShare) @if (!$hideButtonShare)
@if ($document->status != 'cancelled') @if ($document->status != 'cancelled')
<a href="{{ $signedUrl }}" target="_blank" class="btn btn-white btn-sm"> <a href="{{ $signedUrl }}" target="_blank" class="btn btn-white btn-sm header-button-top">
{{ trans('general.share') }} {{ trans('general.share') }}
</a> </a>
@endif @endif

View File

@ -24,7 +24,7 @@
</div> </div>
<div class="col-sm-10 col-md-6 text-right"> <div class="col-sm-10 col-md-6 text-right">
<a href="{{ route('updates.run', ['alias' => 'core', 'version' => $core]) }}" class="btn btn-info btn-sm long-texts"> <a href="{{ route('updates.run', ['alias' => 'core', 'version' => $core]) }}" class="btn btn-info btn-sm long-texts header-button-bottom">
{{ trans('updates.update', ['version' => $core]) }} {{ trans('updates.update', ['version' => $core]) }}
</a> </a>