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

« back to all changes in this revision

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

  • Committer: drtomc
  • Date: 2008-02-01 04:13:23 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:369
Add stuff on installing and configuring pound.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#console_body {
2
 
    background-color: white;
 
2
    background-color: black;
3
3
    position: absolute;
4
 
    color: black;
 
4
    color: white;
5
5
    padding: 0;
6
6
    width: 100%;
7
7
    top: 0;
16
16
    right: 0;
17
17
    z-index: 1;     /* Go in front of console_filler */
18
18
}
19
 
#console_body.windowpane.minimal {
20
 
    border-top: 1px solid black;
21
 
}
22
19
#console_body.windowpane #console_body2 {
23
20
    /* Need some padding in windowpane mode */
24
21
    /* (In full mode, things are positioned absolutely) */
25
 
    padding: 0.2em;
 
22
    padding: 0.5em;
26
23
}
27
24
/* Heading bar */
28
25
#console_heading {
51
48
    /*margin-bottom: 0.5em;*/
52
49
    position: absolute;
53
50
    /* 2em is to accomodate the header bar, and some padding */
54
 
    top: 3.4em;
 
51
    top: 2em;
55
52
    /* 2.5em is to accomodate the input bar, and padding either side */
56
53
    bottom: 2.5em;
57
 
    left: 0;
58
 
    right: 0;
 
54
    /* left and right 0.5em are just for horizontal padding */
 
55
    left: 0.5em;
 
56
    right: 0.5em;
59
57
    /* Display scroll bars */
60
58
    overflow: scroll;
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).
65
 
     */
66
 
    overflow-x: auto;
67
 
    padding: 0.5em;
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).
71
 
     */
72
 
    font-size: 13px;
73
59
}
74
60
#console_body.windowpane #console_output {
75
61
    /* Don't want this absolutely positioned in windowpane mode */
76
62
    position: static;
77
 
    /* Make it a bit higher up, because the header is thinner in this mode */
78
 
    top: 2em;
79
63
    /* Give it an explicit height instead */
80
 
    height: 15em;
 
64
    height: 20em;
81
65
    margin-bottom: 0.5em;
82
66
}
83
 
 
84
 
#console_body.windowpane.maximal, #console_body.windowpane #console_heading {
85
 
    -moz-border-radius-topleft: 10px;
86
 
    -moz-border-radius-topright: 10px;
87
 
}
88
 
 
89
67
#console_input {
90
68
    position: absolute;
91
69
    /* Input bar goes along the bottom. Pad all sides */
93
71
    right: 0.5em;
94
72
    bottom: 0.5em;
95
73
}
96
 
 
97
74
#console_body.windowpane #console_input {
98
75
    /* Don't want this absolutely positioned in windowpane mode */
99
76
    position: static;
102
79
    font-family: monospace;
103
80
}
104
81
#console_inputText {
105
 
    font-family: monospace;
106
 
    width: 75%;
 
82
    background-color: black;
 
83
    color: white;
 
84
    width: 90%;
107
85
}
108
 
 
109
86
/* console filler takes up the same space as console_body.windowpane
110
87
 * but its position is relative, not fixed.
111
88
 * This avoids having the console overlap with the bottom 28em of page
126
103
    right: 0;
127
104
}
128
105
#console_filler.maximal {
129
 
    /* Trial and error is useful to work this out. */
130
 
    height: 14em;
 
106
    /* total height of console = 20em + 1em + 0.5em + 0.5em + 0.5em + 1em + borders
 
107
     */
 
108
    height: 24em;
131
109
}
132
110
#console_filler.minimal {
133
 
    /* Trial and error is useful to work this out. */
134
 
    height: 1em;
 
111
    /* total height of console = 1em + 0.5em + 0.5em
 
112
     */
 
113
    height: 2em;
135
114
}
136
 
*.errorMsg {
 
115
pre.errorMsg {
137
116
    color: red;
138
117
    margin-top: 0em;
139
118
    margin-bottom: 0em;
140
119
}
141
 
*.inputPrompt {
142
 
    color: #800;    /* Deep red */
143
 
    font-weight: bold;
144
 
    margin-top: 0em;
145
 
    margin-bottom: 0em;
146
 
}
147
 
*.inputMsg {
148
 
    color: #404040;
149
 
    margin-top: 0em;
150
 
    margin-bottom: 0em;
151
 
}
152
 
*.outputMsg {
 
120
pre.inputMsg {
 
121
    color: gray;
 
122
    margin-top: 0em;
 
123
    margin-bottom: 0em;
 
124
}
 
125
pre.outputMsg {
153
126
    margin-top: 0em;
154
127
    margin-bottom: 0em;
155
128
}