Bug 597353 - Ensure pinned tabs have the same height and alignment as normal tabs. r=gavin a=b

This commit is contained in:
Dão Gottwald 2010-09-29 12:16:32 +02:00
parent 7756e61cfc
commit 2cc3e58c54
2 changed files with 11 additions and 8 deletions

View File

@ -23,11 +23,15 @@
}
.tab-label[pinned] {
display: none;
width: 0;
margin-left: 0 !important;
margin-right: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
.tab-stack {
vertical-align: middle; /* for pinned tabs */
vertical-align: top; /* for pinned tabs */
}
tabpanels {

View File

@ -970,13 +970,8 @@ toolbar[mode="icons"] #zoom-in-button {
/* tab progress */
.tab-progress-container {
margin-top: -2px;
}
#tabbrowser-tabs[tabsontop="false"] > .tabbrowser-tab > .tab-stack > .tab-progress-container {
-moz-box-pack: end;
margin-bottom: -2px;
}
/* ----- AUTOCOMPLETE ----- */
@ -1558,6 +1553,11 @@ toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
font-weight: bold;
}
.tab-stack {
/* ensure stable tab height with and without toolbarbuttons on the tab bar */
height: 19px;
}
.tabbrowser-tab,
.tabs-newtab-button {
-moz-appearance: none;
@ -1574,7 +1574,6 @@ toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
-moz-border-left-colors: rgba(0,0,0,.04) rgba(0,0,0,.17) rgba(255,255,255,.1);
background-clip: padding-box;
text-align: center;
height: 24px;
background-image: url(chrome://browser/skin/tabbrowser/tab-bkgnd.png);
}