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 App( | |
// usual config.scss stuff with set !default values | |
){ | |
@import 'base'; | |
@import 'ui.type'; | |
@import 'ui.buttons'; | |
// ... | |
} | |
// Init |
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
var MyNamespace = MyNamespace || {}; | |
(function ($) { | |
"use strict"; | |
var $w = $(window), | |
BU = MyNamespace.Util | |
; |
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
var MyNamespace = MyNamespace || {}; | |
(function ($) { | |
"use strict"; | |
var $w = $(window), | |
BU = MyNamespace.Util | |
; |
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
<!DOCTYPE html> | |
<!--[if lt IE 8]> <html class="lte-ie7" lang="en-au"><![endif]--> | |
<!--[if IE 8]> <html class="ie8" lang="en-au"> <![endif]--> | |
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en-au"> <!--<![endif]--> | |
<head> | |
<!-- Force IE to use highest browser compatibility --> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=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
$DEBUG_LAYOUT: 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
// Strip units from any value | |
// | |
@function strip-units($number) { | |
@return $number / ($number * 0 + 1); | |
} | |
// Convert pixels to ems | |
// $pxval may have units or be unitless | |
// eg. for a relational value of 12px write em(12) when the parent is 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
/* | |
|-------------------------------------------------------------------------- | |
| Block Grid for Neat | |
|-------------------------------------------------------------------------- | |
| | |
| An Automatic Rows type grid layout with no margins | |
| | |
| Overcomes a limitation of Bourbons's flex-grid(), where you can't set a | |
| value for $fg-gutter, impacting the width of the elements | |
| |
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
// import plugins outside | |
@import 'bourbon'; | |
@mixin application( | |
$config-var: 'foo', | |
$config-param: 200 | |
) { | |
// application |
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
<a href="tel:+1800555199">1-800-555-199</a> |