Permalink
Browse files

import initial

  • Loading branch information...
0 parents commit 8dea83ecca36a56f781cb3b37a5f5740930582f2 Daome committed Feb 18, 2012
Showing with 1,122 additions and 0 deletions.
  1. +77 −0 css/index.css
  2. +40 −0 index.html
  3. +5 −0 js/Cakefile
  4. +350 −0 js/faviconbuilder.coffee
  5. +650 −0 js/faviconbuilder.js
@@ -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") ;
+}
@@ -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>
@@ -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.

0 comments on commit 8dea83e

Please sign in to comment.