зеркало из https://github.com/mozilla/pjs.git
* Makefile.in, makefile.win
install new file. * command-manager.js handle exact match case. * chatzilla.css remove old styles. * output-default.css darker bg on QUIT messages.
This commit is contained in:
Родитель
9135440529
Коммит
88cf80cbb7
|
@ -56,6 +56,7 @@ CONTENTFILES = \
|
||||||
$(srcdir)/xul/content/handlers.js \
|
$(srcdir)/xul/content/handlers.js \
|
||||||
$(srcdir)/xul/content/readprefs.js \
|
$(srcdir)/xul/content/readprefs.js \
|
||||||
$(srcdir)/xul/content/static.js \
|
$(srcdir)/xul/content/static.js \
|
||||||
|
$(srcdir)/xul/content/rdf.js \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
SKINFILES = \
|
SKINFILES = \
|
||||||
|
|
|
@ -65,7 +65,11 @@ function cmgr_list (partialName)
|
||||||
for (var i in this.commands)
|
for (var i in this.commands)
|
||||||
{
|
{
|
||||||
if (this.commands[i].name.indexOf(partialName) == 0)
|
if (this.commands[i].name.indexOf(partialName) == 0)
|
||||||
ary.push (this.commands[i]);
|
if (partialName.length == this.commands[i].name.length)
|
||||||
|
/* exact match */
|
||||||
|
return [this.commands[i]];
|
||||||
|
else
|
||||||
|
ary.push (this.commands[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ary;
|
return ary;
|
||||||
|
|
|
@ -53,6 +53,7 @@ CONTENTFILES = \
|
||||||
.\xul\content\handlers.js \
|
.\xul\content\handlers.js \
|
||||||
.\xul\content\readprefs.js \
|
.\xul\content\readprefs.js \
|
||||||
.\xul\content\static.js \
|
.\xul\content\static.js \
|
||||||
|
.\xul\content\rdf.js \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
SKINFILES = \
|
SKINFILES = \
|
||||||
|
|
|
@ -106,6 +106,14 @@ window {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.status-box {
|
||||||
|
|
||||||
|
padding-top: 2px;
|
||||||
|
padding-bottom: 2px;
|
||||||
|
padding-right: 10px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
.status-label {
|
.status-label {
|
||||||
|
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
@ -135,37 +143,29 @@ window {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Listbox on left of UI (aka QuickList) */
|
/* op image column */
|
||||||
|
.op-image[state="true"] {
|
||||||
|
|
||||||
.quick-list {
|
list-style-image: url(chrome://chatzilla/skin/images/is-op.gif)
|
||||||
|
|
||||||
border: thin silver inset;
|
|
||||||
background: #dddddd;
|
|
||||||
overflow: auto;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.op-image[state="false"] {
|
||||||
|
|
||||||
/* common container for individual quicklist items */
|
list-style-image: url(chrome://chatzilla/skin/images/isnt-op.gif)
|
||||||
.list-option {
|
|
||||||
|
|
||||||
margin: 2px;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* JG: Selection colors, in accord with standard mozilla chrome colors */
|
/* voice image column */
|
||||||
.list-option[selected="true"] {
|
.voice-image[state="true"] {
|
||||||
background: rgb(51,102,153);
|
|
||||||
font-weight: bold;
|
list-style-image: url(chrome://chatzilla/skin/images/is-voice.gif)
|
||||||
color: white;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* text in the quicklist */
|
.voice-image[state="false"] {
|
||||||
.option-text {
|
|
||||||
font-weight: bold;
|
list-style-image: url(chrome://chatzilla/skin/images/isnt-voice.gif)
|
||||||
align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* graphic in the quicklist */
|
|
||||||
.option-graphic {
|
|
||||||
}
|
}
|
||||||
|
<
|
||||||
|
|
|
@ -229,7 +229,7 @@ a {
|
||||||
|
|
||||||
.msg-data[msgtype="QUIT"] {
|
.msg-data[msgtype="QUIT"] {
|
||||||
|
|
||||||
background: lightgrey;
|
background: #222222;
|
||||||
color: brown;
|
color: brown;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче