small visual tweaks

This commit is contained in:
danielvincent 2010-09-28 12:58:34 -07:00
parent 4627c5338e
commit e0159aaaeb
3 changed files with 21 additions and 9 deletions

View file

@ -7,6 +7,7 @@
= @status_message.message = @status_message.message
%h4= "#{t('.comments')} (#{@status_message.comments.count})" %h4= "#{t('.comments')} (#{@status_message.comments.count})"
= render "comments/comments", :post => @status_message = render "comments/comments", :post => @status_message
%p %p

View file

@ -147,7 +147,9 @@ ul#stream {
padding: 12px 0; padding: 12px 0;
border-bottom: 1px solid #eeeeee; } border-bottom: 1px solid #eeeeee; }
ul#stream > li:hover { ul#stream > li:hover {
background-color: #fafafa; } background: -webkit-gradient(linear, 0% 0%, 0% 50%, from(#fafafa), to(#fcfcfc));
background-color: #fafafa;
border-bottom: 1px solid #dddddd; }
ul#stream > li:hover .destroy_link { ul#stream > li:hover .destroy_link {
display: inline; } display: inline; }
ul#stream .right { ul#stream .right {
@ -392,13 +394,15 @@ label {
height: 42px; height: 42px;
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
box-shadow: 0 1px white; box-shadow: 0 1px 2px white;
-moz-box-shadow: 0 1px white; -moz-box-shadow: 0 1px 2px white;
-webkit-box-shadow: 0 1px white; } -webkit-box-shadow: 0 1px 2px white; }
#publisher .button { #publisher .button {
margin-left: 100px; } margin-left: 100px; }
#publisher img { #publisher img {
-webkit-box-shadow: 0 1px 0 white; box-shadow: 0 1px 2px white;
-moz-box-shadow: 0 1px 2px white;
-webkit-box-shadow: 0 1px 2px white;
border: 1px solid #bbbbbb; border: 1px solid #bbbbbb;
border-top: 1px solid #666666; } border-top: 1px solid #666666; }

View file

@ -188,9 +188,14 @@ ul#stream
:bottom 1px solid #eee :bottom 1px solid #eee
&:hover &:hover
:background -webkit-gradient(linear, 0% 0%, 0% 50%, from(#FAFAFA), to(#FCFCFC))
:background :background
:color #fafafa :color #fafafa
:border
:bottom 1px solid #ddd
.destroy_link .destroy_link
:display inline :display inline
@ -522,15 +527,17 @@ label
:top 0 :top 0
:bottom 0 :bottom 0
:box-shadow 0 1px #fff :box-shadow 0 1px 2px #fff
:-moz-box-shadow 0 1px #fff :-moz-box-shadow 0 1px 2px #fff
:-webkit-box-shadow 0 1px #fff :-webkit-box-shadow 0 1px 2px #fff
.button .button
:margin-left 100px :margin-left 100px
img img
:-webkit-box-shadow 0 1px 0 #fff :box-shadow 0 1px 2px #fff
:-moz-box-shadow 0 1px 2px #fff
:-webkit-box-shadow 0 1px 2px #fff
:border 1px solid #bbb :border 1px solid #bbb
:top 1px solid #666 :top 1px solid #666