Show animation for highlighted tab more slowly
This commit is contained in:
parent
5716f17633
commit
c35a01035d
@ -447,7 +447,7 @@ toolbar.treestyletab-tabbar-toolbar-ready:not([nowindowdrag="true"]),
|
||||
margin-right 0.2s ease-out,
|
||||
margin-top 0.15s ease-out,
|
||||
opacity 0.15s ease-out,
|
||||
outline-color 0.25s ease-out,
|
||||
outline-color 0.5s ease-out,
|
||||
min-height 0.15s ease-out,
|
||||
max-height 0.15s ease-out,
|
||||
min-width 0.15s ease-out /* for Firefox itself */,
|
||||
@ -456,7 +456,7 @@ toolbar.treestyletab-tabbar-toolbar-ready:not([nowindowdrag="true"]),
|
||||
margin-right 0.2s ease-out,
|
||||
margin-top 0.15s ease-out,
|
||||
opacity 0.15s ease-out,
|
||||
outline-color 0.25s ease-out,
|
||||
outline-color 0.5s ease-out,
|
||||
min-height 0.15s ease-out,
|
||||
max-height 0.15s ease-out,
|
||||
min-width 0.15s ease-out /* for Firefox itself */,
|
||||
@ -468,7 +468,7 @@ toolbar.treestyletab-tabbar-toolbar-ready:not([nowindowdrag="true"]),
|
||||
margin-right 0.2s ease-out,
|
||||
margin-top 0.15s ease-out,
|
||||
opacity 0.15s ease-out,
|
||||
outline-color 0.25s ease-out,
|
||||
outline-color 0.5s ease-out,
|
||||
min-height 0.15s ease-out,
|
||||
max-height 0.15s ease-out,
|
||||
min-width 0.15s ease-out /* for Firefox itself */,
|
||||
@ -478,7 +478,7 @@ toolbar.treestyletab-tabbar-toolbar-ready:not([nowindowdrag="true"]),
|
||||
margin-right 0.2s ease-out,
|
||||
margin-top 0.15s ease-out,
|
||||
opacity 0.15s ease-out,
|
||||
outline-color 0.25s ease-out,
|
||||
outline-color 0.5s ease-out,
|
||||
min-height 0.15s ease-out,
|
||||
max-height 0.15s ease-out,
|
||||
min-width 0.15s ease-out /* for Firefox itself */,
|
||||
@ -490,7 +490,7 @@ toolbar.treestyletab-tabbar-toolbar-ready:not([nowindowdrag="true"]),
|
||||
.tabbrowser-tab:not([treestyletab-collapsed-done="true"]) {
|
||||
-moz-transition: margin-left 0.15s ease-out,
|
||||
opacity 0.15s ease-out,
|
||||
outline-color 0.25s ease-out,
|
||||
outline-color 0.5s ease-out,
|
||||
margin-top 0.2s ease-out,
|
||||
min-height 0.15s ease-out,
|
||||
max-height 0.15s ease-out,
|
||||
@ -498,7 +498,7 @@ toolbar.treestyletab-tabbar-toolbar-ready:not([nowindowdrag="true"]),
|
||||
max-width 0.15s ease-out /* for Firefox itself */;
|
||||
transition: margin-left 0.15s ease-out,
|
||||
opacity 0.15s ease-out,
|
||||
outline-color 0.25s ease-out,
|
||||
outline-color 0.5s ease-out,
|
||||
margin-top 0.2s ease-out,
|
||||
min-height 0.15s ease-out,
|
||||
max-height 0.15s ease-out,
|
||||
@ -509,7 +509,7 @@ toolbar.treestyletab-tabbar-toolbar-ready:not([nowindowdrag="true"]),
|
||||
.tabbrowser-tab:not([treestyletab-collapsed-done="true"]) {
|
||||
-moz-transition: margin-left 0.15s ease-out,
|
||||
opacity 0.15s ease-out,
|
||||
outline-color 0.25s ease-out,
|
||||
outline-color 0.5s ease-out,
|
||||
margin-top 0.2s ease-out,
|
||||
min-height 0.15s ease-out,
|
||||
max-height 0.15s ease-out,
|
||||
@ -518,7 +518,7 @@ toolbar.treestyletab-tabbar-toolbar-ready:not([nowindowdrag="true"]),
|
||||
transform 0.2s ease-out /* for Firefox itself */;
|
||||
transition: margin-left 0.15s ease-out,
|
||||
opacity 0.15s ease-out,
|
||||
outline-color 0.25s ease-out,
|
||||
outline-color 0.5s ease-out,
|
||||
margin-top 0.2s ease-out,
|
||||
min-height 0.15s ease-out,
|
||||
max-height 0.15s ease-out,
|
||||
@ -531,7 +531,7 @@ toolbar.treestyletab-tabbar-toolbar-ready:not([nowindowdrag="true"]),
|
||||
.tabbrowser-tab:not([treestyletab-collapsed-done="true"]) {
|
||||
-moz-transition: margin-left 0.15s ease-out,
|
||||
opacity 0.15s ease-out,
|
||||
outline-color 0.25s ease-out,
|
||||
outline-color 0.5s ease-out,
|
||||
margin-bottom 0.2s ease-out,
|
||||
min-height 0.15s ease-out,
|
||||
max-height 0.15s ease-out,
|
||||
@ -539,7 +539,7 @@ toolbar.treestyletab-tabbar-toolbar-ready:not([nowindowdrag="true"]),
|
||||
max-width 0.15s ease-out /* for Firefox itself */;
|
||||
transition: margin-left 0.15s ease-out,
|
||||
opacity 0.15s ease-out,
|
||||
outline-color 0.25s ease-out,
|
||||
outline-color 0.5s ease-out,
|
||||
margin-bottom 0.2s ease-out,
|
||||
min-height 0.15s ease-out,
|
||||
max-height 0.15s ease-out,
|
||||
@ -550,7 +550,7 @@ toolbar.treestyletab-tabbar-toolbar-ready:not([nowindowdrag="true"]),
|
||||
.tabbrowser-tab:not([treestyletab-collapsed-done="true"]) {
|
||||
-moz-transition: margin-left 0.15s ease-out,
|
||||
opacity 0.15s ease-out,
|
||||
outline-color 0.25s ease-out,
|
||||
outline-color 0.5s ease-out,
|
||||
margin-bottom 0.2s ease-out,
|
||||
min-height 0.15s ease-out,
|
||||
max-height 0.15s ease-out,
|
||||
@ -559,7 +559,7 @@ toolbar.treestyletab-tabbar-toolbar-ready:not([nowindowdrag="true"]),
|
||||
transform 0.2s ease-out /* for Firefox itself */;
|
||||
transition: margin-left 0.15s ease-out,
|
||||
opacity 0.15s ease-out,
|
||||
outline-color 0.25s ease-out,
|
||||
outline-color 0.5s ease-out,
|
||||
margin-bottom 0.2s ease-out,
|
||||
min-height 0.15s ease-out,
|
||||
max-height 0.15s ease-out,
|
||||
|
@ -7135,7 +7135,7 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, {
|
||||
highlightTab : function TSTBrowser_highlightTab(aTab)
|
||||
{
|
||||
aTab.setAttribute(this.kHIGHLIGHTED, 'true');
|
||||
wait(250)
|
||||
wait(500)
|
||||
.then((function() {
|
||||
aTab.removeAttribute(this.kHIGHLIGHTED);
|
||||
}).bind(this));
|
||||
|
Loading…
x
Reference in New Issue
Block a user