Bug 947356 - Use custom icon for the all tabs button for better contrast on different backgrounds. r=mdeboer

This commit is contained in:
Dão Gottwald 2014-06-26 13:35:27 +02:00
parent 7d6a8ee161
commit 010cdbbe2e
4 changed files with 11 additions and 7 deletions

View File

@ -1874,18 +1874,20 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
margin-bottom: @tabToolbarNavbarOverlap@;
}
#TabsToolbar .toolbarbutton-1 > .toolbarbutton-icon,
#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
margin-top: -2px;
margin-bottom: -2px;
#alltabs-button {
list-style-image: url("chrome://browser/skin/tabbrowser/alltabs.png");
}
#alltabs-button > .toolbarbutton-menu-dropmarker {
margin-bottom: -2px;
#TabsToolbar[brighttext] > #alltabs-button,
#TabsToolbar[brighttext] > toolbarpaletteitem > #alltabs-button {
list-style-image: url("chrome://browser/skin/tabbrowser/alltabs-inverted.png");
}
#alltabs-button > .toolbarbutton-icon {
padding: 9px 6px 6px;
}
#alltabs-button > .toolbarbutton-menu-dropmarker {
display: none;
}

View File

@ -160,6 +160,8 @@ browser.jar:
skin/classic/browser/social/chat-icons.png (social/chat-icons.png)
skin/classic/browser/social/gear_default.png (../shared/social/gear_default.png)
skin/classic/browser/social/gear_clicked.png (../shared/social/gear_clicked.png)
skin/classic/browser/tabbrowser/alltabs.png (tabbrowser/alltabs.png)
skin/classic/browser/tabbrowser/alltabs-inverted.png (tabbrowser/alltabs-inverted.png)
skin/classic/browser/tabbrowser/connecting.png (tabbrowser/connecting.png)
skin/classic/browser/tabbrowser/loading.png (tabbrowser/loading.png)
skin/classic/browser/tabbrowser/tab-active-middle.png (tabbrowser/tab-active-middle.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 B