Skip to content

Commit

Permalink
toolbar icon updates
Browse files Browse the repository at this point in the history
  • Loading branch information
neandr committed Jul 17, 2016
1 parent d6080dd commit 7fe96a4
Show file tree
Hide file tree
Showing 5 changed files with 203 additions and 8 deletions.
7 changes: 5 additions & 2 deletions chrome.manifest
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
overlay chrome://messenger/content/messenger.xul chrome://react/content/messenger-overlay.xul
overlay chrome://messenger/content/specialTabs.xul chrome://react/content/tab-overlay.xul

resource react modules/
content react content/
overlay chrome://messenger/content/messenger.xul chrome://react/content/messager-overlay.xul
overlay chrome://messenger/content/specialTabs.xul chrome://react/content/tab-overlay.xul

style chrome://global/content/customizeToolbar.xul chrome://react/content/messenger-overlay.css
8 changes: 7 additions & 1 deletion content/messenger-overlay.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#AddressBookTab-button {
#AddressBookTab-buttonX {
list-style-image: url("chrome://messenger/skin/icons/mail-toolbar.svg#address-flat");
}
#AddressBookTab-buttonXX {
list-style-image: url("chrome://react/content/skin/mail-toolbar.svg#address-flat");
}
#AddressBookTab-button {
list-style-image: url("chrome://react/content/skin/glyphicons_071_book.png");
}
15 changes: 10 additions & 5 deletions content/messager-overlay.xul → content/messenger-overlay.xul
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>

<?xml-stylesheet href="chrome://react/content/messenger-overlay.css" type="text/css"?>

Expand All @@ -8,15 +9,19 @@
<script type="application/javascript" src="chrome://react/content/overlay.js"/>
<script type="application/javascript" src="chrome://react/content/tab-overlay.js"/>

<toolbar id="MailToolbarPalette">
<toolbarbutton
class="toolbarbutton-1"
<toolbarpalette id="MailToolbarPalette">
<toolbarbutton id="AddressBookTab-button"/>
</toolbarpalette>

<toolbarbutton
class="toolbarbutton-1 chromeclass-toolbar-additional"
id="AddressBookTab-button"
label="React"
tooltiptext="React"
oncommand="reactTabType.open();"
removable="true"

/>
</toolbar>
/>


</overlay>
Binary file added content/skin/glyphicons_071_book.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
181 changes: 181 additions & 0 deletions content/skin/mail-toolbar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7fe96a4

Please sign in to comment.