2
background-color: white;
11
/* console_body when displayed as a window panel and not the whole app */
12
#console_body.windowpane {
14
top: auto; /* Do not fix to top */
18
z-index: 1; /* Go in front of console_filler */
20
#console_body.windowpane.minimal {
21
border-top: 1px solid black;
23
#console_body.windowpane #console_body2 {
24
/* Need some padding in windowpane mode */
25
/* (In full mode, things are positioned absolutely) */
30
background-color: gray;
31
border: 2px solid black;
34
font-family: monospace;
37
/* If "minimized", console_heading and console_output are hidden */
38
#console_body.minimal #console_heading,
39
#console_body.minimal #console_output,
40
/* If "maximized", the maximize button is hidden */
41
#console_body.maximal .maximize {
44
/* Minimize/maximize button */
46
cursor: pointer; /* Display hand cursor, since this is a button */
51
/*height: 20em;*/ /* Might be needed for windowpane mode */
52
/*margin-bottom: 0.5em;*/
54
/* 2em is to accomodate the header bar, and some padding */
56
/* 2.5em is to accomodate the input bar, and padding either side */
58
/* left and right 0.5em are just for horizontal padding */
61
/* Display scroll bars */
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).
70
#console_body.windowpane #console_output {
71
/* Don't want this absolutely positioned in windowpane mode */
73
/* Give it an explicit height instead */
79
/* Input bar goes along the bottom. Pad all sides */
84
#console_body.windowpane #console_input {
85
/* Don't want this absolutely positioned in windowpane mode */
89
font-family: monospace;
92
background-color: white;
97
#console_inputText.disabled {
98
background-color: #aaa;
100
/* console filler takes up the same space as console_body.windowpane
101
* but its position is relative, not fixed.
102
* This avoids having the console overlap with the bottom 28em of page
104
* It has two classes. "windowpane" turns it on. "minimal" or "maximal"
105
* control its height.
110
#console_filler.windowpane {
112
z-index: -1; /* Go behind the actual console */
119
#console_filler.maximal {
120
/* total height of console = 20em + 1em + 0.5em + 0.5em + 0.5em + 1em + borders
124
#console_filler.minimal {
125
/* total height of console = 1em + 0.5em + 0.5em
135
color: #800; /* Deep red */