Skip to content
This repository has been archived by the owner on Mar 19, 2020. It is now read-only.

Commit

Permalink
Fixed style margin top on buttons.
Browse files Browse the repository at this point in the history
  • Loading branch information
oriolclosa committed Sep 22, 2017
1 parent 26a467d commit 0f3891c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions public/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ p{
text-align: right;
overflow: auto;
}
#remove-button{
#remove-button, #remove-button-2{
margin-top: 25px;
font-weight: 100;
}
Expand All @@ -171,6 +171,11 @@ p{
margin-top: 27px !important;
border-bottom: 3px solid #E91753;
}
#remove-button-2:hover{
background-color: #F43D7A;
margin-top: 20px !important;
border-bottom: 3px solid #E91753;
}

/*== FORM ==*/
form input[type=text], input[type=password], input[type=email]{
Expand All @@ -184,7 +189,7 @@ form input[type=checkbox]{
margin: 0 5px 15px 0;
padding: 2.5%;
}
form input[type=submit], #remove-button{
form input[type=submit], #remove-button, #remove-button-2{
min-width: 25%;
margin-left: auto;
margin-right: auto;
Expand Down
4 changes: 2 additions & 2 deletions resources/views/home.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@
</p>
@if(!empty($new))
<a id="remove-button" href="/print/{{ $list[0]['row'] }}/{{ $list[0]['col'] }}/{{ $list[0]['id'] }}/{{ $list[0]['name'] }}/{{ $list[0]['surname'] }}/{{ strtotime($list[0]['created']) }}/0/1">Reprint ticket</a>
<a id="remove-button" href="/create/more/{{ $list[0]['id'] }}/{{ $list[0]['name'] }}/{{ $list[0]['surname'] }}" style="width: 42.5%; float: left; margin-top: 5%; margin-right: 5%;">Add more</a>
<a id="remove-button" href="/remove/{{ $list[0]['row'] }}{{ $list[0]['col'] }}" style="width: 42.5%; float: right; margin-top: 5%;">Remove baggage</a>
<a id="remove-button-2" href="/create/more/{{ $list[0]['id'] }}/{{ $list[0]['name'] }}/{{ $list[0]['surname'] }}" style="width: 42.5%; float: left; margin-top: 5%; margin-right: 5%;">Add more</a>
<a id="remove-button-2" href="/remove/{{ $list[0]['row'] }}{{ $list[0]['col'] }}" style="width: 42.5%; float: right; margin-top: 5%;">Remove baggage</a>
@else
<a id="remove-button" href="/print/{{ $list[0]['row'] }}/{{ $list[0]['col'] }}/{{ $list[0]['id'] }}/{{ $list[0]['name'] }}/{{ $list[0]['surname'] }}/{{ strtotime($list[0]['created']) }}/0/1" style="width: 42.5%; float: left; margin-right: 5%;">Reprint ticket</a>
<a id="remove-button" href="/remove/{{ $list[0]['row'] }}{{ $list[0]['col'] }}" style="width: 42.5%; float: right;">Remove baggage</a>
Expand Down

0 comments on commit 0f3891c

Please sign in to comment.