2
background-color: white;
10
/* console_body when displayed as a window panel and not the whole app */
11
#console_body.windowpane {
13
top: auto; /* Do not fix to top */
17
z-index: 1; /* Go in front of console_filler */
19
#console_body.windowpane.minimal {
20
border-top: 1px solid black;
22
#console_body.windowpane #console_body2 {
23
/* Need some padding in windowpane mode */
24
/* (In full mode, things are positioned absolutely) */
29
background-color: gray;
30
border: 2px solid black;
33
font-family: monospace;
36
/* If "minimized", console_heading and console_output are hidden */
37
#console_body.minimal #console_heading,
38
#console_body.minimal #console_output,
39
/* If "maximized", the maximize button is hidden */
40
#console_body.maximal .maximize {
43
/* Minimize/maximize button */
45
cursor: pointer; /* Display hand cursor, since this is a button */
50
/*height: 20em;*/ /* Might be needed for windowpane mode */
51
/*margin-bottom: 0.5em;*/
53
/* 2em is to accomodate the header bar, and some padding */
55
/* 2.5em is to accomodate the input bar, and padding either side */
59
/* Display scroll bars */
61
/* Some browsers support overflow-x and overflow-y. In this case, use
62
* overflow-x: auto to disable the horizontal scroll bar.
63
* (If unsupported this will simply fall back to a harmless but annoying
64
* horizontal scroll bar).
68
/* On some displays, monospace font is much smaller than everything else.
69
* We just set the console font to 13px to appear a bit bigger (this is
70
* the same size as the editor's font).
74
#console_body.windowpane #console_output {
75
/* Don't want this absolutely positioned in windowpane mode */
77
/* Make it a bit higher up, because the header is thinner in this mode */
79
/* Give it an explicit height instead */
84
#console_body.windowpane.maximal, #console_body.windowpane #console_heading {
85
-moz-border-radius-topleft: 10px;
86
-moz-border-radius-topright: 10px;
91
/* Input bar goes along the bottom. Pad all sides */
97
#console_body.windowpane #console_input {
98
/* Don't want this absolutely positioned in windowpane mode */
102
font-family: monospace;
105
font-family: monospace;
109
/* console filler takes up the same space as console_body.windowpane
110
* but its position is relative, not fixed.
111
* This avoids having the console overlap with the bottom 28em of page
113
* It has two classes. "windowpane" turns it on. "minimal" or "maximal"
114
* control its height.
119
#console_filler.windowpane {
121
z-index: -1; /* Go behind the actual console */
128
#console_filler.maximal {
129
/* Trial and error is useful to work this out. */
132
#console_filler.minimal {
133
/* Trial and error is useful to work this out. */
142
color: #800; /* Deep red */