Commit 40ee944a authored by Randall Leeds's avatar Randall Leeds

speed up transitions

parent a2ccd805
...@@ -285,7 +285,7 @@ class Hypothesis extends Annotator ...@@ -285,7 +285,7 @@ class Hypothesis extends Annotator
parent.classed('hyp-collapsed', !collapsed) parent.classed('hyp-collapsed', !collapsed)
parent.select('.annotator-listing').selectAll(-> this.children) parent.select('.annotator-listing').selectAll(-> this.children)
.transition().duration(600) .transition().duration(300)
.style('overflow', 'hidden') .style('overflow', 'hidden')
.style 'height', -> .style 'height', ->
if collapsed if collapsed
......
...@@ -148,7 +148,7 @@ $iconset: iconset_wireframe; ...@@ -148,7 +148,7 @@ $iconset: iconset_wireframe;
// Styles for the sidebar // Styles for the sidebar
.hyp-sidebar { .hyp-sidebar {
@include single-transition('margin-left', 0.6s, ease-in-out); @include single-transition('margin-left', 0.3s, ease-in-out);
background: url('../images/noise_1.png'); background: url('../images/noise_1.png');
background-attachment: fixed; background-attachment: fixed;
color: #666666; color: #666666;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment