Minor fixes

This commit is contained in:
Florian Mounier
2014-01-17 11:30:48 +01:00
parent c61ee5b294
commit 29ce3997b7
4 changed files with 22 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
$bg: #222
$fg: #ccc
$bg: #110f13
$fg: #f4ead5
html, body
height: 100%
@@ -18,6 +18,10 @@ body
font-family: 'Droid Sans Mono', monospace
outline: none
color: $fg
/* text-shadow: 0 0 10px
span
/* text-shadow: 0 0 10px
.terminal-cursor
color: $bg

View File

@@ -5,7 +5,7 @@ html, body {
/* line 7, ../sass/main.sass */
body {
background-color: #222222;
background-color: #110f13;
}
/* line 10, ../sass/main.sass */
body main {
@@ -19,10 +19,15 @@ body main .terminal {
flex: 1;
font-family: "Droid Sans Mono", monospace;
outline: none;
color: #cccccc;
color: #f4ead5;
/* text-shadow: 0 0 10px */
}
/* line 22, ../sass/main.sass */
body main .terminal-cursor {
color: #222222;
background-color: #cccccc;
body main .terminal span {
/* text-shadow: 0 0 10px */
}
/* line 26, ../sass/main.sass */
body main .terminal-cursor {
color: #110f13;
background-color: #f4ead5;
}

3
run.py
View File

@@ -3,13 +3,14 @@ from multiprocessing import Process
from subprocess import Popen
from glob import glob
import time
import sys
import shlex
commands = [
'coffee -wcb -j app/static/javascripts/main.js ' +
' '.join(glob('app/static/coffees/*.coffee')),
'compass watch app/static',
'python serve.py'
'python serve.py ' + ' '.join(sys.argv[1:])
]

View File

@@ -18,9 +18,11 @@ tornado.options.parse_command_line()
from logging import getLogger
log = getLogger('wsterm')
log.setLevel(10 if tornado.options.options.debug else 30)
for logger in ('tornado.access', 'tornado.application',
'tornado.general', 'wsterm'):
getLogger(logger).setLevel(10 if tornado.options.options.debug else 30)
log = getLogger('wsterm')
log.debug('Starting server')
ioloop = tornado.ioloop.IOLoop.instance()