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
//***************// | |
// Reset // | |
//***************// | |
:root { | |
box-sizing: border-box; | |
cursor: default; | |
font: 16px/1.5 sans-serif; | |
text-rendering: optimizeLegibility; | |
text-size-adjust: 100%; |
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
module ApplicationHelper | |
def page_label | |
"#{controller_name} #{params[:action].gsub(/_/, " ")}" | |
end | |
end |
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
def svg_use file, options = {} | |
content_tag :svg, options do | |
content_tag :use, nil, :'xlink:href' => asset_path(file) | |
end | |
end |
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
var __; | |
__ = function(selector, filter) { | |
'use strict'; | |
var response; | |
function filtering(selectors, filter) { | |
switch (filter) { | |
case "first": |
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
Modernizr.load([ | |
{ | |
load: '//platform.twitter.com/widgets.js' | |
}, { | |
load: '//apis.google.com/js/plusone.js' | |
}, { | |
load: '//connect.facebook.net/en_US/all.js', | |
complete: function() { | |
return FB.init({ | |
appId: '482807518397041', |
NewerOlder