Skip to content

Commit

Permalink
removed old project styles
Browse files Browse the repository at this point in the history
  • Loading branch information
alliwagner committed May 12, 2016
1 parent 87c7491 commit 879242f
Show file tree
Hide file tree
Showing 10 changed files with 96 additions and 1,196 deletions.
19 changes: 0 additions & 19 deletions assets/js/modules/passwordFormValidation.js

This file was deleted.

25 changes: 4 additions & 21 deletions assets/sass/_config.variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@
/**
* Theme colors
*/
$base-color: #303738;
$light-gray: #a9a9a9;

// Should be replace with theme colors
$green: #7ab55c;
$red: red;
$white: #fff;
$black: #000;
$white: #FFF;
$red: red;
$red--bright: #ff0000;

$gray--90: #444;
$gray--80: darken(#fff, 80%);
$gray--70: #666;
Expand All @@ -25,23 +24,6 @@ $gray--20: #ddd;
$gray--10: darken(#fff, 10%);
$gray--00: #fff;

$alpha-text-color: $base-color;
$beta-text-color: lighten( $base-color, 10% );
$alpha-link-color: $base-color;
$alpha-link-color-hover: darken( $base-color, 10% );
$alpha-divider-color: darken( $base-color, 20% );
$alpha-border-color: $light-gray;
$alpha-button-border: darken( $base-color, 20% );
$alpha-button-background-color: $green;
$alpha-button-text-color: white;
$alpha-button-border-color-focus: red;
$alpha-fill-color: red;
$beta-fill-color: red;
$beta-link-color: red;
$beta-link-color-hover: red;
$alpha-placeholder-color: $light-gray;
$border--default: 1px solid $base-color;

// Default text colors
$text-color--default: $black;
$text-color--alpha: $gray--80;
Expand All @@ -65,3 +47,4 @@ $link-color-hover--gamma: $gray--90;

// Border colors
$border-color--alpha: $gray--90;
$border--default: 1px solid $base-color;
154 changes: 0 additions & 154 deletions assets/sass/_module.blocks.scss
Original file line number Diff line number Diff line change
@@ -1,157 +1,3 @@
/*------------------------------------*\
$BLOCKS
\*------------------------------------*/

/**
* Block with inset heading (bottom left)
*/
.block__inset-heading-image-wrap {
&:before {
content: "";
position: absolute;
width: 100%;
background-color: $white;
height: 80%;
bottom: 0;
left: 0;
z-index: 0;
}
}
.block__inset-heading-image {
position: relative;
z-index: 10;
display: block;
margin-left: auto;
margin-right: auto;
}
.block__inset-heading {
position: absolute;
left: 0;
bottom: 0;
padding: $pad-half rem(15) rem(5) 0;
z-index: 15;
}

/**
* Step Block
*/
.step-block {
@include media('<=large') {
margin: 0 auto;
}
}
.step-block__image {
position: relative;
z-index: 10;
width: 100%;
padding-right: rem(60);
@include media('>=medium') {
height: rem(200);
}
svg {
display: block;
width: 100%;
}
}

// Return image
.step-block__image--return {
margin-left: rem(30);
}
.step-block__image--full {
position: relative;
width: rem(200);
height: rem(200);
display: block;
@include media('<=large') {
margin: 0 auto;
}
}
.step-block__image-wrap {
@include media('<=medium') {
max-width: rem(250);
}
@include media('<=xlarge') {
max-width: rem(300);
margin: 0 auto;
}
}
.step-block__text {
@include media('<=medium') {
max-width: rem(300);
margin: 0 auto;
}
}

/**
* Event Block
*/
.block__event {
padding-bottom: rem(70);
@include media('>medium') {
min-height: rem(400);
}
}
.block__event__cta {
width: 100%;
position: absolute;
bottom: 0;
left: 0;
}
.block__date {
font-weight: 900;
background-color: $white;
display: inline-block;
padding: $pad-half;
line-height: 1;
}
.block__date__month {
font-size: rem(15);
}
.block__date__day {
font-size: rem(30);
}
.block__event--with-background {
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
&:before {
content: "";
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
background-color: rgba($black, .3);
}
@include media('<=small') {
&:before {
display: none;
}
background-image: none !important; // To overpower the inline style.
}
}

.js [data-filter-type] {
&.inactive {
display: none;
}
&.active {
display: flex;
}
}

/**
* Flexed to floated (flex layout to floated layout for text wrapping)
*/
.flex-to-float--xlarge {
display: flex;
align-items: center;
@include media('>xlarge') {
display: block;
.block__image {
float: left;
margin-bottom: $space-half;
}
}
}
103 changes: 0 additions & 103 deletions assets/sass/_module.carousels.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,106 +3,3 @@
\*------------------------------------*/

.js [data-carousel] { display: none; }

.carousel-spacing {
@include media('>mlarge') {
padding-right: rem(65);
}
}

/**
* Carousel arrows
*/
.slick-arrow {
margin-top: $space-half;
display: flex;
padding: rem(12);
cursor: pointer;
width: rem(45);
height: rem(45);
text-align: center;
align-items: center;
justify-content: center;
position: absolute;
bottom: 0;
left: 50%;
}
.arrow-icon {
display: block;
text-align: center;
line-height: 1;
}
.slick-prev {
@include media(">medium") {
left: 0;
}

transform: translate(0, -50%) rotate(180deg);
&.slick-arrow--square {
display: none !important; // Because Slick adds display: inline; as an inline style.
}

}
.slick-next {
@include media(">medium") {
right: 0;
left: auto;
}
}

/**
* Arrow styles
*/
// Square
.slick-arrow--square {
color: $link-color--beta;
background-color: $white;
padding: rem(14);
&:hover {
color: $link-color-hover--beta;
}
@include media('>mlarge') {
position: absolute;
top: 50%;
transform: translate(0, -50%);
z-index: 10;
margin-top: 0;
}
}

// Round
.slick-arrow--circle {
color: $link-color--alpha;
border: rem(2) solid $link-color--alpha;
position: absolute;
bottom: 0;
z-index: 10;
margin-top: 0;
margin-left: rem(10);
transform: translate(0, 0);
@include media('>medium') {
top: 50%;
transform: translate(0, -51%); // 50% causes a weird cutoff portion on rounded border.
}
&:hover {
color: $white;
background-color: $link-color-hover--gamma;
border-color: $link-color-hover--gamma;
}
&.slick-prev {
transform: translateX(-100%) rotate(180deg);
margin-right: rem(10);
margin-left: 0;
@include media('>medium') {
transform: translate(0, -51%) rotate(180deg);
}
}
}

.section--with-carousel {
.slick-arrow--square {
@include media('<=mlarge') {
display: none !important; // Slick applies inline styles to these.
}
}
}
33 changes: 0 additions & 33 deletions assets/sass/_module.sandbox.scss

This file was deleted.

Loading

0 comments on commit 879242f

Please sign in to comment.