Commit 6f9257ce authored by Randall Leeds's avatar Randall Leeds

tighten slide-out style

fixes #61
parent 510df459
...@@ -117,7 +117,7 @@ $iconset: iconset_wireframe; ...@@ -117,7 +117,7 @@ $iconset: iconset_wireframe;
.annotator-heatmap { .annotator-heatmap {
@include tinyshadow(-1px, 0, 0.2); @include tinyshadow(-1px, 0, 0.2);
background: hsla(0, 0, 90%, 0.4); background: hsla(0, 0, 90%, 0.4);
position: fixed; position: absolute;
top: 0; top: 0;
margin-left: -$heatmap-width; margin-left: -$heatmap-width;
width: $heatmap-width; width: $heatmap-width;
...@@ -135,7 +135,7 @@ $iconset: iconset_wireframe; ...@@ -135,7 +135,7 @@ $iconset: iconset_wireframe;
// Styles for the sidebar // Styles for the sidebar
.hyp-sidebar { .hyp-sidebar {
@include single-transition('margin-left,width', 0.6s, ease-in-out); @include single-transition('margin-left', 0.6s, 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;
...@@ -143,7 +143,7 @@ $iconset: iconset_wireframe; ...@@ -143,7 +143,7 @@ $iconset: iconset_wireframe;
font-size: $font-size / $em * .8; font-size: $font-size / $em * .8;
height: 100%; height: 100%;
line-height: $line-height / $em * .8; line-height: $line-height / $em * .8;
position: absolute; position: fixed;
top: 0; top: 0;
left: 100%; left: 100%;
z-index: 500; z-index: 500;
...@@ -164,22 +164,12 @@ $iconset: iconset_wireframe; ...@@ -164,22 +164,12 @@ $iconset: iconset_wireframe;
} }
.annotator-outer { .annotator-outer {
@include single-transition(margin-left, 0.6s, ease-in-out); padding: 0 1em;
height: 100%;
position: fixed;
top: 0;
overflow-y: auto;
padding-left: $heatmap-width;
} }
} }
.hyp-sidebar.hyp-collapsed { .hyp-sidebar.hyp-collapsed {
margin-left: -$heatmap-width; margin-left: 0;
width: 0;
.annotator-outer {
margin-left: 100%;
}
} }
//LOGO //LOGO
......
...@@ -216,7 +216,7 @@ span.error { ...@@ -216,7 +216,7 @@ span.error {
} }
} }
.toolbar #content { padding-top: 2em; } .toolbar #content { padding-top: 2em; }
.toolbar .annotator-outer { margin-top: ($font-size + 2) / $font-size * 3em; } .toolbar .hyp-sidebar { padding-top: ($font-size + 2) / $font-size * 3em; }
} }
/* /*
......
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