Permalink
Browse files

More compact services view

  • Loading branch information...
1 parent e3ff72c commit ac2e9eb99fef0811214defac73792cc71fe9d35d @kossnocorp kossnocorp committed Jan 5, 2011
Showing with 13 additions and 26 deletions.
  1. +1 −1 app/helpers/accounts_helper.rb
  2. +9 −17 app/stylesheets/master.sass
  3. +3 −8 app/views/accounts/_account.html.erb
@@ -19,6 +19,6 @@ def link_to_service name, service
'http://iddy.jp/profile/' + service.key
end
- link_to "#{image_tag("#{name}.ico")} <span>#{name.capitalize}</span>".html_safe, link
+ link_to image_tag("#{name}.ico"), link
end
end
@@ -99,23 +99,6 @@ dl
&.sites
- &.services
-
- a
- text-decoration: none
- span
- text-decoration: underline
-
- &:hover
- span
- text-decoration: none
-
- img
- vertical-align: top
- margin-right: 2px
-
- ul li
- margin-bottom: 8px
dt
color: #A3A099
@@ -128,6 +111,15 @@ dl
li
margin-bottom: 5px
+ul.services
+ margin-bottom: 15px
+ border-top: 1px dotted #FBD0DC
+ padding-top: 10px
+
+ li
+ float: left
+ margin-right: 8px
+
.ruby-powered
text-align: center
padding: 80px 0
@@ -39,14 +39,9 @@
<% end %>
<% unless account.services.empty? %>
- <dl class="services">
- <dt>Services:</dt>
- <dd>
- <ul>
- <%= render :partial => 'service', :collection => account.services %>
- </ul>
- </dd>
- </dl>
+ <ul class="services">
+ <%= render :partial => 'service', :collection => account.services %>
+ </ul>
<% end %>
<!-- FIXME: unsure how to link to ISBN. :-( -->

0 comments on commit ac2e9eb

Please sign in to comment.