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

« back to all changes in this revision

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

  • Committer: me at id
  • Date: 2009-01-15 03:40:17 UTC
  • mto: This revision was merged to the branch mainline in revision 1090.
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:branches%2Fstorm:1154
bin/ivle-{list,mountall}users: Don't use ivle.db.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.console_body {
 
1
#console_body {
2
2
    background-color: white;
3
3
    position: absolute;
 
4
    font-size: 150%;
4
5
    color: black;
5
6
    padding: 0;
6
7
    width: 100%;
8
9
    bottom: 0;
9
10
}
10
11
/* console_body when displayed as a window panel and not the whole app */
11
 
.console_body.windowpane {
 
12
#console_body.windowpane {
12
13
    position: fixed;
13
14
    top: auto;      /* Do not fix to top */
14
15
    bottom: 0;
16
17
    right: 0;
17
18
    z-index: 1;     /* Go in front of console_filler */
18
19
}
19
 
.console_body.windowpane.minimal {
 
20
#console_body.windowpane.minimal {
20
21
    border-top: 1px solid black;
21
22
}
22
 
.console_body.windowpane .console_body2 {
 
23
#console_body.windowpane #console_body2 {
23
24
    /* Need some padding in windowpane mode */
24
25
    /* (In full mode, things are positioned absolutely) */
25
 
    padding: 0.2em;
26
 
}
27
 
 
28
 
.console_help_example_body {
29
 
    border: 1px solid black;
30
 
    border-top: none;
31
 
    padding-bottom: 0.5em;
32
 
}
33
 
 
 
26
    padding: 0.5em;
 
27
}
34
28
/* Heading bar */
35
 
.console_heading {
 
29
#console_heading {
36
30
    background-color: gray;
37
31
    border: 2px solid black;
38
32
    padding: 2px;
41
35
    font-weight: bold;
42
36
}
43
37
/* If "minimized", console_heading and console_output are hidden */
44
 
.console_body.minimal .console_heading,
45
 
.console_body.minimal .console_output,
 
38
#console_body.minimal #console_heading,
 
39
#console_body.minimal #console_output,
46
40
/* If "maximized", the maximize button is hidden */
47
 
.console_body.maximal .maximize {
 
41
#console_body.maximal .maximize {
48
42
    display: none;
49
43
}
50
44
/* Minimize/maximize button */
53
47
    position: absolute;
54
48
    right: 0.5em;
55
49
}
56
 
.console_output {
 
50
#console_output {
57
51
    /*height: 20em;*/       /* Might be needed for windowpane mode */
58
52
    /*margin-bottom: 0.5em;*/
59
53
    position: absolute;
60
 
    /* Start immediately under the blue header. */
61
 
    top: 0;
 
54
    /* 2em is to accomodate the header bar, and some padding */
 
55
    top: 2em;
62
56
    /* 2.5em is to accomodate the input bar, and padding either side */
63
57
    bottom: 2.5em;
64
 
    left: 0;
65
 
    right: 0;
 
58
    /* left and right 0.5em are just for horizontal padding */
 
59
    left: 0.5em;
 
60
    right: 0.5em;
66
61
    /* Display scroll bars */
67
62
    overflow: scroll;
68
63
    /* Some browsers support overflow-x and overflow-y. In this case, use
71
66
     * horizontal scroll bar).
72
67
     */
73
68
    overflow-x: auto;
74
 
    padding: 0.5em;
75
 
    /* On some displays, monospace font is much smaller than everything else.
76
 
     * We just set the console font to 13px to appear a bit bigger (this is
77
 
     * the same size as the editor's font).
78
 
     */
79
 
    font-size: 13px;
80
69
}
81
 
.console_body.windowpane .console_output {
 
70
#console_body.windowpane #console_output {
82
71
    /* Don't want this absolutely positioned in windowpane mode */
83
72
    position: static;
84
 
    /* Make it a bit higher up, because the header is thinner in this mode */
85
 
    top: 2em;
86
73
    /* Give it an explicit height instead */
87
74
    height: 15em;
88
75
    margin-bottom: 0.5em;
89
76
}
90
 
 
91
 
