header touchup

This commit is contained in:
danielvincent 2011-01-04 16:17:11 -08:00
parent f1564d068a
commit c64865d32e
5 changed files with 17 additions and 14 deletions

View file

@ -25,7 +25,7 @@ class AspectsController < ApplicationController
@aspect_hashes = hashes_for_aspects @aspects, @contacts, :limit => 8
@contact_hashes = hashes_for_contacts @contacts
#@aspect = @aspects.first
@aspect = :all unless params[:a_ids]
if current_user.getting_started == true
redirect_to getting_started_path

View file

@ -1 +0,0 @@
$('#main_stream').html("<%= escape_javascript(render('shared/stream', :posts => @post_hashes)) %>");

View file

@ -48,7 +48,7 @@
- for aspect in @all_aspects
%li{:data=>{:guid=>aspect.id}, :class => ("selected" if current_aspect?(aspect))}
= link_to aspect.name, '#'
= link_to aspect.name, '#', :class => 'aspect_selector'
%li
= link_to '+', '#add_aspect_pane', :class => "add_aspect_button", :title => t('aspects.manage.add_a_new_aspect')

View file

@ -16,7 +16,7 @@ $(function(){
}
});
$("#aspect_nav a").click(function(e){
$("#aspect_nav a.aspect_selector").click(function(e){
e.preventDefault();

View file

@ -117,15 +117,17 @@ header
:min-height 40px
:background
:color #222
:color #111
:color rgba(30,30,30,0.98)
:-webkit-box-shadow 0 0px 3px #000
:-moz-box-shadow 0 0px 3px #000
:box-shadow 0 0px 3px #000
:background -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(30,30,30,0.94)), to(rgba(0,0,0,0.96)))
:-webkit-box-shadow 0 1px 3px #111
:-moz-box-shadow 0 1px 2px #111
:box-shadow 0 1px 3px #111
:border
:bottom 1px solid #999
:bottom 1px solid #777
:padding 0
:top 5px
@ -943,9 +945,8 @@ label
:text-shadow 0 1px 0 #444
:padding 2px 7px
:margin
:left -1px
:padding 1px 7px
:color #CCC
:max-width 120px
:overflow hidden
@ -961,7 +962,10 @@ label
:font
:weight bold
:background
:color rgb(252,252,252)
:color rgb(235,235,235)
:border
:bottom 1px solid #fff
:color #444
&:hover