Skip to content

Commit

Permalink
Beta version
Browse files Browse the repository at this point in the history
  • Loading branch information
lipsworld committed Feb 22, 2013
0 parents commit ca487c1
Show file tree
Hide file tree
Showing 4 changed files with 277 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
215 changes: 215 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,215 @@
#################
## Eclipse
#################

*.pydevproject
.project
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# CDT-specific
.cproject

# PDT-specific
.buildpath


#################
## Visual Studio
#################

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results

[Dd]ebug/
[Rr]elease/
x64/
build/
[Bb]in/
[Oo]bj/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.log
*.scc

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile

# Visual Studio profiler
*.psess
*.vsp
*.vspx

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# NCrunch
*.ncrunch*
.*crunch*.local.xml

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.Publish.xml
*.pubxml

# NuGet Packages Directory
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
#packages/

# Windows Azure Build Output
csx
*.build.csdef

# Windows Store app package directory
AppPackages/

# Others
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.[Pp]ublish.xml
*.pfx
*.publishsettings

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# SQL Server files
App_Data/*.mdf
App_Data/*.ldf

#############
## Windows detritus
#############

# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Mac crap
.DS_Store


#############
## Python
#############

*.py[co]

# Packages
*.egg
*.egg-info
dist/
build/
eggs/
parts/
var/
sdist/
develop-eggs/
.installed.cfg

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox

#Translations
*.mo

#Mr Developer
.mr.developer.cfg
39 changes: 39 additions & 0 deletions ColorLay.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
// Copyright 2013 Carlos Matos - www.startupeando.com.br
//
// Generates color overlay effect to any image, by just using CSS classes
// Format: ".overlay-[color]" or ".overlay-[color]-hover", to apply the filter just on mouse over
//
// Feel free to copy, use, modify, delete, have a beer or anything that comes to mind


// Creates a "false" DIV around the IMG tag and attributes it a new class
$(".overlay-blue").wrap("<div class='tint-blue'></div>");
$(".overlay-yellow").wrap("<div class='tint-yellow'></div>");
$(".overlay-red").wrap("<div class='tint-red'></div>");
$(".overlay-purple").wrap("<div class='tint-purple'></div>");
$(".overlay-green").wrap("<div class='tint-green'></div>");
$(".overlay-dark").wrap("<div class='tint-dark'></div>");
$(".overlay-white").wrap("<div class='tint-white'></div>");
$(".overlay-blue-hover").wrap("<div class='tint-blue-hover'></div>");
$(".overlay-yellow-hover").wrap("<div class='tint-yellow-hover'></div>");
$(".overlay-red-hover").wrap("<div class='tint-red-hover'></div>");
$(".overlay-purple-hover").wrap("<div class='tint-purple-hover'></div>");
$(".overlay-green-hover").wrap("<div class='tint-green-hover'></div>");
$(".overlay-dark-hover").wrap("<div class='tint-dark-hover'></div>");
$(".overlay-white-hover").wrap("<div class='tint-white-hover'></div>");
$(".overlay-orange-hover").wrap("<div class='tint-orange-hover'></div>");

// Insert styles on HEAD to run the color effect
function appendStyle(styles) {
var css = document.createElement('style');
css.type = 'text/css';

if (css.styleSheet) css.styleSheet.cssText = styles;
else css.appendChild(document.createTextNode(styles));

document.getElementsByTagName("head")[0].appendChild(css);
}

var styles = '.tint-blue, .tint-yellow, .tint-red, .tint-purple, .tint-green, .tint-dark, .tint-white, .tint-orange, .tint-blue-hover:hover, .tint-yellow-hover:hover, .tint-red-hover:hover, .tint-purple-hover:hover, .tint-green-hover:hover, .tint-dark-hover:hover, .tint-white-hover:hover, .tint-orange-hover:hover {position: relative;float: left;}.tint-blue:before, .tint-blue-hover:hover:before {background: rgba(0,255,255, 0.3);}.tint-yellow:before, .tint-yellow-hover:hover:before {background: rgba(255,255,0, 0.3);}.tint-red:before, .tint-red-hover:hover:before {background: rgba(255,0,0, 0.3);}.tint-purple:before, .tint-purple-hover:hover:before {background: rgba(255,0,255, 0.3);}.tint-green:before, .tint-green-hover:hover:before {background: rgba(0,255,0, 0.3);}.tint-dark:before, .tint-dark-hover:hover:before {background: rgba(0,0,0, 0.3);}.tint-white:before, .tint-white-hover:hover:before {background: rgba(255,255,255, 0.3);}.tint-orange:before, .tint-orange-hover:hover:before {background: rgba(255,123,0, 0.3);}.tint-blue:before, .tint-yellow:before, .tint-red:before, .tint-purple:before, .tint-green:before, .tint-dark:before, .tint-white:before, .tint-orange:before, .tint-blue-hover:hover:before, .tint-yellow-hover:hover:before, .tint-red-hover:hover:before, .tint-purple-hover:hover:before, .tint-green-hover:hover:before, .tint-dark-hover:hover:before, .tint-white-hover:hover:before, .tint-orange-hover:hover:before {content: "";display: block;position: absolute;top: 0;bottom: 0;left: 0;right: 0;-moz-transition: background .3s linear;-webkit-transition: background .3s linear;-ms-transition: background .3s linear;-o-transition: background .3s linear;transition: background .3s linear;}';

window.onload = function() { appendStyle(styles) };
1 change: 1 addition & 0 deletions ColorLay.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ca487c1

Please sign in to comment.