Skip to content

Commit

Permalink
styling new button
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdulici committed Apr 24, 2018
1 parent 483ffa3 commit 754a15c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions public/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -569,4 +569,8 @@ input::-webkit-inner-spin-button {
/* display: none; <- Crashes Chrome on hover */
-webkit-appearance: none;
margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

.btn-icon {
height: 34px;
}
2 changes: 1 addition & 1 deletion resources/views/expenses/bills/create.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div class="input-group-addon"><i class="fa fa-user"></i></div>
{!! Form::select('vendor_id', $vendors, null, array_merge(['id' => 'vendor_id', 'class' => 'form-control', 'placeholder' => trans('general.form.select.field', ['field' => trans_choice('general.vendors', 1)])])) !!}
<span class="input-group-btn">
<button type="button" onclick="createVendor();" class="btn btn-primary">{{ trans('general.add_new') }}</button>
<button type="button" onclick="createVendor();" class="btn btn-default btn-icon"><i class="fa fa-plus"></i></button>
</span>
</div>
{!! $errors->first('vendor_id', '<p class="help-block">:message</p>') !!}
Expand Down
2 changes: 1 addition & 1 deletion resources/views/expenses/payments/create.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<div class="input-group-addon"><i class="fa fa-user"></i></div>
{!! Form::select('vendor_id', $vendors, null, array_merge(['id' => 'vendor_id', 'class' => 'form-control', 'placeholder' => trans('general.form.select.field', ['field' => trans_choice('general.vendors', 1)])])) !!}
<span class="input-group-btn">
<button type="button" onclick="createVendor();" class="btn btn-primary">{{ trans('general.add_new') }}</button>
<button type="button" onclick="createVendor();" class="btn btn-default btn-icon"><i class="fa fa-plus"></i></button>
</span>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions resources/views/incomes/invoices/create.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
<div class="input-group">
<div class="input-group-addon"><i class="fa fa-user"></i></div>
{!! Form::select('customer_id', $customers, null, array_merge(['class' => 'form-control', 'placeholder' => trans('general.form.select.field', ['field' => trans_choice('general.customers', 1)])])) !!}
<span class="input-group-btn">
<button type="button" onclick="createCustomer();" class="btn btn-primary">{{ trans('general.add_new') }}</button>
</span>
<div class="input-group-btn">
<button type="button" onclick="createCustomer();" class="btn btn-default btn-icon"><i class="fa fa-plus"></i></button>
</div>
</div>
{!! $errors->first('customer_id', '<p class="help-block">:message</p>') !!}
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/incomes/revenues/create.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<div class="input-group-addon"><i class="fa fa-user"></i></div>
{!! Form::select('customer_id', $customers, null, array_merge(['class' => 'form-control', 'placeholder' => trans('general.form.select.field', ['field' => trans_choice('general.customers', 1)])])) !!}
<span class="input-group-btn">
<button type="button" onclick="createCustomer();" class="btn btn-primary">{{ trans('general.add_new') }}</button>
<button type="button" onclick="createCustomer();" class="btn btn-default btn-icon"><i class="fa fa-plus"></i></button>
</span>
</div>
</div>
Expand Down

0 comments on commit 754a15c

Please sign in to comment.