~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
1100.1.35 by Matt Giuca
tutorial.css: Styled the H1 inside the page to look like a regular h1, not our
67
/* Cancel out the main stylesheet's h1 (the golden bar at the top).
68
 * Make it just look like the default (HTML4) style sheet's h1, but a bit
69
 * smaller.
70
 */
71
#ivle_padding h1 {
72
    background: none;
73
    margin: 0;
74
    padding: 0;
75
    margin: 0.67em 0;
76
    border: 0;
77
    font-weight: bolder;
78
    /* font-size: 2em; (standard) */
79
    font-size: 1.6em;
80
}
81
1026 by mattgiuca
CSS: Fixed up 'a' elements as follows:
82
h1 a, h2 a {
83
    color: black;
84
    text-decoration: none;
85
    cursor: default;
86
}
87
h1 a:hover, h2 a:hover {
88
    color: black;
89
    text-decoration: none;
90
    cursor: default;
91
}
92
1027 by mattgiuca
Tutorial: Added new feature - previous attempt viewing. Allows users to see
93
.attempthistory h3 {
94
    font-size: 1em;
95
    color: black;
96
}
97
/* Drop-down box */
98
.attempthistory select {
99
    width: 20em;
100
}
101
378 by stevenbird
www/dispatch/request.py:
102
/*
103
:Author: Edward Loper, James Curran
104
:Copyright: This stylesheet has been placed in the public domain.
105
106
Stylesheet for use with Docutils.
107
108
This stylesheet defines new css classes used by NLTK.
109
110
It uses a Python syntax highlighting scheme that matches
111
the colour scheme used by IDLE, which makes it easier for
112
beginners to check they are typing things in correctly.
113
*/
114
115
/* Include the standard docutils stylesheet. */
116
@import url(default.css);
117
118
/* Custom inline roles */
119
span.placeholder    { font-style: italic; font-family: monospace; }
120
span.example        { font-style: italic; }
121
span.emphasis       { font-style: italic; }
122
span.termdef        { font-weight: bold; }
123
/*span.term           { font-style: italic; }*/
124
span.category       { font-variant: small-caps; }
125
span.feature        { font-variant: small-caps; }
126
span.fval           { font-style: italic; }
127
span.math           { font-style: italic; }
128
span.mathit         { font-style: italic; }
129
span.lex            { font-variant: small-caps; }
130
131
/* Python souce code listings */
132
span.pysrc-prompt   { color: #9b0000; }
133
span.pysrc-more     { color: #9b00ff; }
134
span.pysrc-keyword  { color: #e06000; }
135
span.pysrc-builtin  { color: #940094; }
136
span.pysrc-string   { color: #00aa00; }
137
span.pysrc-comment  { color: #ff0000; }
138
span.pysrc-output   { color: #0000ff; }
139
span.pysrc-except   { color: #ff0000; }
140
span.pysrc-defname  { color: #008080; }
141
142
143
/* Doctest blocks */
144
pre.doctest         { margin: 0; padding: 0; font-weight: bold; }
145
div.doctest         { margin: 0 1em 1em 1em; padding: 0; }
146
table.doctest       { margin: 0; padding: 0;
147
                      border-top: 1px solid gray;
148
                      border-bottom: 1px solid gray; }
149
pre.copy-notify     { margin: 0; padding: 0.2em; font-weight: bold;
150
                      background-color: #ffffff; }
151
152
/* Python source listings */
153
div.pylisting       { margin: 0 1em 1em 1em; padding: 0; }
154
table.pylisting     { margin: 0; padding: 0;
155
                      border-top: 1px solid gray; }
156
td.caption { border-top: 1px solid black; margin: 0; padding: 0; }
157
.caption-label { font-weight: bold;  }
158
td.caption p { margin: 0; padding: 0; font-style: normal;}
159
160
table tr td.codeblock { 
161
  padding: 0.2em ! important; margin: 0;
162
  border-left: 1px solid gray;
163
  border-right: 2px solid gray;
164
  border-top: 0px solid gray;
165
  border-bottom: 1px solid gray;
166
  font-weight: bold; background-color: #eeffee;
167
}
168
169
table tr td.doctest  { 
170
  padding: 0.2em; margin: 0;
171
  border-left: 1px solid gray;
172
  border-right: 2px solid gray;
173
  border-top: 0px solid gray;
174
  border-bottom: 1px solid gray;
175
  font-weight: bold; background-color: #eeeeff;
176
}
177
178
td.codeblock table tr td.copybar {
179
    background: #40a060; border: 1px solid gray;
180
    font-family: monospace; padding: 0; margin: 0; }
181
td.doctest table tr td.copybar {
182
    background: #4060a0; border: 1px solid gray;
183
    font-family: monospace; padding: 0; margin: 0; }
184
185
td.pysrc { padding-left: 0.5em; }
186
187
img.callout { border-width: 0px; }
188
189
table.docutils {
190
    border-style: solid;
191
    border-width: 1px;
192
    margin-top: 6px;
193
    border-color: grey;
194
    border-collapse: collapse; }
195
196
table.docutils th {
197
    border-style: none;
198
    border-width: 1px;
199
    border-color: grey;
200
    padding: 0 .5em 0 .5em; }
201
202
table.docutils td {
203
    border-style: none;
204
    border-width: 1px;
205
    border-color: grey; 
206
    padding: 0 .5em 0 .5em; }
207
208
table.footnote td { padding: 0; }
209
table.footnote { border-width: 0; }
210
table.footnote td { border-width: 0; }
211
table.footnote th { border-width: 0; }
212
213
table.noborder { border-width: 0; }
214
215
table.example pre { margin-top: 4px; margin-bottom: 0; }
216
217
/* For figures & tables */
218
p.caption { margin-bottom: 0; }
219
div.figure { text-align: center; }
220
221
/* The index */
222
div.index { border: 1px solid black;
223
            background-color: #eeeeee; }
224
div.index h1 { padding-left: 0.5em; margin-top: 0.5ex;
225
               border-bottom: 1px solid black; }
226
ul.index { margin-left: 0.5em; padding-left: 0; }
227
li.index { list-style-type: none; }
228
p.index-heading { font-size: 120%; font-style: italic; margin: 0; }
229
li.index ul { margin-left: 2em; padding-left: 0; }
230
231
/* 'Note' callouts */
232
div.note
233
{
1099.5.5 by William Grant
Shave off the corners of some worksheet boxes (notes, exercises).
234
  padding: 4px;
378 by stevenbird
www/dispatch/request.py:
235
  margin: 2px 5% 10px;
236
  font-style: normal;
1099.5.5 by William Grant
Shave off the corners of some worksheet boxes (notes, exercises).
237
  font-family: sans-serif;
378 by stevenbird
www/dispatch/request.py:
238
  background-color: #b0c4de;
1099.5.5 by William Grant
Shave off the corners of some worksheet boxes (notes, exercises).
239
  -moz-border-radius: 10px;
240
}
241
242
div.note p.admonition-title
243
{
244
  font-weight: bold;
378 by stevenbird
www/dispatch/request.py:
245
}
246
247
table.rst-example { border: 1px solid black; }
248
table.rst-example tbody tr td { background: #eeeeee; }
249
table.rst-example thead tr th { background: #c0ffff; }
250
td.rst-raw { width: 0; }
251
252
/* Used by nltk.org/doc/test: */
253
div.doctest-list { text-align: center; }
254
table.doctest-list { border: 1px solid black;
255
  margin-left: auto; margin-right: auto;
256
}
257
table.doctest-list tbody tr td { background: #eeeeee;
258
  border: 1px solid #cccccc; text-align: left; }
259
table.doctest-list thead tr th { background: #304050; color: #ffffff;
260
  border: 1px solid #000000;}
261
span.doctest-passed { color: #008000; }
262
span.doctest-failed { color: #800000; }