Browse files

Added a play overlay icon to the screencast image on the home page.

  • Loading branch information...
1 parent 6a9dbcc commit 7608052439d9d8a9a75473dd00b9d765e1b8e7f6 @pledbrook pledbrook committed Feb 11, 2011
View
7 grails.org/grails-app/views/layouts/homepage.gsp
@@ -64,10 +64,15 @@
<h2>What is grails?</h2>
<div class="castBox">
<div class="castScreen">
- <g:link controller="screencast" action="show" id="15">
+ <g:link controller="screencast" action="show" id="15">
<r:img width="240" height="190" uri="/images/grails-taster-badge.png"/>
</g:link>
</div><!-- castScreen -->
+ <div class="playOverlay">
+ <g:link controller="screencast" action="show" id="15">
+ <r:img width="50" height="51" uri="/images/play.png"/>
+ </g:link>
+ </div>
<h4><g:link controller="screencast" action="list">More screencasts</g:link></h4>
</div><!-- castBox -->
</div><!-- screencasts -->
View
6 grails.org/web-app/css/new/homepage.css
@@ -411,6 +411,12 @@ body {
margin-bottom: 10px;
}
+.playOverlay {
+ position: absolute;
+ top: 105px;
+ left: 110px;
+}
+
.advert {
overflow: hidden;
width: 250px;
View
BIN grails.org/web-app/images/play.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7608052

Please sign in to comment.