Created Scholar toolbar button (use Customize Toolbar... option)
This commit is contained in:
parent
dc2751b85c
commit
a47bf41eb6
9 changed files with 46 additions and 1 deletions
|
@ -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
|
|
@ -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"/>
|
||||
|
|
|
@ -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');
|
||||
|
|
BIN
chrome/chromeFiles/skin/default/scholar/toolbar-large-active.png
Normal file
BIN
chrome/chromeFiles/skin/default/scholar/toolbar-large-active.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 623 B |
Binary file not shown.
After Width: | Height: | Size: 615 B |
BIN
chrome/chromeFiles/skin/default/scholar/toolbar-large.png
Normal file
BIN
chrome/chromeFiles/skin/default/scholar/toolbar-large.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 596 B |
BIN
chrome/chromeFiles/skin/default/scholar/toolbar-small-active.png
Normal file
BIN
chrome/chromeFiles/skin/default/scholar/toolbar-small-active.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 540 B |
Binary file not shown.
After Width: | Height: | Size: 520 B |
BIN
chrome/chromeFiles/skin/default/scholar/toolbar-small.png
Normal file
BIN
chrome/chromeFiles/skin/default/scholar/toolbar-small.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 529 B |
Loading…
Reference in a new issue