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

« back to all changes in this revision

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

  • Committer: dcoles
  • Date: 2008-08-18 04:34:11 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:1021
Database: Adds active column to problem_attempt table.
This allows a group of problem attempts (ie. from previous semesters) to be
marked as 'inactive' and thus counting toward a problem being assessment for
the current semester.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#console_body {
2
 
    background-color: black;
3
 
    color: white;
 
2
    background-color: white;
 
3
    position: absolute;
 
4
    font-size: 150%;
 
5
    color: black;
4
6
    padding: 0;
5
7
    width: 100%;
 
8
    top: 0;
 
9
    bottom: 0;
6
10
}
7
11
/* console_body when displayed as a window panel and not the whole app */
8
12
#console_body.windowpane {
9
13
    position: fixed;
 
14
    top: auto;      /* Do not fix to top */
10
15
    bottom: 0;
11
16
    left: 0;
12
17
    right: 0;
13
18
    z-index: 1;     /* Go in front of console_filler */
14
19
}
15
 
#console_body2 {
 
20
#console_body.windowpane.minimal {
 
21
    border-top: 1px solid black;
 
22
}
 
23
#console_body.windowpane #console_body2 {
 
24
    /* Need some padding in windowpane mode */
 
25
    /* (In full mode, things are positioned absolutely) */
16
26
    padding: 0.5em;
17
27
}
18
28
/* Heading bar */
38
48
    right: 0.5em;
39
49
}
40
50
#console_output {
41
 
    /*border: solid black 1pt;*/
42
 
    height: 20em;
 
51
    /*height: 20em;*/       /* Might be needed for windowpane mode */
 
52
    /*margin-bottom: 0.5em;*/
 
53
    position: absolute;
 
54
    /* 2em is to accomodate the header bar, and some padding */
 
55
    top: 2em;
 
56
    /* 2.5em is to accomodate the input bar, and padding either side */
 
57
    bottom: 2.5em;
 
58
    /* left and right 0.5em are just for horizontal padding */
 
59
    left: 0.5em;
 
60
    right: 0.5em;
 
61
    /* Display scroll bars */
43
62
    overflow: scroll;
 
63
    /* Some browsers support overflow-x and overflow-y. In this case, use
 
64
     * overflow-x: auto to disable the horizontal scroll bar.
 
65
     * (If unsupported this will simply fall back to a harmless but annoying
 
66
     * horizontal scroll bar).
 
67
     */
 
68
    overflow-x: auto;
 
69
}
 
70
#console_body.windowpane #console_output {
 
71
    /* Don't want this absolutely positioned in windowpane mode */
 
72
    position: static;
 
73
    /* Give it an explicit height instead */
 
74
    height: 15em;
44
75
    margin-bottom: 0.5em;
45
76
}
46
77
#console_input {
47
 
    /*border: solid green 1pt;*/
 
78
    position: absolute;
 
79
    /* Input bar goes along the bottom. Pad all sides */
 
80
    left: 0.5em;
 
81
    right: 0.5em;
 
82
    bottom: 0.5em;
 
83
}
 
84
#console_body.windowpane #console_input {
 
85
    /* Don't want this absolutely positioned in windowpane mode */
 
86
    position: static;
48
87
}
49
88
#console_prompt {
50
89
    font-family: monospace;
51
90
}
52
91
#console_inputText {
53
 
    background-color: black;
54
 
    color: white;
55
 
    width: 90%;
 
92
    background-color: white;
 
93
    font-size: 80%;
 
94
    color: black;
 
95
    width: 75%;
 
96
}
 
97
#console_inputText.disabled {
 
98
    background-color: #aaa;
56
99
}
57
100
/* console filler takes up the same space as console_body.windowpane
58
101
 * but its position is relative, not fixed.
83
126
     */
84
127
    height: 2em;
85
128
}
86
 
pre.errorMsg {
 
129
*.errorMsg {
87
130
    color: red;
88
131
    margin-top: 0em;
89
132
    margin-bottom: 0em;
90
133
}
91
 
pre.inputMsg {
92
 
    color: gray;
93
 
    margin-top: 0em;
94
 
    margin-bottom: 0em;
95
 
}
96
 
pre.outputMsg {
 
134
*.inputPrompt {
 
135
    color: #800;    /* Deep red */
 
136
    font-weight: bold;
 
137
    margin-top: 0em;
 
138
    margin-bottom: 0em;
 
139
}
 
140
*.inputMsg {
 
141
    color: #404040;
 
142
    margin-top: 0em;
 
143
    margin-bottom: 0em;
 
144
}
 
145
*.outputMsg {
97
146
    margin-top: 0em;
98
147
    margin-bottom: 0em;
99
148
}