From: Robert Kaiser Date: Thu, 16 Oct 2008 15:18:00 +0000 (+0200) Subject: update LCARStrek to 2.0a1, step 2 X-Git-Tag: LCARStrek-2.0a1~11 X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=f98e9249ac85dc5b066915b9c9449b30b2dfcccb;p=themes.git update LCARStrek to 2.0a1, step 2 --- diff --git a/LCARStrek/global/dropmarker.css b/LCARStrek/global/dropmarker.css index 02c05246..3ecda118 100644 --- a/LCARStrek/global/dropmarker.css +++ b/LCARStrek/global/dropmarker.css @@ -19,7 +19,10 @@ dropmarker:hover { dropmarker:hover:active, dropmarker[open="true"] { background-color: #FF9F00; - padding: 2px 0 0 2px; + padding-top: 2px; + padding-bottom: 0px; + -moz-padding-start: 2px; + -moz-padding-end: 0px; list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); -moz-image-region: auto; } diff --git a/LCARStrek/global/globalBindings.xml b/LCARStrek/global/globalBindings.xml index 9c3c8a7f..4eb76356 100755 --- a/LCARStrek/global/globalBindings.xml +++ b/LCARStrek/global/globalBindings.xml @@ -5,14 +5,15 @@ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:xbl="http://www.mozilla.org/xbl"> - + - + diff --git a/LCARStrek/global/groupbox.css b/LCARStrek/global/groupbox.css index 68152167..44e3d172 100644 --- a/LCARStrek/global/groupbox.css +++ b/LCARStrek/global/groupbox.css @@ -35,12 +35,12 @@ * * ***** END LICENSE BLOCK ***** */ -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - /* ===== groupbox.css ================================================== == Styles used by the XUL groupbox and related elements. ======================================================================= */ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + /* ::::: groupbox ::::: */ groupbox { @@ -58,6 +58,6 @@ caption { -moz-border-radius: 7px; margin: 0px 6px 2px 6px; padding: 0px 3px; - background-color: #9C9CFF; + background-color: #9C9CFF; color: #000000; } diff --git a/LCARStrek/global/icons/blacklist_favicon.png b/LCARStrek/global/icons/blacklist_favicon.png new file mode 100644 index 00000000..0b87e65d Binary files /dev/null and b/LCARStrek/global/icons/blacklist_favicon.png differ diff --git a/LCARStrek/global/icons/blacklist_large.png b/LCARStrek/global/icons/blacklist_large.png new file mode 100644 index 00000000..c620867b Binary files /dev/null and b/LCARStrek/global/icons/blacklist_large.png differ diff --git a/LCARStrek/global/icons/error-16.png b/LCARStrek/global/icons/error-16.png new file mode 100644 index 00000000..332cf084 Binary files /dev/null and b/LCARStrek/global/icons/error-16.png differ diff --git a/LCARStrek/global/icons/information-16.png b/LCARStrek/global/icons/information-16.png new file mode 100644 index 00000000..c5e66494 Binary files /dev/null and b/LCARStrek/global/icons/information-16.png differ diff --git a/LCARStrek/global/icons/notfound.png b/LCARStrek/global/icons/notfound.png new file mode 100644 index 00000000..a8619786 Binary files /dev/null and b/LCARStrek/global/icons/notfound.png differ diff --git a/LCARStrek/global/icons/search.png b/LCARStrek/global/icons/search.png new file mode 100644 index 00000000..edf90d6b Binary files /dev/null and b/LCARStrek/global/icons/search.png differ diff --git a/LCARStrek/global/icons/sslWarning.png b/LCARStrek/global/icons/sslWarning.png new file mode 100644 index 00000000..b91d0e44 Binary files /dev/null and b/LCARStrek/global/icons/sslWarning.png differ diff --git a/LCARStrek/global/icons/warning-16.png b/LCARStrek/global/icons/warning-16.png new file mode 100644 index 00000000..4084a82c Binary files /dev/null and b/LCARStrek/global/icons/warning-16.png differ diff --git a/LCARStrek/global/listbox.css b/LCARStrek/global/listbox.css index e3a90cd2..e0f27f61 100644 --- a/LCARStrek/global/listbox.css +++ b/LCARStrek/global/listbox.css @@ -23,12 +23,12 @@ * Robert Kaiser */ -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - /* ===== listbox.css ======================================================= == Styles used by XUL listbox-related elements. ======================================================================= */ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + /* ::::: listbox ::::: */ listbox { @@ -81,7 +81,10 @@ listheader { listheader[sortable="true"]:hover:active { border: 1px solid #FFCF00; - padding: 1px 4px 0 5px; + padding-top: 1px; + padding-bottom: 0px; + -moz-padding-start: 5px; + -moz-padding-end: 4px; } .listheader-icon { @@ -110,12 +113,15 @@ listheader[sortable="true"]:hover:active { .listcell-label { margin: 0px !important; - padding: 0px 0px 1px 4px; + padding-top: 0px; + padding-bottom: 1px; + -moz-padding-start: 4px; + -moz-padding-end: 0px; white-space: nowrap; } .listcell-icon { - margin-right: 2px; + -moz-margin-end: 2px; } .listcell-label[disabled="true"] { diff --git a/LCARStrek/global/menu.css b/LCARStrek/global/menu.css index 13ef457a..ecd1b248 100644 --- a/LCARStrek/global/menu.css +++ b/LCARStrek/global/menu.css @@ -35,17 +35,18 @@ * * ***** END LICENSE BLOCK ***** */ -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - /* ===== menu.css ======================================================= == Styles used by XUL menu-related elements. ======================================================================= */ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + /* ::::: menu/menuitem ::::: */ menu, menuitem { -moz-box-align: center; + max-width: 42em; color: #000000; background-color: #000000; color: #FF9F00; @@ -56,6 +57,12 @@ menuitem[default="true"] { font-weight: bold; } +menu[_moz-menuactive="true"], +menuitem[_moz-menuactive="true"] { + background-color: #FFCF00; + color: #000000; +} + menu[disabled="true"], menuitem[disabled="true"], menu[_moz-menuactive="true"][disabled="true"], @@ -63,51 +70,102 @@ menuitem[_moz-menuactive="true"][disabled="true"] { color: #8050B0; } +menubar > menu { + padding: 2px 0px 2px 3px; + margin: 0px 0px 0px 2px; + border: none; +} + +menubar > menu[_moz-menuactive="true"] { + background-color: #FFCF00; + color: #000000; + border: none; +} + +menubar > menu[open] { + background-color: #FF9F00; + color: #000000; + border: none; +} + +menuitem.spell-suggestion { + font-weight: bold; +} + +/* ::::: menu/menuitems in popups ::::: */ + +menupopup > menu, +popup > menu, +menupopup > menuitem, +popup > menuitem { + padding: 2px; +} + +/* ::::: menu/menuitems in menulist popups ::::: */ + +.menulist-menupopup > menuitem, +menulist > menupopup > menuitem, +.menulist-menupopup > menu, +menulist > menupopup > menu { + padding-top: 1px; + padding-bottom: 1px; + -moz-padding-start: 1px; + -moz-padding-end: 22px; + max-width: none; +} + /* ..... internal content .... */ .menu-text, .menu-iconic-left, .menu-iconic-text { - margin: 0px 2px 0px 0px !important; + margin-top: 0px !important; + margin-bottom: 0px !important; + -moz-margin-start: 0px !important; + -moz-margin-end: 2px !important; color: inherit; } .menu-text { - margin-left: 18px !important; + -moz-margin-start: 18px !important; font-weight: inherit; } .menu-description { font-style: italic; color: #8050B0; - margin-left: 1ex !important; + -moz-margin-start: 1ex !important; } .menu-accel, .menu-iconic-accel { - margin: 0px 2px 0px 7px !important; - padding-right: 14px; + margin-top: 0px !important; + margin-bottom: 0px !important; + -moz-margin-start: 7px !important; + -moz-margin-end: 2px !important; + -moz-padding-end: 14px; color: inherit; } -menuitem[type="checkbox"] > .menu-iconic-left > .menu-iconic-icon, -menuitem[type="radio"] > .menu-iconic-left > .menu-iconic-icon { -/* width: 16px; */ +.menu-iconic-icon { +/* + width: 16px; + height: 16px; +*/ } .menu-iconic-left { - -moz-box-align: center; - -moz-box-pack: center; width: 16px; -/* height: 16px; */ } -/* ..... menu arrow box ..... */ - .menu-right { - margin: 0px 0px 0px 3px; + margin-top: 0px; + margin-bottom: 0px; + -moz-margin-start: 3px; + -moz-margin-end: 0px; width: 8px; list-style-image: url("chrome://global/skin/menu/menu-arrow.gif"); + -moz-image-region: auto; } .menu-right[_moz-menuactive="true"] { @@ -115,77 +173,44 @@ menuitem[type="radio"] > .menu-iconic-left > .menu-iconic-icon { } .menu-right[disabled="true"] { - list-style-image: url("chrome://global/skin/menu/menu-arrow-disabled.gif") !important; + list-style-image: url("chrome://global/skin/menu/menu-arrow-disabled.gif"); } -/* ::::: menu/menuitems in menubar ::::: */ - -menubar > menu { - padding: 2px 0px 2px 3px; - margin: 0px 0px 0px 2px; - border: none; +.menu-right[chromedir="rtl"] { + list-style-image: url("chrome://global/skin/menu/menu-arrow-rtl.gif"); } -menubar > menu[_moz-menuactive="true"] { - background-color: #FFCF00; - color: #000000; - border: none; +.menu-right[chromedir="rtl"][_moz-menuactive="true"] { + list-style-image: url("chrome://global/skin/menu/menu-arrow-hover-rtl.gif"); } -menubar > menu[_moz-menuactive="true"][open="true"] { - background-color: #FF9F00; - color: #000000; - border: none; +.menu-right[chromedir="rtl"][disabled="true"] { + list-style-image: url("chrome://global/skin/menu/menu-arrow-disabled-rtl.gif"); } -/* ..... internal content .... */ - .menubar-left { - margin: 0px 2px 0px 0px; + margin-top: 0px; + margin-bottom: 0px; + -moz-margin-start: 0px; + -moz-margin-end: 2px; color: inherit; } .menubar-text { - margin: 0px 2px 0px 0px !important; + margin: 0 1px !important; color: inherit; } -/* ::::: menu/menuitems in popups ::::: */ - -menupopup > menu, -popup > menu, -menupopup > menuitem, -popup > menuitem { - padding: 2px; - max-width: 42em; -} - -menupopup > menu[_moz-menuactive="true"], -menupopup > menuitem[_moz-menuactive="true"], -popup > menu[_moz-menuactive="true"], -popup > menuitem[_moz-menuactive="true"] { - background-color: #FFCF00; - color: #000000; -} - -/* ::::: menu/menuitems in menulist popups ::::: */ - -.menulist-menupopup > menuitem, -menulist > menupopup > menuitem, -.menulist-menupopup > menu, -menulist > menupopup > menu { - border: 1px solid transparent; - padding: 1px 22px 1px 1px; - max-width: none; -} - -menulist > menupopup > menuitem[_moz-menuactive="true"] { - border: 1px dotted #FF9F00; +.menulist-menupopup > menuitem > .menu-iconic-left, +menulist > menupopup > menuitem > .menu-iconic-left, +.menulist-menupopup > menu > .menu-iconic-left, +menulist > menupopup > menu > .menu-iconic-left { + display: none; } /* ::::: checkbox menuitem ::::: */ -menuitem[checked="true"] { +menuitem[checked="true"] { /* [type="checkbox"] */ list-style-image: url("chrome://global/skin/menu/menu-check.gif"); } @@ -215,13 +240,13 @@ menuitem[checked="true"][type="radio"][disabled="true"] { menuseparator { border: 1px solid #9C9CFF; - margin: 2px 0px 2px 0px; + margin: 2px 0px; } menulist > menupopup > menuseparator, .menulist-menupopup > menuseparator { border: 1px solid #9C9CFF; - margin: 2px 0px 2px 0px; + margin: 2px 0px; } /* ::::: autocomplete ::::: */ @@ -230,6 +255,8 @@ menulist > menupopup > menuseparator, max-width: none !important; } +/* ::::: tree column picker ::::: */ + .treecell-popupcell-menu { margin-left: -2px; list-style-image: url("chrome://global/skin/tree/columnpicker.gif"); diff --git a/LCARStrek/global/menu/menu-arrow-disabled-rtl.gif b/LCARStrek/global/menu/menu-arrow-disabled-rtl.gif new file mode 100755 index 00000000..07509d5c Binary files /dev/null and b/LCARStrek/global/menu/menu-arrow-disabled-rtl.gif differ diff --git a/LCARStrek/global/menu/menu-arrow-hover-rtl.gif b/LCARStrek/global/menu/menu-arrow-hover-rtl.gif new file mode 100755 index 00000000..c0b9e5c8 Binary files /dev/null and b/LCARStrek/global/menu/menu-arrow-hover-rtl.gif differ diff --git a/LCARStrek/global/menu/menu-arrow-rtl.gif b/LCARStrek/global/menu/menu-arrow-rtl.gif new file mode 100755 index 00000000..ab906a1a Binary files /dev/null and b/LCARStrek/global/menu/menu-arrow-rtl.gif differ diff --git a/LCARStrek/global/menulist.css b/LCARStrek/global/menulist.css index 981de282..8f6a0818 100644 --- a/LCARStrek/global/menulist.css +++ b/LCARStrek/global/menulist.css @@ -35,13 +35,13 @@ * * ***** END LICENSE BLOCK ***** */ -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */ - /* ===== menulist.css =================================================== == Styles used by the XUL menulist element. ======================================================================= */ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */ + /* :::::::::: menulist :::::::::: */ menulist { @@ -69,13 +69,6 @@ menulist[open="true"] { -moz-box-align: center; -moz-box-pack: center; /* margin: 1px; */ -} - -.menulist-label-box, -menulist[open="true"]:focus > .menulist-label-box { - -moz-border-radius: 3px 0px 0px 3px; -/* border: 1px solid transparent; */ - background-color: transparent; color: inherit; } @@ -89,6 +82,18 @@ menulist[open="true"]:focus > .menulist-label-box { margin-left: 1ex !important; } +menulist:focus > .menulist-label-box { +/* border: 1px dotted #008484; */ + background-color: #008484; + color: #000000; +} + +menulist[disabled="true"] { + background-color: #000000; + color: #8050B0; + border: 1px solid #8050B0; +} + /* ..... dropmarker ..... */ .menulist-dropmarker { @@ -117,30 +122,20 @@ menulist:hover > .menulist-dropmarker { background-color: #FFCF00; } -menulist[open="true"] > .menulist-dropmarker, -menulist:hover:active > .menulist-dropmarker { +menulist:hover:active > .menulist-dropmarker, +menulist[open="true"] > .menulist-dropmarker { padding: 2px 0px 0px 2px; border: none; border-left: 1px solid #FFCF00; background-color: #FF9F00; } -/* ..... focused state ..... */ - -menulist:focus > .menulist-label-box { -/* border: 1px dotted #FF9F00; */ -} - -/* ..... disabled state ..... */ +/* ::::: editable menulists ::::: */ -menulist[disabled="true"] { - background-color: #000000; - color: #8050B0; - border: 1px solid #8050B0; +menulist[editable="true"] { + color: #E7ADE7; } -/* ::::: editable menulists ::::: */ - .menulist-editable-box { background-color: #000000; padding: 2px; @@ -150,8 +145,6 @@ html|*.menulist-editable-input { margin: 0px !important; border: none !important; padding: 0px !important; - background-color: #000000; - color: #FFCF00; font: inherit; } @@ -161,23 +154,18 @@ html|*.menulist-editable-input { -moz-box-align: center; -moz-box-pack: center; margin: 0px; + color: #E7ADE7; border: 1px solid #9C9CFF; list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); } -.menulist-compact > .menulist-label-box { - border: 1px solid transparent; - background-color: transparent; - color: inherit; -} - .menulist-compact > .menulist-label-box > .menulist-label { margin: 0 3px !important; text-align: right; } .menulist-compact > .menulist-label-box > .menulist-icon { - margin-left: 2px; + -moz-margin-start: 2px; } .menulist-compact[open="true"] { @@ -195,4 +183,6 @@ html|*.menulist-editable-input { .menulist-compact:focus > .menulist-label-box { border: 1px dotted #008484; + background-color: transparent; + color: inherit; } diff --git a/LCARStrek/global/nativescrollbars.css b/LCARStrek/global/nativescrollbars.css deleted file mode 100644 index c18e2ec3..00000000 --- a/LCARStrek/global/nativescrollbars.css +++ /dev/null @@ -1,5 +0,0 @@ -/* ===== nativescrollbars.css ================================================= - == Styles used by XUL scrollbar-related elements (only on Mac). - ======================================================================= */ - -@import url("chrome://global/skin/scrollbars.css"); diff --git a/LCARStrek/global/netError.css b/LCARStrek/global/netError.css index 286f8b6e..cbe85015 100644 --- a/LCARStrek/global/netError.css +++ b/LCARStrek/global/netError.css @@ -51,6 +51,10 @@ ul { -moz-background-origin: content; } +#errorPageContainer.certerror { + background-image: url("chrome://global/skin/icons/sslWarning.png"); +} + body[dir="rtl"] #errorPageContainer { background-position: right 0; } @@ -68,6 +72,7 @@ body[dir="rtl"] #errorPageContainer { border-bottom: 1px solid #008484; padding-bottom: 1em; font-size: 130%; + white-space: pre-wrap; } #errorLongDesc { @@ -103,3 +108,36 @@ body[dir="rtl"] #brand { #errorContainer { display: none; } + +#securityOverrideDiv { + padding-top: 10px; +} + +#securityOverrideContent { + background-color: #FFCF00; + color: #000000; + padding: 10px; + -moz-border-radius: 10px; +} + +/* Custom styling for 'blacklist' error class */ + +:root.blacklist #errorTitle, :root.blacklist #errorLongContent, +:root.blacklist #errorShortDesc, :root.blacklist #errorLongDesc, +:root.blacklist a { + background-color: #FF0000; /* red */ + color: #000000; +} + +:root.blacklist #errorPageContainer { + background-image: url("chrome://global/skin/icons/blacklist_large.png"); + background-color: #FF0000; +} + +:root.blacklist { + background: #000000; +} + +:root.blacklist #errorTryAgain { + display: none; +} diff --git a/LCARStrek/global/notification.css b/LCARStrek/global/notification.css new file mode 100644 index 00000000..d0d74660 --- /dev/null +++ b/LCARStrek/global/notification.css @@ -0,0 +1,50 @@ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +notification { + background-color : #FFCF00; + color: #000000; + -moz-border-radius: 8px; +} + +notification[type="info"] { + background-color: #9C9CFF; + color: #000000; +} + +notification[type="critical"] { + background-color: #FF0000; + color: #000000; +} + +.messageImage { + width: 16px; + height: 16px; + margin: 0px 1px 0px 6px; +} + +/* Default icons for notifications */ + +notification[type="info"] .messageImage { + list-style-image: url("chrome://global/skin/icons/information-16.png"); +} +notification[type="warning"] .messageImage { + list-style-image: url("chrome://global/skin/icons/warning-16.png"); +} + +notification[type="critical"] .messageImage { + list-style-image: url("chrome://global/skin/icons/error-16.png"); +} + +.messageText { + -moz-margin-start: 5px; +} + +.messageButton { + margin: 0px 5px 0px 5px; +} + +.messageCloseButton { + list-style-image: url("chrome://global/skin/icons/close-button.gif"); + padding: 4px 2px; + border: none; +} diff --git a/LCARStrek/global/numberbox.css b/LCARStrek/global/numberbox.css index 353ffb4b..8da51705 100644 --- a/LCARStrek/global/numberbox.css +++ b/LCARStrek/global/numberbox.css @@ -43,6 +43,7 @@ textbox[type="number"] { padding: 0 !important; + border: none; cursor: default; } @@ -52,5 +53,10 @@ html|*.numberbox-input { .numberbox-input-box { -moz-box-align: center; + cursor: text; + margin-right: -1px; + border: 1px solid #9C9CFF; + padding: 1px; + background-color: #000000; + color: #E7ADE7; } - diff --git a/LCARStrek/global/passwordmgr.css b/LCARStrek/global/passwordmgr.css new file mode 100644 index 00000000..7fd343b3 --- /dev/null +++ b/LCARStrek/global/passwordmgr.css @@ -0,0 +1,46 @@ +/* ***** BEGIN LICENSE BLOCK ***** + Version: MPL 1.1/GPL 2.0/LGPL 2.1 + + The contents of this file are subject to the Mozilla Public License Version + 1.1 (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + http://www.mozilla.org/MPL/ + + Software distributed under the License is distributed on an "AS IS" basis, + WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + for the specific language governing rights and limitations under the + License. + + The Original Code is Login Manager code. + + The Initial Developer of the Original Code is + Ehsan Akhgari . + Portions created by the Initial Developer are Copyright (C) 2007 + the Initial Developer. All Rights Reserved. + + Contributor(s): + Ehsan Akhgari + + Alternatively, the contents of this file may be used under the terms of + either the GNU General Public License Version 2 or later (the "GPL"), or + the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + in which case the provisions of the GPL or the LGPL are applicable instead + of those above. If you wish to allow use of your version of this file only + under the terms of either the GPL or the LGPL, and not to allow others to + use your version of this file under the terms of the MPL, indicate your + decision by deleting the provisions above and replace them with the notice + and other provisions required by the GPL or the LGPL. If you do not delete + the provisions above, a recipient may use your version of this file under + the terms of any one of the MPL, the GPL or the LGPL. + + ***** END LICENSE BLOCK ***** */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +.contentPane { + margin: 9px 8px 5px 8px; +} + +.actionButtons { + margin: 0px 3px 6px 3px !important; +} diff --git a/LCARStrek/global/popup.css b/LCARStrek/global/popup.css index fe402a05..3d3fd19f 100644 --- a/LCARStrek/global/popup.css +++ b/LCARStrek/global/popup.css @@ -35,16 +35,17 @@ * * ***** END LICENSE BLOCK ***** */ -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - /* ===== popup.css ====================================================== == Styles used by the XUL popup element. ======================================================================= */ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + /* ::::: menupopup ::::: */ menupopup, -popup { +popup, +panel { border: 1px solid #FF9F00; padding: 1px; min-width: 1px; @@ -56,7 +57,7 @@ tooltip { background-color: #9C9CFF; border: 1px solid #FFCF00; color: #000000; - font-size: smaller; + /* font-size: smaller; */ padding: 2px; max-width: 40em; } @@ -64,6 +65,7 @@ tooltip { .tooltip-label { border: 0px; padding: 0px; + margin: 0px !important; } tooltip[titletip="true"] { @@ -82,3 +84,8 @@ menulist > menupopup, padding: 0px; background-color: #000000; } + +menupopup > menu > menupopup, +popup > menu > menupopup { + margin-top: -2px; +} diff --git a/LCARStrek/global/preferences.css b/LCARStrek/global/preferences.css new file mode 100644 index 00000000..4cb96c7e --- /dev/null +++ b/LCARStrek/global/preferences.css @@ -0,0 +1,108 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is the Preferences UI System. + * + * The Initial Developer of the Original Code is + * Ben Goodger. + * Portions created by the Initial Developer are Copyright (C) 2005-2007 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Ben Goodger + * Robert kaiser + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +/* ===== preferences.css ===================================================== + == Styles used by the XUL prefwindow element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: dialog ::::: */ + +prefwindow { + padding: 0px; +} + +prefpane { + padding-top: 8px; + padding-bottom: 10px; + -moz-padding-start: 8px; + -moz-padding-end: 10px; +} + +prefwindow[type="child"] { + padding-top: 8px; + padding-bottom: 10px; + -moz-padding-start: 8px; + -moz-padding-end: 10px; +} + +prefwindow[type="child"] > prefpane { + padding: 0px; +} + +.prefWindow-dlgbuttons { + padding-bottom: 10px; + -moz-padding-start: 8px; + -moz-padding-end: 10px; +} + +prefwindow[type="child"] .prefWindow-dlgbuttons { + padding: 0px; +} + +radio[pane] { + margin: 0px 1px 0px 1px; + padding: 1px 3px 1px 3px; + min-width: 4.5em; + -moz-border-radius: 5px; +} + +.paneSelector { + border-bottom: 1px solid #9C9CFF; + margin: 0px; + -moz-padding-start: 10px; + background-color: #000000; + color: #FF9F00; +} + +.paneButtonIcon { + width: 32px; + height: 32px; +} + +radio[pane]:hover { + background-color: #FFCF00; + color: #000000; +} + +radio[pane][selected="true"] { + background-color: #008484; + color: #000000; +} + diff --git a/LCARStrek/global/printPageSetup.css b/LCARStrek/global/printPageSetup.css new file mode 100644 index 00000000..197e2dd9 --- /dev/null +++ b/LCARStrek/global/printPageSetup.css @@ -0,0 +1,46 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is "Classic" theme of mozilla.org code. + * + * The Initial Developer of the Original Code is + * the Mozilla Organization. + * Portions created by the Initial Developer are Copyright (C) 1998-2001 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Robert Kaiser + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +/* ::::: page setup dialog ::::: */ + +.portrait-page { + list-style-image: url("chrome://global/skin/icons/pg-portrait.gif"); +} + +.landscape-page { + list-style-image: url("chrome://global/skin/icons/pg-landscape.gif"); +} diff --git a/LCARStrek/global/printing.css b/LCARStrek/global/printPreview.css similarity index 75% rename from LCARStrek/global/printing.css rename to LCARStrek/global/printPreview.css index e9ba4f10..3334388f 100644 --- a/LCARStrek/global/printing.css +++ b/LCARStrek/global/printPreview.css @@ -11,16 +11,15 @@ * for the specific language governing rights and limitations under the * License. * - * The Original Code is the Mozilla Print Preview Toolbar. + * The Original Code is "Classic" theme of mozilla.org code. * * The Initial Developer of the Original Code is - * Netscape Communications Corp. - * Portions created by the Initial Developer are Copyright (C) 2002 + * the Mozilla Organization. + * Portions created by the Initial Developer are Copyright (C) 1998-2001 * the Initial Developer. All Rights Reserved. * * Contributor(s): - * Samir Gehani - * Bill Law + * Robert Kaiser * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or @@ -34,60 +33,59 @@ * the provisions above, a recipient may use your version of this file under * the terms of any one of the MPL, the GPL or the LGPL. * - * ***** END LICENSE BLOCK ***** */ /* ::::: print preview toolbar ::::: */ /* ..... page navigation ..... */ -.home-arrow { +.home-arrow, .end-arrow[chromedir="rtl"] { list-style-image: url("chrome://global/skin/arrow/arrow-left-sharp-end.gif"); } -.home-arrow:hover { +.home-arrow:hover, .end-arrow[chromedir="rtl"]:hover { list-style-image: url("chrome://global/skin/arrow/arrow-left-sharp-end-hover.gif"); } -.end-arrow { +.end-arrow, .home-arrow[chromedir="rtl"] { list-style-image: url("chrome://global/skin/arrow/arrow-right-sharp-end.gif"); } -.end-arrow:hover { +.end-arrow:hover, .home-arrow[chromedir="rtl"]:hover { list-style-image: url("chrome://global/skin/arrow/arrow-right-sharp-end-hover.gif"); } -.last-arrow { +.left-arrow, .right-arrow[chromedir="rtl"] { list-style-image: url("chrome://global/skin/arrow/arrow-left-sharp.gif"); } -.last-arrow:hover { +.left-arrow:hover, .right-arrow[chromedir="rtl"]:hover { list-style-image: url("chrome://global/skin/arrow/arrow-left-sharp-hover.gif"); } -.next-arrow { +.right-arrow, .left-arrow[chromedir="rtl"] { list-style-image: url("chrome://global/skin/arrow/arrow-right-sharp.gif"); } -.next-arrow:hover { +.right-arrow:hover, .left-arrow[chromedir="rtl"]:hover { list-style-image: url("chrome://global/skin/arrow/arrow-right-sharp-hover.gif"); } -/* ..... orientation ..... */ +/* ...... scale in/decrement ..... */ -.toolbar-portrait-page { - list-style-image: url("chrome://global/skin/icons/pg-portrait-small.gif"); +.up-arrow { + list-style-image: url("chrome://global/skin/arrow/arrow-up-sharp.gif"); } -.toolbar-landscape-page { - list-style-image: url("chrome://global/skin/icons/pg-landscape-small.gif"); +.down-arrow { + list-style-image: url("chrome://global/skin/arrow/arrow-dn-sharp.gif"); } -/* ::::: page setup dialog ::::: */ +/* ..... orientation ..... */ -.portrait-page { - list-style-image: url("chrome://global/skin/icons/pg-portrait.gif"); +.toolbar-portrait-page { + list-style-image: url("chrome://global/skin/icons/pg-portrait-small.gif"); } -.landscape-page { - list-style-image: url("chrome://global/skin/icons/pg-landscape.gif"); +.toolbar-landscape-page { + list-style-image: url("chrome://global/skin/icons/pg-landscape-small.gif"); } diff --git a/LCARStrek/global/progressmeter.css b/LCARStrek/global/progressmeter.css index 1815f956..038f7e3c 100644 --- a/LCARStrek/global/progressmeter.css +++ b/LCARStrek/global/progressmeter.css @@ -35,12 +35,12 @@ * * ***** END LICENSE BLOCK ***** */ -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - /* ===== progressmeter.css ============================================== == Styles used by the XUL progressmeter element. ======================================================================= */ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + /* ::::: progressmeter ::::: */ progressmeter { @@ -48,7 +48,7 @@ progressmeter { border: 1px solid #FF9F00; background-color: #000000; min-width: 128px; - height: 15px; + min-height: 15px; } progressmeter[mode="undetermined"] { @@ -70,6 +70,6 @@ progressmeter[mode="undetermined"] { .progressmeter-statusbar { margin: 0px 2px 0px 2px; - min-width: 100px; - height: 16px; + min-width: 96px; + min-height: 16px; } diff --git a/LCARStrek/global/radio.css b/LCARStrek/global/radio.css index d030ce24..4cb32ff8 100644 --- a/LCARStrek/global/radio.css +++ b/LCARStrek/global/radio.css @@ -35,12 +35,12 @@ * * ***** END LICENSE BLOCK ***** */ -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - /* ===== radio.css =================================================== == Styles used by the XUL radio element. ======================================================================= */ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + /* ::::: radio ::::: */ radio { @@ -66,7 +66,7 @@ radio { } .radio-icon[src] { - margin-right: 2px; + -moz-margin-end: 2px; } .radio-label { @@ -82,6 +82,10 @@ radio[focused="true"] > .radio-label-center-box > .radio-label-box { /* ..... disabled state ..... */ radio[disabled="true"] > .radio-spacer-box > .radio-check-box1 { + background-color: #000000; +} + +radio[disabled="true"] { color: #8050B0; } @@ -94,7 +98,8 @@ radio[disabled="true"] > .radio-spacer-box > .radio-check-box1 { -moz-border-radius: 50%; width: 10px; height: 10px; - background-color: transparent; + background-color: #000000; + /* background-color: transparent; */ } .radio-check-box2 { diff --git a/LCARStrek/global/richlistbox.css b/LCARStrek/global/richlistbox.css new file mode 100644 index 00000000..c181500c --- /dev/null +++ b/LCARStrek/global/richlistbox.css @@ -0,0 +1,73 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Richlistbox CSS. + * + * The Initial Developer of the Original Code is + * IBM Corporation. + * Portions created by the Initial Developer are Copyright (C) 2005-2007 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Doron Rosenberg (original author) + * Simon Bünzli + * Robert kaiser + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +richlistbox { + -moz-border-radius: 5px; + border: 1px solid #9C9CFF; + margin: 2px 4px; + background-color: #000000; + color: #FF9F00; +} + +richlistbox[disabled="true"] { + border: 1px solid #8050B0; + color: #8050B0; +} + +richlistitem[selected="true"] { + background-color: #008484; + color: #000000; +} + +richlistbox:focus > richlistitem[selected="true"] { + background-color: #008484; + color: #FFCF00; +} + +richlistbox[seltype="multiple"]:focus > richlistitem[current="true"] { + outline: 1px dotted #FF9F00; + -moz-outline-offset: -1px; +} + +richlistbox[seltype="multiple"]:focus > richlistitem[current="true"][selected="true"] { + outline: 1px dotted #FF9F00; +} + diff --git a/LCARStrek/global/scale.css b/LCARStrek/global/scale.css index d4c17eb0..f2a4b06d 100644 --- a/LCARStrek/global/scale.css +++ b/LCARStrek/global/scale.css @@ -16,11 +16,12 @@ * * The Initial Developer of the Original Code is * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998-2001 + * Portions created by the Initial Developer are Copyright (C) 1998-2007 * the Initial Developer. All Rights Reserved. * * Contributor(s): * Neil Deakin (enndeakin@sympatico.ca) + * Robert Kaiser * * Alternatively, the contents of this file may be used under the terms of * either of the GNU General Public License Version 2 or later (the "GPL"), diff --git a/LCARStrek/global/scrollbars.css b/LCARStrek/global/scrollbars.css index d42129e2..f7d8bd6d 100644 --- a/LCARStrek/global/scrollbars.css +++ b/LCARStrek/global/scrollbars.css @@ -35,13 +35,13 @@ * * ***** END LICENSE BLOCK ***** */ -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */ - /* ===== scrollbars.css ================================================= == Styles used by XUL scrollbar-related elements. ======================================================================= */ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */ + /* ::::: scrollbar ::::: */ scrollbar { @@ -110,6 +110,12 @@ scrollbarbutton[active="true"] { padding: 2px 0px 0px 2px; } +/* XXX - scrollbar.xml always grabs the OS settings and we don't want that */ +scrollbarbutton[sbattr="scrollbar-up-bottom"], +scrollbarbutton[sbattr="scrollbar-down-top"] { + display: none; +} + /* ::::: square at the corner of two scrollbars ::::: */ scrollcorner { @@ -217,14 +223,6 @@ scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"][disabled="true" min-width: 8px; } - html|div thumb > gripper { - -moz-appearance: scrollbargripper-vertical; - } - - html|div thumb[orient="horizontal"] > gripper { - -moz-appearance: scrollbargripper-horizontal; - } - /* ::::: scrollbar button ::::: */ html|div scrollbarbutton { diff --git a/LCARStrek/global/scrollbox.css b/LCARStrek/global/scrollbox.css index ef24a419..0693daa8 100644 --- a/LCARStrek/global/scrollbox.css +++ b/LCARStrek/global/scrollbox.css @@ -37,27 +37,88 @@ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -/* ::::: Autorepeatbutton ::::: */ +/* ::::: Scroll arrows ::::: */ -.autorepeatbutton-up { - list-style-image: url("chrome://global/skin/arrow/arrow-up.gif") +/* Horizontal enabled */ +.autorepeatbutton-up[orient="horizontal"], +.autorepeatbutton-down[chromedir="rtl"][orient="horizontal"], +.scrollbutton-up[orient="horizontal"], +.scrollbutton-down[chromedir="rtl"][orient="horizontal"] { + list-style-image: url("chrome://global/skin/arrow/arrow-left.gif"); } -.autorepeatbutton-down { - list-style-image: url("chrome://global/skin/arrow/arrow-down.gif") +.autorepeatbutton-down[orient="horizontal"], +.autorepeatbutton-up[chromedir="rtl"][orient="horizontal"], +.scrollbutton-down[orient="horizontal"], +.scrollbutton-up[chromedir="rtl"][orient="horizontal"] { + list-style-image: url("chrome://global/skin/arrow/arrow-right.gif"); } -autorepeatbutton { + /* Horizontal disabled */ +.autorepeatbutton-up[orient="horizontal"][disabled="true"], +.autorepeatbutton-down[chromedir="rtl"][orient="horizontal"][disabled="true"], +.scrollbutton-up[orient="horizontal"][disabled="true"], +.scrollbutton-down[chromedir="rtl"][orient="horizontal"][disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-left-disabled.gif"); +} + +.autorepeatbutton-down[orient="horizontal"][disabled="true"], +.autorepeatbutton-up[chromedir="rtl"][orient="horizontal"][disabled="true"], +.scrollbutton-down[orient="horizontal"][disabled="true"], +.scrollbutton-up[chromedir="rtl"][orient="horizontal"][disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-right-disabled.gif"); +} + +/* Vertical enabled */ +.autorepeatbutton-up, +.scrollbutton-up { + list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); +} + +.autorepeatbutton-down, +.scrollbutton-down { + list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); +} + +/* Vertical disabled */ +.autorepeatbutton-up[disabled="true"], +.scrollbutton-up[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-up-disabled.gif"); +} + +.autorepeatbutton-down[disabled="true"], +.scrollbutton-down[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif"); +} + +.scrollbutton-up > .toolbarbutton-text, +.scrollbutton-down > .toolbarbutton-text { + display: none; +} + +autorepeatbutton, +.scrollbutton-up, +.scrollbutton-down { -moz-box-align: center; -moz-box-pack: center; - margin: 1px 2px 2px 1px; + margin-top: 1px; + margin-bottom: 2px; + -moz-margin-start: 1px; + -moz-margin-end: 2px; +} + +autorepeatbutton { border: 1px solid transparent; padding: 1px; } -autorepeatbutton:hover { +autorepeatbutton:not([disabled="true"]):hover, +autorepeatbutton:not([disabled="true"]):hover:active { background-color: #FFCF00; margin: 1px; border: 1px inset #000000; - padding: 2px 1px 1px 2px; + padding-top: 2px; + padding-bottom: 1px; + -moz-padding-start: 2px; + -moz-padding-end: 1px; } diff --git a/LCARStrek/global/spinbuttons.css b/LCARStrek/global/spinbuttons.css index 90afd27d..9dde5973 100644 --- a/LCARStrek/global/spinbuttons.css +++ b/LCARStrek/global/spinbuttons.css @@ -14,12 +14,12 @@ * The Original Code is "Classic" theme of mozilla.org code. * * The Initial Developer of the Original Code is - * the Mozilla Organization. - * Portions created by the Initial Developer are Copyright (C) 1998-2001 + * Håkan Waara + * Portions created by the Initial Developer are Copyright (C) 2001 * the Initial Developer. All Rights Reserved. * * Contributor(s): - * Hakan Waara (Original Author) + * Håkan Waara (Original Author) * Robert Kaiser * * Alternatively, the contents of this file may be used under the terms of @@ -44,8 +44,8 @@ spinbuttons { .spinbuttons-button { -moz-border-radius: 3px; - min-width: 11px; - min-height: 11px; + min-width: 3px; + min-height: 3px; margin: 0 !important; border: none; background-color: #000000; diff --git a/LCARStrek/global/splitter.css b/LCARStrek/global/splitter.css index 70a2c585..9ff5a175 100644 --- a/LCARStrek/global/splitter.css +++ b/LCARStrek/global/splitter.css @@ -35,12 +35,12 @@ * * ***** END LICENSE BLOCK ***** */ -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - /* ===== splitter.css =================================================== == Styles used by the XUL splitter element. ======================================================================= */ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + /* ::::: splitter (vertical) ::::: */ splitter { diff --git a/LCARStrek/global/tabbox.css b/LCARStrek/global/tabbox.css index 119c0c0e..3e9c7805 100644 --- a/LCARStrek/global/tabbox.css +++ b/LCARStrek/global/tabbox.css @@ -35,12 +35,12 @@ * * ***** END LICENSE BLOCK ***** */ -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - /* ===== tabbox.css ================================================= == Styles used by XUL tab-related elements. ======================================================================= */ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + /* ::::: tabs ::::: */ .tabs-left, @@ -61,7 +61,6 @@ tabpanels { padding: 5px; background-color: #000000; color: #FF9F00; - -moz-user-focus: normal; } /* ::::: tab ::::: */ @@ -97,7 +96,8 @@ tab:hover:active { } tab:focus > .tab-middle { - outline: 1px dotted invert; + /* Don't specify the outline-color, we should always use initial value. */ + outline: 1px dotted; } /* diff --git a/LCARStrek/global/textbox.css b/LCARStrek/global/textbox.css index ede01f3d..e55b2bb4 100644 --- a/LCARStrek/global/textbox.css +++ b/LCARStrek/global/textbox.css @@ -35,33 +35,27 @@ * * ***** END LICENSE BLOCK ***** */ -@import url("chrome://global/content/autocomplete.css"); - -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */ - /* ===== textbox.css ================================================== == Styles used by the XUL textbox element. ======================================================================= */ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */ + /* ::::: textbox ::::: */ textbox { -moz-border-radius: 3px; cursor: text; - margin: 1px 3px; - border: 2px solid; - -moz-border-top-colors: transparent #9C9CFF; - -moz-border-right-colors: transparent #9C9CFF; - -moz-border-bottom-colors: transparent #9C9CFF; - -moz-border-left-colors: transparent #9C9CFF; + margin: 2px 3px; + border: 1px solid #9C9CFF; padding: 1px 0px 1px 2px; background-color: #000000; color: #E7ADE7; min-height: 19px; } -html|*.textbox-input, +html|*.textbox-input, html|*.textbox-textarea { -moz-border-radius: 3px; margin: 0px !important; @@ -72,6 +66,10 @@ html|*.textbox-textarea { font: inherit; } +.textbox-input-box menupopup { + cursor: default; +} + /* ..... readonly state ..... */ textbox[readonly="true"] { @@ -82,30 +80,23 @@ textbox[readonly="true"] { /* ..... disabled state ..... */ textbox[disabled="true"] { - border: 2px solid; - -moz-border-top-colors: transparent #8050B0; - -moz-border-right-colors: transparent #8050B0; - -moz-border-bottom-colors: transparent #8050B0; - -moz-border-left-colors: transparent #8050B0; + border: 1px solid #8050B0; cursor: default; color: #8050B0; + border: 1px solid #666699; } /* ..... focused state ..... */ textbox[focused="true"] { - -moz-border-top-colors: #008484 #008484; - -moz-border-right-colors: #008484 #008484; - -moz-border-bottom-colors: #008484 #008484; - -moz-border-left-colors: #008484 #008484; + border: 1px solid #008484; + outline: 1px solid #008484; margin: 1px 3px; } textbox[focused="true"][readonly="true"] { - -moz-border-top-colors: transparent #8050B0; - -moz-border-right-colors: transparent #8050B0; - -moz-border-bottom-colors: transparent #8050B0; - -moz-border-left-colors: transparent #8050B0; + border: 1px solid #8050B0; + outline: none; } /* ::::: plain textbox ::::: */ @@ -114,7 +105,38 @@ textbox.plain { padding: 0px !important; margin: 0px !important; border: none !important; + outline: none !important; background-color: inherit !important; color: inherit !important; min-height: 0px; } + +/* ::::: search textbox ::::: */ + +.textbox-search-icon { + list-style-image: url("chrome://global/skin/icons/search.png"); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +.textbox-search-icon[chromedir="rtl"] { + -moz-image-region: rect(16px, 16px, 32px, 0); +} + +.textbox-search-icon[searchbutton]:not([disabled]) { + cursor: pointer; +} + +.textbox-search-clear { + list-style-image: url("chrome://global/skin/icons/search.png"); + -moz-image-region: rect(32px, 16px, 48px, 0); +} + +.textbox-search-clear:not([disabled]) { + cursor: default; +} + +/* ::::: textboxes inside toolbarpaletteitems ::::: */ + +toolbarpaletteitem > toolbaritem > textbox > .textbox-input-box > html|*.textbox-input { + visibility: hidden; +} diff --git a/LCARStrek/global/toolbar.css b/LCARStrek/global/toolbar.css index bc0ec019..556d3f21 100644 --- a/LCARStrek/global/toolbar.css +++ b/LCARStrek/global/toolbar.css @@ -35,12 +35,12 @@ * * ***** END LICENSE BLOCK ***** */ -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - /* ===== toolbar.css ==================================================== == Styles used by XUL toolbar-related elements. ======================================================================= */ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + /* ::::: toolbox ::::: */ toolbox { @@ -53,8 +53,7 @@ toolbar, menubar { border-bottom: 3px solid #000000; background-color: #000000; - min-width: 1px; /* DON'T DELETE! - Prevents hiding of scrollbars in browser when window is made smaller.*/ + min-width: 1px; } /* toolbar-holder is the body of the main part of a toolbar */ @@ -119,10 +118,92 @@ toolbargrippy[tbgrippy-collapsed="true"] { border-bottom: none; } -/* ::::: toolbarseparator ::::: */ + +/* in browser.xul, the menubar is inside a toolbar... */ +toolbaritem > menubar { + border-bottom-style: none; + background-color: transparent; +} + +/* ::::: toolbar decorations ::::: */ toolbarseparator { margin: 2px 0px 2px 2px; - border-right: 1px solid #000000; + border-right: 1px solid #000000; width: 1px; } + +toolbarspacer { + width: 10px; +} + +toolbar[mode="icons"] .toolbarbutton-text { + display: none; +} + +toolbar[mode="text"] .toolbarbutton-icon { + display: none; +} + +toolbar[mode="text"] .toolbarbutton-text { + padding: 0 !important; + margin: 1px 3px !important; +} + +/* ::::: toolbarpaletteitem ::::: */ + +toolbarpaletteitem { + cursor: -moz-grab; +} + +.toolbarpaletteitem-box[type="spacer"], +.toolbarpaletteitem-box[type="spring"] { + -moz-border-radius: 5px; + border: 1px solid #9C9CFF; + background-color: #000000 !important; +} + +toolbarpaletteitem[place="toolbar"] { + margin-left: -2px; + margin-right: -2px; + border-left: 2px solid transparent; + border-right: 2px solid transparent; +} + +toolbarpaletteitem[place="toolbar"] > toolbarspacer { + width: 11px; +} + +.toolbarpaletteitem-box[type="spacer"][place="toolbar"], +.toolbarpaletteitem-box[type="spring"][place="toolbar"] { + margin-top: 2px; + margin-bottom: 2px; + -moz-margin-start: 0px; + -moz-margin-end: 2px; +} + +.toolbarpaletteitem-box[type="separator"][place="palette"] { + width: 2px; + height: 50px; +} + +.toolbarpaletteitem-box[type="spacer"][place="palette"], +.toolbarpaletteitem-box[type="spring"][place="palette"] { + margin-bottom: 2px; + width: 50px; + height: 50px; +} + +.toolbarpaletteitem-box[type="spring"][place="palette"] { + background: url("chrome://global/skin/toolbar/spring.gif") no-repeat center; +} + +/* ..... drag and drop feedback ..... */ + +toolbarpaletteitem[dragover="left"] { + border-left-color: #008484; +} + +toolbarpaletteitem[dragover="right"] { + border-right-color: #008484; +} diff --git a/LCARStrek/global/toolbar/spring.gif b/LCARStrek/global/toolbar/spring.gif new file mode 100644 index 00000000..9e451234 Binary files /dev/null and b/LCARStrek/global/toolbar/spring.gif differ diff --git a/LCARStrek/global/toolbarbutton.css b/LCARStrek/global/toolbarbutton.css index b6496a10..c0dd11b3 100644 --- a/LCARStrek/global/toolbarbutton.css +++ b/LCARStrek/global/toolbarbutton.css @@ -1,17 +1,18 @@ /* ***** BEGIN LICENSE BLOCK ***** - * Version: NPL 1.1/GPL 2.0/LGPL 2.1 + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * - * The contents of this file are subject to the Netscape Public License - * Version 1.1 (the "License"); you may not use this file except in - * compliance with the License. You may obtain a copy of the License at - * http://www.mozilla.org/NPL/ + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License * for the specific language governing rights and limitations under the * License. * - * The Original Code is mozilla.org code. + * The Original Code is Mozilla Communicator client code, released + * March 31, 1998. * * The Initial Developer of the Original Code is * Netscape Communications Corporation. @@ -28,20 +29,20 @@ * in which case the provisions of the GPL or the LGPL are applicable instead * of those above. If you wish to allow use of your version of this file only * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the NPL, indicate your + * use your version of this file under the terms of the MPL, indicate your * decision by deleting the provisions above and replace them with the notice * and other provisions required by the GPL or the LGPL. If you do not delete * the provisions above, a recipient may use your version of this file under - * the terms of any one of the NPL, the GPL or the LGPL. + * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - /* ===== toolbarbutton.css ===================================================== == Styles used by the XUL button element. ======================================================================= */ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + /* ::::: toolbarbutton ::::: */ toolbarbutton { @@ -57,7 +58,7 @@ toolbarbutton { } .toolbarbutton-icon { - margin-right: 2px; + -moz-margin-end: 2px; } .toolbarbutton-text { @@ -66,7 +67,18 @@ toolbarbutton { text-align: center; } -toolbarbutton:hover { +toolbarbutton.tabbable { + -moz-user-focus: normal !important; +} + +toolbarbutton:focus { + -moz-outline-radius: 3px; + outline: 1px dotted #008484; + -moz-outline-offset: -1px; +} + +toolbarbutton:hover, +toolbarbutton[buttonover="true"] { background-color: #FFCF00; color: #000000; } @@ -80,19 +92,28 @@ toolbarbutton.toolbarbutton-menubutton-button[open="true"] { toolbarbutton:hover:active, toolbarbutton[open="true"] { - padding: 2px 0px 0px 2px; + padding-top: 2px; + padding-bottom: 0px; + -moz-padding-start: 2px; + -moz-padding-end: 0px; } -toolbarbutton[disabled="true"] { - padding: 1px !important; - background-color: #000000 !important; - color: #8050B0 !important; +toolbarbutton[disabled="true"], +toolbarbutton[disabled="true"]:hover, +toolbarbutton[disabled="true"]:hover:active, +toolbarbutton[disabled="true"][open="true"] { + padding: 1px; + background-color: #000000; + color: #8050B0; } /* ..... checked state ..... */ toolbarbutton[checked="true"] { - padding: 1px !important; + padding-top: 2px !important; + padding-bottom: 0px !important; + -moz-padding-start: 2px !important; + -moz-padding-end: 0px !important; background-color: #008484; color: #FFCF00; } @@ -109,16 +130,10 @@ toolbarbutton[checked="true"]:hover:active { padding: 0px; border: none !important; background-color: transparent !important; - list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); -} - -.toolbarbutton-menu-dropmarker:hover, -.toolbarbutton-menu-dropmarker[open="true"] { - list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); } .toolbarbutton-menu-dropmarker[disabled="true"] { - list-style-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif"); + padding: 0 !important; } /* ::::: toolbarbutton menu-button ::::: */ @@ -141,6 +156,7 @@ toolbarbutton[type="menu-button"][disabled="true"]:hover:active { margin: 0px; -moz-box-align: center; -moz-box-pack: center; + -moz-box-orient: vertical; } .toolbarbutton-menubutton-button, @@ -170,7 +186,10 @@ toolbarbutton[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropm toolbarbutton[type="menu-button"]:hover:active > toolbarbutton.toolbarbutton-menubutton-button, toolbarbutton[type="menu-button"][open="true"] > toolbarbutton.toolbarbutton-menubutton-button { - padding: 2px 0px 0px 2px !important; + padding-top: 2px !important; + padding-bottom: 0px !important; + -moz-padding-start: 2px !important; + -moz-padding-end: 0px !important; } toolbarbutton[disabled="true"] > toolbarbutton.toolbarbutton-menubutton-button, @@ -184,24 +203,19 @@ toolbarbutton[disabled="true"]:hover:active > toolbarbutton.toolbarbutton-menubu -moz-border-radius: 3px; -moz-box-align: start; padding: 3px 1px 1px 1px; -/* list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); */ border: none; background-color: transparent; } toolbarbutton[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, toolbarbutton[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker { - padding: 4px 0px 0px 2px; -} - -toolbarbutton[type="menu-button"]:hover > .toolbarbutton-menubutton-dropmarker, -toolbarbutton[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, -toolbarbutton[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker { - list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); + padding-top: 4px; + padding-bottom: 0px; + -moz-padding-start: 2px; + -moz-padding-end: 0px; } .toolbarbutton-menubutton-dropmarker[disabled="true"] { padding: 3px 1px 1px 1px !important; border: none !important; - list-style-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif") !important; } diff --git a/LCARStrek/global/tree.css b/LCARStrek/global/tree.css index ebcabf6c..158a35af 100644 --- a/LCARStrek/global/tree.css +++ b/LCARStrek/global/tree.css @@ -37,17 +37,17 @@ * * ***** END LICENSE BLOCK ***** */ -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - /* ===== tree.css ======================================================= == Styles used by the XUL tree element. ======================================================================= */ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + /* ::::: tree ::::: */ tree { -moz-border-radius: 5px; - border-spacing: 0px; + margin: 0px; border: 1px solid #9C9CFF; background-color: #000000; color: #FF9F00; @@ -55,7 +55,6 @@ tree { /* ::::: tree focusring ::::: */ -/* deactivated, looks too bad for me in LCARStrek .focusring > .tree-stack > .tree-rows > .tree-bodybox { border: 1px solid transparent; } @@ -63,7 +62,6 @@ tree { .focusring:focus > .tree-stack > .tree-rows > .tree-bodybox { border-color: #FFCF00; } -*/ /* ::::: tree rows ::::: */ @@ -101,7 +99,10 @@ tree[seltype="text"] > treechildren::-moz-tree-row { /* ::::: tree cells ::::: */ treechildren::-moz-tree-cell { - padding: 0px 0px 1px 2px; + padding-top: 0px; + padding-bottom: 1px; + -moz-padding-start: 2px; + -moz-padding-end: 0px; } tree[seltype="cell"] > treechildren::-moz-tree-cell-text, @@ -176,18 +177,16 @@ treechildren::-moz-tree-line { visibility: hidden; } -/* tree[seltype="cell"] > treechildren::-moz-tree-line, tree[seltype="text"] > treechildren::-moz-tree-line, treechildren::-moz-tree-line { - border: 1px dotted grey; + border: 1px dotted #9C9CFF; } tree[seltype="cell"] > treechildren::-moz-tree-line(active, selected, focus), treechildren::-moz-tree-line(selected) { - border: 1px dotted black; + border: 1px dotted #000000; } -*/ /* ::::: tree separator ::::: */ @@ -210,7 +209,7 @@ treechildren::-moz-tree-drop-feedback { background-color: #008484; width: 50px; height: 2px; - margin-left: 5px; + -moz-margin-start: 5px; } treechildren::-moz-tree-drop-feedback(selected) { @@ -265,7 +264,7 @@ treecolpicker { } .treecol-image { - padding: 1px; + padding: 0 1px; } .treecol-text { @@ -282,7 +281,10 @@ treecol[hideheader="true"] { treecol:hover:active { border: 1px solid #FFCF00; - padding: 2px 3px 0px 5px; + padding-top: 2px; + padding-bottom: 0px; + -moz-padding-start: 5px; + -moz-padding-end: 3px; } treecolpicker:hover { @@ -295,7 +297,10 @@ treecolpicker:hover:active { } .treecol-image:hover:active { - padding: 2px 0px 0px 2px; + padding-top: 2px; + padding-bottom: 0px; + -moz-padding-start: 2px; + -moz-padding-end: 0px; } /* ::::: column drag and drop styles ::::: */ @@ -329,12 +334,12 @@ treechildren::-moz-tree-column(insertafter) { width: 8px; /* The image's width is 7 pixels */ } -.treecol-sortdirection[sortDirection="ascending"] { +treecol:not([hideheader="true"]) > .treecol-sortdirection[sortDirection="ascending"] { list-style-image: url("chrome://global/skin/tree/sort-asc.gif"); } -.treecol-sortdirection[sortDirection="descending"] { - list-style-image: url("chrome://global/skin/tree/sort-dsc.gif"); +treecol:not([hideheader="true"]) > .treecol-sortdirection[sortDirection="descending"] { + list-style-image: url("chrome://global/skin/tree/sort-desc.gif"); } /* ::::: column picker ::::: */ @@ -351,7 +356,7 @@ treecolpicker:hover:active > .tree-columnpicker-icon { /* ::::: twisty ::::: */ treechildren::-moz-tree-twisty { - padding-right: 2px; + -moz-padding-end: 2px; padding-top: 1px; width: 11px; /* The image's width is 11 pixels */ list-style-image: url("chrome://global/skin/tree/twisty-closed.gif"); @@ -377,6 +382,41 @@ treechildren.gridlines::-moz-tree-row { border: none; } +/* ::::: Name (what is that?) ::::: */ + +treechildren::-moz-tree-image(Name) { + -moz-padding-end: 2px; +} + +treechildren::-moz-tree-image(Name) { + margin: 0px 1px; + list-style-image: url("chrome://global/skin/filepicker/file.gif") !important; +} + +treechildren::-moz-tree-image(Name, container) { + list-style-image: url("chrome://global/skin/filepicker/dir-closed.gif") !important; +} + +treechildren::-moz-tree-image(Name, open) { + list-style-image: url("chrome://global/skin/filepicker/dir-open.gif") !important; +} + +treechildren::-moz-tree-image(Name, separator) { + list-style-image: none; + width: 0px !important; + height: 0px !important; + margin: 0px 0px; +} + +treechildren::-moz-tree-cell-text(Name, separator) { + color: #9C9CFF; + margin: 0px 3px; +} + +treechildren::-moz-tree-cell-text(Name, separator, selected, focus) { + color: #000000; +} + /* ::::: alternating background ::::: */ treechildren[alternatingbackground="true"]::-moz-tree-row(odd) { @@ -405,8 +445,8 @@ treechildren::-moz-tree-cell-text(selected, editing) { } .tree-input { - -moz-appearance: none; border: 1px solid #9C9CFF; - margin: 0 0 0 -4px; + margin: 0; + -moz-margin-start: -4px; padding: 1px; } diff --git a/LCARStrek/global/wizard.css b/LCARStrek/global/wizard.css index 211dac84..3ece9e7c 100644 --- a/LCARStrek/global/wizard.css +++ b/LCARStrek/global/wizard.css @@ -39,18 +39,30 @@ .wizard-header { border-bottom: 2px groove #9C9CFF; - padding: 10px 0px 10px 0px; background-color: #E7ADE7; color: #000000; } +.wizard-header-box-1 { + padding: 5px 0px; +} + +wizard[description=""] .wizard-header-description { + display: none; +} + .wizard-header-label { - margin-left: 23px; + -moz-margin-start: 23px; font-weight: bold; } .wizard-header-description { - margin-left: 44px; + -moz-margin-start: 44px; +} + +wizard[branded="true"] .wizard-header-icon { + list-style-image: url("chrome://branding/content/icon48.png"); + -moz-margin-end: 5px; } .wizard-page-box { @@ -67,9 +79,9 @@ .wizard-button[wizardbutton="finish"], .wizard-button[wizardbutton="next"] { - margin-left: -1px !important; + -moz-margin-start: -1px !important; } .wizard-button[wizardbutton="back"] { - margin-right: 0px !important; + -moz-margin-end: 0px !important; } diff --git a/LCARStrek/global/xulscrollbars.css b/LCARStrek/global/xulscrollbars.css deleted file mode 100644 index 2b61e756..00000000 --- a/LCARStrek/global/xulscrollbars.css +++ /dev/null @@ -1,6 +0,0 @@ -/* ===== xulscrollbars.css ================================================= - == Styles used by XUL scrollbar-related elements (on non-Mac platforms). - ======================================================================= */ - -@import url("chrome://global/skin/scrollbars.css"); - diff --git a/LCARStrek/inspector/panelset.css b/LCARStrek/inspector/panelset.css index a4ef6e83..24dac8ad 100644 --- a/LCARStrek/inspector/panelset.css +++ b/LCARStrek/inspector/panelset.css @@ -57,7 +57,7 @@ panel[disabled="true"] > .viewer-pane-box-1 { color: #000000; } -.viewer-menu > .toolbarbutton-box > .toolbarbutton-dropmarker { +.viewer-menu > .toolbarbutton-menu-dropmarker { display: none; } diff --git a/LCARStrek/install.rdf b/LCARStrek/install.rdf index a1ed8f6d..e6318b12 100644 --- a/LCARStrek/install.rdf +++ b/LCARStrek/install.rdf @@ -4,12 +4,12 @@ xmlns:em="http://www.mozilla.org/2004/em-rdf#"> LCARStrek@kairo.at - 1.9a1pre + 2.0a1 {92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a} 2.0a1pre - 2.0a1pre + 2.0a2pre LCARStrek @@ -18,6 +18,6 @@ http://www.kairo.at/download/mozskins - LCARStrek/1.9a1pre + LCARStrek \ No newline at end of file diff --git a/LCARStrek/global/toolbar/chevron-hover.gif b/LCARStrek/navigator/icons/chevron-hover.gif similarity index 100% rename from LCARStrek/global/toolbar/chevron-hover.gif rename to LCARStrek/navigator/icons/chevron-hover.gif diff --git a/LCARStrek/global/toolbar/chevron.gif b/LCARStrek/navigator/icons/chevron.gif similarity index 100% rename from LCARStrek/global/toolbar/chevron.gif rename to LCARStrek/navigator/icons/chevron.gif diff --git a/LCARStrek/global/icons/tab-drag-indicator.gif b/LCARStrek/navigator/icons/tab-drag-indicator.gif similarity index 100% rename from LCARStrek/global/icons/tab-drag-indicator.gif rename to LCARStrek/navigator/icons/tab-drag-indicator.gif diff --git a/LCARStrek/global/icons/tab-new.gif b/LCARStrek/navigator/icons/tab-new.gif similarity index 100% rename from LCARStrek/global/icons/tab-new.gif rename to LCARStrek/navigator/icons/tab-new.gif