MS merged master

This commit is contained in:
maxwell 2010-07-28 11:13:17 -07:00
commit eb4262dfc7
12 changed files with 42 additions and 27 deletions

View file

@ -4,7 +4,7 @@
= link_to post.name, object_path(post) = link_to post.name, object_path(post)
%div.time %div.time
by: by
= album_person(post) = album_person(post)
%br %br
= link_to(how_long_ago(post), object_path(post)) = link_to(how_long_ago(post), object_path(post))

View file

@ -1,16 +1,18 @@
%h1.big_text %h1.big_text
.back .back
= link_to "⇧ home", root_path = link_to "⇧ home", root_path
%ul.button_set Albums
%li.selected= friends_albums_link
%li= your_albums_link
.button.right#add_album_button .button.right#add_album_button
= link_to 'New Album', "#" = link_to 'New Album', "#"
#add_album_box.contextual_pane #add_album_box.contextual_pane
= render "albums/new_album" = render "albums/new_album"
.sub_header
%ul.button_set
%li.selected= friends_albums_link
%li= your_albums_link
%ul#stream %ul#stream
- for album in @albums - for album in @albums
= render "album", :post => album = render "album", :post => album

View file

@ -12,7 +12,7 @@
= render "photos/new_photo", :photo => @photo, :album => @album = render "photos/new_photo", :photo => @photo, :album => @album
.sub_header .sub_header
="last updated: #{how_long_ago(@album)}" ="updated #{how_long_ago(@album)}"
-unless mine? @album -unless mine? @album
%h4= "by #{@album.person.real_name}" %h4= "by #{@album.person.real_name}"

View file

@ -2,8 +2,8 @@
%h1#user_name %h1#user_name
= link_to current_user.real_name, root_path = link_to current_user.real_name, root_path
%span= title_for_page %span= title_for_page
%h3 %h3#latest_message
#latest_message= my_latest_message = my_latest_message
= render "shared/publisher" = render "shared/publisher"
%ul#stream %ul#stream
- for post in @posts - for post in @posts

View file

@ -52,9 +52,9 @@
.container .container
.span-24.last .span-24.last
.span-19.append-1.last .span-20.append-1.last
= yield = yield
.span-4.last .span-3.last
= link_to(person_image_tag(current_user), root_path) = link_to(person_image_tag(current_user), root_path)
%br %br
= link_to "Edit your profile", edit_user_path(current_user) = link_to "Edit your profile", edit_user_path(current_user)

View file

@ -1,4 +1,9 @@
- title "People" %h1.big_text
.back
= link_to '⇧ home', root_path
Friends
.button.right
= link_to 'Add Friend', requests_path
%table %table
%tr %tr

View file

@ -1,7 +1,7 @@
%h1.big_text %h1.big_text
.back .back
= link_to "⇧ home", root_path = link_to "⇧ home", root_path
requests Requests
= render "requests/new_request", :request => @request = render "requests/new_request", :request => @request

View file

@ -1,6 +1,4 @@
#publisher #publisher
%sp
POST:
%ul#publisher_content_pickers %ul#publisher_content_pickers
%li{ :class => "status_message selected" }= link_to "status message", "#" %li{ :class => "status_message selected" }= link_to "status message", "#"
%li{ :class => "bookmark" }= link_to "bookmark", "#" %li{ :class => "bookmark" }= link_to "bookmark", "#"

View file

@ -67,7 +67,7 @@ header {
margin-bottom: 1em; margin-bottom: 1em;
color: #555555; color: #555555;
background-color: #2b2726; background-color: #2b2726;
border-bottom: 1px solid #444444; border-bottom: 3px solid #333333;
padding: 6px 0; padding: 6px 0;
padding-top: 0; } padding-top: 0; }
header #diaspora_text { header #diaspora_text {
@ -172,6 +172,9 @@ form {
color: #dddddd; color: #dddddd;
float: right; } float: right; }
#latest_message {
font-weight: normal; }
#stream div.comments { #stream div.comments {
display: none; } display: none; }
@ -208,7 +211,8 @@ ul.comment_set {
#profile ul { #profile ul {
list-style-type: none; } list-style-type: none; }
#stream img.person_picture { #stream img.person_picture, #profile img.person_picture,
.comments img.person_picture {
border-radius: 3px; border-radius: 3px;
-webkit-border-radius: 3px; -webkit-border-radius: 3px;
-moz-border-radius: 3px; -moz-border-radius: 3px;
@ -289,9 +293,6 @@ label {
color: #999999; color: #999999;
padding: 20px 1em; padding: 20px 1em;
padding-top: 10px; } padding-top: 10px; }
#publisher sp {
font-family: "BrandonGrotesqueLightRegular";
font-size: large; }
#new_blog, #new_blog,
#new_bookmark { #new_bookmark {
@ -341,7 +342,8 @@ ul#publisher_content_pickers li {
padding: 1em; padding: 1em;
background: rgba(0, 0, 0, 0.8); background: rgba(0, 0, 0, 0.8);
bottom: 20px; bottom: 20px;
font-size: 18px; } font-size: 18px;
text-shadow: 0 2px 0 black; }
.album .name .time { .album .name .time {
font-size: 12px; } font-size: 12px; }
.album .name .time a { .album .name .time a {

View file

@ -73,7 +73,7 @@ header
:background :background
:color #2B2726 :color #2B2726
:border :border
:bottom 1px solid #444 :bottom 3px solid #333
:padding 6px 0 :padding 6px 0
:top 0 :top 0
@ -202,6 +202,10 @@ form
:size 30% :size 30%
:color #dddddd :color #dddddd
:float right :float right
#latest_message
:font
:weight normal
#stream div.comments #stream div.comments
@ -243,6 +247,7 @@ ul.comment_set
:padding :padding
:bottom 8px :bottom 8px
.profile_photo .profile_photo
:float left :float left
:margin-right 10px :margin-right 10px
@ -250,7 +255,9 @@ ul.comment_set
ul ul
:list-style-type none :list-style-type none
#stream
#stream, #profile,
.comments
img.person_picture img.person_picture
:border-radius 3px :border-radius 3px
:-webkit-border-radius 3px :-webkit-border-radius 3px
@ -344,11 +351,6 @@ label
:color #999 :color #999
:padding 20px 1em :padding 20px 1em
:top 10px :top 10px
sp
:font
:family 'BrandonGrotesqueLightRegular'
:font-size large
#new_blog, #new_blog,
#new_bookmark #new_bookmark
@ -414,6 +416,8 @@ ul#publisher_content_pickers li
:bottom 20px :bottom 20px
:font :font
:size 18px :size 18px
:text-shadow 0 2px 0 #000
.time .time
:font :font
@ -478,3 +482,5 @@ h1.big_text
:top -5px :top -5px
:bottom 20px :bottom 20px
:color #999 :color #999

View file

@ -1,6 +1,7 @@
.button, .button_set .button, .button_set
:font :font
:family "Lucida Grande", sans-serif :family "Lucida Grande", sans-serif
:style normal
:display inline :display inline

View file

@ -1,5 +1,6 @@
.button, .button_set { .button, .button_set {
font-family: "Lucida Grande", sans-serif; font-family: "Lucida Grande", sans-serif;
font-style: normal;
display: inline; display: inline;
color: #777777; color: #777777;
font-size: 12px; font-size: 12px;