Skip to content

Commit

Permalink
increased shelf front brightness, added control panel for icons
Browse files Browse the repository at this point in the history
  • Loading branch information
David Simmons committed Jan 22, 2012
1 parent a8d4863 commit 7e7060a
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 28 deletions.
Binary file added app/assets/images/icon_search.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/icon_sort.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/assets/images/shelf_row.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 22 additions & 5 deletions app/assets/stylesheets/application.css
Expand Up @@ -20,14 +20,31 @@ body {
text-align: center;
}

.container {
margin-left: auto;
margin-right: auto;
padding: 0;
width: 1108px;
}

.control_panel {
margin-top: 272px;
padding-left: 20px;
float: left;
}

.control_panel img {
margin-bottom: 64px;
}

/* Bookshelf styling */

.bookshelf {
margin-left: auto;
margin-right: auto;
float: left;
margin: 0;
padding: 0;
background-image: url('/assets/shelf_background.jpg');
width: 1024px;
padding: 0;
}

.bookshelf_walls {
Expand Down Expand Up @@ -58,8 +75,8 @@ body {
float: left;
margin: 0;
padding: 0;
padding-top: 25px;
padding-top: 50px;
background-image: url('/assets/book_shadow.png');
width: 192px;
height: 227px;
height: 202px;
}
52 changes: 29 additions & 23 deletions app/views/bookshelf/index.html.erb
@@ -1,26 +1,32 @@
<div class="bookshelf">
<div class="bookshelf_walls">
<div class="bookshelf_row">
<div class="book"><%= image_tag "book.png" %></div>
<div class="book"><%= image_tag "book.png" %></div>
<div class="book"><%= image_tag "book.png" %></div>
<div class="book"><%= image_tag "book.png" %></div>
<div class="book"><%= image_tag "book.png" %></div>
<div class="container">
<div class="bookshelf">
<div class="bookshelf_walls">
<div class="bookshelf_row">
<div class="book"><%= image_tag "" %></div>
<div class="book"><%= image_tag "" %></div>
<div class="book"><%= image_tag "" %></div>
<div class="book"><%= image_tag "" %></div>
<div class="book"><%= image_tag "" %></div>
</div>
<div class="bookshelf_row">
<div class="book"><%= image_tag "" %></div>
<div class="book"><%= image_tag "" %></div>
<div class="book"><%= image_tag "" %></div>
<div class="book"><%= image_tag "" %></div>
<div class="book"><%= image_tag "" %></div>
</div>
<div class="bookshelf_row">
<div class="book"><%= image_tag "" %></div>
<div class="book"><%= image_tag "" %></div>
<div class="book"><%= image_tag "" %></div>
<div class="book"><%= image_tag "" %></div>
<div class="book"><%= image_tag "" %></div>
</div>
<!--<div class="bookshelf_under_shadow"></div>-->
</div>
<div class="bookshelf_row">
<div class="book"><%= image_tag "book.png" %></div>
<div class="book"><%= image_tag "book.png" %></div>
<div class="book"><%= image_tag "book.png" %></div>
<div class="book"><%= image_tag "book.png" %></div>
<div class="book"><%= image_tag "book.png" %></div>
</div>
<div class="bookshelf_row">
<div class="book"><%= image_tag "book.png" %></div>
<div class="book"><%= image_tag "book.png" %></div>
<div class="book"><%= image_tag "book.png" %></div>
<div class="book"><%= image_tag "book.png" %></div>
<div class="book"><%= image_tag "book.png" %></div>
</div>
<!--<div class="bookshelf_under_shadow"></div>-->
</div>
<div class="control_panel">
<%= image_tag "icon_search.png" %><br />
<%= image_tag "icon_sort.png" %>
</div>
</div>

0 comments on commit 7e7060a

Please sign in to comment.