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 (v3.4.14) | |
// Compass (v1.0.3) | |
// ---- | |
// ASSERT ------------------------------------------------------ | |
/// Call multiple asserts at once | |
/// @param {*} $value | |
/// @param {List} $asserts |
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 (v3.4.14) | |
// Compass (v1.0.3) | |
// ---- | |
@mixin rgback($color, $alpha: 1, $rest...) { | |
@if 'color' != type-of($color) or 1 == alpha($color) { | |
$color: rgba($color, $alpha, $rest...); | |
} |
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 (v3.4.14) | |
// Compass (v1.0.3) | |
// ---- | |
// content for all query modifiers map (name: query) | |
@mixin vary-query($queries, $none: true) { | |
$prev: $VARY__OPENED; | |
// No query modifier |
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
// This code does not work! | |
// It's just a thought about a way of adding style to a react component | |
React.createClass({ | |
render: function () { | |
return ( | |
<div ref="module"> | |
<div ref="title">{ props.user.title }</div> | |
<div ref="description">{ props.user.description }</div> | |
</div> | |
); |
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 (v3.4.13) | |
// Compass (v1.0.3) | |
// ---- | |
// ---- | |
// Sass (v3.4.13) | |
// Compass (v1.0.3) | |
// ---- |
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 (v3.4.13) | |
// Compass (v1.0.3) | |
// ---- | |
@function chain($value, $functions...) { | |
@each $function in $functions { | |
$value: call(nth($function, 1), set-nth($function, 1, $value)...); | |
} | |
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
/*jslint node: true */ | |
'use strict'; | |
var React = require('react'); | |
var loader = require('scriptjs'); | |
module.exports = React.createClass({ | |
propTypes: { | |
handler: React.PropTypes.string.isRequired, | |
handlerUrl: React.PropTypes.string, |
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
.ordering { | |
background: black; | |
color: white; | |
position: absolute; | |
bottom: 0; | |
left: 0; | |
right: 0; | |
top: 0; | |
text-align: right; | |
} |
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 (v3.4.7) | |
// Compass (v1.0.1) | |
// ---- | |
// path e.g. 'c.B' | |
$z-stack: ( | |
a: 'just a comment', // 8 | |
b: 2, // 7 @warn | |
c: ( // 4 |
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 (v3.4.7) | |
// Compass (v1.0.1) | |
// ---- | |
@function map-set($map, $key, $value) { | |
@return map-merge($map, ($key: $value)); | |
} | |