Skip to content

Commit

Permalink
mobile button styling..
Browse files Browse the repository at this point in the history
  • Loading branch information
cuneytsenturk committed Feb 27, 2021
1 parent 587dde8 commit a859436
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 9 deletions.
13 changes: 13 additions & 0 deletions public/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,15 @@ table .align-items-center td span.badge {
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 {
width: 100%;
height: 40px;
Expand Down Expand Up @@ -723,6 +732,10 @@ table .align-items-center td span.badge {
.save-buttons {
float: none !important;
}

input[type=hidden].form-control.datepicker.input {
display: none;
}
}
/*--Xs Breakpoint Finish--*/

Expand Down
16 changes: 8 additions & 8 deletions resources/views/components/documents/show/timeline.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
@stack('timeline_create_body_button_edit_start')
@if (!$hideButtonEdit)
@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') }}
</a>
@endcan
Expand Down Expand Up @@ -74,11 +74,11 @@
@if (!$hideButtonSent)
@can($permissionUpdate)
@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) }}
</a>
@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) }}
</button>
@endif
Expand All @@ -90,11 +90,11 @@
@if (!$hideButtonReceived)
@can($permissionUpdate)
@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) }}
</a>
@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) }}
</button>
@endif
Expand Down Expand Up @@ -125,12 +125,12 @@
@stack('timeline_sent_body_button_email_start')
@if (!$hideButtonEmail)
@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) }}
</a>
@else
<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) }}
</button>
</el-tooltip>
Expand All @@ -141,7 +141,7 @@
@stack('timeline_sent_body_button_share_start')
@if (!$hideButtonShare)
@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') }}
</a>
@endif
Expand Down
2 changes: 1 addition & 1 deletion resources/views/install/updates/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</div>

<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]) }}
</a>

Expand Down

0 comments on commit a859436

Please sign in to comment.