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