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

« back to all changes in this revision

Viewing changes to ivle/webapp/console/media/console.css

  • Committer: David Coles
  • Date: 2009-08-02 08:57:44 UTC
  • mto: (1294.2.119 ui-the-third)
  • mto: This revision was merged to the branch mainline in revision 1353.
  • Revision ID: coles.david@gmail.com-20090802085744-ig0mr5fcm29ngibv
Show drop down icon for breadcrumbs with a sub-menu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#console_body {
2
2
    background-color: white;
3
3
    position: absolute;
4
 
    font-size: 150%;
5
4
    color: black;
6
5
    padding: 0;
7
6
    width: 100%;
23
22
#console_body.windowpane #console_body2 {
24
23
    /* Need some padding in windowpane mode */
25
24
    /* (In full mode, things are positioned absolutely) */
26
 
    padding: 0.5em;
 
25
    padding: 0.2em;
27
26
}
28
27
/* Heading bar */
29
28
#console_heading {
52
51
    /*margin-bottom: 0.5em;*/
53
52
    position: absolute;
54
53
    /* 2em is to accomodate the header bar, and some padding */
55
 
    top: 2em;
 
54
    top: 3.4em;
56
55
    /* 2.5em is to accomodate the input bar, and padding either side */
57
56
    bottom: 2.5em;
58
 
    /* left and right 0.5em are just for horizontal padding */
59
 
    left: 0.5em;
60
 
    right: 0.5em;
 
57
    left: 0;
 
58
    right: 0;
61
59
    /* Display scroll bars */
62
60
    overflow: scroll;
63
61
    /* Some browsers support overflow-x and overflow-y. In this case, use
66
64
     * horizontal scroll bar).
67
65
     */
68
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;
69
73
}
70
74
#console_body.windowpane #console_output {
71
75
    /* Don't want this absolutely positioned in windowpane mode */
72
76
    position: static;
 
77
    /* Make it a bit higher up, because the header is thinner in this mode */
 
78
    top: 2em;
73
79
    /* Give it an explicit height instead */
74
80
    height: 15em;
75
81
    margin-bottom: 0.5em;
76
82
}
 
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
 
77
89
#console_input {
78
90
    position: absolute;
79
91
    /* Input bar goes along the bottom. Pad all sides */
80
92
    left: 0.5em;
81
93
    right: 0.5em;
82
94
    bottom: 0.5em;
83
 
}
 
95
    /* Treat console line as table formated */
 
96
    display: table
 
97
}
 
98
 
 
99
.trow {
 
100
    display: table-row;
 
101
}
 
102
 
 
103
.tcell {
 
104
    display: table-cell;
 
105
}
 
106
 
 
107
.tcell .console_button {
 
108
    /* If the console button is in a cell, don't float */
 
109
    position: static !important;
 
110
}
 
111
 
 
112
#console_inputCell {
 
113
    width: 100%;
 
114
    padding-right: 0.5em;
 
115
}
 
116
 
84
117
#console_body.windowpane #console_input {
85
118
    /* Don't want this absolutely positioned in windowpane mode */
86
119
    position: static;
87
120
}
88
121
#console_prompt {
89
122
    font-family: monospace;
 
123
    white-space: pre;
90
124
}
91
125
#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
 
}
 
126
    font-family: monospace;
 
127
    width: 100%;
 
128
}
 
129
 
100
130
/* console filler takes up the same space as console_body.windowpane
101
131
 * but its position is relative, not fixed.
102
132
 * This avoids having the console overlap with the bottom 28em of page
117
147
    right: 0;
118
148
}
119
149
#console_filler.maximal {
120
 
    /* total height of console = 20em + 1em + 0.5em + 0.5em + 0.5em + 1em + borders
121
 
     */
122
 
    height: 24em;
 
150
    /* Trial and error is useful to work this out. */
 
151
    height: 14em;
123
152
}
124
153
#console_filler.minimal {
125
 
    /* total height of console = 1em + 0.5em + 0.5em
126
 
     */
127
 
    height: 2em;
 
154
    /* Trial and error is useful to work this out. */
 
155
    height: 1em;
128
156
}
129
157
*.errorMsg {
130
158
    color: red;