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
- if Rails.env == 'development' | |
:css | |
.jw-non-functional { | |
box-shadow: 0 0 6px 4px rgba(255, 127, 80, .6); | |
} | |
- else | |
:css | |
.jw-non-functional { | |
display: none; | |
} |
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
/** | |
* box-shadow vs filter: drop-shadow | |
*/ | |
body { | |
background: #aaa; | |
font: 16px/1 sans-serif; | |
} | |
div { | |
margin: 100px; |
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
### | |
* Cross Browser XML HTTP Request | |
* https://stackoverflow.com/questions/2557247/easiest-way-to-retrieve-cross-browser-xmlhttprequest | |
* | |
* Gist: https://gist.github.com/michsch/acf8d51039e078f8fe07 | |
### | |
### global | |
ActiveXObject, | |
define, |
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
[alias] | |
co = checkout | |
br = branch | |
ci = commit | |
st = status | |
unstage = reset HEAD -- | |
last = log -1 HEAD | |
graph = log --graph | |
amsi = commit --amend --signoff | |
amend = commit --amend |
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
/** | |
* http://gotofritz.net/blog/geekery/rename-files-while-copying-grunt/ | |
*/ | |
module.exports = function( grunt ) { | |
"use strict"; | |
grunt.initConfig({ | |
//copy all css files to sass directory, and rename to .scss | |
copy: { |
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
/*========= Columns =================== */ | |
/* col1 / col2 / col3 */ | |
.ym-column>(.ym-col1>.ym-cbox-left)+(.ym-col2>.ym-cbox)+(.ym-col3>.ym-cbox-right>.ym-ie-clearing) | |
/* col1 / col3 / col2 */ | |
.ym-column>(.ym-col1>.ym-cbox-left)+(.ym-col3>.ym-cbox>.ym-ie-clearing)+(.ym-col2>.ym-cbox-right) | |
/* col2 / col3 / col1 */ | |
.ym-column>(.ym-col2>.ym-cbox-left)+(.ym-col3>.ym-cbox>.ym-ie-clearing)+(.ym-col1>.ym-cbox-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
# A class-based template for jQuery plugins in Coffeescript | |
# | |
# $('.target').myPlugin({ paramA: 'not-foo' }); | |
# $('.target').myPlugin('myMethod', 'Hello, world'); | |
# | |
# Check out Alan Hogan's original jQuery plugin template: | |
# https://github.com/alanhogan/Coffeescript-jQuery-Plugin-Template | |
# | |
(($, window) -> |
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
#### Aktivierung RealURL #### | |
config { | |
baseURL = http://domain.com/ | |
tx_realurl_enable = 1 | |
prefixLocalAnchors = all | |
notification_email_urlmode = all | |
} | |
#### Aktivierung RealURL #### | |
#Base-URL-Fix für IE6 Fehler "Vorgang abgebrochen" |
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
module.exports = function(grunt) { | |
"use strict"; | |
grunt.initConfig({ | |
sass : { | |
dev : { | |
options : { | |
sassFolder : 'sass', | |
cssFolder : 'dev', | |
sourcemap : true, |
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
/** | |
* original found here: http://stackoverflow.com/questions/7264899/detect-css-transitions-using-javascript-and-without-modernizr | |
*/ | |
var featureDetection = ( function( exports, root, document ) { | |
"use strict"; | |
exports.transition = function() { | |
var body, bodyStyle, feature, prefix; | |
body = document.body || document.documentElement; |