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
Showing
93 changed files
with
4,280 additions
and
199 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
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,87 @@ | ||
// Bourbon 4.2.6 | ||
// http://bourbon.io | ||
// Copyright 2011-2015 thoughtbot, inc. | ||
// MIT License | ||
|
||
@import "settings/prefixer"; | ||
@import "settings/px-to-em"; | ||
@import "settings/asset-pipeline"; | ||
|
||
@import "functions/assign-inputs"; | ||
@import "functions/contains"; | ||
@import "functions/contains-falsy"; | ||
@import "functions/is-length"; | ||
@import "functions/is-light"; | ||
@import "functions/is-number"; | ||
@import "functions/is-size"; | ||
@import "functions/px-to-em"; | ||
@import "functions/px-to-rem"; | ||
@import "functions/shade"; | ||
@import "functions/strip-units"; | ||
@import "functions/tint"; | ||
@import "functions/transition-property-name"; | ||
@import "functions/unpack"; | ||
@import "functions/modular-scale"; | ||
|
||
@import "helpers/convert-units"; | ||
@import "helpers/directional-values"; | ||
@import "helpers/font-source-declaration"; | ||
@import "helpers/gradient-positions-parser"; | ||
@import "helpers/linear-angle-parser"; | ||
@import "helpers/linear-gradient-parser"; | ||
@import "helpers/linear-positions-parser"; | ||
@import "helpers/linear-side-corner-parser"; | ||
@import "helpers/radial-arg-parser"; | ||
@import "helpers/radial-positions-parser"; | ||
@import "helpers/radial-gradient-parser"; | ||
@import "helpers/render-gradients"; | ||
@import "helpers/shape-size-stripper"; | ||
@import "helpers/str-to-num"; | ||
|
||
@import "css3/animation"; | ||
@import "css3/appearance"; | ||
@import "css3/backface-visibility"; | ||
@import "css3/background"; | ||
@import "css3/background-image"; | ||
@import "css3/border-image"; | ||
@import "css3/calc"; | ||
@import "css3/columns"; | ||
@import "css3/filter"; | ||
@import "css3/flex-box"; | ||
@import "css3/font-face"; | ||
@import "css3/font-feature-settings"; | ||
@import "css3/hidpi-media-query"; | ||
@import "css3/hyphens"; | ||
@import "css3/image-rendering"; | ||
@import "css3/keyframes"; | ||
@import "css3/linear-gradient"; | ||
@import "css3/perspective"; | ||
@import "css3/placeholder"; | ||
@import "css3/radial-gradient"; | ||
@import "css3/selection"; | ||
@import "css3/text-decoration"; | ||
@import "css3/transform"; | ||
@import "css3/transition"; | ||
@import "css3/user-select"; | ||
|
||
@import "addons/border-color"; | ||
@import "addons/border-radius"; | ||
@import "addons/border-style"; | ||
@import "addons/border-width"; | ||
@import "addons/buttons"; | ||
@import "addons/clearfix"; | ||
@import "addons/ellipsis"; | ||
@import "addons/font-stacks"; | ||
@import "addons/hide-text"; | ||
@import "addons/margin"; | ||
@import "addons/padding"; | ||
@import "addons/position"; | ||
@import "addons/prefixer"; | ||
@import "addons/retina-image"; | ||
@import "addons/size"; | ||
@import "addons/text-inputs"; | ||
@import "addons/timing-functions"; | ||
@import "addons/triangle"; | ||
@import "addons/word-wrap"; | ||
|
||
@import "bourbon-deprecated-upcoming"; |
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,26 @@ | ||
@charset "UTF-8"; | ||
|
||
/// Provides a quick method for targeting `border-color` on specific sides of a box. Use a `null` value to “skip” a side. | ||
/// | ||
/// @param {Arglist} $vals | ||
/// List of arguments | ||
/// | ||
/// @example scss - Usage | ||
/// .element { | ||
/// @include border-color(#a60b55 #76cd9c null #e8ae1a); | ||
/// } | ||
/// | ||
/// @example css - CSS Output | ||
/// .element { | ||
/// border-left-color: #e8ae1a; | ||
/// border-right-color: #76cd9c; | ||
/// border-top-color: #a60b55; | ||
/// } | ||
/// | ||
/// @require {mixin} directional-property | ||
/// | ||
/// @output `border-color` | ||
|
||
@mixin border-color($vals...) { | ||
@include directional-property(border, color, $vals...); | ||
} |
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,48 @@ | ||
@charset "UTF-8"; | ||
|
||
/// Provides a quick method for targeting `border-radius` on both corners on the side of a box. | ||
/// | ||
/// @param {Number} $radii | ||
/// List of arguments | ||
/// | ||
/// @example scss - Usage | ||
/// .element-one { | ||
/// @include border-top-radius(5px); | ||
/// } | ||
/// | ||
/// .element-two { | ||
/// @include border-left-radius(3px); | ||
/// } | ||
/// | ||
/// @example css - CSS Output | ||
/// .element-one { | ||
/// border-top-left-radius: 5px; | ||
/// border-top-right-radius: 5px; | ||
/// } | ||
/// | ||
/// .element-two { | ||
/// border-bottom-left-radius: 3px; | ||
/// border-top-left-radius: 3px; | ||
/// } | ||
/// | ||
/// @output `border-radius` | ||
|
||
@mixin border-top-radius($radii) { | ||
border-top-left-radius: $radii; | ||
border-top-right-radius: $radii; | ||
} | ||
|
||
@mixin border-right-radius($radii) { | ||
border-bottom-right-radius: $radii; | ||
border-top-right-radius: $radii; | ||
} | ||
|
||
@mixin border-bottom-radius($radii) { | ||
border-bottom-left-radius: $radii; | ||
border-bottom-right-radius: $radii; | ||
} | ||
|
||
@mixin border-left-radius($radii) { | ||
border-bottom-left-radius: $radii; | ||
border-top-left-radius: $radii; | ||
} |
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 @@ | ||
@charset "UTF-8"; | ||
|
||
/// Provides a quick method for targeting `border-style` on specific sides of a box. Use a `null` value to “skip” a side. | ||
/// | ||
/// @param {Arglist} $vals | ||
/// List of arguments | ||
/// | ||
/// @example scss - Usage | ||
/// .element { | ||
/// @include border-style(dashed null solid); | ||
/// } | ||
/// | ||
/// @example css - CSS Output | ||
/// .element { | ||
/// border-bottom-style: solid; | ||
/// border-top-style: dashed; | ||
/// } | ||
/// | ||
/// @require {mixin} directional-property | ||
/// | ||
/// @output `border-style` | ||
|
||
@mixin border-style($vals...) { | ||
@include directional-property(border, style, $vals...); | ||
} |
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 @@ | ||
@charset "UTF-8"; | ||
|
||
/// Provides a quick method for targeting `border-width` on specific sides of a box. Use a `null` value to “skip” a side. | ||
/// | ||
/// @param {Arglist} $vals | ||
/// List of arguments | ||
/// | ||
/// @example scss - Usage | ||
/// .element { | ||
/// @include border-width(1em null 20px); | ||
/// } | ||
/// | ||
/// @example css - CSS Output | ||
/// .element { | ||
/// border-bottom-width: 20px; | ||
/// border-top-width: 1em; | ||
/// } | ||
/// | ||
/// @require {mixin} directional-property | ||
/// | ||
/// @output `border-width` | ||
|
||
@mixin border-width($vals...) { | ||
@include directional-property(border, width, $vals...); | ||
} |
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,64 @@ | ||
@charset "UTF-8"; | ||
|
||
/// Generates variables for all buttons. Please note that you must use interpolation on the variable: `#{$all-buttons}`. | ||
/// | ||
/// @example scss - Usage | ||
/// #{$all-buttons} { | ||
/// background-color: #f00; | ||
/// } | ||
/// | ||
/// #{$all-buttons-focus}, | ||
/// #{$all-buttons-hover} { | ||
/// background-color: #0f0; | ||
/// } | ||
/// | ||
/// #{$all-buttons-active} { | ||
/// background-color: #00f; | ||
/// } | ||
/// | ||
/// @example css - CSS Output | ||
/// button, | ||
/// input[type="button"], | ||
/// input[type="reset"], | ||
/// input[type="submit"] { | ||
/// background-color: #f00; | ||
/// } | ||
/// | ||
/// button:focus, | ||
/// input[type="button"]:focus, | ||
/// input[type="reset"]:focus, | ||
/// input[type="submit"]:focus, | ||
/// button:hover, | ||
/// input[type="button"]:hover, | ||
/// input[type="reset"]:hover, | ||
/// input[type="submit"]:hover { | ||
/// background-color: #0f0; | ||
/// } | ||
/// | ||
/// button:active, | ||
/// input[type="button"]:active, | ||
/// input[type="reset"]:active, | ||
/// input[type="submit"]:active { | ||
/// background-color: #00f; | ||
/// } | ||
/// | ||
/// @require assign-inputs | ||
/// | ||
/// @type List | ||
/// | ||
/// @todo Remove double assigned variables (Lines 59–62) in v5.0.0 | ||
|
||
$buttons-list: 'button', | ||
'input[type="button"]', | ||
'input[type="reset"]', | ||
'input[type="submit"]'; | ||
|
||
$all-buttons: assign-inputs($buttons-list); | ||
$all-buttons-active: assign-inputs($buttons-list, active); | ||
$all-buttons-focus: assign-inputs($buttons-list, focus); | ||
$all-buttons-hover: assign-inputs($buttons-list, hover); | ||
|
||
$all-button-inputs: $all-buttons; | ||
$all-button-inputs-active: $all-buttons-active; | ||
$all-button-inputs-focus: $all-buttons-focus; | ||
$all-button-inputs-hover: $all-buttons-hover; |
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 @@ | ||
@charset "UTF-8"; | ||
|
||
/// Provides an easy way to include a clearfix for containing floats. | ||
/// | ||
/// @link http://cssmojo.com/latest_new_clearfix_so_far/ | ||
/// | ||
/// @example scss - Usage | ||
/// .element { | ||
/// @include clearfix; | ||
/// } | ||
/// | ||
/// @example css - CSS Output | ||
/// .element::after { | ||
/// clear: both; | ||
/// content: ""; | ||
/// display: table; | ||
/// } | ||
@mixin clearfix { | ||
&::after { | ||
clear: both; | ||
content: ""; | ||
display: table; | ||
} | ||
} |
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,30 @@ | ||
@charset "UTF-8"; | ||
|
||
/// Truncates text and adds an ellipsis to represent overflow. | ||
/// | ||
/// @param {Number} $width [100%] | ||
/// Max-width for the string to respect before being truncated | ||
/// | ||
/// @example scss - Usage | ||
/// .element { | ||
/// @include ellipsis; | ||
/// } | ||
/// | ||
/// @example css - CSS Output | ||
/// .element { | ||
/// display: inline-block; | ||
/// max-width: 100%; | ||
/// overflow: hidden; | ||
/// text-overflow: ellipsis; | ||
/// white-space: nowrap; | ||
/// word-wrap: normal; | ||
/// } | ||
@mixin ellipsis($width: 100%) { | ||
display: inline-block; | ||
max-width: $width; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
white-space: nowrap; | ||
word-wrap: normal; | ||
} |
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 @@ | ||
@charset "UTF-8"; | ||
|
||
/// Georgia font stack. | ||
/// | ||
/// @type List | ||
|
||
$georgia: "Georgia", "Cambria", "Times New Roman", "Times", serif; | ||
|
||
/// Helvetica font stack. | ||
/// | ||
/// @type List | ||
|
||
$helvetica: "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif; | ||
|
||
/// Lucida Grande font stack. | ||
/// | ||
/// @type List | ||
|
||
$lucida-grande: "Lucida Grande", "Tahoma", "Verdana", "Arial", sans-serif; | ||
|
||
/// Monospace font stack. | ||
/// | ||
/// @type List | ||
|
||
$monospace: "Bitstream Vera Sans Mono", "Consolas", "Courier", monospace; | ||
|
||
/// Verdana font stack. | ||
/// | ||
/// @type List | ||
|
||
$verdana: "Verdana", "Geneva", sans-serif; |
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,27 @@ | ||
/// Hides the text in an element, commonly used to show an image. Some elements will need block-level styles applied. | ||
/// | ||
/// @link http://zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement | ||
/// | ||
/// @example scss - Usage | ||
/// .element { | ||
/// @include hide-text; | ||
/// } | ||
/// | ||
/// @example css - CSS Output | ||
/// .element { | ||
/// overflow: hidden; | ||
/// text-indent: 101%; | ||
/// white-space: nowrap; | ||
/// } | ||
/// | ||
/// @todo Remove height argument in v5.0.0 | ||
|
||
@mixin hide-text($height: null) { | ||
overflow: hidden; | ||
text-indent: 101%; | ||
white-space: nowrap; | ||
|
||
@if $height { | ||
@warn "The `hide-text` mixin has changed and no longer requires a height. The height argument will no longer be accepted in v5.0.0"; | ||
} | ||
} |
Oops, something went wrong.