.console_help_example .console_output {
92
 
    position: relative;
93
 
    top: 0;
94
 
    height: auto;
95
 
}
96
 
 
97
 
.console_body.windowpane.maximal, .console_body.windowpane .console_heading,
98
 
.console_help_example .console_heading {
99
 
    -moz-border-radius-topleft: 10px;
100
 
    -moz-border-radius-topright: 10px;
101
 
    -webkit-border-top-left-radius: 10px;
102
 
    -webkit-border-top-right-radius: 10px;
103
 
    border-top-left-radius: 10px;
104
 
    border-top-right-radius: 10px;
105
 
}
106
 
 
107
 
.console_input {
 
77
#console_input {
108
78
    position: absolute;
109
79
    /* Input bar goes along the bottom. Pad all sides */
 
80
    left: 0.5em;
 
81
    right: 0.5em;
110
82
    bottom: 0.5em;
111
 
    padding: 0 0.5em;
112
 
    /* Treat console line as table formatted, so the textbox is dynamic in size. */
113
 
    display: table;
114
 
    font-size: 13px;
115
 
}
116
 
 
117
 
.console_help_example .console_input {
118
 
    position: relative;
119
 
    bottom: 0;
120
 
}
121
 
 
122
 
.console_input > div {
123
 
    display: table-row;
124
 
}
125
 
 
126
 
.console_input > div > * {
127
 
    display: table-cell;
128
 
 
129
 
    /* Don't let the buttons wrap onto multiple lines.
130
 
     * This forces the textbox to shrink.
131
 
     */
132
 
    white-space: nowrap;
133
 
}
134
 
 
135
 
.console_input > div > .console_button {
136
 
    /* If the console button is in a cell, don't float */
137
 
    position: static !important;
138
 
    padding: 0 0.2em;
139
 
}
140
 
 
141
 
.console_inputCell {
142
 
    width: 100%;
143
 
    padding-right: 0.5em;
144
 
}
145
 
 
146
 
.console_body.windowpane .console_input {
 
83
}
 
84
#console_body.windowpane #console_input {
147
85
    /* Don't want this absolutely positioned in windowpane mode */
148
86
    position: static;
149
87
}
150
 
.console_prompt {
151
 
    font-family: monospace;
152
 
    font-weight: bold;
153
 
    white-space: pre;
154
 
}
155
 
.console_inputText {
156
 
    font-family: monospace;
157
 
    width: 100%;
158
 
}
159
 
 
 
88
#console_prompt {
 
89
    font-family: monospace;
 
90
}
 
91
#console_inputText {
 
92
    background-color: white;
 
93
    font-size: 80%;
 
94
    color: black;
 
95
    width: 75%;
 
96
}
 
97
#console_inputText.disabled {
 
98
    background-color: #aaa;
 
99
}
160
100
/* console filler takes up the same space as console_body.windowpane
161
101
 * but its position is relative, not fixed.
162
102
 * This avoids having the console overlap with the bottom 28em of page
177
117
    right: 0;
178
118
}
179
119
#console_filler.maximal {
180
 
    /* Trial and error is useful to work this out. */
181
 
    height: 14em;
 
120
    /* total height of console = 20em + 1em + 0.5em + 0.5em + 0.5em + 1em + borders
 
121
     */
 
122
    height: 24em;
182
123
}
183
124
#console_filler.minimal {
184
 
    /* Trial and error is useful to work this out. */
 
125
    /* total height of console = 1em + 0.5em + 0.5em
 
126
     */
185
127
    height: 2em;
186
128
}
187
 
 
188
 
.console_message {
189
 
    color: gray;
190
 
}
191
 
 
192
129
*.errorMsg {
193
130
    color: red;
194
131
    margin-top: 0em;