38
padding: 0.5em 0 0 0.5em;
48
30
/** Special styles for header section **/
51
33
position: absolute;
52
background-color: #abf;
53
background-image: url(../ivle.webapp.core/images/chrome/topbar-slashes.png);
54
background-repeat: repeat-x;
34
background-color: #fea;
56
36
border-bottom: 1px solid black;
57
/* IMPORTANT: This 2em is hard-coded elsewhere in this file. Search for
37
/* IMPORTANT: This 5.3em is hard-coded elsewhere in this file. Search for
58
38
* #ivleheader.height to update it. */
62
42
z-index: 1; /* Background to all, but the body */
65
/* Now we have lots of breadcrumb styles.
66
The breadcrumbs are <li>s in a <ul>. Each <li> has either an <a> or
67
a <span> inside it, with the label of the breadcrumb. <li>s may also
68
have an <ul> inside them, which is a menu that pops up on hover.
73
list-style-type: none;
76
ul#ivle_breadcrumbs > li {
77
background: url(../ivle.webapp.core/images/chrome/breadcrumb-chevron.png) scroll no-repeat right;
84
ul#ivle_breadcrumbs > li > a {
88
vertical-align: middle;
89
text-decoration: none;
93
ul#ivle_breadcrumbs > li > a > img {
94
vertical-align: middle;
97
/* There is no breadcrumb to the left of the first one, so there is no margin.
98
We add a special one. */
99
ul#ivle_breadcrumbs > li:first-child > a {
103
ul#ivle_breadcrumbs > li > span {
107
vertical-align: middle;
110
ul#ivle_breadcrumbs > li > a:hover {
111
text-decoration: underline;
114
ul#ivle_breadcrumbs > li > ul {
116
list-style-type: none;
121
left: -21px; /* Just meets the chevron on the left. */
125
border: 1px solid #dee4ff;
129
ul#ivle_breadcrumbs > li:first-child > ul {
130
left: 0; /* Don't want the IVLE menu to run off the LHS. */
133
ul#ivle_breadcrumbs > li:hover > ul {
137
ul#ivle_breadcrumbs > li > ul > li {
141
/* The IVLE crumb's menu items are extra high, with icons. */
142
ul#ivle_breadcrumbs > li:first-child > ul > li > a {
144
vertical-align: middle;
148
ul#ivle_breadcrumbs > li > ul > li > a {
152
ul#ivle_breadcrumbs > li > ul > li:hover {
156
ul#ivle_breadcrumbs > li.crumbmenu > a {
157
background: url(../ivle.webapp.core/images/chrome/drop-down.png) scroll no-repeat right;
161
45
#ivleheader_text {
46
/* Pad left and right. */
162
47
position: absolute;
51
z-index: 3; /* In front */
54
/* Special "IVLE" and "Informatics Virtual Learning Environment" titles */
168
73
/* Note: The body has NO PADDING by default (unlike plain HTML).
174
79
/* This is positioned absolutely so that its content can be positioned
175
80
* absolutely as well, and so height: 100% really means it. */
176
81
position: absolute;
177
top: 2em; /* == #ivleheader.height */
82
top: 5.3em; /* == #ivleheader.height */
180
85
z-index: 0; /* Behind header */
183
88
/* Apps can optionally have a <div id="ivle_padding"> as the outermost
184
89
* element, if 1em of padding is desired (otherwise there will be no padding).
185
* Note: No top padding, since the first element should have a margins (p or
189
padding: 0 1em 1em 1em;
196
.userhello .username {
102
p.userhello .username {
197
103
font-weight: bold;
106
/* The tabs bar is positioned absolutely, unlike the other header content.
107
* This allows it to be aligned exactly with the bottom of the header bar.
111
height: 5.3em; /* == #ivleheader.height */
118
z-index: 2; /* In front of background, behind text */
122
/* This allows for a single paragraph, currently used to display a warning
130
/* The apptabs ul is aligned to the bottom of #ivleheader_tabs */
135
right: 1em; /* == #ivleheader.padding-right */
142
border: 1px solid black;
143
background-color: #fc6;
146
ul#apptabs li:hover {
147
background-color: #fd8;
149
/* Currently active app tab */
150
ul#apptabs li.thisapp {
151
background-color: white;
152
border-bottom: 1px solid white;
156
color: navy; /* Text colour not to change */
157
text-decoration: none;
200
160
/* Terms of Service accept / decline buttons */
201
161
#tos_acceptbuttons {
202
162
text-align: center;
205
form.verticalform div {
209
form.verticalform div label {
218
form.verticalform div.submit input[type=submit] {
222
.stackedform div label {
233
border-collapse: collapse;
236
.pretty_table td, .pretty_table th {
237
padding: 0.2em 0.7em;
238
border-bottom: 1px solid #ccc;
242
border-bottom: 2px solid gray;
245
.pretty_table tbody td {
249
.pretty_table tbody tr:hover {
250
background-color: #efefef;
253
.pretty_table td:first-child, .pretty_table th:first-child {
257
.pretty_table tbody tr:hover td {