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
$notification-confirm: hsla(101, 72%, 37%, 1); // Green | |
$notification-warning: #ffc53a; // Yellow | |
$notification-alert: rgb(172, 34, 34); // Red | |
%notification { | |
border-radius: 10px; | |
display: block; | |
font-size: 1.5em; | |
font-family: sans-serif; | |
padding: 1em 2em; |
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
// ---- | |
// Sass (v3.3.7) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
$base-font-size: 1em; | |
$font-size-h1 : $base-font-size * 2.25; // 16 * 2.25 = 36px | |
$font-size-h2 : $base-font-size * 2; // 16 * 2 = 32px | |
$font-size-h3 : $base-font-size * 1.75; // 16 * 1.75 = 28px | |
$font-size-h4 : $base-font-size * 1.5; // 16 * 1.5 = 24px |
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
<div class="l-two-col"> | |
<div class="l-first"></div> | |
<div class="l-second"></div> | |
</div> | |
<div class="l-three-col"> | |
<div class="l-first"></div> | |
<div class="l-second"></div> | |
<div class="l-third"></div> | |
</div> |
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
<a>hello</a> |
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
// ---- | |
// Sass (v3.3.10) | |
// Compass (v1.0.0.alpha.20) | |
// ---- | |
$sizes : small medium large; | |
@each $size in $sizes{ | |
@include m($size) { | |
@include #{$size}-only() { | |
display: none; |
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
gulp.task("build:html", function() { | |
var cssFilter = $.filter(path.styles.css); | |
var jsFilter = $.filter(path.scripts.distjs); | |
var gutil = require('gulp-load-utils')(['log']); | |
return gulp.src(path.html.rawBase) | |
.pipe($.useref.assets().on("error", gutil.log)) | |
.pipe(jsFilter) | |
.pipe(jsFilter.restore()) | |
.pipe(cssFilter) |
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
// 1. BEM Mixin | |
@mixin e($name) { | |
@at-root &__#{$name} { | |
@content; | |
} | |
} | |
//modifiers get appended with "--" and the $name | |
@mixin m($name) { | |
@at-root &--#{$name} { |
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
{ | |
"auto_complete_commit_on_tab": true, | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"color_scheme": "Packages/User/base16-eighties.dark (SL).tmTheme", | |
"detect_indentation": false, | |
"draw_white_space": "selection", | |
"folder_exclude_patterns": | |
[ | |
".svn", |
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
.atwho-view { | |
top: 0; | |
left: 0; | |
position: absolute; | |
display: none; | |
overflow: auto; | |
ul { | |
&:extend(.dropdown-menu); | |
position: relative; |
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
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
<script type="text/javascript" src="http://www.parsecdn.com/js/parse-1.2.8.min.js"></script> | |
Parse.initialize("CqvQbKeavBips6SMg1w2HVl1dPFwdq3KOTYOhpwg", "Xu3fHRW5GWhVPgFFvlMiK0ACFSkaSmmzn8I87XqM"); //application key | |
var TestObject = Parse.Object.extend("TestObject"); | |
//adding new element to the db |
OlderNewer