-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`$ cd public/stylesheets` `$ bourbon install` `$ bitters install`
- Loading branch information
Showing
88 changed files
with
3,348 additions
and
1 deletion.
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,5 @@ | ||
// Bourbon | ||
@import 'bourbon/bourbon'; | ||
|
||
// Bitters | ||
@import 'base/base'; |
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,15 @@ | ||
// Bitters 1.0.0 | ||
// http://bitters.bourbon.io | ||
// Copyright 2013-2015 thoughtbot, inc. | ||
// MIT License | ||
|
||
@import "variables"; | ||
|
||
// Neat Settings -- uncomment if using Neat -- must be imported before Neat | ||
// @import "grid-settings"; | ||
|
||
@import "buttons"; | ||
@import "forms"; | ||
@import "lists"; | ||
@import "tables"; | ||
@import "typography"; |
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,31 @@ | ||
#{$all-button-inputs}, | ||
button { | ||
@include appearance(none); | ||
-webkit-font-smoothing: antialiased; | ||
background-color: $action-color; | ||
border-radius: $base-border-radius; | ||
border: none; | ||
color: #fff; | ||
cursor: pointer; | ||
display: inline-block; | ||
font-family: $base-font-family; | ||
font-size: $base-font-size; | ||
font-weight: 600; | ||
line-height: 1; | ||
padding: 0.75em 1em; | ||
text-decoration: none; | ||
user-select: none; | ||
vertical-align: middle; | ||
white-space: nowrap; | ||
|
||
&:hover, | ||
&:focus { | ||
background-color: darken($action-color, 15%); | ||
color: #fff; | ||
} | ||
|
||
&:disabled { | ||
cursor: not-allowed; | ||
opacity: 0.5; | ||
} | ||
} |
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,78 @@ | ||
fieldset { | ||
background-color: lighten($base-border-color, 10%); | ||
border: $base-border; | ||
margin: 0 0 $small-spacing; | ||
padding: $base-spacing; | ||
} | ||
|
||
input, | ||
label, | ||
select { | ||
display: block; | ||
font-family: $base-font-family; | ||
font-size: $base-font-size; | ||
} | ||
|
||
label { | ||
font-weight: 600; | ||
margin-bottom: $small-spacing / 2; | ||
|
||
&.required::after { | ||
content: "*"; | ||
} | ||
|
||
abbr { | ||
display: none; | ||
} | ||
} | ||
|
||
#{$all-text-inputs}, | ||
select[multiple=multiple], | ||
textarea { | ||
background-color: $base-background-color; | ||
border: $base-border; | ||
border-radius: $base-border-radius; | ||
box-shadow: $form-box-shadow; | ||
box-sizing: border-box; | ||
font-family: $base-font-family; | ||
font-size: $base-font-size; | ||
margin-bottom: $base-spacing / 2; | ||
padding: $base-spacing / 3; | ||
transition: border-color; | ||
width: 100%; | ||
|
||
&:hover { | ||
border-color: darken($base-border-color, 10%); | ||
} | ||
|
||
&:focus { | ||
border-color: $action-color; | ||
box-shadow: $form-box-shadow-focus; | ||
outline: none; | ||
} | ||
} | ||
|
||
textarea { | ||
resize: vertical; | ||
} | ||
|
||
input[type="search"] { | ||
@include appearance(none); | ||
} | ||
|
||
input[type="checkbox"], | ||
input[type="radio"] { | ||
display: inline; | ||
margin-right: $small-spacing / 2; | ||
} | ||
|
||
input[type="file"] { | ||
padding-bottom: $small-spacing; | ||
width: 100%; | ||
} | ||
|
||
select { | ||
margin-bottom: $base-spacing; | ||
max-width: 100%; | ||
width: auto; | ||
} |
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 @@ | ||
@import "neat-helpers"; // or "../neat/neat-helpers" when not in Rails | ||
|
||
// Neat Overrides | ||
// $column: 90px; | ||
// $gutter: 30px; | ||
// $grid-columns: 12; | ||
// $max-width: em(1088); | ||
|
||
// Neat Breakpoints | ||
$medium-screen: em(640); | ||
$large-screen: em(860); | ||
|
||
$medium-screen-up: new-breakpoint(min-width $medium-screen 4); | ||
$large-screen-up: new-breakpoint(min-width $large-screen 8); |
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,31 @@ | ||
ul, | ||
ol { | ||
list-style-type: none; | ||
margin: 0; | ||
padding: 0; | ||
|
||
&%default-ul { | ||
list-style-type: disc; | ||
margin-bottom: $small-spacing; | ||
padding-left: $base-spacing; | ||
} | ||
|
||
&%default-ol { | ||
list-style-type: decimal; | ||
margin-bottom: $small-spacing; | ||
padding-left: $base-spacing; | ||
} | ||
} | ||
|
||
dl { | ||
margin-bottom: $small-spacing; | ||
|
||
dt { | ||
font-weight: bold; | ||
margin-top: $small-spacing; | ||
} | ||
|
||
dd { | ||
margin: 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,25 @@ | ||
table { | ||
@include font-feature-settings("kern", "liga", "tnum"); | ||
border-collapse: collapse; | ||
margin: $small-spacing 0; | ||
table-layout: fixed; | ||
width: 100%; | ||
} | ||
|
||
th { | ||
border-bottom: 1px solid darken($base-border-color, 15%); | ||
font-weight: 600; | ||
padding: $small-spacing 0; | ||
text-align: left; | ||
} | ||
|
||
td { | ||
border-bottom: $base-border; | ||
padding: $small-spacing 0; | ||
} | ||
|
||
tr, | ||
td, | ||
th { | ||
vertical-align: middle; | ||
} |
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,55 @@ | ||
body { | ||
@include font-feature-settings("kern", "liga", "pnum"); | ||
-webkit-font-smoothing: antialiased; | ||
color: $base-font-color; | ||
font-family: $base-font-family; | ||
font-size: $base-font-size; | ||
line-height: $base-line-height; | ||
} | ||
|
||
h1, | ||
h2, | ||
h3, | ||
h4, | ||
h5, | ||
h6 { | ||
font-family: $heading-font-family; | ||
font-size: $base-font-size; | ||
line-height: $heading-line-height; | ||
margin: 0 0 $small-spacing; | ||
} | ||
|
||
p { | ||
margin: 0 0 $small-spacing; | ||
} | ||
|
||
a { | ||
color: $action-color; | ||
text-decoration: none; | ||
transition: color 0.1s linear; | ||
|
||
&:active, | ||
&:focus, | ||
&:hover { | ||
color: darken($action-color, 15%); | ||
} | ||
|
||
&:active, | ||
&:focus { | ||
outline: none; | ||
} | ||
} | ||
|
||
hr { | ||
border-bottom: $base-border; | ||
border-left: none; | ||
border-right: none; | ||
border-top: none; | ||
margin: $base-spacing 0; | ||
} | ||
|
||
img, | ||
picture { | ||
margin: 0; | ||
max-width: 100%; | ||
} |
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,35 @@ | ||
// Typography | ||
$base-font-family: $helvetica; | ||
$heading-font-family: $base-font-family; | ||
|
||
// Font Sizes | ||
$base-font-size: 1em; | ||
|
||
// Line height | ||
$base-line-height: 1.5; | ||
$heading-line-height: 1.2; | ||
|
||
// Other Sizes | ||
$base-border-radius: 3px; | ||
$base-spacing: $base-line-height * 1em; | ||
$small-spacing: $base-spacing / 2; | ||
$base-z-index: 0; | ||
|
||
// Colors | ||
$blue: #477dca; | ||
$dark-gray: #333; | ||
$medium-gray: #999; | ||
$light-gray: #ddd; | ||
|
||
// Font Colors | ||
$base-background-color: #fff; | ||
$base-font-color: $dark-gray; | ||
$action-color: $blue; | ||
|
||
// Border | ||
$base-border-color: $light-gray; | ||
$base-border: 1px solid $base-border-color; | ||
|
||
// Forms | ||
$form-box-shadow: inset 0 1px 3px rgba(#000, 0.06); | ||
$form-box-shadow-focus: $form-box-shadow, 0 0 5px adjust-color($action-color, $lightness: -5%, $alpha: -0.3); |
Oops, something went wrong.