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
// Vendor helpers and resets | |
@import 'compass/css3'; | |
@import 'normalize'; | |
// Variables and mixins | |
@import 'setup/colors'; | |
@import 'setup/defaults'; | |
@import 'setup/fonts'; | |
@import 'setup/mixins'; |
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
# Store javascript references to sprites in spriteList.js | |
# Author: dan.tello@viget.com | |
on_sprite_saved do |file_path| | |
# Path to file where sprite data is to be stored | |
javascript_file = "public/javascripts/base/compass_sprites.js" | |
path_segments = file_path.split('/public').last.split('/') | |
file_name = path_segments.pop | |
image_path = path_segments.join('/') + '/' | |
base_folder = path_segments[2] | |
parent_folder = path_segments[path_segments.length - 1] |
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
-webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC); |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title><?php echo $page_title; ?></title> | |
</head> | |
<body> | |
<?php echo $content_for_layout; ?> |
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
createPlaceholders: function() { | |
var noPlaceholderSupport = $('html').hasClass('lte9'); | |
if(noPlaceholderSupport) { | |
var createPlaceholder = function() { | |
var self = this; | |
var $this = $(this); | |
var isEmpty = true; | |
var placeholder = this.placeholder; |
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
createPlaceholders: function() { | |
var noPlaceholderSupport = $('html').hasClass('lte9'); | |
if(noPlaceholderSupport) { | |
var createPlaceholder = function() { | |
var self = this; | |
var $this = $(this); | |
var isEmpty = true; | |
var placeholder = this.placeholder; |
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
<dict> | |
<key>name</key> | |
<string>,</string> | |
<key>scope</key> | |
<string>meta.delimiter.comma</string> | |
<key>settings</key> | |
<dict> | |
<key>foreground</key> | |
<string>#4E566B</string> | |
</dict> |
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
@media (min--moz-device-pixel-ratio: 1.5), | |
(-o-min-device-pixel-ratio: 3/2), | |
(-webkit-min-device-pixel-ratio: 1.5), | |
(min-device-pixel-ratio: 1.5), | |
(min-resolution: 144dpi), | |
(min-resolution: 1.5dppx) { | |
/* Retina rules! */ | |
} |
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> | |
// Add a script element as a child of the body | |
function downloadJSAtOnload() { | |
var element = document.createElement("script"); | |
element.src = "deferredfunctions.js"; | |
document.body.appendChild(element); | |
} | |
// Check for browser support of event handling capability |