misc visual cleanup on mobile
This commit is contained in:
parent
666fb76bfc
commit
b89dd900cc
3 changed files with 25 additions and 39 deletions
|
|
@ -7,9 +7,9 @@
|
|||
= t('all_aspects')
|
||||
- else
|
||||
= @aspect
|
||||
|
||||
%h1
|
||||
= link_to t('.post_a_message'), '#publisher_page', :id => 'publisher_button'
|
||||
|
||||
|
||||
#main_stream.stream
|
||||
= render 'shared/stream', :posts => @posts
|
||||
-if @posts.length > 0
|
||||
|
|
|
|||
|
|
@ -51,12 +51,10 @@
|
|||
#content{:data => {:role => 'page', :theme => 'c'}}
|
||||
#header
|
||||
- if current_user
|
||||
.left
|
||||
= link_to(image_tag('icons/list_white.png'), '#menu', :id => "menu_button")
|
||||
|
||||
.right
|
||||
= link_to(image_tag('icons/list_white.png'), '#menu', :id => "menu_button")
|
||||
= link_to(image_tag('icons/search_white.png'), people_path)
|
||||
= link_to(image_tag('white@2x.png', :height => 22, :width => 136), aspects_path)
|
||||
= link_to(image_tag('white@2x.png', :height => 22, :width => 136, :id => 'header_title'), aspects_path)
|
||||
|
||||
= yield
|
||||
|
||||
|
|
|
|||
|
|
@ -85,24 +85,27 @@ a
|
|||
|
||||
.avatar
|
||||
:float left
|
||||
:height 40px
|
||||
:width 40px
|
||||
:height 48px
|
||||
:width 48px
|
||||
|
||||
.from
|
||||
a
|
||||
:margin
|
||||
:left -2px
|
||||
:color #000 !important
|
||||
:font
|
||||
:weight bold !important
|
||||
|
||||
:margin-bottom 2px
|
||||
|
||||
.content
|
||||
:padding
|
||||
:left 45px
|
||||
:left 58px
|
||||
|
||||
:border
|
||||
:bottom 1px solid #eee
|
||||
|
||||
:padding 4px 4px
|
||||
:right 8px
|
||||
:padding 10px
|
||||
|
||||
.info
|
||||
:margin
|
||||
|
|
@ -118,7 +121,8 @@ a
|
|||
:font
|
||||
:weight normal
|
||||
p
|
||||
:margin 0
|
||||
:margin 0 auto
|
||||
:line-height 1.4em
|
||||
|
||||
.comment
|
||||
:padding
|
||||
|
|
@ -301,41 +305,26 @@ ul
|
|||
:align left
|
||||
|
||||
#header
|
||||
:background
|
||||
:color #111
|
||||
:text
|
||||
:align center
|
||||
:padding 12px 0
|
||||
:border
|
||||
:bottom 1px solid #000
|
||||
@include linear-gradient(#222, #000)
|
||||
|
||||
img
|
||||
:padding
|
||||
:top 2px
|
||||
:margin
|
||||
:bottom -2px
|
||||
:padding 11px 5px
|
||||
:bottom 7px
|
||||
:border
|
||||
:bottom 1px solid #444
|
||||
|
||||
.right
|
||||
:position absolute
|
||||
:top 0
|
||||
:top 0px
|
||||
:padding 6px
|
||||
:top 5px
|
||||
:top 4px
|
||||
:right 0
|
||||
|
||||
.left
|
||||
:position absolute
|
||||
:top 0
|
||||
:padding 6px
|
||||
:left 0
|
||||
|
||||
|
||||
#footer
|
||||
:background
|
||||
:color #ccc
|
||||
.inset
|
||||
:padding 10px
|
||||
|
||||
|
||||
.notification_day_header
|
||||
:padding 6px
|
||||
:background
|
||||
|
|
@ -348,13 +337,12 @@ ul
|
|||
:color #666
|
||||
|
||||
#aspect_header
|
||||
:text
|
||||
:align center
|
||||
:padding 4px
|
||||
:padding 4px 7px
|
||||
:bottom 7px
|
||||
:font
|
||||
:weight bold
|
||||
:text
|
||||
:shadow none
|
||||
:background
|
||||
:color #333
|
||||
:color #ccc
|
||||
:color #eee
|
||||
:color #999
|
||||
|
|
|
|||
Loading…
Reference in a new issue