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

« back to all changes in this revision

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

  • Committer: stevenbird
  • Date: 2007-12-05 22:41:05 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:7
GPL license

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#console_body {
2
 
    background-color: white;
3
 
    position: absolute;
4
 
    color: black;
5
 
    padding: 0;
6
 
    width: 100%;
7
 
    top: 0;
8
 
    bottom: 0;
9
 
}
10
 
/* console_body when displayed as a window panel and not the whole app */
11
 
#console_body.windowpane {
12
 
    position: fixed;
13
 
    top: auto;      /* Do not fix to top */
14
 
    bottom: 0;
15
 
    left: 0;
16
 
    right: 0;
17
 
    z-index: 1;     /* Go in front of console_filler */
18
 
}
19
 
#console_body.windowpane.minimal {
20
 
    border-top: 1px solid black;
21
 
}
22
 
#console_body.windowpane #console_body2 {
23
 
    /* Need some padding in windowpane mode */
24
 
    /* (In full mode, things are positioned absolutely) */
25
 
    padding: 0.5em;
26
 
}
27
 
/* Heading bar */
28
 
#console_heading {
29
 
    background-color: gray;
30
 
    border: 2px solid black;
31
 
    padding: 2px;
32
 
    color: black;
33
 
    font-family: monospace;
34
 
    font-weight: bold;
35
 
}
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 {
41
 
    display: none;
42
 
}
43
 
/* Minimize/maximize button */
44
 
.console_button {
45
 
    cursor: pointer;    /* Display hand cursor, since this is a button */
46
 
    position: absolute;
47
 
    right: 0.5em;
48
 
}
49
 
#console_output {
50
 
    /*height: 20em;*/       /* Might be needed for windowpane mode */
51
 
    /*margin-bottom: 0.5em;*/
52
 
    position: absolute;
53
 
    /* 2em is to accomodate the header bar, and some padding */
54
 
    top: 2em;
55
 
    /* 2.5em is to accomodate the input bar, and padding either side */
56
 
    bottom: 2.5em;
57
 
    /* left and right 0.5em are just for horizontal padding */
58
 
    left: 0.5em;
59
 
    right: 0.5em;
60
 
    /* Display scroll bars */
61
 
    overflow: scroll;
62
 
    /* Some browsers support overflow-x and overflow-y. In this case, use
63
 
     * overflow-x: auto to disable the horizontal scroll bar.
64
 
     * (If unsupported this will simply fall back to a harmless but annoying
65
 
     * horizontal scroll bar).
66
 
     */
67
 
    overflow-x: auto;
68
 
}
69
 
#console_body.windowpane #console_output {
70
 
    /* Don't want this absolutely positioned in windowpane mode */
71
 
    position: static;
72
 
    /* Give it an explicit height instead */
73
 
    height: 20em;
74
 
    margin-bottom: 0.5em;
75
 
}
76
 
#console_input {
77
 
    position: absolute;
78
 
    /* Input bar goes along the bottom. Pad all sides */
79
 
    left: 0.5em;
80
 
    right: 0.5em;
81
 
    bottom: 0.5em;
82
 
}
83
 
#console_body.windowpane #console_input {
84
 
    /* Don't want this absolutely positioned in windowpane mode */
85
 
    position: static;
86
 
}
87
 
#console_prompt {
88
 
    font-family: monospace;
89
 
}
90
 
#console_inputText {
91
 
    background-color: white;
92
 
    color: black;
93
 
    width: 90%;
94
 
}
95
 
/* console filler takes up the same space as console_body.windowpane
96
 
 * but its position is relative, not fixed.
97
 
 * This avoids having the console overlap with the bottom 28em of page
98
 
 * content.
99
 
 * It has two classes. "windowpane" turns it on. "minimal" or "maximal"
100
 
 * control its height.
101
 
 */
102
 
#console_filler {
103
 
    display: none;
104
 
}
105
 
#console_filler.windowpane {
106
 
    display: block;
107
 
    z-index: -1;        /* Go behind the actual console */
108
 
    width: 100%;
109
 
    position: relative;
110
 
    bottom: 0;
111
 
    left: 0;
112
 
    right: 0;
113
 
}
114
 
#console_filler.maximal {
115
 
    /* total height of console = 20em + 1em + 0.5em + 0.5em + 0.5em + 1em + borders
116
 
     */
117
 
    height: 24em;
118
 
}
119
 
#console_filler.minimal {
120
 
    /* total height of console = 1em + 0.5em + 0.5em
121
 
     */
122
 
    height: 2em;
123
 
}
124
 
pre.errorMsg {
125
 
    color: red;
126
 
    margin-top: 0em;
127
 
    margin-bottom: 0em;
128
 
}
129
 
pre.inputMsg {
130
 
    color: #404040;
131
 
    margin-top: 0em;
132
 
    margin-bottom: 0em;
133
 
}
134
 
pre.outputMsg {
135
 
    margin-top: 0em;
136
 
    margin-bottom: 0em;
137
 
}