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

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 {
56
    color: navy;
57
    text-decoration: underline;
58
    cursor: pointer;
59
}
60
#actions1 a.choice:hover, #actions1 a.choice:active, #actions1 a.choice:focus,
61
    #actions2 a:hover, #actions2 a:active, #actions2 a:focus {
62
    color: blue;
63
}
64
#actions1 a.disabled {
65
    color: black;
66
    text-decoration: none;
67
    cursor: auto;
68
}
69
/* Drop-down actions and headings */
857 by wagrant
browser: Use optgroups rather than disabled options emulating headers
70
#actions1 option.moreactions, #actions1 option.disabled {
596 by mattgiuca
browser: In the Python code, writes out all required HTML contents for the top
71
    color: #aaa;
185 by mattgiuca
Integrated the (second) Prototype browser (HTML+CSS but no code) into the main
72
}
73
911 by wagrant
browser: Hide 'More Actions' by default. It will be shown by JS when
74
/* One of the actions2s is shown at runtime, depending on the context.
75
 * We will show moreactions if we need it. */
76
#actions1 #moreactions_area, #actions2 #actions2_file,
77
#actions2 #actions2_directory {
834 by wagrant
Let the client decide whether to show file or directory actions2, as
78
    display: none;
79
}
80
380 by mattgiuca
media/browser/browser.css: Transformed browser CSS from intrinsic layout to
81
/* Everything under the top bar */
82
83
#filesbody {
84
    position: absolute;
85
    left: 0;
86
    right: 0;
1100.1.13 by Matt Giuca
browser/media/browser.css: Changed sizes and styling of the top bar of the
87
    /* top == #topbar.height */
1294.2.103 by William Grant
Shrink the top bar of the filebrowser, as the h1 is gone.
88
    top: 2.3em;
1302 by William Grant
Revert browser bottom offset changes; the new one is broken in many browsers.
89
    /* Space for the mimimised console */
90
    bottom: 2em;
380 by mattgiuca
media/browser/browser.css: Transformed browser CSS from intrinsic layout to
91
}
92