all status messages have labels
This commit is contained in:
parent
79926da3d3
commit
263615ad14
3 changed files with 68 additions and 6 deletions
|
|
@ -24,6 +24,11 @@
|
||||||
= render "shared/reshare", :post => post, :current_user => current_user
|
= render "shared/reshare", :post => post, :current_user => current_user
|
||||||
|
|
||||||
- if post.public?
|
- if post.public?
|
||||||
.aspect_tag
|
.public_aspect_tag
|
||||||
public
|
public
|
||||||
|
- else
|
||||||
|
.aspect_tag
|
||||||
|
%ul
|
||||||
|
- for aspect in current_user.aspects_with_post( post.id )
|
||||||
|
%li= aspect.name
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -676,11 +676,11 @@ ul#settings_nav {
|
||||||
#fancybox-close:hover {
|
#fancybox-close:hover {
|
||||||
background-color: transparent; }
|
background-color: transparent; }
|
||||||
|
|
||||||
.aspect_tag {
|
.aspect_tag,
|
||||||
|
.public_aspect_tag {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 15px;
|
top: 15px;
|
||||||
right: 2em;
|
right: 2em;
|
||||||
background-color: #fffc7f;
|
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
-webkit-border-radius: 5px;
|
-webkit-border-radius: 5px;
|
||||||
-moz-border-radius: 5px;
|
-moz-border-radius: 5px;
|
||||||
|
|
@ -691,6 +691,28 @@ ul#settings_nav {
|
||||||
border-bottom: 1px solid #eeeeee;
|
border-bottom: 1px solid #eeeeee;
|
||||||
cursor: default; }
|
cursor: default; }
|
||||||
|
|
||||||
|
.public_aspect_tag {
|
||||||
|
background-color: #fffc7f; }
|
||||||
|
|
||||||
|
.aspect_tag {
|
||||||
|
background-color: #eeeeee;
|
||||||
|
color: #999999;
|
||||||
|
text-shadow: 0 1px white; }
|
||||||
|
.aspect_tag ul {
|
||||||
|
display: inline;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
list-style: none; }
|
||||||
|
.aspect_tag ul li {
|
||||||
|
display: inline;
|
||||||
|
margin-right: 2px;
|
||||||
|
padding-right: 4px;
|
||||||
|
border-right: 1px solid #cccccc; }
|
||||||
|
.aspect_tag ul li:last-child {
|
||||||
|
margin-right: 0;
|
||||||
|
padding-right: 0;
|
||||||
|
border-right: none; }
|
||||||
|
|
||||||
#friend_pictures {
|
#friend_pictures {
|
||||||
line-height: 1em; }
|
line-height: 1em; }
|
||||||
#friend_pictures img {
|
#friend_pictures img {
|
||||||
|
|
|
||||||
|
|
@ -866,12 +866,11 @@ ul#settings_nav
|
||||||
:background
|
:background
|
||||||
:color transparent
|
:color transparent
|
||||||
|
|
||||||
.aspect_tag
|
.aspect_tag,
|
||||||
|
.public_aspect_tag
|
||||||
:position absolute
|
:position absolute
|
||||||
:top 15px
|
:top 15px
|
||||||
:right 2em
|
:right 2em
|
||||||
:background
|
|
||||||
:color #FFFC7F
|
|
||||||
|
|
||||||
:border-radius 5px
|
:border-radius 5px
|
||||||
:-webkit-border-radius 5px
|
:-webkit-border-radius 5px
|
||||||
|
|
@ -890,6 +889,42 @@ ul#settings_nav
|
||||||
|
|
||||||
:cursor default
|
:cursor default
|
||||||
|
|
||||||
|
.public_aspect_tag
|
||||||
|
:background
|
||||||
|
:color #FFFC7F
|
||||||
|
|
||||||
|
.aspect_tag
|
||||||
|
:background
|
||||||
|
:color #eee
|
||||||
|
:color #999
|
||||||
|
:text
|
||||||
|
:shadow 0 1px #fff
|
||||||
|
|
||||||
|
ul
|
||||||
|
:display inline
|
||||||
|
:margin 0
|
||||||
|
:padding 0
|
||||||
|
:list
|
||||||
|
:style none
|
||||||
|
|
||||||
|
li
|
||||||
|
:display inline
|
||||||
|
:margin
|
||||||
|
:right 2px
|
||||||
|
:padding
|
||||||
|
:right 4px
|
||||||
|
:border
|
||||||
|
:right 1px solid #ccc
|
||||||
|
|
||||||
|
&:last-child
|
||||||
|
:margin
|
||||||
|
:right 0
|
||||||
|
:padding
|
||||||
|
:right 0
|
||||||
|
:border
|
||||||
|
:right none
|
||||||
|
|
||||||
|
|
||||||
#friend_pictures
|
#friend_pictures
|
||||||
:line-height 1em
|
:line-height 1em
|
||||||
img
|
img
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue