~azzar1/unity/add-show-desktop-key

515 by stevenbird
Propagated "problem" -> "exercise" nomenclature change.
1
.exercise {
546 by stevenbird
changed colour of exercise boxes, at the request of Archana Sathivelu
2
    background: #b1e2be url(../images/tutorial/signature.png) no-repeat top left;
490 by stevenbird
* new styling to make problem boxes stand out from the text
3
    color: navy;
508 by stevenbird
* fixed indentation of exercise blocks
4
    margin: 0 5% 0 1em;
490 by stevenbird
* new styling to make problem boxes stand out from the text
5
    padding: 0 .5em .5em 25px;
6
    border-left: 1px solid gray;
7
    border-right: 2px solid gray;
8
    border-top: 1px solid gray;
549 by stevenbird
Changed console from reverse video to normal (white background, black
9
    border-bottom: 2px solid gray;
291 by mattgiuca
tutorial: Added code to handle top-level menu and subject menu (reads dir
10
}
297 by mattgiuca
tutorial: Now presents problems correctly, by parsing XML source and writing
11
515 by stevenbird
Propagated "problem" -> "exercise" nomenclature change.
12
.exercisebox, .runoutput {
490 by stevenbird
* new styling to make problem boxes stand out from the text
13
    width: 80%;
718 by mattgiuca
Tutorial: Minor fixes wrt addition of reset button.
14
    margin-bottom: 1.5em;
307 by mattgiuca
tutorial: Now each problem div has an ID. Added submit buttons which call
15
}
16
515 by stevenbird
Propagated "problem" -> "exercise" nomenclature change.
17
.exercisebuttons {
307 by mattgiuca
tutorial: Now each problem div has an ID. Added submit buttons which call
18
    text-align: right;
297 by mattgiuca
tutorial: Now presents problems correctly, by parsing XML source and writing
19
}
312 by mattgiuca
Full client-side testing - functional.
20
21
/* Test case outputs are shown as a bulleted list, with these icons as the
22
 * bullets. */
23
518 by stevenbird
Cleaned up display of test results:
24
li.check {
25
    list-style: url(../images/tutorial/check.png);
26
}
27
li.cross {
28
    list-style: url(../images/tutorial/cross.png);
29
}
312 by mattgiuca
Full client-side testing - functional.
30
li.pass {
393 by drtomc
Fix a minor problem with the css for tutorials. The test response (pass/fail) icons used absolute url paths. We've changed them so that now they are relative.
31
    list-style: url(../images/tutorial/pass.png);
312 by mattgiuca
Full client-side testing - functional.
32
}
33
li.fail {
393 by drtomc
Fix a minor problem with the css for tutorials. The test response (pass/fail) icons used absolute url paths. We've changed them so that now they are relative.
34
    list-style: url(../images/tutorial/fail.png);
312 by mattgiuca
Full client-side testing - functional.
35
}
690 by mattgiuca
tutorial: Added new balls (orange and grey) for new tutorial features.
36
li.semifail {
37
    list-style: url(../images/tutorial/semifail.png);
38
}
312 by mattgiuca
Full client-side testing - functional.
39
li.exception {
393 by drtomc
Fix a minor problem with the css for tutorials. The test response (pass/fail) icons used absolute url paths. We've changed them so that now they are relative.
40
    list-style: url(../images/tutorial/exception.png);
312 by mattgiuca
Full client-side testing - functional.
41
}
378 by stevenbird
www/dispatch/request.py:
42
690 by mattgiuca
tutorial: Added new balls (orange and grey) for new tutorial features.
43
li.complete {
44
    list-style: url(../images/tutorial/pass.png);
45
}
46
li.incomplete {
47
    list-style: url(../images/tutorial/incomplete.png);
48
}
730 by mattgiuca
Added per-worksheet and per-subject score calculation.
49
li.semicomplete {
50
    list-style: url(../images/tutorial/semifail.png);
51
}
690 by mattgiuca
tutorial: Added new balls (orange and grey) for new tutorial features.
52
710 by mattgiuca
Tutorial: The tutorial system now presents a table of contents at the top.
53
#tutorial-toc li.complete {
54
    list-style: url(../images/tutorial/tiny/complete.png);
55
    margin-left: 1.5em;
56
}
57
#tutorial-toc li.incomplete {
58
    list-style: url(../images/tutorial/tiny/incomplete.png);
59
    margin-left: 1.5em;
60
}
730 by mattgiuca
Added per-worksheet and per-subject score calculation.
61
#tutorial-toc li.semicomplete {
62
    list-style: url(../images/tutorial/tiny/semicomplete.png);
63
    margin-left: 1.5em;
