Commit 806958a4 authored by Kim Höfer's avatar Kim Höfer
Browse files

Minor Layout changes

parent 17a6a3ea
...@@ -35,7 +35,8 @@ ...@@ -35,7 +35,8 @@
font-weight:bold; font-weight:bold;
} }
.amount-label { .amount-label {
vertical-align:baseline ; display: inline-block;
vertical-align: middle;
text-align: center; text-align: center;
margin-bottom: 4px; margin-bottom: 4px;
margin-top: 4px; margin-top: 4px;
...@@ -55,6 +56,8 @@ ...@@ -55,6 +56,8 @@
} }
.frequency-label { .frequency-label {
display: inline-block;
vertical-align: middle;
margin-top: 5px; margin-top: 5px;
height:45px; height:45px;
font-weight: normal; font-weight: normal;
...@@ -65,6 +68,8 @@ ...@@ -65,6 +68,8 @@
border-radius: 6px; border-radius: 6px;
} }
.payment-label { .payment-label {
display: inline-block;
vertical-align: middle;
display: inline-block; display: inline-block;
color: @text-color; color: @text-color;
margin-top: 5px; margin-top: 5px;
...@@ -82,13 +87,19 @@ ...@@ -82,13 +87,19 @@
margin-bottom: 8px; margin-bottom: 8px;
height: 40px; height: 40px;
} }
.custom-amount-container {
display: flex;
}
.amount-custom { .amount-custom {
flex-grow: 0;
text-align: center; text-align: center;
align-items: center; align-items: center;
margin-right: 4px; margin-right: 4px;
padding-right: 8px; padding-right: 8px;
padding-left: 4px; padding-left: 4px;
height: 30px; height: 30px;
//width: 8em;
font-weight: normal; font-weight: normal;
border: 2px solid #a6a6a6; border: 2px solid #a6a6a6;
border-radius: 5px; border-radius: 5px;
...@@ -98,6 +109,7 @@ ...@@ -98,6 +109,7 @@
} }
#custom-amount { #custom-amount {
display: none; display: none;
height: 30px;
width: 164px; width: 164px;
} }
#amount-custom:checked + label + input{ #amount-custom:checked + label + input{
...@@ -106,5 +118,10 @@ ...@@ -106,5 +118,10 @@
input[type=radio]:checked + label, .payment-label-selected { input[type=radio]:checked + label, .payment-label-selected {
border: 4px solid #f47216; border: 4px solid #f47216;
} }
#donate-button {
height: 45px;
}
} }
\ No newline at end of file
...@@ -86,8 +86,8 @@ ...@@ -86,8 +86,8 @@
<input type="radio" value="250" class="amount-radio" name="amount" id="amount-250euro" required="required"><label for="amount-250euro" class="amount-label">250</label> <input type="radio" value="250" class="amount-radio" name="amount" id="amount-250euro" required="required"><label for="amount-250euro" class="amount-label">250</label>
<input type="radio" value="300" class="amount-radio" name="amount" id="amount-300euro" required="required"><label for="amount-300euro" class="amount-label">300</label> <br> <input type="radio" value="300" class="amount-radio" name="amount" id="amount-300euro" required="required"><label for="amount-300euro" class="amount-label">300</label> <br>
</div> </div>
<div> <div class="custom-amount-container">
<input type="radio" name="amount" id="amount-custom" required="required"><label for="amount-custom" class="amount-custom">{!! trans('spende.wunschbetrag') !!}</label> <input id="custom-amount" type="number" step=".01" placeholder="Betrag in €" value=""> <input type="radio" name="amount" id="amount-custom" required="required"><label for="amount-custom" class="amount-custom">{!! trans('spende.wunschbetrag') !!}</label> <input id="custom-amount" type="number" min="0" step=".01" placeholder="Betrag in €" value="">
</div> </div>
<br> <br>
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
<input type="hidden" name="dt" value="{{ md5(date('Y') . date('m') . date('d')) }}"> <input type="hidden" name="dt" value="{{ md5(date('Y') . date('m') . date('d')) }}">
<div class="form-group donation-form-group"> <div class="form-group donation-form-group">
<label for="Name">*{!! trans('spende.lastschrift.3') !!}</label> <label for="Name">*{!! trans('spende.lastschrift.3') !!}</label>
<input type="text" class="form-control" id="Name" name="Name" placeholder="{!! trans('spende.lastschrift.3.placeholder') !!}" @if(isset($data['name'])) value="{{$data['name']}}" @endif /> <input type="text" required="required" class="form-control" id="Name" name="Name" placeholder="{!! trans('spende.lastschrift.3.placeholder') !!}" @if(isset($data['name'])) value="{{$data['name']}}" @endif />
</div> </div>
<div class="form-group donation-form-group"> <div class="form-group donation-form-group">
<label for="email">{!! trans('spende.lastschrift.4') !!}</label> <label for="email">{!! trans('spende.lastschrift.4') !!}</label>
...@@ -117,20 +117,18 @@ ...@@ -117,20 +117,18 @@
</div> </div>
<div class="form-group donation-form-group"> <div class="form-group donation-form-group">
<label for="iban">*{!! trans('spende.lastschrift.6') !!}</label> <label for="iban">*{!! trans('spende.lastschrift.6') !!}</label>
<input type="text" class="form-control" id="iban" name="iban" placeholder="IBAN" @if(isset($data['iban'])) value="{{$data['iban']}}" @endif> <input type="text" required="required" class="form-control" id="iban" name="iban" placeholder="IBAN" @if(isset($data['iban'])) value="{{$data['iban']}}" @endif>
</div> </div>
<div class="form-group donation-form-group"> <div class="form-group donation-form-group">
<label for="bic">{!! trans('spende.lastschrift.7') !!}</label> <label for="bic">{!! trans('spende.lastschrift.7') !!}</label>
<input type="text" class="form-control" id="bic" name="bic" placeholder="BIC" @if(isset($data['bic'])) value="{{$data['bic']}}" @endif> <input type="text" required="required" class="form-control" id="bic" name="bic" placeholder="BIC" @if(isset($data['bic'])) value="{{$data['bic']}}" @endif>
</div> </div>
<div class="form-group donation-form-group"> <div class="form-group donation-form-group">
<label for="msg">{!! trans('spende.lastschrift.8.message')!!}</label> <label for="msg">{!! trans('spende.lastschrift.8.message')!!}</label>
<p>{!! trans('spende.bankinfo.3')!!}</p> <p>{!! trans('spende.bankinfo.3')!!}</p>
<textarea class="form-control" id="msg" name="Nachricht" placeholder="{!! trans('spende.lastschrift.8.message.placeholder') !!}">@if(isset($data['nachricht'])){{$data['nachricht']}}@endif</textarea> <textarea class="form-control" id="msg" name="Nachricht" placeholder="{!! trans('spende.lastschrift.8.message.placeholder') !!}">@if(isset($data['nachricht'])){{$data['nachricht']}}@endif</textarea>
</div> </div>
<div class="section"> <input id="donate-button" type="submit" value="{!! trans('spende.submit') !!}">
<input type="submit" value="{!! trans('spende.submit') !!}">
</div>
</div> </div>
@endif @endif
</form> </form>
...@@ -148,7 +146,7 @@ ...@@ -148,7 +146,7 @@
<li>{!! trans('spende.member.5') !!}</li> <li>{!! trans('spende.member.5') !!}</li>
<li>{!! trans('spende.member.6') !!}</li> <li>{!! trans('spende.member.6') !!}</li>
</ul> </ul>
<a href="">{!! trans('spende.member.7') !!}</a> <a class="btn btn-default" href="">{!! trans('spende.member.7') !!}</a>
</div> </div>
</div> </div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment