port code from 3.5 for the all-tabs button's icon

This commit is contained in:
Dão Gottwald 2009-07-10 13:20:03 +02:00
parent 86afc44dd3
commit ca76bb625b
3 changed files with 24 additions and 0 deletions

View File

@ -1301,6 +1301,14 @@ tabpanels {
margin: 2px 0 1px;
}
.tabs-alltabs-button[type="menu"] > .toolbarbutton-menu-dropmarker {
margin-bottom: -2px;
}
.tabs-alltabs-button[type="menu"] > .toolbarbutton-icon {
display: none;
}
/* Sidebar */
#sidebar-box .tabs-closebutton {
margin-bottom: 0px !important;

View File

@ -1729,6 +1729,7 @@ tabbrowser > tabbox > tabpanels {
.tabs-alltabs-button:hover {
-moz-image-region: rect(0, 44px, 20px, 22px);
}
.tabs-alltabs-button[open="true"],
.tabs-alltabs-button:hover:active {
-moz-image-region: rect(0, 66px, 20px, 44px);
}

View File

@ -1568,6 +1568,21 @@ tabpanels {
-moz-image-region: rect(0, 28px, 20px, 14px);
}
.tabs-alltabs-button[type="menu"] > .toolbarbutton-icon {
list-style-image: url("chrome://browser/skin/mainwindow-dropdown-arrow.png");
margin: 5px 0 4px;
-moz-image-region: rect(0, 13px, 11px, 0);
}
.tabs-alltabs-button[type="menu"] > .toolbarbutton-menu-dropmarker {
display: none;
}
.tabs-alltabs-button[type="menu"]:hover:active > .toolbarbutton-icon,
.tabs-alltabs-button[type="menu"][open="true"] > .toolbarbutton-icon {
-moz-image-region: rect(0, 26px, 11px, 13px);
}
.tabs-alltabs-box-animate {
margin-top: 2px;
margin-bottom: 4px;