mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
8537a0885b
Various changes to make it Right * events.js parameterize hook functions to allow arbitrary hook arrays to be used. search hooks in reverse order of add * irc.js check to see if server is connected before trying to disconnect on net.quit() watch for exception on connect() move auto-join-channel into on001 handler. watch for java.lang.ThreadDeath if running under rhino. fix onNick for the undernet network * utils.js define dd under rhino. allow functions as patterns in matchObject(). * ircbot.js define gc() for rhino. add initPersonality hook. add support for script line continuation with "\" * chatzilla.xul include globalOverlay.xul (why?) comment out style change menu. * handlers.js read prefs before initialization. add updateTitle() calls where appropriate. * readprefs.js Add comment to explain valid prefs. add style prefs. * static.js Fix matchMyNick to match if nick is anywhere in the message (bug 24860.) Hook up user styles in output window. add updateTitle(), (bug 24671.) * chatzilla.css remove window size designation (resize issues.) * output-default.css remove font size attributes. swap mark=odd and directed-to-me declaration order, to make directed-to-me take precedence. * output-marble.css tab->space changes
223 lines
3.0 KiB
CSS
223 lines
3.0 KiB
CSS
/*
|
|
* The contents of this file are subject to the Mozilla Public
|
|
* License Version 1.1 (the "License"); you may not use this file
|
|
* except in compliance with the License. You may obtain a copy of
|
|
* the License at http://www.mozilla.org/MPL/
|
|
*
|
|
* Software distributed under the License is distributed on an "AS
|
|
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
* implied. See the License for the specific language governing
|
|
* rights and limitations under the License.
|
|
*
|
|
* The Original Code is Mozilla JSIRC Library.
|
|
*
|
|
* The Initial Developer of the Original Code is New Dimensions Consulting,
|
|
* Inc. Portions created by New Dimensions Consulting, Inc. are
|
|
* Copyright (C) 1999 New Dimenstions Consulting, Inc. All
|
|
* Rights Reserved.
|
|
*
|
|
* Contributor(s):
|
|
* Robert Ginda, rginda@ndcico.com, original author
|
|
*
|
|
* Styles for output window, See test3.css for UI styles
|
|
*
|
|
*/
|
|
|
|
body {
|
|
|
|
margin: 0px 0px 0px 0px;
|
|
background: black;
|
|
|
|
}
|
|
|
|
.bold {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.italic {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
.underline {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
.strikethrough {
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
|
|
|
.teletype {
|
|
|
|
font-family: monospace;
|
|
|
|
}
|
|
|
|
.smallcap {
|
|
|
|
font-variant: small-caps;
|
|
|
|
}
|
|
|
|
.rheet {
|
|
|
|
font-size: 14pt;
|
|
font-weight: bold;
|
|
color: magenta;
|
|
|
|
}
|
|
|
|
/* output from a chat session (contains msgs) */
|
|
.chat-view {
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
}
|
|
|
|
/* common container for all portions of a message
|
|
* (contains msg-*s) */
|
|
.msg {
|
|
|
|
font-family: sans-serif;
|
|
|
|
}
|
|
|
|
.msg[user="!ME"] {
|
|
|
|
background: lightgrey;
|
|
|
|
}
|
|
|
|
/* message data in output window */
|
|
.msg-data {
|
|
|
|
font-weight: bold;
|
|
color: lightgrey;
|
|
background: #1a2a44;
|
|
|
|
}
|
|
|
|
/* message data in output window */
|
|
|
|
.msg-data[user="!ME"]{
|
|
|
|
background: black;
|
|
|
|
}
|
|
|
|
.msg-data[msgtype="JOIN"],
|
|
.msg-data[msgtype="PART"] {
|
|
|
|
width: 100%;
|
|
font-variant: small-caps;
|
|
background: lightgray;
|
|
color: black;
|
|
|
|
}
|
|
|
|
.msg-data[msgtype="HELLO"] {
|
|
|
|
background: white;
|
|
color: darkgreen;
|
|
|
|
}
|
|
|
|
.msg-data[msgtype="ERROR"] {
|
|
|
|
background: red;
|
|
color: white;
|
|
|
|
}
|
|
|
|
.msg-data[msgtype="USAGE"] {
|
|
|
|
font-style: italic;
|
|
color: white;
|
|
|
|
}
|
|
|
|
.msg-data[msgtype="HELP"] {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
.msg-data[msgtype="ACTION"] {
|
|
|
|
color: cyan;
|
|
|
|
}
|
|
|
|
.msg-data[msgtype="NOTICE"] {
|
|
|
|
color: yellow;
|
|
|
|
}
|
|
|
|
.msg-data[msgtype="KICK"] {
|
|
|
|
background: orange;
|
|
color: yellow;
|
|
|
|
}
|
|
|
|
.msg-data[msgtype="QUIT"] {
|
|
|
|
background: lightgrey;
|
|
color: brown;
|
|
|
|
}
|
|
|
|
/* nickname field in output */
|
|
.msg-user {
|
|
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
color: lightgrey;
|
|
font-weight: bold;
|
|
background: grey;
|
|
|
|
}
|
|
|
|
.msg-user[parity="odd"]{
|
|
|
|
background: black;
|
|
|
|
}
|
|
|
|
.msg-user[user="!ME"] {
|
|
|
|
color : white;
|
|
|
|
}
|
|
|
|
.msg-user[msgtype="ACTION"] {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
/* Message type indicator in output window */
|
|
.msg-type {
|
|
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
color: brown;
|
|
font-weight: bold;
|
|
background: lightgrey;
|
|
|
|
}
|
|
|
|
.msg-type[user="!ME"] {
|
|
|
|
background: silver;
|
|
|
|
}
|