One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
// In this file you will find the mixins to use in this project. | |
// If you change this file you will need to recompile | |
// the main style structure file again! | |
// to do that just run in a terminal box the following: | |
// sass {path/to/file.sass}:{path/to/file.css} | |
// RESET VALUES MIXIN | |
=reset | |
html, |
<cffunction name="HexToRGB" returnType="string" hint="Convert HEX code to RGB(A) using 3 or 6 HEX digit value (valid examples: ##FFF, FFF, ##FFFFFF, FFFFFF)" access="remote"> | |
<!--- Variable that will receive the converted RGB value ---> | |
<cfset var rgbColor = ""> | |
<!--- Start out with a base HEX web color of 3 or 6 digit value. ---> | |
<cfset var HexColor = ARGUMENTS.HexColor> | |
<!--- look for a leading '#' and set an offset to use as a caller to removeChars ---> | |
<cfset var offset = 0> |
// you need on the HTML to set the img url into the data-src, and the pre-load img(gif) on the src | |
// function below gets your data-src info and set it on the src attribute after 1500ms | |
window.setTimeout(function() { | |
var images = document.getElementsByTagName('img'); | |
for (var i = 0; i < images.length; i++) { | |
var currImage = images[i]; | |
if (currImage.getAttribute('data-src')) { |
function validadeForm() { | |
var lang = document.documentElement.lang; | |
switch (lang) | |
{ | |
case 'pt': | |
var language = 'pt', | |
error_message = 'Campo obrigatório.' | |
break; |
github recently switched to an https scheme as the default for cloning repos. as a side effect you may suddenly be prompted for a 'Username' and 'Password' when you push where, previously, you were able to do so without typing in credentials. the solution is to cause git to cache https credentials which is easy, since git uses curl under the covers
in your home directory create a file called '.netrc', for example
/Users/ahoward/.netrc
in it put these contents
/* SOME PLAIN CSS RESETS */ | |
/* | |
1. Fix mobile increase font-size on landscape mode | |
*/ | |
html { | |
-moz-text-size-adjust: none; | |
-webkit-text-size-adjust: 100%; | |
text-size-adjust: none; | |
} |