Browse files

Add icons to titles

  • Loading branch information...
1 parent 25af8d6 commit da6aa35389c33462e5bf945c1329dde184b8a2c3 @joemsak joemsak committed Jan 5, 2011
Showing with 9 additions and 2 deletions.
  1. +2 −2 app/views/accounts/_account.html.erb
  2. +7 −0 public/stylesheets/site.css
View
4 app/views/accounts/_account.html.erb
@@ -25,7 +25,7 @@
<div class="col">
<% if full -%>
<% unless account.books.empty? %>
- <h3>Books</h3>
+ <h3 id="title-books">Books</h3>
<ul>
<%= render :partial => 'book', :collection => account.books %>
</ul>
@@ -36,7 +36,7 @@
<div class="col last">
<% if full -%>
<% unless account.sites.empty? %>
- <h3>Sites</h3>
+ <h3 id="title-sites">Sites</h3>
<ul>
<%= render :partial => 'site', :collection => account.sites %>
</ul>
View
7 public/stylesheets/site.css
@@ -239,6 +239,13 @@ p{
padding-left: 20px;
margin: .3em;
}
+#account .col h3#title-books{
+ background:url(/images/books.png) no-repeat left;
+}
+#account .col h3#title-sites{
+ background:url(/images/screen.png) no-repeat left;
+}
+
#account .my_services {
position: absolute;
right: -60px;

0 comments on commit da6aa35

Please sign in to comment.