Commit bd69c482 authored by Jehan Tremback's avatar Jehan Tremback Committed by Randall Leeds

fix spacing for increased heatmap tab width

Conflicts:
	h/sass/inject.scss
parent 7f8ee702
...@@ -28,7 +28,7 @@ svg { -webkit-tap-highlight-color: rgba(255, 255, 255, 0); } ...@@ -28,7 +28,7 @@ svg { -webkit-tap-highlight-color: rgba(255, 255, 255, 0); }
.annotator-heatmap { .annotator-heatmap {
background: hsla(0, 0, 0, .1); background: hsla(0, 0, 0, .1);
border: solid thin rgba($grayLighter, .4); border: solid thin rgba($grayLighter, .4);
left: 10px; left: 17px;
height: 100%; height: 100%;
position: fixed; position: fixed;
top: 0; top: 0;
...@@ -44,7 +44,7 @@ svg { -webkit-tap-highlight-color: rgba(255, 255, 255, 0); } ...@@ -44,7 +44,7 @@ svg { -webkit-tap-highlight-color: rgba(255, 255, 255, 0); }
@include perspective(100px); @include perspective(100px);
color: rgb(238, 238, 238); color: rgb(238, 238, 238);
cursor: pointer; cursor: pointer;
left: -7px; left: 0px;
position: fixed; position: fixed;
height: 20.1px; height: 20.1px;
width: 40.1px; width: 40.1px;
...@@ -75,11 +75,12 @@ svg { -webkit-tap-highlight-color: rgba(255, 255, 255, 0); } ...@@ -75,11 +75,12 @@ svg { -webkit-tap-highlight-color: rgba(255, 255, 255, 0); }
} }
&:hover { &:hover {
left: -5px; left: 2px;
} }
&.lower, &.upper { &.lower, &.upper {
left: 0; @include single-transition(margin-top, .2s);
left: 7px;
width: 33.1px; width: 33.1px;
height: 26.1px; height: 26.1px;
.label { .label {
...@@ -88,7 +89,7 @@ svg { -webkit-tap-highlight-color: rgba(255, 255, 255, 0); } ...@@ -88,7 +89,7 @@ svg { -webkit-tap-highlight-color: rgba(255, 255, 255, 0); }
} }
&:hover { &:hover {
left: 0px; left: 7px;
} }
} }
...@@ -177,7 +178,7 @@ svg { -webkit-tap-highlight-color: rgba(255, 255, 255, 0); } ...@@ -177,7 +178,7 @@ svg { -webkit-tap-highlight-color: rgba(255, 255, 255, 0); }
background: url('../images/noise_1.png'); background: url('../images/noise_1.png');
background-attachment: fixed; background-attachment: fixed;
height: 100%; height: 100%;
margin-left: $heatmap-width + 10px; margin-left: $heatmap-width + 17px;
position: relative; position: relative;
} }
...@@ -202,6 +203,7 @@ svg { -webkit-tap-highlight-color: rgba(255, 255, 255, 0); } ...@@ -202,6 +203,7 @@ svg { -webkit-tap-highlight-color: rgba(255, 255, 255, 0); }
text-align: right; text-align: right;
width: 100%; width: 100%;
z-index: 5; z-index: 5;
left: 7px;
& > div { & > div {
display: inline-block; display: inline-block;
......
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
-webkit-tap-highlight-color: rgba(255, 255, 255, 0); -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
&.annotator-collapsed { &.annotator-collapsed {
margin-left: -$heatmap-width - 10px; margin-left: -$heatmap-width - 17px;
} }
} }
...@@ -143,8 +143,9 @@ ...@@ -143,8 +143,9 @@
@media screen and (min-width: 37.5em) { @media screen and (min-width: 37.5em) {
.annotator-frame { .annotator-frame {
@include single-transition(margin-left, .4s); @include single-transition(margin-left, .4s);
width: 428px + $heatmap-width + 10px; width: 428px + $heatmap-width + 17px;
margin-left: -428px - $heatmap-width - 10px; margin-left: -428px - $heatmap-width - 17px;
&.annotator-collapsed { width: inherit; }
} }
} }
......
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