-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alex Cabrera
committed
Jun 3, 2015
1 parent
7153132
commit 344c964
Showing
14 changed files
with
155 additions
and
15 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
$corner-curve : 0.6em | ||
|
||
.EntryCard | ||
background-color : $palette-white | ||
border : 1px solid $palette-light_gray | ||
border-radius : $corner-curve | ||
|
||
._EntryCover__ | ||
|
||
.Cover | ||
text-decoration : none | ||
border-radius : $corner-curve |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
.EntryCard | ||
padding: $gutter | ||
|
||
.Cover | ||
position : relative | ||
display : block | ||
|
||
._Info | ||
+vertically-center | ||
position : relative | ||
width : 100% | ||
|
||
._Title | ||
margin-bottom : 0 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
._EntryCover__ | ||
text-align : center | ||
|
||
._Title | ||
color : rgba(255,255,255,0.85) | ||
font-family : $font-stack-title | ||
font-weight : 700 | ||
font-size : 4em | ||
line-height : 1em | ||
text-align : left | ||
text-transform : uppercase |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
._EntryCover__ | ||
|
||
._Info | ||
+vertically-center | ||
margin-left: auto | ||
margin-right: auto | ||
|
||
._Title | ||
margin: 0 | ||
padding: $gutter |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
.Entry__ | ||
|
||
._EntryCover__ | ||
|
||
._Title | ||
font-size: 6.4em | ||
line-height: 0.95em | ||
|
||
._EntryContent__ | ||
background-color : $palette-white | ||
box-shadow : 0 0 ($gutter * 2) 0 rgba(0,0,0,0.8) | ||
|
||
.TextBlock | ||
font-family : $font-stack-serif | ||
font-size : 1.5em | ||
line-height : 2em |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,29 @@ | ||
$cover-height : 80vh | ||
|
||
.Entry__ | ||
|
||
._EntryCover__ | ||
text-align: center | ||
position: fixed | ||
top: 0 | ||
left: 0 | ||
width: 100% | ||
|
||
.Cover | ||
height: 100vh | ||
|
||
._Title | ||
margin : 0 auto | ||
max-width : $Block-column-width--text | ||
|
||
|
||
._EntryContent__ | ||
position : absolute | ||
top: 90vh | ||
margin-bottom : 40vh | ||
padding-top : $gutter * 3 | ||
left : 2vw | ||
right : 2vw | ||
|
||
.TextBlock | ||
line-height: 1.5em | ||
margin-bottom: $gutter * 4 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.Home__ | ||
|
||
._EntryList__ | ||
|
||
.EntryCard | ||
|
||
._Title | ||
font-size: 4em |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.Home__ | ||
|
||
._EntryList__ | ||
margin: 0 auto | ||
max-width: $Block-column_width--text | ||
|
||
.EntryCard | ||
margin : $gutter | ||
|
||
.Cover | ||
height : 50vh |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
React = require 'react' | ||
Card = require 'marquee-static-sdk/components/Card' | ||
React = require 'react' | ||
Card = require 'marquee-static-sdk/components/Card' | ||
|
||
EntryCover = require '../layouts/EntryCover.cjsx' | ||
EntryCover = require '../layouts/EntryCover.cjsx' | ||
|
||
|
||
module.exports = React.createClass | ||
displayName: 'EntryCard' | ||
render: -> | ||
|
||
<Card className='EntryCard'> | ||
<EntryCover title={@props.entry.title} link={@props.entry.link} /> | ||
<EntryCover | ||
image = { @props.entry.cover_image.w(800) } | ||
title = { @props.entry.title } | ||
link = { @props.entry.link } | ||
/> | ||
</Card> |
This file contains 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
This file contains 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
This file contains 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