Bug 994758 - Rename tabHeight define to tabMinHeight, which is more accurate. r=dao.

This commit is contained in:
Mike Conley 2014-04-10 13:34:49 -04:00
parent 51f17f7552
commit ff9ef4e364
3 changed files with 7 additions and 7 deletions

View File

@ -85,7 +85,7 @@
* tabstrip can overlap it.
*/
#main-window[tabsintitlebar] > #titlebar {
min-height: calc(@tabHeight@ + @spaceAboveTabbar@ - @tabToolbarNavbarOverlap@);
min-height: calc(@tabMinHeight@ + @spaceAboveTabbar@ - @tabToolbarNavbarOverlap@);
}
/**
@ -2803,8 +2803,8 @@ toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
content: '';
display: block;
-moz-appearance: toolbar;
height: @tabHeight@;
margin-bottom: -@tabHeight@;
height: @tabMinHeight@;
margin-bottom: -@tabMinHeight@;
visibility: hidden;
}
@ -3972,7 +3972,7 @@ toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
* not displayed in native full-screen.
* Also add the height of the tabs, since we're calculating the
* total height of this pseudo-element, not just the top-padding. */
height: calc(@tabHeight@ + @spaceAboveTabbar@) !important;
height: calc(@tabMinHeight@ + @spaceAboveTabbar@) !important;
}
#main-window[inFullscreen][privatebrowsingmode=temporary] {
/* Adjust by the full element height of #titlebar, since that element is

View File

@ -12,4 +12,4 @@
%define inAnyPanel :-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])
%define tabToolbarNavbarOverlap 1px
%define tabHeight 31px
%define tabMinHeight 31px

View File

@ -20,7 +20,7 @@
}
#tabbrowser-tabs {
min-height: @tabHeight@;
min-height: @tabMinHeight@;
}
.tabbrowser-tab,
@ -118,7 +118,7 @@
.tab-background-end,
.tab-background-end[selected=true]::after,
.tab-background-end[selected=true]::before {
min-height: @tabHeight@;
min-height: @tabMinHeight@;
width: @tabCurveWidth@;
}