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

« back to all changes in this revision

Viewing changes to www/media/common/ivle.css

  • Committer: drtomc
  • Date: 2008-02-01 04:13:23 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:369
Add stuff on installing and configuring pound.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
    font-size: 0.95em;
17
17
}
18
18
 
19
 
a {
 
19
a:link, a:visited {
20
20
    color: navy;
21
 
    text-decoration: underline;
22
 
    cursor: pointer;
23
21
}
24
22
a:hover, a:active, a:focus {
25
23
    color: blue;
29
27
    color: #a00;
30
28
}
31
29
 
32
 
a img {
33
 
    border: none;
34
 
}
35
 
 
36
 
/* h1s are styled specially to a small golden 3D bar */
37
 
#ivlebody h1 {
38
 
    background-color: #fea;
39
 
    background-image: url(../ivle.webapp.core/images/chrome/h1-bg.png);
40
 
    background-repeat: repeat-y;
41
 
    margin: 0;
42
 
    padding: 0.5em;
43
 
    border-top: white 2px solid;        /* Top edge of 3D effect */
44
 
    border-bottom: #863 1px solid;      /* Bottom edge of 3D effect */
45
 
    font-size: 1em;
46
 
    font-weight: bold;
47
 
}
48
 
 
49
 
#ivlebody h2 {
50
 
    font-size: 1.4em;
51
 
}
52
 
 
53
30
/** Special styles for header section **/
54
31
 
55
32
#ivleheader {
56
33
    position: absolute;
57
 
    background-color: #abf;
58
 
    background-image: url(../ivle.webapp.core/images/chrome/topbar-slashes.png);
59
 
    background-repeat: repeat-x;
 
34
    background-color: #fea;
60
35
    padding: 0;
61
36
    border-bottom: 1px solid black;
62
 
    /* 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
63
38
     * #ivleheader.height to update it. */
64
 
    height: 2em;
 
39
    height: 5.3em;
65
40
    left: 0;
66
41
    right: 0;
67
42
    z-index: 1;     /* Background to all, but the body */
68
43
}
69
44
 
70
 
ul#ivle_breadcrumbs {
71
 
    margin: 0;
72
 
    padding: 0;
73
 
    list-style-type: none;
74
 
}
75
 
 
76
 
ul#ivle_breadcrumbs > li {
77
 
    background: url(../ivle.webapp.core/images/chrome/breadcrumb-chevron.png) scroll no-repeat right;
78
 
    float: left;
79
 
    min-height: 29px;
80
 
    margin-right: 6px;
81
 
    position: relative;
82
 
}
83
 
 
84
 
ul#ivle_breadcrumbs > li > a {
85
 
    display: block;
86
 
    padding: 4px 16px 0 6px;
87
 
    text-decoration: none;
88
 
    color: black;
89
 
}
90
 
 
91
 
ul#ivle_breadcrumbs > li > a:hover {
92
 
    text-decoration: underline;
93
 
}
94
 
 
95
 
ul#ivle_breadcrumbs > li > ul {
96
 
    display: none;
97
 
    list-style-type: none;
98
 
 
99
 
    position: absolute;
100
 
    padding-left: 0;
101
 
    top: 2em;
102
 
    left: -21px; /* Just meets the chevron on the left. */
103
 
    width: 200px;
104
 
 
105
 
    background: #abf;
106
 
    border: 1px solid #dee4ff;
107
 
    opacity: 0.95;
108
 
}
109
 
 
110
 
ul#ivle_breadcrumbs > li:hover > ul {
111
 
    display: block;
112
 
}
113
 
 
114
 
ul#ivle_breadcrumbs > li > ul > li {
115
 
    padding: 0.3em;
116
 
}
117
 
 
118
 
ul#ivle_breadcrumbs > li > ul > li:hover {
119
 
    background: #b8c6ff;
120
 
}
121
 
 
122
45
#ivleheader_text {
123
 
    float: right;
124
 
    padding: 0.5em;
 
