├── Organisms ├── _SiteFooter.scss └── _SiteHeader.scss ├── .gitignore ├── _Framework ├── _Index.scss ├── _Head.scss ├── _MediaQueries.scss ├── _Mixins.scss ├── _Functions.scss └── _Normalize.scss ├── Atoms ├── _Quote.scss ├── _Table.scss ├── _Form.scss ├── _Ruler.scss ├── _Label.scss ├── _Code.scss ├── _Base.scss ├── _Link.scss ├── _List.scss ├── _Alert.scss ├── _Typography.scss ├── _Heading.scss ├── _Media.scss ├── _Input.scss └── _Button.scss ├── .travis.yml ├── Molecules ├── _ButtonGroup.scss ├── _Grid.scss ├── _Form.scss ├── _Navigation.scss ├── _Spinner.scss ├── _Flag.scss ├── _FlexibleEmbed.scss ├── _Media.scss └── _Table.scss ├── Utilities ├── _Display.scss ├── _Layout.scss ├── _Brand.scss ├── _Animations.scss ├── _Typography.scss ├── _Spacings.scss └── _Widths.scss ├── Templates └── _Print.scss ├── package.json ├── Main.scss ├── README.md ├── CHANGELOG.md └── _Variables.scss /Organisms/_SiteFooter.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Site Footer 3 | */ 4 | 5 | .siteFooter { } -------------------------------------------------------------------------------- /Organisms/_SiteHeader.scss: -------------------------------------------------------------------------------- 1 | /* 2 | * Site Header 3 | */ 4 | 5 | .siteHeader { } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Installed Node dependencies. 2 | node_modules 3 | 4 | # Future gh-pages and compiled files. 5 | _Tests/ 6 | -------------------------------------------------------------------------------- /_Framework/_Index.scss: -------------------------------------------------------------------------------- 1 | @import "_Functions"; 2 | @import "_Mixins"; 3 | @import "_MediaQueries"; 4 | @import "Head"; 5 | @import "Normalize"; 6 | -------------------------------------------------------------------------------- /Atoms/_Quote.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Quotes 3 | */ 4 | 5 | q { 6 | // Sets consistent quote types. 7 | quotes: "\201C" "\201D" "\2018" "\2019"; 8 | } 9 | 10 | blockquote { 11 | margin: 0 0 rs($basic-spacing); 12 | } 13 | -------------------------------------------------------------------------------- /Atoms/_Table.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Tables 3 | */ 4 | 5 | table { 6 | max-width: 100%; 7 | border-collapse: collapse; 8 | border-spacing: 0; 9 | } 10 | 11 | th { 12 | text-align: $start; 13 | vertical-align: bottom; 14 | } 15 | 16 | td { 17 | vertical-align: top; 18 | } 19 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.10 4 | 5 | before_install: 6 | - gem update --system 7 | - gem install sass 8 | 9 | notifications: 10 | email: false 11 | 12 | branches: 13 | only: 14 | - development 15 | 16 | cache: 17 | directories: 18 | - node_modules -------------------------------------------------------------------------------- /Atoms/_Form.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Form 3 | */ 4 | 5 | /* 6 | * Form wrapper elements 7 | */ 8 | form { 9 | margin: 0; 10 | } 11 | 12 | fieldset { 13 | // Reset border, margin, and padding to define a consistend style accross all browsers. 14 | border: 0; 15 | margin: 0; 16 | padding: 0; 17 | } -------------------------------------------------------------------------------- /_Framework/_Head.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Declarations which should be put at the top of the document e.g. @font-face declarations and CSS viewports. 3 | */ 4 | 5 | /* 6 | * Global border-box 7 | */ 8 | html { 9 | box-sizing: border-box; 10 | } 11 | 12 | * { 13 | &, 14 | &:before, 15 | &:after { 16 | box-sizing: inherit; 17 | } 18 | } -------------------------------------------------------------------------------- /Atoms/_Ruler.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Rulers 3 | */ 4 | 5 | hr { 6 | // Address differences between Firefox and other browsers. 7 | -moz-box-sizing: content-box; 8 | box-sizing: content-box; 9 | 10 | display: block; 11 | height: 0; 12 | padding: 0; 13 | margin: rs($basic-spacing * 2) 0 rs($basic-spacing * 2); 14 | border: 0; 15 | border-top: 1px $basic-border-style $basic-border-color; 16 | } 17 | -------------------------------------------------------------------------------- /Molecules/_ButtonGroup.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Button group 3 | * Displays a set of buttons in a group. 4 | */ 5 | 6 | .btnGroup { 7 | @include u-cf(); 8 | } 9 | 10 | .btnGroup__btn { 11 | float: $start; 12 | border-radius: 0; 13 | border-right: 0; 14 | 15 | &:first-child { 16 | border-radius: $brand-border-radius 0 0 $brand-border-radius; 17 | } 18 | &:last-child { 19 | border-radius: 0 $brand-border-radius $brand-border-radius 0; 20 | border-right: 1px solid; 21 | } 22 | } -------------------------------------------------------------------------------- /Molecules/_Grid.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Grids 3 | */ 4 | 5 | $grid-gutter: $column-gutter / 2; 6 | 7 | /* 8 | * Grid object which is based on the util width classes. 9 | */ 10 | .g, 11 | .grid { 12 | margin-left: -#{$grid-gutter}; 13 | margin-right: -#{$grid-gutter}; 14 | 15 | @include u-cf(); 16 | } 17 | 18 | /* 19 | * Grid item, floats itself into the grid and depends on the u-w#/# util classes. 20 | */ 21 | .gi, 22 | .grid__item { 23 | float: $start; 24 | padding-left: $grid-gutter; 25 | padding-right: $grid-gutter; 26 | } 27 | -------------------------------------------------------------------------------- /Atoms/_Label.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Form elements 3 | */ 4 | 5 | /* 6 | * Base styling for all labels. 7 | */ 8 | label { 9 | display: block; 10 | font-weight: $regular; 11 | font-size: rs(14, $unit: rem); 12 | 13 | &[for] { 14 | cursor: pointer; 15 | } 16 | } 17 | 18 | /* 19 | * Base styling for all legends. 20 | */ 21 | legend { 22 | display: block; 23 | width: 100%; 24 | padding: 0; 25 | margin-bottom: rs($basic-spacing); 26 | border-bottom: 1px $basic-border-style $basic-border-color; 27 | font-size: rs($base-font-size + 4, $unit: rem); 28 | } 29 | -------------------------------------------------------------------------------- /Atoms/_Code.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Code & pre-formatted text elements 3 | */ 4 | 5 | code, 6 | kbd, 7 | pre, 8 | samp { 9 | // Corrects font family set oddly in Safari 5 and Chrome. 10 | font-family: $mono-font-family; 11 | font-size: .8em; 12 | } 13 | 14 | code { 15 | background: color-adjust($content-background, 5%); 16 | padding: .3em .5em; 17 | border-radius: 2px; 18 | 19 | pre & { 20 | padding: 0; 21 | } 22 | } 23 | 24 | pre { 25 | // Improves readability of pre-formatted text in all browsers. 26 | white-space: pre-wrap; 27 | margin: 0 0 rs($basic-spacing); 28 | } 29 | -------------------------------------------------------------------------------- /Atoms/_Base.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Base and high-level wrapper elements 3 | */ 4 | 5 | body { 6 | $line-height: $base-line-height/$base-font-size; 7 | $font-size: $base-font-size / 16 * 100%; 8 | // Remove default margin. 9 | margin: 0; 10 | 11 | font: $base-font-weight #{$font-size }/#{$line-height} $base-font-family; 12 | text-align: $start; 13 | color: $base-text-color; 14 | background: $body-background; 15 | } 16 | 17 | .siteWrapper { 18 | position: relative; 19 | width: $layout-width; 20 | max-width: $layout-max-width; 21 | 22 | @if $centered-layout { 23 | margin-left: auto; 24 | margin-right: auto; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Molecules/_Form.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Form 3 | */ 4 | 5 | /* 6 | * The base class for all forms. 7 | */ 8 | .form { 9 | margin-bottom: rs($basic-spacing, $unit: rem); 10 | } 11 | .form__item { 12 | margin-bottom: rs($half-spacing, $unit: rem); 13 | } 14 | 15 | /* 16 | * Display a `