diff --git a/app/controllers/aspects_controller.rb b/app/controllers/aspects_controller.rb index 1bfc8b3b5ddf17603048ac6d1836e142da286f5d..2ef3fad518be7c1cb4fad953b538853cdc058c36 100644 --- a/app/controllers/aspects_controller.rb +++ b/app/controllers/aspects_controller.rb @@ -33,7 +33,7 @@ class AspectsController < ApplicationController all_selected_contacts = Contact.joins(:aspect_memberships). where(:aspect_memberships => {:aspect_id => aspect_ids}) @selected_contacts_count = all_selected_contacts.count - @selected_contacts = all_selected_contacts.limit(24) + @selected_contacts = all_selected_contacts.limit(20) end @aspect_ids = @aspects.map { |a| a.id } diff --git a/app/views/aspects/_edit_aspect_pane.html.haml b/app/views/aspects/_edit_aspect_pane.html.haml deleted file mode 100644 index 62ebfb7cae54cbfff16b2aa83fd2becb68b196ef..0000000000000000000000000000000000000000 --- a/app/views/aspects/_edit_aspect_pane.html.haml +++ /dev/null @@ -1,28 +0,0 @@ --# Copyright (c) 2010, Diaspora Inc. This file is --# licensed under the Affero General Public License version 3 or later. See --# the COPYRIGHT file. - -- content_for :head do - = include_javascripts :aspects - -#edit_aspect_pane - - if @contacts.count > 0 - %h4= t('aspects.edit.add_existing') - = render 'shared/contact_list', :aspect_id => aspect.id, :contacts => contacts, :manage => defined?(manage) - - = render 'shared/add_contact', :aspect_id => aspect.id - - %hr - = form_for aspect do |asp| - = asp.text_field :name, :value => aspect.name - = t('aspects.contacts_visible') - = aspect.check_box :contacts_visible, :default => true - %br - = t('aspects.contacts_not_visible') - -#contacts_visible should be editable here - = asp.submit t('aspects.edit.rename_aspect') - - %hr - .big_buttons - = button_to t('aspects.edit.remove_aspect'), aspect, :method => "delete", :confirm => t('aspects.edit.confirm_remove_aspect') - diff --git a/app/views/aspects/edit.html.haml b/app/views/aspects/edit.html.haml index 973f059cdc16da21865dd55a083d2e53d2cc7e1d..52dba5656177361f52197eacdc348da3eb119a33 100644 --- a/app/views/aspects/edit.html.haml +++ b/app/views/aspects/edit.html.haml @@ -32,7 +32,8 @@ = render 'shared/contact_list', :aspect => @aspect, :contacts => @contacts %br - %div{:style => "text-align:right;"} - = link_to t('.done'), '#', :class => 'button', :rel => 'close' - = link_to t('delete'), @aspect, :method => "delete", :confirm => t('.confirm_remove_aspect'), :class => 'button' + .bottom_submit_section + .left + = button_to t('delete'), @aspect, :method => "delete", :confirm => t('.confirm_remove_aspect'), :class => 'button delete' + = submit_tag t('.done'), :class => 'button creation', :rel => 'close' diff --git a/app/views/contacts/index.html.haml b/app/views/contacts/index.html.haml index b6005219afed704c0d56732b3a806e6c8813d4d6..4e8a9cedd0180b1c24273d936bb26df3870dbd74 100644 --- a/app/views/contacts/index.html.haml +++ b/app/views/contacts/index.html.haml @@ -18,11 +18,13 @@ .span-18.last #people_stream.stream.contacts - - if @contacts.size > 0 - #aspect_controls - - if @aspect_ - = link_to "start a conversation", new_conversation_path(:aspect_id => @aspect_.id, :name => @aspect_.name), :class => "button conversation_button", :rel => "facebox" + #aspect_controls + = link_to "Edit #{@aspect_.name}", edit_aspect_path(@aspect_), :rel => "facebox" + + - if @aspect_ + = link_to "start a conversation", new_conversation_path(:aspect_id => @aspect_.id, :name => @aspect_.name), :class => "button conversation_button", :rel => "facebox" + - if @contacts.size > 0 - for contact in @contacts .stream_element{:id => contact.person.id} .right diff --git a/app/views/layouts/_header.html.haml b/app/views/layouts/_header.html.haml index e99a6ef935c90eb7908236b2b66ed9ad6a92dd94..0bd36b062423e5a1dc65036fa7d79a5a0b9a58b0 100644 --- a/app/views/layouts/_header.html.haml +++ b/app/views/layouts/_header.html.haml @@ -22,16 +22,26 @@ = text_field_tag 'q', nil, :placeholder => t('find_people'), :type => 'search', :results => 5 - if @notification_count - #notification_badge - = link_to "", notifications_path, :title => new_notification_text(@notification_count) - = image_tag 'icons/monotone_flag.png', :height => 20, :width => 20, :id => "notification-flag" - .badge_count{:class => ("hidden" if @notification_count == 0)} - = @notification_count - #message_inbox_badge - = link_to "", conversations_path , :title => new_message_text(@unread_message_count) - = image_tag 'icons/mail_grey.png', :height => 16, :width => 16 - .badge_count{:class => ("hidden" if @unread_message_count == 0)} - = @unread_message_count + #nav_badges + #home_badge.badge + = link_to aspects_path, :title => t('_home') do + = image_tag 'icons/home_grey.svg', :height => 16 + + #contacts_badge.badge + = link_to contacts_path, :title => t('_contacts') do + = image_tag 'icons/contacts_grey.svg', :height => 16 + + #notification_badge.badge + = link_to notifications_path, :title => new_notification_text(@notification_count) do + = image_tag 'icons/notifications_grey.svg', :height => 16, :id => "notification-flag" + .badge_count{:class => ("hidden" if @notification_count == 0)} + = @notification_count + + #message_inbox_badge.badge + = link_to conversations_path , :title => new_message_text(@unread_message_count) do + = image_tag 'icons/mail_grey.svg', :width => 18 + .badge_count{:class => ("hidden" if @unread_message_count == 0)} + = @unread_message_count %ul#user_menu.dropdown %li diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index 21446a014df642a1f12a1b020992b8de485a3558..2db7f785651a877cb375b571f49a84a70480b85e 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -36,6 +36,7 @@ en: _comments: "Comments" all_aspects: "All Aspects" no_results: "No Results Found" + _contacts: "Contacts" #for reference translation, the real activerecord english transations are actually @@ -211,7 +212,7 @@ en: send: "Send" helper: new_messages: - zero: "no new messages" + zero: "No new messages" one: "1 new messages" few: "%{count} new messages" many: "%{count} new messages" @@ -366,7 +367,7 @@ en: and: 'and' helper: new_notifications: - zero: "no new notifications" + zero: "No new notifications" one: "1 new notifications" few: "%{count} new notifications" many: "%{count} new notifications" diff --git a/public/images/icons/contacts_grey.svg b/public/images/icons/contacts_grey.svg new file mode 100644 index 0000000000000000000000000000000000000000..d64cfdd3a434eb2345db0d490f05aa03843b6506 --- /dev/null +++ b/public/images/icons/contacts_grey.svg @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + version="1.0" + id="Layer_1" + x="0px" + y="0px" + width="100px" + height="85.416px" + viewBox="0 0 100 85.416" + enable-background="new 0 0 100 85.416" + xml:space="preserve" + inkscape:version="0.48.1 r9760" + sodipodi:docname="noun_project_288.svg"><metadata + id="metadata25"><rdf:RDF><cc:Work + rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs + id="defs23" /><sodipodi:namedview + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="1367" + inkscape:window-height="734" + id="namedview21" + showgrid="false" + inkscape:zoom="4.5744161" + inkscape:cx="42.321557" + inkscape:cy="30.400614" + inkscape:window-x="1892" + inkscape:window-y="281" + inkscape:window-maximized="0" + inkscape:current-layer="Layer_1" /> +<g + id="g3" + style="fill:#939393;fill-opacity:1"> + <path + d="M60.082,20.987H39.918c-3.231,0-5.851,2.618-5.851,5.85v27.44c0,3.231,2.62,5.852,5.851,5.852h0.033v19.436 c0,3.231,2.546,5.852,5.689,5.852h8.722c3.14,0,5.688-2.62,5.688-5.852V60.129h0.032c3.231,0,5.851-2.62,5.851-5.852v-27.44 C65.932,23.605,63.313,20.987,60.082,20.987z" + id="path5" + style="fill:#939393;fill-opacity:1" /> + <circle + cx="50" + cy="9.55" + r="9.55" + id="circle7" + style="fill:#939393;fill-opacity:1" /> +</g> +<g + id="g9" + style="fill:#939393;fill-opacity:1"> + <path + d="M94.986,23.268H77.708c-2.771,0-5.014,2.245-5.014,5.014v23.514c0,2.771,2.243,5.016,5.014,5.016h0.028v16.654 c0,2.77,2.182,5.014,4.873,5.014h7.475c2.691,0,4.874-2.244,4.874-5.014V56.811h0.027c2.771,0,5.015-2.245,5.015-5.016V28.281 C100,25.513,97.756,23.268,94.986,23.268z" + id="path11" + style="fill:#939393;fill-opacity:1" /> + <circle + cx="86.347" + cy="13.469" + r="8.184" + id="circle13" + style="fill:#939393;fill-opacity:1" /> +</g> +<g + id="g15" + style="fill:#939393;fill-opacity:1"> + <path + d="M22.292,23.268H5.014C2.245,23.268,0,25.513,0,28.281v23.514c0,2.771,2.245,5.016,5.014,5.016h0.028v16.654 c0,2.77,2.184,5.014,4.874,5.014h7.474c2.692,0,4.874-2.244,4.874-5.014V56.811h0.028c2.769,0,5.014-2.245,5.014-5.016V28.281 C27.305,25.513,25.06,23.268,22.292,23.268z" + id="path17" + style="fill:#939393;fill-opacity:1" /> + <circle + cx="13.653" + cy="13.469" + r="8.183" + id="circle19" + style="fill:#939393;fill-opacity:1" /> +</g> +</svg> \ No newline at end of file diff --git a/public/images/icons/home_grey.svg b/public/images/icons/home_grey.svg new file mode 100644 index 0000000000000000000000000000000000000000..0fc96056c29a9bf371a23e5be3a4d622498fca3f --- /dev/null +++ b/public/images/icons/home_grey.svg @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + version="1.0" + id="Layer_1" + x="0px" + y="0px" + width="100px" + height="83.84px" + viewBox="0 0 100 83.84" + enable-background="new 0 0 100 83.84" + xml:space="preserve" + inkscape:version="0.48.1 r9760" + sodipodi:docname="noun_project_293_6.svg"><metadata + id="metadata9"><rdf:RDF><cc:Work + rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs + id="defs7" /><sodipodi:namedview + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="915" + inkscape:window-height="535" + id="namedview5" + showgrid="false" + inkscape:zoom="3.1250001" + inkscape:cx="50" + inkscape:cy="41.919998" + inkscape:window-x="2298" + inkscape:window-y="283" + inkscape:window-maximized="0" + inkscape:current-layer="Layer_1" /> +<path + d="M99.585,49.144c-6.011-6.031-12.021-12.061-18.032-18.092c-0.306-0.307-0.52-0.484-0.665-0.578 c0.021-0.076,0.035-0.181,0.035-0.335c0-2.175,0-4.351,0-6.526c0-4.371,0-8.741,0-13.112c0-0.794-0.663-1.457-1.457-1.457 c-3.158,0-6.315,0-9.474,0c-0.794,0-1.457,0.663-1.457,1.457c0,2.497,0,4.993,0,7.49C62.7,12.136,56.865,6.281,51.03,0.426 c-0.304-0.304-0.645-0.424-0.975-0.424C50.037,0,50.019,0.001,50,0c-0.019,0.001-0.037,0-0.056,0.002 c-0.33,0-0.671,0.12-0.975,0.424C32.785,16.665,16.6,32.904,0.415,49.144c-0.897,0.899-0.243,2.486,1.03,2.486 c3.322,0,6.646,0,9.969,0c0,10.251,0,20.502,0,30.753c0,0.794,0.663,1.457,1.457,1.457c10.353,0,19.735,0,30.089,0 c0.793,0,1.456-0.663,1.456-1.457c0-7.171,0-14.342,0-21.514c3.075,0,8.093,0,11.168,0c0,7.172,0,14.343,0,21.514 c0,0.794,0.663,1.457,1.456,1.457c10.354,0,19.736,0,30.09,0c0.793,0,1.456-0.663,1.456-1.457c0-10.251,0-20.502,0-30.753 c3.323,0,6.646,0,9.969,0C99.827,51.63,100.482,50.043,99.585,49.144z" + id="path3" + style="fill:#939393;fill-opacity:1" /> +</svg> \ No newline at end of file diff --git a/public/images/icons/mail_grey.svg b/public/images/icons/mail_grey.svg new file mode 100644 index 0000000000000000000000000000000000000000..da935a95d67ba456a6cfab4ad76a87ac3383719a --- /dev/null +++ b/public/images/icons/mail_grey.svg @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + version="1.0" + id="Layer_1" + x="0px" + y="0px" + width="100px" + height="63.145px" + viewBox="0 0 100 63.145" + enable-background="new 0 0 100 63.145" + xml:space="preserve" + inkscape:version="0.48.1 r9760" + sodipodi:docname="noun_project_426_1 2.svg"><metadata + id="metadata11"><rdf:RDF><cc:Work + rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs + id="defs9" /><sodipodi:namedview + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="1717" + inkscape:window-height="1062" + id="namedview7" + showgrid="false" + inkscape:zoom="4.1491804" + inkscape:cx="7.340973" + inkscape:cy="31.5725" + inkscape:window-x="1680" + inkscape:window-y="0" + inkscape:window-maximized="0" + inkscape:current-layer="Layer_1" /> +<path + d="M98.706,9.805C82.471,21.644,66.235,33.482,50.001,45.321L50,45.32l-0.001,0.001C33.765,33.482,17.529,21.644,1.294,9.805 C0.751,9.409,0,9.946,0,10.548c0,17.246,0,34.491,0,51.737c0,0.468,0.392,0.859,0.86,0.859c16.379,0,32.759,0,49.14,0 c16.38,0,32.761,0,49.14,0c0.469,0,0.86-0.392,0.86-0.859c0-17.246,0-34.492,0-51.737C100,9.946,99.249,9.409,98.706,9.805z" + id="path3" + style="fill:#939393;fill-opacity:1" /> +<path + d="M0.426,1.603c16.38,11.943,32.76,23.887,49.141,35.831c0.111,0.082,0.272,0.122,0.434,0.122s0.322-0.04,0.434-0.122 C66.814,25.489,83.194,13.546,99.574,1.603C100.231,1.123,100.058,0,99.14,0C82.76,0,66.379,0,50,0S17.24,0,0.86,0 C-0.058,0-0.231,1.123,0.426,1.603z" + id="path5" + style="fill:#939393;fill-opacity:1" /> +</svg> \ No newline at end of file diff --git a/public/images/icons/notifications_grey.svg b/public/images/icons/notifications_grey.svg new file mode 100644 index 0000000000000000000000000000000000000000..e4a227af05426d5e979be8975672b0ede438eb19 --- /dev/null +++ b/public/images/icons/notifications_grey.svg @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + version="1.0" + id="Layer_1" + x="0px" + y="0px" + width="100px" + height="100px" + viewBox="0 0 100 100" + enable-background="new 0 0 100 99.999" + xml:space="preserve" + inkscape:version="0.48.1 r9760" + sodipodi:docname="notifications_grey.svg"><metadata + id="metadata15"><rdf:RDF><cc:Work + rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs + id="defs13" /><sodipodi:namedview + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="765" + inkscape:window-height="540" + id="namedview11" + showgrid="false" + inkscape:zoom="1" + inkscape:cx="50" + inkscape:cy="-26.335615" + inkscape:window-x="1680" + inkscape:window-y="0" + inkscape:window-maximized="0" + inkscape:current-layer="Layer_1" /> +<g + id="g3" + style="fill:#939393;fill-opacity:1"> + <path + d="M28.793,71.207c-5.062-5.065-7.6-11.705-7.62-18.356l-6.515-0.002c0.021,8.32,3.193,16.635,9.526,22.967 c6.335,6.331,14.647,9.504,22.967,9.526l-0.001-6.515C40.5,78.806,33.856,76.268,28.793,71.207z" + id="path5" + style="fill:#939393;fill-opacity:1" /> + <path + d="M18.423,81.575C10.501,73.654,6.535,63.251,6.514,52.85L0,52.846c0.02,12.074,4.623,24.145,13.815,33.34 c9.193,9.188,21.261,13.796,33.337,13.812v-6.515C36.745,93.467,26.346,89.495,18.423,81.575z" + id="path7" + style="fill:#939393;fill-opacity:1" /> +</g> +<path + d="M76.157,43.675l-2.863-0.341c3.781-4.642,3.509-11.487-0.819-15.811c-4.321-4.327-11.166-4.599-15.811-0.818l-0.339-2.862 L32.482,0L11.531,20.949l23.842,23.843l2.864,0.341c-3.779,4.643-3.506,11.485,0.819,15.811c4.325,4.325,11.167,4.596,15.81,0.819 l0.339,2.862L79.05,88.466L100,67.519L76.157,43.675z M38.384,38.586L20.749,20.949L32.482,9.218l17.637,17.636l0.669,5.64 l-6.762,6.761L38.384,38.586z M79.05,79.249L61.412,61.613l-0.668-5.64l6.761-6.761l5.642,0.668L90.78,67.519L79.05,79.249z" + id="path9" + style="fill:#939393;fill-opacity:1" /> +</svg> diff --git a/public/javascripts/aspect-filters.js b/public/javascripts/aspect-filters.js index cb90a1ec2035b684035e313846f7c40fc6cc6a78..4d14c82a849db0beb72e878c5ce04cc0455affd1 100644 --- a/public/javascripts/aspect-filters.js +++ b/public/javascripts/aspect-filters.js @@ -16,7 +16,7 @@ var AspectFilters = { var button = $(this), guid = button.attr('data-guid'); - if(guid && location.href.search("a_ids..="+guid+"(&|$)") != -1){ + if(guid && location.href.search("a_ids..="+guid+"(#|&|$)") != -1){ button.parent().addClass('active'); AspectFilters.selectedGUIDS.push(guid); $("#aspect_nav li.all_aspects").removeClass('active'); diff --git a/public/stylesheets/sass/_mixins.scss b/public/stylesheets/sass/_mixins.scss index ddde72768addd1bcb14854dfd400a100037c6a68..e15e21af0fa1bb58d70a26c1117a94d832b2bde3 100644 --- a/public/stylesheets/sass/_mixins.scss +++ b/public/stylesheets/sass/_mixins.scss @@ -1,5 +1,5 @@ $blue: #3f8fba; -$red: red; +$red: #a80000; $background: #fff; $creation-blue: #0097ff; diff --git a/public/stylesheets/sass/application.sass b/public/stylesheets/sass/application.sass index 45f8d3c38af48e97545aabcc26396b6793bb17a1..0cbf2f5cf1d58b182bd258027da62984b5da960c 100644 --- a/public/stylesheets/sass/application.sass +++ b/public/stylesheets/sass/application.sass @@ -129,10 +129,8 @@ header @include linear-gradient(rgba(35,30,30,0.95),rgba(35,30,30,1)) :z-index 50 - :padding 0 - :top 2px + :padding 6px 0 :color #CCC - :height 35px :position fixed @@ -182,7 +180,7 @@ header :position absolute :display inline - :top 5px + :top 0 :right 0 &:hover @@ -1617,37 +1615,41 @@ h3 span.current_gs_step :background :color #22AAE0 -#notification_badge, -#message_inbox_badge +#nav_badges :position relative - :top 5px - :display inline - :margin 0 10px - :right -5px - :font - :weight bold - :size smaller - :width 28px + :display inline-block + :top 3px - &:active - :top 6px + a:hover + :text + :decoration none - a - :z-index 5 - :position absolute - :top -9px - :width 20px - :height 20px + .badge + :position relative + :display inline + :margin 0 15px + :right -5px + :font + :weight bold + :size smaller + :width 28px - &:hover - .badge_count - :background - :color lighten(#A40802, 5%) + &:active + :top 1px + + &:hover + .badge_count + :background + :color lighten(#A40802, 5%) + +#message_inbox_badge + img + :position relative + :top -2px #notification_badge img :position relative - :top 2px .badge_count @include border-radius(2px) @@ -2034,11 +2036,6 @@ h3,h4 :padding :bottom 5px -#edit_aspect_pane - @include box-shadow(0,4px,8px,#333) - - :display none - .big_buttons input :width 100% @@ -2252,7 +2249,6 @@ ul.show_comments :bottom -4px :padding 4px - ul.show_comments, .likes_container * @@ -2260,6 +2256,10 @@ ul.show_comments, :weight bold :color #999 + li + :border + :bottom 1px solid #ccc + img :position relative :top 3px @@ -2349,25 +2349,6 @@ ul.show_comments, :padding :left 60px -#new_notifications, -#new_requests - :position relative - - :margin - :bottom 10px - :top -8px - - h4 - :display inline - img - :position relative - :display inline - :margin - :right 4px - :top 5px - - - #email_invitation input :width 100% @@ -2882,7 +2863,7 @@ ul.left_nav :padding 3px 7px &:hover - @include border-radius(4px) + @include border-radius(2px) :background :color lighten($blue,45%) @@ -3018,8 +2999,8 @@ ul.left_nav #selected_aspect_contacts .avatar - :height 26px - :width 26px + :height 32px + :width 32px :margin :bottom -2px @@ -3031,7 +3012,16 @@ ul.left_nav :border 1px dotted #ccc .bottom_submit_section + :display block + :position relative + + form + :display inline-block :text-align right #no_posts :padding 20px + +.left + :position absolute + :left 0 diff --git a/public/stylesheets/sass/ui.sass b/public/stylesheets/sass/ui.sass index 0286be23ec5d29d715a87367e8bf7c6b2b90749d..3f27cb274dfc7212336c8caf2f5b17b31f2cd4de 100644 --- a/public/stylesheets/sass/ui.sass +++ b/public/stylesheets/sass/ui.sass @@ -65,6 +65,9 @@ :border :top 1px solid #aaa +.button.delete + :color desaturate($red,10%) + .button.in_aspects @include linear-gradient(lighten(#76C000,8%),#76C000)