@-moz-document url(chrome://sage/content/sage.xul) {

/*Associate the several icons to their image files.*/
#checkFeeds, #checkFeeds:hover, #checkFeeds:active , #discoverFeeds, #discoverFeeds:hover, #discoverFeeds:active  {list-style-image: url("chrome://browser/skin/Toolbar-small.png") !important;}
#toolsMenuButton, #toolsMenuButton:hover, #toolsMenuButton:active { list-style-image: url("chrome://browser/skin/livemark-folder.png") !important; }

/*Delete all margin and border from the three buttons and set left and right padding to 5px.*/
#checkFeeds, #discoverFeeds, #toolsMenuButton{ 
border: none !important;
margin: 0 !important;
padding: 0 5px 0 5px !important;
}

/*Aligning the buttons to the right side. If you prefer the original order, delete the following four lines. Or, if you prefer another order, simply change the digits 1 to 4 the way, you want the three buttons and the spacer to be displayed.*/
#pageSagePanel.spacer { -moz-box-ordinal-group: 1; }
#checkFeeds { -moz-box-ordinal-group: 2; }
#discoverFeeds { -moz-box-ordinal-group: 3; }
#toolsMenuButton { -moz-box-ordinal-group: 4; }

/*Hide the dropmarker left to the "Options"-label*/
#toolsMenuButton > .toolbarbutton-menu-dropmarker {display: none !important;}

/*Hide the "Options"-label and show an icon instead.*/
#toolsMenuButton .toolbarbutton-text{display: none !important;}
#toolsMenuButton .toolbarbutton-icon{display: -moz-box !important;}

/*Finally change the icons.*/
#toolsMenuButton { -moz-image-region: rect(0 16px 16px 0) !important; }
#toolsMenuButton:hover, #toolsMenuButton:active  { -moz-image-region: rect(16px 16px 32px 0) !important; }

#checkFeeds            { -moz-image-region: rect(0px 64px 16px 48px) !important; }
#checkFeeds:hover      { -moz-image-region: rect(16px 64px 32px 48px) !important; }
#checkFeeds:active     { -moz-image-region: rect(64px 64px 80px 48px) !important; }

#discoverFeeds         { -moz-image-region: rect(0px 80px 16px 64px) !important; }
#discoverFeeds:hover   { -moz-image-region: rect(16px 80px 32px 64px) !important; }
#discoverFeeds:active  { -moz-image-region: rect(64px 80px 80px 64px) !important; }

/*Hide various unnecessary bars.*/
#rssStatusBar,
#feedTitleBar,
#sidebar-title { display: none !important; }

#sage-splitter, #rssItemListBox {border: none !important;}

}

sidebarheader { display: none !important; }