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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
/* IVLE - Informatics Virtual Learning Environment
 * Copyright (C) 2007-2008 The University of Melbourne
 * Common Style Sheet
 * This file is redistributable under the terms of the GNU General Public
 * License version 2 or later.
 */

/** Generic styling **/

html, body {
    margin: 0;
    padding: 0;
    background-color: white;
    color: black;
    font-family: sans-serif;
    font-size: 0.95em;
}

a:link, a:visited, a:hover, a:active, a.fakelink {
    color: #002a8c;
    text-decoration: none;
}

a:hover, a.fakelink:hover {
    text-decoration: underline;
}

a img {
    border: none;
}

h1 {
    margin: 0;
    font-size: x-large;
    font-weight: normal;
}

#ivleview > h1 {
    margin: 0.5em 0 0.5em 0.5em;
}

h2 {
    font-size: 130%;
    font-weight: normal;
}

/** Special styles for header section **/

#ivleheader {
    position: absolute;
    background-color: #abf;
    background-image: url(../ivle.webapp.core/images/chrome/topbar-slashes.png);
    background-repeat: repeat-x;
    padding: 0;
    border-bottom: 1px solid black;
    /* IMPORTANT: This 2em is hard-coded elsewhere in this file. Search for
     * #ivleheader.height to update it. */
    height: 2em;
    left: 0;
    right: 0;
    z-index: 1;     /* Background to all, but the body */
}

/* Now we have lots of breadcrumb styles.
   The breadcrumbs are <li>s in a <ul>. Each <li> has either an <a> or
   a <span> inside it, with the label of the breadcrumb. <li>s may also
   have an <ul> inside them, which is a menu that pops up on hover.
 */
ul#ivle_breadcrumbs {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

ul#ivle_breadcrumbs > li {
    background: url(../ivle.webapp.core/images/chrome/breadcrumb-chevron.png) scroll no-repeat right;
    float: left;
    min-height: 29px;
    margin-right: 4px;
    position: relative;
}

ul#ivle_breadcrumbs > li > a {
    display: block;
    line-height: 2em;
    padding-right: 16px;
    vertical-align: middle;
    text-decoration: none;
    color: black;
}

ul#ivle_breadcrumbs > li > a > img {
    vertical-align: middle;
}

/* There is no breadcrumb to the left of the first one, so there is no margin.
   We add a special one. */
ul#ivle_breadcrumbs > li:first-child > a {
    padding-left: 6px;
}

ul#ivle_breadcrumbs > li > span {
    display: block;
    line-height: 2em;
    padding-right: 16px;
    vertical-align: middle;
}

ul#ivle_breadcrumbs > li > a:hover {
    text-decoration: underline;
}

ul#ivle_breadcrumbs > li > ul {
    display: none;
    list-style-type: none;

    position: absolute;
    padding-left: 0;
    top: 2em;
    left: -21px; /* Just meets the chevron on the left. */
    width: 200px;

    background: #abf;
    border: 1px solid #dee4ff;
    opacity: 0.95;
}

ul#ivle_breadcrumbs > li:first-child > ul {
    left: 0; /* Don't want the IVLE menu to run off the LHS. */
}

ul#ivle_breadcrumbs > li:hover > ul {
    display: block;
}

ul#ivle_breadcrumbs > li > ul > li {
    padding: 0.3em;
}

/* The IVLE crumb's menu items are extra high, with icons. */
ul#ivle_breadcrumbs > li:first-child > ul > li > a {
    min-height: 24px;
    vertical-align: middle;
    padding-top: 2px;
}

ul#ivle_breadcrumbs > li > ul > li > a {
    display: block;
}

ul#ivle_breadcrumbs > li > ul > li:hover {
    background: #b8c6ff;
}

ul#ivle_breadcrumbs > li.crumbmenu > a {
    background: url(../ivle.webapp.core/images/chrome/drop-down.png) scroll no-repeat right;
    margin-right: 10px;
}

#ivleheader_text {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.5em;
}

