Show animation for highlighted tab more slowly

This commit is contained in:
YUKI Hiroshi 2016-02-12 20:19:25 +09:00
parent 5716f17633
commit c35a01035d
2 changed files with 13 additions and 13 deletions

View File

@ -447,7 +447,7 @@ toolbar.treestyletab-tabbar-toolbar-ready:not([nowindowdrag="true"]),
margin-right 0.2s ease-out, margin-right 0.2s ease-out,
margin-top 0.15s ease-out, margin-top 0.15s ease-out,
opacity 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, min-height 0.15s ease-out,
max-height 0.15s ease-out, max-height 0.15s ease-out,
min-width 0.15s ease-out /* for Firefox itself */, 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-right 0.2s ease-out,
margin-top 0.15s ease-out, margin-top 0.15s ease-out,
opacity 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, min-height 0.15s ease-out,
max-height 0.15s ease-out, max-height 0.15s ease-out,
min-width 0.15s ease-out /* for Firefox itself */, 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-right 0.2s ease-out,
margin-top 0.15s ease-out, margin-top 0.15s ease-out,
opacity 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, min-height 0.15s ease-out,
max-height 0.15s ease-out, max-height 0.15s ease-out,
min-width 0.15s ease-out /* for Firefox itself */, 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-right 0.2s ease-out,
margin-top 0.15s ease-out, margin-top 0.15s ease-out,
opacity 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, min-height 0.15s ease-out,
max-height 0.15s ease-out, max-height 0.15s ease-out,
min-width 0.15s ease-out /* for Firefox itself */, 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"]) { .tabbrowser-tab:not([treestyletab-collapsed-done="true"]) {
-moz-transition: margin-left 0.15s ease-out, -moz-transition: margin-left 0.15s ease-out,
opacity 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, margin-top 0.2s ease-out,
min-height 0.15s ease-out, min-height 0.15s ease-out,
max-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 */; max-width 0.15s ease-out /* for Firefox itself */;
transition: margin-left 0.15s ease-out, transition: margin-left 0.15s ease-out,
opacity 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, margin-top 0.2s ease-out,
min-height 0.15s ease-out, min-height 0.15s ease-out,
max-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"]) { .tabbrowser-tab:not([treestyletab-collapsed-done="true"]) {
-moz-transition: margin-left 0.15s ease-out, -moz-transition: margin-left 0.15s ease-out,
opacity 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, margin-top 0.2s ease-out,
min-height 0.15s ease-out, min-height 0.15s ease-out,
max-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 */; transform 0.2s ease-out /* for Firefox itself */;
transition: margin-left 0.15s ease-out, transition: margin-left 0.15s ease-out,
opacity 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, margin-top 0.2s ease-out,
min-height 0.15s ease-out, min-height 0.15s ease-out,
max-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"]) { .tabbrowser-tab:not([treestyletab-collapsed-done="true"]) {
-moz-transition: margin-left 0.15s ease-out, -moz-transition: margin-left 0.15s ease-out,
opacity 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, margin-bottom 0.2s ease-out,
min-height 0.15s ease-out, min-height 0.15s ease-out,
max-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 */; max-width 0.15s ease-out /* for Firefox itself */;
transition: margin-left 0.15s ease-out, transition: margin-left 0.15s ease-out,
opacity 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, margin-bottom 0.2s ease-out,
min-height 0.15s ease-out, min-height 0.15s ease-out,
max-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"]) { .tabbrowser-tab:not([treestyletab-collapsed-done="true"]) {
-moz-transition: margin-left 0.15s ease-out, -moz-transition: margin-left 0.15s ease-out,
opacity 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, margin-bottom 0.2s ease-out,
min-height 0.15s ease-out, min-height 0.15s ease-out,
max-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 */; transform 0.2s ease-out /* for Firefox itself */;
transition: margin-left 0.15s ease-out, transition: margin-left 0.15s ease-out,
opacity 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, margin-bottom 0.2s ease-out,
min-height 0.15s ease-out, min-height 0.15s ease-out,
max-height 0.15s ease-out, max-height 0.15s ease-out,

View File

@ -7135,7 +7135,7 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, {
highlightTab : function TSTBrowser_highlightTab(aTab) highlightTab : function TSTBrowser_highlightTab(aTab)
{ {
aTab.setAttribute(this.kHIGHLIGHTED, 'true'); aTab.setAttribute(this.kHIGHLIGHTED, 'true');
wait(250) wait(500)
.then((function() { .then((function() {
aTab.removeAttribute(this.kHIGHLIGHTED); aTab.removeAttribute(this.kHIGHLIGHTED);
}).bind(this)); }).bind(this));