This file contains hidden or 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
| // TEXT STYLES | |
| // -------------------------------------------- | |
| .text-1 | |
| color: $dark-text | |
| text-transform: uppercase | |
| .text-2 | |
| color: $blue | |
| text-transform: uppercase |
This file contains hidden or 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
| /* ----------------------------------------------------------------------- */ | |
| /* */ | |
| /* Improved upon a mixin from 37signals and combined */ | |
| /* with these numbers from marc. */ | |
| /* */ | |
| /* 37signals-version: */ | |
| /* http://37signals.com/svn/posts/3271-easy-retina-ready-images-using-scss */ | |
| /* */ | |
| /* @kimroen */ | |
| /* */ |
This file contains hidden or 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
| @function icon-url($path) { | |
| @return url("../../assets/icons/#{$path}"); | |
| } | |
| @function bg-url($path) { | |
| @return url("../../assets/bg/#{$path}"); | |
| } | |
| @function asset-url($path) { | |
| @return url("../../assets/#{$path}"); |
This file contains hidden or 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
| sass: { | |
| options: { | |
| loadPath: ['./components/stitch-grid'] | |
| } | |
| } |
This file contains hidden or 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
| @mixin grid-background($column-color: rgba(255,0,0,0.2), $baseline-color: rgba(0,0,0,0.3)) { | |
| background: | |
| // Baseline | |
| -webkit-linear-gradient(top, $baseline-color 1px, transparent 1px), | |
| // Grid | |
| -webkit-linear-gradient(left, $column-color 0, $column-color $grid-column-width, transparent $grid-column-width) | |
| ; | |
| background-size: $grid-baseline $grid-baseline, ($grid-column-width + $grid-gutter-width) $grid-baseline; | |
| background-position: 0 ($grid-baseline - 1); | |
| } |
This file contains hidden or 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
| // Sharpen an image if it has become blurry due to upscaling or downscaling | |
| // https://developer.mozilla.org/en/CSS/image-rendering | |
| @mixin sharpen-image | |
| image-rendering:-moz-crisp-edges | |
| // When photos are upscaled or downscaled, they often get blurry. Don't use | |
| // this on flat color images, they will still appear blurry. | |
| // https://developer.mozilla.org/en/CSS/image-rendering | |
| @mixin high-quality-image | |
| image-rendering:optimizeQuality |
This file contains hidden or 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
| jshint: { | |
| // See http://www.jshint.com/docs/ | |
| options: { | |
| // Enforce camelcase variables | |
| camelcase: true, | |
| // Always put curly braces around blocks in loops and conditionals | |
| curly: true, |
This file contains hidden or 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
| @module grid { | |
| $columns: 12; | |
| $gutter: 30px; | |
| $baseline: 20px; | |
| $width: 60px; | |
| @function columns($n, $size) { | |
| } | |
This file contains hidden or 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
| .btn-large { | |
| line-height: 44px; | |
| .caret { | |
| margin-top:14px; | |
| } | |
| [class^="icon-"] { | |
| margin-top: 2px; | |
| } | |
| .btn-group > & { | |
| font-size: 16px; |
This file contains hidden or 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
| // Grid sizes | |
| #grid > .input(@gridColumnWidth, @gridGutterWidth); |