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) | |
// ---- | |
$listOfSizes:( | |
(25px, 2px), | |
(20px, 2px, small), | |
(30px, 3px, big) |
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 p1 = { | |
x: 20, | |
y: 20 | |
}; | |
var p2 = { | |
x: 40, | |
y: 40 | |
}; |
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
$.fn.parallax = function(options) { | |
var windowHeight = $(window).height(); | |
var settings = $.extend({ | |
velocity: 0.15, | |
offset: 0 | |
}, options); | |
return this.each(function() { | |
var element = $(this); | |
var velocity = ($(this).data("velocity") ? $(this).data("velocity") : settings.velocity); | |
var img_offset = ($(this).data("offset") ? $(this).data("offset") : settings.offset); |
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) | |
// ---- | |
@function _ss-str-repeat($string, $times, $glue) { | |
$result: ""; | |
$a: ('s', 'ss'); | |
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) | |
// ---- | |
.a { | |
$parent: &; | |
.b { | |
&__c { | |
color: red; |
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) | |
// ---- | |
.a { | |
$parent: &; | |
.b { | |
&__c { | |
color: red; |
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
/* | |
* jQuery Form Tips 1.2.6 | |
* By Manuel Boy (http://www.manuelboy.de) | |
* Copyright (c) 2012 Manuel Boy | |
* Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php | |
*/ | |
(function(a){a.fn.formtips=function(b){var c=a.extend({tippedClass:"tipped"},b);return this.each(function(){var b=a(this);var d=a(b).attr("type");if(d!="file"&&d!="checkbox"&&d!="radio"){a(b).bind("focus",function(){var b=a(this).attr("title");if(a(this).val()==b){a(this).val("").removeClass(c.tippedClass)}return true});a(b).bind("blur",function(){var b=a(this).attr("title");if(a(this).val()==""){a(this).val(b).addClass(c.tippedClass)}return true});var e=a(b).attr("title");if(a(b).val()==""||a(b).val()==a(this).attr("title")){a(b).val(e).addClass(c.tippedClass)}else{a(b).removeClass(c.tippedClass)}a(b).parentsUntil("form").parent().submit(function(){var d=a(b).attr("title");if(a(b).val()==d){a(b).val("").removeClass(c.tippedClass)}})}})}})(jQuery) |
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
/** | |
* Switch-style checkboxes. | |
* Inspired by Espresso’s “Tools” switch | |
*/ | |
input[type="checkbox"]:not(:checked), | |
input[type="checkbox"]:checked { /* :checked here acting as a filter for older browsers */ | |
position: absolute; | |
opacity: 0; | |
} |
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
<snippet> | |
<content><![CDATA[ | |
<td colspan="${1}" style="border:0; background:#${2:fff}; text-align:center; margin:0; width:${3:100}px; height:${4:100}px; vertical-align: top; padding:0;" width="${3:100}" height="${4:100}"> | |
</td> | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>edmph</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<!-- <scope>source.python</scope> --> | |
</snippet> |
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
<snippet> | |
<content><![CDATA[ | |
<table style="width:${1:600}px; margin:0 auto; border-collapse:collapse; border-spacing: 0; border:none; " cellspacing="0" cellpadding="0" border="0"> | |
${2} | |
</table> | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>edmtable</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<!-- <scope>source.python</scope> --> |
NewerOlder