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

« back to all changes in this revision

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

  • Committer: mattgiuca
  • Date: 2008-03-09 11:48:29 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:673
Rebuilt the way Terms of Service are displayed:
    Delegated displaying TOS to util.send_terms_of_service.
    dispatch/login.py and apps/tos now call this instead of doing it
    themselves.

setup.py: Added tos_path to config options.
util.py: Added send_terms_of_service. Reads the TOS file from the configured
    location, and if it isn't there, the code itself sends a default TOS
    message to administrators (note: used to be a default file, now there IS
    NO DEFAULT TOS file. This is so that it won't get blown away upon
    reinstall).
Removed apps/tos/license.html. Now admins are expected to create their own TOS
file. It explains how to do this in the TOS if there isn't one.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#console_body {
2
 
    background-color: black;
 
2
    background-color: white;
3
3
    position: absolute;
4
 
    color: white;
 
4
    font-size: 150%;
 
5
    color: black;
5
6
    padding: 0;
6
7
    width: 100%;
7
8
    top: 0;
16
17
    right: 0;
17
18
    z-index: 1;     /* Go in front of console_filler */
18
19
}
 
20
#console_body.windowpane.minimal {
 
21
    border-top: 1px solid black;
 
22
}
19
23
#console_body.windowpane #console_body2 {
20
24
    /* Need some padding in windowpane mode */
21
25
    /* (In full mode, things are positioned absolutely) */
85
89
    font-family: monospace;
86
90
}
87
91
#console_inputText {
88
 
    background-color: black;
89
 
    color: white;
90
 
    width: 90%;
 
92
    background-color: white;
 
93
    font-size: 80%;
 
94
    color: black;
 
95
    width: 75%;
 
96
}
 
97
#console_inputText.disabled {
 
98
    background-color: #aaa;
91
99
}
92
100
/* console filler takes up the same space as console_body.windowpane
93
101
 * but its position is relative, not fixed.
118
126
     */
119
127
    height: 2em;
120
128
}
121
 
pre.errorMsg {
 
129
*.errorMsg {
122
130
    color: red;
123
131
    margin-top: 0em;
124
132
    margin-bottom: 0em;
125
133
}
126
 
pre.inputMsg {
127
 
    color: gray;
128
 
    margin-top: 0em;
129
 
    margin-bottom: 0em;
130
 
}
131
 
pre.outputMsg {
 
134
*.inputPrompt {
 
135
    color: #800;    /* Deep red */
 
136
    font-weight: bold;
 
137
    margin-top: 0em;
 
138
    margin-bottom: 0em;
 
139
}
 
140
*.inputMsg {
 
141
    color: #404040;
 
142
    margin-top: 0em;
 
143
    margin-bottom: 0em;
 
144
}
 
145
*.outputMsg {
132
146
    margin-top: 0em;
133
147
    margin-bottom: 0em;
134
148
}