Last active
August 29, 2015 14:27
-
-
Save carchrae/ecdaf4f1f613e789efdb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| resetting main.scss stuff | |
| */ | |
| input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="week"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], input[type="color"], textarea { | |
| height: auto; | |
| background-color: #ffffff; | |
| } | |
| /* | |
| input[type="text"], | |
| input[type="password"], | |
| input[type="date"], | |
| input[type="datetime"], | |
| input[type="datetime-local"], | |
| input[type="month"], | |
| input[type="week"], | |
| input[type="email"], | |
| input[type="number"], | |
| input[type="search"], | |
| input[type="tel"], | |
| input[type="time"], | |
| input[type="url"], | |
| input[type="color"], | |
| textarea{ | |
| height:auto; | |
| } | |
| input[type="file"], input[type="checkbox"], input[type="radio"], select { | |
| margin:auto; | |
| } | |
| */ | |
| .box { | |
| height: 200px; | |
| width: 200px; | |
| background-color: steelblue; | |
| text-align: center; | |
| display: inline-block; | |
| } | |
| .animated { | |
| transition: all cubic-bezier(0.08, 0.84, 0.7, 1.07) 0.3s; | |
| -webkit-transition: all cubic-bezier(0.08, 0.84, 0.7, 1.07) 0.3s; | |
| } | |
| .cx-section { | |
| width: 100%; | |
| height: 100%; | |
| /* overflow:scroll; */ | |
| } | |
| .cx-section.animated.ng-hide, | |
| .cx-section.animated.ng-hide * { | |
| display: block !important; | |
| position: absolute; | |
| width: 100%; | |
| } | |
| .cx-section.animated.ng-hide, | |
| .cx-section.animated.ng-hide * { | |
| opacity: 1; | |
| } | |
| .section1.ng-hide { | |
| } | |
| .scroller { | |
| position: relative; | |
| height: 100%; | |
| overflow: scroll; | |
| background-color: lightblue; | |
| /* height:1000px; */ | |
| } | |
| .section2 { | |
| position: absolute; | |
| top: 35px; | |
| z-index: 30; | |
| } | |
| .section2.ng-hide { | |
| position: absolute; | |
| top: 1000px; | |
| overflow: hidden; | |
| } | |
| .section3 { | |
| position: absolute; | |
| top: 70px; | |
| z-index: 40; | |
| } | |
| .section3.ng-hide { | |
| position: absolute; | |
| height: 1000px; | |
| top: 2000px; | |
| overflow: hidden; | |
| } | |
| .section4 { | |
| position: absolute; | |
| top: 105px; | |
| z-index: 50; | |
| } | |
| .section4.ng-hide { | |
| position: absolute; | |
| top: 4000px; | |
| overflow: hidden; | |
| } | |
| .cx-checkoutpage-container, | |
| .cx-checkoutpage-form { | |
| overflow: hidden; | |
| height: 100%; | |
| } | |
| .cx-checkoutpage-form { | |
| height: 800px; | |
| } | |
| /* reset angular material */ | |
| .md-input-container { | |
| padding: 0; | |
| } | |
| .md-input-container.md-input-focused .md-input, .md-input-container .md-input.ng-invalid.ng-dirty { | |
| padding-bottom: 1em; | |
| } | |
| .md-input-container label:not(.md-no-float), .md-input-container .md-placeholder:not(.md-select-label) { | |
| z-index: 6; | |
| overflow: visible; | |
| } | |
| .cx-checkoutpage-container input, .md-input input, .md-input-focused input, .md-input-invalid input { | |
| border-top-width: 2px; | |
| } | |
| .md-input-container.md-input-focused .md-input, .md-input-container .md-input.ng-invalid.ng-dirty { | |
| border-top-width: 2px; | |
| } | |
| .md-select-label { | |
| border-bottom-width: 0 !important; | |
| } | |
| .md-ripple-container { | |
| position: absolute; | |
| } | |
| .md-card { | |
| margin: 0; | |
| box-shadow: none; | |
| } | |
| .md-half-circle { | |
| background-color: white; | |
| } | |
| html { | |
| -moz-box-sizing: border-box; | |
| -webkit-box-sizing: border-box; | |
| box-sizing: border-box; | |
| } | |
| *, *:before, *:after { | |
| box-sizing: inherit; | |
| } | |
| html, body { | |
| height: 100%; | |
| } | |
| body { | |
| font-family: "minion-pro", sans-serif, serif; | |
| font-style: normal; | |
| font-weight: 400; | |
| font-size: 1.2em; | |
| -webkit-font-smoothing: antialiased; | |
| margin: 0; | |
| } | |
| body, input, select, textarea, label, button, .md-default-theme { | |
| font-family: "Helvetica", sans-serif; | |
| font-weight: 600; | |
| } | |
| .md-default-theme input, .md-default-theme .md-select { | |
| background-color: white; | |
| } | |
| /* show up over line */ | |
| header *, | |
| .cx-form-content *, | |
| .section-title, | |
| .error, .error_holder { | |
| position: relative; | |
| z-index: 3; | |
| } | |
| .md-input-container { | |
| } | |
| .md-input-container label { | |
| z-index: 6 !important; | |
| } | |
| .cx-checkoutpage-outer { | |
| height: 100%; | |
| top: 0; | |
| left: 0; | |
| z-index: 30; | |
| position: relative; | |
| width: 100%; | |
| } | |
| .cx-line { | |
| position: absolute; | |
| padding: 0em 0; | |
| z-index: 3; | |
| left: 50%; | |
| width: 50%; | |
| border: 0px solid #ccc; | |
| border-left-width: 2px; | |
| margin-left: -1px; | |
| } | |
| .cx-line::before { | |
| /* this is the vertical line */ | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 50%; | |
| margin-left: -2px; | |
| height: 4000; | |
| width: 2px; | |
| z-index: 1; | |
| background: #cccccc; | |
| } | |
| .cx-checkoutpage-billboard { | |
| height: 75%; | |
| background: url("//newd.ca/images/billboard.jpg"); | |
| background-size: cover; | |
| background-position: bottom center; | |
| } | |
| @media only screen and (min-width: 768px) { | |
| .cx-checkoutpage-billboard { | |
| position: fixed; | |
| bottom: 0; | |
| height: 100%; | |
| width: calc(100% - 410px); | |
| margin: 0; | |
| } | |
| } | |
| @media only screen and (min-width: 768px) { | |
| .cx-checkoutpage-form { | |
| width: 410px; | |
| float: right; | |
| box-shadow: 0px 0px 13px 13px rgba(0, 0, 0, 0.1); | |
| border: 1px solid white; | |
| z-index: 2; | |
| position: relative; | |
| } | |
| } | |
| .cx-line { | |
| height: 4000px; | |
| } | |
| .cx-checkoutpage-form-inner { | |
| height: 100%; | |
| margin: 1em .9em; | |
| } | |
| .cx-billboard-tint { | |
| height: 100%; | |
| background: -moz-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.65) 100%); | |
| /* FF3.6+ */ | |
| background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, transparent), color-stop(100%, rgba(0, 0, 0, 0.65))); | |
| /* Chrome,Safari4+ */ | |
| background: -webkit-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.65) 100%); | |
| /* Chrome10+,Safari5.1+ */ | |
| background: -o-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.65) 100%); | |
| /* Opera 11.10+ */ | |
| background: -ms-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.65) 100%); | |
| /* IE10+ */ | |
| background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.65) 100%); | |
| /* W3C */ | |
| filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#a6000000', GradientType=0); | |
| /* IE6-9 */ | |
| padding: 1em; | |
| position: relative; | |
| } | |
| @media only screen and (min-width: 768px) { | |
| .cx-billboard-tint { | |
| padding: 1.5em 0 1.5em 1.5em; | |
| } | |
| } | |
| .cx-billboard-content { | |
| height: 100%; | |
| width: 100%; | |
| position: relative; | |
| color: white; | |
| } | |
| .billboard-header { | |
| color: white; | |
| text-align: left; | |
| line-height: 1; | |
| } | |
| @media only screen and (min-width: 768px) { | |
| .billboard-header { | |
| font-size: 1.5em; | |
| } | |
| } | |
| .billboard-title { | |
| font-size: 1.5em; | |
| font-weight: 300; | |
| text-transform: uppercase; | |
| } | |
| .subhead { | |
| font-weight: 700; | |
| font-size: .6em; | |
| } | |
| .billboard-meta { | |
| position: absolute; | |
| bottom: 0; | |
| width: 100%; | |
| } | |
| .meta-section { | |
| display: inline-block; | |
| margin-right: 1.5em; | |
| } | |
| .meta-section.destination { | |
| display: none; | |
| } | |
| @media only screen and (min-width: 768px) { | |
| .meta-section.destination { | |
| display: inline-block; | |
| } | |
| } | |
| @media only screen and (min-width: 768px) { | |
| .meta-section { | |
| display: inline-block; | |
| margin-right: 4em; | |
| } | |
| } | |
| .meta-section + .meta-section { | |
| margin-top: 2em; | |
| } | |
| @media only screen and (min-width: 768px) { | |
| .meta-section + .meta-section { | |
| margin-top: 2em; | |
| } | |
| } | |
| .meta-title { | |
| display: block; | |
| font-size: .3em; | |
| font-weight: 700; | |
| text-transform: uppercase; | |
| margin-bottom: .5em; | |
| } | |
| .meta-info { | |
| font-weight: 300; | |
| font-size: 1.2em; | |
| } | |
| .cx-general-content { | |
| width: 90%; | |
| margin: 0 auto 0; | |
| text-align: center; | |
| line-height: 1.1; | |
| padding-top: 0; | |
| } | |
| .cx-general-content .assistive-comment { | |
| font-size: .65em; | |
| font-weight: 400; | |
| width: 80%; | |
| margin: auto; | |
| background: white; | |
| margin-top: 1.5em; | |
| padding: .5em 0 0.75em; | |
| } | |
| .cx-general-content .section-label { | |
| /* circle around page number */ | |
| background: white; | |
| border: 2px solid #cccccc; | |
| border-radius: 2em; | |
| display: inline-block; | |
| width: 1.2em; | |
| height: 1.2em; | |
| position: relative; | |
| cursor: pointer; | |
| } | |
| .cx-general-content .section-label:focus { | |
| outline: none; | |
| } | |
| .cx-general-content .active_button { | |
| font-size: .55em; | |
| font-weight: 700; | |
| position: absolute; | |
| color: #737373; | |
| left: 50%; | |
| top: 50%; | |
| bottom: auto; | |
| right: auto; | |
| -webkit-transform: translateX(-50%) translateY(-50%); | |
| -moz-transform: translateX(-50%) translateY(-50%); | |
| -ms-transform: translateX(-50%) translateY(-50%); | |
| -o-transform: translateX(-50%) translateY(-50%); | |
| transform: translateX(-50%) translateY(-50%); | |
| } | |
| .active_button { | |
| } | |
| .active_button:focus { | |
| outline: none; | |
| } | |
| .cx-general-content .section-title { | |
| font-weight: 700; | |
| font-size: .8em; | |
| background: white; | |
| padding: .5em 0 0.75em; | |
| margin-top: 1em; | |
| z-index: 6; | |
| position: relative; | |
| } | |
| .section-header { | |
| } | |
| .error, .error_holder { | |
| font-size: .8em; | |
| font-weight: 700; | |
| color: red; | |
| } | |
| .error_holder { | |
| margin-top: 0.35em; | |
| margin-bottom: 0; | |
| width: 100%; | |
| height: 1.2em; | |
| background-color: white; | |
| } | |
| .error_holder.ng-inactive, | |
| .error_holder.ng-hide { | |
| height: 1.2em; | |
| opacity: 0; | |
| display: block !important; | |
| } | |
| .error_holder div { | |
| display: inline; | |
| margin: 0.5em; | |
| font-size: 0.7em; | |
| } | |
| .cx-checkoutpage-container button, .cx-checkoutpage-container .button { | |
| background: #4A90E2; | |
| position: relative; | |
| border: none; | |
| margin: 0 auto 0 auto; | |
| font-weight: 600; | |
| cursor: pointer; | |
| color: white; | |
| width: 80%; | |
| padding-top: 1em; | |
| padding-bottom: 1em; | |
| text-align: center; | |
| display: block; | |
| } | |
| .cx-checkoutpage-container input, .cx-checkoutpage-container select, .cx-checkoutpage-container textarea, | |
| .cx-checkoutpage-container label, .cx-checkoutpage-container .cx-select, .md-select .cx-checkoutpage-container | |
| textarea { | |
| -webkit-appearance: none; | |
| -moz-appearance: none; | |
| -ms-appearance: none; | |
| -o-appearance: none; | |
| appearance: none; | |
| /* background: white; */ | |
| color: #333; | |
| } | |
| .cx-checkoutpage-container input::-webkit-input-placeholder { | |
| color: #a6a6a6; | |
| } | |
| .cx-checkoutpage-container input::-moz-placeholder { | |
| color: #a6a6a6; | |
| } | |
| .cx-checkoutpage-container input:-ms-input-placeholder { | |
| color: #a6a6a6; | |
| } | |
| .cx-checkoutpage-container input, .md-input input, .md-input-focused input { | |
| font-size: .9em; | |
| width: 100%; | |
| margin: 0; | |
| border-top: 2px solid; | |
| border-bottom: 2px solid; | |
| padding: 1em; | |
| box-shadow: none; | |
| font-weight: 600; | |
| display: block; | |
| background: white; | |
| } | |
| .cx-checkoutpage-container .cx-select::after, .md-select::after { | |
| content: ''; | |
| position: absolute; | |
| z-index: 1; | |
| right: 1em; | |
| top: 50%; | |
| margin-top: 0px; | |
| display: block; | |
| width: 19px; | |
| height: 9px; | |
| background: url("../images/select-arrow-black.svg") no-repeat center center; | |
| pointer-events: none; | |
| background-size: cover; | |
| -webkit-transition: opacity 0.3s; | |
| transition: opacity 0.3s; | |
| opacity: .5; | |
| } | |
| .cx-checkoutpage-container .cx-select select, .md-select { | |
| width: 100%; | |
| font-weight: 600; | |
| display: block; | |
| position: relative; | |
| -webkit-transition: color 0.3s; | |
| transition: color 0.3s; | |
| padding-top: 0.5em; | |
| padding-bottom: 0.5em; | |
| border-bottom: 2px solid rgba(0, 0, 0, 0.12); | |
| border-top: 2px solid rgba(0, 0, 0, 0.12); | |
| margin-top: -2px; | |
| } | |
| .md-select.md-default-theme .md-select-label.md-placeholder { | |
| color: #bdbdbd; | |
| font-size: 0.9em; | |
| } | |
| .md-select-label * { | |
| font-size: 0.9em; | |
| } | |
| select { | |
| z-index: 7 !important; | |
| } | |
| .persistant-select-label label { | |
| height: 2em; | |
| margin-top: 1em; | |
| z-index: 6; | |
| } | |
| .md-select-icon { | |
| display: none; | |
| } | |
| .cx-checkoutpage-container select::-ms-expand { | |
| display: none; | |
| } | |
| .cx-checkoutpage-container .cx-select-inner { | |
| border: none; | |
| padding: 1em; | |
| font-size: .8em; | |
| background-color: white; | |
| } | |
| .cx-checkoutpage-container textarea { | |
| width: 100%; | |
| height: 11em; | |
| margin: 0; | |
| padding: 1em; | |
| border: none; | |
| border-top: 2px solid #ccc; | |
| border-bottom: 2px solid #ccc; | |
| border-radius: 0; | |
| font-size: .8em; | |
| font-weight: 600; | |
| position: relative; | |
| } | |
| .md-input, .md-input-focused, .md-input-focused input { | |
| z-index: 4; | |
| } | |
| .md-input-focused { | |
| z-index: 5; | |
| } | |
| .md-input-container { | |
| font-weight: 600; | |
| padding-bottom: 0; | |
| display: block; | |
| } | |
| .md-input-container label { | |
| position: relative; | |
| font-size: 0.9em; | |
| background-color: white; | |
| display: inline-block; | |
| min-width: 1px; | |
| padding-right: 10px; | |
| } | |
| .md-input-focused label, .md-input-has-value label { | |
| position: relative; | |
| margin-top: -0.3em; | |
| } | |
| .md-input-container { | |
| position: relative; | |
| } | |
| .shipping-section { | |
| background-color: white; | |
| } | |
| .shipping-section .md-input-container input, | |
| .shipping-section .md-input-container select { | |
| display: block; | |
| position: relative; | |
| margin-top: -2px; | |
| } | |
| label { | |
| top: 1em; | |
| } | |
| .login-section .md-input-focused label, | |
| .login-section .md-input-has-value label { | |
| position: relative; | |
| top: 1.4em; | |
| margin-bottom: 5px; | |
| } | |
| .selected_button { | |
| background-color: darkslateblue !important; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment