Skip to content

Commit

Permalink
remote: vol up & down.
Browse files Browse the repository at this point in the history
  • Loading branch information
ngryman committed Aug 3, 2012
1 parent 9a2f21d commit 0906774
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 2 deletions.
23 changes: 23 additions & 0 deletions public/stylesheets/remote/remote.css
@@ -1,3 +1,6 @@
#right { background-image: url(/images/remote/right.png); }
#down { background-image: url(/images/remote/down.png); }
#voldown { background-image: url(/images/remote/down.png); }
html, body {
width: 100%;
height: 100%;
Expand Down Expand Up @@ -74,6 +77,15 @@ button {
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.cross .top .touch:first-child,
.cross .top .touch:last-child,
.cross .bottom .touch:first-child,
.cross .bottom .touch:last-child {
background: transparent;
border: none;
box-shadow: none;
}

.cross .middle .touch:nth-child(2) {
border-top: solid 1px transparent;
}
Expand All @@ -84,6 +96,14 @@ button {
background-size: 60px 60px;
}

#up {
background-image: url(/images/remote/up.png);
}

#volup {
background-image: url(/images/remote/vol_up.png);
}

#fb {
background-image: url(/images/remote/fb.png);
}
Expand Down Expand Up @@ -126,6 +146,9 @@ button {
background-image: url(/images/remote/down.png);
}

#voldown {
background-image: url(/images/remote/vol_down.png);
}

#return {
background-image: url(/images/remote/return.png);
Expand Down
12 changes: 10 additions & 2 deletions views/remote.ejs
Expand Up @@ -18,13 +18,21 @@
<div class="touch"><button id="ff">Fast Forward</button></div>
</div>
<div class="cross">
<div class="top touch"><button id="up">Up</button></div>
<div class="top">
<div class="touch"></div>
<div class="touch"><button id="up">Up</button></div>
<div class="touch"><button id="volup">Up</button></div>
</div>
<div class="middle">
<div class="touch"><button id="left">Left</button></div>
<div class="touch"><button id="ok">OK</button></div>
<div class="touch"><button id="right">Right</button></div>
</div>
<div class="bottom touch"><button id="down">Down</button></div>
<div class="bottom">
<div class="touch"></div>
<div class="touch"><button id="down">Down</button></div>
<div class="touch"><button id="voldown">Down</button></div>
</div>
</div>
<div class="bar">
<div class="touch"><button id="return"></button></div>
Expand Down

0 comments on commit 0906774

Please sign in to comment.