mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
add help stuff
This commit is contained in:
parent
1fac33cb70
commit
57a2627f06
BIN
toolkit/themes/winstripe/help/Toolbar.png
Normal file
BIN
toolkit/themes/winstripe/help/Toolbar.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
BIN
toolkit/themes/winstripe/help/Weblink.png
Normal file
BIN
toolkit/themes/winstripe/help/Weblink.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 484 B |
22
toolkit/themes/winstripe/help/contents.rdf
Normal file
22
toolkit/themes/winstripe/help/contents.rdf
Normal file
@ -0,0 +1,22 @@
|
||||
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:chrome="http://www.mozilla.org/rdf/chrome#">
|
||||
|
||||
# List all the skins being supplied by this theme
|
||||
<RDF:Seq about="urn:mozilla:skin:root">
|
||||
<RDF:li resource="urn:mozilla:skin:classic/1.0" />
|
||||
</RDF:Seq>
|
||||
|
||||
# classic Information
|
||||
<RDF:Description about="urn:mozilla:skin:classic/1.0">
|
||||
<chrome:packages>
|
||||
<RDF:Seq about="urn:mozilla:skin:classic/1.0:packages">
|
||||
<RDF:li resource="urn:mozilla:skin:classic/1.0:help"/>
|
||||
</RDF:Seq>
|
||||
</chrome:packages>
|
||||
</RDF:Description>
|
||||
|
||||
# Version Information. State that we work only with major version 1 of this
|
||||
# package.
|
||||
<RDF:Description about="urn:mozilla:skin:classic/1.0:help"
|
||||
chrome:skinVersion="1.5"/>
|
||||
</RDF:RDF>
|
121
toolkit/themes/winstripe/help/help.css
Normal file
121
toolkit/themes/winstripe/help/help.css
Normal file
@ -0,0 +1,121 @@
|
||||
/*
|
||||
# ***** BEGIN LICENSE BLOCK *****
|
||||
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
#
|
||||
# The contents of this file are subject to the Mozilla Public License Version
|
||||
# 1.1 (the "License"); you may not use this file except in compliance with
|
||||
# the License. You may obtain a copy of the License at
|
||||
# http://www.mozilla.org/MPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS IS" basis,
|
||||
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
# for the specific language governing rights and limitations under the
|
||||
# License.
|
||||
#
|
||||
# The Original Code is Mozilla Help CSS
|
||||
#
|
||||
# The Initial Developer of the Original Code is
|
||||
# R.J. Keller
|
||||
# Portions created by the Initial Developer are Copyright (C) 2003
|
||||
# the Initial Developer. All Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
# Alternatively, the contents of this file may be used under the terms of
|
||||
# either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
# in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
# of those above. If you wish to allow use of your version of this file only
|
||||
# under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
# use your version of this file under the terms of the MPL, indicate your
|
||||
# decision by deleting the provisions above and replace them with the notice
|
||||
# and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
# the provisions above, a recipient may use your version of this file under
|
||||
# the terms of any one of the MPL, the GPL or the LGPL.
|
||||
#
|
||||
# ***** END LICENSE BLOCK *****
|
||||
*/
|
||||
@import url("chrome://global/skin/");
|
||||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||
|
||||
.toolbarbutton-1 {
|
||||
-moz-box-orient: vertical;
|
||||
min-width: 0px;
|
||||
list-style-image: url("chrome://help/skin/Toolbar.png");
|
||||
}
|
||||
|
||||
#help-zoom-large-button,
|
||||
#help-zoom-small-button,
|
||||
#help-sidebar-button {
|
||||
list-style-image: url("chrome://help/skin/Toolbar.png");
|
||||
}
|
||||
|
||||
toolbarbutton:not([disabled="true"]):hover,
|
||||
menubutton:not([disabled="true"]):hover,
|
||||
toolbarbutton:not([disabled="true"]):hover:active,
|
||||
menubutton:not([disabled="true"]):hover:active {
|
||||
color: ButtonText !important;
|
||||
}
|
||||
|
||||
#help-back-button { -moz-image-region: rect(0px 144px 24px 120px); }
|
||||
#help-back-button[buttonover="true"] { -moz-image-region: rect(24px 144px 48px 120px); }
|
||||
#help-back-button[disabled="true"] { -moz-image-region: rect(48px 144px 72px 120px); }
|
||||
|
||||
#help-forward-button { -moz-image-region: rect(0px 168px 24px 144px); }
|
||||
#help-forward-button[buttonover="true"] { -moz-image-region: rect(24px 168px 48px 144px); }
|
||||
#help-forward-button[disabled="true"] { -moz-image-region: rect(48px 168px 72px 144px); }
|
||||
|
||||
#help-find-button { -moz-image-region: rect(0px 192px 24px 168px); }
|
||||
#help-find-button:hover { -moz-image-region: rect(0px 192px 24px 168px); }
|
||||
|
||||
#help-toolbar-customization { -moz-image-region: rect(0px 216px 24px 192px); }
|
||||
#help-toolbar-customization:hover { -moz-image-region: rect(24px 216px 48px 192px); }
|
||||
|
||||
#help-home-button { -moz-image-region: rect(0px 120px 24px 96px); }
|
||||
#help-home-button:hover { -moz-image-region: rect(24px 120px 48px 96px); }
|
||||
|
||||
#help-print-button { -moz-image-region: rect(0px 96px 24px 72px); }
|
||||
#help-print-button:hover { -moz-image-region: rect(24px 96px 48px 72px); }
|
||||
|
||||
#help-zoom-large-button { -moz-image-region: rect(0px 24px 24px 0px); }
|
||||
#help-zoom-large-button:hover { -moz-image-region: rect(24px 24px 48px 0px); }
|
||||
|
||||
#help-zoom-small-button { -moz-image-region: rect(0px 48px 24px 24px); }
|
||||
#help-zoom-small-button:hover { -moz-image-region: rect(24px 48px 48px 24px); }
|
||||
|
||||
#help-sidebar-button { -moz-image-region: rect(0px 72px 24px 48px); }
|
||||
#help-sidebar-button { -moz-image-region: rect(0px 72px 24px 48px); }
|
||||
|
||||
/** Toolbar Customization stuff **/
|
||||
toolbar[mode="icons"] > toolbarbutton > .toolbarbutton-icon,
|
||||
toolbar[mode="text"] > toolbarbutton > .toolbarbutton-text
|
||||
toolbar[mode="icons"] > toolbarbutton[type="menu-button"] > .toolbarbutton-icon,
|
||||
toolbar[mode="text"] > toolbarbutton[type="menu-button"] > .toolbarbutton-text {
|
||||
display: -moz-box;
|
||||
}
|
||||
|
||||
toolbar[mode="icons"] > toolbarbutton > .toolbarbutton-text,
|
||||
toolbar[mode="text"] > toolbarbutton > .toolbarbutton-icon,
|
||||
toolbar[mode="text"] > toolbarbutton > toolbarbutton > .toolbarbutton-icon,
|
||||
toolbar[mode="icons"] > toolbarbutton > toolbarbutton > .toolbarbutton-text {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Small icons are not supported. */
|
||||
#smallicons { display: none; }
|
||||
|
||||
/*** THROBBER ***/
|
||||
#help-throbber {
|
||||
-moz-appearance: none;
|
||||
-moz-user-focus: ignore;
|
||||
margin: 0 !important;
|
||||
border: none !important;
|
||||
padding: 0px !important;
|
||||
min-width: 0;
|
||||
background-color: transparent;
|
||||
list-style-image: url("chrome://help/skin/throbber.png");
|
||||
}
|
||||
|
||||
#help-throbber[busy="true"] {
|
||||
list-style-image: url("chrome://help/skin/throbber-busy.gif");
|
||||
}
|
110
toolkit/themes/winstripe/help/helpFileLayout.css
Normal file
110
toolkit/themes/winstripe/help/helpFileLayout.css
Normal file
@ -0,0 +1,110 @@
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License Version
|
||||
* 1.1 (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is Mozilla Help CSS
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* R.J. Keller
|
||||
* Portions created by the Initial Developer are Copyright (C) 2003
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Jeff Walden <Jswalden86@netzero.net>
|
||||
*
|
||||
* 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 ***** */
|
||||
|
||||
body {
|
||||
margin: 2ex;
|
||||
color: black;
|
||||
font-family: sans-serif;
|
||||
font-size: 0.75em;
|
||||
max-width: 120ex;
|
||||
}
|
||||
|
||||
:link:hover { color: red; }
|
||||
|
||||
a[href^="http://"]:after { content: url('chrome://help/skin/Weblink.png'); }
|
||||
|
||||
h1 { font-size: 2em; }
|
||||
h2 { border-top: 1px solid black; font-size: 1.75em; }
|
||||
h3 { color: #009; font-size: 1em; margin-bottom: 0px; margin-top: 35px; }
|
||||
|
||||
dt { font-weight: bold; }
|
||||
|
||||
p {
|
||||
text-indent: 15px;
|
||||
}
|
||||
|
||||
.contentsBox,
|
||||
.contentsBox > ul,
|
||||
li {
|
||||
text-indent: 0px;
|
||||
}
|
||||
|
||||
.contentsBox > ul,
|
||||
.contentsBox ul > ul{
|
||||
margin: 0 0 0 0;
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.contentsBox {
|
||||
margin-top: 12px;
|
||||
background-color: #cccccc;
|
||||
border: 1px solid black;
|
||||
width: 300px;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
.makeLeftMargin {
|
||||
margin-left: 25px;
|
||||
}
|
||||
|
||||
.menuPath {
|
||||
background: #c4d0f4; /* bluish color */
|
||||
color: inherit;
|
||||
padding-left: 1px; /* else bgcolor ends at last char - no space */
|
||||
padding-right: 1px;
|
||||
}
|
||||
|
||||
table {
|
||||
background-color: #eeeeee; /* really light grey */
|
||||
}
|
||||
|
||||
td {
|
||||
border: 1px solid #999999; /* grey */
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
th {
|
||||
background-color: #99ccff; /* light aqua */
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.noTableBorder,
|
||||
.noTableBorder td,
|
||||
.noTableBorder th {
|
||||
background-color: transparent;
|
||||
border: 0px solid transparent;
|
||||
}
|
12
toolkit/themes/winstripe/help/jar.mn
Normal file
12
toolkit/themes/winstripe/help/jar.mn
Normal file
@ -0,0 +1,12 @@
|
||||
help.jar:
|
||||
skin/classic/help/help.css
|
||||
skin/classic/help/Toolbar.png
|
||||
* skin/classic/help/helpFileLayout.css
|
||||
skin/classic/help/sbtab-twisty.gif
|
||||
skin/classic/help/sbtab-twisty-open.gif
|
||||
* skin/classic/help/sidebar.css
|
||||
* skin/classic/help/sidebarBindings.xml
|
||||
skin/classic/help/Weblink.png
|
||||
* skin/classic/help/contents.rdf
|
||||
skin/classic/help/throbber.png
|
||||
skin/classic/help/throbber-busy.gif
|
BIN
toolkit/themes/winstripe/help/sbtab-twisty-open.gif
Normal file
BIN
toolkit/themes/winstripe/help/sbtab-twisty-open.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 65 B |
BIN
toolkit/themes/winstripe/help/sbtab-twisty.gif
Normal file
BIN
toolkit/themes/winstripe/help/sbtab-twisty.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 67 B |
62
toolkit/themes/winstripe/help/sidebar.css
Normal file
62
toolkit/themes/winstripe/help/sidebar.css
Normal file
@ -0,0 +1,62 @@
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is Mozilla Communicator client code, released
|
||||
# March 31, 1998.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
# Joe Hewitt <hewitt@netscape.com>
|
||||
#
|
||||
#
|
||||
#
|
||||
# ===== sidebar.css ====================================================
|
||||
# == Styles used by the Sidebar panel and Sidebar tabs.
|
||||
# ======================================================================
|
||||
#
|
||||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||
|
||||
#sidebar-box {
|
||||
background-color: Window;
|
||||
}
|
||||
|
||||
# ::::: sidebar tabs :::::
|
||||
|
||||
.box-texttab {
|
||||
-moz-binding: url("chrome://help/skin/sidebarBindings.xml#sbtab");
|
||||
height: 20px;
|
||||
-moz-appearance: toolbox;
|
||||
}
|
||||
|
||||
.box-texttab[selected="true"],
|
||||
.box-texttab[selected="true"]:hover,
|
||||
.box-texttab[selected="true"]:hover:active {
|
||||
padding: 2px 1px 2px 0px;
|
||||
font-weight: bold;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.sbtab-label {
|
||||
margin: 0px 0px 0px 0px !important;
|
||||
}
|
||||
|
||||
.sbtab-twisty {
|
||||
margin: 0px 7px;
|
||||
list-style-image: url("chrome://help/skin/sbtab-twisty.gif");
|
||||
}
|
||||
|
||||
.sbtab-twisty[selected="true"] {
|
||||
list-style-image: url("chrome://help/skin/sbtab-twisty-open.gif");
|
||||
}
|
15
toolkit/themes/winstripe/help/sidebarBindings.xml
Normal file
15
toolkit/themes/winstripe/help/sidebarBindings.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<bindings id="sidebarBindings"
|
||||
xmlns="http://www.mozilla.org/xbl"
|
||||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:xbl="http://www.mozilla.org/xbl">
|
||||
|
||||
<binding id="sbtab" extends="xul:button">
|
||||
<content>
|
||||
<xul:image class="sbtab-twisty" xbl:inherits="selected"/>
|
||||
<xul:label class="sidebar-title" flex="1" xbl:inherits="value=label"/>
|
||||
</content>
|
||||
</binding>
|
||||
|
||||
</bindings>
|
BIN
toolkit/themes/winstripe/help/throbber-busy.gif
Normal file
BIN
toolkit/themes/winstripe/help/throbber-busy.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 913 B |
BIN
toolkit/themes/winstripe/help/throbber.png
Normal file
BIN
toolkit/themes/winstripe/help/throbber.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 223 B |
Loading…
Reference in New Issue
Block a user