Bug 879616 - adjust close icons for OS X to deal with bright lightweight themes, r=MattN

--HG--
extra : rebase_source : b51f2975a66704ab75f21582eee56fc797b32ba0
This commit is contained in:
Gijs Kruitbosch 2014-03-18 22:51:24 +00:00
parent e6e0f97d3c
commit f9e6a03545
3 changed files with 8 additions and 0 deletions

View File

@ -2824,10 +2824,18 @@ toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
cursor: default;
}
.tab-close-button.close-icon:not([selected=true]):not(:hover):-moz-lwtheme-brighttext {
-moz-image-region: rect(0, 64px, 16px, 48px);
}
@media (min-resolution: 2dppx) {
.tab-close-button > .toolbarbutton-icon {
width: 16px;
}
.tab-close-button.close-icon:not([selected=true]):not(:hover):-moz-lwtheme-brighttext {
-moz-image-region: rect(0, 128px, 32px, 96px);
}
}
.tabbrowser-arrowscrollbox > .scrollbutton-up,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 812 B

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
toolkit/themes/osx/global/icons/close@2x.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB