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
| /** | |
| * Scrolling shadows by @kizmarh and @leaverou | |
| * Only works in browsers supporting background-attachment: local; & CSS gradients | |
| * Degrades gracefully | |
| */ | |
| html { | |
| background: white; | |
| font: 120% sans-serif; | |
| } |
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
| @mixin threedshadow($color, $depth) { | |
| $all: (); | |
| @for $i from 1 through $depth { | |
| $all: append($all, append($i*0px $i*1px 0, darken($color, $i+14%)), comma); | |
| } | |
| $all: append($all, 3px $depth*1px+5px 15px rgba(0,0,0,.1), comma); | |
| $all: append($all, 3px $depth*1px+5px 5px rgba(0,0,0,.3)); | |
| text-shadow: $all; | |
| } |
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
| wp-config-locale.php |
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
| /** | |
| * Circular Tooltip (SO) | |
| * http://stackoverflow.com/q/13132864/1397351 | |
| */ | |
| * { margin: 0; padding: 0; } | |
| body { | |
| overflow: hidden; | |
| background: url(http://theearlcarlson.com/experiments/amTooltip/img/bg.jpg); | |
| } | |
| /* generic styles for button & circular menu */ |
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 helper = window.helper = { | |
| /* | |
| Boolean | |
| */ | |
| isiPad: navigator.userAgent.match(/iPad/i) != null, | |
| isRetina: window.devicePixelRatio && window.devicePixelRatio > 1, | |
| isOnline: navigator.onLine, | |
| isWebAppMode: window.navigator.standalone || false, | |
| landscape: function(){ return Math.abs(helper.orientation) === 90; }, | |
| portrait: function(){ return !helper.landscape() }, |
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
| <?php | |
| /* | |
| * find_and_replace_by takes 4 optional arguments | |
| * first is the host | |
| * second is db username | |
| * third is db password | |
| * fourth is database name | |
| * ie: $ find_and_replace_by.php root password drupal | |
| * or with two arguments: |
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
| function is_array(variable){ | |
| return Object.prototype.toString.call( variable ) === '[object Array]' | |
| } |
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://api.colourco.de/export/png/%23cdb6e7%2C%23bedae9%2C%23c0df9f%2C%23ddca98%2C%23e8baba | |
| purple | |
| #cdb6e7 | |
| rgb(205, 182, 231) | |
| hsl(268, 50%, 81%) | |
| hcl(309, 28%, 77%) | |
| lab(77, 17, -21) | |
| blue |
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
| <ul class="slideContainer" id="money_start"> | |
| <li class="slideItem" > | |
| EUR | |
| </li> | |
| <li class="slideItem"> | |
| USD | |
| </li> | |
| <li class="slideItem"> | |
| JPY | |
| </li> |
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 hasPlaceholder = function(){ | |
| return 'placeholder' in document.createElement('input'); | |
| } | |
| if(hasPlaceholder()){ | |
| $('form label').hide(); | |
| } |