"client payment modal"
Bootstrap 3.2.0 Snippet by freshlyminted

<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!--<div class="modal fade" id="client-pay-modal" tabindex="-1" role="dialog" aria-labelledby="call-modal" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> <h4 class="modal-title my-modal-label">Please enter your payment information below</h4> </div>--> <!--<div class="modal-body">--> <div class="container"> <div class='row'> <div class="col-md-12"><h4 class="modal-title my-modal-label">Please enter your payment information below</h4></div> <div class='col-md-4 col-xs-2'></div> <div class='col-md-4 col-xs-8'> <script src='https://js.stripe.com/v2/' type='text/javascript'></script> <form accept-charset="UTF-8" action="/" class="require-validation" data-cc-on-file="false" data-stripe-publishable-key="pk_bQQaTxnaZlzv4FnnuZ28LFHccVSaj" id="payment-form" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓" /><input name="_method" type="hidden" value="PUT" /><input name="authenticity_token" type="hidden" value="qLZ9cScer7ZxqulsUWazw4x3cSEzv899SP/7ThPCOV8=" /></div> <div class='form-row'> <div class='col-xs-12 form-group required'> <label class='control-label'>Name on Card</label> <input class='form-control' size='4' type='text'> </div> </div> <div class='form-row'> <div class='col-xs-12 form-group card required'> <label class='control-label'>Card Number</label> <input autocomplete='off' class='form-control card-number' size='20' type='text'> </div> </div> <div class='form-row'> <div class='col-xs-4 form-group cvc required'> <label class='control-label'>CVC</label> <input autocomplete='off' class='form-control card-cvc' placeholder='ex. 311' size='4' type='text'> </div> <div class='col-xs-4 form-group expiration required'> <label class='control-label'>Expiration</label> <input class='form-control card-expiry-month' placeholder='MM' size='2' type='text'> </div> <div class='col-xs-4 form-group expiration required'> <label class='control-label'> </label> <input class='form-control card-expiry-year' placeholder='YYYY' size='4' type='text'> </div> </div> <div class='form-row'> <div class='col-md-12'> <div class='form-control total btn btn-info standard-button'> Total: <span class='amount'>$300</span> </div> </div> </div> <div class='form-row'> <div class='col-md-12 form-group'> <button class='form-control btn btn-primary submit-button standard-button' type='submit' id="pay">Pay »</button> </div> </div> <div class='form-row'> <div class='col-md-12 error form-group hide'> <div class='alert-danger alert'> Please correct the errors and try again. </div> </div> </div> </form> </div> <div class='col-md-4 col-xs-2'></div> </div> </div> </div> <!--end modal-body--> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> </div> </div> </div> </div>
h4{ text-align: center; padding-top: 15px; padding-bottom: 15px; } .amount{ display: inline; } #pay{ margin-top: 10px; } .form-control, .btn{ border-radius: 0; .standard-button{ // background-color: #eebe25; color: rgba(0, 0, 0, 0.5); text-transform: uppercase; padding-top: 12px; padding-bottom: 12px; padding-left: 35px; padding-right: 35px; border-radius: 0; border:none; margin-top: 20px; margin-bottom: 20px; width: 16em; font-weight: 600; &:hover, &:active{ // background-color: #616dab; background-color: #4b6a7e; color: white; } } .btn-anim{ -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; } .btn-anim:after { content: ''; position: absolute; z-index: -1; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; }

Related: See More


Questions / Comments: