diff --git a/app/views/groups/index.html.haml b/app/views/groups/index.html.haml index 6c3039aef6b62995b4a15de5c855bb4376030ed3..1a187810f5093ef323a4d4fd51d9115afe45b090 100644 --- a/app/views/groups/index.html.haml +++ b/app/views/groups/index.html.haml @@ -1,3 +1,7 @@ +%h1 + stream for + = link_to 'everybody', root_path += render "shared/publisher", :group_ids => :all %ul#stream - for post in @posts = render type_partial(post), :post => post unless post.class == Album diff --git a/app/views/groups/show.html.haml b/app/views/groups/show.html.haml index 64a7a48a57fc70e4b0b483b13533420e46e39578..8cf7bbfbfc74421697045347717c02f64b58a2d7 100644 --- a/app/views/groups/show.html.haml +++ b/app/views/groups/show.html.haml @@ -1,3 +1,7 @@ +%h1 + stream for + = link_to @group.name, @group += render "shared/publisher", :group_ids => :all %ul#stream - for post in @posts = render type_partial(post), :post => post diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 8c79bf41a8ea01c6a3089d254f32e33394efe7a3..7baae3bb0c55f6d18da638582fe21b1cf3a31090 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -51,17 +51,10 @@ %li.settings= link_to "settings", edit_user_path(current_user) %li.logout= link_to "logout", destroy_user_session_path - #sub_header - .container - .span-19.append-5.last - = render "shared/publisher", :group_ids => :all = render "shared/group_nav" .container - .span-19.last - = yield - - .span-4.prepend-1.last + .span-5.last %h1 - if @group == :all = link_to "Everybody", root_path @@ -70,6 +63,9 @@ = render "shared/group_friends" - .span-24.last + .span-19.last + = yield + + .span-19.prepend-5.last = render "posts/debug" diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index dae50fe37b3e1d719a1908c93a2aa863ae4cf1f2..d1fd01c133af303397e040bb435092c6dcd1b350 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -71,11 +71,11 @@ header { z-index: 4; position: relative; margin: -2em; - margin-bottom: 0; + margin-bottom: 2em; color: black; background-color: #333333; - border-bottom: 1px solid #666666; - padding: 0; } + padding: 0; + border-bottom: 1px solid #555555; } header #diaspora_text { position: absolute; display: inline; @@ -83,10 +83,9 @@ header { font-size: 16px; border: none; color: white; - text-shadow: 0 2px 0 black; top: 3px; } header #diaspora_text a { - color: #666666; } + color: #999999; } header #diaspora_text a:hover { color: white; background: none; } @@ -100,13 +99,6 @@ header { header #session_action a.new_requests { color: #df0101; } -#sub_header { - border-bottom: 1px solid #444444; - margin: 0 -2em; - padding: 0.5em 0; - background-color: #111111; - margin-bottom: 2em; } - #show_filters { z-index: 100; position: absolute; @@ -318,7 +310,6 @@ label { font-weight: normal; } #publisher { - padding-top: 20px; padding-bottom: 20px; color: #999999; position: relative; @@ -427,8 +418,9 @@ h1.big_text { #content_bottom { position: relative; line-height: 36px; - margin-top: 25px; - margin-bottom: 25px; + margin: 0 25px; + margin-top: 25px; + margin-bottom: 25px; min-height: 36px; border-top: 1px solid #999999; border-bottom: 2px solid #eeeeee; } @@ -458,19 +450,18 @@ h1.big_text { #group_nav { color: black; } #group_nav ul { - margin: 0; - margin-bottom: -5px; + margin-bottom: 0; padding: 0; - padding-left: 65px; + padding-bottom: 0px; + padding-top: 35px; list-style: none; font-size: 14px; } #group_nav ul > li { - border-radius: 3px 3px 0 0; - background-color: #333333; + background-color: #444444; display: inline; margin-right: 0.5em; - padding: 0.3em 0.5em; - border: 1px solid #444444; } + padding: 3px 8px; + border: 1px solid #555555; } #group_nav ul > li:hover { background-color: #444444; } #group_nav ul > li:hover a { @@ -487,12 +478,14 @@ h1.big_text { #group_nav ul .âš™ a { color: black; } #group_nav ul .selected { - opacity: 1; + font-weight: bold; background-color: white; border-bottom: 1px solid white; color: black; } #group_nav ul .selected:hover { background-color: #eeeeee; } + #group_nav ul .selected a { + color: black; } #group_nav ul .selected .âš™ a { color: #333333; } diff --git a/public/stylesheets/sass/application.sass b/public/stylesheets/sass/application.sass index 2b45fe81c5d8bee6a10f5183ac366d8a018ef72a..955cf815c4a7bbe1c5d33d7c7b9560347800027c 100644 --- a/public/stylesheets/sass/application.sass +++ b/public/stylesheets/sass/application.sass @@ -76,13 +76,13 @@ header :z-index 4 :position relative :margin -2em - :bottom 0 + :bottom 2em :color #000 :background :color #333 - :border - :bottom 1px solid #666 :padding 0 + :border + :bottom 1px solid #555 #diaspora_text :position absolute @@ -92,12 +92,10 @@ header :size 16px :border none :color #fff - :text - :shadow 0 2px 0 #000 :top 3px a - :color #666 + :color #999 a:hover :color #fff @@ -116,16 +114,6 @@ header :color #DF0101 :padding-right 10px -#sub_header - :border - :bottom 1px solid #444 - :margin 0 -2em - :padding 0.5em 0 - :background - :color #111 - :margin - :bottom 2em - #show_filters :z-index 100 :position absolute @@ -394,7 +382,6 @@ label #publisher :padding - :top 20px :bottom 20px :color #999 :position relative @@ -541,7 +528,7 @@ h1.big_text :position relative :line-height 36px - :margin + :margin 0 25px :top 25px :bottom 25px @@ -581,24 +568,24 @@ h1.big_text #group_nav :color #000 ul - :margin 0 - :bottom -5px + :margin + :bottom 0 :padding 0 - :left 65px + :bottom 0px + :top 35px :list :style none :font :size 14px > li - :border-radius 3px 3px 0 0 :background - :color #333 + :color #444 :display inline :margin :right 0.5em - :padding 0.3em 0.5em + :padding 3px 8px - :border 1px solid #444 + :border 1px solid #555 &:hover :background @@ -621,7 +608,8 @@ h1.big_text :color #000 .selected - :opacity 1 + :font + :weight bold :background :color #fff :border @@ -630,6 +618,9 @@ h1.big_text &:hover :background :color #eee + a + :color #000 + .âš™ a :color #333