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

« back to all changes in this revision

Viewing changes to www/media/browser/browser.css

Port ivle.webapp.filesystem.{diff,svnlog}'s media to the new framework.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
8
/* GENERAL FORMATTING */
 
9
 
 
10
#ivlebody p, #ivlebody h2, #ivlebody h3 {
 
11
    padding: 0;
 
12
    margin: 0.7em 0;
 
13
}
 
14
#ivlebody p, #ivlebody h3 {
 
15
    font-size: 1em;
 
16
}
 
17
#ivlebody h2 {
 
18
    font-size: 1.1em;
 
19
}
 
20
 
 
21
.padding {
 
22
    padding: 1em;
 
23
}
 
24
 
 
25
/* TOP BAR */
 
26
 
 
27
#topbar {
 
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;
 
38
    background-color: #aaf;
 
39
}
 
40
 
 
41
#topbar div {
 
42
    margin: 0.2em;
 
43
}
 
44
 
 
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 */
 
67
#actions1 option.moreactions, #actions1 option.disabled {
 
68
    color: #aaa;
 
69
}
 
70
 
 
71
#actions2 p {
 
72
    margin: 0;
 
73
}
 
74
 
 
75
/* One of the actions2s is shown at runtime, depending on the context.
 
76
 * We will show moreactions if we need it. */
 
77
#actions1 #moreactions_area, #actions2 #actions2_file,
 
78
#actions2 #actions2_directory {
 
79
    display: none;
 
80
}
 
81
 
 
82
/* Everything under the top bar */
 
83
 
 
84
#filesbody {
 
85
    position: absolute;
 
86
    left: 0;
 
87
    right: 0;
 
88
    /* top == #topbar.height + #topbar.padding * 2 */
 
89
    top: 5.6em;
 
90
    /* Space for the mimimised console */
 
91
    bottom: 3.5em;
 
92
}
 
93