~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-02-05 01:41:15 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:409
Moved www/conf and www/common to a new directory lib. This separates the "web"
part of IVLE from what is becoming less web oriented (at least from Apache's
standpoint).
Modified setup.py to install this lib directory correctly and write conf in
the right place. Also adds the lib directory to ivle.pth.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
/** Special styles for header section **/
31
31
 
32
32
#ivleheader {
 
33
    position: absolute;
33
34
    background-color: #fea;
 
35
    padding: 0;
 
36
    border-bottom: 1px solid black;
 
37
    /* IMPORTANT: This 5.3em is hard-coded elsewhere in this file. Search for
 
38
     * #ivleheader.height to update it. */
 
39
    height: 5.3em;
 
40
    left: 0;
 
41
    right: 0;
 
42
    z-index: 1;     /* Background to all, but the body */
 
43
}
 
44
 
 
45
#ivleheader_text {
34
46
    /* Pad left and right. */
 
47
    position: absolute;
35
48
    padding: 0 1em;
36
 
    border-bottom: 1px solid black;
37
 
    min-height: 4.3em;
 
49
    left: 0;
 
50
    right: 0;
 
51
    z-index: 3;     /* In front */
38
52
}
39
53
 
40
54
/* Special "IVLE" and "Informatics Virtual Learning Environment" titles */
41
 
#ivleheader h1 {
 
55
#ivleheader_text h1 {
42
56
    position: absolute;
43
57
    text-align: left;
44
58
    font-size: 3.8em;
47
61
    margin: 0;
48
62
    padding: 0;
49
63
}
50
 
#ivleheader h2 {
 
64
#ivleheader_text h2 {
51
65
    position: absolute;
52
66
    text-align: left;
53
67
    font-size: 1.3em;
56
70
    padding: 0;
57
71
}
58
72
 
59
 
/* Note: You can override this in app-specific CSS if you want to
60
 
 * push the body all the way to the edge. */
 
73
/* Note: The body has NO PADDING by default (unlike plain HTML).
 
74
 * This is because almost all of the apps need this behaviour.
 
75
 * If a particular app needs padding, it should manually wrap all of its
 
76
 * output in a <div id="ivle_padding">.
 
77
 */
61
78
#ivlebody {
 
79
    /* This is positioned absolutely so that its content can be positioned
 
80
     * absolutely as well, and so height: 100% really means it. */
 
81
    position: absolute;
 
82
    top: 5.3em;             /* == #ivleheader.height */
 
83
    bottom: 0;
 
84
    width: 100%;
 
85
    z-index: 0;     /* Behind header */
 
86
}
 
87
 
 
88
/* Apps can optionally have a <div id="ivle_padding"> as the outermost
 
89
 * element, if 1em of padding is desired (otherwise there will be no padding).
 
90
 */
 
91
#ivle_padding {
62
92
    padding: 1em;
63
93
}
64
94
 
73
103
    font-weight: bold;
74
104
}
75
105
 
 
106
/* The tabs bar is positioned absolutely, unlike the other header content.
 
107
 * This allows it to be aligned exactly with the bottom of the header bar.
 
108
 */
 
109
#ivleheader_tabs {
 
110
    position: absolute;
 
111
    height: 5.3em;          /* == #ivleheader.height */
 
112
    top: 0;
 
113
    left: 0;
 
114
    right: 0;
 
115
    width: 100%;
 
116
    padding: 0;
 
117
    margin: 0;
 
118
    z-index: 2;     /* In front of background, behind text */
 
119
}
 
120
 
 
121
#ivleheader_tabs p {
 
122
    /* This allows for a single paragraph, currently used to display a warning
 
123
     * about Debuginfo */
 
124
    position: absolute;
 
125
    left: 1em;
 
126
    bottom: 0.5em;
 
127
    margin: 0;
 
128
}
 
129
 
 
130
/* The apptabs ul is aligned to the bottom of #ivleheader_tabs */
76
131
ul#apptabs {
 
132
    position: absolute;
77
133
    text-align: right;
78
 
    margin-bottom: 0;
 
134
    bottom: 0;
 
135
    right: 1em;             /* == #ivleheader.padding-right */
 
136
    padding: 0;
 
137
    margin: 0;
79
138
}
80
139
ul#apptabs li {
81
140
    display: inline;