Skip to content

Sass Rebuild #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: weberjacob-patch-1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
647 changes: 647 additions & 0 deletions assets/css/application.css

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions assets/scss/application.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// ===================
// Global Imports
// ===================

@import 'base/index';
@import 'layout/index';
27 changes: 27 additions & 0 deletions assets/scss/base/_base.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
body {
margin-top:0px;
font-family: $stack-Lato;
font-weight: normal;
background:#ecf0f1;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoY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Oa4MP+W/HfGadZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==);
overflow-x: hidden;
left: 0;
position: relative;
color: $black;
height: 100%;
width: 100%;
}

a {
text-decoration: none;
}

.clearer {
clear:both;
}






6 changes: 6 additions & 0 deletions assets/scss/base/_index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// ===================
// Base Imports
// ===================
@import 'variables';
@import 'mixins';
@import 'base';
50 changes: 50 additions & 0 deletions assets/scss/base/_mixins.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
// Text
@mixin text($size, $l-height: null, $weight: null, $color: null) {
font-size: $size;
line-height: $l-height;
font-weight: $weight;
color: $color;

}

// Buttons

@mixin button-bg {
background: #40aed1;
background: -moz-linear-gradient(top, #40aed1 0%, #2790b0 99%);
background: -webkit-linear-gradient(top, #40aed1 0%,#2790b0 99%);
background: linear-gradient(to bottom, #40aed1 0%,#2790b0 99%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#40aed1', endColorstr='#2790b0',GradientType=0 );
}

// Shadows

@mixin callout-shadow {
-webkit-box-shadow: 0px 10px 32px -8px rgba($black,0.8);
-moz-box-shadow: 0px 10px 32px -8px rgba($black,0.8);
box-shadow: 0px 10px 32px -8px rgba($black,0.8);
}

@mixin callout-shadow-light {
-webkit-box-shadow: 0px 10px 32px -8px rgba($black,0.3);
-moz-box-shadow: 0px 10px 32px -8px rgba($black,0.3);
box-shadow: 0px 10px 32px -8px rgba($black,0.3);
}

// Trandistions

@mixin ease-oneSecond-transition {
-webkit-transition: all 1s ease-out;
-moz-transition: all 1s ease-out;
-o-transition: all 1s ease-out;
-ms-transition: all 1s ease-out;
transition: all 1s ease-out;
}


// Borders

@mixin border-top($color) {
border-top: 4px solid $color;
}

44 changes: 44 additions & 0 deletions assets/scss/base/_variables.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
// Descriptive color variables

$white : #fff;
$black : #000;
$orange : orange;
$red-orange : #ff384f;
$dark-grey : #646464;
$lt-grey : #636363;
$header-grey : #e7e7e7;
$aa-blue : #39a6c7;
$bright-green : rgba(114,229,86,1);

// Font stacks

$stack-Lato : 'Lato', sans-serif;

// Border radius

$br: 4px;


// Padding

$global-padding-top : 10px;


// Margins

$center-margin : 0 auto;

// Widths

$column-width : 1107px;


// Asset path

$path-img : '../img';

// Media query breakpoints
$brk-1090 : '(max-width: 1090px)';
$brk-900 : '(max-width: 900px)';
$brk-770 : '(max-width: 770px)';

116 changes: 116 additions & 0 deletions assets/scss/layout/_columns.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
/* Homepage Callout ----------- */
.twoColumn, .thirdColumn {
max-width: $column-width;
text-align: center;
margin: 20px auto;
}

.halfColumn {
max-width: 48%;
float: left;
margin: 0 1%;
@include callout-shadow;

p {
@include ease-oneSecond-transition;
background-color: rgba($black,0.5);
padding: 10px;
max-width: 20%;
margin: -60px auto;
border: 2px solid #43b3d8;
border-radius: $br / 2;
}

p:hover {
@include ease-oneSecond-transition;
background-color: #3f9cbb;
transform: scale(1.1);
}
}

.callout h2 {
margin: 17% 25%;
background-color: $white;
padding: 4%;
font-size: 1.2em;
border-radius: 0 0 $br * 0.833333333 $br * 0.833333333;
}

.halfColumn::last-of-type {
margin-right: 0;
}

.calloutOne, .calloutTwo {
background-image: url('#{$path-img}/image-1.jpg');
width: 50%;
height: 270px;
border-radius: $br;
background-position: center;
background-size: cover;

p a {
color: $white;
}

h2 {
@include border-top($orange)
}
}

.calloutTwo {
background-image: url('#{$path-img}/image-2.jpg');

h2 {
@include border-top($red-orange)
}
}


.calloutThree, .calloutFour, .calloutFive {
background-image: url('#{$path-img}/image-3.jpg');
width: 50%;
height: 310px;
border-radius: $br;
background-position: center;
background-size: cover;
outline: 2px solid $white;
outline-offset: -20px;

h2 {
margin: 40% 25%;
@include border-top($bright-green)
}

&:hover {
box-shadow: inset 0 0 0 20px rgba($black,0.6);
}
}

.calloutFour {
background-image: url('#{$path-img}/image-4.jpg');
}

.calloutFive {
background-image: url('#{$path-img}/image-5.jpg');
background-position: right center;
}

.thirdColumn {

img {
max-width: 100%;
border-radius: $br * 1.666666666;
}

div {
max-width: 30.6666%;
margin: 0 1.3%;
float: left;
@include callout-shadow;
}

div:last-child {
margin-right: 0;
}
}

27 changes: 27 additions & 0 deletions assets/scss/layout/_containers.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/* Homepage slider ----------- */
.slideCallout {
@include border-top(#51bad8);
margin: -24% auto 0;
position: relative;
max-width: 375px;
text-align: center;
background-color: $white;
padding: 3% 2%;
font-size: 2.1em;
border-radius: 0 0 $br * 0.833333333 $br * 0.833333333;
color: #5c5c5c;
}

.slideButton {
@include button-bg;
border-radius: $br * 0.666666666;
padding: 12px 23px;
font-size: 16px;
border: none;
margin: -14px auto 0;
position: relative;
color: $white;
width: 125px;
display: inline-block;
text-align: center;
}
97 changes: 97 additions & 0 deletions assets/scss/layout/_footer.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
.footerContainer {
background-color: $lt-grey ;
min-height: 60px;
line-height: 1.5;
color: $white;
font-weight: 100;
margin-top: 30px;
padding-top: $global-padding-top * 5.5;
}

.footer {
max-width: 985px;
margin: auto;
}

.footerLeft {
float: left;
width: 49%;

h3 {
font-size: 1.3em;
}

p {
font-size: 0.75em;
}

div {
margin: 15px 0;
}
}

input[type=email] {
width: 60%;
padding: 8px;
border-radius: 4px;
border: none;
font-size: 14px;
color: $lt-grey;
}

input[name=signupButton] {
@include button-bg;
border-radius: 0 $br *0.833333333 $br *0.833333333 0;
padding: 8px 30px;
font-size: 14px;
border: none;
color: $white;
margin-left: -6px;
}

input[type=email], input[name=signupButton], .footerSM img:hover {
@include callout-shadow-light;
}

/* Footer Navigation ----------- */
.footerNav {
width: 50%;
float: left;

span {
float: left;
width: 25%;
margin: 0 3%;
line-height: 1.7;
}

a {
color: $white;
font-size: 0.9em;
}

a:hover {
text-decoration: underline;
font-style: italic;
}
}

.footerContact {
text-align: center;
padding: 20px 0 30px;
border-top: 1px solid #717171;
margin-top: 30px;
}

.tel {
font-size: 1.3em;

a {
color: $white;
}

a:hover {
color: #39a6c7;
}
}

Loading