Created Scholar toolbar button (use Customize Toolbar... option)

This commit is contained in:
David Norton 2006-07-26 16:42:26 +00:00
parent dc2751b85c
commit a47bf41eb6
9 changed files with 46 additions and 1 deletions

View file

@ -5,3 +5,4 @@ skin scholar default chrome/chromeFiles/skin/default/scholar/
overlay chrome://browser/content/browser.xul chrome://scholar/content/overlay.xul
overlay chrome://browser/content/browser.xul chrome://scholar/content/ingester/browser.xul
style chrome://browser/content/browser.xul chrome://scholar/skin/scholar.css
style chrome://global/content/customizeToolbar.xul chrome://scholar/skin/scholar.css

View file

@ -19,7 +19,11 @@
<command id="cmd_scholar_newCollection" oncommand="ScholarPane.newCollection();"/>
<command id="cmd_scholar_search" oncommand="ScholarPane.search();"/>
</commandset>
<toolbarpalette id="BrowserToolbarPalette">
<toolbarbutton id="scholar-toolbar-button" class="toolbarbutton-1"
label="&scholar.name;"
oncommand="ScholarPane.toggleDisplay();"/>
</toolbarpalette>
<vbox id="appcontent">
<!-- Changes to attributes of scholar-splitter and scholar-pane must be mirrored on overlay.js's onLoad() function -->
<splitter id="scholar-splitter" resizebefore="closest" resizeafter="closest" collapsed="true"/>

View file

@ -1,3 +1,43 @@
#scholar-toolbar-button
{
list-style-image: url('chrome://scholar/skin/toolbar-large.png');
}
#scholar-toolbar-button:active
{
list-style-image: url('chrome://scholar/skin/toolbar-large-active.png');
}
#scholar-toolbar-button[disabled="true"]
{
list-style-image: url('chrome://scholar/skin/toolbar-large-disabled.png');
}
toolbar[iconsize="small"] #scholar-toolbar-button
{
list-style-image: url('chrome://scholar/skin/toolbar-small.png');
}
toolbar[iconsize="small"] #scholar-toolbar-button:active
{
list-style-image: url('chrome://scholar/skin/toolbar-small-active.png');
}
toolbar[iconsize="small"] #scholar-toolbar-button[disabled="true"]
{
list-style-image: url('chrome://scholar/skin/toolbar-small-disabled.png');
}
#scholar-toolbar-button
{
list-style-image: url('chrome://scholar/skin/toolbar-large.png');
}
toolbar[iconsize="small"] #scholar-toolbar-button
{
list-style-image: url('chrome://scholar/skin/toolbar-small.png');
}
textbox[multiline="true"][type="timed"]
{
-moz-binding: url('chrome://scholar/content/bindings/timedtextarea.xml#timed-textarea');

Binary file not shown.

After

Width:  |  Height:  |  Size: 623 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 615 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 596 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 540 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 520 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 529 B