Skip to content

Commit

Permalink
Replace pace marker image with css
Browse files Browse the repository at this point in the history
  • Loading branch information
marrero984 committed Jun 25, 2015
1 parent b425612 commit a7f5246
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Binary file removed public/css/paceMarker.png
Binary file not shown.
7 changes: 6 additions & 1 deletion public/css/presenter.css
Original file line number Diff line number Diff line change
Expand Up @@ -147,14 +147,19 @@ div.zoomed {
margin-right: 1em;
}
#sidebar #feedbackPace #paceMarker {
height: 0;
width: 0;
border-right: 10px solid transparent;
border-left: 10px solid transparent;
border-top: 20px solid #333333;

left: 50%;
position: absolute;
transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, 0);
-moz-transform: translate(-50%, 0);
-ms-transform: translate(-50%, 0);
-o-transform: translate(-50%, 0);

}

#slidemenu {
Expand Down
4 changes: 3 additions & 1 deletion views/presenter.erb
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,13 @@
<span id="timerInfo"></span>
<span id="minStop"><input type="button" id="stopTimer" value="Stop"></span>
</div>
<br>
<div id="feedbackPace">
<span id="paceSlow">Speed Up!</span>
<span id="paceFast">Slow Down!</span>
<img id="paceMarker" src="<%= @asset_path %>/css/paceMarker.png" />
<span id="paceMarker"></span>
</div>
<br>
<div id="navigation" class="menu"></div>
</div>
<div id="presenter">
Expand Down

0 comments on commit a7f5246

Please sign in to comment.