46
    /* Pad left and right. */
 
47
    position: absolute;
 
48
    padding: 0 1em;
 
49
    left: 0;
 
50
    right: 0;
 
51
    z-index: 3;     /* In front */
 
52
}
 
53
 
 
54
/* Special "IVLE" and "Informatics Virtual Learning Environment" titles */
 
55
#ivleheader_text h1 {
 
56
    position: absolute;
 
57
    text-align: left;
 
58
    font-size: 3.8em;
 
59
    font-style: italic;
 
60
    color: #ffc;
 
61
    margin: 0;
 
62
    padding: 0;
 
63
}
 
64
#ivleheader_text h2 {
 
65
    position: absolute;
 
66
    text-align: left;
 
67
    font-size: 1.3em;
 
68
    margin-top: 1em;
 
69
    margin-bottom: 1em;
 
70
    padding: 0;
125
71
}
126
72
 
127
73
/* Note: The body has NO PADDING by default (unlike plain HTML).
133
79
    /* This is positioned absolutely so that its content can be positioned
134
80
     * absolutely as well, and so height: 100% really means it. */
135
81
    position: absolute;
136
 
    top: 2em;               /* == #ivleheader.height */
 
82
    top: 5.3em;             /* == #ivleheader.height */
137
83
    bottom: 0;
138
84
    width: 100%;
139
85
    z-index: 0;     /* Behind header */
141
87
 
142
88
/* Apps can optionally have a <div id="ivle_padding"> as the outermost
143
89
 * element, if 1em of padding is desired (otherwise there will be no padding).
144
 
 * Note: No top padding, since the first element should have a margins (p or
145
 
 * h2).
146
90
 */
147
91
#ivle_padding {
148
 
    padding: 0 1em 1em 1em;
 
92
    padding: 1em;
149
93
}
150
94
 
151
95
p.userhello {
152
96
    font-size: .8em;
 
97
    top: 0;
 
98
    text-align: right;
 
99
    padding: 11px 0;
153
100
    margin: 0;
154
101
}
155
 
.userhello .username {
 
102
p.userhello .username {
156
103
    font-weight: bold;
157
104
}
158
105
 
159
 
/* Terms of Service accept / decline buttons */
160
 
#tos_acceptbuttons {
161
 
    text-align: center;
162
 
}
163
 
 
164
 
/* For system warning messages */
165
 
.system_warning {
166
 
    margin: 1em;
167
 
    padding: 0.5em;
168
 
    border: 1px solid #a22;
169
 
    background: #f88;
 
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.
 
108
 */
 
109
#ivleheader_tabs {
 
110
    position: absolute;
 
111
    height: 5.3em;          /* == #ivleheader.height */
 
112
    top: 0;
 
113
    left: 0;
 
114
    right: 0;
 
115
    width: 100%;
 
116
    padding: 0;
 
117
    margin: 0;
 
118
    z-index: 2;     /* In front of background, behind text */
 
119
}
 
120
 
 
121
/* The apptabs ul is aligned to the bottom of #ivleheader_tabs */
 
122
ul#apptabs {
 
123
    position: absolute;
 
124
    text-align: right;
 
125
    bottom: 0;
 
126
    right: 1em;             /* == #ivleheader.padding-right */
 
127
    padding: 0;
 
128
    margin: 0;
 
129
}
 
130
ul#apptabs li {
 
131
    display: inline;
 
132
    padding: 3px;
 
133
    border: 1px solid black;
 
134
    background-color: #fc6;
 
135
    padding: 0 3px;
 
136
}
 
137
ul#apptabs li:hover {
 
138
    background-color: #fd8;
 
139
}
 
140
/* Currently active app tab */
 
141
ul#apptabs li.thisapp {
 
142
    background-color: white;
 
143
    border-bottom: 1px solid white;
 
144
}
 
145
 
 
146
ul#apptabs a {
 
147
    color: navy;    /* Text colour not to change */
 
148
    text-decoration: none;
170
149
}