Bug 1207164 - Use tab separator opacity transition only on hover. r=gijs

This commit is contained in:
Dão Gottwald 2015-09-22 18:03:23 +02:00
parent 15c327ad27
commit 53d1be3e79

View File

@ -437,11 +437,16 @@
currentColor calc(100% - 4px),
transparent calc(100% - 4px));
opacity: 0;
transition: opacity 100ms ease;
content: "";
display: -moz-box;
}
.tabbrowser-tab:hover::before,
.tabbrowser-tab[afterhovered]::before,
.tabbrowser-tab[last-visible-tab]:hover::after {
transition: opacity 100ms ease;
}
/* Also show separators beside the selected tab when dragging it. */
#tabbrowser-tabs[movingtab] > .tabbrowser-tab[beforeselected]:not([last-visible-tab])::after,
.tabbrowser-tab:not([visuallyselected]):not([afterselected-visible]):not([afterhovered]):not([first-visible-tab]):not(:hover)::before,