Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Daome
committed
Feb 18, 2012
0 parents
commit 8dea83e
Showing
5 changed files
with
1,122 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
/* | ||
Document : index | ||
Created on : 14 févr. 2012, 21:56:52 | ||
Author : mark prades | ||
Description: | ||
Purpose of the stylesheet follows. | ||
*/ | ||
.nav{ | ||
width:160px; | ||
} | ||
.nav button:hover{ | ||
background:#BBB; | ||
} | ||
.nav button:active{ | ||
background:#888; | ||
color:#EEE; | ||
} | ||
.nav button{ | ||
display:inline-block; | ||
background:#EEE; | ||
border:1px solid #AAA; | ||
width:150px; | ||
} | ||
body{ | ||
font-family: sans-serif; | ||
} | ||
canvas{ | ||
border: 1px solid #AAA; | ||
} | ||
#target{ | ||
|
||
display: inline-block; | ||
cursor: crosshair; | ||
} | ||
#target._16{ | ||
width:390px; | ||
} | ||
#target._32{ | ||
width:755px; | ||
} | ||
#colorSelector,#left{ | ||
width: 70px; | ||
display: inline-block; | ||
} | ||
#colorSelector .color{ | ||
width:20px; | ||
height:20px; | ||
display: inline-block; | ||
border:1px solid #BBB; | ||
margin:3px; | ||
padding:0; | ||
} | ||
#colorSelector .color:hover{ | ||
cursor: pointer; | ||
border:1px dashed #111; | ||
} | ||
.inline{ | ||
display:inline-block; | ||
vertical-align:top; | ||
margin-right:20px; | ||
padding:0; | ||
} | ||
.cell{ | ||
width:20px; | ||
height:20px; | ||
margin:-3px 1px 0px 0px; | ||
padding: 0; | ||
line-height: 0; | ||
display: inline-block; | ||
border:1px solid #DDD; | ||
} | ||
.cell:hover{ | ||
border: 1px dashed #AAA; | ||
} | ||
.emptyCell{ | ||
background:url("/lib/img/faviconbuilder/emptycell.gif") ; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<!-- | ||
To change this template, choose Tools | Templates | ||
and open the template in the editor. | ||
--> | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title></title> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<link rel="stylesheet" href="css/index.css" /> | ||
<!--[if IE]> | ||
<script type="text/javascript" src="/lib/js/flashcanvas/flashcanvas.js"></script> | ||
<![endif]--> | ||
</head> | ||
<body> | ||
<h1>Favicon builder</h1> | ||
<h2>Cette application permet de designer des icons , puis de les sauvegarder au format png</h2> | ||
<div id="app"> | ||
<div class="nav inline"> | ||
<h3>Menu</h3> | ||
<div id="menu"> </div> | ||
<h3>Favicon preview</h3> | ||
<div id="canvasPreview"></div> | ||
</div> | ||
<div class="left inline"> | ||
<h3>Favicon</h3> | ||
<div id="target" ></div> | ||
</div> | ||
<div class="right inline"> | ||
<h3>Color picker</h3> | ||
<div id="colorSelector"></div> | ||
</div> | ||
<div class="inline"> | ||
|
||
|
||
</div> | ||
</div> | ||
<script type="text/javascript" src="js/faviconbuilder.js"></script> | ||
</body> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
fs = require 'fs' | ||
option '-o','--output [DIR]','directory of the compiled code' | ||
|
||
task 'build:parser','build a file to js',(options)-> | ||
console.log "execute the task",options.output |
Oops, something went wrong.