/* Note: The body has NO PADDING by default (unlike plain HTML).
 * This is because almost all of the apps need this behaviour.
 * If a particular app needs padding, it should manually wrap all of its
 * output in a <div id="ivle_padding">.
 */
#ivlebody {
    /* This is positioned absolutely so that its content can be positioned
     * absolutely as well, and so height: 100% really means it. */
    position: absolute;
    top: 2em;               /* == #ivleheader.height */
    bottom: 0;
    width: 100%;
    z-index: 0;     /* Behind header */
}

/* Apps can optionally have a <div id="ivle_padding"> as the outermost
 * element, if 1em of padding is desired (otherwise there will be no padding).
 * Note: No top padding, since the first element should have a margins (p or
 * h2).
 */
#ivle_padding {
    padding: 0 1em 1em 1em;
}

/* Add extra vertical spacing between major page sections. */
#ivle_padding .majorsection {
    margin-bottom: 2em;
}

#ivle_padding .majorsection > * {
    margin-left: 1.5em;
}

#ivle_padding .majorsection > h2:first-child {
    margin-left: 0;
    margin-bottom: 0.3em;
}

p.userhello {
    font-size: .8em;
    margin: 0;
}
.userhello .username {
    font-weight: bold;
}

/* Terms of Service accept / decline buttons */
#tos_acceptbuttons {
    text-align: center;
}

form.verticalform div {
    padding: 0.2em 0;
}

form.verticalform div label {
    display: block;
    float: left;
    text-align: right;
    width: 200px;
    margin-right: 5px;
    font-weight: bold;
}

form.verticalform.thin div label {
    width: 100px;
}

form.verticalform div.submit {
    margin-left: 205px;
}

form.verticalform.thin div.submit {
    margin-left: 105px;
}

.stackedform div label {
    font-weight: bold;
}

/* Subjects list */
.subject_current {
    font-weight: bold;
}

.pretty_table {
  text-align: left;
  border-collapse: collapse;
}

.pretty_table td, .pretty_table th {
  padding: 0.2em 0.7em;
  border-bottom: 1px solid #ccc;
}

.pretty_table th {
  border-bottom: 2px solid gray;
}

.pretty_table tbody td {
  color: #444;
}

.pretty_table tbody tr:hover {
  background-color: #efefef;
}

.pretty_table td:first-child, .pretty_table th:first-child {
  padding-left: 0;
}

.pretty_table tbody tr:hover td {
  color: #111;
}

.paddedlist > li {
  margin-bottom: 0.5em;
}

/* Action links have a 16x16 icon on the left. */
.addaction,
.deleteaction,
.editaction,
.erroraction,
.keyaction,
.manageaction,
.groupaction,
.subjectaction,
.marksaction,
.verifyaction,
.helpaction,
.webaction {
  padding-left: 20px;
  background-position: left center;
  background-repeat: no-repeat;
}

.addaction {
  background-image: url(images/interface/add.png);
}

.deleteaction {
  background-image: url(images/interface/delete.png);
}

.editaction {
  background-image: url(images/interface/pencil.png);
}

.erroraction {
  background-image: url(images/interface/error.png);
}

.keyaction {
  background-image: url(images/interface/key.png);
}

.manageaction {
  background-image: url(images/interface/wrench.png);
}

.groupaction {
  background-image: url(images/interface/group.png);
}

.subjectaction {
  background-image: url(../ivle.webapp.tutorial/tutorial-small.png);
}

.marksaction {
  background-image: url(../ivle.webapp.tutorial/images/table.png);
}

.verifyaction {
  background-image: url(images/interface/magnifier.png);
}

.helpaction {
  background-image: url(images/interface/help.png);
}

.webaction {
  background-image: url(images/interface/world.png);
}

/* Actions relating the context can be floated at the right. */
.contextactions {
  position: absolute;
  top: 0;
  right: 0;
  margin: 1em;
}

.contextactions a {
  display: block;
  margin-bottom: 0.3em;
}

.project.closed {
    opacity: 0.6;
}

.form_error {
    color: darkred;
}

.horizontalactions * {
    margin-right: 0.5em;
}

.disabled_user {
    text-decoration: line-through;
}