19
a:link, a:visited, a:hover, a:active, a.fakelink {
21
text-decoration: none;
24
a:hover, a.fakelink:hover {
25
text-decoration: underline;
39
margin: 0.5em 0 0.5em 0.5em;
22
a:hover, a:active, a:focus {
47
30
/** Special styles for header section **/
51
background-color: #abf;
52
background-image: url(../ivle.webapp.core/images/chrome/topbar-slashes.png);
53
background-repeat: repeat-x;
33
background-color: #fea;
34
/* Pad left and right. */
55
36
border-bottom: 1px solid black;
56
/* IMPORTANT: This 2em is hard-coded elsewhere in this file. Search for
57
* #ivleheader.height to update it. */
61
z-index: 1; /* Background to all, but the body */
64
/* Now we have lots of breadcrumb styles.
65
The breadcrumbs are <li>s in a <ul>. Each <li> has either an <a> or
66
a <span> inside it, with the label of the breadcrumb. <li>s may also
67
have an <ul> inside them, which is a menu that pops up on hover.
40
/* Special "IVLE" and "Informatics Virtual Learning Environment" titles */
72
list-style-type: none;
75
ul#ivle_breadcrumbs > li {
76
background: url(../ivle.webapp.core/images/chrome/breadcrumb-chevron.png) scroll no-repeat right;
83
ul#ivle_breadcrumbs > li > a {
87
vertical-align: middle;
88
text-decoration: none;
92
ul#ivle_breadcrumbs > li > a > img {
93
vertical-align: middle;
96
/* There is no breadcrumb to the left of the first one, so there is no margin.
97
We add a special one. */
98
ul#ivle_breadcrumbs > li:first-child > a {
102
ul#ivle_breadcrumbs > li > span {
106
vertical-align: middle;
109
ul#ivle_breadcrumbs > li > a:hover {
110
text-decoration: underline;
113
ul#ivle_breadcrumbs > li > ul {
115
list-style-type: none;
120
left: -21px; /* Just meets the chevron on the left. */
124
border: 1px solid #dee4ff;
128
ul#ivle_breadcrumbs > li:first-child > ul {
129
left: 0; /* Don't want the IVLE menu to run off the LHS. */
132
ul#ivle_breadcrumbs > li:hover > ul {
136
ul#ivle_breadcrumbs > li > ul > li {
140
/* The IVLE crumb's menu items are extra high, with icons. */
141
ul#ivle_breadcrumbs > li:first-child > ul > li > a {
143
vertical-align: middle;
147
ul#ivle_breadcrumbs > li > ul > li > a {
151
ul#ivle_breadcrumbs > li > ul > li:hover {
155
ul#ivle_breadcrumbs > li.crumbmenu > a {
156
background: url(../ivle.webapp.core/images/chrome/drop-down.png) scroll no-repeat right;
167
/* Note: The body has NO PADDING by default (unlike plain HTML).
168
* This is because almost all of the apps need this behaviour.
169
* If a particular app needs padding, it should manually wrap all of its
170
* output in a <div id="ivle_padding">.
59
/* Note: You can override this in app-specific CSS if you want to
60
* push the body all the way to the edge. */
173
/* This is positioned absolutely so that its content can be positioned
174
* absolutely as well, and so height: 100% really means it. */
176
top: 2em; /* == #ivleheader.height */
179
z-index: 0; /* Behind header */
182
/* Apps can optionally have a <div id="ivle_padding"> as the outermost
183
* element, if 1em of padding is desired (otherwise there will be no padding).
184
* Note: No top padding, since the first element should have a margins (p or
188
padding: 0 1em 1em 1em;
191
/* Add extra vertical spacing between major page sections. */
192
#ivle_padding .majorsection {
196
#ivle_padding .majorsection > * {
200
#ivle_padding .majorsection > h2:first-child {
202
margin-bottom: 0.3em;
209
.userhello .username {
72
p.userhello .username {
210
73
font-weight: bold;
213
/* Terms of Service accept / decline buttons */
218
form.verticalform div {
222
form.verticalform div label {
225
77
text-align: right;
231
form.verticalform.thin div label {
235
form.verticalform div.submit {
239
form.verticalform.thin div.submit {
243
.stackedform div label {
254
border-collapse: collapse;
257
.pretty_table td, .pretty_table th {
258
padding: 0.2em 0.7em;
259
border-bottom: 1px solid #ccc;
263
border-bottom: 2px solid gray;
266
.pretty_table tbody td {
270
.pretty_table tbody tr:hover {
271
background-color: #efefef;
274
.pretty_table td:first-child, .pretty_table th:first-child {
278
.pretty_table tbody tr:hover td {
283
margin-bottom: 0.5em;
286
/* Action links have a 16x16 icon on the left. */
300
background-position: left center;
301
background-repeat: no-repeat;
305
background-image: url(images/interface/add.png);
309
background-image: url(images/interface/delete.png);
313
background-image: url(images/interface/pencil.png);
317
background-image: url(images/interface/error.png);
321
background-image: url(images/interface/key.png);
325
background-image: url(images/interface/wrench.png);
329
background-image: url(images/interface/group.png);
333
background-image: url(../ivle.webapp.tutorial/tutorial-small.png);
337
background-image: url(../ivle.webapp.tutorial/images/table.png);
341
background-image: url(images/interface/magnifier.png);
345
background-image: url(images/interface/help.png);
349
background-image: url(images/interface/world.png);
352
/* Actions relating the context can be floated at the right. */
362
margin-bottom: 0.3em;
373
.horizontalactions * {
83
border: 1px solid black;
84
background-color: #fc6;
88
background-color: #fd8;
90
/* Currently active app tab */
91
ul#apptabs li.thisapp {
92
background-color: white;
93
border-bottom: 1px solid white;
97
color: navy; /* Text colour not to change */
98
text-decoration: none;