5
5
* License version 2 or later.
8
/** Generic styling **/
13
background-color: white;
15
9
font-family: sans-serif;
21
text-decoration: underline;
24
a:hover, a:active, a:focus {
38
padding: 0.5em 0 0 0.5em;
48
/** Special styles for header section **/
52
background-color: #abf;
53
background-image: url(../ivle.webapp.core/images/chrome/topbar-slashes.png);
54
background-repeat: repeat-x;
56
border-bottom: 1px solid black;
57
/* IMPORTANT: This 2em is hard-coded elsewhere in this file. Search for
58
* #ivleheader.height to update it. */
62
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;
168
/* Note: The body has NO PADDING by default (unlike plain HTML).
169
* This is because almost all of the apps need this behaviour.
170
* If a particular app needs padding, it should manually wrap all of its
171
* output in a <div id="ivle_padding">.
174
/* This is positioned absolutely so that its content can be positioned
175
* absolutely as well, and so height: 100% really means it. */
177
top: 2em; /* == #ivleheader.height */
180
z-index: 0; /* Behind header */
183
/* Apps can optionally have a <div id="ivle_padding"> as the outermost
184
* 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 {
200
/* Terms of Service accept / decline buttons */
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 {