Skip to content

Commit

Permalink
import initial
Browse files Browse the repository at this point in the history
  • Loading branch information
Daome committed Feb 18, 2012
0 parents commit 8dea83e
Show file tree
Hide file tree
Showing 5 changed files with 1,122 additions and 0 deletions.
77 changes: 77 additions & 0 deletions css/index.css
@@ -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") ;
}
40 changes: 40 additions & 0 deletions index.html
@@ -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>
5 changes: 5 additions & 0 deletions js/Cakefile
@@ -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

0 comments on commit 8dea83e

Please sign in to comment.