67647 - javascript console re-write, r=jag, sr=hyatt

This commit is contained in:
hewitt%netscape.com 2001-03-09 00:21:40 +00:00
Родитель a459e11d71
Коммит 06bfea8816
17 изменённых файлов: 586 добавлений и 220 удалений

Просмотреть файл

@ -4,6 +4,7 @@
{
color : #666699;
text-decoration : underline;
cursor : pointer;
}
.text-link:hover

Просмотреть файл

@ -4,6 +4,7 @@
{
color : #666699;
text-decoration : underline;
cursor : pointer;
}
.text-link:hover

Просмотреть файл

Просмотреть файл

Просмотреть файл

@ -19,20 +19,111 @@
* Contributor(s):
*/
@import url(chrome://global/skin/global.css);
@import url(chrome://global/skin);
window {
font-size: 12px;
.console-box
{
background-color : -moz-field;
color : WindowText;
}
/* :::::::::: console rows :::::::::: */
.console-row
{
padding : 0px;
border-bottom : 2px solid WindowText;
}
.console-row-icon
{
border-right : 1px outset ThreeDFace;
padding : 5px;
background-color : ThreeDFace;
vertical-align : top !important;
}
.console-icon
{
list-style-image : inherit !important;
}
/* error rows */
.console-row-code
{
padding : 3px 0px 3px 3px;
font-size : larger;
color : #0000BB;
}
.console-dots, .console-caret
{
height : 9px;
}
.console-dots
{
background : url("chrome://global/skin/console-error-dash.gif") repeat-x top;
}
.console-caret
{
width : 7px;
background : url("chrome://global/skin/console-error-caret.gif") no-repeat top;
}
/* message rows */
.console-row[type="message"]
{
font-family : monospace;
}
/* .......... selected state .......... */
.console-row[selected="true"]
{
background-color : Highlight;
color : HighlightText;
}
.console-row-code[selected="true"],
.console-row-content[selected="true"] > .console-row-file > .text-link
{
color : inherit !important;
}
/* ::::::::: icons :::::::::::: */
.console-row[type="error"],
.console-row[type="exception"]
{
list-style-image : url("chrome://global/skin/error-icon.gif");
}
.console-row[type="warning"]
{
list-style-image : url("chrome://global/skin/alert-icon.gif");
}
.console-row[type="message"] {
list-style-image : url("chrome://global/skin/message-icon.gif");
}
.treecell-error {
white-space: normal;
}
/* ::::::::: toolbars :::::::::::: */
.treecell-error[type="error"] {
list-style-image: url("chrome://global/skin/error-icon.gif") !important;
}
#TextfieldEval
{
margin : 1px 2px 1px 2px ;
}
.treecell-error[type="warning"] {
list-style-image: url("chrome://global/skin/alert-icon.gif") !important;
}
#ButtonEval
{
margin : 1px 2px 1px 0px;
}
toolbarseparator
{
min-height : 1em;
}

Просмотреть файл

@ -119,7 +119,22 @@
{
font-weight : bold;
}
.larger-text
{
font-size : larger;
}
.smaller-text
{
font-size : smaller;
}
.monospace
{
font-family : monospace;
}
.indent
{
margin-left : 20px;

Просмотреть файл

@ -29,6 +29,9 @@ tree.inset > .tree-container-treerows {
border: 1px solid #000000;
}
treeitem {
list-style-image: none;
}
treeitem > treerow {
border-bottom : 1px solid #FFFFFF;

Просмотреть файл

@ -19,17 +19,111 @@
* Contributor(s):
*/
@import url(chrome://global/skin/global.css);
@import url(chrome://global/skin);
.treecell-error {
white-space: normal;
.console-box
{
background-color : -moz-field;
color : WindowText;
}
/* :::::::::: console rows :::::::::: */
.console-row
{
padding : 0px;
border-bottom : 2px solid WindowText;
}
.console-row-icon
{
border-right : 1px outset ThreeDFace;
padding : 5px;
background-color : ThreeDFace;
vertical-align : top !important;
}
.console-icon
{
list-style-image : inherit !important;
}
/* error rows */
.console-row-code
{
padding : 3px 0px 3px 3px;
font-size : larger;
color : #0000BB;
}
.console-dots, .console-caret
{
height : 9px;
}
.console-dots
{
background : url("chrome://global/skin/console-error-dash.gif") repeat-x top;
}
.console-caret
{
width : 7px;
background : url("chrome://global/skin/console-error-caret.gif") no-repeat top;
}
/* message rows */
.console-row[type="message"]
{
font-family : monospace;
}
/* selected state */
.console-row[selected="true"]
{
background-color : Highlight;
color : HighlightText;
}
.console-row-code[selected="true"],
.console-row-content[selected="true"] > .console-row-file > .console-error-source > .text-link
{
color : inherit !important;
}
/* ::::: icons ::::: */
.console-row[type="error"],
.console-row[type="exception"]
{
list-style-image : url("chrome://global/skin/error-icon.gif");
}
.console-row[type="warning"]
{
list-style-image : url("chrome://global/skin/alert-icon.gif");
}
.console-row[type="message"] {
list-style-image : url("chrome://global/skin/message-icon.gif");
}
.treecell-error[type="error"] {
list-style-image: url("chrome://global/skin/error-icon.gif") !important;
}
/* ::::: toolbars ::::: */
.treecell-error[type="warning"] {
list-style-image: url("chrome://global/skin/alert-icon.gif") !important;
}
#TextfieldEval
{
margin : 1px 2px 1px 2px ;
}
#ButtonEval
{
margin : 1px 2px 1px 0px;
}
toolbarseparator
{
min-height : 1em;
}

Просмотреть файл

@ -129,7 +129,22 @@
{
font-weight : bold;
}
.larger-text
{
font-size : larger;
}
.smaller-text
{
font-size : smaller;
}
.monospace
{
font-family : monospace;
}
.indent
{
margin-left : 23px;

Просмотреть файл

@ -31,7 +31,7 @@ classic.jar:
skin/classic/communicator/bookmarks/location-clicked.gif (communicator/bookmarks/location-clicked.gif)
skin/classic/communicator/bookmarks/location-hover.gif (communicator/bookmarks/location-hover.gif)
skin/classic/communicator/bookmarks/iefolder.gif (communicator/bookmarks/iefolder.gif)
skin/classic/communicator/bookmarks/bookmarks-tree.css (communicator/bookmarks/bookmarks-tree.css)
skin/classic/communicator/bookmarks/bookmarks.css (communicator/bookmarks/bookmarks.css)
skin/classic/communicator/bookmarks/schedule.gif (communicator/bookmarks/schedule.gif)
skin/classic/communicator/bookmarks/notification.gif (communicator/bookmarks/notification.gif)
skin/classic/communicator/directory/directory.css (communicator/directory/directory.css)
@ -136,6 +136,10 @@ classic.jar:
skin/classic/editor/images/italic-disabled.gif (editor/images/italic-disabled.gif)
skin/classic/editor/images/italic-hover-active.gif (editor/images/italic-hover-active.gif)
skin/classic/editor/images/italic-hover.gif (editor/images/italic-hover.gif)
skin/classic/editor/images/insert.gif (editor/images/insert.gif)
skin/classic/editor/images/insert-disabled.gif (editor/images/insert-disabled.gif)
skin/classic/editor/images/insert-hover-active.gif (editor/images/insert-hover-active.gif)
skin/classic/editor/images/insert-hover.gif (editor/images/insert-hover.gif)
skin/classic/editor/images/italic.gif (editor/images/italic.gif)
skin/classic/editor/images/justify.gif (editor/images/justify.gif)
skin/classic/editor/images/justify-hover.gif (editor/images/justify-hover.gif)
@ -214,6 +218,8 @@ classic.jar:
skin/classic/global/check-radio-disabled.gif (global/check-radio-disabled.gif)
skin/classic/global/check-radio.gif (global/check-radio.gif)
skin/classic/global/columnselect.gif (global/columnselect.gif)
skin/classic/global/console-error-caret.gif (global/console-error-caret.gif)
skin/classic/global/console-error-dash.gif (global/console-error-dash.gif)
skin/classic/global/dir-closed.gif (global/dir-closed.gif)
skin/classic/global/dir-open.gif (global/dir-open.gif)
skin/classic/global/gray-bottomleft.gif (global/gray-bottomleft.gif)

Просмотреть файл

@ -1,17 +1,45 @@
/*
* The contents of this file are subject to the Netscape 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/NPL/
*
* 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 Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
*/
/* class for text with a 'link' appearance */
.text-link
{
color : #666699;
text-decoration : underline;
}
.text-link:hover
{
color : #333366;
}
.text-link:hover:active
{
color : #990000;
}
/* ==== formatting.css ==================================================
== Styles used for various types of formatting in the Communicator
== suite.
====================================================================== */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ::::: hypertext links ::::: */
.text-link {
cursor: pointer;
color: #666699;
text-decoration: underline;
}
.text-link:hover {
color: #333366;
}
.text-link:hover:active {
color: #990000;
}

Просмотреть файл

@ -1,61 +1,120 @@
/*
/*
* The contents of this file are subject to the Netscape 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/NPL/
*
*
* 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.org code.
*
*
* The Original Code is Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Contributor(s):
*
*/
.error-icon-box {
background-color: #CCCCCC;
padding: 5px;
border-right: 1px solid #999999;
}
/* ===== console.css ====================================================
== Styles used by the JavaScript Console window.
======================================================================= */
.treecell-error {
border-bottom: 1px solid #000000 !important;
padding: 0px;
white-space: normal;
}
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
.treecell-error[type="error"] {
list-style-image: url("chrome://global/skin/error-icon.gif") !important;
}
.treecell-error[type="warning"] {
list-style-image: url("chrome://global/skin/alert-icon.gif") !important;
}
.error-icon {
list-style-image: inherit !important;
}
.button-toolbar[toggled="true"] {
border: 1px solid #526573 !important;
background-color: #B4C3D4;
.console-box {
background-color: #FFFFFF;
color: #000000;
-moz-border-radius: 4px;
}
}
/* ::::: console rows ::::: */
.button-toolbar {
border: 1px solid transparent !important;
.console-row {
border-bottom: 2px solid #000000;
padding: 0px;
}
.button-toolbar:hover,
.button-toolbar:hover:active,
.button-toolbar[home-dragover="true"] {
border: 1px solid #526573;
.console-row-icon {
border-right: 1px outset #B4C3D4;
padding: 5px;
background-color: #B4C3D4;
vertical-align: top !important;
}
.console-icon {
list-style-image: inherit;
}
/* ..... error rows ..... */
.console-row-code {
padding: 3px 0px 3px 3px;
color: #0000BB;
font-size: larger;
}
.console-dots,
.console-caret {
height: 9px;
}
.console-dots {
background: url("chrome://global/skin/console/error-dash.gif") repeat-x top;
}
.console-caret {
width: 7px;
background: url("chrome://global/skin/console/error-caret.gif") no-repeat top;
}
/* ..... message rows ..... */
.console-row[type="message"] {
font-family: monospace;
}
/* ..... selected state ..... */
.console-row[selected="true"] {
background-color: #486380 !important;
color: #ffffff;
}
.console-row-code[selected="true"],
.console-row-content[selected="true"] > .console-row-file > .console-error-source > .text-link {
color: inherit !important;
}
/* ::::: icons ::::: */
.console-row[type="error"],
.console-row[type="exception"] {
list-style-image: url("chrome://global/skin/error-icon.gif");
}
.console-row[type="warning"] {
list-style-image: url("chrome://global/skin/alert-icon.gif");
}
.console-row[type="message"] {
list-style-image: url("chrome://global/skin/message-icon.gif");
}
/* ::::: toolbars ::::: */
#TextfieldEval {
margin: 2px !important;
}
#ButtonEval {
margin: 2px 2px 2px 0px !important;
}
toolbarseparator {
min-height: 1em;
}

Просмотреть файл

Просмотреть файл

Просмотреть файл

@ -1,149 +1,173 @@
/* colors */
/*
* The contents of this file are subject to the Netscape 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/NPL/
*
* 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 Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
*/
.color-dialog
{
background-color : #B4C3D4;
color : #000000;
}
.color-window
{
background-color : #FFFFFF;
color : #000000;
}
/* ===== formatting.css =================================================
== Styles for various formatting styles.
======================================================================= */
/* inset areas */
.inset
{
border : 1px inset #CCCCCC;
margin : 0px 5px 5px 5px;
}
/* formatting */
.groove-top
{
border-top : 2px groove #CCCCCC;
}
.groove-right
{
border-right : 2px groove #CCCCCC;
}
.groove-left
{
border-left : 2px groove #CCCCCC;
}
.groove-bottom
{
border-bottom : 2px groove #CCCCCC;
}
.outset
{
border : 1px outset #CCCCCC;
}
/** separator rules **/
/* standard separators */
separator, separator[orient="horizontal"]
{
height: 1.5em;
}
separator[orient="vertical"]
{
width: 1.5em;
}
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* thinner separators (50% size) */
separator.thin, separator.thin[orient="horizontal"]
{
height: 0.5em;
}
separator.thin[orient="vertical"]
{
width: 0.5em;
}
/* ::::: colors ::::: */
/* groove separators (50% size) */
separator.groove,
separator.groove[orient="horizontal"]
{
border-top : 1px solid #7A8490;
border-bottom : 1px solid #FEFEFE;
height: 0px;
margin-top: 0.4em;
margin-bottom: 0.4em;
}
separator.groove[orient="vertical"]
{
border-left: 1px solid #7A8490;
border-right: 1px solid #FEFEFE;
margin-left: 0.4em;
margin-right: 0.4em;
}
/* groove separators (0 padding, for dividing effects) */
separator.groove-thin
{
border-top: 2px groove #CCCCCC;
height: 0px;
}
separator[orient="vertical"].groove-thin
{
border-left: 2px groove #CCCCCC;
}
.color-dialog {
background-color: #B4C3D4;
color: #000000;
}
/** text formatting rules **/
/* label (with margins) */
text.label
{
margin : 1px 5px 2px 5px;
}
text[disabled="true"]
{
color : #5A616A;
}
html
{
margin : 1px 5px 4px 5px;
cursor : default;
}
.color-window {
background-color: #FFFFFF;
color: #000000;
}
.header
{
font-weight : bold;
}
.indent
{
margin-left : 20px;
}
/* ::::: inset/outset areas ::::: */
.icon-dropmarker
{
list-style-image : url("chrome://global/skin/simple-arrow-down.gif");
}
.box-padded
{
padding : 5px;
}
.spaced
{
margin : 3px 5px 4px 5px;
}
.inset {
border: 1px inset #B4C3D4;
}
.outset {
border: 1px outset #B4C3D4;
}
/* .... grooves ..... */
.groove-top {
border-top: 2px groove #C2D0D0;
}
.groove-right {
border-right: 2px groove #C2D0D0;
}
.groove-left {
border-left: 2px groove #C2D0D0;
}
.groove-bottom {
border-bottom: 2px groove #C2D0D0;
}
/* ::::: separators ::::: */
/* ..... standard separators ..... */
separator,
separator[orient="horizontal"] {
height: 1.5em;
}
separator[orient="vertical"] {
width: 1.5em;
}
/* ..... thinner separators ..... */
separator.thin,
separator.thin[orient="horizontal"] {
height: 0.5em;
}
separator.thin[orient="vertical"] {
width: 0.5em;
}
/* ..... groove separators ..... */
separator.groove,
separator.groove[orient="horizontal"] {
margin: 0.4em 5px 0.4em 5px;
border-top: 1px solid #7A8490;
border-bottom: 1px solid #FEFEFE;
height: 0px;
}
separator.groove[orient="vertical"] {
margin-right: 0.4em;
margin-left: 0.4em;
border-right: 1px solid #FEFEFE;
border-left: 1px solid #7A8490;
}
/* ..... thin groove separators ..... */
separator.groove-thin {
border-top: 2px groove #C2D0D0;
height: 0px;
}
separator[orient="vertical"].groove-thin {
border-left: 2px groove #C2D0D0;
}
/* ::::: text formatting rules ::::: */
/* ..... label (with margins) ..... */
text.label {
margin: 1px 4px 2px 4px;
}
text[disabled="true"] {
color: #85959E;
}
html {
cursor: default;
margin: 1px 4px 2px 4px;
}
.header {
font-weight: bold;
}
.larger-text {
font-size: larger;
}
.smaller-text {
font-size: smaller;
}
.monospace {
font-family: monospace;
}
.indent {
margin-left: 20px;
}
.icon-dropmarker {
list-style-image: url("chrome://global/skin/simple-arrow-down.gif");
}
.box-padded {
padding: 2px 4px;
}
.spaced {
margin: 3px 5px 4px 5px;
}
.wizard-box {
padding: 20px 44px 10px 44px;
}
.wizard-box
{
padding : 20px 44px 10px 44px;
}

Просмотреть файл

@ -8,7 +8,8 @@ toolbar
background-color : #5B7693;
// DON'T DELETE. Removes disappearance of scrollbars in content pane when window is made smaller.
// Talk to evaughan@netscape.com for details.
min-width : 1px;
min-width : 1px;
color : #FFFFFF;
}
toolbar > .toolbar-holder
@ -103,3 +104,22 @@ toolbarseparator
border-right : 1px solid #92ABC9;
margin : 2px 0.2em 2px 0.2em;
}
/* ::::: special looks for widgets in toolbars ::::: */
tree.toolbar,
textfield.toolbar {
border-top: 1px solid #536B86;
border-right: 1px solid #94A6B9;
border-bottom: 1px solid #94A6B9;
border-left: 1px solid #536B86;
}
tree.toolbar > .tree-container-treerows,
textfield.toolbar > .textfield-internal-box {
border-color: #364556;
}
textfield.toolbar[focused="true"] {
border: 1px solid #2D3B49;
}

Просмотреть файл

@ -45,11 +45,21 @@ modern.jar:
skin/modern/communicator/pt-grippy-top.gif (communicator/pt-grippy-top.gif)
skin/modern/communicator/pt-grippy-top-active.gif (communicator/pt-grippy-top-active.gif)
skin/modern/communicator/pt-separator.gif (communicator/pt-separator.gif)
skin/modern/communicator/toolbar/mbtn-tb-arrow-act.gif (communicator/toolbar/mbtn-tb-arrow-act.gif)
skin/modern/communicator/toolbar/mbtn-tb-arrow-dis.gif (communicator/toolbar/mbtn-tb-arrow-dis.gif)
skin/modern/communicator/toolbar/mbtn-tb-arrow-hov.gif (communicator/toolbar/mbtn-tb-arrow-hov.gif)
skin/modern/communicator/toolbar/mbtn-tb-arrow.gif (communicator/toolbar/mbtn-tb-arrow.gif)
skin/modern/communicator/toolbar/mbtn1-arrow-act.gif (communicator/toolbar/mbtn1-arrow-act.gif)
skin/modern/communicator/toolbar/mbtn1-arrow-hov.gif (communicator/toolbar/mbtn1-arrow-hov.gif)
skin/modern/communicator/toolbar/mbtn1-arrow.gif (communicator/toolbar/mbtn1-arrow.gif)
skin/modern/communicator/toolbar/mbtn4-arrow-up.gif (communicator/toolbar/mbtn4-arrow-up.gif)
skin/modern/editor/EdImageMap.css (editor/EdImageMap.css)
skin/modern/editor/EdImageMapPage.css (editor/EdImageMapPage.css)
skin/modern/editor/EditorDialog.css (editor/EditorDialog.css)
skin/modern/editor/EditorToolbars.css (editor/EditorToolbars.css)
skin/modern/editor/editor.css (editor/editor.css)
skin/modern/global/console/error-caret.gif (global/console/error-caret.gif)
skin/modern/global/console/error-dash.gif (global/console/error-dash.gif)
skin/modern/global/alert-icon.gif (global/alert-icon.gif)
skin/modern/global/animthrob.gif (global/animthrob.gif)
skin/modern/global/animthrob_single.gif (global/animthrob_single.gif)
@ -544,7 +554,6 @@ modern.jar:
skin/modern/communicator/bookmarks/bookmark-folder-open.png (communicator/bookmarks/bookmark-folder-open.png)
skin/modern/communicator/bookmarks/bookmark-item.png (communicator/bookmarks/bookmark-item.png)
skin/modern/communicator/bookmarks/home.png (communicator/bookmarks/home.png)
skin/modern/communicator/bookmarks/bookmarks-tree.css (communicator/bookmarks/bookmarks-tree.css)
skin/modern/communicator/directory/directory.css (communicator/directory/directory.css)
skin/modern/communicator/directory/file-folder-closed-sel.gif (communicator/directory/file-folder-closed-sel.gif)
skin/modern/communicator/directory/file-folder-closed.gif (communicator/directory/file-folder-closed.gif)