bug 864894 fix social toolbarbutton badge style on inactive window for osx, r=felipe

This commit is contained in:
Shane Caraveo 2013-04-24 11:03:56 -07:00
parent 12356a4c50
commit 88b236e5eb

View File

@ -3667,7 +3667,7 @@ toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
margin: 2px;
}
.toolbarbutton-badge[badge]:not([badge=""])::after {
.toolbarbutton-badge[badge]:not([badge=""]) {
/* The |content| property is set in the content stylesheet. */
font-size: 9px;
font-weight: bold;
@ -3680,18 +3680,26 @@ toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
position: absolute;
top: 0;
right: 0;
z-index: 1;
}
.toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
.toolbarbutton-badge[badge]:not([badge=""]):-moz-window-inactive {
background-color: rgb(230,230,230);
box-shadow: none;
border: 1px solid rgb(206,206,206);
color: rgb(192,192,192);
}
.toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl) {
left: 0;
right: auto;
}
toolbar[mode="icons"] > *|* > .toolbarbutton-badge[badge]:not([badge=""])::after {
toolbar[mode="icons"] > *|* > .toolbarbutton-badge[badge]:not([badge=""]) {
right: -2px;
}
toolbar[mode="icons"] > *|* > .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
toolbar[mode="icons"] > *|* > .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl) {
left: -2px;
}