Bug 979938 - Delay the display of the tab close button to avoid visual noise. r=Dao

This commit is contained in:
Philipp Sackl 2014-03-06 08:31:00 -05:00
parent dfc07dbd38
commit eabc66fde1

View File

@ -118,6 +118,7 @@ tabbrowser {
visibility: hidden;
}
.tab-close-button,
.tab-background {
/* Explicitly set the visibility to override the value (collapsed)
* we inherit from #TabsToolbar[collapsed] upon opening a browser window. */
@ -126,6 +127,7 @@ tabbrowser {
transition: visibility 0ms 25ms;
}
.tab-close-button:not([fadein]):not([pinned]),
.tab-background:not([fadein]):not([pinned]) {
visibility: hidden;
/* Closing tabs are hidden without a delay. */
@ -134,8 +136,7 @@ tabbrowser {
.tab-throbber:not([fadein]):not([pinned]),
.tab-label:not([fadein]):not([pinned]),
.tab-icon-image:not([fadein]):not([pinned]),
.tab-close-button:not([fadein]):not([pinned]) {
.tab-icon-image:not([fadein]):not([pinned]) {
display: none;
}