@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

toolbaritem:not([auth="true"]) toolbarbutton:not([anonid="mailru-button-auth"]) {
	display: none !important;
}
toolbaritem[auth="true"] toolbarbutton[anonid="mailru-button-auth"] {
	display: none !important;
}

toolbaritem *[anonid="mailru-button-auth"] {
	list-style-image: url("img/mailru-main-locked.png") !important;
}
toolbaritem *[anonid="mailru-button-main"] {
	list-style-image: url("img/mailru-main.png") !important;
}
menuitem[item-command="update"] {
	list-style-image: url("img/mailru-update.png") !important;
}
menuitem[item-href="compose"] {
	list-style-image: url("img/mailru-compose.png") !important;
}

menuitem[item-command="settings"] {
	list-style-image: url("/-common/img/settings.png") !important;
}

toolbaritem *[anonid="mailru-button-compose"] {
	list-style-image: url("img/mailru-compose.png") !important;
}

toolbaritem *[anonid="mailru-button-compose"][hidden="true"] {
	display: none !important;
}


menuitem[anonid="mailbox"] {
	font-weight: bold;
	-moz-appearance: none;
}
toolbaritem menuitem[label=""] {
	display: none !important;
}


toolbar *[ybar-native-widget-name] toolbarbutton.toolbarbutton-1.widget-button[throbber="true"] {
	list-style-image: url("/-common/img/throbber.gif") !important;
}
toolbar *[ybar-native-widget-name] toolbarbutton.toolbarbutton-1.widget-button .menuitem-iconic[throbber="true"] {
	list-style-image: url("/-common/img/throbber.gif") !important;
}

