Skip to content

Instantly share code, notes, and snippets.

@ornerymoose
Created May 4, 2012 20:27
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ornerymoose/2597515 to your computer and use it in GitHub Desktop.
Scss being rendered but things are off (sidebar is overlapping, padding isn't right in some areas)
#about.static .clear {
clear: both;
}
#about.static body {
background: #243B78;
background: -moz-linear-gradient(top, #243B78 0%, #14254F 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #243B78), color-stop(100%, #14254F));
background: -webkit-linear-gradient(top, #243B78 0%, #14254F 100%);
background: -o-linear-gradient(top, #243B78 0%, #14254F 100%);
background: -ms-linear-gradient(top, #243B78 0%, #14254F 100%);
background: linear-gradient(top, #243B78 0%, #14254F 100%);
}
#about.static .container {
margin: 0 auto;
width: 960px;
background-color: #FFFFFF;
padding-bottom: 60px;
}
#about.static h3 {
text-transform: uppercase;
display: block;
padding: 10px;
color: white;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 18px;
background: #2989d8; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPHJhZGlhbEdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY3g9IjUwJSIgY3k9IjUwJSIgcj0iNzUlIj4KICAgIDxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiMyOTg5ZDgiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMSUiIHN0b3AtY29sb3I9IiMyMDdjY2EiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSI1OSUiIHN0b3AtY29sb3I9IiMxZTU3OTkiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSI5NCUiIHN0b3AtY29sb3I9IiMxZTU3OTkiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSI5OSUiIHN0b3AtY29sb3I9IiM3ZGI5ZTgiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvcmFkaWFsR3JhZGllbnQ+CiAgPHJlY3QgeD0iLTUwIiB5PSItNTAiIHdpZHRoPSIxMDEiIGhlaWdodD0iMTAxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-radial-gradient(center, ellipse cover, #2989d8 0%, #207cca 11%, #1e5799 59%, #1e5799 94%, #7db9e8 99%); /* FF3.6+ */
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#2989d8), color-stop(11%,#207cca), color-stop(59%,#1e5799), color-stop(94%,#1e5799), color-stop(99%,#7db9e8)); /* Chrome,Safari4+ */
background: -webkit-radial-gradient(center, ellipse cover, #2989d8 0%,#207cca 11%,#1e5799 59%,#1e5799 94%,#7db9e8 99%); /* Chrome10+,Safari5.1+ */
background: -o-radial-gradient(center, ellipse cover, #2989d8 0%,#207cca 11%,#1e5799 59%,#1e5799 94%,#7db9e8 99%); /* Opera 12+ */
background: -ms-radial-gradient(center, ellipse cover, #2989d8 0%,#207cca 11%,#1e5799 59%,#1e5799 94%,#7db9e8 99%); /* IE10+ */
background: radial-gradient(center, ellipse cover, #2989d8 0%,#207cca 11%,#1e5799 59%,#1e5799 94%,#7db9e8 99%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2989d8', endColorstr='#7db9e8',GradientType=1 ); /* IE6-8 fallback on horizontal gradient */
}
#about.static h4 {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 18px;
font-weight: 200;
color: #848687;
padding: 30px 100px;
}
#about.static p {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 12px;
color: #848687;
line-height: 5px;
}
#about.static .textLabel {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 18px;
font-weight: 200;
color: #848687;
line-height: 30px;
}
#about.static .textInput {
width: 341px;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
background: #EEE;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
-ms-border-radius: 5px;
-o-border-radius: 5px;
border-radius: 5px;
border: 1px solid #A0A3A3;
box-shadow: -3px 3px 0 rgba(0,0,0,0.17) inset;
color: #999;
display: block;
font-size: 18px;
font-weight: 200;
margin: 0 0 10px;
padding: 9px;
transition: box-shadow .2s, border .2s, background-color .2s linear;
-o-transition: box-shadow .2s, border .2s, background-color .2s linear;
-moz-transition: box-shadow .2s, border .2s, background-color .2s linear;
-webkit-transition: box-shadow .2s, border .2s, background-color .2s linear;
}
#about.static .inputbox {
width: 780px;
height: 160px;
}
#about.static input:focus, textarea:focus {
background: #e4f2fd;
border: 1px solid #76b6e0;
box-shadow: -3px 3px 0 rgba(0,0,0,0.17) inset, 0 0 5px #80cdff;
color: #64b9ed;
outline: none;
resize: none;
}
#about.static .billingDate {
float: left;
}
#about.static .custNumber {
float: left;
margin-left: 46px;
}
#about.static .billingDate .textInput {
width: 150px;
}
#about.static .custNumber .textInput {
width: 146px;
}
#about.static .billState {
float: left;
}
#about.static .billZip {
float: left;
margin-left: 46px;
}
#about.static .billState .textInput {
width: 150px;
}
#about.static .billZip .textInput {
width: 146px;
}
#about.static .billPhone {
float: left;
}
#about.static .billFax {
float: left;
margin-left: 46px;
}
#about.static .billPhone .textInput {
width: 150px;
}
#about.static .billFax .textInput {
width: 146px;
}
#about.static .shipState {
float: left;
}
#about.static .shipZip {
float: left;
margin-left: 46px;
}
#about.static .shipState .textInput {
width: 150px;
}
#about.static .shipZip .textInput {
width: 146px;
}
#about.static .billing-shipping {
float: left;
margin-left: 90px;
margin-bottom: 10px;
}
#about.static .bottom-form {
width: 780px;
margin: 0 auto;
}
#about.static .payableTo {
float: left;
}
#about.static .payBycheck {
float: left;
margin-right: 20px;
}
#about.static .payment-side {
display: block;
float: right;
}
#about.static .requested-brands {
width: 780px;
margin: 0 auto;
}
#about.static .contact-information {
float: left;
}
#about.static .subtotal {
float: right;
text-align: right;
}
/*.button {
background: #F8A744;
background: -moz-linear-gradient(top, #F8A744 0%, #FA7F07 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #F8A744), color-stop(100%, #FA7F07));
background: -webkit-linear-gradient(top, #F8A744 0%, #FA7F07 100%);
background: -o-linear-gradient(top, #F8A744 0%, #FA7F07 100%);
background: -ms-linear-gradient(top, #F8A744 0%, #FA7F07 100%);
background: linear-gradient(top, #F8A744 0%, #FA7F07 100%);
border: 1px solid #F4824B;
-webkit-border-radius: 5px;
border-radius: 5px;
box-shadow: -1px 1px 0 rgba(255,255,255,0.3) inset;
color: white;
cursor: pointer;
display: inline-block;
font-size: 18px;
font-weight: normal;
padding: 5px 10px;
text-align: center;
text-decoration: none;
text-shadow: -1px 1px 0 rgba(0, 0, 0, 0.3);
}
.button:active {
box-shadow:0 1px 5px rgba(0,0,0,0.6) inset;
color:#FFF;
}
.button:hover {
box-shadow:-1px 1px 0 rgba(255,255,255,0.3) inset,0 0 10px rgba(255,255,255,0.8) inset;
color:#FFF;
}*/
= render :partial => "shared/sidebar_nav"
#about.static
.page-header
.container
%h4 Please complete this form and submit it. Our CouponTrade team will connect with you regarding your order within 1 business day.
.billing-shipping-container
.billing-shipping
%h3 Billing Info
.date-cust
.billingDate
%label.textLabel{:for => "billingDate"} Date
%input#billingDate.textInput{:name => "billingDate", :type => "text"}/
.custNumber
%label.textLabel{:for => "custNumber"} Cust.#
%input#custNumber.textInput{:name => "custNumber", :type => "number"}/
/ .date-cust
.clear
%label.textLabel{:for => "billingCompany"} Company
%input#billingCompany.textInput{:name => "billingCompany", :type => "text"}/
%label.textLabel{:for => "billingAddress"} Address:
%input#billingAddress.textInput{:name => "billingAddress", :type => "text"}/
%label.textLabel{:for => "billingCity"} City:
%input#billingCity.textInput{:name => "billingCity", :type => "text"}/
.billState
%label.textLabel{:for => "billingState"} State:
%input#billingState.textInput{:name => "billingState", :type => "text"}/
.billZip
%label.textLabel{:for => "billingZip"} Zip:
%input#billingZip.textInput{:name => "billingZip", :type => "text"}/
.clear
.billPhone
%label.textLabel{:for => "billingPhone"} Phone:
%input#billingPhone.textInput{:name => "billingPhone", :type => "text"}/
.billFax
%label.textLabel{:for => "billingFax"} FAX:
%input#billingFax.textInput{:name => "billingFax", :type => "text"}/
%label.textLabel{:for => "billingEmail"} E-Mail Address:
%input#billingEmail.textInput{:name => "billingEmail", :type => "email"}/
/ .billing
.billing-shipping
%h3 Shipping Information
%label.textLabel{:for => "shippingName"} Name
%input#shippingName.textInput{:name => "shippingName", :type => "text"}/
%label.textLabel{:for => "shippingCompany"} Company
%input#shippingCompany.textInput{:name => "shippingCompany", :type => "text"}/
%label.textLabel{:for => "shippingAddress"} Address
%input#shippingAddress.textInput{:name => "shippingAddress", :type => "text"}/
%label.textLabel{:for => "shippingCity"} City
%input#shippingCity.textInput{:name => "shippingCity", :type => "text"}/
.shipState
%label.textLabel{:for => "shippingState"} State
%input#shippingState.textInput{:name => "shippingState", :type => "text"}/
.shipZip
%label.textLabel{:for => "shippingZip"} Zip
%input#shippingZip.textInput{:name => "shippingZip", :type => "text"}/
%label.textLabel{:for => "shippingPhone"} Phone
%input#shippingPhone.textInput{:name => "shippingPhone", :type => "text"}/
/ .billing-shipping-container
.clear
.bottom-form
%h3 Is This For:
%input{:name => "employeeIncentives", :type => "checkbox", :value => "employeeIncentives"}
%label.textlabel{:for => "employeeIncentives"} Employee Incentives
%input{:name => "corporateLoyalty", :type => "checkbox", :value => "corporateLoyalty"}
%label.textlabel{:for => "corporateLoyalty"} Corporate Loyalty Program*
%input{:name => "nonProfit", :type => "checkbox", :value => "nonProfit"}
%label.textlabel{:for => "nonProfit"} Non-Profit Fundraiser
%input{:name => "corporateGifting", :type => "checkbox", :value => "corporateGifting"}
%label.textlabel{:for => "corporateGifting"} Corporate Gifting
%h3 Giftcard(s) - Tell us more about your bulk gift card purchase.
%textarea.textInput.inputbox{:name => "name", :row => "2"}
%h3 Payment Method
.payBycheck
%input{:name => "employeeIncentives", :type => "checkbox", :value => "employeeIncentives"}
%label.textlabel{:for => "employeeIncentives"} Check
.payableTo
%p
%strong Payable to:
%p CouponTrade, Inc.
%p 214 W. Ohio Street, Suite 4
%p Chicago, IL 60654
.payment-side
%input{:name => "corporateLoyalty", :type => "checkbox", :value => "corporateLoyalty"}
%label.textlabel{:for => "corporateLoyalty"} **Credit Card
%br/
%input{:name => "nonProfit", :type => "checkbox", :value => "nonProfit"}
%label.textlabel{:for => "nonProfit"} Visa
%input{:name => "corporateGifting", :type => "checkbox", :value => "corporateGifting"}
%label.textlabel{:for => "corporateGifting"} MC
%input{:name => "corporateGifting", :type => "checkbox", :value => "corporateGifting"}
%label.textlabel{:for => "corporateGifting"} AMEX
%input{:name => "corporateGifting", :type => "checkbox", :value => "corporateGifting"}
%label.textlabel{:for => "corporateGifting"} DISCOVER
%p Last Four Digits of Credit Card #:
/ .payment-side
/ .bottom-form
.clear
.requested-brands
%h3 requested brands                                         Unit Cost   X   Quantity = Total
.reqBrand
%input#reqBrand.textInput{:name => "reqBrand", :type => "text"}/
.unitCost
%input#unitCost.textInput{:name => "unitCost", :type => "text"}/
.quantity
%input#quantity.textInput{:name => "quantity", :type => "number"}/
.brandTotal
%input#brandTotal.textInput{:name => "brandTotal", :type => "text"}/
.reqBrand
%input#reqBrand.textInput{:name => "reqBrand", :type => "text"}/
.unitCost
%input#unitCost.textInput{:name => "unitCost", :type => "text"}/
.quantity
%input#quantity.textInput{:name => "quantity", :type => "number"}/
.brandTotal
%input#brandTotal.textInput{:name => "brandTotal", :type => "text"}/
.reqBrand
%input#reqBrand.textInput{:name => "reqBrand", :type => "text"}/
.unitCost
%input#unitCost.textInput{:name => "unitCost", :type => "text"}/
.quantity
%input#quantity.textInput{:name => "quantity", :type => "number"}/
.brandTotal
%input#brandTotal.textInput{:name => "brandTotal", :type => "text"}/
.reqBrand
%input#reqBrand.textInput{:name => "reqBrand", :type => "text"}/
.unitCost
%input#unitCost.textInput{:name => "unitCost", :type => "text"}/
.quantity
%input#quantity.textInput{:name => "quantity", :type => "number"}/
.brandTotal
%input#brandTotal.textInput{:name => "brandTotal", :type => "text"}/
.reqBrand
%input#reqBrand.textInput{:name => "reqBrand", :type => "text"}/
.unitCost
%input#unitCost.textInput{:name => "unitCost", :type => "text"}/
.quantity
%input#quantity.textInput{:name => "quantity", :type => "number"}/
.brandTotal
%input#brandTotal.textInput{:name => "brandTotal", :type => "text"}/
.reqBrand
%input#reqBrand.textInput{:name => "reqBrand", :type => "text"}/
.unitCost
%input#unitCost.textInput{:name => "unitCost", :type => "text"}/
.quantity
%input#quantity.textInput{:name => "quantity", :type => "number"}/
.brandTotal
%input#brandTotal.textInput{:name => "brandTotal", :type => "text"}/
.reqBrand
%input#reqBrand.textInput{:name => "reqBrand", :type => "text"}/
.unitCost
%input#unitCost.textInput{:name => "unitCost", :type => "text"}/
.quantity
%input#quantity.textInput{:name => "quantity", :type => "number"}/
.brandTotal
%input#brandTotal.textInput{:name => "brandTotal", :type => "text"}/
.reqBrand
%input#reqBrand.textInput{:name => "reqBrand", :type => "text"}/
.unitCost
%input#unitCost.textInput{:name => "unitCost", :type => "text"}/
.quantity
%input#quantity.textInput{:name => "quantity", :type => "number"}/
.brandTotal
%input#brandTotal.textInput{:name => "brandTotal", :type => "text"}/
.reqBrand
%input#reqBrand.textInput{:name => "reqBrand", :type => "text"}/
.unitCost
%input#unitCost.textInput{:name => "unitCost", :type => "text"}/
.quantity
%input#quantity.textInput{:name => "quantity", :type => "number"}/
.brandTotal
%input#brandTotal.textInput{:name => "brandTotal", :type => "text"}/
.reqBrand
%input#reqBrand.textInput{:name => "reqBrand", :type => "text"}/
.unitCost
%input#unitCost.textInput{:name => "unitCost", :type => "text"}/
.quantity
%input#quantity.textInput{:name => "quantity", :type => "number"}/
.brandTotal
%input#brandTotal.textInput{:name => "brandTotal", :type => "text"}/
%br/
%br/
%br/
.contact-information
%p COUPONTRADE CONTACT:
%p P. 888.838.5847
%p F. 312-929-4666
%p E. bulk@coupontrade.com
/ .contact-information
.subtotal
%p SUBTOTAL = ______________
%br/
%p
3.5% PROCESSING FEE
%br/
%br/
%br/
%br/
(FOR ORDERS $5000 OR LESS) = ______________
%br/
%p SHIPPING = ______________
%br/
%p TOTAL = ______________
%br/
/ .subtotal
/ .requestion-brands
.clear
/ .container
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment