170
by mattgiuca
browser: Added CSS and JS files (not much in them). |
1 |
/* IVLE - Informatics Virtual Learning Environment
|
2 |
* Copyright (C) 2007-2008 The University of Melbourne
|
|
3 |
* Style Sheet for File Browser and Editor
|
|
4 |
* This file is redistributable under the terms of the GNU General Public
|
|
5 |
* License version 2 or later.
|
|
6 |
*/
|
|
7 |
||
185
by mattgiuca
Integrated the (second) Prototype browser (HTML+CSS but no code) into the main |
8 |
/* GENERAL FORMATTING */
|
9 |
||
380
by mattgiuca
media/browser/browser.css: Transformed browser CSS from intrinsic layout to |
10 |
#ivlebody p, #ivlebody h2, #ivlebody h3 { |
185
by mattgiuca
Integrated the (second) Prototype browser (HTML+CSS but no code) into the main |
11 |
padding: 0; |
380
by mattgiuca
media/browser/browser.css: Transformed browser CSS from intrinsic layout to |
12 |
margin: 0.7em 0; |
185
by mattgiuca
Integrated the (second) Prototype browser (HTML+CSS but no code) into the main |
13 |
}
|
380
by mattgiuca
media/browser/browser.css: Transformed browser CSS from intrinsic layout to |
14 |
#ivlebody p, #ivlebody h3 { |
185
by mattgiuca
Integrated the (second) Prototype browser (HTML+CSS but no code) into the main |
15 |
font-size: 1em; |
16 |
}
|
|
380
by mattgiuca
media/browser/browser.css: Transformed browser CSS from intrinsic layout to |
17 |
#ivlebody h2 { |
185
by mattgiuca
Integrated the (second) Prototype browser (HTML+CSS but no code) into the main |
18 |
font-size: 1.1em; |
19 |
}
|
|
20 |
||
205
by mattgiuca
browser.js: Added appropriate handlers for error, text, and binary data. |
21 |
.padding { |
22 |
padding: 1em; |
|
23 |
}
|
|
24 |
||
185
by mattgiuca
Integrated the (second) Prototype browser (HTML+CSS but no code) into the main |
25 |
/* TOP BAR */
|
26 |
||
27 |
#topbar { |
|
380
by mattgiuca
media/browser/browser.css: Transformed browser CSS from intrinsic layout to |
28 |
position: absolute; |
29 |
left: 0; |
|
30 |
right: 0; |
|
31 |
top: 0; |
|
32 |
/* height == h2.margin + h2.line-height
|
|
33 |
* + max(h2.margin, p.margin) + p.line-height + p.margin
|
|
34 |
* == 1.1*0.7em + 1.1*1.2em + 1.1*0.7em + 1.1em + 0.7em
|
|
35 |
* == 4.6em */
|
|
36 |
height: 4.6em; |
|
37 |
padding: 0.5em; |
|
185
by mattgiuca
Integrated the (second) Prototype browser (HTML+CSS but no code) into the main |
38 |
background-color: #aaf; |
39 |
}
|
|
40 |
#topbar a { |
|
41 |
font-weight: bold; |
|
42 |
}
|
|
43 |
||
380
by mattgiuca
media/browser/browser.css: Transformed browser CSS from intrinsic layout to |
44 |
/* Everything under the top bar */
|
45 |
||
46 |
#filesbody { |
|
47 |
position: absolute; |
|
48 |
left: 0; |
|
49 |
right: 0; |
|
50 |
/* top == #topbar.height + #topbar.padding * 2 */
|
|
51 |
top: 5.6em; |
|
52 |
bottom: 0; |
|
53 |
}
|
|
54 |