From: robert Date: Fri, 27 Apr 2001 23:37:29 +0000 (+0000) Subject: big changes to get this baby running again. It's not perfect, but it's up\! yay\! X-Git-Tag: LCARStrek04~7 X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=c9990331a4456dc80a097ba6a23e9d2578637327;p=themes.git big changes to get this baby running again. It's not perfect, but it's up\! yay\! --- diff --git a/LCARStrek/communicator/skin/bookmarks/bookmark-item-updated.gif b/LCARStrek/communicator/skin/bookmarks/bookmark-item-updated.gif new file mode 100755 index 00000000..c30e9070 Binary files /dev/null and b/LCARStrek/communicator/skin/bookmarks/bookmark-item-updated.gif differ diff --git a/LCARStrek/communicator/skin/bookmarks/bookmarks-tree.css b/LCARStrek/communicator/skin/bookmarks/bookmarks-tree.css new file mode 100755 index 00000000..591abaa4 --- /dev/null +++ b/LCARStrek/communicator/skin/bookmarks/bookmarks-tree.css @@ -0,0 +1,195 @@ +/* -*- Mode: C; c-basic-offset: 2 -*- + * + * 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 Netscape are + * Copyright (C) 1998 Netscape Communications Corporation. All + * Rights Reserved. + * + * Contributor(s): + */ + +treeitem[container="true"][open="true"][loading="true"] > treerow > .treecell-bookmark +{ + list-style-image: url("chrome://communicator/skin/bookmarks/loading.gif") ! important ; +} + +treeitem[status="new"] > treerow > .treecell-bookmark +{ + list-style-image: url("chrome://communicator/skin/bookmarks/loading.gif") ! important ; +} + +treeitem[type="http://home.netscape.com/NC-rdf#Folder"] > treerow > .treecell-bookmark, +treeitem[type="http://home.netscape.com/NC-rdf#IEFavoriteFolder"] > treerow > .treecell-bookmark, +treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"] > treerow > .treecell-bookmark, +treeitem[container="true"] > treerow > .treecell-bookmark +{ + list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); +} + +treeitem[type="http://home.netscape.com/NC-rdf#Folder"][open="true"] > treerow > .treecell-bookmark, +treeitem[type="http://home.netscape.com/NC-rdf#IEFavoriteFolder"][open="true"] > treerow > .treecell-bookmark, +treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][open="true"] > treerow > .treecell-bookmark, +treeitem[container="true"][open="true"] > treerow > .treecell-bookmark +{ + list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); +} + +treeitem[type="http://home.netscape.com/NC-rdf#BookmarkSeparator"] > treerow > .treecell-bookmark +{ + list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); +} + +treeitem[type="http://home.netscape.com/NC-rdf#Bookmark"] > treerow > .treecell-bookmark +{ + list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); +} + +treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"][open="true"] > treerow > .treecell-bookmark +{ + list-style-image: url("chrome://communicator/skin/directory/folder-open.gif"); +} + +treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"] > treerow > .treecell-bookmark +{ + list-style-image: url("chrome://communicator/skin/directory/folder-closed.gif"); +} + +treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"] > treerow > .treecell-bookmark +{ + list-style-image: url("chrome://communicator/skin/bookmarks/article.gif"); +} + +treeitem > treerow > .treecell-bookmark { + list-style-image:url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); +} + +#navprintplus +{ + display:none !important; +} + + +/* Style rules below currently do only apply to bookmark window "file" menubutton */ + +/** + * Style rules for bookmarks tree items. Ideally this would be usage agnostic, but + * there's window/panel specific cruft in here too. + **/ + .treecell-bookmark + { + list-style-image : inherit; + } + + .treeitem-bookmark + { + list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); + } + + .treeitem-bookmark[menuactive="true"] + { + list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item-sel.gif"); + } + + .treeitem-bookmark[container="true"][open="true"][loading="true"] + { + list-style-image : url("chrome://global/skin/loading.gif") ! important ; + } + + .treeitem-bookmark[status="new"] + { + list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item-updated.gif") ! important ; + } + + .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#Folder"], + .treeitem-bookmark[container="true"] + { + list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); + } + + .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#Folder"][menuactive="true"], + .treeitem-bookmark[container="true"][menuactive="true"] + { + list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-closed-sel.gif"); + } + + .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#Folder"][open="true"], + .treeitem-bookmark[container="true"][open="true"] + { + list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); + } + + .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#Folder"][open="true"][menuactive="true"], + .treeitem-bookmark[container="true"][open="true"][menuactive="true"] + { + list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-open-sel.gif"); + } + + .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"] + { + list-style-image : url("chrome://communicator/skin/bookmarks/personal-folder-closed.gif") !important; + } + + .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][menuactive="true"] + { + list-style-image : url("chrome://communicator/skin/bookmarks/personal-folder-closed-sel.gif") !important; + } + + .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][open="true"] + { + list-style-image : url("chrome://communicator/skin/bookmarks/personal-folder-open.gif") !important; + } + + .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][open="true"][menuactive="true"] + { + list-style-image : url("chrome://communicator/skin/bookmarks/personal-folder-open-sel.gif") !important; + } + + .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#BookmarkSeparator"], + .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#Bookmark"] + { + list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); + } + +/** + * XXX - need to create some different icons for file system objects + **/ + .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"][open="true"] + { + list-style-image : url("chrome://communicator/skin/directory/file-folder-open.gif"); + } + + .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"] + { + list-style-image : url("chrome://communicator/skin/directory/file-folder-closed.gif"); + } + + .treeitem-bookmark[type="http://home.netscape.com/NC-rdf#FileSystemObject"] + { + list-style-image : url("chrome://communicator/skin/directory/file-icon.gif"); + } + +/** + * Bookmarks tree + **/ + .bookmarks-panel-tree, .bookmarks-panel-tree > .tree-container-treerows + { + border : none; + } + + #bookmarksTree + { + border-top : none; + border-bottom : none; + } diff --git a/LCARStrek/communicator/skin/bookmarks/bookmarks.css b/LCARStrek/communicator/skin/bookmarks/bookmarks.css index 8c512de0..91a7d546 100755 --- a/LCARStrek/communicator/skin/bookmarks/bookmarks.css +++ b/LCARStrek/communicator/skin/bookmarks/bookmarks.css @@ -27,134 +27,104 @@ .iframe-panel tree { border: 1px solid green; padding: 0px; } */ -.bookmarkitem +.bookmark-item { list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); + cursor : pointer; } -.bookmarkitem[menuactive="true"] +.bookmark-item[menuactive="true"] { list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item-sel.gif"); } -.bookmarkfolder +.bookmark-item[container="true"] { list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); } -.bookmarkfolder[menuactive="true"] +.bookmark-item[container="true"] > box > text + { + max-width: 8em; + } + +.bookmark-item[container="true"][menuactive="true"] { list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-closed-sel.gif"); } -.bookmarkfolder[open="true"] +.bookmark-item[container="true"][open="true"] { list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); } -.bookmarkfolder[open="true"][menuactive="true"] +.bookmark-item[container="true"][open="true"][menuactive="true"] { list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-open-sel.gif"); } -treeitem[container="true"][open="true"][loading="true"] > treerow > .treecell-bookmark -{ - list-style-image: url("chrome://communicator/skin/bookmarks/loading.gif") ! important ; -} - -treeitem[status="new"] > treerow > .treecell-bookmark -{ - list-style-image: url("chrome://communicator/skin/bookmarks/loading.gif") ! important ; -} - -treeitem[type="http://home.netscape.com/NC-rdf#Folder"] > treerow > .treecell-bookmark, -treeitem[type="http://home.netscape.com/NC-rdf#IEFavoriteFolder"] > treerow > .treecell-bookmark, -treeitem[container="true"][open="true"] > treerow > .treecell-bookmark -{ - list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); -} - -treeitem[selected="true"][type="http://home.netscape.com/NC-rdf#Folder"] > treerow > .treecell-bookmark, -treeitem[selected="true"][type="http://home.netscape.com/NC-rdf#IEFavoriteFolder"] > treerow > .treecell-bookmark, -treeitem[selected="true"][container="true"][open="true"] > treerow > .treecell-bookmark -{ - list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed-sel.gif"); -} - -treeitem[type="http://home.netscape.com/NC-rdf#Folder"][open="true"] > treerow > .treecell-bookmark -treeitem[type="http://home.netscape.com/NC-rdf#IEFavoriteFolder"][open="true"] > treerow > .treecell-bookmark -{ - list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); -} - -treeitem[selected="true"][type="http://home.netscape.com/NC-rdf#Folder"][open="true"] > treerow > .treecell-bookmark, -treeitem[selected="true"][type="http://home.netscape.com/NC-rdf#IEFavoriteFolder"][open="true"] > treerow > .treecell-bookmark -{ - list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open-sel.gif"); -} - -treeitem[container="true"][open="true"] > treerow > .treecell-bookmark { - list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); -} - -treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"] > treerow > .treecell-bookmark -{ - list-style-image: url("chrome://communicator/skin/bookmarks/personal-folder-closed.gif"); -} - -treeitem[selected="true"][type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"] > treerow > .treecell-bookmark -{ - list-style-image: url("chrome://communicator/skin/bookmarks/personal-folder-closed-sel.gif"); -} - -treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][open="true"] > > treerow > .treecell-bookmark -{ - list-style-image: url("chrome://communicator/skin/bookmarks/personal-folder-open.gif"); -} - -treeitem[selected="true"][type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][open="true"] > > treerow > .treecell-bookmark -{ - list-style-image: url("chrome://communicator/skin/bookmarks/personal-folder-open-sel.gif"); -} - -treeitem[type="http://home.netscape.com/NC-rdf#BookmarkSeparator"] > treerow > .treecell-bookmark -{ - list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); -} - -treeitem[type="http://home.netscape.com/NC-rdf#IEFavorite"] > treerow > .treecell-bookmark -{ - list-style-image: url("chrome://communicator/skin/bookmarks/iefavorite.gif"); -} - -treeitem[type="http://home.netscape.com/NC-rdf#Bookmark"] > treerow > .treecell-bookmark -{ - list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); -} - -treeitem[selected="true"][type="http://home.netscape.com/NC-rdf#Bookmark"] > treerow > .treecell-bookmark -{ - list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item-sel.gif"); -} - -treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"][open="true"] > treerow > .treecell-bookmark -{ - list-style-image: url("chrome://communicator/skin/bookmarks/folder-open.gif"); -} - -treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"] > treerow > .treecell-bookmark -{ - list-style-image: url("chrome://communicator/skin/bookmarks/folder-closed.gif"); -} - -treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"] > treerow > .treecell-bookmark -{ - list-style-image: url("chrome://communicator/skin/bookmarks/article.gif"); -} - -treeitem > treerow > .treecell-bookmark { - list-style-image:url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); -} +.bookmark-item[container="true"][open="true"][loading="true"] + { + list-style-image: url("chrome://communicator/skin/bookmarks/loading.gif") ! important ; + } +.bookmark-item[status="new"] + { + list-style-image: url("chrome://communicator/skin/bookmarks/loading.gif") ! important ; + } + +/* +.bookmark-item[type="http://home.netscape.com/NC-rdf#Folder"], +.bookmark-item[type="http://home.netscape.com/NC-rdf#IEFavoriteFolder"], +.bookmark-item[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"] + { + list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); + } + +.bookmark-item[type="http://home.netscape.com/NC-rdf#Folder"][open="true"], +.bookmark-item[type="http://home.netscape.com/NC-rdf#IEFavoriteFolder"][open="true"], +.bookmark-item[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][open="true"], + { + list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); + } + +.bookmark-item[type="http://home.netscape.com/NC-rdf#BookmarkSeparator"] + { + list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); + } + +.bookmark-item[type="http://home.netscape.com/NC-rdf#Bookmark"] + { + list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); + } +*/ + +.bookmark-item[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"][open="true"] + { + list-style-image: url("chrome://communicator/skin/directory/folder-open.gif"); + } + +.bookmark-item[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"] + { + list-style-image: url("chrome://communicator/skin/directory/folder-closed.gif"); + } + +.bookmark-item[type="http://home.netscape.com/NC-rdf#FileSystemObject"] + { + list-style-image: url("chrome://communicator/skin/bookmarks/article.gif"); + } + +/* +.bookmark-item > treerow > .treecell-bookmark + { + list-style-image:url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); + } + +#navprintplus + { + display:none !important; + } + +*/ diff --git a/LCARStrek/communicator/skin/bookmarks/bookmarksToolbar.css b/LCARStrek/communicator/skin/bookmarks/bookmarksToolbar.css new file mode 100644 index 00000000..0a758c77 --- /dev/null +++ b/LCARStrek/communicator/skin/bookmarks/bookmarksToolbar.css @@ -0,0 +1,90 @@ +@import url(chrome://communicator/skin/bookmarks/bookmarks.css); + +/** + * Bookmark toolbar buttons + **/ + +/* + .button-toolbar.bookmark-item, + .button-toolbar.bookmark-item:hover, + .button-toolbar.bookmark-item:hover:active, + .button-toolbar.bookmark-item > .button-internal-box, + .button-toolbar.bookmark-item:hover > .button-internal-box, + .button-toolbar.bookmark-item:hover:active > .button-internal-box, + .button-toolbar.bookmark-item + > .menubutton-toolbar-single-internal-box, + .button-toolbar.bookmark-item:hover + > .menubutton-toolbar-single-internal-box, + .button-toolbar.bookmark-item:hover:active + > .menubutton-toolbar-single-internal-box + { + border : none !important; + } +*/ + + .bookmark-item.button-toolbar[container="true"], + .bookmark-item.button-toolbar[container="true"]:hover, + .bookmark-item.button-toolbar[container="true"]:hover:active + { + cursor : default; + background-color : transparent; + color : inherit; + text-decoration : none; + } + + .bookmark-item.button-toolbar + { + cursor : pointer; + } + + .bookmark-item > .menubutton-toolbar-single-internal-box > .menubutton-toolbar-single-dropmarker + { + display : none; + } + + .button-toolbar.bookmark-item + { + max-width : 10em; + } + + .button-toolbar.bookmark-item > .menubutton-toolbar-single-internal-box + > .menubutton-toolbar-single-text + { + max-width : 8em !important; + } + +/* + .bookmark-item.button-toolbar:hover + { + color : #0000FF; + text-decoration : underline; + } + + .bookmark-item.button-toolbar:hover:active + { + background-color : transparent; + color : #FF0000; + text-decoration : underline; + } +*/ + + /* drag and drop feedback */ + .bookmark-item.button-toolbar[dragover-left="true"] + { + margin-left : 0px; + border-left : 2px solid #008484; + } + + .bookmark-item.button-toolbar[dragover-right="true"] + { + margin-right : 0px; + border-right : 2px solid #008484; + } + + .menubutton-toolbar-single-text[dragover-top="true"] + { + background-color : #008484; + color : #FFCF00; + } + + diff --git a/LCARStrek/communicator/skin/bookmarks/bookmarksWindow.css b/LCARStrek/communicator/skin/bookmarks/bookmarksWindow.css new file mode 100644 index 00000000..3ad45c51 --- /dev/null +++ b/LCARStrek/communicator/skin/bookmarks/bookmarksWindow.css @@ -0,0 +1,50 @@ +/* -*- Mode: C; c-basic-offset: 2 -*- + * + * 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 Netscape are + * Copyright (C) 1998 Netscape Communications Corporation. All + * Rights Reserved. + * + * Contributor(s): + * Ben Goodger + * Josh Soref + */ + +@import url(chrome://communicator/skin/bookmarks/bookmarks.css); +@import url(chrome://communicator/skin/bookmarks/platformBookmarks.css); + +/** + * XXX - disable print plus. This needs to go into ns/!!! + */ + #navprintplus + { + display : none !important; + } + + #status-bar + { + height : 1em; + } + + #notification-icon + { + list-style-image : url("chrome://communicator/skin/bookmarks/notification.gif"); + } + + #schedule-icon + { + list-style-image : url("chrome://communicator/skin/bookmarks/schedule.gif"); + } + diff --git a/LCARStrek/communicator/skin/bookmarks/notification.gif b/LCARStrek/communicator/skin/bookmarks/notification.gif new file mode 100644 index 00000000..c9687c59 Binary files /dev/null and b/LCARStrek/communicator/skin/bookmarks/notification.gif differ diff --git a/LCARStrek/communicator/skin/bookmarks/platformBookmarks.css b/LCARStrek/communicator/skin/bookmarks/platformBookmarks.css new file mode 100644 index 00000000..757b343f --- /dev/null +++ b/LCARStrek/communicator/skin/bookmarks/platformBookmarks.css @@ -0,0 +1,33 @@ +/** + * Bookmarks tree + **/ + +/* + .bookmarks-window-tree + { + border-top : 1px solid ThreeDDarkShadow !important; + border-bottom : 1px solid ThreeDFace; + border-left : 1px solid ThreeDShadow; + border-right : 1px solid ThreeDHighlight; + } +*/ + + .bookmarks-window-tree > .tree-container-treerows + { + border-left : 1px solid #9C9CFF; + border-right : 1px solid #9C9CFF; + } + + .bookmarks-panel-tree, .bookmarks-panel-tree > .tree-container-treerows + { + border : none; + } + + #panel-bar + { + border-top : 1px solid #9C9CFF; + border-bottom : 1px solid #9C9CFF; + } + + + diff --git a/LCARStrek/communicator/skin/bookmarks/schedule.gif b/LCARStrek/communicator/skin/bookmarks/schedule.gif new file mode 100644 index 00000000..791721eb Binary files /dev/null and b/LCARStrek/communicator/skin/bookmarks/schedule.gif differ diff --git a/LCARStrek/communicator/skin/box.css b/LCARStrek/communicator/skin/box.css index aa09d675..4e051111 100755 --- a/LCARStrek/communicator/skin/box.css +++ b/LCARStrek/communicator/skin/box.css @@ -1,12 +1,11 @@ - - -.box-toolbar-group > box - { - -moz-border-radius : 5px 0px 0px 5px; - border : 1px solid #9C9CFF; - background-color : #000000; - padding : 1px; - margin : 0px 0px 0px 3px; - } - - \ No newline at end of file +/* hmm, could this box (hbox) be in any other component than navigator? */ + +#urlbar-container + { + -moz-border-radius : 5px 0px 0px 5px; + border : 1px solid #9C9CFF; + background-color : #000000; + padding : 1px; + margin : 0px 0px 0px 3px; + } + diff --git a/LCARStrek/communicator/skin/directory/directory.css b/LCARStrek/communicator/skin/directory/directory.css index 8741f6cd..a6cf21f1 100755 --- a/LCARStrek/communicator/skin/directory/directory.css +++ b/LCARStrek/communicator/skin/directory/directory.css @@ -1,78 +1,100 @@ -/* -*- Mode: C; c-basic-offset: 2 -*- - * - * 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 Netscape are - * Copyright (C) 1998 Netscape Communications Corporation. All - * Rights Reserved. - * - * Contributor(s): - */ - -/* - - Style rules specific to the directory listing window. - -*/ - -/* Hide twisty for files */ -.treecell-indent[type="FILE"] > .tree-cell-twisty - { - list-style-image : none; - } - -.treecell-filename - { - list-style-image : url("chrome://communicator/skin/directory/file-icon.gif"); - } - -treeitem[selected="true"] > treerow > .treecell-filename - { - list-style-image : url("chrome://communicator/skin/directory/file-icon-sel.gif"); - } - -treeitem[container="true"] > treerow > .treecell-filename - { - list-style-image : url("chrome://communicator/skin/directory/file-folder-closed.gif"); - } -treeitem[container="true"][selected="true"] > treerow > .treecell-filename - { - list-style-image : url("chrome://communicator/skin/directory/file-folder-closed-sel.gif"); - } - -treeitem[container="true"][open="true"] > treerow > .treecell-filename - { - list-style-image : url("chrome://communicator/skin/directory/file-folder-open.gif"); - } -treeitem[container="true"][open="true"][selected="true"] > treerow > .treecell-filename - { - list-style-image : url("chrome://communicator/skin/directory/file-folder-open-sel.gif"); - } - - -/* Show an animated icon when a directory/symlink is loading */ -treeitem[type="SYMBOLIC-LINK"][loading="true"] > treerow > .treecell-filename > .tree-cell-twisty, -treeitem[type="DIRECTORY"][loading="true"] > treerow > treecell > .tree-cell-twisty - { - list-style-image : url("chrome://global/skin/loading.gif"); - } - -/* Italicize a symbolic link and make it look like a link (it can be a dir or link) */ -.treecell-filename[type="SYMBOLIC-LINK"] - { - color : inherit; - text-decoration : inherit; - font-style : italic; - } - +/* -*- Mode: C; c-basic-offset: 2 -*- + * + * 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 Netscape are + * Copyright (C) 1998 Netscape Communications Corporation. All + * Rights Reserved. + * + * Contributor(s): + */ + +/* + + Style rules specific to the directory listing window. + +*/ + +/* Hide twisty for files */ +.treecell-indent[type="FILE"] > .tree-cell-twisty + { + list-style-image : none; + } + +.treecell-filename + { + list-style-image : url("chrome://communicator/skin/directory/file-icon.gif"); + } + +treeitem[selected="true"] > treerow > .treecell-filename + { + list-style-image : url("chrome://communicator/skin/directory/file-icon-sel.gif"); + } + +treeitem[container="true"] > treerow > .treecell-filename + { + list-style-image : url("chrome://communicator/skin/directory/file-folder-closed.gif"); + } +treeitem[container="true"][selected="true"] > treerow > .treecell-filename + { + list-style-image : url("chrome://communicator/skin/directory/file-folder-closed-sel.gif"); + } + +treeitem[container="true"][open="true"] > treerow > .treecell-filename + { + list-style-image : url("chrome://communicator/skin/directory/file-folder-open.gif"); + } +treeitem[container="true"][open="true"][selected="true"] > treerow > .treecell-filename + { + list-style-image : url("chrome://communicator/skin/directory/file-folder-open-sel.gif"); + } + + +/* Show an animated icon when a directory/symlink is loading */ +treeitem[type="SYMBOLIC-LINK"][loading="true"] > treerow > .treecell-filename > .tree-cell-twisty, +treeitem[type="DIRECTORY"][loading="true"] > treerow > treecell > .tree-cell-twisty + { + list-style-image : url("chrome://global/skin/loading.gif"); + } + +/* Italicize a symbolic link and make it look like a link (it can be a dir or link) */ +.treecell-filename[type="SYMBOLIC-LINK"] + { + color : inherit; + text-decoration : inherit; + font-style : italic; + } + +treerow + { + min-height : 19px; + } + +/** + * This fixes a bug. As you scroll down in a tree the computed column width + * can change. That would make the columns shift durning scrolling. + * So we give them inital preferred widths so they aren't computed. + */ +#FilenameColumn { + width: 100px; +} + +#ContentLengthColumn { + width: 100px; +} + +#LastModColumn { + width: 100px; +} + diff --git a/LCARStrek/communicator/skin/menubutton.css b/LCARStrek/communicator/skin/menubutton.css index bcc1cb6a..7c6b7943 100755 --- a/LCARStrek/communicator/skin/menubutton.css +++ b/LCARStrek/communicator/skin/menubutton.css @@ -30,6 +30,8 @@ { -moz-border-radius : 3px; padding : 1px 2px 1px 2px; + background-color : #000000; + color : #FFCF00; } @@ -100,11 +102,38 @@ * Navigation bar style menubuttons **/ -.menubutton-dual.toolbar +/* This is really a hack to deal with buggy :hover - but it's now in toolkit (see below, taken from classic) */ + +/** + * XXX - this is a hack. :hover does not work to spec and so we're using a binding + * with JS that lives in xpfe/global/resources/content/menulistBindings.xml + * to set attributes on various parts of the button when mouse down/over + * events fire. When :hover works correctly, this can be removed (see + * revision 1.21 of this file for details. + */ + + +.menubutton-dual.top + { + -moz-binding : url("chrome://global/content/menulistBindings.xml#menubutton-dual-ex"); +/* -moz-user-focus : ignore !important; */ + } + +.menubutton-dual.left + { + -moz-binding : url("chrome://global/content/menulistBindings.xml#menubutton-dual-ex-left"); +/* -moz-user-focus : none !important; */ + } + + + +.menubutton-dual { font-size : smaller; } +/* where have you gone? + .menubutton-dual.toolbar:hover > .menubutton-internal-box, .menubutton-dual.toolbar:hover:active > .menubutton-internal-box { @@ -136,21 +165,30 @@ -moz-border-radius : 3px 0px 0px 3px; } -.menubutton-dual.toolbar > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box > .button-text-container +*/ + +.menubutton-dual-ex-button > .button-internal-box > .button-text-container { padding-top : 3px; text-align : center; } -.menubutton-dual.toolbar > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box + + +.menubutton-dual > .menubutton-dual-ex-button > .button-internal-box { padding : 1px; border : none; -moz-border-radius : 3px 0px 0px 3px; } -.menubutton-dual.toolbar:hover > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box, -.menubutton-dual.toolbar > .menubutton-internal-box > .menubutton-dual-button:hover > .button-internal-box +.menubutton-dual-ex-button + { + margin : 0px; + } + +.menubutton-dual:hover > .menubutton-dual-ex-button > .button-internal-box, +.menubutton-dual[buttonover="true"] > .menubutton-dual-ex-button > .button-internal-box { background-color : #FFCF00; color : #000000; @@ -158,8 +196,8 @@ border : none; } -.menubutton-dual.toolbar:hover:active > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box, -.menubutton-dual.toolbar > .menubutton-internal-box > .menubutton-dual-button:hover:active > .button-internal-box +.menubutton-dual:hover:active > .menubutton-dual-ex-button > .button-internal-box, +.menubutton-dual > .menubutton-dual-ex-button:hover:active > .button-internal-box { background-color : #FFCF00; color : #000000; @@ -167,7 +205,7 @@ border : none; } -.menubutton-dual.toolbar[open="true"] > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box +.menubutton-dual[open="true"] > .menubutton-dual-ex-button > .button-internal-box { background-color : #FF9F00; color : #000000; @@ -175,10 +213,11 @@ border : none; } -.menubutton-dual.toolbar[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box, -.menubutton-dual.toolbar[disabled="true"]:hover:active > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box, -.menubutton-dual.toolbar[disabled="true"][open="true"] > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box, -.menubutton-dual.toolbar[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover:active > .button-internal-box +.menubutton-dual[disabled="true"] > .menubutton-dual-ex-button > .button-internal-box, +.menubutton-dual[disabled="true"]:hover:active > .menubutton-dual-ex-button > .button-internal-box, +.menubutton-dual[disabled="true"][open="true"] > .menubutton-dual-ex-button > .button-internal-box, +.menubutton-dual[disabled="true"][buttonover="true"] > .menubutton-dual-ex-button > .button-internal-box, +.menubutton-dual[disabled="true"] > .menubutton-dual-ex-button:hover:active > .button-internal-box { background-color : #000000; color : #8050B0; @@ -186,14 +225,19 @@ border : none; } -.menubutton-dual.toolbar > .menubutton-internal-box > .menubutton-dual-dropmarker-box + + +.menubutton-dual > .menubutton-dual-dropmarker-box { -moz-border-radius : 0px 3px 3px 0px; padding : 1px; border : none; } -.menubutton-dual.toolbar:hover > .menubutton-internal-box > .menubutton-dual-dropmarker-box +.menubutton-dual-ex:hover > .menubutton-dual-dropmarker-box, +.menubutton-dual:hover > .menubutton-dual-dropmarker-box, +.menubutton-dual > .menubutton-dual-dropmarker-box:hover, +.menubutton-dual[buttonover="true"] > .menubutton-dual-dropmarker-box { background-color : #FFCF00; color : #000000; @@ -201,7 +245,7 @@ border : none; } -.menubutton-dual.toolbar:hover:active > .menubutton-internal-box > .menubutton-dual-dropmarker-box +.menubutton-dual:hover:active > .menubutton-dual-dropmarker-box { background-color : #FFCF00; color : #000000; @@ -209,7 +253,7 @@ border : none; } -.menubutton-dual.toolbar[open="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box +.menubutton-dual[open="true"] > .menubutton-dual-dropmarker-box { background-color : #FF9F00; color : #000000; @@ -217,9 +261,10 @@ border : none; } -.menubutton-dual.toolbar[disabled="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box, -.menubutton-dual.toolbar[disabled="true"]:hover:active > .menubutton-internal-box > .menubutton-dual-dropmarker-box, -.menubutton-dual.toolbar[disabled="true"][open="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box +.menubutton-dual[disabled="true"] > .menubutton-dual-dropmarker-box, +.menubutton-dual[disabled="true"]:hover:active > .menubutton-dual-dropmarker-box, +.menubutton-dual[disabled="true"][open="true"] > .menubutton-dual-dropmarker-box, +.menubutton-dual[disabled="true"][buttonover="true"] > .menubutton-dual-dropmarker-box { background-color : #000000; color : #8050B0; @@ -227,9 +272,11 @@ border : none; } -menubutton > .menubutton-internal-box > .menubutton-dual-dropmarker-box > .menubutton-dropmarker +menubutton > .menubutton-dual-dropmarker-box > .menubutton-dropmarker { /* padding-bottom : 17px; */ padding-bottom : 24px; } + + diff --git a/LCARStrek/communicator/skin/menubuttonBindings.xml b/LCARStrek/communicator/skin/menubuttonBindings.xml index 9d0a28a7..a0fa8134 100755 --- a/LCARStrek/communicator/skin/menubuttonBindings.xml +++ b/LCARStrek/communicator/skin/menubuttonBindings.xml @@ -1,50 +1,50 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LCARStrek/communicator/skin/sidebar/sidebar.css b/LCARStrek/communicator/skin/sidebar/sidebar.css index 538be6d1..e5c241cf 100755 --- a/LCARStrek/communicator/skin/sidebar/sidebar.css +++ b/LCARStrek/communicator/skin/sidebar/sidebar.css @@ -1,176 +1,176 @@ -/* - * 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. - * - * The Initial Developer of the Original Code is Netscape - * Communications Corp. Portions created by Netscape Communications - * Corp. are Copyright (C) 1999 Netscape Communications Corp. All - * Rights Reserved. - * - * Contributor(s): Stephen Lamm - */ - -/**/ - -#sidebar-panels-splitter[state="collapsed"] { - margin-bottom: 0px; -} - -#sidebar-splitter { - -moz-border-radius: 0px 5px 5px 0px; - margin: 0px 3px 3px 0px; -} - -#sidebar-box { - margin: 0px 3px 3px 0px; - border: none; -} - -.text-panel-loading { - margin: 5px 0px; -} - -.image-panel-loading { - margin: 5px; - list-style-image: url("chrome://global/skin/loading.gif"); -} - -/* - * Sidebar and Panel title buttons - */ - -.sidebarheader-main { - color: #FF9F00; - background-color: #6000CF; - border: none; - padding-left: 4px; - vertical-align: middle; -} - -.sidebar-header-text { - font-weight: bold; - margin: 3px; -} - -#sidebar-panel-picker - { - margin-right: 5px; - } - -#sidebar-panel-picker > .menubutton-internal-box - { - padding-top: 5px; - padding-bottom: 3px; - } - -#sidebar-panel-picker > .menubutton-internal-box > .menubutton-single-icon - { - list-style-image : url(chrome://global/skin/mb-single-arrow-right.gif); - } - -#sidebar-panel-picker:hover > .menubutton-internal-box > .menubutton-single-icon, -#sidebar-panel-picker[open="true"] > .menubutton-internal-box > .menubutton-single-icon - { - list-style-image : url(chrome://global/skin/mb-single-arrow-right-hover.gif); - } - -/** - * texttab folder lookalike e.g. for sidebar panel headers - */ - .box-texttab - { - -moz-binding : url("chrome://communicator/content/sidebar/sidebarBindings.xml#texttab"); - -moz-border-radius : 5px; - border-top : 3px solid black; - } - - .box-texttab[selected="true"] - { - border-bottom : 3px solid black; - } - -/* - .box-texttab[top-panel="true"] - { - background-color : #FF9F00; - } - - .box-texttab[first-panel-after-selected="true"] - { - background-color : #FF9F00; - } -*/ - - .box-texttab-right-space - { - -moz-border-radius : 5px; -/* width : 30px; - border-bottom : 1px solid #000000; */ - } - -/* - .box-texttab[last-panel="true"] > .box-texttab-right-space - { - border-bottom : none; - } - - .box-texttab[last-panel="true"][selected="true"] > .box-texttab-right-space - { - border-bottom : 1px solid #000000; - } -*/ - -/* - .box-texttab-left - { - list-style-image : url("chrome://global/skin/tab-leftedge.gif"); - } - - .box-texttab-right - { - list-style-image : url("chrome://global/skin/tab-rightedge.gif"); - } - - .box-texttab[selected="true"] > .box-texttab-left - { - list-style-image : url("chrome://global/skin/seltab-leftedge.gif"); - } - - .box-texttab[selected="true"] > .box-texttab-right - { - list-style-image : url("chrome://global/skin/seltab-rightedge.gif"); - } -*/ - - .box-texttab-text-container > .box-texttab-text - { - -moz-border-radius : 5px; - background-color : #FF9F00; - padding : 5px 3px 3px 3px; - color : #000000; - } - - .box-texttab:hover > .box-texttab-text-container > .box-texttab-text, - .box-texttab > .box-texttab-text-container:hover > .box-texttab-text, - .box-texttab > .box-texttab-text-container > .box-texttab-text:hover - { - background-color : #FFCF00; - color : #000000; - } - - .box-texttab[selected="true"] > .box-texttab-text-container > .box-texttab-text - { - background-color : #008484; - color : #FFCF00; - font-weight : bold; - } - \ No newline at end of file +/* + * 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. + * + * The Initial Developer of the Original Code is Netscape + * Communications Corp. Portions created by Netscape Communications + * Corp. are Copyright (C) 1999 Netscape Communications Corp. All + * Rights Reserved. + * + * Contributor(s): Stephen Lamm + */ + +@import url(chrome://global/skin/splitter.css); + +#sidebar-panels-splitter[state="collapsed"] { + margin-bottom: 0px; +} + +#sidebar-splitter { + -moz-border-radius: 0px 5px 5px 0px; + margin: 0px 3px 3px 0px; +} + +#sidebar-box { + margin: 0px 3px 3px 0px; + border: none; +} + +.text-panel-loading { + margin: 5px 0px; +} + +.image-panel-loading { + margin: 5px; + list-style-image: url("chrome://global/skin/loading.gif"); +} + +/* + * Sidebar and Panel title buttons + */ + +.sidebarheader-main { + color: #FF9F00; + background-color: #6000CF; + border: none; + padding-left: 4px; + vertical-align: middle; +} + +.sidebar-header-text { + font-weight: bold; + margin: 3px; +} + +#sidebar-panel-picker + { + margin-right: 5px; + } + +#sidebar-panel-picker > .menubutton-internal-box + { + padding-top: 5px; + padding-bottom: 3px; + } + +#sidebar-panel-picker > .menubutton-internal-box > .menubutton-single-icon + { + list-style-image : url(chrome://global/skin/mb-single-arrow-right.gif); + } + +#sidebar-panel-picker:hover > .menubutton-internal-box > .menubutton-single-icon, +#sidebar-panel-picker[open="true"] > .menubutton-internal-box > .menubutton-single-icon + { + list-style-image : url(chrome://global/skin/mb-single-arrow-right-hover.gif); + } + +/** + * texttab folder lookalike e.g. for sidebar panel headers + */ + .box-texttab + { + -moz-binding : url("chrome://communicator/content/sidebar/sidebarBindings.xml#texttab"); + -moz-border-radius : 5px; + border-top : 3px solid black; + } + + .box-texttab[selected="true"] + { + border-bottom : 3px solid black; + } + +/* + .box-texttab[top-panel="true"] + { + background-color : #FF9F00; + } + + .box-texttab[first-panel-after-selected="true"] + { + background-color : #FF9F00; + } +*/ + + .box-texttab-right-space + { + -moz-border-radius : 5px; +/* width : 30px; + border-bottom : 1px solid #000000; */ + } + +/* + .box-texttab[last-panel="true"] > .box-texttab-right-space + { + border-bottom : none; + } + + .box-texttab[last-panel="true"][selected="true"] > .box-texttab-right-space + { + border-bottom : 1px solid #000000; + } +*/ + +/* + .box-texttab-left + { + list-style-image : url("chrome://global/skin/tab-leftedge.gif"); + } + + .box-texttab-right + { + list-style-image : url("chrome://global/skin/tab-rightedge.gif"); + } + + .box-texttab[selected="true"] > .box-texttab-left + { + list-style-image : url("chrome://global/skin/seltab-leftedge.gif"); + } + + .box-texttab[selected="true"] > .box-texttab-right + { + list-style-image : url("chrome://global/skin/seltab-rightedge.gif"); + } +*/ + + .box-texttab-text-container > .box-texttab-text + { + -moz-border-radius : 5px; + background-color : #FF9F00; + padding : 5px 3px 3px 3px; + color : #000000; + } + + .box-texttab:hover > .box-texttab-text-container > .box-texttab-text, + .box-texttab > .box-texttab-text-container:hover > .box-texttab-text, + .box-texttab > .box-texttab-text-container > .box-texttab-text:hover + { + background-color : #FFCF00; + color : #000000; + } + + .box-texttab[selected="true"] > .box-texttab-text-container > .box-texttab-text + { + background-color : #008484; + color : #FFCF00; + font-weight : bold; + } + diff --git a/LCARStrek/communicator/skin/sidebar/sidebarBindings.xml b/LCARStrek/communicator/skin/sidebar/sidebarBindings.xml index a7569726..d5c89507 100755 --- a/LCARStrek/communicator/skin/sidebar/sidebarBindings.xml +++ b/LCARStrek/communicator/skin/sidebar/sidebarBindings.xml @@ -1,15 +1,15 @@ - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + diff --git a/LCARStrek/communicator/skin/splitter.css b/LCARStrek/communicator/skin/splitter.css index 17cb289c..9c789702 100755 --- a/LCARStrek/communicator/skin/splitter.css +++ b/LCARStrek/communicator/skin/splitter.css @@ -1,125 +1,129 @@ -/******* Splitters *******/ - -splitter { - border: none; - cursor: e-resize; - min-width: 8px; - min-height: 8px; - margin: 0px 3px 0px 3px; -} - -splitter[state="dragging"] -{ - background-color: gray; -} - -grippy { - margin: 0px; - padding: 0px; - background-image: url("chrome://global/skin/grippy-vertical-before.gif"); - background-repeat: no-repeat; - background-position: 50% 50%; - cursor: pointer; -} - -splitter[state="collapsed"] > grippy - { - background-image : url("chrome://global/skin/grippy-vertical-after.gif"); - } - -box[orient="vertical"] > splitter > grippy, -window[orient="vertical"] > splitter > grippy { - /* a horizontal splitter */ - background-image: url("chrome://global/skin/grippy-horizontal-after.gif"); - border: none; - border-right: 3px solid black; - border-left: 3px solid black; - width: 120px; - height:8px; - } - -box[orient="vertical"] > splitter[state="collapsed"] > grippy, -window[orient="vertical"] > splitter[state="collapsed"] > grippy { - background-image: url("chrome://global/skin/grippy-horizontal-before.gif"); - } - -window > splitter > grippy, -box > splitter > grippy { - /* a vertical splitter */ - width: 8px; - height: 120px; - border-top: 3px solid black; - border-bottom: 3px solid black; -} - -box[orient="vertical"] > splitter, -window[orient="vertical"] > splitter, -rows > splitter { - /* a horizontal splitter */ - cursor: n-resize; - border: none; - margin: 3px 0px 3px 0px; -} - -/* for backwards compatibility */ -box[align="vertical"]>splitter > grippy, -window[align="vertical"]>splitter > grippy { - /* a horizontal splitter */ - background-image: url("chrome://global/skin/grippy-horizontal-after.gif"); - border: none; - border-right: 3px solid black; - border-left: 3px solid black; - width: 120px; - height: 8px; -} - -box[align="vertical"]>splitter[state="collapsed"] > grippy, -window[align="vertical"]>splitter[state="collapsed"] > grippy { - background-image: url("chrome://global/skin/grippy-horizontal-before.gif"); -} - -box[align="vertical"]>splitter, -window[align="vertical"]>splitter { - /* a horizontal splitter */ - cursor: n-resize; - border: none; - margin: 3px 0px 3px 0px; -} - -/** - * gray horizontal splitter for pane views - */ -splitter.gray-horizontal-splitter { - min-height: 8px; - border: none; - margin: 3px 0px 3px 0px; - padding: 0px; -} - -splitter.gray-horizontal-splitter > grippy { - margin: 0px; - border: none; - border-right: 3px solid black; - border-left: 3px solid black; - padding: 0px; - background-image: url("chrome://global/skin/grippy-horizontal-after.gif"); -} - -splitter.gray-horizontal-splitter[state="collapsed"] > grippy { - background-image: url("chrome://global/skin/grippy-horizontal-before.gif"); -} - -/* -splitter.gray-horizontal-splitter > #begincap { - min-width: 8px; - width: 8px; - background-image: url("chrome://global/skin/gray-bottomleft.gif"); - background-repeat: no-repeat; - background-position: 0% 100%; -} - -splitter.gray-horizontal-splitter > #endcap { - min-width: 8px; - width: 8px; -} -*/ \ No newline at end of file +/******* Splitters *******/ + +splitter { + border: none; + cursor: e-resize; + min-width: 8px; + min-height: 8px; + margin: 0px 3px 0px 3px; +} + +splitter[state="dragging"] +{ + background-color: gray; +} + +grippy { + margin: 0px; + padding: 0px; + background-image: url("chrome://global/skin/grippy-vertical-before.gif"); + background-repeat: no-repeat; + background-position: 50% 50%; + cursor: pointer; +} + +splitter[state="collapsed"] > grippy + { + background-image : url("chrome://global/skin/grippy-vertical-after.gif"); + } + +vbox > splitter > grippy, +box[orient="vertical"] > splitter > grippy, +window[orient="vertical"] > splitter > grippy { + /* a horizontal splitter */ + background-image: url("chrome://global/skin/grippy-horizontal-after.gif"); + border: none; + border-right: 3px solid black; + border-left: 3px solid black; + width: 120px; + height:8px; + } + +vbox > splitter[state="collapsed"] > grippy, +box[orient="vertical"] > splitter[state="collapsed"] > grippy, +window[orient="vertical"] > splitter[state="collapsed"] > grippy { + background-image: url("chrome://global/skin/grippy-horizontal-before.gif"); + } + +window > splitter > grippy, +hbox > splitter > grippy, +box > splitter > grippy { + /* a vertical splitter */ + width: 8px; + height: 120px; + border-top: 3px solid black; + border-bottom: 3px solid black; +} + +vbox > splitter, +box[orient="vertical"] > splitter, +window[orient="vertical"] > splitter, +rows > splitter { + /* a horizontal splitter */ + cursor: n-resize; + border: none; + margin: 3px 0px 3px 0px; +} + +/* for backwards compatibility */ +box[align="vertical"]>splitter > grippy, +window[align="vertical"]>splitter > grippy { + /* a horizontal splitter */ + background-image: url("chrome://global/skin/grippy-horizontal-after.gif"); + border: none; + border-right: 3px solid black; + border-left: 3px solid black; + width: 120px; + height: 8px; +} + +box[align="vertical"]>splitter[state="collapsed"] > grippy, +window[align="vertical"]>splitter[state="collapsed"] > grippy { + background-image: url("chrome://global/skin/grippy-horizontal-before.gif"); +} + +box[align="vertical"]>splitter, +window[align="vertical"]>splitter { + /* a horizontal splitter */ + cursor: n-resize; + border: none; + margin: 3px 0px 3px 0px; +} + +/** + * gray horizontal splitter for pane views + */ +splitter.gray-horizontal-splitter { + min-height: 8px; + border: none; + margin: 3px 0px 3px 0px; + padding: 0px; +} + +splitter.gray-horizontal-splitter > grippy { + margin: 0px; + border: none; + border-right: 3px solid black; + border-left: 3px solid black; + padding: 0px; + background-image: url("chrome://global/skin/grippy-horizontal-after.gif"); +} + +splitter.gray-horizontal-splitter[state="collapsed"] > grippy { + background-image: url("chrome://global/skin/grippy-horizontal-before.gif"); +} + +/* +splitter.gray-horizontal-splitter > #begincap { + min-width: 8px; + width: 8px; + background-image: url("chrome://global/skin/gray-bottomleft.gif"); + background-repeat: no-repeat; + background-position: 0% 100%; +} + +splitter.gray-horizontal-splitter > #endcap { + min-width: 8px; + width: 8px; +} +*/ diff --git a/LCARStrek/communicator/skin/wallet/CookieViewer.css b/LCARStrek/communicator/skin/wallet/CookieViewer.css index 6f03c0ab..5d92fe8a 100755 --- a/LCARStrek/communicator/skin/wallet/CookieViewer.css +++ b/LCARStrek/communicator/skin/wallet/CookieViewer.css @@ -1,91 +1,92 @@ -window { - background-color: #CCCCCC; -} - -box.tabpanel { - border: 1px outset #CCCCCC; - padding: 10px; -} - -tab { - padding-left: 10px; - padding-right: 10px; -} - -treehead > treerow > treecell { - border: 1px outset #CCCCCC; - padding-top: 1px; - padding-bottom: 1px; - padding-left: 5px; - padding-right: 5px; - background-color: #CCCCCC; - color: #000000; -} - -treechildren > treeitem > treerow > treecell { - border-right: 1px solid #CCCCCC; - border-bottom: 1px solid #CCCCCC; - color: inherit; - padding-left: 10px; - padding-top: 1px; - padding-bottom: 1px; -} - -treechildren > treeitem > treerow > treecell.fieldcell { - border-right: 1px solid #CCCCCC; - border-bottom: 1px solid #CCCCCC; - color: inherit; - padding: 0px; - margin: 0px; -} - - -treechildren > treeitem > treerow [selectedrow ~= false] { - background-color: white; - color: black; -} - -treechildren > treeitem > treerow [selectedrow ~= true] { - background-color: #336699; - color: white; -} - -tree#infotree treechildren > treeitem > treerow [selectedrow ~= false] { - background-color: white; - color: black; -} - -tree#infotree treechildren > treeitem > treerow [selectedrow ~= true] { - background-color: white; - color: black; -} - -tree { - border: 1px inset #CCCCCC; -} - -a { - color: #0000FF; - text-decoration: underline; -} - -a:hover { - color: #FF0000; - text-decoration: underline; -} - -tree treechildren > treeitem > treerow[selectedrow=true] > treecell > a:link { - color: #FFFFFF; -} - -tree treechildren > treeitem > treerow[selectedrow ~= true] > treecell > a:hover { - color: #FFFFFF; -} - -input.dispcell { - border: none; - background-color: #CCCCCC; - height: 12px; - font-family: tahoma; - font-size: 10px; -} +window { + background-color: #CCCCCC; +} + +box.tabpanels { + border: 1px outset #CCCCCC; + padding: 10px; +} + +tab { + padding-left: 10px; + padding-right: 10px; +} + +treehead > treerow > treecell { + border: 1px outset #CCCCCC; + padding-top: 1px; + padding-bottom: 1px; + padding-left: 5px; + padding-right: 5px; + background-color: #CCCCCC; + color: #000000; +} + +treechildren > treeitem > treerow > treecell { + border-right: 1px solid #CCCCCC; + border-bottom: 1px solid #CCCCCC; + color: inherit; + padding-left: 10px; + padding-top: 1px; + padding-bottom: 1px; +} + +treechildren > treeitem > treerow > treecell.fieldcell { + border-right: 1px solid #CCCCCC; + border-bottom: 1px solid #CCCCCC; + color: inherit; + padding: 0px; + margin: 0px; +} + + +treechildren > treeitem > treerow [selectedrow ~= false] { + background-color: white; + color: black; +} + +treechildren > treeitem > treerow [selectedrow ~= true] { + background-color: #336699; + color: white; +} + +tree#infotree treechildren > treeitem > treerow [selectedrow ~= false] { + background-color: white; + color: black; +} + +tree#infotree treechildren > treeitem > treerow [selectedrow ~= true] { + background-color: white; + color: black; +} + +tree { + border: 1px inset #CCCCCC; +} + +a { + color: #0000FF; + text-decoration: underline; +} + +a:hover { + color: #FF0000; + text-decoration: underline; +} + +tree treechildren > treeitem > treerow[selectedrow=true] > treecell > a:link { + color: #FFFFFF; +} + +tree treechildren > treeitem > treerow[selectedrow ~= true] > treecell > a:hover { + color: #FFFFFF; +} + +input.dispcell { + border: none; + background-color: #CCCCCC; + height: 12px; + font-family: tahoma; + font-size: 10px; +} + diff --git a/LCARStrek/communicator/skin/wallet/SignonViewer.css b/LCARStrek/communicator/skin/wallet/SignonViewer.css index 542207f4..faa6bd83 100755 --- a/LCARStrek/communicator/skin/wallet/SignonViewer.css +++ b/LCARStrek/communicator/skin/wallet/SignonViewer.css @@ -1,91 +1,91 @@ -window { - background-color: #CCCCCC; -} - -box.tabpanel { - border: 1px outset #CCCCCC; - padding: 10px; -} - -tab { - padding-left: 10px; - padding-right: 10px; -} - -treehead > treerow > treecell { - border: 1px outset #CCCCCC; - padding-top: 1px; - padding-bottom: 1px; - padding-left: 5px; - padding-right: 5px; - background-color: #CCCCCC; - color: #000000; -} - -treechildren > treeitem > treerow > treecell { - border-right: 1px solid #CCCCCC; - border-bottom: 1px solid #CCCCCC; - color: inherit; - padding-left: 10px; - padding-top: 1px; - padding-bottom: 1px; -} - -treechildren > treeitem > treerow > treecell.fieldcell { - border-right: 1px solid #CCCCCC; - border-bottom: 1px solid #CCCCCC; - color: inherit; - padding: 0px; - margin: 0px; -} - - -treechildren > treeitem > treerow [selectedrow ~= false] { - background-color: white; - color: black; -} - -treechildren > treeitem > treerow [selectedrow ~= true] { - background-color: #336699; - color: white; -} - -tree#infotree treechildren > treeitem > treerow [selectedrow ~= false] { - background-color: white; - color: black; -} - -tree#infotree treechildren > treeitem > treerow [selectedrow ~= true] { - background-color: white; - color: black; -} - -tree { - border: 1px inset #CCCCCC; -} - -a { - color: #0000FF; - text-decoration: underline; -} - -a:hover { - color: #FF0000; - text-decoration: underline; -} - -tree treechildren > treeitem > treerow[selectedrow=true] > treecell > a:link { - color: #FFFFFF; -} - -tree treechildren > treeitem > treerow[selectedrow ~= true] > treecell > a:hover { - color: #FFFFFF; -} - -input.dispcell { - border: none; - background-color: #CCCCCC; - height: 12px; - font-family: tahoma; - font-size: 10px; -} \ No newline at end of file +window { + background-color: #CCCCCC; +} + +box.tabpanels { + border: 1px outset #CCCCCC; + padding: 10px; +} + +tab { + padding-left: 10px; + padding-right: 10px; +} + +treehead > treerow > treecell { + border: 1px outset #CCCCCC; + padding-top: 1px; + padding-bottom: 1px; + padding-left: 5px; + padding-right: 5px; + background-color: #CCCCCC; + color: #000000; +} + +treechildren > treeitem > treerow > treecell { + border-right: 1px solid #CCCCCC; + border-bottom: 1px solid #CCCCCC; + color: inherit; + padding-left: 10px; + padding-top: 1px; + padding-bottom: 1px; +} + +treechildren > treeitem > treerow > treecell.fieldcell { + border-right: 1px solid #CCCCCC; + border-bottom: 1px solid #CCCCCC; + color: inherit; + padding: 0px; + margin: 0px; +} + + +treechildren > treeitem > treerow [selectedrow ~= false] { + background-color: white; + color: black; +} + +treechildren > treeitem > treerow [selectedrow ~= true] { + background-color: #336699; + color: white; +} + +tree#infotree treechildren > treeitem > treerow [selectedrow ~= false] { + background-color: white; + color: black; +} + +tree#infotree treechildren > treeitem > treerow [selectedrow ~= true] { + background-color: white; + color: black; +} + +tree { + border: 1px inset #CCCCCC; +} + +a { + color: #0000FF; + text-decoration: underline; +} + +a:hover { + color: #FF0000; + text-decoration: underline; +} + +tree treechildren > treeitem > treerow[selectedrow=true] > treecell > a:link { + color: #FFFFFF; +} + +tree treechildren > treeitem > treerow[selectedrow ~= true] > treecell > a:hover { + color: #FFFFFF; +} + +input.dispcell { + border: none; + background-color: #CCCCCC; + height: 12px; + font-family: tahoma; + font-size: 10px; +} diff --git a/LCARStrek/communicator/skin/wallet/WalletEditor.css b/LCARStrek/communicator/skin/wallet/WalletEditor.css index 6f03c0ab..5d92fe8a 100755 --- a/LCARStrek/communicator/skin/wallet/WalletEditor.css +++ b/LCARStrek/communicator/skin/wallet/WalletEditor.css @@ -1,91 +1,92 @@ -window { - background-color: #CCCCCC; -} - -box.tabpanel { - border: 1px outset #CCCCCC; - padding: 10px; -} - -tab { - padding-left: 10px; - padding-right: 10px; -} - -treehead > treerow > treecell { - border: 1px outset #CCCCCC; - padding-top: 1px; - padding-bottom: 1px; - padding-left: 5px; - padding-right: 5px; - background-color: #CCCCCC; - color: #000000; -} - -treechildren > treeitem > treerow > treecell { - border-right: 1px solid #CCCCCC; - border-bottom: 1px solid #CCCCCC; - color: inherit; - padding-left: 10px; - padding-top: 1px; - padding-bottom: 1px; -} - -treechildren > treeitem > treerow > treecell.fieldcell { - border-right: 1px solid #CCCCCC; - border-bottom: 1px solid #CCCCCC; - color: inherit; - padding: 0px; - margin: 0px; -} - - -treechildren > treeitem > treerow [selectedrow ~= false] { - background-color: white; - color: black; -} - -treechildren > treeitem > treerow [selectedrow ~= true] { - background-color: #336699; - color: white; -} - -tree#infotree treechildren > treeitem > treerow [selectedrow ~= false] { - background-color: white; - color: black; -} - -tree#infotree treechildren > treeitem > treerow [selectedrow ~= true] { - background-color: white; - color: black; -} - -tree { - border: 1px inset #CCCCCC; -} - -a { - color: #0000FF; - text-decoration: underline; -} - -a:hover { - color: #FF0000; - text-decoration: underline; -} - -tree treechildren > treeitem > treerow[selectedrow=true] > treecell > a:link { - color: #FFFFFF; -} - -tree treechildren > treeitem > treerow[selectedrow ~= true] > treecell > a:hover { - color: #FFFFFF; -} - -input.dispcell { - border: none; - background-color: #CCCCCC; - height: 12px; - font-family: tahoma; - font-size: 10px; -} +window { + background-color: #CCCCCC; +} + +box.tabpanels { + border: 1px outset #CCCCCC; + padding: 10px; +} + +tab { + padding-left: 10px; + padding-right: 10px; +} + +treehead > treerow > treecell { + border: 1px outset #CCCCCC; + padding-top: 1px; + padding-bottom: 1px; + padding-left: 5px; + padding-right: 5px; + background-color: #CCCCCC; + color: #000000; +} + +treechildren > treeitem > treerow > treecell { + border-right: 1px solid #CCCCCC; + border-bottom: 1px solid #CCCCCC; + color: inherit; + padding-left: 10px; + padding-top: 1px; + padding-bottom: 1px; +} + +treechildren > treeitem > treerow > treecell.fieldcell { + border-right: 1px solid #CCCCCC; + border-bottom: 1px solid #CCCCCC; + color: inherit; + padding: 0px; + margin: 0px; +} + + +treechildren > treeitem > treerow [selectedrow ~= false] { + background-color: white; + color: black; +} + +treechildren > treeitem > treerow [selectedrow ~= true] { + background-color: #336699; + color: white; +} + +tree#infotree treechildren > treeitem > treerow [selectedrow ~= false] { + background-color: white; + color: black; +} + +tree#infotree treechildren > treeitem > treerow [selectedrow ~= true] { + background-color: white; + color: black; +} + +tree { + border: 1px inset #CCCCCC; +} + +a { + color: #0000FF; + text-decoration: underline; +} + +a:hover { + color: #FF0000; + text-decoration: underline; +} + +tree treechildren > treeitem > treerow[selectedrow=true] > treecell > a:link { + color: #FFFFFF; +} + +tree treechildren > treeitem > treerow[selectedrow ~= true] > treecell > a:hover { + color: #FFFFFF; +} + +input.dispcell { + border: none; + background-color: #CCCCCC; + height: 12px; + font-family: tahoma; + font-size: 10px; +} + diff --git a/LCARStrek/global/skin/box.css b/LCARStrek/global/skin/box.css index f18d6398..d933aca1 100755 --- a/LCARStrek/global/skin/box.css +++ b/LCARStrek/global/skin/box.css @@ -1,59 +1,54 @@ - -titledbox - { - -moz-border-radius : 5px; - border : 2px groove #9C9CFF; - padding : 7px; - margin : 5px; - } - -title - { - margin-left : 6px; - padding-right : 40px; - } - -box.titledbox-title - { - padding-left : 5px; - padding-right : 5px; - } - -box.titledbox-body - { - display : block; - padding : inherit; - } - - -/** box formatting **/ - box[autostretch="never"] - { - vertical-align : middle; - } - - box[autostretch="never"][valign="top"] - { - vertical-align : top; - } - - box[autostretch="never"][valign="bottom"] - { - vertical-align : bottom; - } - - box[autostretch="never"][halign="center"] - { - text-align : center; - } - - box[autostretch="never"][halign="right"] - { - text-align : right; - } - - row - { - vertical-align : middle; - } - \ No newline at end of file + +titledbox + { + -moz-border-radius : 5px; + border : 2px groove #9C9CFF; + padding : 7px !important; + margin : 5px; + } + +label + { + margin : 0px 40px 2px 6px; + padding : 0px 3px 0px 3px; +/* background-color : ThreeDFace; */ + } + +.titledbox-body + { + display : block; + padding : inherit; + } + + +/** box formatting **/ + box[autostretch="never"] + { + vertical-align : middle; + } + + box[autostretch="never"][valign="top"] + { + vertical-align : top; + } + + box[autostretch="never"][valign="bottom"] + { + vertical-align : bottom; + } + + box[autostretch="never"][halign="center"] + { + text-align : center; + } + + box[autostretch="never"][halign="right"] + { + text-align : right; + } + + row[autostretch="never"] + { + vertical-align : middle; + } + diff --git a/LCARStrek/global/skin/buttonBindings.xml b/LCARStrek/global/skin/buttonBindings.xml index 1bafd43a..24292539 100755 --- a/LCARStrek/global/skin/buttonBindings.xml +++ b/LCARStrek/global/skin/buttonBindings.xml @@ -1,59 +1,59 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LCARStrek/global/skin/checkbox.css b/LCARStrek/global/skin/checkbox.css index fc5e34e2..97b340c4 100755 --- a/LCARStrek/global/skin/checkbox.css +++ b/LCARStrek/global/skin/checkbox.css @@ -1,73 +1,74 @@ -/* stylesheet for XUL element */ - -/* default checkbox for dialogs */ - -/* outer checkbox frame */ - checkbox - { - margin: 3px 5px 3px 5px; - } - -/* checkmark outer frame */ - checkbox > .internal-box > .checkmark-box - { - -moz-border-radius: 2px; - border: 1px solid #FF9F00; - background-color: #000000; - margin-top: 2px; - margin-right: 4px; - padding: 1px; - } - - checkbox:hover > .internal-box > .checkmark-box - { - border: 1px solid #FFCF00; - } - - checkbox[disabled="true"] > .internal-box > .checkmark-box, - checkbox[disabled="true"]:hover > .internal-box > .checkmark-box - { - border: 1px inset #8050B0; - } - -/* checkmark inner frame */ - checkbox > .internal-box > .checkmark-box > .checkbox-check - { - width: 8px; - height: 8px; - list-style-image: none; - } - - checkbox[checked="true"] > .internal-box > .checkmark-box > .checkbox-check - { - list-style-image: url(chrome://global/skin/check-check.gif); - } - - checkbox[checked="true"][disabled="true"] > .internal-box > .checkmark-box > .checkbox-check - { - list-style-image: url(chrome://global/skin/check-check-disabled.gif); - } - - checkbox > .internal-box > .checkbox-icon - { - list-style-image: inherit; - } - -/* checkmark label/icon frame */ - checkbox[value] > .internal-box > html - { - margin: 0px 0px 0px 4px; - padding: 1px; - color: #FF9F00; - } - - checkbox[disabled="true"][value] > .internal-box > html - { - color: #8050B0; - } - - checkbox:focus > .internal-box > html - { - border : 1px dotted black; - padding : 0px; - } +/* stylesheet for XUL element */ + +/* default checkbox for dialogs */ + +/* outer checkbox frame */ + checkbox + { + margin: 3px 5px 3px 5px; + } + +/* checkmark outer frame */ + checkbox > .internal-box > .checkmark-box + { + -moz-border-radius: 2px; + border: 1px solid #FF9F00; + background-color: #000000; + margin-top: 2px; + margin-right: 4px; + padding: 1px; + } + + checkbox:hover > .internal-box > .checkmark-box + { + border: 1px solid #FFCF00; + } + + checkbox[disabled="true"] > .internal-box > .checkmark-box, + checkbox[disabled="true"]:hover > .internal-box > .checkmark-box + { + border: 1px inset #8050B0; + } + +/* checkmark inner frame */ + checkbox > .internal-box > .checkmark-box > .checkbox-check + { + width: 8px; + height: 8px; + list-style-image: none; + } + + checkbox[checked="true"] > .internal-box > .checkmark-box > .checkbox-check + { + list-style-image: url(chrome://global/skin/check-check.gif); + } + + checkbox[checked="true"][disabled="true"] > .internal-box > .checkmark-box > .checkbox-check + { + list-style-image: url(chrome://global/skin/check-check-disabled.gif); + } + + checkbox > .internal-box > .checkbox-icon + { + list-style-image: inherit; + } + +/* checkmark label/icon frame */ + checkbox[label] > .internal-box > html + { + margin: 0px 0px 0px 4px; + padding: 1px; + color: #FF9F00; + } + + checkbox[disabled="true"][label] > .internal-box > html + { + color: #8050B0; + } + + checkbox:focus > .internal-box > html + { + border : 1px dotted black; + padding : 0px; + } + diff --git a/LCARStrek/global/skin/classicBindings.xml b/LCARStrek/global/skin/classicBindings.xml index fc4cc37f..07948a15 100755 --- a/LCARStrek/global/skin/classicBindings.xml +++ b/LCARStrek/global/skin/classicBindings.xml @@ -1,97 +1,97 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LCARStrek/global/skin/colorpicker.css b/LCARStrek/global/skin/colorpicker.css new file mode 100644 index 00000000..c4b68ad0 --- /dev/null +++ b/LCARStrek/global/skin/colorpicker.css @@ -0,0 +1,50 @@ +/* colorpicker tiles */ + +.colorpickertile { + width : 20px; + height : 20px; + margin : 1px; + -moz-border-radius : 3px; + border : 1px solid #9C9CFF; +} + +.colorpickertile[hover="true"] { + border : 1px solid #FFCF00; +} + +.colorpickertile[selected="true"] { + border : 1px solid #008484; +} + +/* colorpicker button */ + +colorpicker[type="button"] { + width: 35px; + height: 20px; + -moz-border-radius: 3px; + border: 1px solid #9C9CFF; +} + +.colorpicker-button-internal-box { + padding: 3px; +} + +.colorpicker-button-colorbox { + border: 1px solid #FF9F00; +} + +colorpicker[type="button"]:focus { +} + +colorpicker[type="button"]:focus > .colorpicker-button-internal-box { +} + +colorpicker[type="button"][open="true"] { + border: 1px solid #FFCF00; +} + +colorpicker[type="button"][open="true"] > .colorpicker-button-internal-box { +} + + + diff --git a/LCARStrek/global/skin/formatting.css b/LCARStrek/global/skin/formatting.css index f80bfd5c..efdd489f 100755 --- a/LCARStrek/global/skin/formatting.css +++ b/LCARStrek/global/skin/formatting.css @@ -139,3 +139,13 @@ { margin : 3px 5px 4px 5px; } + + + .link + { + color : #FFCF00; + cursor : pointer; + -moz-user-select : text; + text-decoration : underline; + } + diff --git a/LCARStrek/global/skin/global.css b/LCARStrek/global/skin/global.css index d6549d0d..fe6b4f02 100755 --- a/LCARStrek/global/skin/global.css +++ b/LCARStrek/global/skin/global.css @@ -16,6 +16,7 @@ @import url(chrome://global/skin/checkbox.css); @import url(chrome://global/skin/radio.css); @import url(chrome://global/skin/tree.css); +@import url(chrome://global/skin/outliner.css); @import url(chrome://global/skin/splitter.css); @import url(chrome://global/skin/radio.css); @import url(chrome://global/skin/menubutton.css); @@ -24,6 +25,8 @@ @import url(chrome://global/skin/formatting.css); @import url(chrome://global/skin/textfield.css); @import url(chrome://global/skin/tabcontrol.css); +@import url(chrome://global/skin/toolbar.css); +@import url(chrome://global/skin/colorpicker.css); @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); @namespace html url("http://www.w3.org/1999/xhtml"); @@ -31,6 +34,8 @@ /** * XXX-DEBUG: HTML namespace/titledbutton striping. **/ + +/* html|* { border : 1px solid green !important; @@ -45,6 +50,7 @@ { border : 1px solid purple !important; } +*/ /** * XUL element @@ -56,6 +62,7 @@ font : 3mm helvetica,arial,tahoma,sans-serif; color : #FF9F00; padding : 3px; + -moz-user-focus : ignore; } window[wait-cursor] @@ -113,17 +120,6 @@ list-style-image : url("chrome://global/skin/question-icon.gif"); } - statusbarpanel - { - padding : 0px 1px 0px 1px; - vertical-align : middle; - } - - .statusbar-panel-icon - { - margin : 0px 2px 0px 0px; - } - /** * status-bar */ @@ -149,6 +145,18 @@ background-position : bottom right; } + statusbarpanel + { + padding : 0px 1px 0px 1px; + vertical-align : middle; + } + + .statusbar-panel-icon + { + margin : 0px 2px 0px 0px; + } + + /** * html|iframe default sizing **/ @@ -232,24 +240,3 @@ -moz-user-focus : ignore; } - -/* XUL pieces */ -.colorpickertile - { - width : 20px; - height : 20px; - margin : 1px; - border : 1px solid #FFCF00; - } - -.colorpickertile:hover - { - border : 1px solid #FF9F00; - } - -.colorpickertile[selected="true"] - { - border : 1px solid #FFCF00; - } - - diff --git a/LCARStrek/global/skin/linkTree.css b/LCARStrek/global/skin/linkTree.css new file mode 100644 index 00000000..6284e168 --- /dev/null +++ b/LCARStrek/global/skin/linkTree.css @@ -0,0 +1,28 @@ + + +/** + * All the properties in this rule are important to avoid having to create + * a special type of tree. This stylesheet can be loaded into a document with + * a single tree that is a link tree. Hardly elegant but it's efficient. + */ +treeitem[selected="true"] > treerow + { + background : transparent !important; + border : none !important; + color : WindowText !important; + } + +treecell:hover + { + text-decoration : underline !important; + color : #000080 !important; + cursor : pointer; + } + +treecell:hover:active + { + text-decoration : underline !important; + color : red !important; + } + + \ No newline at end of file diff --git a/LCARStrek/global/skin/menu.css b/LCARStrek/global/skin/menu.css index c3097f3e..60eb918c 100755 --- a/LCARStrek/global/skin/menu.css +++ b/LCARStrek/global/skin/menu.css @@ -208,6 +208,13 @@ menuitem[checked="true"][menuactive="true"] padding : 3px; } +/* .tooltip html */ +html#TOOLTIP-tooltipText + { + padding : 0px; + margin : 0px; + } + /* * Autorepeatbutton */ @@ -227,3 +234,4 @@ autorepeatbutton { autorepeatbutton:hover { background-color: #FFCF00; } + diff --git a/LCARStrek/global/skin/menubutton.css b/LCARStrek/global/skin/menubutton.css index aa425b6d..1e1560e5 100755 --- a/LCARStrek/global/skin/menubutton.css +++ b/LCARStrek/global/skin/menubutton.css @@ -1,187 +1,197 @@ - -/* outermost frame */ - menubutton - { - margin : 0px 1px 0px 1px; - -moz-border-radius : 3px; - background-color : #000000; - color : #E7ADE7; - border : none; - } - - menubutton[disabled="true"] - { - color : #8050B0; - } - - menubutton > .menubutton-internal-box - { - border : none; - padding : 0px; - vertical-align : middle; - } - - .menubutton-single-icon - { - margin-right : 3px; - } - -/** "Dual Functionality" menubutton - * Has a popup spawning button and a command invoking button, e.g. back/forward - * class="menubutton-dual" - **/ - -/* inner button */ - - menubutton > .menubutton-internal-box > .menubutton-dual-button, - menubutton:hover > .menubutton-internal-box > .menubutton-dual-button, - menubutton:active > .menubutton-internal-box > .menubutton-dual-button - { - border : none; - margin : 0px; - -moz-border-radius : 3px; - } - - menubutton > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box - { - border : 1px solid #9C9CFF; - margin : 0px - } - - menubutton > .menubutton-internal-box > .menubutton-dual-button:hover:active > .button-internal-box, - menubutton:hover:active > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box - { - border : 1px solid #FF9F00; - } - - menubutton[open="true"] > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box - { - border : 1px solid #FFCF00; - } - - menubutton[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box, - menubutton[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover:active > .button-internal-box, - menubutton[disabled="true"]:hover:active > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box - { - border : 1px solid #8050B0; - } - -/* inner dropmarker */ - menubutton > .menubutton-internal-box > .menubutton-dual-dropmarker-box - { - -moz-border-radius : 3px; - border : 1px solid #9C9CFF; - padding : 0px 2px 0px 2px; - } - - menubutton[disabled="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box, - menubutton[disabled="true"]:hover:active > .menubutton-internal-box > .menubutton-dual-dropmarker-box - { - border : 1px solid #8050B0; - } - - menubutton:hover:active > .menubutton-internal-box > .menubutton-dual-dropmarker-box - { - border : 1px solid #FF9F00; - } - - menubutton[open="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box - { - border : 1px solid #FFCF00; - padding : 1px 1px -1px 3px; - } - - menubutton > .menubutton-internal-box > .menubutton-dual-dropmarker-box > .menubutton-dropmarker - { - border : none; - list-style-image : url("chrome://global/skin/scroll-down.gif"); - } - - menubutton[disabled="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box > .menubutton-dropmarker, - menubutton[disabled="true"]:hover:active > .menubutton-internal-box > .menubutton-dual-dropmarker-box > .menubutton-dropmarker, - menubutton[disabled="true"]:hover > .menubutton-internal-box > .menubutton-dual-dropmarker-box > .menubutton-dropmarker - { - list-style-image : url("chrome://global/skin/scroll-down-disabled.gif"); - } - - menubutton:hover > .menubutton-internal-box > .menubutton-dual-dropmarker-box > .menubutton-dropmarker, - menubutton:hover:active > .menubutton-internal-box > .menubutton-dual-dropmarker-box > .menubutton-dropmarker, - menubutton[open="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box > .menubutton-dropmarker - { - list-style-image : url("chrome://global/skin/scroll-down-hover.gif"); - } - -/** Icon only menubutton.menubutton-duals - * class="menubutton.menubutton-dual-icon" - **/ - .menubutton.menubutton-dual-icon - { - border : none; - background-color : #000000; - } - - .menubutton.menubutton-dual-icon > .menubutton.menubutton-dual-icon-internal-box - { - border : none; - padding : 1px; - } - - .menubutton.menubutton-dual-icon:hover > .menubutton.menubutton-dual-icon-internal-box - { - background-color : #FFCF00; - border : none; - padding : 1px; - } - - .menubutton.menubutton-dual-icon:hover:active > .menubutton.menubutton-dual-icon-internal-box, - .menubutton.menubutton-dual-icon[open="true"] > .menubutton.menubutton-dual-icon-internal-box - { - background-color : #FF9F00; - border : none; - padding : 2px 0px 0px 2px; - } - - .menubutton.menubutton-dual-icon[disabled="true"] > .menubutton.menubutton-dual-icon-internal-box, - .menubutton.menubutton-dual-icon[disabled="true"]:hover:active > .menubutton.menubutton-dual-icon-internal-box, - .menubutton.menubutton-dual-icon[disabled="true"][open="true"] > .menubutton.menubutton-dual-icon-internal-box - { - background-color : #FFCF00; - border : none; - padding : 2px 0px 0px 2px; - } - -/** Icon only menubuttons - * class="menubutton.menubutton-icon" - **/ - .menubutton-icon - { - border : none; - background-color : #000000; - } - - .menubutton-icon > .menubutton-icon-internal-box - { - padding : 1px; - } - - .menubutton-icon:hover > .menubutton-icon-internal-box - { - background-color : #FFCF00; - padding : 1px; - } - - .menubutton-icon:hover:active > .menubutton-icon-internal-box, - .menubutton-icon[open="true"] > .menubutton-icon-internal-box - { - background-color : #FF9F00; - padding : 2px 0px 0px 2px; - } - - .menubutton-icon[disabled="true"] > .menubutton-icon-internal-box, - .menubutton-icon[disabled="true"]:hover:active > .menubutton-icon-internal-box, - .menubutton-icon[disabled="true"][open="true"] > .menubutton-icon-internal-box - { - background-color : #FFCF00; - padding : 2px 0px 0px 2px; - } - \ No newline at end of file + +/* outermost frame */ + menubutton + { + margin : 0px 1px 0px 1px; + -moz-border-radius : 3px; + background-color : #000000; + color : #E7ADE7; + border : none; + } + + menubutton[disabled="true"] + { + color : #8050B0; + } + + menubutton > .menubutton-internal-box + { + border : none; + padding : 0px; + vertical-align : middle; + } + + .menubutton-single-icon + { + margin-right : 3px; + } + +/** "Dual Functionality" menubutton + * Has a popup spawning button and a command invoking button, e.g. back/forward + * class="menubutton-dual" + **/ + +/* inner button */ + + menubutton > .menubutton-internal-box > .menubutton-dual-button, + menubutton:hover > .menubutton-internal-box > .menubutton-dual-button, + menubutton[buttonover="true"] > .menubutton-internal-box > .menubutton-dual-button, + menubutton:active > .menubutton-internal-box > .menubutton-dual-button + { + border : none; + margin : 0px; + -moz-border-radius : 3px; + } + + menubutton > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box + { + border : 1px solid #9C9CFF; + margin : 0px + } + + menubutton > .menubutton-internal-box > .menubutton-dual-button:hover:active > .button-internal-box, + menubutton:hover:active > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box + { + border : 1px solid #FF9F00; + } + + menubutton[open="true"] > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box + { + border : 1px solid #FFCF00; + } + + menubutton[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box, + menubutton[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover:active > .button-internal-box, + menubutton[disabled="true"]:hover:active > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box + { + border : 1px solid #8050B0; + } + +/* inner dropmarker */ + menubutton > .menubutton-internal-box > .menubutton-dual-dropmarker-box + { + -moz-border-radius : 3px; + border : 1px solid #9C9CFF; + padding : 0px 2px 0px 2px; + } + + menubutton[disabled="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box, + menubutton[disabled="true"]:hover:active > .menubutton-internal-box > .menubutton-dual-dropmarker-box + { + border : 1px solid #8050B0; + } + + menubutton:hover:active > .menubutton-internal-box > .menubutton-dual-dropmarker-box + { + border : 1px solid #FF9F00; + } + + menubutton[open="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box + { + border : 1px solid #FFCF00; + padding : 1px 1px -1px 3px; + } + + .menubutton-dual-dropmarker-box > .menubutton-dropmarker + { + border : none; + list-style-image : url("chrome://global/skin/scroll-down.gif"); + } + + menubutton[disabled="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box > .menubutton-dropmarker, + menubutton[disabled="true"]:hover:active > .menubutton-internal-box > .menubutton-dual-dropmarker-box > .menubutton-dropmarker, + menubutton[disabled="true"]:hover > .menubutton-internal-box > .menubutton-dual-dropmarker-box > .menubutton-dropmarker, + .menubutton-dual-dropmarker-box > .menubutton-dropmarker[disabled="true"], + .menubutton-dual[disabled="true"][buttonover="true"] > .menubutton-dual-dropmarker-box > .menubutton-dropmarker, + .menubutton-dual[disabled="true"]:hover > .menubutton-dual-dropmarker-box > .menubutton-dropmarker + { + list-style-image : url("chrome://global/skin/scroll-down-disabled.gif"); + } + + menubutton:hover > .menubutton-internal-box > .menubutton-dual-dropmarker-box > .menubutton-dropmarker, + menubutton:hover:active > .menubutton-internal-box > .menubutton-dual-dropmarker-box > .menubutton-dropmarker, + menubutton[open="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box > .menubutton-dropmarker, + .menubutton-dual[buttonover="true"] > .menubutton-dual-dropmarker-box > .menubutton-dropmarker, + .menubutton-dual[open="true"] > .menubutton-dual-dropmarker-box > .menubutton-dropmarker, + .menubutton-dual:hover > .menubutton-dual-dropmarker-box > .menubutton-dropmarker + { + list-style-image : url("chrome://global/skin/scroll-down-hover.gif"); + } + +/** Icon only menubutton.menubutton-duals + * class="menubutton.menubutton-dual-icon" + **/ + .menubutton.menubutton-dual-icon + { + border : none; + background-color : #000000; + } + + .menubutton.menubutton-dual-icon > .menubutton.menubutton-dual-icon-internal-box + { + border : none; + padding : 1px; + } + + .menubutton.menubutton-dual-icon:hover > .menubutton.menubutton-dual-icon-internal-box + { + background-color : #FFCF00; + border : none; + padding : 1px; + } + + .menubutton.menubutton-dual-icon:hover:active > .menubutton.menubutton-dual-icon-internal-box, + .menubutton.menubutton-dual-icon[open="true"] > .menubutton.menubutton-dual-icon-internal-box + { + background-color : #FF9F00; + border : none; + padding : 2px 0px 0px 2px; + } + + .menubutton.menubutton-dual-icon[disabled="true"] > .menubutton.menubutton-dual-icon-internal-box, + .menubutton.menubutton-dual-icon[disabled="true"]:hover:active > .menubutton.menubutton-dual-icon-internal-box, + .menubutton.menubutton-dual-icon[disabled="true"][open="true"] > .menubutton.menubutton-dual-icon-internal-box + { + background-color : #FFCF00; + border : none; + padding : 2px 0px 0px 2px; + } + +/** Icon only menubuttons + * class="menubutton.menubutton-icon" + **/ + .menubutton-icon + { + border : none; + background-color : #000000; + } + + .menubutton-icon > .menubutton-icon-internal-box + { + padding : 1px; + } + + .menubutton-icon:hover > .menubutton-icon-internal-box + { + background-color : #FFCF00; + padding : 1px; + } + + .menubutton-icon:hover:active > .menubutton-icon-internal-box, + .menubutton-icon[open="true"] > .menubutton-icon-internal-box + { + background-color : #FF9F00; + padding : 2px 0px 0px 2px; + } + + .menubutton-icon[disabled="true"] > .menubutton-icon-internal-box, + .menubutton-icon[disabled="true"]:hover:active > .menubutton-icon-internal-box, + .menubutton-icon[disabled="true"][open="true"] > .menubutton-icon-internal-box + { + background-color : #FFCF00; + padding : 2px 0px 0px 2px; + } + + + + diff --git a/LCARStrek/global/skin/menubuttonBindings.xml b/LCARStrek/global/skin/menubuttonBindings.xml index 993c8c33..941e0ad7 100755 --- a/LCARStrek/global/skin/menubuttonBindings.xml +++ b/LCARStrek/global/skin/menubuttonBindings.xml @@ -1,39 +1,40 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LCARStrek/global/skin/menulistBindings.xml b/LCARStrek/global/skin/menulistBindings.xml index 3dc6b7d2..912de302 100755 --- a/LCARStrek/global/skin/menulistBindings.xml +++ b/LCARStrek/global/skin/menulistBindings.xml @@ -1,36 +1,36 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LCARStrek/global/skin/outliner.css b/LCARStrek/global/skin/outliner.css new file mode 100644 index 00000000..0bc2af09 --- /dev/null +++ b/LCARStrek/global/skin/outliner.css @@ -0,0 +1,161 @@ + +/******** Outliner widget **********/ + +/** basic outliner **************************************************** + * basic outliner widget for use in main windows where no decoration + * is required. + **/ + +outliner { + background-color: -moz-field; + border: none; + border-spacing: 0px; + color: black; +} + +outlinerbody { + background-color: white; + color: black; + -moz-user-select: none; +} + +outlinerbody:-moz-outliner-row +{ + height: 17px; +/* border: 1px solid transparent; */ +} + +outlinerbody:-moz-outliner-row(current) +{ +/* border: 1px dotted #F5DB95; */ +} + +outlinerbody:-moz-outliner-row(selected) +{ + background-color: #008484; + color: white; +} + +/* +outliner > outlinerbody:-moz-outliner-row(selected) +{ + background-color: ThreeDFace; + color: ButtonText; +} + +outliner:focus > outlinerbody:-moz-outliner-row(selected) +{ + background-color: Highlight; + color: HighlightText; +} +*/ + +outlinerbody:-moz-outliner-cell +{ + padding: 0px 0px 1px 2px; + white-space: nowrap; + vertical-align: middle; +} + +outlinerbody:-moz-outliner-cell(selected) +{ +} + +outlinerbody:-moz-outliner-cell-text +{ + color: inherit; + padding-left: 1px; + padding-right: 2px; +} + +outlinerbody:-moz-outliner-cell-text(selected) +{ + color: #FFCF00; +} + +/* +outlinerbody:-moz-outliner-line +{ + border: 1px dotted grey; +} + +outlinerbody:-moz-outliner-line(selected) +{ + border: 1px dotted black; +} +*/ + +outlinercol +{ + border: 1px solid #9C9CFF; + padding: 0px; + background-color: black; + color: FF9F00; +} + +.outlinercol-box, +.outlinercol-image-box { + border: 1px solid #9C9CFF; +} + +.outlinercol-box { + padding: 0px 4px 0px 4px; +} + +.outlinercol-image-box { + padding: 0px 1px 0px 1px; +} + +outlinercol:hover:active +{ + border: 1px solid #FFCF00 !important; +} + +outlinercol:hover:active > .outlinercol-box, +outlinercol:hover:active > .outlinercol-image-box +{ + border-top: 1px solid transparent; + border-right: none; + border-bottom: none; + border-left: 1px solid transparent; +} + +outlinercol:hover:active > .outlinercol-box, +outlinercol:hover:active > .outlinercol-image-box +{ + padding: 1px 4px 0px 5px; +} + +/* outliner header with sort direction indicators */ + +.outlinercol-sortdirection { + list-style-image: none; +} + +.sortDirectionIndicator[sortDirection="ascending"] > .outlinercol-box > .outlinercol-sortdirection { + list-style-image: url("chrome://global/skin/sortAscending.gif"); +} + +.sortDirectionIndicator[sortDirection="descending"] > .outlinercol-box > .outlinercol-sortdirection { + list-style-image: url("chrome://global/skin/sortDescending.gif"); +} + +.outliner-colpicker-icon +{ + list-style-image: url("chrome://global/skin/columnselect.gif"); +} + +/* twisty rules */ + +outlinerbody:-moz-outliner-twisty { + padding-right: 2px; + width: 12px; /* The image's width is 12 pixels */ + list-style-image: url("chrome://global/skin/twisty-closed.gif"); +} + +outlinerbody:-moz-outliner-twisty(open) { + width: 12px; /* The image's width is 12 pixels */ + list-style-image: url("chrome://global/skin/twisty-open.gif"); +} + + diff --git a/LCARStrek/global/skin/radio.css b/LCARStrek/global/skin/radio.css index 54da5088..1176f4fb 100755 --- a/LCARStrek/global/skin/radio.css +++ b/LCARStrek/global/skin/radio.css @@ -1,87 +1,87 @@ -/* stylesheet for XUL element */ - -/* default radio for dialogs */ -/* outer frame */ - radio - { - margin: 3px 5px 3px 5px; - } - - -/* checkmark outer frame */ - radio > .internal-box > .checkmark-box - { - -moz-border-radius: 50%; - margin-top: 2px; - } - -/* checkmark inner frame */ - radio > .internal-box > .checkmark-box > image - { - border: 1px solid #FF9F00; - width: 10px; - height: 10px; - padding: 1px; - -moz-border-radius: 50%; - } - - /* ensure that no list-style-image is inherited in from the Outside */ - .checkmark-box - { - list-style-image: none; - } - - - radio[checked="true"] > .internal-box > .checkmark-box > image - { - list-style-image: url(chrome://global/skin/check-radio.gif); - } - - radio:hover > .internal-box > .checkmark-box > image - { - border: 1px solid #FFCF00; - } - - radio[checked="true"][disabled="true"] > .internal-box > .checkmark-box > image, - radio[disabled="true"]:hover > .internal-box > .checkmark-box > image - { - list-style-image: url(chrome://global/skin/check-radio-disabled.gif); - } - - radio:hover:active > .internal-box > .checkmark-box > image - { - border: 2px inset #CCCCDD; - } - - radio[disabled="true"] > .internal-box > .checkmark-box > image, - radio[disabled="true"]:active > .internal-box > .checkmark-box > image - { - border: 1px solid #8050B0; - } - -/* text/icon frames */ - radio[value] > .internal-box > html, - radio.iconic > .internal-box > .icon - { - color: #FF9F00; - margin: 0px 0px 0px 4px; - padding: 1px; - } - - radio.iconic > .internal-box > html - { - margin-left: 4px; - } - - radio[disabled="true"][value] > .internal-box > html - { - color: #8050B0; - } - - radio:focus > .internal-box > html - { - border : 1px dotted #FFCF00; - padding : 0px; - } - - \ No newline at end of file +/* stylesheet for XUL element */ + +/* default radio for dialogs */ +/* outer frame */ + radio + { + margin: 3px 5px 3px 5px; + } + + +/* checkmark outer frame */ + radio > .internal-box > .checkmark-box + { + -moz-border-radius: 50%; + margin-top: 2px; + } + +/* checkmark inner frame */ + radio > .internal-box > .checkmark-box > image + { + border: 1px solid #FF9F00; + width: 10px; + height: 10px; + padding: 1px; + -moz-border-radius: 50%; + } + + /* ensure that no list-style-image is inherited in from the Outside */ + .checkmark-box + { + list-style-image: none; + } + + + radio[checked="true"] > .internal-box > .checkmark-box > image + { + list-style-image: url(chrome://global/skin/check-radio.gif); + } + + radio:hover > .internal-box > .checkmark-box > image + { + border: 1px solid #FFCF00; + } + + radio[checked="true"][disabled="true"] > .internal-box > .checkmark-box > image, + radio[disabled="true"]:hover > .internal-box > .checkmark-box > image + { + list-style-image: url(chrome://global/skin/check-radio-disabled.gif); + } + + radio:hover:active > .internal-box > .checkmark-box > image + { + border: 2px inset #CCCCDD; + } + + radio[disabled="true"] > .internal-box > .checkmark-box > image, + radio[disabled="true"]:active > .internal-box > .checkmark-box > image + { + border: 1px solid #8050B0; + } + +/* text/icon frames */ + radio[label] > .internal-box > html, + radio.iconic > .internal-box > .icon + { + color: #FF9F00; + margin: 0px 0px 0px 4px; + padding: 1px; + } + + radio.iconic > .internal-box > html + { + margin-left: 4px; + } + + radio[disabled="true"][label] > .internal-box > html + { + color: #8050B0; + } + + radio:focus > .internal-box > html + { + border : 1px dotted #FFCF00; + padding : 0px; + } + + diff --git a/LCARStrek/global/skin/scrollbarBindings.xml b/LCARStrek/global/skin/scrollbarBindings.xml new file mode 100644 index 00000000..0cbdd1a2 --- /dev/null +++ b/LCARStrek/global/skin/scrollbarBindings.xml @@ -0,0 +1,47 @@ + + +%textcontextDTD; +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LCARStrek/global/skin/scrollbars.css b/LCARStrek/global/skin/scrollbars.css index 0cbb2d14..2d4fd71b 100755 --- a/LCARStrek/global/skin/scrollbars.css +++ b/LCARStrek/global/skin/scrollbars.css @@ -3,14 +3,14 @@ /********* XP Scrollbar *********/ scrollbar { - -moz-binding: url("chrome://global/content/xulBindings.xml#scrollbar"); + -moz-binding: url("chrome://global/skin/scrollbarBindings.xml#scrollbar"); background-color: black; } /********* XP Scrollbar *********/ thumb { - -moz-binding: url(chrome://global/skin/workaround.xml#thumbh); + -moz-binding: url(chrome://global/skin/scrollbarBindings.xml#thumbh); background-color: #9C9CFF; padding: 1px; list-style-image: url("chrome://global/skin/scroll-thumb-horiz.gif"); @@ -23,7 +23,7 @@ thumb[disabled="true"] { } scrollbar[align="vertical"] > slider > thumb { - -moz-binding: url(chrome://global/skin/workaround.xml#thumbv); + -moz-binding: url(chrome://global/skin/scrollbarBindings.xml#thumbv); list-style-image: url("chrome://global/skin/scroll-thumb-vert.gif"); } @@ -41,6 +41,7 @@ thumb:hover { } scrollbarbutton { + -moz-binding: url(chrome://global/skin/scrollbarBindings.xml#scrollbarbutton); vertical-align: bottom; cursor: default; @@ -113,3 +114,4 @@ slider { + diff --git a/LCARStrek/global/skin/splitter.css b/LCARStrek/global/skin/splitter.css index 5048f7cb..0069dd45 100755 --- a/LCARStrek/global/skin/splitter.css +++ b/LCARStrek/global/skin/splitter.css @@ -1,84 +1,87 @@ -/******* Splitters *******/ - -splitter - { - cursor : e-resize; - background-color : #9C9CFF; - vertical-align : middle; - text-align : center; - padding : 0px; - border : none; - border-top : 3px solid black; - border-bottom : 3px solid black; - } - -splitter[state="dragging"] - { - background-color : #FFCF00; - } - -grippy - { - margin : 0px; - border : none; - border-top : 3px solid black; - border-bottom : 3px solid black; - padding : 0px; - list-style-image : url("chrome://global/skin/grippy-vertical-before.gif"); - cursor : pointer; - } - -splitter[state="collapsed"] > grippy - { - list-style-image : url("chrome://global/skin/grippy-vertical-after.gif"); - } - -grippy:hover - { - background-color : #FFCF00; - } - -grippy:hover:active - { - border : none; - } - -/* vertical splitters */ - window > splitter, box > splitter - { - width : 6px; - border-left : 0px solid black; - border-right : 0px solid black; - } - -/* horizontal splitters */ - /* XXX we should comment out the 'align' support to force people to migrate - to 'orient' */ - rows > splitter, - window[orient="vertical"] > splitter, - box[orient="vertical"] > splitter, - window[align="vertical"] > splitter, - box[align="vertical"] > splitter - { - cursor : n-resize; - border-top : 0px solid black; - border-bottom : 0px solid black; - } - - rows > splitter > grippy, - window[orient="vertical"] > splitter > grippy, - box[orient="vertical"] > splitter > grippy, - window[align="vertical"] > splitter > grippy, - box[align="vertical"] > splitter > grippy - { - list-style-image : url("chrome://global/skin/grippy-horizontal-before.gif"); - } - - rows > splitter[state="collapsed"] > grippy, - window[orient="vertical"] > splitter[state="collapsed"] > grippy, - box[orient="vertical"] > splitter[state="collapsed"] > grippy, - window[align="vertical"] > splitter[state="collapsed"] > grippy, - box[align="vertical"] > splitter[state="collapsed"] > grippy - { - list-style-image : url("chrome://global/skin/grippy-horizontal-after.gif"); - } \ No newline at end of file +/******* Splitters *******/ + +splitter + { + cursor : e-resize; + background-color : #9C9CFF; + vertical-align : middle; + text-align : center; + padding : 0px; + border : none; + border-top : 3px solid black; + border-bottom : 3px solid black; + } + +splitter[state="dragging"] + { + background-color : #FFCF00; + } + +grippy + { + margin : 0px; + border : none; + border-top : 3px solid black; + border-bottom : 3px solid black; + padding : 0px; + list-style-image : url("chrome://global/skin/grippy-vertical-before.gif"); + cursor : pointer; + } + +splitter[state="collapsed"] > grippy + { + list-style-image : url("chrome://global/skin/grippy-vertical-after.gif"); + } + +grippy:hover + { + background-color : #FFCF00; + } + +grippy:hover:active + { + border : none; + } + +/* vertical splitters */ + window > splitter, box > splitter, hbox > splitter + { + width : 6px; + border-left : 0px solid black; + border-right : 0px solid black; + } + +/* horizontal splitters */ + /* XXX we should comment out the 'align' support to force people to migrate + to 'orient' */ + rows > splitter, + window[orient="vertical"] > splitter, + vbox > splitter, + box[orient="vertical"] > splitter, + window[align="vertical"] > splitter, + box[align="vertical"] > splitter + { + cursor : n-resize; + border-top : 0px solid black; + border-bottom : 0px solid black; + } + + rows > splitter > grippy, + window[orient="vertical"] > splitter > grippy, + vbox > splitter > grippy, + box[orient="vertical"] > splitter > grippy, + window[align="vertical"] > splitter > grippy, + box[align="vertical"] > splitter > grippy + { + list-style-image : url("chrome://global/skin/grippy-horizontal-before.gif"); + } + + rows > splitter[state="collapsed"] > grippy, + window[orient="vertical"] > splitter[state="collapsed"] > grippy, + vbox > splitter[state="collapsed"] > grippy, + box[orient="vertical"] > splitter[state="collapsed"] > grippy, + window[align="vertical"] > splitter[state="collapsed"] > grippy, + box[align="vertical"] > splitter[state="collapsed"] > grippy + { + list-style-image : url("chrome://global/skin/grippy-horizontal-after.gif"); + } diff --git a/LCARStrek/global/skin/tabcontrol.css b/LCARStrek/global/skin/tabcontrol.css index cb896fe8..7a83c0bd 100755 --- a/LCARStrek/global/skin/tabcontrol.css +++ b/LCARStrek/global/skin/tabcontrol.css @@ -1,4 +1,4 @@ -tabcontrol { +tabbox { margin: 1px 5px 2px 5px; } @@ -26,12 +26,12 @@ tab:hover:active { text-decoration: none; } -tabbox { +tabs { padding: 0px 2px 0px 2px; } /* top tabs */ -tabcontrol[align="vertical"] tabbox[align="horizontal"] tab { +tabbox[align="vertical"] tabs[align="horizontal"] tab { border-bottom: none; -moz-border-radius: 8px 8px 0px 0px; padding-bottom: 1px; @@ -39,7 +39,7 @@ tabcontrol[align="vertical"] tabbox[align="horizontal"] tab { } /* bottom tabs */ -tabcontrol[align="vertical"] tabpanel + tabbox[align="horizontal"] tab { +tabbox[align="vertical"] tabpanels + tabs[align="horizontal"] tab { border-top: none; border-bottom: 1px solid #9C9CFF; border-left: 1px solid #9C9CFF; @@ -50,7 +50,7 @@ tabcontrol[align="vertical"] tabpanel + tabbox[align="horizontal"] tab { } /* left tabs */ -tabcontrol[align="horizontal"] tabbox[align="vertical"] tab { +tabbox[align="horizontal"] tabs[align="vertical"] tab { border-right: none; -moz-border-radius: 8px 0px 0px 8px; padding-right: 1px; @@ -58,7 +58,7 @@ tabcontrol[align="horizontal"] tabbox[align="vertical"] tab { } /* right tabs */ -tabcontrol[align="horizontal"] tabpanel + tabbox[align="vertical"] tab { +tabbox[align="horizontal"] tabpanels + tabs[align="vertical"] tab { border-top: 1px solid #9C9CFF; border-bottom: 1px solid #9C9CFF; border-left: none; @@ -68,21 +68,22 @@ tabcontrol[align="horizontal"] tabpanel + tabbox[align="vertical"] tab { margin: 2px 1px 2px 1px; } -tabcontrol { +tabbox { border: none; } /* border on bottom only, no padding (used in search) */ -tabpanel.light { +tabpanels.light { border: none; border-bottom: 1px solid #9C9CFF; padding: 0px; } -tabpanel { +tabpanels { -moz-border-radius: 5px; border: 1px solid #9C9CFF; padding: 5px; } + diff --git a/LCARStrek/global/skin/textfield.css b/LCARStrek/global/skin/textfield.css index 9c11b516..33b017f9 100755 --- a/LCARStrek/global/skin/textfield.css +++ b/LCARStrek/global/skin/textfield.css @@ -1,102 +1,102 @@ -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */ -@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */ - -/** generic text fields (in dialogs) - **/ - -/* outer frame */ - textfield - { - -moz-border-radius : 3px; - border : 1px solid #9C9CFF; - font : inherit; - color : #E7ADE7; - padding : 0px; - margin : 1px 3px 2px 4px; - background-color : #000000; - cursor : text; - } - - textfield[readonly="true"] - { - border : 1px solid #8050B0; - color : #8050B0; - } - - textfield[focused="true"] - { - border : 2px solid #FFCF00; - margin : 0px 2px 1px 3px; - } - - textfield[focused="true"][readonly="true"] - { - border : 1px solid #8050B0; - margin : 1px 3px 2px 4px; - } - -/* internal frame */ - .textfield-internal-box - { - -moz-border-radius : 3px; - margin : 0px; - padding : 1px 2px 1px 2px; - cursor : text; - border : none; - background-color : inherit; - color : inherit; - } - - textfield[disabled="true"] > .textfield-internal-box - { - border : none; - } - - .textarea-internal-box - { - padding : 0px 0px 0px 2px; - } - -/* internal text widget */ - .textfield-input, .textfield-textarea - { - color : inherit; - border : none !important; - margin : 0px; - font : inherit; - background-color : inherit; - } - - textfield[disabled="true"] - { - cursor : default ! important; - } - -/** plain atomic textfields, class="plain" **/ - textfield.plain, - textfield.plain > .textfield-internal-box, - textfield.plain > .textarea-internal-box - { - padding : 0px !important; - margin : 0px !important; - border : none !important; - } - - .scrollfield - { - border : none !important; - margin : 0px; - margin-top : 1px; - padding : 0px !important; - background : inherit; - } - - .scrollfield > .textfield-internal-box - { - border : none !important; - margin : 0px !important; - padding : 0px !important; - } - - - \ No newline at end of file +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */ +@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */ + +/** generic text fields (in dialogs) + **/ + +/* outer frame */ + textbox + { + -moz-border-radius : 3px; + border : 1px solid #9C9CFF; + font : inherit; + color : #E7ADE7; + padding : 0px; + margin : 1px 3px 2px 4px; + background-color : #000000; + cursor : text; + } + + textbox[readonly="true"] + { + border : 1px solid #8050B0; + color : #8050B0; + } + + textbox[focused="true"] + { + border : 2px solid #FFCF00; + margin : 0px 2px 1px 3px; + } + + textbox[focused="true"][readonly="true"] + { + border : 1px solid #8050B0; + margin : 1px 3px 2px 4px; + } + +/* internal frame */ + .textbox-internal-box + { + -moz-border-radius : 3px; + margin : 0px; + padding : 1px 2px 1px 2px; + cursor : text; + border : none; + background-color : inherit; + color : inherit; + } + + textbox[disabled="true"] > .textbox-internal-box + { + border : none; + } + + .textarea-internal-box + { + padding : 0px 0px 0px 2px; + } + +/* internal text widget */ + .textbox-input, .textbox-textarea + { + color : inherit; + border : none !important; + margin : 0px; + font : inherit; + background-color : inherit; + } + + textbox[disabled="true"] + { + cursor : default ! important; + } + +/** plain atomic textfields, class="plain" **/ + textbox.plain, + textbox.plain > .textbox-internal-box, + textbox.plain > .textarea-internal-box + { + padding : 0px !important; + margin : 0px !important; + border : none !important; + } + + .scrollfield + { + border : none !important; + margin : 0px; + margin-top : 1px; + padding : 0px !important; + background : inherit; + } + + .scrollfield > .textbox-internal-box + { + border : none !important; + margin : 0px !important; + padding : 0px !important; + } + + + diff --git a/LCARStrek/global/skin/toolbar.css b/LCARStrek/global/skin/toolbar.css index 2108f6a9..3e110e80 100755 --- a/LCARStrek/global/skin/toolbar.css +++ b/LCARStrek/global/skin/toolbar.css @@ -1,28 +1,28 @@ - -toolbox - { - background-color : #000000; - } - -toolbar - { - background-color : #FF9F00; - border : 1px solid #9C9CFF; - } - -toolbargrippy - { - background-color : #000000; - border : none; - } - -toolbar[collapsed="true"] > toolbargrippy - { - width : 30px; - } - -toolbarseparator - { - width : 2em; - } - \ No newline at end of file + +toolbox + { + background-color : #000000; + } + +toolbar + { + background-color : #FF9F00; +/* border : 1px solid #9C9CFF; */ + } + +toolbargrippy + { + background-color : #000000; + border : none; + } + +toolbar[collapsed="true"] > toolbargrippy + { + width : 30px; + } + +toolbarseparator + { + width : 2em; + } + diff --git a/LCARStrek/global/skin/tree.css b/LCARStrek/global/skin/tree.css index 23c4d3dd..e38bcc4c 100755 --- a/LCARStrek/global/skin/tree.css +++ b/LCARStrek/global/skin/tree.css @@ -35,31 +35,44 @@ treecell { padding: 1px 0px 1px 2px; } -.treecell-header { - background-color: #9C9CFF; - color: black; - vertical-align: middle; - padding: 0px 0px 0px 5px; - border-right: 1px solid black; -} - .treecell-header-image { - background-color: #9C9CFF; - color: black; - vertical-align: middle; - border-right: 1px solid black; + list-style-image : inherit; } +.treecell-header, +.treecell-header-image, .treecell-inset-header { background-color: #9C9CFF; - border-right: 1px solid black; + color: black; + vertical-align: middle; + padding: 0px; + border: 1px solid #000000; +} + +.treecell-header-box, +.treecell-header-image-box { + padding: 1px; } -tree.inset > treehead > treerow > treecell.sortable:active { - border-right: 1px solid black; +.treecell-header:hover:active > .treecell-header-box, +.treecell-inset-header:hover:active > .treecell-header-box, +.treecell-header-image:hover:active > .treecell-header-image-box { + padding: 2px 0px 0px 2px; } +.treecell-header:hover:active, +.treecell-inset-header:hover:active, +.treecell-header-image:hover:active { + border: 1px solid #FFCF00; +} + +.treecell-image + { + padding : 0px; + } + + /** class="propertylist" ****************************************** * class for cells in grid-formatted property lists. **/ @@ -119,14 +132,17 @@ treeitem[selected="true"][container="true"][open="true"] > treerow > treecell > /* tree header with sort direction indicators */ -.sortDirectionIndicator[sortDirection="ascending"] > .tree-header-sortdirection { +.tree-header-sortdirection { + list-style-image : none; +} + +.sortDirectionIndicator[sortDirection="ascending"] > .treecell-header-box > .tree-header-sortdirection { list-style-image: url("chrome://global/skin/sortAscending.gif"); margin-right: 3px; } -.sortDirectionIndicator[sortDirection="descending"] > .tree-header-sortdirection { +.sortDirectionIndicator[sortDirection="descending"] > .treecell-header-box > .tree-header-sortdirection { list-style-image: url("chrome://global/skin/sortDescending.gif"); - margin-right: 3px; } treecol[sortDirection="true"], @@ -140,6 +156,34 @@ treecol[sortActive="true"] list-style-image : url("chrome://global/skin/columnselect.gif"); } +.inline-edit-cell-box + { + margin-left : 2px; + } + +/* Inline Editable Treecells */ +.textbox-inline-edit + { + border : 1px solid #FFCF00 !important; + margin : 0px !important; + } + +.textbox-inline-edit > .textbox-internal-box > .textbox-input + { + border : 0px !important; + padding : 1px !important; + margin : 0px !important; + } +.textbox-inline-edit > .textbox-internal-box + { + border : 0px !important; + padding : 0px !important; + margin : 0px !important; + } +treerow[mode="inline-edit"] + { + background : transparent; + } diff --git a/LCARStrek/global/skin/workaround.xml b/LCARStrek/global/skin/workaround.xml deleted file mode 100644 index cf9a5cb3..00000000 --- a/LCARStrek/global/skin/workaround.xml +++ /dev/null @@ -1,27 +0,0 @@ - - -%textcontextDTD; -]> - - - - - - - - - - - - - - - - - - - diff --git a/LCARStrek/manifest.rdf b/LCARStrek/manifest.rdf index a4f8d0ab..cf561e5e 100755 --- a/LCARStrek/manifest.rdf +++ b/LCARStrek/manifest.rdf @@ -27,9 +27,18 @@ + + + + + + + + + diff --git a/LCARStrek/messenger/skin/addressbook/addressbook.css b/LCARStrek/messenger/skin/addressbook/addressbook.css index 9188ba87..1fbc962d 100755 --- a/LCARStrek/messenger/skin/addressbook/addressbook.css +++ b/LCARStrek/messenger/skin/addressbook/addressbook.css @@ -76,6 +76,14 @@ html|a[class="CardViewText"] { min-width: 30px; } +html|p { + border: none !important; +} + +[hide] { + visibility: collapse; +} + /* CardEdit styles - used in the Card Edit Dialog */ @@ -112,7 +120,7 @@ treeitem[selected="true"] > treerow { background-color: #CCCCDD; */ } -tree[class="abDirectory"] treeitem > treerow > treecell > .tree-icon { +tree[class="abDirectory"] treeitem > treerow > treecell > .tree-cell-primary-icon { list-style-image: url("chrome://messenger/skin/addressbook/myaddrbk.gif"); } @@ -122,16 +130,18 @@ tree[class="abResults"] treeitem > treerow > treecell.cardicon { min-height: 14px; } +treeitem[empty="true"] > treerow > treecell > .tree-cell-twisty { + list-style-image: none !important; + padding-left: 12px; +} /* Address Book specific style */ #results_box { border-left: 8px solid #CCCCDD; } - -[hide] { - visibility: collapse; -} + +/* Toolbar buttons */ #button-newcard { list-style-image:url("chrome://messenger/skin/addressbook/newcard.gif"); @@ -207,47 +217,103 @@ tree[class="abResults"] treeitem > treerow > treecell.cardicon { } */ -#button-stop { - list-style-image:url("chrome://global/skin/stop.gif"); +#searchlabel { + padding: 0px; + padding-left: 5px; + padding-bottom:2px; + white-space: nowrap; + font-size: smaller; + min-width: 20px; } -#button-stop:hover { - list-style-image:url("chrome://global/skin/stop-hover.gif"); +#searchtext { + min-width: 20px; + padding: 0px; } -#button-stop[disabled="true"] { - list-style-image:url("chrome://global/skin/stop_dis.gif"); ++/* ==FOR abSelectAddressesDialog.xul =======*/ + +#3PaneBox { } -#button-search { - list-style-image:url("chrome://global/skin/search.gif"); +#dirTreeBox { + width : 180px; + height : 100%; +/* background-color : window; */ + border : none; } -#button-search:hover { - list-style-image:url("chrome://global/skin/search-hover.gif"); +/* -note- #dirTree#resultsTree is shared with addressbook.xul */ + +#sidebar-box { + border: none; } -#button-search[disabled="true"] { - list-style-image:url("chrome://global/skin/search_dis.gif"); +tree > treehead > treerow { + border: none; } -#searchlabel { - padding: 0px; - padding-left: 5px; - padding-bottom:2px; - white-space: nowrap; - font-size: smaller; - min-width: 20px; +#dirTree { // Tree that lists different Address Books + min-width : 10px; + border : none; } + +#dirTreeBox { + border : none; + } -#searchtext { - min-width: 20px; - padding: 0px; +#dirTree[type="dialog"] { } -treeitem[empty="true"] > treerow > treecell > .tree-cell-twisty { - - list-style-image: none !important; - -} +#resultsTree { + border-top : none; + border-bottom : none; +} + +#results-bucket-tree-box { +} + +#resultsTreeBox { +/* background-color: window; */ +} +#vertical-splitter { + min-width : 4px; +} + +#addToBucketButtonBox { // Row of "To" "CC" and "Bcc" buttons + padding : 0.3em; + min-width : 10px; + border-top: 1px solid ThreeDHighlight; +} + +#bucketBox { + height : 170px; +} + +#addressBucket { + height : 100px; + min-width : 10px; +} + +#rightColumnButtonBox { // Column with "New", "Edit" and "Remove" buttons + padding : .5em; + padding-right : 0px; +} + +.3rd-column-spring { // Vertical Springs between 3rd column buttons + height : 10px; +} + +.middle-button-spring { // Springs between To, CC, and BCC buttons + width : 10px; +} + +#bucket-splitter { + border: none; + min-height: 4px; +} + +#sidebar-panels-splitter { + border-top : none; +} diff --git a/LCARStrek/messenger/skin/mailheader.css b/LCARStrek/messenger/skin/mailheader.css index 86c0e115..7759df48 100755 --- a/LCARStrek/messenger/skin/mailheader.css +++ b/LCARStrek/messenger/skin/mailheader.css @@ -1,83 +1,83 @@ -/* - * These are the style attributes for the XUL display. - */ -window { overflow: auto; } -mailheader { display: block; } -mailattachcount { display: none; } - -box[name=header-attachment] { background-color: #EFEFEF; border: 0px solid #EFEFEF; border-left-width: 4px; } -box[name=header-part1] { background-color: #EFEFEF; border: 0px solid #EFEFEF; border-left-width: 4px; } -box[name=header-part2] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; } -box[name=header-part3] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; } -box[name=header-seamonkey] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; } - -headerdisplayname { font-weight: bold; white-space: pre; } -header { text-align: left; } - -menubar[name=attachment-menubar] { background-color: #EFEFEF; border: 0px solid #EFEFEF; } -menu[name=attachment-menu] { background-color: #EFEFEF; border: 0px solid #EFEFEF; } - -/* - * For printing/HTML display... - */ -table[name=header-part1] { background-color: #EFEFEF; border: 0px solid #EFEFEF; border-left-width: 4px; } -table[name=header-part2] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; } -table[name=header-part3] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; } -div.headerdisplayname { font-weight: bold; white-space: pre; display: inline; } - -body { - background-color: white; -} - - - -.text-flowed tt { - font-family: inherit; -} -.text-flowed blockquote { - margin: 0em 0em; - border-color: black; -} - -/* Anyhow, the
doesn't inherit whitespace setting from - its parent pre, but from its ancestor .text-plain. */ -.text-plain { - white-space: -moz-pre-wrap; -} -.text-plain[wrap=false] { - white-space: pre; -} -.text-plain pre { - font-family: inherit; - white-space: inherit; - margin: inherit; -} -/* That's how it should really be -.text-plain pre { - font-family: inherit; - margin: inherit; -} -.text-plain[wrap=false] pre { - white-space: pre; -} -*/ -.text-plain[graphical-quote=false] blockquote { - padding-left: inherit; - border-left: inherit; - margin: 0em 0em; -} -.text-plain[graphical-quote=true] blockquote { - margin: 0em 0em; - border-width: medium; - border-color: black; -} -.text-plain[graphical-quote=true] .txt-citetags { - display: none; -} - -.txt-sig, .signature { - color: gray; -} -.txt-sig > a, .signature > a { - color: 7777FF /* light blue */; -} +/* + * These are the style attributes for the XUL display. + */ +window { overflow: auto; } +mailheader { display: block; } +mailattachcount { display: none; } + +box[name=header-attachment] { background-color: #EFEFEF; border: 0px solid #EFEFEF; border-left-width: 4px; } +box[name=header-part1] { background-color: #EFEFEF; border: 0px solid #EFEFEF; border-left-width: 4px; } +box[name=header-part2] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; } +box[name=header-part3] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; } +box[name=header-seamonkey] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; } + +headerdisplayname { font-weight: bold; white-space: pre; } +header { text-align: left; } + +menubar[name=attachment-menubar] { background-color: #EFEFEF; border: 0px solid #EFEFEF; } +menu[name=attachment-menu] { background-color: #EFEFEF; border: 0px solid #EFEFEF; } + +/* + * For printing/HTML display... + */ +table[name=header-part1] { background-color: #EFEFEF; border: 0px solid #EFEFEF; border-left-width: 4px; } +table[name=header-part2] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; } +table[name=header-part3] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; } +div.headerdisplayname { font-weight: bold; white-space: pre; display: inline; } + +body { + background-color: white; +} + + + +.text-flowed tt { + font-family: inherit; +} + +.moz-text-flowed blockquote { + margin: 0em 0em; + border-color: black; +} + +.moz-text-plain pre { + font-family: inherit; + white-space: inherit; + margin: inherit; +} + +.moz-text-plain[wrap=true] { + white-space: -moz-pre-wrap; +} + +.moz-text-plain[wrap=false] { + white-space: pre; +} + +.moz-text-plain[wrap=flow] .moz-txt-sig { + white-space: -moz-pre-wrap; +} + +.moz-text-plain[graphical-quote=false] blockquote { + padding-left: inherit; + border-left: inherit; + margin: 0em 0em; +} + +.moz-text-plain[graphical-quote=true] blockquote { + margin: 0em 0em; + border-width: medium; + border-color: black; +} + +.moz-text-plain[graphical-quote=true] .txt-citetags { + display: none; +} + +.moz-txt-sig, .moz-signature { + color: gray; +} +.moz-txt-sig > a, .moz-signature > a { + color: 7777FF /* light blue */; +} + diff --git a/LCARStrek/messenger/skin/messenger.css b/LCARStrek/messenger/skin/messenger.css index b141ad46..0e3407c4 100755 --- a/LCARStrek/messenger/skin/messenger.css +++ b/LCARStrek/messenger/skin/messenger.css @@ -395,42 +395,130 @@ menu.push[disabled="true"]:active { } /** - * Make sure the min height is small so we can - * resize the pane vertically -EDV + * this belongs in the mail filter window + */ + +.enabledcol + { + list-style-image: url("chrome://messenger/skin/readmail.gif"); + } + +.enabledcol[value="true"] + { + list-style-image: url("chrome://messenger/skin/unreadmail.gif"); + } + +.usesMailWidgets + { + -moz-binding : url(chrome://messenger/content/mailWidgets.xml#dummy); + } + +searchattribute + { + -moz-binding: url(chrome://messenger/content/mailWidgets.xml#searchattribute); + } + +searchoperator + { + -moz-binding: url(chrome://messenger/content/mailWidgets.xml#searchoperator); + } + +searchvalue + { + -moz-binding: url(chrome://messenger/content/mailWidgets.xml#searchvalue); + } + +searchterm + { + -moz-binding: url(chrome://messenger/content/mailWidgets.xml#searchterm); + } + +/* addressing widget trees */ +.treecell-mailcardicon + { + border-bottom : 1px solid #9C9CFF !important; + padding : 0px; + } + +.textfield-mailcardicon + { + list-style-image : url("chrome://messenger/skin/abcard.gif"); + } + +/* for the main standard mail window ONLY */ +.mailwindow-statusbar + { + border-left : none; + } + +/** + *Focus rings on 3 pane view */ -box#messagepanebox + +/* +#threadpane-splitter { - min-height: 10px; - height: 0px; + border-left : none; + border-top : none; } +*/ +#threadTree +{ + border-top : none; +} -/** - * this belongs in the mail filter window - */ +#folderTree> treechildren, +#threadTree > treechildren +{ + border : none; +} -.enabledcol { - list-style-image: url("chrome://messenger/skin/readmail.gif"); +#folderTree:focus > treechildren, +#threadTree[focusring="true"] > treechildren +{ + border : none; } -.enabledcol[value="true"] { - list-style-image: url("chrome://messenger/skin/unreadmail.gif"); +#messagepane +{ + border : none; } -searchattribute { - -moz-binding: url(chrome://messenger/content/mailWidgets.xml#searchattribute); +#messagepanebox[focusring="true"] +{ + border : none; } -searchoperator { - -moz-binding: url(chrome://messenger/content/mailWidgets.xml#searchoperator); +#messagepanebox + { + border : none; + } + +#msgHeaderView +{ + border-top : none; } -searchvalue { - -moz-binding: url(chrome://messenger/content/mailWidgets.xml#searchvalue); +#msgHeaderView > toolbar > toolbargrippy +{ + border-left : none; } -searchterm { - -moz-binding: url(chrome://messenger/content/mailWidgets.xml#searchterm); +.awIdentityLabel +{ + width: 8em; + margin-left: 5px; +} +/* +#accountCentralBox +{ + background-color:#FFFFFF; +} +*/ +#status-bar +{ + border-left : none; } diff --git a/LCARStrek/messenger/skin/messengercompose/messengercompose.css b/LCARStrek/messenger/skin/messengercompose/messengercompose.css index 4caf907a..2a0d46e6 100755 --- a/LCARStrek/messenger/skin/messengercompose/messengercompose.css +++ b/LCARStrek/messenger/skin/messengercompose/messengercompose.css @@ -16,49 +16,53 @@ color: black; } -spring.spacer { - width: 5px; - height: 5px; -} - -box.cleanborder { - margin: 10px; - padding: 10px; -/* border: 2px groove white; */ - width: 100%; -} - -box.padded { - margin: 10px; - width: 100%; -} - - /* addressing widget */ - -tree[class="addressingWidget"] treeitem > treerow > treecell > box > image { - vertical-align: middle; - padding:2px; - border:none; - list-style-image: url("chrome://messenger/skin/addressbook/person.gif"); - -moz-user-focus: ignore; -} - -textfield.addressingWidget[autocomplete="true"] { - border : 2px solid #FFFFFF; - margin : 1px; -} - -textfield.addressingWidget[autocomplete="true"][focused="true"] -{ - border : 2px solid #6699cc; - margin : 1px; -} - -textfield.addressingWidget[autocomplete="true"] > box -{ - border : none; -} +#addressingWidgetTree + { + height : 80px; + width : 0px; + -moz-user-focus : none; + } + +#addressingWidgetTree > .tree-container-treerows + { + border-left: none; + } + +#listcol-addressingWidget + { + width : 9em; + border-right : 1px solid #CCD0DD; + } + +#addressingWidgetTree > treechildren > treeitem > treerow, +#addressingWidgetTree > treechildren > treeitem[selected="true"] > treerow { + border : none; + background-color : inherit; + color : inherit; +} + +.treecell-addressingWidget + { + border-bottom : 1px solid #CCD0DD; + padding : 0px !important; + } + +.treecell-addressingWidget:first-child + { + border-bottom : none; + } + +.dummy-row-cell:first-child + { + border-bottom : 1px solid #CCD0DD; + } + +.person-icon + { + list-style-image : url("chrome://messenger/skin/addressbook/person.gif"); + margin : 0px 3px 0px 3px; + } #button-send { list-style-image:url("chrome://messenger/skin/messengercompose/send.gif"); @@ -144,37 +148,60 @@ textfield.addressingWidget[autocomplete="true"] > box list-style-image:url("chrome://global/skin/stop_dis.gif"); } -/* hack because of bad skinnability and hardcoded borders */ -toolbar#MsgHeadersToolbar > box > box > box { - border: 0px !important; -} -/* hack because of bad skinnability and hardcoded borders */ -tree#addressingWidgetTree { -/* border: 1px inset #CCCCDD !important; */ -} +#compose-toolbar-sizer + { + height : 3px; + margin-top : 0px; + border-top : none; + } + +#content-frame + { + border : 1px inset #CCD0DD; + } -box#addressingWidget { - -moz-user-focus: normal; +#msgIdentity, #addressingWidgetTree, #msgSubject + { + margin-right : 3px; } -tree#attachmentBucket { - -moz-user-focus: normal; -/* border: 1px inset #CCCCDD; */ +#attachmentbucket-sizer + { + width : 5px; + } + +#attachmentBucket + { + margin-left : 3px; + -moz-user-focus: normal !important; + } + +#attachmentBucketText + { + margin-left : 3px; + -moz-user-focus : none; + } + +/* askSendFormat dialog */ + +#askSendFormat { + width: 40em; } -tree#attachmentBucket > treechildren > treeitem { - color: #FF9F00; +#askImageBox { + vertical-align: top; } -#msgSubject { - -moz-user-focus: normal; +#convertYes { + list-style-image:url("chrome://global/skin/question-icon.gif"); } -#msgIdentity { - -moz-user-focus: normal; +#convertAltering { + list-style-image:url("chrome://global/skin/question-icon.gif"); } -button#statusText > .button-internal-box { - border: 0px; +#convertNo { + list-style-image:url("chrome://global/skin/alert-icon.gif"); } + diff --git a/LCARStrek/messenger/skin/msgHdrViewOverlay.css b/LCARStrek/messenger/skin/msgHdrViewOverlay.css index 832f542b..c5a04d32 100755 --- a/LCARStrek/messenger/skin/msgHdrViewOverlay.css +++ b/LCARStrek/messenger/skin/msgHdrViewOverlay.css @@ -1,29 +1,28 @@ /* -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. + * 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-2001 Netscape Communications Corporation. All + * Rights Reserved. + * + * Contributor(s): + * Scott MacGregor (mscott@netscape.com) + * Joe Hewitt (hewitt@netscape.com) + * Robert Kaiser (KaiRo@KaiRo.at) */ - - -/* These are the style attributes we are applying to the message header - * view overlay which shows the message headers for a selected message. - * some of this stuff originated from mailheaders.css - */ - + @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */ @namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */ @@ -37,71 +36,76 @@ toolbar > .toolbar-holder { mail-emailaddress { -moz-binding : url(chrome://messenger/content/mailWidgets.xml#mail-emailaddress); - display : inline; + display : -moz-xul-inline-box; } -[hide] { - visibility: collapse; -} +.buttonTopSpacer + { + height : 0.3em; + } + +.buttonSpacer + { + width : 0.5em; + } -spring.buttonTopSpacer { height: .3em; } -spring.buttonSpacer { width: .5em; } -box.headerBox { overflow: hidden; min-width: 50px; padding: 1px; } -box.header-part1 { background-color: #9C9CFF; color: #000000; border: none; min-height: 16px; border-right: 3px solid black; } -box.header-part2 { background-color: #E7ADE7; color: #000000; border: none; min-height: 16px; border-right: 3px solid black; } -box.header-part3 { background-color: #E7ADE7; color: #000000; border: none; min-height: 16px; border-right: 3px solid black; } - -#addToAddressBookButton { - list-style-image:url("chrome://messenger/skin/addtoab.gif"); - min-height: 20px; - margin: 0px; +.headerValueBox + { + width : 7.0em; + text-align : right; } -#attachmentButton { - list-style-image:url("chrome://messenger/skin/attach.gif"); - min-height: 20px; - margin: 0px; -} +.headerBox + { + overflow : hidden; + min-width : 50px; + } -.emailDisplayImage + +#addToAddressBookButton { - align : right; + list-style-image:url("chrome://messenger/skin/addtoab.gif"); + min-height: 20px; + margin: 0px; } -.emailSeparator +#attachmentButton { - display : inline; + list-style-image:url("chrome://messenger/skin/attach.gif"); + min-height: 20px; + margin: 0px; } -.emailDisplayButton +.emailDisplayImage { + text-align : right; + } + +.emailDisplayButton + { color : #FFCF00; - text-decoration : underline; cursor : pointer; - max-height : 15px; - /* This is a hack because I can't find out where that strange bug is hitting me */ - /* see http://www.hirsch.sth.ac.at/bugzilla/show_bug.cgi?id=50 */ + min-height : 16px; -moz-border-radius: : 3px; background-color : black; } .emailDisplayButton:hover { - /* This is a hack because I can't find out where that strange bug is hitting me */ color : black; background-color : #FFCF00; } .showMoreAddressesButton { - list-style-image : url("chrome://messenger/skin/more.gif"); - display : inline; + list-style-image : url("chrome://global/skin/twisty-closed.gif"); +/* list-style-image : url("chrome://messenger/skin/more.gif"); */ } .showFewerAddressesButton { - list-style-image : url("chrome://messenger/skin/less.gif"); - display : inline; + list-style-image : url("chrome://global/skin/twisty-open.gif"); +/* list-style-image : url("chrome://messenger/skin/less.gif"); */ } html.headerValue @@ -128,11 +132,62 @@ text.headerValue { white-space : normal; min-width : 50px; +/* border-bottom : 1px solid #9999CC; */ } - -#msgHeaderView - { - border-left : none; - border-right : none; - } + +.expandHeaderViewButton { + list-style-image: url("chrome://global/skin/twisty-open.gif"); + margin-left: .5em; + margin-right: .5em; +} + +.collapsedHeaderViewButton +{ + list-style-image: url("chrome://global/skin/twisty-closed.gif"); + margin-left: .5em; + } + + +/* ::::: collapsed view styles ::::: */ +.collapsedToggleHdrBox +{ + vertical-align: middle; +} + +#collapsedAttachmentBox { + text-align: center; +} + +#collapseddateValue +{ + margin-left: .7em; +} + +#collapsedfromBox +{ + width: 18em; +} + +#collapseddateBox + { + width: 12em; +} + +text.collapsedHeaderDisplayName +{ + font-weight: bold; + margin-left: .7em; + min-height: 16px; +} + +.collapsedAttachmentButton +{ + list-style-image: url("chrome://messenger/skin/message-mail-attach.gif"); + margin-right: .5em; + margin-left: 1em; +} + +[hide] { + visibility: hidden; +} diff --git a/LCARStrek/messenger/skin/threadPane.css b/LCARStrek/messenger/skin/threadPane.css index 939080a3..b0158f6a 100755 --- a/LCARStrek/messenger/skin/threadPane.css +++ b/LCARStrek/messenger/skin/threadPane.css @@ -1,128 +1,163 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- - * 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. - */ - -.tree-thread-row.unread-true { - font-weight: bold; -} - -.prioritycol-highest -{ - color:red; -} - -.prioritycol-high -{ - color: rgb(128, 0, 0); -} - -.prioritycol-lowest -{ - color: rgb(170, 170, 170); -} - -.prioritycol-low -{ - color: rgb(85, 85, 85); -} - -.tree-cell-threadpane-icon { - list-style-image: url("chrome://messenger/skin/message-mail.gif"); - min-height: 14px; -} - -.tree-cell-threadpane-icon.status-new { - list-style-image: url("chrome://messenger/skin/message-mail-new.gif"); -} - -.tree-cell-threadpane-icon.message-type-news { - list-style-image: url("chrome://messenger/skin/message-news.gif"); -} - -.tree-cell-threadpane-icon.message-type-news.status-new { - list-style-image: url("chrome://messenger/skin/message-news-new.gif"); -} - -.tree-cell-threadpane-icon.message-type-mail.has-attachment-true { - list-style-image: url("chrome://messenger/skin/message-mail-attach.gif"); -} - -.tree-cell-threadpane-icon.is-imap-deleted-true { - list-style-image: url("chrome://messenger/skin/message-mail-imapdelete.gif"); -} - -.unreadcol-false { - list-style-image: url("chrome://messenger/skin/readmail.gif"); - min-height: 14px; -} - -.unreadcol-true { - list-style-image: url("chrome://messenger/skin/unreadmail.gif"); -} - -.flagcol-unflagged { - list-style-image: url("chrome://messenger/skin/readmail.gif"); - min-height: 14px; -} - -.flagcol-flagged { - list-style-image: url("chrome://messenger/skin/flaggedmail.gif"); -} - -treeitem > treerow > .threadcol-thread{ - list-style-image: url("chrome://messenger/skin/thread-closed.gif"); -} - -treeitem[open="true"] > treerow > .threadcol-thread{ - list-style-image: url("chrome://messenger/skin/thread-open.gif"); -} - -treeitem > treerow > .threadcol-threadWithUnread{ - list-style-image: url("chrome://messenger/skin/thread-new-closed.gif"); -} - -treeitem[open="true"] > treerow > .threadcol-threadWithUnread{ - list-style-image: url("chrome://messenger/skin/thread-new-open.gif"); -} - -.threadColumnHeader[currentView="threaded"] > .tree-header-image { - list-style-image: url("chrome://messenger/skin/threadcol.gif"); -} - -.threadColumnHeader[currentView="unthreaded"] > .tree-header-image { - list-style-image: url("chrome://messenger/skin/unthreadcol.gif"); -} - -.readColumnHeader > .tree-header-image { - list-style-image: url("chrome://messenger/skin/unreadmail.gif"); -} - -.flagColumnHeader > .tree-header-image { - list-style-image: url("chrome://messenger/skin/flaggedmail.gif"); -} - -treeitem[empty="true"] > treerow > .tree-cell-threadpane-icon > .tree-cell-twisty - { - visibility : hidden; - } - -#threadTree - { - border-top : none; - } \ No newline at end of file +/* + * 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-2001 Netscape Communications Corporation. All + * Rights Reserved. + * + * Contributor(s): + * Scott MacGregor (mscott@netscape.com) + * Joe Hewitt (hewitt@netscape.com) + * Robert Kaiser (KaiRo@KaiRo.at) + */ + +/* ===== threadPane.css ============================================== + == Styles for the thread pane in the Messenger 3-pane window. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: outliner rows ::::: */ + +outliner:focus > outliner-bodybox +{ + border: 1px solid black; +} + +outliner > outliner-bodybox +{ + border: 1px solid transparent; +} + +outlinerbody:-moz-outliner-cell-text(unread) +{ + font-weight: bold; +} + +outlinerbody:-moz-outliner-cell-text(offline) +{ + font-style: italic; +} + +/* ::::: priority colors ::::: */ + +outlinerbody:-moz-outliner-cell-text(priority-highest) +{ + color:red; +} + +outlinerbody:-moz-outliner-cell-text(priority-high) +{ + color: rgb(128, 0, 0); +} + +outlinerbody:-moz-outliner-cell-text(priority-lowest) +{ + color: rgb(170, 170, 170); +} + +outlinerbody:-moz-outliner-cell-text(priority-low) +{ + color: rgb(85, 85, 85); +} + +/* ::::: message icons ::::: */ + +/* ::::: message column icons ::::: */ + +/* ..... thread column ..... */ + + +outlinercol.threadColumnHeader { + list-style-image: url("chrome://messenger/skin/unthreadcol.gif"); +} + +outlinercol.threadColumnHeader[sortDirection="ascending"] { + list-style-image: url("chrome://messenger/skin/threadcol.gif"); +} + +outlinercol.threadColumnHeader[sortDirection="descending"] { + list-style-image: url("chrome://messenger/skin/threadcol.gif"); +} + +outlinerbody:-moz-outliner-image(threadCol, container) { + list-style-image: url("chrome://messenger/skin/thread-closed.gif"); +} + +outlinerbody:-moz-outliner-image(threadCol, container, open) { + list-style-image: url("chrome://messenger/skin/thread-open.gif"); +} + +outlinerbody:-moz-outliner-image(threadCol, container, hasUnread) { + list-style-image: url("chrome://messenger/skin/thread-new-closed.gif"); +} + +outlinerbody:-moz-outliner-image(threadCol, container, hasUnread, open) { + list-style-image: url("chrome://messenger/skin/thread-new-open.gif"); +} + +/* ..... read column ..... */ + +outlinercol.readColumnHeader { + list-style-image: url("chrome://messenger/skin/unreadmail.gif"); +} + +outlinerbody:-moz-outliner-image(unreadButtonColHeader) { + list-style-image: url("chrome://messenger/skin/readmail.gif"); +} + +outlinerbody:-moz-outliner-image(unreadButtonColHeader, unread) { + list-style-image: url("chrome://messenger/skin/unreadmail.gif"); +} + +/* ..... flag column ..... */ + +outlinercol.flagColumnHeader { + list-style-image: url("chrome://messenger/skin/flaggedmail.gif"); +} + +outlinerbody:-moz-outliner-image(flaggedCol) { + list-style-image: url("chrome://messenger/skin/readmail.gif"); +} + +treeitem[open="true"] > treerow > .threadcol-threadWithUnread{ + list-style-image: url("chrome://messenger/skin/thread-new-open.gif"); +} + +outlinerbody:-moz-outliner-image(flaggedCol, flagged) { + list-style-image: url("chrome://messenger/skin/flaggedmail.gif"); +} + +/* ..... subject column ..... */ + +outlinerbody:-moz-outliner-image(subjectCol) { + list-style-image: url("chrome://messenger/skin/message-mail.gif"); +} + +outlinerbody:-moz-outliner-image(subjectCol, new) { + list-style-image: url("chrome://messenger/skin/message-mail-new.gif"); +} + +outlinerbody:-moz-outliner-image(subjectCol, attach) { + list-style-image: url("chrome://messenger/skin/message-mail-attach.gif"); +} + +outlinerbody:-moz-outliner-image(subjectCol, news) { + list-style-image: url("chrome://messenger/skin/message-news.gif"); + } + +outlinerbody:-moz-outliner-image(subjectCol, news, new) { + list-style-image: url("chrome://messenger/skin/message-news-new.gif"); + } diff --git a/LCARStrek/navigator/skin/navigator.css b/LCARStrek/navigator/skin/navigator.css index 1817f122..6b9d6e4b 100755 --- a/LCARStrek/navigator/skin/navigator.css +++ b/LCARStrek/navigator/skin/navigator.css @@ -1,251 +1,249 @@ -/** Contains style definitions for the navigator application - **/ - -@import url(chrome://communicator/skin/); -@import url(chrome://communicator/skin/bookmarks/bookmarks.css); -@import url(chrome://communicator/skin/sidebar/sidebar.css); - -#sidebar-parent - { - margin-right : 2px; - } - -/* - * Rules for 'hiding' portions of the chrome for special - * kinds of browser windows. - */ -window[chromehidden~="menubar"] .chromeclass-menubar { - display: none; -} - -window[chromehidden~="toolbar"] .chromeclass-toolbar { - display: none; -} - -window[chromehidden~="location"] .chromeclass-location { - display: none; -} - -window[chromehidden~="directories"] .chromeclass-directories { - display: none; -} - -window[chromehidden~="status"] .chromeclass-status { - display: none; -} - -window[chromehidden~="extrachrome"] .chromeclass-extrachrome { - display: none; -} - -/* - * Images for the main buttons - */ -.menubutton-dual-button > .button-internal-box > .button-text-container - { - display : none; - } - -.menubutton-dual-button - { - min-width : 32px; - min-height : 32px; - } - -#back-button - { - list-style-image : url("chrome://navigator/skin/back.gif"); - } - -#back-button:hover, -#back-button:hover:active, -#back-button > .menubutton-internal-box > .menubutton-dual-button:hover, -#back-button > .menubutton-internal-box > .menubutton-dual-button:hover:active, -#back-button[open="true"] > .menubutton-internal-box > .menubutton-dual-button - { - list-style-image : url("chrome://navigator/skin/back-hover.gif"); - } - -#back-button[disabled="true"], -#back-button[disabled="true"]:hover, -#back-button[disabled="true"]:hover:active, -#back-button[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover, -#back-button[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover:active - { - list-style-image : url("chrome://navigator/skin/back_dis.gif"); - } - -#forward-button - { - list-style-image : url("chrome://navigator/skin/forward.gif"); - } - -#forward-button:hover, -#forward-button:hover:active, -#forward-button > .menubutton-internal-box > .menubutton-dual-button:hover, -#forward-button > .menubutton-internal-box > .menubutton-dual-button:hover:active, -#forward-button[open="true"] > .menubutton-internal-box > .menubutton-dual-button - { - list-style-image : url("chrome://navigator/skin/forward-hover.gif"); - } - -#forward-button[disabled="true"], -#forward-button[disabled="true"]:hover, -#forward-button[disabled="true"]:hover:active, -#forward-button[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover, -#forward-button[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover:active - { - list-style-image : url("chrome://navigator/skin/forward_dis.gif"); - } - -#stop-button - { - list-style-image : url("chrome://navigator/skin/stop.gif"); - } - - -#stop-button:hover - { - list-style-image : url("chrome://navigator/skin/stop-hover.gif"); - } - -#stop-button[disabled="true"] - { - list-style-image : url("chrome://navigator/skin/stop_dis.gif"); - } - -#reload-button - { - list-style-image : url("chrome://navigator/skin/reload.gif"); - } - -#reload-button:hover - { - list-style-image : url("chrome://navigator/skin/reload-hover.gif"); - } - -/*all the urlbar stuff*/ -#page-proxy-button - { - list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); - cursor : grab; - margin-right : 3px; - margin-left : 2px; - } - -#ubhist-keyword-popup - { - width : 10px; - list-style-image : url("chrome://global/skin/scroll-down.gif"); - } - -#ubhist - { - -moz-border-radius : 0px 5px 5px 0px; - list-style-image : url("chrome://global/skin/scroll-down.gif"); - padding : 0px 0px 0px 0px; - margin : 0px 3px 0px 0px; - } - -#ubhist > .menubutton-icon-internal-box - { - -moz-border-radius : 0px 5px 5px 0px; - border : 1px solid #9C9CFF; - } - -#ubhist:hover > .menubutton-icon-internal-box - { - list-style-image : url("chrome://global/skin/scroll-down-hover.gif"); - } - -#ubhist:hover:active > .menubutton-icon-internal-box, -#ubhist[open="true"] > .menubutton-icon-internal-box - { - list-style-image : url("chrome://global/skin/scroll-down-hover.gif"); - border : 1px solid #FFCF00; - } - -#action-popup - { - list-style-image : url("chrome://global/skin/scroll-down.gif"); - margin : 0px; - -moz-border-radius : 4px; - } - -#content-frame - { - min-width : 0px; - min-height : 0px; - } - -#statusbar-icon - { - width : 100px; - } - -#statusbar-display - { - list-style-image : url("chrome://communicator/skin/document.gif"): - } - -#statusbar-display[error="true"] - { - list-style-image : url("chrome://communicator/skin/document-error.gif"); - } - -#nav-bar-inner - { - padding-left : 0px; - padding-top : 10px; - padding-bottom : 10px; - } - - -#search-button - { - margin : 0px 3px 0px 0px; - } - -#go-button - { - margin : 0px 3px 0px 0px; - } - -#homebutton - { - list-style-image : url("chrome://communicator/skin/bookmarks/home.gif"); - } - -.menuitem-iconic - { - padding : 2px; - } - -#print-button - { - list-style-image : url("chrome://global/skin/print.gif"); - margin : 0px 3px 0px 3px; - } - -#print-button:hover, -#print-button:hover:active, -#print-button > .menubutton-internal-box > .menubutton-dual-button:hover, -#print-button > .menubutton-internal-box > .menubutton-dual-button:hover:active, -#print-button[open="true"] > .menubutton-internal-box > .menubutton-dual-button - { - list-style-image : url("chrome://global/skin/print-hover.gif"); - } - -#print-button[disabled="true"], -#print-button[disabled="true"]:hover, -#print-button[disabled="true"]:hover:active, -#print-button[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover, -#print-button[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover:active - { - list-style-image : url("chrome://global/skin/print_dis.gif"); - } - -#print-button > .menubutton-dual-button - { - padding : 0px; - } \ No newline at end of file +/** Contains style definitions for the navigator application + **/ + +@import url(chrome://communicator/skin/); +@import url(chrome://navigator/skin/personalToolbar.css); +@import url(chrome://communicator/skin/sidebar/sidebar.css); + +#sidebar-parent + { + margin-right : 2px; + } + +/* + * Rules for 'hiding' portions of the chrome for special + * kinds of browser windows. + */ +window[chromehidden~="menubar"] .chromeclass-menubar { + display: none; +} + +window[chromehidden~="toolbar"] .chromeclass-toolbar { + display: none; +} + +window[chromehidden~="location"] .chromeclass-location { + display: none; +} + +window[chromehidden~="directories"] .chromeclass-directories { + display: none; +} + +window[chromehidden~="status"] .chromeclass-status { + display: none; +} + +window[chromehidden~="extrachrome"] .chromeclass-extrachrome { + display: none; +} + +/* + * Images for the main buttons + */ +.menubutton-dual-button > .button-internal-box > .button-text-container, +.menubutton-dual-ex-button > .button-internal-box > .button-text-container + { + display : none; + } + +.menubutton-dual-button, +.menubutton-dual-ex-button + { + min-width : 32px; + min-height : 32px; + } + +#back-button + { + list-style-image : url("chrome://navigator/skin/back.gif"); + } + +#back-button:hover, +#back-button:hover:active, +#back-button[buttonover="true"], +#back-button[open="true"] + { + list-style-image : url("chrome://navigator/skin/back-hover.gif"); + } + +#back-button[disabled="true"], +#back-button[disabled="true"]:hover, +#back-button[disabled="true"]:hover:active, +#back-button[disabled="true"][buttonover="true"] + { + list-style-image : url("chrome://navigator/skin/back_dis.gif"); + } + +#forward-button + { + list-style-image : url("chrome://navigator/skin/forward.gif"); + } + +#forward-button:hover, +#forward-button:hover:active, +#forward-button[buttonover="true"], +#forward-button[open="true"] + { + list-style-image : url("chrome://navigator/skin/forward-hover.gif"); + } + +#forward-button[disabled="true"], +#forward-button[disabled="true"]:hover, +#forward-button[disabled="true"]:hover:active, +#forward-button[disabled="true"][buttonover="true"] + { + list-style-image : url("chrome://navigator/skin/forward_dis.gif"); + } + +#stop-button + { + list-style-image : url("chrome://navigator/skin/stop.gif"); + } + + +#stop-button:hover + { + list-style-image : url("chrome://navigator/skin/stop-hover.gif"); + } + +#stop-button[disabled="true"] + { + list-style-image : url("chrome://navigator/skin/stop_dis.gif"); + } + +#reload-button + { + list-style-image : url("chrome://navigator/skin/reload.gif"); + } + +#reload-button:hover + { + list-style-image : url("chrome://navigator/skin/reload-hover.gif"); + } + +/*all the urlbar stuff*/ +#page-proxy-button + { + list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); + cursor : grab; + margin-right : 3px; + margin-left : 2px; + } + +#ubhist-keyword-popup + { + width : 10px; + list-style-image : url("chrome://global/skin/scroll-down.gif"); + } + +#ubhist + { + -moz-border-radius : 0px 5px 5px 0px; + list-style-image : url("chrome://global/skin/scroll-down.gif"); + padding : 0px 0px 0px 0px; + margin : 0px 3px 0px 0px; + } + +#ubhist > .menubutton-icon-internal-box + { + -moz-border-radius : 0px 5px 5px 0px; + border : 1px solid #9C9CFF; + } + +#ubhist:hover > .menubutton-icon-internal-box + { + list-style-image : url("chrome://global/skin/scroll-down-hover.gif"); + } + +#ubhist:hover:active > .menubutton-icon-internal-box, +#ubhist[open="true"] > .menubutton-icon-internal-box + { + list-style-image : url("chrome://global/skin/scroll-down-hover.gif"); + border : 1px solid #FFCF00; + } + +#action-popup + { + list-style-image : url("chrome://global/skin/scroll-down.gif"); + margin : 0px; + -moz-border-radius : 4px; + } + +#content-frame + { + min-width : 0px; + min-height : 0px; + } + +#statusbar-icon + { + width : 100px; + } + +#statusbar-display + { + list-style-image : url("chrome://communicator/skin/document.gif"): + } + +#statusbar-display[error="true"] + { + list-style-image : url("chrome://communicator/skin/document-error.gif"); + } + +#nav-bar-inner + { + padding-left : 0px; + padding-top : 10px; + padding-bottom : 10px; + } + +#search-button + { + margin : 0px 3px 0px 0px; + } + +#go-button + { + margin : 0px 3px 0px 0px; + } + +#homebutton + { + list-style-image : url("chrome://communicator/skin/bookmarks/home.gif"); + } + +.menuitem-iconic + { + padding : 2px; + } + +#print-button + { + list-style-image : url("chrome://global/skin/print.gif"); + margin : 0px 3px 0px 3px; + } + +#print-button:hover, +#print-button:hover:active, +#print-button > .menubutton-internal-box > .menubutton-dual-button:hover, +#print-button > .menubutton-internal-box > .menubutton-dual-button:hover:active, +#print-button[open="true"] > .menubutton-internal-box > .menubutton-dual-button + { + list-style-image : url("chrome://global/skin/print-hover.gif"); + } + +#print-button[disabled="true"], +#print-button[disabled="true"]:hover, +#print-button[disabled="true"]:hover:active, +#print-button[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover, +#print-button[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover:active + { + list-style-image : url("chrome://global/skin/print_dis.gif"); + } + +#print-button > .menubutton-dual-button + { + padding : 0px; + } + diff --git a/LCARStrek/navigator/skin/personalToolbar.css b/LCARStrek/navigator/skin/personalToolbar.css new file mode 100644 index 00000000..814061c7 --- /dev/null +++ b/LCARStrek/navigator/skin/personalToolbar.css @@ -0,0 +1,50 @@ +/* -*- Mode: C; c-basic-offset: 2 -*- + * + * 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 Netscape are + * Copyright (C) 1998 Netscape Communications Corporation. All + * Rights Reserved. + * + * Contributor(s): + * Ben Goodger + * Josh Soref + */ + +@import url("chrome://communicator/skin/bookmarks/bookmarks.css"); + +/** + * Personal toolbar items + **/ + + #home-button + { + list-style-image : url("chrome://communicator/skin/bookmarks/home.gif"); + } + +/* + #home-button:hover + { + list-style-image : url("chrome://communicator/skin/bookmarks/home-sel.gif"); + } +*/ + +/* + #home-button:hover:active + { + list-style-image : url("chrome://communicator/skin/bookmarks/home-active.gif"); + } +*/ + +