From: Robert Kaiser Date: Thu, 16 Oct 2008 01:10:03 +0000 (+0200) Subject: bring LCARStrek up to SeaMonkey 2.0a1, part 1 X-Git-Tag: LCARStrek-2.0a1~12 X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=c79d2bbe6e21fbe322c5481d0757831306d1eeaf;p=themes.git bring LCARStrek up to SeaMonkey 2.0a1, part 1 --- diff --git a/EarlyBlue/global/global.css b/EarlyBlue/global/global.css index b6cead9c..480f9000 100644 --- a/EarlyBlue/global/global.css +++ b/EarlyBlue/global/global.css @@ -173,7 +173,7 @@ resizer[dir="bottomright"] { border: 0px; margin: -14px; padding: 0px; - background-image: url("chrome://communicator/skin/icons/autoscroll.png"); + background-image: url("chrome://global/skin/icons/autoscroll.png"); background-color: transparent; -moz-appearance: none; } diff --git a/LCARStrek/chrome.manifest b/LCARStrek/chrome.manifest index 58d45a00..26596fe1 100644 --- a/LCARStrek/chrome.manifest +++ b/LCARStrek/chrome.manifest @@ -1,9 +1,9 @@ -skin global LCARStrek/1.9a1pre global/ -skin mozapps LCARStrek/1.9a1pre mozapps/ -skin messenger LCARStrek/1.9a1pre messenger/ -skin communicator LCARStrek/1.9a1pre communicator/ -skin help LCARStrek/1.9a1pre help/ -skin navigator LCARStrek/1.9a1pre navigator/ -skin editor LCARStrek/1.9a1pre editor/ -skin chatzilla LCARStrek/1.9a1pre chatzilla/ -skin inspector LCARStrek/1.9a1pre inspector/ +skin global LCARStrek global/ +skin mozapps LCARStrek mozapps/ +skin messenger LCARStrek messenger/ +skin communicator LCARStrek communicator/ +skin help LCARStrek help/ +skin navigator LCARStrek navigator/ +skin editor LCARStrek editor/ +skin chatzilla LCARStrek chatzilla/ +skin inspector LCARStrek inspector/ diff --git a/LCARStrek/communicator/bookmarks/bookmarksToolbar.css b/LCARStrek/communicator/bookmarks/bookmarksToolbar.css index 28807c45..0652bd2f 100644 --- a/LCARStrek/communicator/bookmarks/bookmarksToolbar.css +++ b/LCARStrek/communicator/bookmarks/bookmarksToolbar.css @@ -68,8 +68,8 @@ toolbarbutton.bookmark-item > .toolbarbutton-menu-dropmarker { } .bookmark-item > .menu-iconic-left > .menu-iconic-icon { - width: 16px; - height: 16px; + max-width: 16px; + max-height: 16px; } .bookmark-group { @@ -104,7 +104,7 @@ toolbarbutton.bookmark-item[disabled="true"][container="true"]:hover:active { toolbarbutton.bookmark-item[dragover-left="true"] { border-left: 2px solid #008484; } - + toolbarbutton.bookmark-item[dragover-right="true"] { border-right: 2px solid #008484; } @@ -120,13 +120,12 @@ menu.bookmark-item, menuitem.bookmark-item { border-top: 1px solid transparent !important; border-bottom: 1px solid transparent !important; - padding: 1px 3px 1px 2px; - margin-top: -1px; + padding: 0px 2px 0px 2px; } .menuitem-iconic.bookmark-item[disabled="true"] { list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item-disabled.gif"); -} +} .menu-iconic.bookmark-item[disabled="true"][container="true"] { list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-disabled.gif"); diff --git a/LCARStrek/communicator/brand.css b/LCARStrek/communicator/brand.css index aa9d9d0e..d25ad828 100644 --- a/LCARStrek/communicator/brand.css +++ b/LCARStrek/communicator/brand.css @@ -54,8 +54,8 @@ } window[chromehidden~="toolbar"] #navigator-throbber, -#navigator-throbber[buttonstyle="text"], -#navigator-throbber[buttonstyle="pictures"], +toolbar[mode="text"] #navigator-throbber, +toolbar[mode="icons"] #navigator-throbber, #navigator-throbber[toolbarmode="small"] { margin: 0 3px 0 1px; padding: 2px; @@ -63,8 +63,8 @@ window[chromehidden~="toolbar"] #navigator-throbber, } window[chromehidden~="toolbar"] #navigator-throbber[busy="true"], -#navigator-throbber[buttonstyle="text"][busy="true"], -#navigator-throbber[buttonstyle="pictures"][busy="true"], +toolbar[mode="text"] #navigator-throbber[busy="true"], +toolbar[mode="icons"] #navigator-throbber[busy="true"], #navigator-throbber[toolbarmode="small"][busy="true"] { list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.gif"); } diff --git a/LCARStrek/communicator/button.css b/LCARStrek/communicator/button.css index 6553aa53..bc33a754 100644 --- a/LCARStrek/communicator/button.css +++ b/LCARStrek/communicator/button.css @@ -73,52 +73,52 @@ /* ::::: small primary toolbar buttons ::::: */ -.toolbarbutton-1[buttonstyle="text"], -.toolbarbutton-1[buttonstyle="pictures"], +toolbar[mode="text"] .toolbarbutton-1, +toolbar[mode="icons"] .toolbarbutton-1, .toolbarbutton-1[toolbarmode="small"], -.toolbarbutton-1 > .toolbarbutton-menubutton-button[buttonstyle="text"], -.toolbarbutton-1 > .toolbarbutton-menubutton-button[buttonstyle="pictures"], -.toolbarbutton-1 > .toolbarbutton-menubutton-button[toolbarmode="small"] { +toolbar[mode="text"] .toolbarbutton-menubutton-button, +toolbar[mode="icons"] .toolbarbutton-menubutton-button, +.toolbarbutton-menubutton-button[toolbarmode="small"] { min-width: 0px; min-height: 0px; } -.toolbarbutton-1[buttonstyle="text"] > .toolbarbutton-menubutton-dropmarker { +toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker { padding: 4px 1px 8px 1px; } -.toolbarbutton-1[buttonstyle="pictures"] > .toolbarbutton-menubutton-dropmarker, +toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker, .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-dropmarker { padding: 0px 1px 13px 1px; } -.toolbarbutton-1[buttonstyle="text"][type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, -.toolbarbutton-1[buttonstyle="text"][type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker { +toolbar[mode="text"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, +toolbar[mode="text"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker { padding: 5px 0px 7px 2px; } -.toolbarbutton-1[buttonstyle="pictures"][type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, -.toolbarbutton-1[buttonstyle="pictures"][type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker, +toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, +toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker, .toolbarbutton-1[toolbarmode="small"][type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, .toolbarbutton-1[toolbarmode="small"][type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker { padding: 1px 0px 12px 2px; } -.toolbarbutton-1[buttonstyle="text"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] { +toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker[disabled="true"] { padding: 4px 1px 8px 1px !important; } -.toolbarbutton-1[buttonstyle="pictures"] > .toolbarbutton-menubutton-dropmarker[disabled="true"], +toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker[disabled="true"], .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] { padding: 0px 1px 13px 1px !important; } -.toolbarbutton-text[buttonstyle="pictures"], -.toolbarbutton-icon[buttonstyle="text"] { +toolbar[mode="icons"] .toolbarbutton-text, +toolbar[mode="text"] .toolbarbutton-icon { display: none; } -.toolbarbutton-text[buttonstyle="text"] { +toolbar[mode="text"] .toolbarbutton-text { padding: 4px 0; } @@ -130,3 +130,26 @@ max-width: 10em; background-color: transparent; } + +/* ::::: taskbuttons ::::: */ + +.taskbutton, +.taskbutton:hover, +.taskbutton:hover:active { + padding: 1px 3px; + border: none; +} + +.taskbutton:hover { + background-color: #FFCF00; +} + +.taskbutton:hover:active { + background-color: #FFCF00; +} + +/* override winstripe */ + +.toolbarbutton-icon { + -moz-margin-end: 2px; +} diff --git a/LCARStrek/communicator/communicator.css b/LCARStrek/communicator/communicator.css index 189e7a27..2a895cda 100644 --- a/LCARStrek/communicator/communicator.css +++ b/LCARStrek/communicator/communicator.css @@ -39,7 +39,6 @@ @import url("chrome://communicator/content/communicator.css"); @import url("chrome://communicator/skin/brand.css"); @import url("chrome://communicator/skin/button.css"); -/* the line below is only LCARStrek */ @import url("chrome://communicator/skin/toolbar.css"); @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */ @@ -52,6 +51,14 @@ -moz-binding: url("chrome://communicator/content/bindings/toolbar.xml#grippytoolbar-primary"); } +/* ::::: autocomplete ::::: */ + +.autocomplete-history-popup { + max-height: 25em; +} + +/* ::::: online/offline icons ::::: */ + #offline-status[offline="true"] { list-style-image: url("chrome://communicator/skin/icons/offline.gif"); } @@ -96,48 +103,3 @@ #downloadView > treechildren::-moz-tree-image(Name) { margin-right: 2px; } - -/* :::::: autoscroll popup ::::: */ - -#autoscroller { - height: 28px; - width: 28px; - border: 0px; - margin: -14px; - padding: 0px; - background-image: url("chrome://communicator/skin/icons/autoscroll.png"); - background-color: transparent; - -moz-appearance: none; -} - -#autoscroller[scrolldir="NS"] { - background-position: left center; -} - -#autoscroller[scrolldir="EW"] { - background-position: left bottom; -} - -#autoscroller[transparent="true"] { - background-position: center top; -} - -#autoscroller[transparent="true"][scrolldir="NS"] { - background-position: center center; -} - -#autoscroller[transparent="true"][scrolldir="EW"] { - background-position: center bottom; -} - -#autoscroller[translucent="true"] { - background-position: right top; -} - -#autoscroller[translucent="true"][scrolldir="NS"] { - background-position: right center; -} - -#autoscroller[translucent="true"][scrolldir="EW"] { - background-position: right bottom; -} diff --git a/LCARStrek/communicator/dialogs.css b/LCARStrek/communicator/dialogs.css index 4f007be2..fcd9116d 100644 --- a/LCARStrek/communicator/dialogs.css +++ b/LCARStrek/communicator/dialogs.css @@ -43,10 +43,3 @@ @import url("chrome://communicator/skin/"); @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - -/* ::::: turbo confirmation dialog ::::: */ - -#turboTrayImage { - list-style-image: url("chrome://communicator/skin/icons/turbo-systray.gif"); - border: 2px inset ThreeDFace !important; -} diff --git a/LCARStrek/communicator/help.css b/LCARStrek/communicator/help.css deleted file mode 100644 index 45b02574..00000000 --- a/LCARStrek/communicator/help.css +++ /dev/null @@ -1,95 +0,0 @@ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: NPL 1.1/GPL 2.0/LGPL 2.1 - * - * 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 Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998-1999 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * Joe Hewitt (hewitt@netscape.com) - * Robert Kaiser - * - * 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 NPL, 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 NPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - -@import url("chrome://communicator/skin/"); - -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - -#helpBackButton { - list-style-image: url("chrome://navigator/skin/icons/back.gif"); -} - -#helpBackButton[disabled="true"] { - list-style-image: url("chrome://navigator/skin/icons/back-disabled.gif") !important; -} - -#helpBackButton:hover, -#helpBackButton:hover:active { - list-style-image: url("chrome://navigator/skin/icons/back-hover.gif"); -} - -#helpForwardButton { - list-style-image: url("chrome://navigator/skin/icons/forward.gif"); -} - -#helpForwardButton[disabled="true"] { - list-style-image: url("chrome://navigator/skin/icons/forward-disabled.gif") !important; -} - -#helpForwardButton:hover, -#helpForwardButton:hover:active { - list-style-image: url("chrome://navigator/skin/icons/forward-hover.gif"); -} - -/* ::::: primary toolbar buttons ::::: */ - -#print { - list-style-image: url("chrome://global/skin/icons/print.gif"); -} - -#print[disabled="true"] { - list-style-image: url("chrome://global/skin/icons/print-disabled.gif") !important; -} - -#print:hover, -#print:hover:active { - list-style-image: url("chrome://global/skin/icons/print-hover.gif"); -} - -#helpHomeButton { - list-style-image: url("chrome://communicator/skin/bookmarks/home.gif"); -} - -#helpHomeButton:hover, -#helpHomeButton:hover:active { - list-style-image: url("chrome://communicator/skin/bookmarks/home-hover.gif"); -} - -#help-content { - border: 1px solid #9C9CFF !important; -} diff --git a/LCARStrek/communicator/helpOverlay.css b/LCARStrek/communicator/helpOverlay.css new file mode 100644 index 00000000..2e61ba2b --- /dev/null +++ b/LCARStrek/communicator/helpOverlay.css @@ -0,0 +1 @@ +/* LCARStrek help is styled in its own help component */ diff --git a/LCARStrek/communicator/icons/alwaysAsk.png b/LCARStrek/communicator/icons/alwaysAsk.png new file mode 100644 index 00000000..af5109d2 Binary files /dev/null and b/LCARStrek/communicator/icons/alwaysAsk.png differ diff --git a/LCARStrek/communicator/icons/application.png b/LCARStrek/communicator/icons/application.png new file mode 100644 index 00000000..aa002069 Binary files /dev/null and b/LCARStrek/communicator/icons/application.png differ diff --git a/LCARStrek/communicator/icons/communicatoricons.png b/LCARStrek/communicator/icons/communicatoricons.png new file mode 100644 index 00000000..bee3ecc5 Binary files /dev/null and b/LCARStrek/communicator/icons/communicatoricons.png differ diff --git a/LCARStrek/communicator/icons/feedIcon16.png b/LCARStrek/communicator/icons/feedIcon16.png new file mode 100755 index 00000000..50187dac Binary files /dev/null and b/LCARStrek/communicator/icons/feedIcon16.png differ diff --git a/LCARStrek/communicator/icons/plugin.png b/LCARStrek/communicator/icons/plugin.png new file mode 100644 index 00000000..78f0591d Binary files /dev/null and b/LCARStrek/communicator/icons/plugin.png differ diff --git a/LCARStrek/communicator/icons/save.png b/LCARStrek/communicator/icons/save.png new file mode 100644 index 00000000..b5e3fbaa Binary files /dev/null and b/LCARStrek/communicator/icons/save.png differ diff --git a/LCARStrek/communicator/icons/turbo-systray.gif b/LCARStrek/communicator/icons/turbo-systray.gif deleted file mode 100644 index a2d8f342..00000000 Binary files a/LCARStrek/communicator/icons/turbo-systray.gif and /dev/null differ diff --git a/LCARStrek/communicator/permissions/status-cookie.gif b/LCARStrek/communicator/permissions/status-cookie.gif deleted file mode 100644 index b207b425..00000000 Binary files a/LCARStrek/communicator/permissions/status-cookie.gif and /dev/null differ diff --git a/LCARStrek/communicator/permissions/taskbar-cookie.gif b/LCARStrek/communicator/permissions/taskbar-cookie.gif deleted file mode 100644 index 0d1cfd08..00000000 Binary files a/LCARStrek/communicator/permissions/taskbar-cookie.gif and /dev/null differ diff --git a/LCARStrek/communicator/preferences.css b/LCARStrek/communicator/preferences.css new file mode 100644 index 00000000..b80957f1 --- /dev/null +++ b/LCARStrek/communicator/preferences.css @@ -0,0 +1,83 @@ +/* ***** 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 SeaMonkey prefwindow code. + * + * The Initial Developer of the Original Code is the SeaMonkey project. + * Portions created by the Initial Developer are Copyright (C) 2007 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Karsten Düsterloh + * + * Alternatively, the contents of this file may be used under the terms of + * either of 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 ***** */ + +/* Styles used by all preference windows and panes of SeaMonkey */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: Main Window ::::: */ + +prefwindow { + padding-top: 8px; + padding-bottom: 10px; + -moz-padding-start: 8px; + -moz-padding-end: 10px; +} + +/* File Field Widget */ +filefield { + margin: 2px 4px; + border: 1px solid #9C9CFF; +} + +.fileFieldContentBox { + background-color: #000000; +} + +filefield[disabled="true"] { + color: #8050B0; + border: 1px solid #8050B0; +} + +.fileFieldIcon[disabled="true"] { + opacity: 0.4; +} + +.fileFieldIcon { + width: 16px; + height: 16px; + margin-top: 1px; + margin-bottom: 1px; + -moz-margin-start: 1px; + -moz-margin-end: 4px; +} + +.fileFieldLabel { + -moz-appearance: none; + background-color: transparent; + border: none; + margin: 0px; +} diff --git a/LCARStrek/communicator/prefpanels.css b/LCARStrek/communicator/prefpanels.css index 1d7b718d..5d06680c 100644 --- a/LCARStrek/communicator/prefpanels.css +++ b/LCARStrek/communicator/prefpanels.css @@ -41,53 +41,113 @@ == Styles used by all preference panels in the Communicator suite. ====================================================================== */ -/* ::::: Themes ::::: */ -#skinsTree { - height: 80px; +/* ::::: Fonts ::::: */ + +#sizeVar, +#sizeMono { + width: 4em; } -*|*.themesLink { - margin-left: 5px; - text-decoration: normal; - color: #FF9F00; - cursor: pointer; +.prefpanel-font-list { + -moz-box-flex: 1; } -*|*.themesLink:hover { - text-decoration: underline; - color: #9C9CFF; +/* ::::: Applications ::::: */ +/** + * Line up the actions menu with action labels above and below it. + * Equalize the distance from the left side of the action box to the left side + * of the icon for both the menu and the non-menu versions of the action box. + * Also make sure the labels are the same distance away from the icons. + */ + +#handlersView > listitem[selected="true"] { + border: none; } -#themesLink:active { - color: #FFCF00; +.handler-action { + padding: 0; } -#previewImageContainer { +.handler-type { padding: 1px; - height: 92px; -/* background-color: #000000; */ } -#previewImage { - max-width: 355px; - min-width: 355px; - max-height: 85px; - min-height: 85px; +.handler-action > .listcell-icon, +.handler-type > .listcell-icon { + margin: 0px; + -moz-margin-start: 3px; + -moz-margin-end: 5px; + height: 16px; + width: 16px; } -/* ::::: Fonts ::::: */ +.handler-action > .listcell-label, +.handler-type > .listcell-label { + padding: 0; +} -#sizeVar, -#sizeMono { - width: 4em; +.actionsMenu { + margin: 0; } -.prefpanel-font-list { - -moz-box-flex: 1; +.actionsMenu > .menulist-label-box { + padding: 1px; + -moz-padding-start: 0; +} + +.actionsMenu > .menulist-label-box > .menulist-icon { + margin: 0 2px; + height: 16px; + width: 16px; } -/* ::::: Mouse Wheel ::::: */ +.handler-action > .menu-iconic-left { + padding: 1px; + -moz-margin-start: 2px !important; + -moz-margin-end: 5px !important; + + /** + * Make the icons appear. + * Note: we display the icon box for every item whether or not it has an icon + * so the labels of all the items align vertically. + */ + display: -moz-box; + min-width: 16px; +} + +.handler-action > .menu-iconic-left > .menu-iconic-icon { + height: 16px; + width: 16px; +} + +/* Set icons on app pane elements */ + +.handler-action[appHandlerIcon="app"] { + list-style-image: url("chrome://communicator/skin/icons/application.png"); +} + +.handler-action[appHandlerIcon="ask"] { + list-style-image: url("chrome://communicator/skin/icons/alwaysAsk.png"); +} + +.handler-action[appHandlerIcon="save"] { + list-style-image: url("chrome://communicator/skin/icons/save.png"); +} + +.handler-action[appHandlerIcon="feed"] { + list-style-image: url("chrome://communicator/skin/icons/feedIcon16.png"); +} + +.handler-action[appHandlerIcon="plugin"] { + list-style-image: url("chrome://communicator/skin/icons/plugin.png"); +} + +.handler-type[typeClass="unknown"] { + list-style-image: url("moz-icon://goat?size=16"); +} -#mouseWheelMode { - width: 9em; +.handler-type[typeClass="webFeed"], +.handler-type[typeClass="videoPodcastFeed"], +.handler-type[typeClass="audioPodcastFeed"] { + list-style-image: url("chrome://communicator/skin/icons/feedIcon16.png"); } diff --git a/LCARStrek/communicator/printing.css b/LCARStrek/communicator/printing.css deleted file mode 100644 index 8177065a..00000000 --- a/LCARStrek/communicator/printing.css +++ /dev/null @@ -1,111 +0,0 @@ -/* ***** 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 the Mozilla Print Preview Toolbar. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corp. - * Portions created by the Initial Developer are Copyright (C) 2002 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * Samir Gehani - * Bill Law - * - * 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 ***** */ - -/* ::::: print preview toolbar ::::: */ - -/* ..... page navigation ..... */ - -.home-arrow { - list-style-image: url("chrome://global/skin/arrow/arrow-left-sharp-end.gif"); -} - -.home-arrow:hover { - list-style-image: url("chrome://global/skin/arrow/arrow-left-sharp-end-hover.gif"); -} - -.end-arrow { - list-style-image: url("chrome://global/skin/arrow/arrow-right-sharp-end.gif"); -} - -.end-arrow:hover { - list-style-image: url("chrome://global/skin/arrow/arrow-right-sharp-end-hover.gif"); -} - -.last-arrow { - list-style-image: url("chrome://global/skin/arrow/arrow-left-sharp.gif"); -} - -.last-arrow:hover { - list-style-image: url("chrome://global/skin/arrow/arrow-left-sharp-hover.gif"); -} - -.next-arrow { - list-style-image: url("chrome://global/skin/arrow/arrow-right-sharp.gif"); -} - -.next-arrow:hover { - list-style-image: url("chrome://global/skin/arrow/arrow-right-sharp-hover.gif"); -} - -/* ...... scale in/decrement ..... */ - -.up-arrow { - list-style-image: url("chrome://global/skin/arrow/arrow-up-sharp.gif"); -} - -.up-arrow:hover { - list-style-image: url("chrome://global/skin/arrow/arrow-up-sharp-hover.gif"); -} - -.down-arrow { - list-style-image: url("chrome://global/skin/arrow/arrow-down-sharp.gif"); -} - -.down-arrow:hover { - list-style-image: url("chrome://global/skin/arrow/arrow-down-sharp-hover.gif"); -} - -/* ..... orientation ..... */ - -.toolbar-portrait-page { - list-style-image: url("chrome://communicator/skin/icons/pg-portrait-small.gif"); -} - -.toolbar-landscape-page { - list-style-image: url("chrome://communicator/skin/icons/pg-landscape-small.gif"); -} - -/* ::::: page setup dialog ::::: */ - -.portrait-page { - list-style-image: url("chrome://communicator/skin/icons/pg-portrait.gif"); -} - -.landscape-page { - list-style-image: url("chrome://communicator/skin/icons/pg-landscape.gif"); -} diff --git a/LCARStrek/communicator/tasksOverlay.css b/LCARStrek/communicator/tasksOverlay.css index dc01e511..b8aa18e7 100644 --- a/LCARStrek/communicator/tasksOverlay.css +++ b/LCARStrek/communicator/tasksOverlay.css @@ -44,21 +44,6 @@ /* ::::: communicator product icons ::::: */ -.taskbutton, -.taskbutton:hover, -.taskbutton:hover:active { - padding: 1px 3px; - border: none; -} - -.taskbutton:hover { - background-color: #FFCF00; -} - -.taskbutton:hover:active { - background-color: #FFCF00; -} - #mini-nav { list-style-image: url("chrome://communicator/skin/taskbar/navigator.gif"); } diff --git a/LCARStrek/communicator/toolbar.css b/LCARStrek/communicator/toolbar.css index d91ab12c..d4f6c666 100644 --- a/LCARStrek/communicator/toolbar.css +++ b/LCARStrek/communicator/toolbar.css @@ -37,9 +37,9 @@ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -/* ==== toolbar.css ========================================================= - == Styles for special toolbars in the Communicator suite. - ========================================================================== */ +/* ===== toolbar.css ==================================================== + == Styles used by XUL grippytoolbar in addition to general toolbar styles. + ======================================================================= */ /* ::::: primary toolbar ::::: */ @@ -52,7 +52,7 @@ } .toolbar-primary > toolbargrippy { - background-color: #9C9CFF; + background-color: #9C9CFF; } .toolbar-primary > toolbargrippy:hover { diff --git a/LCARStrek/global/about.css b/LCARStrek/global/about.css new file mode 100644 index 00000000..d5662c9e --- /dev/null +++ b/LCARStrek/global/about.css @@ -0,0 +1,53 @@ +html { + background-color: #000000; + padding: 0 1em; + font: 11px helvetica,arial,tahoma,sans-serif; +} + +body { + color: #FF9F00; + position: relative; + min-width: 330px; + max-width: 50em; + margin: 4em auto; + border: 1px solid #9C9CFF; + -moz-border-radius: 10px; + padding: 3em; + -moz-padding-start: 30px; + background: #000000; +} + +.aboutPageWideContainer { + max-width: 80%; +} + +#aboutLogoContainer { + border: 1px solid #E7ADE7; + width: 300px; + margin-bottom: 2em; +} + +img { + border: 0; +} + +#version { + font-weight: bold; + color: #008484; + margin: -24px 0 9px 17px; +} + +ul { + margin: 0; + -moz-margin-start: 1.5em; + padding: 0; + list-style: square; +} + +ul > li { + margin-top: .5em; +} + +th, td { + padding: 0 5px; +} diff --git a/LCARStrek/communicator/alerts/alert.css b/LCARStrek/global/alerts/alert.css similarity index 74% rename from LCARStrek/communicator/alerts/alert.css rename to LCARStrek/global/alerts/alert.css index a9382b22..b057fadd 100644 --- a/LCARStrek/communicator/alerts/alert.css +++ b/LCARStrek/global/alerts/alert.css @@ -1,10 +1,10 @@ /* ***** BEGIN LICENSE BLOCK ***** - * Version: NPL 1.1/GPL 2.0/LGPL 2.1 + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * - * 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/ + * 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 @@ -13,26 +13,26 @@ * * The Original Code is mozilla.org code. * - * The Initial Developer of the Original Code is + * The Initial Developer of the Original Code is * Netscape Communications Corporation. * Portions created by the Initial Developer are Copyright (C) 1998 * the Initial Developer. All Rights Reserved. * * Contributor(s): - * Scott MacGregor - * Robert Kaiser + * Scott MacGregor + * Robert Kaiser * * 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 + * 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 NPL, indicate your + * 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 NPL, the GPL or the LGPL. + * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ @@ -45,11 +45,8 @@ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); .alertBox { - border-right: 2px solid #7B969C; - border-bottom: 2px solid #7B969C; - border-top: 2px solid #7B969C; - border-left: 2px solid #7B969C; - background-color: -moz-Dialog; + border: 2px solid #9C9CFF; + background-color: #000000; min-height: 50px; } @@ -75,16 +72,16 @@ .alertText[clickable="true"] { cursor: pointer; - color: #1455D6; + color: blue; text-decoration: underline; } .alertText[clickable="true"]:hover:active { - color: #424F63; + color: red; } .alertBox[orient="horizontal"] > .alertTextBox { - -moz-padding-start: 10px; + -moz-padding-end: 10px; padding-top: 5px; } diff --git a/LCARStrek/global/appPicker.css b/LCARStrek/global/appPicker.css new file mode 100644 index 00000000..690c1568 --- /dev/null +++ b/LCARStrek/global/appPicker.css @@ -0,0 +1,39 @@ + +#app-picker { + width:320px !important; + max-width:320px !important; +} + +#content-description { + font-weight:bold; +} + +#suggested-filename { + font-weight:normal; +} + +#file-info { +} + +#app-picker-list { + height:225px; + min-height:225px; +} + +#app-picker-item { + padding-bottom:5px; + padding-top:5px; +} + +#app-picker-item-image { +} + +#app-picker-item-cell { + font-weight:normal; + padding-right:10px; + padding-left:10px; +} + +#browse-button { + margin-top:10px; +} \ No newline at end of file diff --git a/LCARStrek/global/autocomplete.css b/LCARStrek/global/autocomplete.css index 878094d4..1576f0bf 100644 --- a/LCARStrek/global/autocomplete.css +++ b/LCARStrek/global/autocomplete.css @@ -35,12 +35,13 @@ * * ***** END LICENSE BLOCK ***** */ -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - /* ===== autocomplete.css ================================================= == Styles used by the autocomplete widget. ======================================================================= */ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + /* ::::: autocomplete ::::: */ textbox { @@ -49,6 +50,22 @@ textbox { -moz-border-radius: 3px; } +/* Used by autocomplete widgets that don't have an icon. Gross. -dwh */ +textbox.padded { + padding-top: 1px; + padding-bottom: 1px; + -moz-padding-start: 2px; + -moz-padding-end: 0px; +} + +.autocomplete-textbox-container { + -moz-box-align: center; +} + +textbox[nomatch="true"][highlightnonmatches="true"] { + color: red; +} + .textbox-input-box { margin: 0 3px; -moz-box-align: center; @@ -74,9 +91,11 @@ textbox { /* ::::: autocomplete popups ::::: */ +panel[type="autocomplete"], +panel[type="autocomplete-richlistbox"], .autocomplete-history-popup { border: 1px solid #FF9F00; - background-color: #000000 !important; + background-color: #000000; padding: 0; } @@ -97,14 +116,102 @@ textbox { padding: 0px !important; } +/* GTK calculates space for a sort arrow */ +.autocomplete-treecol > .treecol-sortdirection { + -moz-appearance: none !important; +} + .autocomplete-treebody::-moz-tree-cell-text { padding-left: 8px; } -.autocomplete-treebody::-moz-tree-row(menuactive) { +.autocomplete-treebody::-moz-tree-row(selected) { background-color: #FFCF00; } -.autocomplete-treebody::-moz-tree-cell-text(menuactive) { +.autocomplete-treebody::-moz-tree-cell-text(selected) { color: #000000 !important; } + +.autocomplete-treebody::-moz-tree-image(treecolAutoCompleteValue) { + max-width: 16px; + height: 16px; +} + +/* ::::: richlistbox autocomplete ::::: */ + +.autocomplete-richlistbox { + margin: 0; +} + +.autocomplete-richlistbox > scrollbox { + overflow-x: hidden !important; +} + +.autocomplete-richlistitem[selected="true"] { + background-color: #008484; + color: #000000; +} + +.autocomplete-richlistitem { + padding: 1px 2px; + border-bottom: 1px solid #E7ADE7; +} + +.ac-site-icon { + width: 16px; + height: 16px; + margin: 0 5px -3px 3px; +} + +.ac-type-icon { + width: 16px; + height: 16px; +} + +.ac-extra > .ac-result-type-tag { + margin: 0 4px; +} + +.ac-extra > .ac-comment { + padding-right: 4px; +} + +.ac-ellipsis-after { + margin: 2px 0px 0px 0px !important; + padding: 0; + min-width: 1em; +} + +.ac-normal-text { + margin: 2px 0px 0px 0px !important; + padding: 0; +} + +.ac-normal-text > html|span { + margin: 0 !important; + padding: 0; +} + +html|span.ac-emphasize-text { + font-weight: bold; + text-decoration: underline; +} + +html|span.ac-emphasize-alt { + text-decoration: underline; +} + +.ac-title, .ac-url { + overflow: hidden; +} + +/* ::::: textboxes inside toolbarpaletteitems ::::: */ + +toolbarpaletteitem > toolbaritem > textbox > hbox > hbox > html|*.textbox-input { + visibility: hidden; +} + +toolbarpaletteitem > toolbaritem > * > textbox > hbox > hbox > html|*.textbox-input { + visibility: hidden; +} diff --git a/LCARStrek/global/browser.css b/LCARStrek/global/browser.css index 56e4894a..e59022d1 100644 --- a/LCARStrek/global/browser.css +++ b/LCARStrek/global/browser.css @@ -37,80 +37,157 @@ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -.tabbrowser-strip { - padding-bottom: 1px; - border-bottom: 1px solid #FF9F00; -} +/** + * Tabbrowser Tabs + */ .tabbrowser-tabs { - padding-top: 1px; + /* XXX: Firefox rules - look into those when we support FF + -moz-binding: url("chrome://global/skin/globalBindings.xml#tabbrowser-tabs") !important; + padding-top: 0px; + background: -moz-dialog url("chrome://global/skin/icons/tabbrowser-tabs-bkgnd.png") !important; + -moz-padding-start: 0px; + */ } -.tabs-left, -.tabs-right { - width: 0px; +.tabbrowser-tabs[overflow="true"] { + -moz-padding-start: 0px; +} + +/** + * Tab + */ + +.tabbrowser-tab { + /* XXX: Firefox rules - look into those when we support FF + -moz-binding: url("chrome://global/skin/globalBindings.xml#tabbrowser-tab") !important; + background: transparent !important; + margin: 0px 0px 1px !important; + padding: 0px !important; + border: none !important; + height: 22px !important; + */ } -.tab-icon { +.tabbrowser-tab[busy] > .tab-image-middle > .tab-icon > .tab-icon-image { + list-style-image: url("chrome://global/skin/icons/loading.gif") !important; +} + +.tabbrowser-tab[selected="true"] { + font-weight: bold; +} + +.tab-icon-image { margin-top: 1px; - margin-right: 3px; + -moz-margin-end: 3px; width: 16px; height: 16px; + /* XXX: Firefox rules - look into those when we support FF + list-style-image: url("chrome://global/skin/icons/folder-item.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); + */ } -tab { - list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item16.gif"); +.tabs-bottom { } -tab[busy] { - list-style-image: url("chrome://global/skin/icons/loading.gif"); +tabpanels { } -tabbrowser > tabbox > tabpanels { - border: none; - padding: 0px; - margin: 0px; +.tabs-left, +.tabs-right { + width: 3px; + border-bottom-width: 0px; } -/* ::::: close & new tab buttons ::::: */ +/* tabbrowser-tab focus ring */ +.tabbrowser-tab > .tab-image-middle > .tab-text { + border: 1px dotted transparent; +} -.tabs-closebutton { - margin-bottom: 2px; - margin-right: 2px; - list-style-image: url("chrome://global/skin/icons/close-button.gif"); +.tabbrowser-tab:focus > .tab-image-middle > .tab-text { + border: 1px dotted #008484; +} + +/** + * Tab Drag and Drop + */ + +.tab-drop-indicator-bar { + visibility: hidden; + height: 9px; + margin-top: -9px; + position: relative; +} + +.tab-drop-indicator { + height: 11px; + width: 11px; + margin-bottom: -5px; + position: relative; + background: url('chrome://global/skin/icons/tab-drag-indicator.gif') 50% 50% no-repeat; } -.tabs-closebutton:hover { - list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); +.tab-drop-indicator-bar[dragging="true"] { + visibility: visible; } -.tabs-closebutton > .toolbarbutton-icon { - margin: 0; +/** + * In-tab close button + */ +.tab-close-button > .toolbarbutton-icon { + -moz-margin-end: 0px !important; + margin-top: 1px; } -.tabs-newbutton { - margin: 0px; - margin-top: 2px; - margin-right: 1px; +.tab-close-button { + border: none !important; padding: 0px; - list-style-image: url("chrome://global/skin/icons/tab-new.gif"); + cursor: default; + list-style-image: url("chrome://global/skin/icons/close-button.gif"); } -.tab-drop-indicator-bar { - height: 11px; - margin-top: -11px; - margin-left: -8px; - position: relative; + +.tab-close-button:focus { + outline: none !important; } -.tab-drop-indicator { - height: 11px; - width: 11px; - margin-bottom: -8px; - position: relative; - list-style-image: url('chrome://global/skin/icons/tab-drag-indicator.gif'); +/** + * Tab Scrollbox Arrow Buttons + */ + +/* XXX: Firefox rules - look into those when we support FF */ + +/** + * All Tabs Button + */ + +/* XXX: Firefox rules - look into those when we support FF +.tabs-alltabs-box { } -tooltip[tabpreview="true"] { - max-width: none; +.tabs-alltabs-button { +} + +.tabs-alltabs-box-animate { +} +*/ + +/** + * All Tabs Menupopup + */ + +.alltabs-item > .menu-iconic-left > .menu-iconic-icon { + /* XXX: Firefox rules - look into those when we support FF + list-style-image: url("chrome://global/skin/icons/folder-item.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); + */ +} + +.alltabs-item[selected="true"] { + font-weight: bold; +} + +.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon { + list-style-image: url("chrome://global/skin/icons/loading.gif"); } diff --git a/LCARStrek/global/button.css b/LCARStrek/global/button.css index c41cc2a3..0bb53b25 100644 --- a/LCARStrek/global/button.css +++ b/LCARStrek/global/button.css @@ -35,15 +35,14 @@ * * ***** END LICENSE BLOCK ***** */ -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - /* ===== button.css ===================================================== == Styles used by the XUL button element. ======================================================================= */ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + /* :::::::::: button :::::::::: */ -/* outer frame */ button { -moz-border-radius: 3px; margin: 1px 2px; @@ -59,6 +58,10 @@ button { padding: 1px 4px 2px 3px; } +.button-icon { + margin-right: 2px; +} + .button-text { -moz-border-radius: 3px; margin: 0px !important; @@ -80,7 +83,11 @@ button[default="true"] > .button-box { font-weight: bold; list-style-image: url("chrome://global/skin/icons/return.gif"); -moz-box-direction: reverse; - padding-right: 7px; +} + +button[default="true"] > .button-box > .button-icon { + margin-right: 0px; + margin-left: 2px; } button[default="true"]:hover > .button-box, @@ -157,3 +164,16 @@ button.plain { margin: 0px !important; padding: 0px !important; } + +button[type="disclosure"] { + border: 0px !important; + margin: 0px !important; + padding: 0px !important; + list-style-image: url("chrome://global/skin/tree/twisty-closed.gif"); + min-width: 0px !important; + background-color: transparent; +} + +button[type="disclosure"][open="true"] { + list-style-image: url("chrome://global/skin/tree/twisty-open.gif"); +} diff --git a/LCARStrek/global/checkbox.css b/LCARStrek/global/checkbox.css index d83141be..065d4dbe 100644 --- a/LCARStrek/global/checkbox.css +++ b/LCARStrek/global/checkbox.css @@ -35,9 +35,13 @@ * * ***** END LICENSE BLOCK ***** */ +/* ===== checkbox.css =================================================== + == Styles used by the XUL checkbox element. + ======================================================================= */ + @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -/* stylesheet for XUL element */ +/* ::::: checkbox ::::: */ checkbox { margin: 1px 2px; @@ -78,6 +82,7 @@ checkbox:focus > .checkbox-label-center-box > .checkbox-label-box { checkbox[disabled="true"] > .checkbox-spacer-box > .checkbox-check { border: 1px solid #8050B0 !important; + background-color: #000000; } checkbox[disabled="true"] { @@ -97,6 +102,7 @@ checkbox[disabled="true"] { checkbox:hover > .checkbox-spacer-box > .checkbox-check, checkbox:hover:active > .checkbox-spacer-box > .checkbox-check { border: 1px solid #FFCF00; + background-color: #000000; } checkbox:hover > .checkbox-label-center-box > .checkbox-label-box, diff --git a/LCARStrek/global/colorpicker.css b/LCARStrek/global/colorpicker.css index bc42c75a..4bc1bdae 100644 --- a/LCARStrek/global/colorpicker.css +++ b/LCARStrek/global/colorpicker.css @@ -35,12 +35,12 @@ * * ***** END LICENSE BLOCK ***** */ -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - /* ===== colorpicker.css ================================================ == Styles used by the XUL colorpicker element. ======================================================================= */ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + /* ::::: colorpicker button ::::: */ colorpicker[type="button"] { diff --git a/LCARStrek/global/config.css b/LCARStrek/global/config.css index 189559a6..8b53fb0b 100644 --- a/LCARStrek/global/config.css +++ b/LCARStrek/global/config.css @@ -54,6 +54,7 @@ #warningBox { background: #000000; + color: #FF9F00; border: 1px solid #9C9FFF; -moz-border-radius: 10px; padding: 3em; @@ -98,12 +99,23 @@ /* ::::: tree rows ::::: */ -treechildren::-moz-tree-cell-text(user) +#configTreeBody::-moz-tree-cell-text(user) { font-weight: bold; } -treechildren::-moz-tree-cell-text(locked) +#configTreeBody::-moz-tree-cell-text(locked) { font-style: italic; } + +#configTree +{ + margin-top: 5px; + margin-bottom: 5px; +} + +#filterRow +{ + margin-top: 5px; +} diff --git a/LCARStrek/global/console.css b/LCARStrek/global/console/console.css similarity index 61% rename from LCARStrek/global/console.css rename to LCARStrek/global/console/console.css index 47d08218..77bc7842 100644 --- a/LCARStrek/global/console.css +++ b/LCARStrek/global/console/console.css @@ -35,22 +35,22 @@ * * ***** END LICENSE BLOCK ***** */ -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - /* ===== console.css ==================================================== == Styles used by the Error Console window. ======================================================================= */ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + .console-box { background-color: #000000; color: #FF9F00; } - + /* ::::: console rows ::::: */ .console-row { padding: 0px; - border-bottom: 2px solid #FF9F00; + border-bottom: 1px solid #FF9F00; } .console-row-icon { @@ -60,14 +60,26 @@ -moz-box-align: start; } +.console-row-msg > label, +.console-row-file > label:first-child { + display: none; +} + .console-icon { - list-style-image: inherit !important; + list-style-image: inherit; +} + +.console-error-msg { + margin-bottom: 2px; } /* ..... error rows ..... */ .console-row-code { - padding: 3px 0px 3px 3px; + padding-top: 3px; + padding-bottom: 3px; + -moz-padding-start: 3px; + -moz-padding-end: 0px; font-size: larger; color: #E7ADE7; } @@ -111,6 +123,11 @@ list-style-image: url("chrome://global/skin/icons/alert-error.gif"); } +.console-row[type="error"] .console-row-msg, +.console-row[type="exception"] .console-row-msg { + font-weight: bold; +} + .console-row[type="warning"] { list-style-image: url("chrome://global/skin/icons/alert-exclam.gif"); } @@ -132,3 +149,90 @@ toolbarseparator { min-height: 1em; } + +/* Toolbar icons */ + +#ToolbarMode toolbarbutton { + min-width: 57px; + padding: 0px 4px; + /* XXX: don't support icons on those yet + padding: 4px !important; + */ +} + +toolbar#ToolbarMode toolbarbutton:active, +toolbar#ToolbarMode toolbarbutton[checked="true"] { + -moz-padding-start: 5px !important; + -moz-padding-end: 3px !important; +} + +/* XXX: don't support icons on those yet + + +toolbar#ToolbarMode toolbarbutton { + list-style-image: url("chrome://global/skin/console/console-toolbar.png"); + -moz-box-orient: horizontal; + padding: 4px !important; +} + +#Console\:modeAll { + -moz-image-region: rect(0px 24px 24px 0px); +} + +#Console\:modeAll:hover, +#Console\:modeAll[checked="true"] { + -moz-image-region: rect(24px 24px 48px 0px); +} + +#Console\:modeErrors { + -moz-image-region: rect(0px 96px 24px 72px); +} + +#Console\:modeErrors:hover, +#Console\:modeErrors[checked="true"] { + -moz-image-region: rect(24px 96px 48px 72px); +} + +#Console\:modeWarnings { + -moz-image-region: rect(0px 72px 24px 48px); +} + +#Console\:modeWarnings:hover, +#Console\:modeWarnings[checked="true"] { + -moz-image-region: rect(24px 72px 48px 48px); +} + +#Console\:modeMessages { + -moz-image-region: rect(0px 48px 24px 24px); +} + +#Console\:modeMessages:hover, +#Console\:modeMessages[checked="true"] { + -moz-image-region: rect(24px 48px 48px 24px); +} + +#Console\:clear { + -moz-image-region: rect(0px 120px 24px 96px); +} + +#Console\:clear:hover, +#Console\:clear[checked="true"] { + -moz-image-region: rect(24px 120px 48px 96px); +} + +toolbar#ToolbarMode .toolbarbutton-icon { + padding: 2px 0 !important; +} + +toolbar#ToolbarMode .toolbarbutton-text { + -moz-padding-end: 4px; +} + +*/ + +/* ::::: Fix Error Console toolbar button text spacing ::::: */ + +.toolbarbutton-text { + -moz-padding-start: 0px; + -moz-padding-end: 5px; +} diff --git a/LCARStrek/global/customizeToolbar.css b/LCARStrek/global/customizeToolbar.css new file mode 100644 index 00000000..0879fbb7 --- /dev/null +++ b/LCARStrek/global/customizeToolbar.css @@ -0,0 +1,48 @@ +/* ***** 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 Communicator client code, released + March 31, 1998. + + The Initial Developer of the Original Code is + Blake Ross. + Portions created by the Initial Developer are Copyright (C) 2002 + the Initial Developer. All Rights Reserved. + + Contributor(s): + Blake Ross (blaker@netscape.com) + Joe Hewitt (hewitt@netscape.com) + + 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 ***** */ + +window, +dialog { + padding: 6px; +} + +#instructions { + font-weight: bold; + font-size: larger; +} diff --git a/LCARStrek/global/datetimepicker.css b/LCARStrek/global/datetimepicker.css new file mode 100644 index 00000000..6ad331b8 --- /dev/null +++ b/LCARStrek/global/datetimepicker.css @@ -0,0 +1,155 @@ +/* ***** 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 the Mozilla Corporation + * Portions created by the Initial Developer are Copyright (C) 2006 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Neil Deakin (enndeakin@sympatico.ca) + * + * 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 ***** */ + +/* ===== datetimepicker.css ============================================= + == Styles used by the XUL datepicker and timepicker elements. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +datepicker, timepicker { + margin: 2px 4px; + padding: 0; + border: none; + background: none; + cursor: default; +} + +.datetimepicker-input-box { + cursor: text; + -moz-margin-end: 2px; + -moz-border-radius: 3px; + border: 1px solid #9C9CFF; + padding: 2px 0 3px 0; + -moz-padding-start: 4px; + -moz-padding-end: 2px; + background-color: #000000; + color: #E7ADE7; +} + +.datetimepicker-input-subbox { + width: 1.6em; +} + +html|*.datetimepicker-input { + text-align: right; +} + +.datetimepicker-separator { + margin: 0 !important; +} + +.datetimepicker-year { + width: 3.2em; +} + +datepicker[readonly="true"], +timepicker[readonly="true"] { + background-color: #000000; + color: #9C9CFF; +} + +datepicker[disabled="true"], +timepicker[disabled="true"] { + cursor: default; + background-color: #000000; + color: #8050B0; +} + +.datepicker-mainbox { + margin: 2px 4px; + -moz-border-radius: 3px; + border: 1px solid #9C9CFF; + background-color: #000000; + color: #FF9F00; +} + +.datepicker-popupgrid > .datepicker-mainbox { + margin: 0; + border: none; +} + +.datepicker-gridlabel, .datepicker-weeklabel { + text-align: center; +} + +.datepicker-gridlabel[today="true"] { + background-color: #000000; + color: #008484; +} + +.datepicker-gridlabel[selected="true"] { + background-color: #008484; + color: #000000; +} + +.datepicker-button { + min-width: 8px; + padding: 0px; +} + +.datepicker-previous { + list-style-image: url("chrome://global/skin/arrow/arrow-left.gif"); +} + +.datepicker-next { + list-style-image: url("chrome://global/skin/arrow/arrow-right.gif"); +} + +.datepicker-previous[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-left-disabled.gif"); +} + +.datepicker-next[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-right-disabled.gif"); +} + +.datepicker-previous[chromedir="rtl"] { + list-style-image: url("chrome://global/skin/arrow/arrow-right.gif"); +} + +.datepicker-next[chromedir="rtl"] { + list-style-image: url("chrome://global/skin/arrow/arrow-left.gif"); +} + +.datepicker-previous[disabled="true"][chromedir="rtl"] { + list-style-image: url("chrome://global/skin/arrow/arrow-right-disabled.gif"); +} + +.datepicker-next[disabled="true"][chromedir="rtl"] { + list-style-image: url("chrome://global/skin/arrow/arrow-left-disabled.gif"); +} diff --git a/LCARStrek/global/dialog.css b/LCARStrek/global/dialog.css index 2d0c5d1b..98612ebc 100644 --- a/LCARStrek/global/dialog.css +++ b/LCARStrek/global/dialog.css @@ -46,7 +46,10 @@ /* ::::: dialog ::::: */ dialog { - padding: 8px 10px 10px 8px; + padding-top: 8px; + padding-bottom: 10px; + -moz-padding-start: 8px; + -moz-padding-end: 10px; } /* ::::: dialog buttons ::::: */ @@ -91,5 +94,5 @@ dialogheader { } .header-large > .dialogheader-description { - margin-left: 12px !important; + -moz-margin-start: 12px !important; } diff --git a/LCARStrek/global/dirListing/dirListing.css b/LCARStrek/global/dirListing/dirListing.css new file mode 100644 index 00000000..40bcb28d --- /dev/null +++ b/LCARStrek/global/dirListing/dirListing.css @@ -0,0 +1,126 @@ +/* ***** 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 + * Dão Gottwald . + * Portions created by the Initial Developer are Copyright (C) 2007 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * 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 ***** */ + +:root { + background-color: #000000; + color: #FF9F00; + font: 12px helvetica,arial,tahoma,sans-serif; + padding-left: 2em; + padding-right: 2em; +} + +body { + border: 1px solid #9C9CFF; + -moz-border-radius: 10px; + padding: 3em; + min-width: 30em; + max-width: 65em; + margin: 4em auto; + background-color: #000000; + color: #FF9F00; +} + +h1 { + margin: 0 0 .6em 0; + border-bottom: 1px solid #008484; + font-size: 160%; + font-weight: normal; +} + +a { + text-decoration: none; +} + +a:hover { + background-color: #FFCF00; + color: #000000; +} + +p { + font-size: 110%; +} + +#UI_goUp { + margin-top: 0; + float: left; +} + +#UI_showHidden { + margin-top: 0; + float: right; +} + +table { + clear: both; + width: 90%; + margin: 0 auto; +} + +thead { + font-size: 130%; +} + +/* last modified */ +th:first-child { + text-align: center; +} + +th:hover > a { + background-color: #FFCF00; + color: #000000; +} + +tbody > tr:hover { + outline: 1px solid #008484; + -moz-outline-radius: .3em; +} + +/* let 'Size' and 'Last Modified' take only as much space as they need and 'Name' all the rest */ +td:not(:first-child) { + width: 0; +} + +.up { + padding: 0 .5em; + -moz-margin-start: 20px; +} + +.up::before { + -moz-margin-end: 4px; + -moz-margin-start: -20px; + vertical-align: middle; + content: url("chrome://global/skin/dirListing/up.png"); +} diff --git a/LCARStrek/global/dirListing/local.png b/LCARStrek/global/dirListing/local.png new file mode 100644 index 00000000..ac216190 Binary files /dev/null and b/LCARStrek/global/dirListing/local.png differ diff --git a/LCARStrek/global/dirListing/remote.png b/LCARStrek/global/dirListing/remote.png new file mode 100644 index 00000000..8adefb91 Binary files /dev/null and b/LCARStrek/global/dirListing/remote.png differ diff --git a/LCARStrek/global/dirListing/up.png b/LCARStrek/global/dirListing/up.png new file mode 100644 index 00000000..7db15b08 Binary files /dev/null and b/LCARStrek/global/dirListing/up.png differ diff --git a/LCARStrek/global/dropmarker.css b/LCARStrek/global/dropmarker.css index ee51aa64..02c05246 100644 --- a/LCARStrek/global/dropmarker.css +++ b/LCARStrek/global/dropmarker.css @@ -6,12 +6,14 @@ dropmarker { background-color: #000000; padding: 1px; list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); + -moz-image-region: auto; } dropmarker:hover { background-color: #FFCF00; border: 1px solid #FFCF00; list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); + -moz-image-region: auto; } dropmarker:hover:active, @@ -19,6 +21,7 @@ dropmarker[open="true"] { background-color: #FF9F00; padding: 2px 0 0 2px; list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); + -moz-image-region: auto; } dropmarker[disabled="true"] { @@ -26,4 +29,5 @@ dropmarker[disabled="true"] { border: 1px solid #8050B0 !important; background-color: #000000 !important; padding: 1px !important; + -moz-image-region: auto; } diff --git a/LCARStrek/global/expander.css b/LCARStrek/global/expander.css new file mode 100644 index 00000000..d643d8c9 --- /dev/null +++ b/LCARStrek/global/expander.css @@ -0,0 +1,47 @@ +/* ***** 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 Communicator client code, released + * March 31, 1998. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998-1999 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * 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 ***** */ + +.expanderButton { + cursor: pointer !important; +} + +.settingsContainer { + padding-top: 3px; + padding-bottom: 5px; + -moz-padding-start: 20px; + -moz-padding-end: 5px; +} diff --git a/LCARStrek/global/findBar.css b/LCARStrek/global/findBar.css new file mode 100644 index 00000000..fa617dee --- /dev/null +++ b/LCARStrek/global/findBar.css @@ -0,0 +1,87 @@ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +.findbar-closebutton { + list-style-image: url("chrome://global/skin/icons/close-button.gif"); +} + +findbar { + border-top: 1px solid #666699; + border-bottom: 1px solid transparent; + min-width: 1px; +} + +/* find-next button */ + +.findbar-find-next { + /* XXX: look into this when we support FF + list-style-image: url("chrome://global/skin/icons/find.png"); + -moz-image-region: rect(0px 16px 16px 0px); + */ +} + +/* find-previous button */ + +.findbar-find-previous { + /* XXX: look into this when we support FF + list-style-image: url("chrome://global/skin/icons/find.png"); + -moz-image-region: rect(0px 32px 16px 16px); + */ +} + +/* highlight button */ + +.findbar-highlight { + /* XXX: look into this when we support FF + list-style-image: url("chrome://global/skin/icons/find.png"); + -moz-image-region: rect(0px 48px 16px 32px); + */ +} + +.find-status-icon { + list-style-image: none; + margin-top: 0px; + margin-bottom: 0px; + -moz-margin-start: 12px; + -moz-margin-end: 0px; + width: 16px; + height: 16px; +} + +.findbar-find-status { + margin-top: 0px; + margin-bottom: 0px; + -moz-margin-start: 3px; + -moz-margin-end: 0px; + padding: 2px; +} + +.find-status-icon[status="notfound"] { + /* XXX: look into this when we support FF + list-style-image: url("chrome://global/skin/icons/notfound.png"); + */ +} + +.findbar-textbox { + -moz-binding: url("chrome://global/content/bindings/findbar.xml#findbar-textbox"); + border: none; + margin: 0px; +} + +.findbar-textbox[status="notfound"] { + background-color: #FF0000; + color: #000000; +} + +findbar[flash="true"] > .findbar-container > .find-field-container > .findbar-textbox { + background-color: #FFCF00; +} + +.find-status-icon[status="wrapped"] { + /* XXX: look into this when we support FF + list-style-image: url("chrome://global/skin/icons/wrap.png"); + */ +} + +.find-field-container { + /* -moz-appearance: textfield; */ +} diff --git a/LCARStrek/global/formatting.css b/LCARStrek/global/formatting.css index 56a33fd3..f23264e9 100644 --- a/LCARStrek/global/formatting.css +++ b/LCARStrek/global/formatting.css @@ -53,7 +53,7 @@ /* formatting */ .groove-top { - border-top: 2px groove #FF9F00; + border-top: 2px groove #FF9F00; } .groove-right { @@ -70,7 +70,12 @@ .outset { /* border: 1px outset #FF9F00; */ -} +} + +.outset-top-bottom { +/* border-top: 1px outset #FF9F00; + border-bottom: 1px outset #FF9F00; */ +} /** separator rules **/ /* standard separators */ @@ -122,6 +127,12 @@ separator[orient="vertical"].groove-thin { margin: 0px 1px; } +.plain { + margin: 0px !important; + border: none; + padding: 0px; +} + label[disabled="true"] { color: #8050B0; } @@ -136,7 +147,12 @@ description { } label { -/* margin: 1px 5px 2px 6px; */ +/* + margin-top: 1px; + margin-bottom: 2px; + -moz-margin-start: 6px; + -moz-margin-end: 5px; +*/ } .header { @@ -180,15 +196,13 @@ label { .text-link { color: blue; text-decoration: underline; + cursor: pointer; } .text-link:focus { color: red; - outline: 1px dotted invert; -} - -.text-link:hover { - cursor: pointer; + /* Don't specify the outline-color, we should always use initial value. */ + outline: 1px dotted; } .text-link:hover:active { diff --git a/LCARStrek/global/global.css b/LCARStrek/global/global.css index 5d70b135..be8e862d 100644 --- a/LCARStrek/global/global.css +++ b/LCARStrek/global/global.css @@ -90,7 +90,8 @@ progressmeter[mode="undetermined"] { window, page, dialog, -wizard { +wizard, +prefwindow { background-color: #000000; color: #FF9F00; /* font: 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */ @@ -113,7 +114,8 @@ window.dialog { .message-icon, .alert-icon, .error-icon, -.question-icon { +.question-icon, +.authentication-icon { width: 32px; height: 32px; } @@ -130,7 +132,8 @@ window.dialog { list-style-image: url("chrome://global/skin/icons/alert-error.gif"); } -.question-icon { +.question-icon, +.authentication-icon { list-style-image: url("chrome://global/skin/icons/alert-question.gif"); } @@ -148,7 +151,7 @@ iframe { statusbar { margin-top: 3px; - min-width: 1px; + min-height: 16px; } .statusbar-center { @@ -184,8 +187,8 @@ statusbarpanel { padding: 0px; } -.statusbarpanel-iconic { - padding: 0px; +.statusbarpanel-iconic, .statusbarpanel-iconic-text, .statusbarpanel-menu-iconic { + padding: 0px 1px 0px 1px; } resizer[dir="bottomright"] { @@ -198,6 +201,47 @@ resizer[dir="bottomright"] { -moz-user-focus: ignore !important; } -description.error { - color: #FF0000; +/* :::::: autoscroll popup ::::: */ + +#autoscroller { + height: 28px; + width: 28px; + border: 0px; + margin: -14px; + padding: 0px; + background-image: url("chrome://global/skin/icons/autoscroll.png"); + background-color: transparent; + -moz-appearance: none; +} + +#autoscroller[scrolldir="NS"] { + background-position: left center; +} + +#autoscroller[scrolldir="EW"] { + background-position: left bottom; +} + +#autoscroller[transparent="true"] { + background-position: center top; +} + +#autoscroller[transparent="true"][scrolldir="NS"] { + background-position: center center; +} + +#autoscroller[transparent="true"][scrolldir="EW"] { + background-position: center bottom; +} + +#autoscroller[translucent="true"] { + background-position: right top; +} + +#autoscroller[translucent="true"][scrolldir="NS"] { + background-position: right center; +} + +#autoscroller[translucent="true"][scrolldir="EW"] { + background-position: right bottom; } diff --git a/LCARStrek/communicator/icons/autoscroll.png b/LCARStrek/global/icons/autoscroll.png similarity index 100% rename from LCARStrek/communicator/icons/autoscroll.png rename to LCARStrek/global/icons/autoscroll.png diff --git a/LCARStrek/help/help.css b/LCARStrek/help/help.css new file mode 100644 index 00000000..2577b97a --- /dev/null +++ b/LCARStrek/help/help.css @@ -0,0 +1,139 @@ +/* ***** 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 Help CSS + * + * The Initial Developer of the Original Code is + * R.J. Keller + * Portions created by the Initial Developer are Copyright (C) 2003 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Robert Kaiser + * + * 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 ***** */ + +@import url("chrome://global/skin/"); +@import url("chrome://communicator/skin/"); +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +#HelpToolbar > toolbarbutton { + list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); +} + +/* Hide labels for the toolbar because we really don't need them what with the + tooltips */ +#HelpToolbar .toolbarbutton-text { + display: none; +} + +/* With no labels, we don't need the margin on the icon that separates it + from the label */ +#HelpToolbar .toolbarbutton-icon { + -moz-margin-end: 0; +} + +#help-back-button > toolbarbutton, +#help-forward-button > toolbarbutton { + list-style-image: inherit; + -moz-image-region: inherit; +} + +/* Set the minimum sidebar width so the help contents aren't squeezed together.*/ +#help-sidebar { min-width: 15em; width: 20em; max-width: 25em; } + +#search-sidebar-closebutton { + list-style-image: url("chrome://global/skin/icons/close-button.gif"); +} + +/* ----- BACK BUTTON ----- */ + +#help-back-button { + -moz-image-region: rect(42px 25px 63px 0px); +} + +#help-back-button[disabled="true"] { + -moz-image-region: rect(42px 50px 63px 25px); +} + +#help-back-button:not([disabled="true"]):hover, +#help-back-button:not([disabled="true"]):hover:active { + -moz-image-region: rect(42px 75px 63px 50px); +} + +#help-back-button .toolbarbutton-menubutton-button { + -moz-box-align: end !important; +} + +/* ----- FORWARD BUTTON ----- */ + +#help-forward-button { + -moz-image-region: rect(63px 25px 84px 0px); +} + +#help-forward-button[disabled="true"] { + -moz-image-region: rect(63px 50px 84px 25px); +} + +#help-forward-button:not([disabled="true"]):hover, +#help-forward-button:not([disabled="true"]):hover:active { + -moz-image-region: rect(63px 75px 84px 50px); +} + +/* ----- HOME BUTTON ----- */ + +#help-home-button { + -moz-image-region: rect(84px 25px 105px 0px); +} + +#help-home-button[disabled="true"] { + -moz-image-region: rect(84px 50px 105px 25px); +} + +#help-home-button:not([disabled="true"]):hover, +#help-home-button:not([disabled="true"]):hover:active { + -moz-image-region: rect(84px 75px 105px 50px); +} + +/* ----- PRINT BUTTON ----- */ + +#help-print-button { + -moz-image-region: rect(0px 25px 21px 0px); +} + +#help-print-button[disabled="true"] { + -moz-image-region: rect(0px 50px 21px 25px); +} + +#help-print-button:not([disabled="true"]):hover, +#help-print-button:not([disabled="true"]):hover:active { + -moz-image-region: rect(0px 75px 21px 50px); +} + +/* ----- OTHER ----- */ + +#context-copy[disabled="true"] { + display: none; +} diff --git a/LCARStrek/help/helpFileLayout.css b/LCARStrek/help/helpFileLayout.css new file mode 100644 index 00000000..f6bd1ef5 --- /dev/null +++ b/LCARStrek/help/helpFileLayout.css @@ -0,0 +1,150 @@ +/* ***** 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 Help CSS + * + * The Initial Developer of the Original Code is + * R.J. Keller + * Portions created by the Initial Developer are Copyright (C) 2003 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Jeff Walden + * Steffen Wilberg + * + * 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 ***** */ + +@import url('chrome://help/content/platformClasses.css'); + +body, td, th, input { + font-family: verdana, sans-serif; + font-size: small; +} + +body { + margin: 2ex; + max-width: 120ex; +} + +:link:hover, +:visited:hover { + color: -moz-activehyperlinktext; +} + +hr { + height: 1px; + background-color: #000; + color: #000; + margin: 2em 0; +} + +a[href^="http://"]:after, +a[href^="https://"]:after { + content: url('chrome://help/skin/Weblink.png'); +} + +:link { color: #039; } +:visited { color: #636; } +:link:hover, :visited:hover { color: #333; } +:link:active, :link:active { color: #000; } + +h1 { font-size: 160%; font-weight: normal; } +h2 { font-size: 150%; font-weight: normal; } +h3 { font-size: 120%; } +h4 { font-size: 100%; } +h5 { font-size: 90%; } +h6 { font-size: 90%; border: 0; } + +h1, h2, h3, h4, h5, h6 { + margin: 1em 0 0.2em 0; + border-bottom: 1px solid #ccc; + font-family: arial, verdana, sans-serif; +} + +li h1, li h2, li h3, li h4, li h5, li h6 { + border: none; +} + + +dt { font-weight: bold; } + +sup { + font-size: 70%; +} + +:link img, +:visited img { + border: 0; +} + +.contentsBox, +.contentsBox > ul, +li { + text-indent: 0px; +} + +.contentsBox > ul, +.contentsBox ul > ul{ + margin: 0 0 0 0; + list-style-type: none; +} + +.contentsBox { + margin-top: 12px; + background-color: #eee; + border: 1px solid #ccc; + width: 300px; + padding: 1em; +} + +.menuPath { + background: #c4d0f4; /* bluish color */ + color: inherit; + padding-left: 1px; /* else bgcolor ends at last char - no space */ + padding-right: 1px; +} + +table { + border-collapse: collapse; +} + +td, th { + border: 1px solid #ddd; /* grey */ + padding: 6px; + vertical-align: top; +} + +th { + background-color: #eee; /* light grey */ + font-weight: bold; + text-align: left; +} + +.noTableBorder, +.noTableBorder td, +.noTableBorder th { + background-color: transparent; + border: 0px solid transparent; +}