~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-25 06:20:32 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:313
test/test_framework: Updated examples, a bit of better descriptions, sample
    partial solutions, etc.

Added all sample subject material.
This has been copied from test/test_framework and modified slightly.
There is now a subject "sample" with 2 worksheets. The 1st worksheet has 3
exercises. These work in IVLE by default.

setup.py: Added code to install subjects into the designated directory. This
means that installing IVLE will result in the sample subjects being
immediately available.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
    /* Pad left and right. */
35
35
    padding: 0 1em;
36
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;
 
37
    min-height: 4.3em;
40
38
}
41
39
 
42
40
/* Special "IVLE" and "Informatics Virtual Learning Environment" titles */
58
56
    padding: 0;
59
57
}
60
58
 
61
 
/* Note: The body has NO PADDING by default (unlike plain HTML).
62
 
 * This is because almost all of the apps need this behaviour.
63
 
 * If a particular app needs padding, it should manually wrap all of its
64
 
 * output in a <div id="ivle_padding">.
65
 
 */
 
59
/* Note: You can override this in app-specific CSS if you want to
 
60
 * push the body all the way to the edge. */
66
61
#ivlebody {
67
 
    /* This is positioned absolutely so that its content can be positioned
68
 
     * absolutely as well, and so height: 100% really means it. */
69
 
    position: absolute;
70
 
    top: 5.3em;             /* == #ivleheader.height */
71
 
    bottom: 0;
72
 
    width: 100%;
73
 
}
74
 
 
75
 
/* Apps can optionally have a <div id="ivle_padding"> as the outermost
76
 
 * element, if 1em of padding is desired (otherwise there will be no padding).
77
 
 */
78
 
#ivle_padding {
79
62
    padding: 1em;
80
63
}
81
64
 
90
73
    font-weight: bold;
91
74
}
92
75
 
93
 
/* The tabs bar is positioned absolutely, unlike the other header content.
94
 
 * This allows it to be aligned exactly with the bottom of the header bar.
95
 
 */
96
 
#ivleheader_tabs {
97
 
    position: absolute;
98
 
    height: 5.3em;          /* == #ivleheader.height */
99
 
    top: 0;
100
 
    left: 0;
101
 
    right: 0;
102
 
    width: 100%;
103
 
    padding: 0;
104
 
    margin: 0;
105
 
}
106
 
 
107
 
/* The apptabs ul is aligned to the bottom of #ivleheader_tabs */
108
76
ul#apptabs {
109
 
    position: absolute;
110
77
    text-align: right;
111
 
    bottom: 0;
112
 
    right: 1em;             /* == #ivleheader.padding-right */
113
 
    padding: 0;
114
 
    margin: 0;
 
78
    margin-bottom: 0;
115
79
}
116
80
ul#apptabs li {
117
81
    display: inline;