64
}
710 by mattgiuca
Tutorial: The tutorial system now presents a table of contents at the top.
65
378 by stevenbird
www/dispatch/request.py:
66
/*
67
:Author: Edward Loper, James Curran
68
:Copyright: This stylesheet has been placed in the public domain.
69
70
Stylesheet for use with Docutils.
71
72
This stylesheet defines new css classes used by NLTK.
73
74
It uses a Python syntax highlighting scheme that matches
75
the colour scheme used by IDLE, which makes it easier for
76
beginners to check they are typing things in correctly.
77
*/
78
79
/* Include the standard docutils stylesheet. */
80
@import url(default.css);
81
82
/* Custom inline roles */
83
span.placeholder    { font-style: italic; font-family: monospace; }
84
span.example        { font-style: italic; }
85
span.emphasis       { font-style: italic; }
86
span.termdef        { font-weight: bold; }
87
/*span.term           { font-style: italic; }*/
88
span.category       { font-variant: small-caps; }
89
span.feature        { font-variant: small-caps; }
90
span.fval           { font-style: italic; }
91
span.math           { font-style: italic; }
92
span.mathit         { font-style: italic; }
93
span.lex            { font-variant: small-caps; }
94
95
/* Python souce code listings */
96
span.pysrc-prompt   { color: #9b0000; }
97
span.pysrc-more     { color: #9b00ff; }
98
span.pysrc-keyword  { color: #e06000; }
99
span.pysrc-builtin  { color: #940094; }
100
span.pysrc-string   { color: #00aa00; }
101
span.pysrc-comment  { color: #ff0000; }
102
span.pysrc-output   { color: #0000ff; }
103
span.pysrc-except   { color: #ff0000; }
104
span.pysrc-defname  { color: #008080; }
105
106
107
/* Doctest blocks */
108
pre.doctest         { margin: 0; padding: 0; font-weight: bold; }
109
div.doctest         { margin: 0 1em 1em 1em; padding: 0; }
110
table.doctest       { margin: 0; padding: 0;
111
                      border-top: 1px solid gray;
112
                      border-bottom: 1px solid gray; }
113
pre.copy-notify     { margin: 0; padding: 0.2em; font-weight: bold;
114
                      background-color: #ffffff; }
115
116
/* Python source listings */
117
div.pylisting       { margin: 0 1em 1em 1em; padding: 0; }
118
table.pylisting     { margin: 0; padding: 0;
119
                      border-top: 1px solid gray; }
120
td.caption { border-top: 1px solid black; margin: 0; padding: 0; }
121
.caption-label { font-weight: bold;  }
122
td.caption p { margin: 0; padding: 0; font-style: normal;}
123
124
table tr td.codeblock { 
125
  padding: 0.2em ! important; margin: 0;
126
  border-left: 1px solid gray;
127
  border-right: 2px solid gray;
128
  border-top: 0px solid gray;
129
  border-bottom: 1px solid gray;
130
  font-weight: bold; background-color: #eeffee;
131
}
132
133
table tr td.doctest  { 
134
  padding: 0.2em; margin: 0;
135
  border-left: 1px solid gray;
136
  border-right: 2px solid gray;
137
  border-top: 0px solid gray;
138
  border-bottom: 1px solid gray;
139
  font-weight: bold; background-color: #eeeeff;
140
}
141
142
td.codeblock table tr td.copybar {
143
    background: #40a060; border: 1px solid gray;
144
    font-family: monospace; padding: 0; margin: 0; }
145
td.doctest table tr td.copybar {
146
    background: #4060a0; border: 1px solid gray;
147
    font-family: monospace; padding: 0; margin: 0; }
148
149
td.pysrc { padding-left: 0.5em; }
150
151
img.callout { border-width: 0px; }
152
153
table.docutils {
154
    border-style: solid;
155
    border-width: 1px;
156
    margin-top: 6px;
157
    border-color: grey;
158
    border-collapse: collapse; }
159
160
table.docutils th {
161
    border-style: none;
162
    border-width: 1px;
163
    border-color: grey;
164
    padding: 0 .5em 0 .5em; }
165
166
table.docutils td {
167
    border-style: none;
168
    border-width: 1px;
169
    border-color: grey; 
170
    padding: 0 .5em 0 .5em; }
171
172
table.footnote td { padding: 0; }
173
table.footnote { border-width: 0; }
174
table.footnote td { border-width: 0; }
175
table.footnote th { border-width: 0; }
176
177
table.noborder { border-width: 0; }
178
179
table.example pre { margin-top: 4px; margin-bottom: 0; }
180
181
/* For figures & tables */
182
p.caption { margin-bottom: 0; }
183
div.figure { text-align: center; }
184
185
/* The index */
186
div.index { border: 1px solid black;
187
            background-color: #eeeeee; }
188
div.index h1 { padding-left: 0.5em; margin-top: 0.5ex;
189
               border-bottom: 1px solid black; }
190
ul.index { margin-left: 0.5em; padding-left: 0; }
191
li.index { list-style-type: none; }
192
p.index-heading { font-size: 120%; font-style: italic; margin: 0; }
193
li.index ul { margin-left: 2em; padding-left: 0; }
194
195
/* 'Note' callouts */
196
div.note
197
{
198
  border-right:   #87ceeb 1px solid;
199
  padding-right: 4px;
200
  border-top: #87ceeb 1px solid;
201
  padding-left: 4px;
202
  padding-bottom: 4px;
203
  margin: 2px 5% 10px;
204
  border-left: #87ceeb 1px solid;
205
  padding-top: 4px;
206
  border-bottom: #87ceeb 1px solid;
207
  font-style: normal;
208
  font-family: verdana, arial;
209
  background-color: #b0c4de;
210
}
211
212
table.rst-example { border: 1px solid black; }
213
table.rst-example tbody tr td { background: #eeeeee; }
214
table.rst-example thead tr th { background: #c0ffff; }
215
td.rst-raw { width: 0; }
216
217
/* Used by nltk.org/doc/test: */
218
div.doctest-list { text-align: center; }
219
table.doctest-list { border: 1px solid black;
220
  margin-left: auto; margin-right: auto;
221
}
222
table.doctest-list tbody tr td { background: #eeeeee;
223
  border: 1px solid #cccccc; text-align: left; }
224
table.doctest-list thead tr th { background: #304050; color: #ffffff;
225
  border: 1px solid #000000;}
226
span.doctest-passed { color: #008000; }
227
span.doctest-failed { color: #800000; }