Navigation Menu

Skip to content

Commit

Permalink
Merge branch 'master' of github.com:joemsak/rubycommitters.org
Browse files Browse the repository at this point in the history
  • Loading branch information
nicinabox committed Jan 5, 2011
2 parents b138680 + 25af8d6 commit c382ca8
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 16 deletions.
15 changes: 7 additions & 8 deletions app/views/accounts/_account.html.erb
Expand Up @@ -43,12 +43,11 @@
<% end %> <% end %>
<% end -%> <% end -%>
</div> </div>

<% if full -%>
<footer class="my_services">
<ul>
<%= render :partial => 'service', :collection => account.services %>
</ul>
</footer>
<% end -%>
</article> </article>
<% if full -%>
<footer class="my_services">
<ul>
<%= render :partial => 'service', :collection => account.services %>
</ul>
</footer>
<% end -%>
66 changes: 58 additions & 8 deletions public/stylesheets/site.css
Expand Up @@ -179,6 +179,11 @@ p{


/* ACCOUNT /* ACCOUNT
--------------------------*/ --------------------------*/
#account{
width:540px;
margin:0 auto;
position:relative;
}
#account .account { #account .account {
background: #fff; background: #fff;
padding: 20px; padding: 20px;
Expand All @@ -187,10 +192,9 @@ p{
-moz-border-radius: 4px; -moz-border-radius: 4px;
-moz-box-shadow: 10px 10px 5px #aba; -moz-box-shadow: 10px 10px 5px #aba;
-webkit-box-shadow: 0px 0px 6px #aba; -webkit-box-shadow: 0px 0px 6px #aba;
margin: 0 auto; min-height: 240px;
width: 500px; position:relative;
min-height: 200px; z-index:200;
position: relative;
} }
#account header { #account header {
margin-bottom: 10px; margin-bottom: 10px;
Expand Down Expand Up @@ -243,12 +247,58 @@ p{
} }
#account .my_services { #account .my_services {
position: absolute; position: absolute;
right: -80px; right: -60px;
background: white; background: white;
padding: 20px; padding: 15px;
top: 20px; top: 20px;
z-index: -1; z-index: 1;
border-radius: 4px;
-moz-border-radius: 4px;
-moz-box-shadow: 10px 10px 5px #aba;
-webkit-box-shadow: 0px 0px 6px #aba;
} }



.my_services a{
display:block;
text-indent:-9999px;
outline:0;
width:32px;
height:32px;
margin:0 0 10px;
opacity: 0.7;
-moz-opacity: 0.7;
filter:alpha(opacity=70);

-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}
.my_services a:hover{
opacity: 1.0;
-moz-opacity: 1.0;
filter:alpha(opacity=100);
}
.my_services li:last-child a{
margin:0;
}
a.twitter{
background:url(/images/twitter_32.png) no-repeat 0 0;
}
a.facebook{
background:url(/images/facebook_32.png) no-repeat 0 0;
}
a.github{
background:url(/images/git_32.png) no-repeat 0 0;
}
a.mixi{
background:url(/images/mixi.png) no-repeat 0 0;
}
a.iddy{

}
a.friendfeed{
background:url(/images/friendfeed_32.png) no-repeat 0 0;
}


0 comments on commit c382ca8

Please sign in to comment.