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

« back to all changes in this revision

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

  • Committer: mattgiuca
  • Date: 2008-01-12 15:32:54 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:200
fileservice.listing: Now returns a nicer date format for mtime_nice.
    Applies an intuitive algorithm to make the date even shorter,
    (eg. "today" or "3 days ago") and returns this as mtime_short.
util.js: Fixed path_join if the first path is empty. (Was incorrectly adding
    a leading slash).
    Added optional "title" arguments to dom_make_text_elem and
    dom_make_link_elem.
browser.js: Displays mtime_short in the file table instead of mtime_nice
    (it was always too long). Displays the full date as a tooltip.
    Auto-navigates to the user's home directory if accessed from the root.
    (This may be a temporary measure, but it was giving a mean error before).
    Various code makes use of util's new optional "title" arguments.
dispatch.html: Writes a new JavaScript variable, "username", so JavaScript
    code knows which user is logged in.
    Cleaned up JS variables repr (previously they did bad escapes in some
    cases).

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
    color: blue;
24
24
}
25
25
 
26
 
h1 {
27
 
    text-align: center;
28
 
    font-size: 1.3em;
29
 
    margin-top: 0.67em;
30
 
    margin-bottom: 0.67em;
31
 
}
32
 
 
33
26
.error {
34
27
    color: #a00;
35
28
}
38
31
 
39
32
#ivleheader {
40
33
    background-color: #fea;
41
 
    /* Pad left and right. Pad 1px top to extend colour. */
42
 
    padding: 1px 1em 0 1em;
 
34
    /* Pad left and right. */
 
35
    padding: 0 1em;
43
36
    border-bottom: 1px solid black;
44
 
}
 
37
    min-height: 4.3em;
 
38
}
 
39
 
 
40
/* Special "IVLE" and "Informatics Virtual Learning Environment" titles */
 
41
#ivleheader h1 {
 
42
    position: absolute;
 
43
    text-align: left;
 
44
    font-size: 3.8em;
 
45
    font-style: italic;
 
46
    color: #ffc;
 
47
    margin: 0;
 
48
    padding: 0;
 
49
}
 
50
#ivleheader h2 {
 
51
    position: absolute;
 
52
    text-align: left;
 
53
    font-size: 1.3em;
 
54
    margin-top: 1em;
 
55
    margin-bottom: 1em;
 
56
    padding: 0;
 
57
}
 
58
 
45
59
/* Note: You can override this in app-specific CSS if you want to
46
60
 * push the body all the way to the edge. */
47
61
#ivlebody {
50
64
 
51
65
p.userhello {
52
66
    font-size: .8em;
53
 
    position: absolute;
54
67
    top: 0;
55
 
    right: 1em;
 
68
    text-align: right;
 
69
    padding: 11px 0;
 
70
    margin: 0;
56
71
}
57
72
p.userhello .username {
58
73
    font-weight: bold;