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

515 by stevenbird
Propagated "problem" -> "exercise" nomenclature change.
1
.exercise {
1099.1.64 by William Grant
Move ivle.webapp.tutorial's media to the new framework. This also fixes the
2
    background: #b1e2be url(images/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 {
1099.1.64 by William Grant
Move ivle.webapp.tutorial's media to the new framework. This also fixes the
25
    list-style: url(images/check.png);
518 by stevenbird
Cleaned up display of test results:
26
}
27
li.cross {
1099.1.64 by William Grant
Move ivle.webapp.tutorial's media to the new framework. This also fixes the
28
    list-style: url(images/cross.png);
518 by stevenbird
Cleaned up display of test results:
29
}
312 by mattgiuca
Full client-side testing - functional.
30
li.pass {
1099.1.64 by William Grant
Move ivle.webapp.tutorial's media to the new framework. This also fixes the
31
    list-style: url(images/pass.png);
312 by mattgiuca
Full client-side testing - functional.
32
}
33
li.fail {
1099.1.64 by William Grant
Move ivle.webapp.tutorial's media to the new framework. This also fixes the
34
    list-style: url(images/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 {
1099.1.64 by William Grant
Move ivle.webapp.tutorial's media to the new framework. This also fixes the
37
    list-style: url(images/semifail.png);
690 by mattgiuca
tutorial: Added new balls (orange and grey) for new tutorial features.
38
}
312 by mattgiuca
Full client-side testing - functional.
39
li.exception {
1099.1.64 by William Grant
Move ivle.webapp.tutorial's media to the new framework. This also fixes the
40
    list-style: url(images/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 {
1099.1.64 by William Grant
Move ivle.webapp.tutorial's media to the new framework. This also fixes the
44
    list-style: url(images/pass.png);
690 by mattgiuca
tutorial: Added new balls (orange and grey) for new tutorial features.
45
}
46
li.incomplete {
1099.1.64 by William Grant
Move ivle.webapp.tutorial's media to the new framework. This also fixes the
47
    list-style: url(images/incomplete.png);
690 by mattgiuca
tutorial: Added new balls (orange and grey) for new tutorial features.
48
}
730 by mattgiuca
Added per-worksheet and per-subject score calculation.
49
li.semicomplete {
1099.1.64 by William Grant
Move ivle.webapp.tutorial's media to the new framework. This also fixes the
50
    list-style: url(images/semifail.png);
730 by mattgiuca
Added per-worksheet and per-subject score calculation.
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 {
1099.1.64 by William Grant
Move ivle.webapp.tutorial's media to the new framework. This also fixes the
54
    list-style: url(images/tiny/complete.png);
710 by mattgiuca
Tutorial: The tutorial system now presents a table of contents at the top.
55
    margin-left: 1.5em;
56
}
57
#tutorial-toc li.incomplete {
1099.1.64 by William Grant
Move ivle.webapp.tutorial's media to the new framework. This also fixes the
58
    list-style: url(images/tiny/incomplete.png);
710 by mattgiuca
Tutorial: The tutorial system now presents a table of contents at the top.
59
    margin-left: 1.5em;
60
}
730 by mattgiuca
Added per-worksheet and per-subject score calculation.
61
#tutorial-toc li.semicomplete {
1099.1.64 by William Grant
Move ivle.webapp.tutorial's media to the new framework. This also fixes the
62
    list-style: url(images/tiny/semicomplete.png);
730 by mattgiuca
Added per-worksheet and per-subject score calculation.
63
    margin-left: 1.5em;
64
}
710 by mattgiuca
Tutorial: The tutorial system now presents a table of contents at the top.
65
1026 by mattgiuca
CSS: Fixed up 'a' elements as follows:
66
h1 a, h2 a {
67
    color: black;
68
    text-decoration: none;
69
    cursor: default;
70
}
71
h1 a:hover, h2 a:hover {
72
    color: black;
73
    text-decoration: none;
74
    cursor: default;
75
}
76
1027 by mattgiuca
Tutorial: Added new feature - previous attempt viewing. Allows users to see
77
.attempthistory h3 {
78
    font-size: 1em;
79
    color: black;
80
}
81
/* Drop-down box */
82
.attempthistory select {
83
    width: 20em;
84
}
85
378 by stevenbird
www/dispatch/request.py:
86
/*
87
:Author: Edward Loper, James Curran
88
:Copyright: This stylesheet has been placed in the public domain.
89
90
Stylesheet for use with Docutils.
91
92
This stylesheet defines new css classes used by NLTK.
93
94
It uses a Python syntax highlighting scheme that matches
95
the colour scheme used by IDLE, which makes it easier for
96
beginners to check they are typing things in correctly.
97
*/
98
99
/* Include the standard docutils stylesheet. */
100
@import url(default.css);
101
102
/* Custom inline roles */
103
span.placeholder    { font-style: italic; font-family: monospace; }
104
span.example        { font-style: italic; }
105
span.emphasis       { font-style: italic; }
106
span.termdef        { font-weight: bold; }
107
/*span.term           { font-style: italic; }*/
108
span.category       { font-variant: small-caps; }
109
span.feature        { font-variant: small-caps; }
110
span.fval           { font-style: italic; }
111
span.math           { font-style: italic; }
112
span.mathit         { font-style: italic; }
113
span.lex            { font-variant: small-caps; }
114
115
/* Python souce code listings */
116
span.pysrc-prompt   { color: #9b0000; }
117
span.pysrc-more     { color: #9b00ff; }
118
span.pysrc-keyword  { color: #e06000; }
119
span.pysrc-builtin  { color: #940094; }
120
span.pysrc-string   { color: #00aa00; }
121
span.pysrc-comment  { color: #ff0000; }
122
span.pysrc-output   { color: #0000ff; }
123
span.pysrc-except   { color: #ff0000; }
124
span.pysrc-defname  { color: #008080; }
125
126
127
/* Doctest blocks */
128
pre.doctest         { margin: 0; padding: 0; font-weight: bold; }
129
div.doctest         { margin: 0 1em 1em 1em; padding: 0; }
130
table.doctest       { margin: 0; padding: 0;
131
                      border-top: 1px solid gray;
132
                      border-bottom: 1px solid gray; }
133
pre.copy-notify     { margin: 0; padding: 0.2em; font-weight: bold;
134
                      background-color: #ffffff; }
135
136
/* Python source listings */
137
div.pylisting       { margin: 0 1em 1em 1em; padding: 0; }
138
table.pylisting     { margin: 0; padding: 0;
139
                      border-top: 1px solid gray; }
140
td.caption { border-top: 1px solid black; margin: 0; padding: 0; }
141
.caption-label { font-weight: bold;  }
142
td.caption p { margin: 0; padding: 0; font-style: normal;}
143
144
table tr td.codeblock { 
145
  padding: 0.2em ! important; margin: 0;
146
  border-left: 1px solid gray;
147
  border-right: 2px solid gray;
148
  border-top: 0px solid gray;
149
  border-bottom: 1px solid gray;
150
  font-weight: bold; background-color: #eeffee;
151
}
152
153
table tr td.doctest  { 
154
  padding: 0.2em; margin: 0;
155
  border-left: 1px solid gray;
156
  border-right: 2px solid gray;
157
  border-top: 0px solid gray;
158
  border-bottom: 1px solid gray;
159
  font-weight: bold; background-color: #eeeeff;
160
}
161
162
td.codeblock table tr td.copybar {
163
    background: #40a060; border: 1px solid gray;
164
    font-family: monospace; padding: 0; margin: 0; }
165
td.doctest table tr td.copybar {
166
    background: #4060a0; border: 1px solid gray;
167
    font-family: monospace; padding: 0; margin: 0; }
168
169
td.pysrc { padding-left: 0.5em; }
170
171
img.callout { border-width: 0px; }
172
173
table.docutils {
174
    border-style: solid;
175
    border-width: 1px;
176
    margin-top: 6px;
177
    border-color: grey;
178
    border-collapse: collapse; }
179
180
table.docutils th {
181
    border-style: none;
182
    border-width: 1px;
183
    border-color: grey;
184
    padding: 0 .5em 0 .5em; }
185
186
table.docutils td {
187
    border-style: none;
188
    border-width: 1px;
189
    border-color: grey; 
190
    padding: 0 .5em 0 .5em; }
191
192
table.footnote td { padding: 0; }
193
table.footnote { border-width: 0; }
194
table.footnote td { border-width: 0; }
195
table.footnote th { border-width: 0; }
196
197
table.noborder { border-width: 0; }
198
199
table.example pre { margin-top: 4px; margin-bottom: 0; }
200
201
/* For figures & tables */
202
p.caption { margin-bottom: 0; }
203
div.figure { text-align: center; }
204
205
/* The index */
206
div.index { border: 1px solid black;
207
            background-color: #eeeeee; }
208
div.index h1 { padding-left: 0.5em; margin-top: 0.5ex;
209
               border-bottom: 1px solid black; }
210
ul.index { margin-left: 0.5em; padding-left: 0; }
211
li.index { list-style-type: none; }
212
p.index-heading { font-size: 120%; font-style: italic; margin: 0; }
213
li.index ul { margin-left: 2em; padding-left: 0; }
214
215
/* 'Note' callouts */
216
div.note
217
{
218
  border-right:   #87ceeb 1px solid;
219
  padding-right: 4px;
220
  border-top: #87ceeb 1px solid;
221
  padding-left: 4px;
222
  padding-bottom: 4px;
223
  margin: 2px 5% 10px;
224
  border-left: #87ceeb 1px solid;
225
  padding-top: 4px;
226
  border-bottom: #87ceeb 1px solid;
227
  font-style: normal;
228
  font-family: verdana, arial;
229
  background-color: #b0c4de;
230
}
231
232
table.rst-example { border: 1px solid black; }
233
table.rst-example tbody tr td { background: #eeeeee; }
234
table.rst-example thead tr th { background: #c0ffff; }
235
td.rst-raw { width: 0; }
236
237
/* Used by nltk.org/doc/test: */
238
div.doctest-list { text-align: center; }
239
table.doctest-list { border: 1px solid black;
240
  margin-left: auto; margin-right: auto;
241
}
242
table.doctest-list tbody tr td { background: #eeeeee;
243
  border: 1px solid #cccccc; text-align: left; }
244
table.doctest-list thead tr th { background: #304050; color: #ffffff;
245
  border: 1px solid #000000;}
246
span.doctest-passed { color: #008000; }
247
span.doctest-failed { color: #800000; }