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 |
}
|
|
596
by mattgiuca
browser: In the Python code, writes out all required HTML contents for the top |
40 |
|
617
by mattgiuca
Added upload panel to the topbar instead of being on the side. |
41 |
#topbar div { |
42 |
margin: 0.2em; |
|
43 |
}
|
|
44 |
||
596
by mattgiuca
browser: In the Python code, writes out all required HTML contents for the top |
45 |
#topbar #path a { |
46 |
font-weight: bold; |
|
47 |
}
|
|
48 |
/* class "choice" is for all choices, enabled and disabled. This is for both
|
|
49 |
* the <a> actions and <option> actions.
|
|
50 |
* class "disabled" is for disabled choices.
|
|
51 |
*/
|
|
52 |
#actions1 a.choice, #actions2 a { |
|
53 |
color: navy; |
|
54 |
text-decoration: underline; |
|
55 |
cursor: pointer; |
|
56 |
}
|
|
57 |
#actions1 a.choice:hover, #actions1 a.choice:active, #actions1 a.choice:focus, |
|
58 |
#actions2 a:hover, #actions2 a:active, #actions2 a:focus { |
|
59 |
color: blue; |
|
60 |
}
|
|
61 |
#actions1 a.disabled { |
|
62 |
color: black; |
|
63 |
text-decoration: none; |
|
64 |
cursor: auto; |
|
65 |
}
|
|
66 |
/* Drop-down actions and headings */
|
|
857
by wagrant
browser: Use optgroups rather than disabled options emulating headers |
67 |
#actions1 option.moreactions, #actions1 option.disabled { |
596
by mattgiuca
browser: In the Python code, writes out all required HTML contents for the top |
68 |
color: #aaa; |
185
by mattgiuca
Integrated the (second) Prototype browser (HTML+CSS but no code) into the main |
69 |
}
|
70 |
||
834
by wagrant
Let the client decide whether to show file or directory actions2, as |
71 |
/* One of these two is shown at runtime, depending on the context. */
|
72 |
#actions2 #actions2_file, #actions2 #actions2_directory { |
|
73 |
display: none; |
|
74 |
}
|
|
75 |
||
380
by mattgiuca
media/browser/browser.css: Transformed browser CSS from intrinsic layout to |
76 |
/* Everything under the top bar */
|
77 |
||
78 |
#filesbody { |
|
79 |
position: absolute; |
|
80 |
left: 0; |
|
81 |
right: 0; |
|
82 |
/* top == #topbar.height + #topbar.padding * 2 */
|
|
83 |
top: 5.6em; |
|
714
by dcoles
browser: Fixed CSS so we don't clobber the bottom on the page with our |
84 |
/* Space for the mimimised console */
|
729
by dcoles
Browser: Attemping to fix the browser and console box CSS so that it doesn't |
85 |
bottom: 3.5em; |
380
by mattgiuca
media/browser/browser.css: Transformed browser CSS from intrinsic layout to |
86 |
}
|
87 |