From 259c0f10bac14f9ea5f16e9dd1e5a7d4d5ffe9f1 Mon Sep 17 00:00:00 2001 From: robert Date: Wed, 13 Feb 2002 23:53:32 +0000 Subject: [PATCH] some small updates got to know during LCARStrek work --- EarlyBlue/communicator/communicator.css | 22 ++-- .../communicator/search/search-editor.css | 14 +-- EarlyBlue/communicator/sidebar/customize.css | 17 ++- EarlyBlue/editor/EdImageMapPage.css | 2 +- EarlyBlue/forms/button.css | 96 +++++++++++++++ EarlyBlue/forms/checkbox.css | 66 ++++++++++ EarlyBlue/forms/forms.css | 5 + EarlyBlue/forms/select-dropdown.css | 116 ++++++++++++++++++ EarlyBlue/forms/select.css | 104 ++++++++++++++++ EarlyBlue/global/browser.css | 2 +- EarlyBlue/global/menu.css | 2 +- EarlyBlue/global/radio.css | 2 +- EarlyBlue/messenger/filterDialog.css | 4 +- EarlyBlue/messenger/icons/flagcol.gif | Bin 94 -> 84 bytes .../messengercompose/messengercompose.css | 4 +- EarlyBlue/messenger/subscribe.css | 6 +- 16 files changed, 421 insertions(+), 41 deletions(-) create mode 100644 EarlyBlue/forms/button.css create mode 100644 EarlyBlue/forms/checkbox.css create mode 100644 EarlyBlue/forms/select-dropdown.css create mode 100644 EarlyBlue/forms/select.css diff --git a/EarlyBlue/communicator/communicator.css b/EarlyBlue/communicator/communicator.css index a2e652c6..7b78c6df 100644 --- a/EarlyBlue/communicator/communicator.css +++ b/EarlyBlue/communicator/communicator.css @@ -46,34 +46,32 @@ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -#offline-status[offline="true"] - { - list-style-image : url("chrome://communicator/skin/icons/offline.gif"); - } +#offline-status[offline="true"] { + list-style-image: url("chrome://communicator/skin/icons/offline.gif"); +} -#offline-status - { - list-style-image : url("chrome://communicator/skin/icons/online.gif"); - } +#offline-status { + list-style-image: url("chrome://communicator/skin/icons/online.gif"); +} /* ::::: directional button icons ::::: */ .up { - list-style-image:url("chrome://global/skin/scroll-up.gif"); + list-style-image:url("chrome://global/skin/arrow/arrow-up.gif"); min-width: 0px; } .up[disabled="true"] { - list-style-image:url("chrome://global/skin/scroll-up-disabled.gif"); + list-style-image:url("chrome://global/skin/arrow/arrow-up-disabled.gif"); } .down { min-width: 0px; - list-style-image:url("chrome://global/skin/scroll-down.gif"); + list-style-image:url("chrome://global/skin/arrow/arrow-down.gif"); } .down[disabled="true"] { - list-style-image:url("chrome://global/skin/scroll-down-disabled.gif"); + list-style-image:url("chrome://global/skin/arrow/arrow-down-disabled.gif"); } .sidebarTree { diff --git a/EarlyBlue/communicator/search/search-editor.css b/EarlyBlue/communicator/search/search-editor.css index 5d7fa5bd..1b384f40 100644 --- a/EarlyBlue/communicator/search/search-editor.css +++ b/EarlyBlue/communicator/search/search-editor.css @@ -37,12 +37,10 @@ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -#add-button - { - list-style-image : url("chrome://global/skin/scroll-right.gif"); - } +#add-button { + list-style-image: url("chrome://global/skin/arrow/arrow-right.gif"); +} -#remove-button - { - list-style-image : url("chrome://global/skin/scroll-left.gif"); - } +#remove-button { + list-style-image: url("chrome://global/skin/arrow/arrow-left.gif"); +} diff --git a/EarlyBlue/communicator/sidebar/customize.css b/EarlyBlue/communicator/sidebar/customize.css index 8eadb76e..3a3c1c5b 100644 --- a/EarlyBlue/communicator/sidebar/customize.css +++ b/EarlyBlue/communicator/sidebar/customize.css @@ -41,28 +41,25 @@ Style rules specific to the Customize dialog. */ -.treecell-panel -{ +.treecell-panel { list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); } .treecell-panel[haslink="true"], -treeitem[container="true"] > treerow > .treecell-panel -{ +treeitem[container="true"] > treerow > .treecell-panel { list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); } + treeitem[selected="true"] > treerow > .treecell-panel[haslink="true"], -treeitem[selected="true"][container="true"] > treerow > .treecell-panel -{ +treeitem[selected="true"][container="true"] > treerow > .treecell-panel { list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed-sel.gif"); } -treeitem[container="true"][open="true"] > treerow > .treecell-panel -{ +treeitem[container="true"][open="true"] > treerow > .treecell-panel { list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); } -treeitem[selected="true"][container="true"][open="true"] > treerow > .treecell-panel -{ + +treeitem[selected="true"][container="true"][open="true"] > treerow > .treecell-panel { list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open-sel.gif"); } diff --git a/EarlyBlue/editor/EdImageMapPage.css b/EarlyBlue/editor/EdImageMapPage.css index 586bae54..7b466ac6 100644 --- a/EarlyBlue/editor/EdImageMapPage.css +++ b/EarlyBlue/editor/EdImageMapPage.css @@ -53,6 +53,6 @@ .handlet {position:absolute; top:-5px; left:48%; height:5px; width:5px; background-color:#ff00ff;} .handleb {position:absolute; top:100%; left:48%; height:5px; width:5px; background-color:#ff00ff;} #marquee {position:absolute; top:1px; left:-5px; height:-5px; width:1px; border: 1 dashed #0000ff; z-index:10000; visibility: hidden;} -#bgDiv {position:absolute; top:0px; left:0px; width:1; background:url("chrome://editor/skin/images/Map_checker.gif"); background-color: white; cursor: inherit;} +#bgDiv {position:absolute; top:0px; left:0px; width:1; background:url("chrome://editor/skin/icons/Map_checker.gif"); background-color: white; cursor: inherit;} BODY {background-color:appworkspace;} HTML {height: 100%;} diff --git a/EarlyBlue/forms/button.css b/EarlyBlue/forms/button.css new file mode 100644 index 00000000..6ffe0d5f --- /dev/null +++ b/EarlyBlue/forms/button.css @@ -0,0 +1,96 @@ +/* + * 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): + * Joe Hewitt (hewitt@netscape.com) + */ + +/* ===== button.css ===================================================== + == Styles used by the XUL button element. + ======================================================================= */ + +@namespace url(http://www.w3.org/1999/xhtml); + +/* :::::::::: button :::::::::: */ + +button, +input[type="button"], +input[type="submit"], +input[type="reset"] { + -moz-appearance: button; + margin: 1px 5px 2px 5px; + min-width: 6.3em; + border: 3px solid; + -moz-border-top-colors: transparent ThreeDHighlight ThreeDLightShadow; + -moz-border-right-colors: transparent ThreeDDarkShadow ThreeDShadow; + -moz-border-bottom-colors: transparent ThreeDDarkShadow ThreeDShadow; + -moz-border-left-colors: transparent ThreeDHighlight ThreeDLightShadow; + background-color: ThreeDFace; + color: ButtonText; +} + +.button-box { + border: 1px solid transparent; + padding: 1px 4px 2px 3px; +} + +.button-box-text { + margin: 0 !important; + text-align: center; +} + +/* .......... focused state .......... */ + +button:focus, +input[type="button"]:focus, +input[type="submit"]:focus, +input[type="reset"]:focus { + -moz-border-top-colors: ThreeDDarkShadow ThreeDHighlight transparent; + -moz-border-right-colors: ThreeDDarkShadow ThreeDDarkShadow ThreeDShadow; + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDDarkShadow ThreeDShadow; + -moz-border-left-colors: ThreeDDarkShadow ThreeDHighlight transparent; +} + +button:focus > .button-box, +input[type="button"]:focus > .button-box, +input[type="submit"]:focus > .button-box, +input[type="reset"]:focus > .button-box { + border: 1px dotted ThreeDDarkShadow; +} + +/* .......... disabled state .......... */ + +button[disabled="true"], +input[type="button"][disabled="true"], +input[type="submit"][disabled="true"], +input[type="reset"][disabled="true"] { + -moz-border-top-colors: transparent ThreeDHighlight ThreeDLightShadow !important; + -moz-border-right-colors: transparent ThreeDDarkShadow ThreeDShadow !important; + -moz-border-bottom-colors: transparent ThreeDDarkShadow ThreeDShadow !important; + -moz-border-left-colors: transparent ThreeDHighlight ThreeDLightShadow !important; + color: GrayText; +} + +button[disabled="true"] > .button-box, +input[type="button"][disabled="true"] > .button-box, +input[type="submit"][disabled="true"] > .button-box, +input[type="reset"][diasbled="true"] > .button-box { + padding: 1px 4px 2px 3px !important; +} + diff --git a/EarlyBlue/forms/checkbox.css b/EarlyBlue/forms/checkbox.css new file mode 100644 index 00000000..4732b653 --- /dev/null +++ b/EarlyBlue/forms/checkbox.css @@ -0,0 +1,66 @@ +/* + * 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): + * + */ + +/* ===== checkbox.css =================================================== + == Styles used by the XUL checkbox element. + ======================================================================= */ + +@namespace url(http://www.w3.org/1999/xhtml); + +/* ::::: checkbox ::::: */ + +input[type="checkbox"] { + -moz-appearance: checkbox; + -moz-box-align: center; + border: 2px solid; + padding-left: 1px; + padding-right: 1px; + -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow; + -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow; + -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow; + -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow; + min-width: 13px; + min-height: 13px; + background: -moz-Field no-repeat 50% 50%; +} + +input[type="checkbox"]:hover:active { + background-color: -moz-Dialog; +} + +/* ..... disabled state ..... */ + +input[type="checkbox"][disabled="true"] { + background-color: -moz-Dialog; +} + +/* ..... checked state ..... */ + +input[type="checkbox"][_moz-input-checked] { + list-style-image: url("chrome://global/skin/checkbox/cbox-check.gif"); +} + +input[type="checkbox"][_moz-input-checked][disabled="true"] { + list-style-image: url("chrome://global/skin/checkbox/cbox-check-dis.gif") !important +} + diff --git a/EarlyBlue/forms/forms.css b/EarlyBlue/forms/forms.css index b97c1c14..64178c41 100644 --- a/EarlyBlue/forms/forms.css +++ b/EarlyBlue/forms/forms.css @@ -40,3 +40,8 @@ /* xbl-forms.css contains the XBL bindings common to all skins */ @import url("chrome://forms/content/xbl-forms.css"); +@import url("chrome://forms/skin/select.css"); +@import url("chrome://forms/skin/select-dropdown.css"); +@import url("chrome://forms/skin/checkbox.css"); +@import url("chrome://forms/skin/button.css"); + diff --git a/EarlyBlue/forms/select-dropdown.css b/EarlyBlue/forms/select-dropdown.css new file mode 100644 index 00000000..f63a8f2b --- /dev/null +++ b/EarlyBlue/forms/select-dropdown.css @@ -0,0 +1,116 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * 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.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2002 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Brian Ryner + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +@namespace url(http://www.w3.org/1999/xhtml); /* set default namespace to HTML */ +@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/** + Widget + **/ + +select[size] { + border: 2px inset ThreeDFace; + margin: 0; + min-height: none; + color: inherit; + font: inherit; + -moz-appearance: treeview; +} + +xul|*.select-outlinerbody:-moz-outliner-row { + -moz-apperance: treeitem; + border: 1px solid transparent; +} + +xul|*.select-outlinercol { + margin: 0px !important; + border: none !important; + padding: 0px !important; +} + +xul|*.select-outlinercols > xul|outlinercolpicker { + display: none; +} + +/* ::::: outliner rows ::::: */ + +xul|*.select-outlinerbody:-moz-outliner-row { + border: 1px solid transparent; + height: 18px; +} + +xul|*.select-outlinerbody:-moz-outliner-row(selected) { + background-color: -moz-Dialog; +} + +xul|*.select-outlinerbody:-moz-outliner-row(selected, focus) { + background-color: Highlight; +} + +xul|*.select-outlinerbody:-moz-outliner-row(current, focus) { + border: 1px dotted #F5DB95; +} + +/* ::::: outliner cells ::::: */ + +xul|*.select-outlinerbody:-moz-outliner-cell { + padding: 0px 0px 0px 2px; +} + +xul|*.select-outlinerbody:-moz-outliner-cell-text { + color: inherit; +} + +xul|*.select-outlinerbody:-moz-outliner-cell-text(selected) { + color: -moz-DialogText; +} + +xul|*.select-outlinerbody:-moz-outliner-cell-text(selected, focus) { + color: HighlightText; +} diff --git a/EarlyBlue/global/browser.css b/EarlyBlue/global/browser.css index 9e78dacf..c582f41c 100644 --- a/EarlyBlue/global/browser.css +++ b/EarlyBlue/global/browser.css @@ -60,7 +60,7 @@ tabpanels { margin-right: 3px; width: 16px; height: 16px; - list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item16.gif"); + list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); } tab[busy] > .tab-icon { diff --git a/EarlyBlue/global/menu.css b/EarlyBlue/global/menu.css index a87cc546..c510ad73 100644 --- a/EarlyBlue/global/menu.css +++ b/EarlyBlue/global/menu.css @@ -233,5 +233,5 @@ menulist > menupopup > menuseparator, .treecell-popupcell-menu { margin-left: -2px; - list-style-image: url("chrome://global/skin/columnselect.gif"); + list-style-image: url("chrome://global/skin/tree/columnpicker.gif"); } diff --git a/EarlyBlue/global/radio.css b/EarlyBlue/global/radio.css index e8a5a901..53675303 100644 --- a/EarlyBlue/global/radio.css +++ b/EarlyBlue/global/radio.css @@ -109,6 +109,6 @@ radio[selected="true"] > .radio-check-box1 > .radio-check-box2 { list-style-image: url("chrome://global/skin/radio/radio-check.gif"); } -radio[selected="true"][disabled="true"] > .radio-check-box1 { +radio[selected="true"][disabled="true"] > .radio-check-box2 { list-style-image: url("chrome://global/skin/radio/radio-check-disabled.gif") !important } diff --git a/EarlyBlue/messenger/filterDialog.css b/EarlyBlue/messenger/filterDialog.css index 39b68ac0..6b3a5e35 100644 --- a/EarlyBlue/messenger/filterDialog.css +++ b/EarlyBlue/messenger/filterDialog.css @@ -46,9 +46,9 @@ /* ::::: columns :::::: */ .enabledcol { - list-style-image: url("chrome://messenger/skin/dot.gif"); + list-style-image: url("chrome://messenger/skin/icons/dot.gif"); } .enabledcol[Enabled="true"] { - list-style-image: url("chrome://messenger/skin/check.gif"); + list-style-image: url("chrome://messenger/skin/icons/check.gif"); } diff --git a/EarlyBlue/messenger/icons/flagcol.gif b/EarlyBlue/messenger/icons/flagcol.gif index 3c9fdab2dabac5c111cdd49f5f7a1db60bd04e2c..169ee95aea96991d046ffc09ba8f54668ef16a14 100755 GIT binary patch literal 84 zcmZ?wbhEHb6ky06K0VSO5S3 diff --git a/EarlyBlue/messenger/messengercompose/messengercompose.css b/EarlyBlue/messenger/messengercompose/messengercompose.css index 578e6530..fdaef0e5 100644 --- a/EarlyBlue/messenger/messengercompose/messengercompose.css +++ b/EarlyBlue/messenger/messengercompose/messengercompose.css @@ -87,11 +87,11 @@ } #spellingButton { - list-style-image: url("chrome://editor/skin/images/spell.gif"); + list-style-image: url("chrome://editor/skin/icons/spell.gif"); } #spellingButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/images/spell-disabled.gif") !important; + list-style-image: url("chrome://editor/skin/icons/spell-disabled.gif") !important; } #button-save { diff --git a/EarlyBlue/messenger/subscribe.css b/EarlyBlue/messenger/subscribe.css index 3c4a941b..344cefeb 100644 --- a/EarlyBlue/messenger/subscribe.css +++ b/EarlyBlue/messenger/subscribe.css @@ -89,15 +89,15 @@ /* ::::: for search in subscribe ::::: */ -outlinerbody:-moz-outliner-image(nameCol, nntp) { +outlinerchildren:-moz-outliner-image(nameCol, nntp) { padding-right: 2px; list-style-image: url("chrome://messenger/skin/icons/folder-newsgroup.gif"); } -outlinerbody:-moz-outliner-image(subscribedCol) { +outlinerchildren:-moz-outliner-image(subscribedCol) { list-style-image: url("chrome://messenger/skin/icons/dot.gif"); } -outlinerbody:-moz-outliner-image(subscribedCol, subscribed) { +outlinerchildren:-moz-outliner-image(subscribedCol, subscribed) { list-style-image: url("chrome://messenger/skin/icons/check.gif"); } -- 2.43.0