xonecas.io
1361
Xc

xonecas.com / commit 712198a

cleanup for v2

Sean Caetano Martin2012-01-23 712198a01f84f23503a0b43ca058ba50b911aa13 parent 9a7e4e4

29 files changed

This diff is too big to show in full. The first 1000 lines are below, and every file is listed with its counts.

.gitmodules+0−15
@@ -1,15 +0,0 @@
1-[submodule "creativejs-threejs-part1"]
2- path = creativejs-threejs-part1
3- url = git@github.com:xonecas/creativejs-threejs-part1.git
4-[submodule "fractal-tree"]
5- path = fractal-tree
6- url = git@github.com:xonecas/fractal-tree.git
7-[submodule "2d-particle-experiements"]
8- path = 2d-particle-experiements
9- url = git@github.com:xonecas/2d-particle-experiements.git
10-[submodule "bootstrap"]
11- path = bootstrap
12- url = https://github.com/twitter/bootstrap.git
13-[submodule "canvas-rings"]
14- path = canvas-rings
15- url = git://github.com/xonecas/canvas-rings.git
app.build.js+0−12
@@ -1,12 +0,0 @@
1-({
2- appDir: './public',
3- baseUrl: './',
4- paths: {
5- bootstrap: 'bootstrap/js'
6- },
7- dir: 'build',
8- modules: [
9- {name: 'js/init'}
10- ],
11- dirExclusionRegExp: /^(node_modules|2d-particle-experiements|canvas-rings|creativejs-threejs-part1|fractal-tree|build)$/
12-})
lib/ugly.js+0−40
@@ -1,40 +0,0 @@
1-var
2- fs = require('fs'),
3- jsp = require('uglify-js').parser,
4- pro = require('uglify-js').uglify;
5-
6-function uglify (js) {
7- var ast = jsp.parse(js);
8- ast = pro.ast_mangle(ast);
9- ast = pro.ast_squeeze(ast);
10- return pro.gen_code(ast);
11-}
12-
13-function parse (directory, callback) {
14- callback = callback || function () {};
15-
16- fs.readdir(directory, function (err, files) {
17- if (err)
18- return callback(err);
19-
20- !function _iter () {
21- var file_path = __dirname +"/"+ files.pop();
22- if (files.length > 0) {
23- fs.readFile(file_path, 'utf8', function (err2, js) {
24- if (err2)
25- return callback(err2);
26-
27- var min_path = file_path.replace(".js", ".min.js");
28- fs.writeFile(min_path, uglify(js), 'utf8', function (err3) {
29- if (err3)
30- return callback(err3);
31-
32- callback(null);
33- });
34- });
35- }
36- } ();
37- });
38-}
39-
40-module.exports = parse;
public/compiled/header-tmpl.js+0−9
@@ -1,9 +0,0 @@
1-(function() {
2- var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {};
3-templates['header-tmpl.html'] = template(function (Handlebars,depth0,helpers,partials,data) {
4- helpers = helpers || Handlebars.helpers;
5- var self=this;
6-
7-
8- return "<div class=\"topbar-inner\">\n <div class=\"container\">\n <h3><a href=\"/\">xonecas</a></h3>\n <ul class=\"nav\">\n <li><a id=\"prev-post\" href=\"#\">Previous page</a></li>\n <li><a id=\"next-post\" href=\"#\">Next page</a></li>\n </ul>\n\n <ul class=\"nav secondary-nav\">\n <li class=\"menu\">\n <a href=\"#\" class=\"menu\">Projects and experiments</a>\n <ul class=\"menu-dropdown\">\n <li>\n …
9-})()
public/event/index.html+0−17
@@ -1,17 +0,0 @@
1-<!doctype html>
2-<html lang="en">
3-<head charset="utf-8">
4-
5- <title>xonecas.com</title>
6- <meta name="author" content="@xonecas">
7- <meta name="description" content="Notes and rants">
8-
9- <meta name="viewport" content="width=device-width, initial-scale=1.0">
10-
11- <script src="/vendor/modernizr.js"></script>
12- <!-- require magic! -->
13- <script data-main="/js/router.js" src="/vendor/require.js"></script>
14-
15-
16-</body>
17-</html>
public/imgs/ajax-loader.gif+0−0
Binary file, not shown.
public/imgs/ajax-loader1.gif+0−0
Binary file, not shown.
public/imgs/me.png+0−0
Binary file, not shown.
public/imgs/night-lights-screen.png+0−0
Binary file, not shown.
public/index.html+0−86
@@ -1,86 +0,0 @@
1-<!doctype html>
2-<html lang="en">
3-<head charset="utf-8">
4-
5- <title>xonecas.com</title>
6- <meta name="author" content="@xonecas">
7- <meta name="description" content="Notes and rants">
8-
9- <meta name="viewport" content="width=device-width, initial-scale=1.0">
10-
11- <script src="vendor/modernizr.js"></script>
12- <!-- require magic! -->
13- <script data-main="js/init.js" src="vendor/require.js"></script>
14-
15- <link href='http://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'>
16- <link rel="stylesheet" type="text/css" href="styles/style.css?v=1">
17-</head>
18-<body>
19- <a href="http://github.com/you"><img style="position: absolute; top: 40px; right: 0; border: 0; z-index: 1000;" src="https://a248.e.akamai.net/assets.github.com/img/7afbc8b248c68eb468279e8c17986ad46549fb71/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub"></a>
20-
21- <section class="hero-unit container">
22- <h1>Sean Caetano Martin <small>xonecas</small></h1>
23- <p>Sean is a computer scientist, student and technology enthusiast. He focuses on web development, from server to client and everything in between! He's addicted to Javascript.</p>
24- </section>
25-
26- <section id="photos">
27- </section>
28-
29- <script id="photos_tmpl" type="text/template">
30- <h2>Media gallery <small>Tumblr</small>
31- <ul class="media-grid">
32- {{#each this}}
33- <li>
34- <a href="{{url}}">
35- <img src="{{thumb}}" alt="{{caption}}" title="{{caption}}">
36- </a>
37- </li>
38- {{/each}}
39- </ul>
40- </script>
41-
42- <script id="post_tmpl" type="text/template">
43- <article>
44- <h1>{{title}}</h1>
45- <div class="post_body">
46- {{{body}}}
47- </div>
48- <aside>
49- <a href="{{post_url}}" title="{{post_url}}">permalink <small>tumblr</small></a>,
50- on {{date}} ({{timestamp}}).
51- </aside>
52- </article>
53- </script>
54-
55- <script id="footer_tmpl" type="text/template">
56- <div class="row">
57- <div id="twitter" class="span6 offset1">
58- <h2>
59- <a href="//twitter.com/xonecas">@xonecas</a>
60- <small>Twitter</small>
61- </h2>
62- {{#each twitter}}
63- <blockquote>
64- <p>{{{text}}}</p>
65- <small>On {{created_at}}</small>
66- </blockquote>
67- {{/each}}
68- </div>
69- <div id="coderwall" class="span6 offset1">
70- <h2>
71- <a href="//coderwall.com/xonecas">Badges</a>
72- <small>Coderwall</small>
73- </h2>
74- {{#each badges}}
75- <div class="row">
76- <img src="{{badge}}" alt="{{name}}" class="badge">
77- <h3>{{name}}</h3>
78- <p>{{description}}</p>
79- </div>
80- {{/each}}
81- </div>
82- </div>
83- </script>
84-
85-</body>
86-</html>
public/js/init.js+0−30
@@ -1,30 +0,0 @@
1-require.config({
2- baseUrl: '/',
3- paths: {
4- bootstrap: 'bootstrap/js/'
5- }
6-});
7-
8-// get all of the dependencies
9-require([
10- 'vendor/json2',
11- 'vendor/jquery',
12- 'vendor/handlebars',
13- 'vendor/underscore',
14- 'vendor/hijs',
15- 'vendor/smoke',
16-], function () {
17- // these need jquery
18- require([
19- 'compiled/header-tmpl',
20- 'vendor/backbone',
21- 'bootstrap/bootstrap-dropdown'
22- ], function () {
23- // init the app
24- require(['js/script.js'], function () {
25- console && console.log && console.log("OK");
26- });
27-
28- });
29-});
30-
public/js/old_script.js+0−144
@@ -1,144 +0,0 @@
1-$(function () {
2- Tumblr = Backbone.Collection.extend({
3- url: "http://api.tumblr.com/v2/blog/xonecas.tumblr.com/posts/text",
4- page: 0,
5- count: 6,
6- idx: 0,
7-
8- initialize: function () {
9- _.bindAll(this, "setCurrent");
10- this.bind('reset', this.setCurrent);
11- },
12-
13- parse: function (res, xhr) {
14- this.total = res.response.total_posts;
15- return res.response.posts;
16- },
17-
18- sync: function (model, method, options) {
19- var params = _.extend(options, {
20- "url": this.url,
21- "data": {
22- "limit": this.count,
23- "offset": this.page * this.count,
24- "api_key": "IM11cPEsi3jxTeSNwF8BB9Z08UItXcYKiEDLTLvl5RYn6MBcMD"
25- },
26- "dataType": "jsonp",
27- "jsonp": "jsonp"
28- });
29-
30- return $.ajax(params);
31- },
32-
33- setCurrent: function () {
34- this.current = this.at(this.idx);
35- },
36-
37- next: function () {
38- this.idx++;
39- if (this.idx + (this.count * this.page) === this.total) {
40- this.trigger('error', 'At oldest post.');
41- this.idx--;
42- return;
43- }
44-
45- var model = this.at(this.idx);
46-
47- if (model) {
48- this.current = model;
49- this.trigger('change');
50- } else {
51- this.page++;
52- this.idx = 0;
53- this.fetch();
54- }
55- },
56-
57- previous: function () {
58- this.idx--;
59- var model = this.at(this.idx);
60-
61- if (model) {
62- this.current = model;
63- this.trigger('change');
64- } else {
65- if (this.page > 0) {
66- this.page--;
67- this.idx = this.count -1;
68- this.fetch();
69- } else {
70- this.idx++;
71- this.trigger('error', 'At most recent post.');
72- }
73- }
74-
75- }
76- });
77-
78- Page = Backbone.View.extend({
79- id: 'main',
80- className: 'container',
81- tagName: 'section',
82- template: Handlebars.compile($('#post_tmpl').html()),
83- collection: new Tumblr(),
84-
85- initialize: function () {
86- this.header = new Header({
87- 'collection': this.collection
88- });
89- this.header.render();
90- _.bindAll(this, "render", "report");
91- this.collection.bind('reset', this.render);
92- this.collection.bind('error', this.report);
93- this.collection.bind('change', this.render);
94- this.collection.fetch();
95-
96- $('body').append(this.el);
97- },
98-
99- report: function (err) {
100- smoke.alert(err);
101- },
102-
103- render: function () {
104- var model = this.collection.current;
105- $(this.el)
106- .css('display', 'none')
107- .html(this.template(model.toJSON()))
108- .fadeIn(1000);
109- hijs('code');
110- }
111- });
112-
113- Header = Backbone.View.extend({
114- className: 'topbar',
115- tagName: 'div',
116- template: $('#header_tmpl').html(),
117-
118- render: function () {
119- $(this.el)
120- .html(this.template)
121- .appendTo('body');
122- },
123-
124- events: {
125- "click #prev-post": "previous",
126- "click #next-post": "next"
127- },
128-
129- previous: function (ev) {
130- ev.preventDefault();
131- this.collection.previous();
132- return false;
133- },
134-
135- next: function (ev) {
136- ev.preventDefault();
137- this.collection.next();
138- return false;
139- }
140- });
141-
142- // main
143- window.page = new Page();
144-});
public/js/script.js+0−272
@@ -1,272 +0,0 @@
1-var xonecas = !function () {
2-
3- function linkit (text) {
4- text = text.replace(
5- /(ftp|http|https|file):\/\/[\S]+(\b|$)/gim,
6- '<a href="$&" target="_new">$&</a>');
7- text = text.replace(/@\w+\s/gi, function (match) {
8- match = match.substring(0, match.length -1);
9- return '<a href="//twitter.com/'+match.substring(1)+'">'+match+'</a> ';
10- });
11-
12- return text;
13- }
14-
15- var TumblrSync = Backbone.Collection.extend({
16- type: 'text',
17-
18- parse: function (res, xhr) {
19- this.total = Math.ceil(res.response.total_posts/this.count);
20- return res.response.posts;
21- },
22-
23- sync: function (model, method, options) {
24- var params = _.extend(options, {
25- "url": this.url,
26- "data": {
27- "type": this.type,
28- "limit": this.count,
29- "offset": this.page * this.count,
30- "api_key": "IM11cPEsi3jxTeSNwF8BB9Z08UItXcYKiEDLTLvl5RYn6MBcMD"
31- },
32- "dataType": "jsonp",
33- "jsonp": "jsonp"
34- });
35-
36- return $.ajax(params);
37- },
38-
39- next: function () {
40- if (this.page +1 === this.total) {
41- this.trigger('error', "That's it, you've read it all!");
42- } else {
43- this.page++;
44- this.fetch();
45- }
46- },
47-
48- previous: function () {
49- if (this.page -1 === -1) {
50- this.trigger('error', "No newer posts.");
51- } else {
52- this.page--;
53- this.fetch();
54- }
55- }
56- });
57-
58- var Photos = TumblrSync.extend({
59- url: "http://api.tumblr.com/v2/blog/xonecas.tumblr.com/posts/photo",
60- page: 0,
61- count: 20,
62- type: 'photo',
63-
64- parse: function (res) {
65- var media = [];
66-
67- _.each(res.response.posts, function (post) {
68- _.each(post.photos, function (photo) {
69- var cap = photo.caption === "" ? post.caption: photo.caption;
70- media.push({
71- caption: cap.replace(/<.*?>/g, ''),
72- url: photo.original_size.url,
73- thumb: photo.alt_sizes[4].url
74- });
75- });
76- });
77-
78- return media;
79- }
80- });
81-
82- var Tumblr = TumblrSync.extend({
83- url: "http://api.tumblr.com/v2/blog/xonecas.tumblr.com/posts/text",
84- page: 0,
85- count: 5
86- });
87-
88- var Twitter = Backbone.Collection.extend({
89- url: "http://api.twitter.com/1/statuses/user_timeline.json",
90- count: 11,
91-
92- parse: function (res) {
93- _.each(res, function (tweet) {
94- tweet.text = linkit(tweet.text);
95- });
96-
97- return res;
98- },
99-
100- sync: function (model, method, options) {
101- var params = _.extend(options, {
102- "url": this.url,
103- "data": {
104- "screen_name": "xonecas",
105- "count": this.count,
106- "trim_user": true,
107- "include_rts": true,
108- "exclude_replies": true
109- },
110- "dataType": "jsonp"
111- });
112-
113- return $.ajax(params);
114- }
115- });
116-
117- var Badges = Backbone.Collection.extend({
118- url: "http://coderwall.com/xonecas.json",
119-
120- parse: function (res, xhr) {
121- return res.data.badges;
122- },
123-
124- sync: function (model, method, options) {
125- var params = _.extend(options, {
126- "url": this.url,
127- "dataType": "jsonp"
128- });
129-
130- return $.ajax(params);
131- }
132- });
133-
134-
135- var Header = Backbone.View.extend({
136- className: 'topbar',
137- tagName: 'header',
138- template: Handlebars.templates['header-tmpl.html'],
139-
140- initialize: function () {
141- $(this.el).appendTo('body');
142- },
143-
144- render: function () {
145- $(this.el)
146- .html(this.template())
147- .dropdown();
148- },
149-
150- events: {
151- "click #prev-post": "previous",
152- "click #next-post": "next"
153- },
154-
155- previous: function (ev) {
156- ev.preventDefault();
157- this.collection.previous();
158- return false;
159- },
160-
161- next: function (ev) {
162- ev.preventDefault();
163- this.collection.next();
164- return false;
165- }
166- });
167-
168- var Footer = Backbone.View.extend({
169- className: 'container',
170- tagName: 'footer',
171- template: '#footer_tmpl',
172-
173- initialize: function () {
174- $(this.el).appendTo('body');
175- _.bindAll(this, "render");
176- this.twitter = new Twitter();
177- this.twitter.bind('reset', this.render);
178- this.twitter.fetch();
179-
180- this.badges = new Badges();
181- this.badges.bind('reset', this.render);
182- this.badges.fetch();
183- },
184-
185- render: function () {
186- var
187- template = Handlebars.compile($(this.template).html()),
188- context = {
189- twitter: this.twitter.toJSON(),
190- badges: this.badges.toJSON()
191- };
192-
193- $(this.el)
194- .html(template(context));
195- }
196- });
197-
198- var Media = Backbone.View.extend({
199- id: "media",
200- className: 'container',
201- tagName: 'section',
202- template: '#photos_tmpl',
203- collection: new Photos(),
204-
205- initialize: function () {
206- $(this.el).appendTo('body');
207- this.template = Handlebars.compile($(this.template).html());
208-
209- _.bindAll(this, "render");
210- this.collection.bind('reset', this.render);
211- this.collection.fetch();
212- },
213-
214- render: function () {
215- $(this.el)
216- .html(this.template(this.collection.toJSON()));
217- }
218- });
219-
220- var Page = Backbone.View.extend({
221- id: 'main',
222- className: 'container',
223- tagName: 'section',
224- template: '#post_tmpl',
225- collection: new Tumblr(),
226-
227- initialize: function () {
228- this.header = new Header({
229- 'collection': this.collection
230- });
231- $('body').append(this.el);
232- this.media = new Media();
233- this.footer = new Footer();
234- _.bindAll(this, "render", "report");
235- this.collection.bind('reset', this.render);
236- this.collection.bind('error', this.report);
237- this.collection.bind('change', this.render);
238- this.collection.fetch();
239- this.header.render();
240- this.media.render();
241- this.footer.render();
242- },
243-
244- report: function (err) {
245- smoke.alert(err);
246- },
247-
248- render: function () {
249- var
250- html = "",
251- template = Handlebars.compile($(this.template).html());
252-
253- this.collection.each(function (model) {
254- html += template(model.toJSON());
255- });
256-
257- $(this.el)
258- .css('display', 'none')
259- .html(html)
260- .fadeIn(1000);
261-
262- if (window.scrollY > 310) {
263- window.scrollTo(0, 310);
264- }
265- hijs('code');
266- }
267- });
268-
269- $(function () {
270- window.page = new Page();
271- });
272-} ();
public/styles/base.less+0−44
@@ -1,44 +0,0 @@
1-@import "_root_/bootstrap/lib/bootstrap.less";
2-@import "_root_/styles/smoke.less";
3-
4-body {
5- margin-top: 100px;
6-}
7-
8-article {
9- margin: 0 0 140px 0;
10-}
11-
12-pre, code {
13- font-family: 'Inconsolata', monospace;
14- font-size: 14px;
15-}
16-
17-pre code {
18- background-color: #f5f5f5;
19-}
20-code .keyword { font-weight: bold }
21-code .string, code .regexp { color: red }
22-code .class, code .special { color: blue }
23-code .number { color: red }
24-code .comment { color: grey }
25-
26-.badge {
27- width: 90px;
28- height: 90px;
29- position: relative;
30- left: 20px;
31- float: left;
32- margin: 0 40px 20px 0;
33-}
34-
35-.post_body img {
36- display: block;
37- margin-bottom: 20px;
38- max-width: 100%;
39- float: left;
40-}
41-
42-#media {
43- margin-bottom: 140px;
44-}
public/styles/smoke.css+0−163
@@ -1,163 +0,0 @@
1-.smoke-base {
2- position: fixed;
3- top: 0;
4- left: 0;
5- bottom: 0;
6- right: 0;
7- visibility: hidden;
8- opacity: 0;
9- -moz-transition: all .3s;
10- -webkit-transition: opacity .3s;
11- -o-transition: all .3s;
12- transition: all .3s;
13-}
14-
15-.smoke-base.smoke-visible {
16- opacity: 1;
17- visibility: visible;
18-}
19-
20-.smokebg {
21- position: fixed;
22- top: 0;
23- left: 0;
24- bottom: 0;
25- right: 0;
26-}
27-
28-.smoke-base .dialog {
29- position: absolute
30-}
31-
32-.dialog-prompt {
33- margin-top: 5px;
34- text-align: center;
35-}
36-
37-.dialog-buttons {
38- margin: 10px 0 5px 0
39-}
40-
41-.smoke {
42- font-family: sans-serif;
43- font-weight: bold;
44- text-align: center;
45- font-size: 30px;
46- line-height: 130%;
47-}
48-
49-.dialog-buttons button {
50- display: inline-block;
51- vertical-align: baseline;
52- cursor: pointer;
53- font-family: sans-serif;
54- font-style: normal;
55- text-decoration: none;
56- border: 0;
57- outline: 0;
58- margin: 0 5px;
59- -webkit-background-clip: padding-box;
60- font-size: 13px;
61- line-height: 13px;
62- font-weight: bold;
63- padding: 9px 12px;
64-}
65-
66-.dialog-prompt input {
67- margin: 0;
68- border: 0;
69- font-family: sans-serif;
70- outline: none;
71- border: 1px solid #333;
72- width: 97%;
73- background-color: #fff;
74- font-size: 15px;
75- padding: 5px;
76-}
77-
78-.smoke-base {
79- background: rgba(0,0,0,.3);
80-}
81-
82-.smoke-base .dialog {
83- top: 25%;
84- left: 25%;
85- width: 50%;
86-}
87-
88-.smoke-base .dialog-inner {
89- padding: 15px
90-}
91-
92-.smoke {
93- text-transform: uppercase;
94- background-color: rgba(255,255,255,1);
95-}
96-
97-.dialog-buttons button {
98- border-radius: 5px;
99- text-transform: uppercase;
100- background-color: rgba(0,0,0,.9);
101- color: #fff;
102-}
103-
104-button.cancel {
105- background-color: rgba(0,0,0,.7);
106-}
107-
108-.queue{
109- display:none;
110-}
111-
112-
113-.smoke-base {
114- background: none;
115-}
116-
117-.smoke-base .dialog {
118- top: 15%;
119- left: 0;
120- width: 100%;
121-}
122-
123-.smoke-base .dialog-inner {
124- padding: 15px;
125-}
126-
127-.smoke {
128- font-family: 'Helvetica', arial, serif;
129- text-transform: none;
130- color:#eee;
131- font-weight: normal;
132- background-color: rgba(0,0,0,.75);
133- font-size:35px;
134- border-radius: 0;
135-}
136-.dialog-buttons {
137- margin: 0px 0 5px 0;
138-}
139-
140-.dialog-buttons button {
141- border-radius: 3px;
142- text-transform: none;
143- background-color: #ebebeb;
144- color: #333;
145- font-size:13px;
146- padding:7px 10px;
147- margin:0 10px;
148-}
149-
150-button.cancel {
151- background-color: #999;
152- color:#222
153-}
154-
155-.dialog-prompt{
156- margin-top:0;
157-}
158-.dialog-prompt input{
159- width:300px;
160- text-align:center;
161- background-color:#ccc;
162-}
163-
public/styles/smoke.less+0−163
@@ -1,163 +0,0 @@
1-.smoke-base {
2- position: fixed;
3- top: 0;
4- left: 0;
5- bottom: 0;
6- right: 0;
7- visibility: hidden;
8- opacity: 0;
9- -moz-transition: all .3s;
10- -webkit-transition: opacity .3s;
11- -o-transition: all .3s;
12- transition: all .3s;
13-}
14-
15-.smoke-base.smoke-visible {
16- opacity: 1;
17- visibility: visible;
18-}
19-
20-.smokebg {
21- position: fixed;
22- top: 0;
23- left: 0;
24- bottom: 0;
25- right: 0;
26-}
27-
28-.smoke-base .dialog {
29- position: absolute
30-}
31-
32-.dialog-prompt {
33- margin-top: 5px;
34- text-align: center;
35-}
36-
37-.dialog-buttons {
38- margin: 10px 0 5px 0
39-}
40-
41-.smoke {
42- font-family: sans-serif;
43- font-weight: bold;
44- text-align: center;
45- font-size: 30px;
46- line-height: 130%;
47-}
48-
49-.dialog-buttons button {
50- display: inline-block;
51- vertical-align: baseline;
52- cursor: pointer;
53- font-family: sans-serif;
54- font-style: normal;
55- text-decoration: none;
56- border: 0;
57- outline: 0;
58- margin: 0 5px;
59- -webkit-background-clip: padding-box;
60- font-size: 13px;
61- line-height: 13px;
62- font-weight: bold;
63- padding: 9px 12px;
64-}
65-
66-.dialog-prompt input {
67- margin: 0;
68- border: 0;
69- font-family: sans-serif;
70- outline: none;
71- border: 1px solid #333;
72- width: 97%;
73- background-color: #fff;
74- font-size: 15px;
75- padding: 5px;
76-}
77-
78-.smoke-base {
79- background: rgba(0,0,0,.3);
80-}
81-
82-.smoke-base .dialog {
83- top: 25%;
84- left: 25%;
85- width: 50%;
86-}
87-
88-.smoke-base .dialog-inner {
89- padding: 15px
90-}
91-
92-.smoke {
93- text-transform: uppercase;
94- background-color: rgba(255,255,255,1);
95-}
96-
97-.dialog-buttons button {
98- border-radius: 5px;
99- text-transform: uppercase;
100- background-color: rgba(0,0,0,.9);
101- color: #fff;
102-}
103-
104-button.cancel {
105- background-color: rgba(0,0,0,.7);
106-}
107-
108-.queue{
109- display:none;
110-}
111-
112-
113-.smoke-base {
114- background: none;
115-}
116-
117-.smoke-base .dialog {
118- top: 15%;
119- left: 0;
120- width: 100%;
121-}
122-
123-.smoke-base .dialog-inner {
124- padding: 15px;
125-}
126-
127-.smoke {
128- font-family: 'Helvetica', arial, serif;
129- text-transform: none;
130- color:#eee;
131- font-weight: normal;
132- background-color: rgba(0,0,0,.75);
133- font-size:35px;
134- border-radius: 0;
135-}
136-.dialog-buttons {
137- margin: 0px 0 5px 0;
138-}
139-
140-.dialog-buttons button {
141- border-radius: 3px;
142- text-transform: none;
143- background-color: #ebebeb;
144- color: #333;
145- font-size:13px;
146- padding:7px 10px;
147- margin:0 10px;
148-}
149-
150-button.cancel {
151- background-color: #999;
152- color:#222
153-}
154-
155-.dialog-prompt{
156- margin-top:0;
Cut short: this commit's diff is over 1000 lines.
public/styles/style.css+0−367
Cut short: this commit's diff is over 1000 lines.
public/templates/header-tmpl.html+0−56
Cut short: this commit's diff is over 1000 lines.
public/vendor/backbone.js+0−1158
Cut short: this commit's diff is over 1000 lines.
public/vendor/handlebars.js+0−1573
Cut short: this commit's diff is over 1000 lines.
public/vendor/hijs.js+0−94
Cut short: this commit's diff is over 1000 lines.
public/vendor/jquery.js+0−9044
Cut short: this commit's diff is over 1000 lines.
public/vendor/json2.js+0−480
Cut short: this commit's diff is over 1000 lines.
public/vendor/less.js+0−2769
Cut short: this commit's diff is over 1000 lines.
public/vendor/modernizr.js+0−1116
Cut short: this commit's diff is over 1000 lines.
public/vendor/require.js+0−1934
Cut short: this commit's diff is over 1000 lines.
public/vendor/smoke.js+0−337
Cut short: this commit's diff is over 1000 lines.
public/vendor/underscore.js+0−839
Cut short: this commit's diff is over 1000 lines.
server.js+4−40
Cut short: this commit's diff is over 1000 lines.