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; |
|
1100.1.13
by Matt Giuca
browser/media/browser.css: Changed sizes and styling of the top bar of the |
32 |
/* Approximate height of the components */
|
1294.2.103
by William Grant
Shrink the top bar of the filebrowser, as the h1 is gone. |
33 |
height: 2.3em; |
1100.1.7
by Matt Giuca
File browser: Re-styled the path area, now has a yellow 3D-looking gradient |
34 |
padding: 0; |
1100.1.13
by Matt Giuca
browser/media/browser.css: Changed sizes and styling of the top bar of the |
35 |
background-color: #ddd; |
1100.1.7
by Matt Giuca
File browser: Re-styled the path area, now has a yellow 3D-looking gradient |
36 |
}
|
37 |
||
1100.1.32
by Matt Giuca
Browser: Made the "path" div into an h1, so it uses the style of a regular h1 |
38 |
/* We don't want the bold-ness of a regular golden H1 */
|
1100.1.7
by Matt Giuca
File browser: Re-styled the path area, now has a yellow 3D-looking gradient |
39 |
#topbar #path { |
1100.1.32
by Matt Giuca
Browser: Made the "path" div into an h1, so it uses the style of a regular h1 |
40 |
font-weight: normal; |
617
by mattgiuca
Added upload panel to the topbar instead of being on the side. |
41 |
}
|
42 |
||
596
by mattgiuca
browser: In the Python code, writes out all required HTML contents for the top |
43 |
#topbar #path a { |
44 |
font-weight: bold; |
|
45 |
}
|
|
1100.1.13
by Matt Giuca
browser/media/browser.css: Changed sizes and styling of the top bar of the |
46 |
|
1100.1.14
by Matt Giuca
browser: The "actions1" and "actions2" bars are now combined into a single bar |
47 |
#actions { |
1100.1.15
by Matt Giuca
browser: Top bar, tweaked pixel sizes. Added a bit of a 3D effect. |
48 |
padding: 0.3em 0.5em; |
49 |
border-top: white 1px solid; /* Top edge of 3D effect */ |
|
1100.1.13
by Matt Giuca
browser/media/browser.css: Changed sizes and styling of the top bar of the |
50 |
}
|
596
by mattgiuca
browser: In the Python code, writes out all required HTML contents for the top |
51 |
/* class "choice" is for all choices, enabled and disabled. This is for both
|
52 |
* the <a> actions and <option> actions.
|
|
53 |
* class "disabled" is for disabled choices.
|
|
54 |
*/
|
|
55 |
#actions1 a.choice, #actions2 a { |
|
1588
by William Grant
Darken links slightly. |
56 |
color: #002a8c; |
596
by mattgiuca
browser: In the Python code, writes out all required HTML contents for the top |
57 |
cursor: pointer; |
58 |
}
|
|
1584
by William Grant
Redo link CSS: now a lighter blue, no underline except for :hover, and no style at all for non-link <a>s. |
59 |
|
596
by mattgiuca
browser: In the Python code, writes out all required HTML contents for the top |
60 |
#actions1 a.choice:hover, #actions1 a.choice:active, #actions1 a.choice:focus, |
61 |
#actions2 a:hover, #actions2 a:active, #actions2 a:focus { |
|
1588
by William Grant
Darken links slightly. |
62 |
color: #002a8c; |
1584
by William Grant
Redo link CSS: now a lighter blue, no underline except for :hover, and no style at all for non-link <a>s. |
63 |
}
|
64 |
||
65 |
#actions1 a.choice:hover, #actions2 a:hover { |
|
66 |
text-decoration: underline; |
|
67 |
}
|
|
68 |
||
596
by mattgiuca
browser: In the Python code, writes out all required HTML contents for the top |
69 |
#actions1 a.disabled { |
70 |
color: black; |
|
71 |
text-decoration: none; |
|
72 |
cursor: auto; |
|
73 |
}
|
|
74 |
/* Drop-down actions and headings */
|
|
857
by wagrant
browser: Use optgroups rather than disabled options emulating headers |
75 |
#actions1 option.moreactions, #actions1 option.disabled { |
596
by mattgiuca
browser: In the Python code, writes out all required HTML contents for the top |
76 |
color: #aaa; |
185
by mattgiuca
Integrated the (second) Prototype browser (HTML+CSS but no code) into the main |
77 |
}
|
78 |
||
911
by wagrant
browser: Hide 'More Actions' by default. It will be shown by JS when |
79 |
/* One of the actions2s is shown at runtime, depending on the context.
|
80 |
* We will show moreactions if we need it. */
|
|
81 |
#actions1 #moreactions_area, #actions2 #actions2_file, |
|
82 |
#actions2 #actions2_directory { |
|
834
by wagrant
Let the client decide whether to show file or directory actions2, as |
83 |
display: none; |
84 |
}
|
|
85 |
||
380
by mattgiuca
media/browser/browser.css: Transformed browser CSS from intrinsic layout to |
86 |
/* Everything under the top bar */
|
87 |
||
88 |
#filesbody { |
|
89 |
position: absolute; |
|
90 |
left: 0; |
|
91 |
right: 0; |
|
1100.1.13
by Matt Giuca
browser/media/browser.css: Changed sizes and styling of the top bar of the |
92 |
/* top == #topbar.height */
|
1294.2.103
by William Grant
Shrink the top bar of the filebrowser, as the h1 is gone. |
93 |
top: 2.3em; |
1302
by William Grant
Revert browser bottom offset changes; the new one is broken in many browsers. |
94 |
/* Space for the mimimised console */
|
95 |
bottom: 2em; |
|
380
by mattgiuca
media/browser/browser.css: Transformed browser CSS from intrinsic layout to |
96 |
}
|
97 |