19
a:link, a:visited, a:hover, a:active, a.fakelink {
21
text-decoration: none;
24
a:hover, a.fakelink:hover {
25
21
text-decoration: underline;
39
margin: 0.5em 0 0.5em 0.5em;
24
a:hover, a:active, a:focus {
47
32
/** Special styles for header section **/
50
35
position: absolute;
51
background-color: #abf;
52
background-image: url(../ivle.webapp.core/images/chrome/topbar-slashes.png);
53
background-repeat: repeat-x;
36
background-color: #fea;
55
38
border-bottom: 1px solid black;
56
/* IMPORTANT: This 2em is hard-coded elsewhere in this file. Search for
39
/* IMPORTANT: This 5.3em is hard-coded elsewhere in this file. Search for
57
40
* #ivleheader.height to update it. */
61
44
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.
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;
160
47
#ivleheader_text {
48
/* Pad left and right. */
161
49
position: absolute;
53
z-index: 3; /* In front */
56
/* Special "IVLE" and "Informatics Virtual Learning Environment" titles */
167
75
/* Note: The body has NO PADDING by default (unlike plain HTML).
182
90
/* Apps can optionally have a <div id="ivle_padding"> as the outermost
183
91
* 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 {
208
104
.userhello .username {
209
105
font-weight: bold;
108
/* The tabs bar is positioned absolutely, unlike the other header content.
109
* This allows it to be aligned exactly with the bottom of the header bar.
113
height: 5.3em; /* == #ivleheader.height */
120
z-index: 2; /* In front of background, behind text */
124
/* This allows for a single paragraph, currently used to display a warning
132
/* The apptabs ul is aligned to the bottom of #ivleheader_tabs */
137
right: 1em; /* == #ivleheader.padding-right */
144
border: 1px solid black;
145
background-color: #fc6;
148
ul#apptabs li:hover {
149
background-color: #fd8;
151
/* Currently active app tab */
152
ul#apptabs li.thisapp {
153
background-color: white;
154
border-bottom: 1px solid white;
158
color: navy; /* Text colour not to change */
159
text-decoration: none;
212
162
/* Terms of Service accept / decline buttons */
213
163
#tos_acceptbuttons {
214
164
text-align: center;
217
form.verticalform div {
221
form.verticalform div label {
230
form.verticalform.thin div label {
234
form.verticalform div.submit {
238
form.verticalform.thin div.submit {
242
.stackedform div label {
253
border-collapse: collapse;
256
.pretty_table td, .pretty_table th {
257
padding: 0.2em 0.7em;
258
border-bottom: 1px solid #ccc;
262
border-bottom: 2px solid gray;
265
.pretty_table tbody td {
269
.pretty_table tbody tr:hover {
270
background-color: #efefef;
273
.pretty_table td:first-child, .pretty_table th:first-child {
277
.pretty_table tbody tr:hover td {
282
margin-bottom: 0.5em;
285
/* Action links have a 16x16 icon on the left. */
297
background-position: left center;
298
background-repeat: no-repeat;
302
background-image: url(images/interface/add.png);
306
background-image: url(images/interface/delete.png);
310
background-image: url(images/interface/pencil.png);
314
background-image: url(images/interface/key.png);
318
background-image: url(images/interface/wrench.png);
322
background-image: url(images/interface/group.png);
326
background-image: url(../ivle.webapp.tutorial/tutorial-small.png);
330
background-image: url(images/interface/magnifier.png);
334
background-image: url(images/interface/help.png);
338
background-image: url(images/interface/world.png);
341
/* Actions relating the context can be floated at the right. */
351
margin-bottom: 0.3em;
362
.horizontalactions * {