From 8a174d37c7de3acf95044e957fe1b70ad4ac2a13 Mon Sep 17 00:00:00 2001 From: maxwell Date: Fri, 23 Jul 2010 23:56:41 -0700 Subject: [PATCH] MS trying a dan-like thing in the publisher --- app/views/dashboards/index.html.haml | 3 +-- app/views/shared/_publisher.haml | 2 +- public/stylesheets/application.css | 3 +++ public/stylesheets/sass/application.sass | 8 ++++++-- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/app/views/dashboards/index.html.haml b/app/views/dashboards/index.html.haml index 70357af75..7521683bc 100644 --- a/app/views/dashboards/index.html.haml +++ b/app/views/dashboards/index.html.haml @@ -1,8 +1,7 @@ - if user_signed_in? %h1#user_name = link_to current_user.real_name, root_path - -%h1= title_for_page + %h1= title_for_page = render "shared/publisher" %ul#stream = puts @posts.inspect diff --git a/app/views/shared/_publisher.haml b/app/views/shared/_publisher.haml index 8e629a969..b7bfae5e9 100644 --- a/app/views/shared/_publisher.haml +++ b/app/views/shared/_publisher.haml @@ -1,6 +1,6 @@ #publisher %sp - Post a new + POST: %ul#publisher_content_pickers %li{ :class => "status_message selected" }= link_to "status message", "#" %li{ :class => "bookmark" }= link_to "bookmark", "#" diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 2b012ef8c..67daa26b2 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -272,6 +272,9 @@ label { color: #999999; padding: 20px 1em; padding-top: 10px; } + #publisher sp { + font-family: "BrandonGrotesqueLightRegular"; + font-size: large; } #new_blog, #new_bookmark { diff --git a/public/stylesheets/sass/application.sass b/public/stylesheets/sass/application.sass index 4f52ecd72..cbd3b4017 100644 --- a/public/stylesheets/sass/application.sass +++ b/public/stylesheets/sass/application.sass @@ -322,6 +322,11 @@ label :color #999 :padding 20px 1em :top 10px + sp + :font + :family 'BrandonGrotesqueLightRegular' + :font-size large + #new_blog, #new_bookmark @@ -404,5 +409,4 @@ ul#publisher_content_pickers li .field_with_submit input[type='text'] :width 85% - :display inline - + :display inline \ No newline at end of file