From e181d49eeb1dcbecff7259949174b68c78b547c9 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Fri, 25 May 2007 14:51:52 +0200 Subject: [PATCH] synching EarlyBlue with trunk *stripe, rest of global/ files --- EarlyBlue/communicator/toolbar.css | 79 ++++++++++++ EarlyBlue/global/alerts/alert.css | 92 ++++++++++++++ EarlyBlue/global/menulist.css | 2 +- EarlyBlue/global/popup.css | 7 +- EarlyBlue/global/preferences.css | 102 ++++++++++++++++ EarlyBlue/global/printPageSetup.css | 46 +++++++ .../global/{printing.css => printPreview.css} | 38 +++--- EarlyBlue/global/progressmeter.css | 10 +- EarlyBlue/global/radio.css | 14 ++- EarlyBlue/global/richlistbox.css | 70 +++++++++++ EarlyBlue/global/scale.css | 3 +- EarlyBlue/global/scrollbars.css | 6 +- EarlyBlue/global/scrollbox.css | 79 ++++++++++-- EarlyBlue/global/splitter.css | 4 +- EarlyBlue/global/tabbox.css | 5 +- EarlyBlue/global/textbox.css | 22 ++-- EarlyBlue/global/toolbar.css | 109 ++++++++++++----- EarlyBlue/global/toolbar/spring.gif | Bin 0 -> 254 bytes EarlyBlue/global/toolbarbutton.css | 75 ++++++++---- EarlyBlue/global/tree.css | 56 +++++++-- EarlyBlue/global/wizard.css | 22 +++- EarlyBlue/navigator/tabbrowser.css | 114 ++++++++++++++++++ 22 files changed, 821 insertions(+), 134 deletions(-) create mode 100644 EarlyBlue/communicator/toolbar.css create mode 100644 EarlyBlue/global/alerts/alert.css create mode 100644 EarlyBlue/global/preferences.css create mode 100644 EarlyBlue/global/printPageSetup.css rename EarlyBlue/global/{printing.css => printPreview.css} (78%) create mode 100644 EarlyBlue/global/richlistbox.css create mode 100644 EarlyBlue/global/toolbar/spring.gif create mode 100644 EarlyBlue/navigator/tabbrowser.css diff --git a/EarlyBlue/communicator/toolbar.css b/EarlyBlue/communicator/toolbar.css new file mode 100644 index 00000000..67858e43 --- /dev/null +++ b/EarlyBlue/communicator/toolbar.css @@ -0,0 +1,79 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Mozilla Communicator client code, released + * March 31, 1998. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998-2007 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Joe Hewitt (hewitt@netscape.com) + * Robert Kaiser (kairo@kairo.at) + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +/* ===== toolbar.css ==================================================== + == Styles used by XUL grippytoolbar in addition to general toolbar styles. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: toolbar & menubar ::::: */ + +.toolbar-holder { +} + +/* ::::: toolbargrippy ::::: */ + +toolbargrippy { + -moz-box-orient: vertical; + -moz-box-align: center; + border: 1px solid #999999; + background-color: #666699; + width: 9px; + padding: 2px 0px; + list-style-image: url("chrome://global/skin/toolbar/tbgrip-arrow.gif"); +} + +toolbargrippy:hover { + background-color: #6699FF; +} + +/* ::::: collapsed tray and grippies ::::: */ + +toolbargrippy[tbgrippy-collapsed="true"] { + -moz-box-orient: horizontal; + width: 40px; + height: 9px; + padding: 0px 2px; + list-style-image: url("chrome://global/skin/toolbar/tbgrip-arrow-collapsed.gif"); +} + +.collapsed-tray-spacer { + border-bottom: 1px solid #9999CC; +} diff --git a/EarlyBlue/global/alerts/alert.css b/EarlyBlue/global/alerts/alert.css new file mode 100644 index 00000000..95d80ce0 --- /dev/null +++ b/EarlyBlue/global/alerts/alert.css @@ -0,0 +1,92 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Scott MacGregor + * + * 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 ***** */ + +/* ===== alert.css ===================================================== + == Styles specific to the alerts dialog. + ======================================================================= */ + +@import url("chrome://global/skin/"); + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +.alertBox { + border: 2px solid #666699; + background-color: #CCD0DD; + min-height: 50px; +} + +.alertBox[orient="horizontal"] > .alertImageBox { + -moz-margin-start: 4px; + -moz-margin-end: 6px; + min-height: 46px; +} + +.alertBox[orient="vertical"] > .alertImageBox { + margin-top: 6px; + margin-bottom: 4px; + min-width: 46px; +} + +.alertTitle { + font-weight: bold; +} + +.alertText { + -moz-margin-end: 6px; +} + +.alertText[clickable="true"] { + cursor: pointer; + color: blue; + text-decoration: underline; +} + +.alertText[clickable="true"]:hover:active { + color: red; +} + +.alertBox[orient="horizontal"] > .alertTextBox { + -moz-padding-end: 10px; + padding-top: 5px; +} + +.alertBox[orient="vertical"] > .alertTextBox { + -moz-padding-start: 5px; + -moz-padding-end: 5px; + margin-bottom: 8px; + -moz-box-align: center; /* also hard-coded in alert.js, see bug 311557 */ +} diff --git a/EarlyBlue/global/menulist.css b/EarlyBlue/global/menulist.css index 8a33007a..316a6fce 100644 --- a/EarlyBlue/global/menulist.css +++ b/EarlyBlue/global/menulist.css @@ -90,7 +90,7 @@ menulist[disabled="true"]:hover:active > .menulist-dropmarker { } menulist:hover:active > .menulist-dropmarker, -menulist:[open="true"] > .menulist-dropmarker { +menulist[open="true"] > .menulist-dropmarker { border: 1px inset #CCD0DD; padding: 2px 0px 0px 2px; } diff --git a/EarlyBlue/global/popup.css b/EarlyBlue/global/popup.css index f6cd7f2c..f138cf51 100644 --- a/EarlyBlue/global/popup.css +++ b/EarlyBlue/global/popup.css @@ -35,12 +35,12 @@ * * ***** 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, @@ -55,7 +55,7 @@ tooltip { background-color : #FFFFCC; border : 1px outset #FFFFCC; color: #000000; - font-size: smaller; + /* font-size: smaller; */ padding: 2px; max-width: 40em; } @@ -63,6 +63,7 @@ tooltip { .tooltip-label { border: 0px; padding: 0px; + margin: 0px !important; } tooltip[titletip="true"] { diff --git a/EarlyBlue/global/preferences.css b/EarlyBlue/global/preferences.css new file mode 100644 index 00000000..8e6dfa8c --- /dev/null +++ b/EarlyBlue/global/preferences.css @@ -0,0 +1,102 @@ +/* ***** 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; +} + +.paneSelector { + border-bottom: 1px solid #666699; + margin: 0px; + -moz-padding-start: 10px; + background-color: #FFFFFF; + color: #000000; +} + +.paneButtonIcon { + width: 32px; + height: 32px; +} + +radio[pane][selected="true"] { + background-color: #336699; + color: #FFFFFF; +} + diff --git a/EarlyBlue/global/printPageSetup.css b/EarlyBlue/global/printPageSetup.css new file mode 100644 index 00000000..197e2dd9 --- /dev/null +++ b/EarlyBlue/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/EarlyBlue/global/printing.css b/EarlyBlue/global/printPreview.css similarity index 78% rename from EarlyBlue/global/printing.css rename to EarlyBlue/global/printPreview.css index f1128cd4..f8ca5bad 100644 --- a/EarlyBlue/global/printing.css +++ b/EarlyBlue/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,44 +33,43 @@ * 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"); } -.end-arrow { +.end-arrow, .home-arrow[chromedir="rtl"] { list-style-image: url("chrome://global/skin/arrow/arrow-right-sharp-end.gif"); } -.last-arrow { +.left-arrow, .right-arrow[chromedir="rtl"] { list-style-image: url("chrome://global/skin/arrow/arrow-left-sharp.gif"); } -.next-arrow { +.right-arrow, .left-arrow[chromedir="rtl"] { list-style-image: url("chrome://global/skin/arrow/arrow-right-sharp.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/EarlyBlue/global/progressmeter.css b/EarlyBlue/global/progressmeter.css index 8e529004..fc67c6e4 100644 --- a/EarlyBlue/global/progressmeter.css +++ b/EarlyBlue/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 inset #CCD0DD; background-color: #999999; min-width: 128px; - height: 15px; + min-height: 15px; } progressmeter[mode="undetermined"] { @@ -72,6 +72,6 @@ progressmeter[mode="undetermined"] { margin: 0px 2px 0px 2px; border: 1px solid #CCD0DD; background-color: #666699; - min-width: 100px; - height: 16px; + min-width: 96px; + min-height: 16px; } diff --git a/EarlyBlue/global/radio.css b/EarlyBlue/global/radio.css index 97aa0d38..686fd260 100644 --- a/EarlyBlue/global/radio.css +++ b/EarlyBlue/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 { @@ -81,8 +81,11 @@ radio[focused="true"] > .radio-label-center-box > .radio-label-box { /* ..... disabled state ..... */ - radio[disabled="true"] > .radio-spacer-box > .radio-check-box1 { + background-color: #CCD0DD; +} + +radio[disabled="true"] { color: #999999; } @@ -93,7 +96,8 @@ radio[disabled="true"] > .radio-spacer-box > .radio-check-box1 { -moz-border-radius: 50%; width: 12px; height: 12px; - background-color: transparent; + background-color: #FFFFFF; + /* background-color: transparent; */ } .radio-check-box2 { diff --git a/EarlyBlue/global/richlistbox.css b/EarlyBlue/global/richlistbox.css new file mode 100644 index 00000000..c6870eba --- /dev/null +++ b/EarlyBlue/global/richlistbox.css @@ -0,0 +1,70 @@ +/* ***** 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 { + margin: 2px 4px; + background-color: #FFFFFF; + color: #000000; +} + +richlistbox[disabled="true"] { + color: #999999; +} + +richlistitem[selected="true"] { + background-color: #CCD0DD; + color: #000000; +} + +richlistbox:focus > richlistitem[selected="true"] { + background-color: #336699; + color: #FFFFFF; +} + +richlistbox[seltype="multiple"]:focus > richlistitem[current="true"] { + outline: 1px dotted #666699; + -moz-outline-offset: -1px; +} + +richlistbox[seltype="multiple"]:focus > richlistitem[current="true"][selected="true"] { + outline: 1px dotted #666699; +} + diff --git a/EarlyBlue/global/scale.css b/EarlyBlue/global/scale.css index 466aaa08..589df2c4 100644 --- a/EarlyBlue/global/scale.css +++ b/EarlyBlue/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/EarlyBlue/global/scrollbars.css b/EarlyBlue/global/scrollbars.css index 3751539a..ce72d0f6 100644 --- a/EarlyBlue/global/scrollbars.css +++ b/EarlyBlue/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 { diff --git a/EarlyBlue/global/scrollbox.css b/EarlyBlue/global/scrollbox.css index 8ca5f337..a1414fbe 100644 --- a/EarlyBlue/global/scrollbox.css +++ b/EarlyBlue/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") +/* Horizonal 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 { + /* Horizonal 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: #336699; margin: 1px; border: 1px inset #CCD0DD; - padding: 2px 1px 1px 2px; + padding-top: 2px; + padding-bottom: 1px; + -moz-padding-start: 2px; + -moz-padding-end: 1px; } diff --git a/EarlyBlue/global/splitter.css b/EarlyBlue/global/splitter.css index 702f2522..a44adfe3 100644 --- a/EarlyBlue/global/splitter.css +++ b/EarlyBlue/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/EarlyBlue/global/tabbox.css b/EarlyBlue/global/tabbox.css index f13b19fe..2a397e1f 100644 --- a/EarlyBlue/global/tabbox.css +++ b/EarlyBlue/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, @@ -60,7 +60,6 @@ tabpanels { padding: 5px; background-color: #CCD0DD; color: #000000; - -moz-user-focus: normal; } /* ::::: tab ::::: */ diff --git a/EarlyBlue/global/textbox.css b/EarlyBlue/global/textbox.css index f194f305..6cbc325b 100644 --- a/EarlyBlue/global/textbox.css +++ b/EarlyBlue/global/textbox.css @@ -35,15 +35,13 @@ * * ***** 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"); - /* ===== 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"); + /* ::::: textbox ::::: */ textbox { @@ -60,7 +58,7 @@ textbox { min-height: 19px; } -html|*.textbox-input, +html|*.textbox-input, html|*.textbox-textarea { margin: 0px !important; border: none !important; @@ -70,6 +68,10 @@ html|*.textbox-textarea { font: inherit; } +.textbox-input-box menupopup { + cursor: default; +} + /* ..... readonly state ..... */ textbox[readonly="true"] { @@ -109,4 +111,10 @@ textbox.plain { background-color: inherit !important; color: inherit !important; min-height: 0px; -} \ No newline at end of file +} + +/* ::::: textboxes inside toolbarpaletteitems ::::: */ + +toolbarpaletteitem > toolbaritem > textbox > .textbox-input-box > html|*.textbox-input { + visibility: hidden; +} diff --git a/EarlyBlue/global/toolbar.css b/EarlyBlue/global/toolbar.css index ab7e7050..e6e2f00a 100644 --- a/EarlyBlue/global/toolbar.css +++ b/EarlyBlue/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,48 +53,93 @@ toolbar, menubar { border-bottom: 1px solid #9999CC; background-color: #CCD0DD; - min-width: 1px; /* DON'T DELETE! - Prevents hiding of scrollbars in browser when window is made smaller.*/ + min-width: 1px; } -.toolbar-holder - { - } +/* in browser.xul, the menubar is inside a toolbar... */ +toolbaritem > menubar { + border-bottom-style: none; + background-color: transparent; +} + +/* ::::: toolbar decorations ::::: */ -/* ::::: toolbargrippy ::::: */ +toolbarseparator { + margin : 2px 0.2em; + border-right: 1px solid #666699; + width : 1px; +} -toolbargrippy { - -moz-box-orient: vertical; - -moz-box-align: center; - border: 1px solid #999999; - background-color: #666699; - width: 9px; - padding: 2px 0px; - list-style-image: url("chrome://global/skin/toolbar/tbgrip-arrow.gif"); +toolbarspacer { + width: 10px; } -toolbargrippy:hover { - background-color: #6699FF; +toolbar[mode="icons"] .toolbarbutton-text { + display: none; } -/* ::::: collapsed tray and grippies ::::: */ +toolbar[mode="text"] .toolbarbutton-icon { + display: none; +} -toolbargrippy[tbgrippy-collapsed="true"] { - -moz-box-orient: horizontal; - width: 40px; - height: 9px; - padding: 0px 2px; - list-style-image: url("chrome://global/skin/toolbar/tbgrip-arrow-collapsed.gif"); +toolbar[mode="text"] .toolbarbutton-text { + padding: 0 !important; + margin: 1px 3px !important; } -.collapsed-tray-spacer { - border-bottom: 1px solid #9999CC; +/* ::::: toolbarpaletteitem ::::: */ + +toolbarpaletteitem { + cursor: -moz-grab; } -/* ::::: toolbarseparator ::::: */ +.toolbarpaletteitem-box[type="spacer"], +.toolbarpaletteitem-box[type="spring"] { + border: 1px solid #666699; + background-color: #FFFFFF !important; +} -toolbarseparator { - margin: 2px 0.2em 2px 0.2em; - border-right: 1px solid #666699; - width: 1px; +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: #000000; +} + +toolbarpaletteitem[dragover="right"] { + border-right-color: #000000; } diff --git a/EarlyBlue/global/toolbar/spring.gif b/EarlyBlue/global/toolbar/spring.gif new file mode 100644 index 0000000000000000000000000000000000000000..9dfdb161c64e8aca6c2138ca7a3467cf85e3840e GIT binary patch literal 254 zcmZ?wbhEHbRA5kGIKsg2|Ns9GpP<~d?9ZP*{r>$sHZ1z*&z}$OKR9vpxWBvag>x60 zYa6$3**0^^^x4yAojrXvGbz2Hs&3=DjaxQut|_ZxAOsYDvVfK7fJl&?4y@G*3VkV= z^D .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, @@ -166,17 +189,17 @@ toolbarbutton[disabled="true"]:hover:active > toolbarbutton.toolbarbutton-menubu .toolbarbutton-menubutton-dropmarker { -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; + 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; -/* list-style-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif") !important; */ } diff --git a/EarlyBlue/global/tree.css b/EarlyBlue/global/tree.css index 557667ce..02bd1288 100644 --- a/EarlyBlue/global/tree.css +++ b/EarlyBlue/global/tree.css @@ -19,9 +19,9 @@ * the Initial Developer. All Rights Reserved. * * Contributor(s): - * Robert Kaiser * Joe Hewitt (hewitt@netscape.com) * Dean Tessman (dean_tessman@hotmail.com) + * Robert Kaiser * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or @@ -37,16 +37,16 @@ * * ***** 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 { - border-spacing: 0px; + margin: 0px; border: 1px inset #CCD0DD; background-color: #FFFFFF; color: #000000; @@ -54,7 +54,6 @@ tree { /* ::::: tree focusring ::::: */ -/* deactivated, looks too bad for me in EarlyBlue .focusring > .tree-stack > .tree-rows > .tree-bodybox { border: 1px solid transparent; } @@ -62,7 +61,6 @@ tree { .focusring:focus > .tree-stack > .tree-rows > .tree-bodybox { border: 1px solid #000000; } -*/ /* ::::: tree rows ::::: */ @@ -98,7 +96,7 @@ tree[seltype="text"] > treechildren::-moz-tree-row { /* ::::: tree cells ::::: */ treechildren::-moz-tree-cell { - padding: 0px 2px 0px 2px; + padding: 0px 2px; } tree[seltype="cell"] > treechildren::-moz-tree-cell-text, @@ -262,7 +260,7 @@ treecolpicker { } .treecol-image { - padding: 1px; + padding: 0 1px; } .treecol-text { @@ -321,12 +319,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 ::::: */ @@ -364,6 +362,41 @@ treechildren.gridlines::-moz-tree-row { border: none; } +/* ::::: Name (what is that?) ::::: */ + +treechildren::-moz-tree-image(Name) { + padding-right: 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: #666699; + margin: 0px 3px; +} + +treechildren::-moz-tree-cell-text(Name, separator, selected, focus) { + color: #FFFFFF; +} + /* ::::: alternating background ::::: */ treechildren[alternatingbackground="true"]::-moz-tree-row(odd) { @@ -390,7 +423,6 @@ treechildren::-moz-tree-cell-text(selected, editing) { } .tree-input { - -moz-appearance: none; border: 1px solid #336699; margin: 0 0 0 -4px; padding: 1px; diff --git a/EarlyBlue/global/wizard.css b/EarlyBlue/global/wizard.css index cb827321..8315937c 100644 --- a/EarlyBlue/global/wizard.css +++ b/EarlyBlue/global/wizard.css @@ -39,18 +39,30 @@ .wizard-header { border-bottom: 2px groove #6699FF; - padding: 10px 0px 10px 0px; background-color: #666699; color: #CCD0DD; } +.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/EarlyBlue/navigator/tabbrowser.css b/EarlyBlue/navigator/tabbrowser.css new file mode 100644 index 00000000..c6f2c41e --- /dev/null +++ b/EarlyBlue/navigator/tabbrowser.css @@ -0,0 +1,114 @@ +/* ***** 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 ***** */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +.tabbrowser-strip { + padding-bottom: 1px; + border-bottom: 1px solid #666699; +} + +tabpanels { +} + +.tabbrowser-tabs { + padding-top: 1px; +} + +.tabs-left, +.tabs-right { + width: 0px; +} + +.tab-icon { + margin-top: 1px; + margin-right: 3px; + width: 16px; + height: 16px; +} + +tab { + list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item16.gif"); +} + +tab[busy] { + list-style-image: url("chrome://global/skin/icons/loading.gif"); +} + +tabbrowser > tabbox > tabpanels { + border: none; + padding: 0px; + margin: 0px; +} + +/* ::::: close & new tab buttons ::::: */ + +.tabs-closebutton { + margin-bottom: 2px; + margin-right: 2px; + list-style-image: url("chrome://global/skin/icons/close-button.gif"); +} + +.tabs-closebutton > .toolbarbutton-icon { + margin: 0; +} + +.tabs-newbutton { + margin: 0px; + margin-top: 2px; + padding: 0px; + list-style-image: url("chrome://global/skin/icons/tab-new.gif"); +} + +.tab-drop-indicator-bar { + height: 11px; + margin-top: -11px; + margin-left: -8px; + position: relative; +} + +.tab-drop-indicator { + height: 11px; + width: 11px; + margin-bottom: -8px; + position: relative; + list-style-image: url('chrome://global/skin/icons/tab-drag-indicator.gif'); +} + +tooltip[tabpreview="true"] { + max-width: none; +} -- 2.35.3