mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 20:57:13 -05:00
tweak colours; fix counts
This commit is contained in:
parent
3f1ed1a566
commit
81d29fedd5
1 changed files with 6 additions and 5 deletions
|
|
@ -17,12 +17,13 @@ body { background-color: #eee; }
|
||||||
.sub { color: #555; }
|
.sub { color: #555; }
|
||||||
hr { margin:5 0 5 0; border:0; height:1px; background-color:#ddd; }
|
hr { margin:5 0 5 0; border:0; height:1px; background-color:#ddd; }
|
||||||
a:hover { background-color: #aaa; }
|
a:hover { background-color: #aaa; }
|
||||||
a.deck { color: #000; text-decoration: none; }
|
a.deck { color: #000; text-decoration: none; font-size: 100%; }
|
||||||
.num { text-align: right; padding: 0 5 0 5; }
|
.num { text-align: right; padding: 0 5 0 5; }
|
||||||
|
a.opts { font-size: 80%; padding: 3; background-color: #ccc;
|
||||||
|
border-radius: 2px; color: #000; }
|
||||||
td.opts { text-align: right; white-space: nowrap; }
|
td.opts { text-align: right; white-space: nowrap; }
|
||||||
a.opts { font-size: 80%; padding: 2; background-color: #ccc; border-radius: 2px; }
|
|
||||||
td.menu { text-align: center; }
|
td.menu { text-align: center; }
|
||||||
a.tb { font-size: 80%; text-decoration: none; }
|
a { font-size: 80%; text-decoration: none; }
|
||||||
h1 { margin-bottom: 0.2em; }
|
h1 { margin-bottom: 0.2em; }
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
@ -310,8 +311,8 @@ not be touched.""") % self._decks[c]['name']):
|
||||||
'path': d,
|
'path': d,
|
||||||
'state': 'ok',
|
'state': 'ok',
|
||||||
'name': deck.name(),
|
'name': deck.name(),
|
||||||
'due': counts[0],
|
'due': counts[1]+counts[2],
|
||||||
'new': counts[1],
|
'new': counts[0],
|
||||||
'mod': deck.mod,
|
'mod': deck.mod,
|
||||||
# these multiply deck check time by a factor of 6
|
# these multiply deck check time by a factor of 6
|
||||||
'time': dtime,
|
'time': dtime,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue