public indicator tag on status message partial.
This commit is contained in:
parent
15a4609c14
commit
bf587be461
3 changed files with 43 additions and 0 deletions
|
|
@ -22,3 +22,8 @@
|
||||||
.destroy_link
|
.destroy_link
|
||||||
= link_to t('.delete'), status_message_path(post), :confirm => t('.are_you_sure'), :method => :delete, :remote => true, :class => "delete"
|
= link_to t('.delete'), status_message_path(post), :confirm => t('.are_you_sure'), :method => :delete, :remote => true, :class => "delete"
|
||||||
= render "shared/reshare", :post => post, :current_user => current_user
|
= render "shared/reshare", :post => post, :current_user => current_user
|
||||||
|
|
||||||
|
- if post.public?
|
||||||
|
.aspect_tag
|
||||||
|
public
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -675,3 +675,18 @@ ul#settings_nav {
|
||||||
|
|
||||||
#fancybox-close:hover {
|
#fancybox-close:hover {
|
||||||
background-color: transparent; }
|
background-color: transparent; }
|
||||||
|
|
||||||
|
.aspect_tag {
|
||||||
|
position: absolute;
|
||||||
|
top: 15px;
|
||||||
|
right: 2em;
|
||||||
|
background-color: #fffc7f;
|
||||||
|
border-radius: 5px;
|
||||||
|
-webkit-border-radius: 5px;
|
||||||
|
-moz-border-radius: 5px;
|
||||||
|
font-size: smaller;
|
||||||
|
padding: 0 6px;
|
||||||
|
color: #999999;
|
||||||
|
text-shadow: 0 1px white;
|
||||||
|
border-bottom: 1px solid #eeeeee;
|
||||||
|
cursor: default; }
|
||||||
|
|
|
||||||
|
|
@ -866,3 +866,26 @@ ul#settings_nav
|
||||||
:background
|
:background
|
||||||
:color transparent
|
:color transparent
|
||||||
|
|
||||||
|
.aspect_tag
|
||||||
|
:position absolute
|
||||||
|
:top 15px
|
||||||
|
:right 2em
|
||||||
|
:background
|
||||||
|
:color #FFFC7F
|
||||||
|
|
||||||
|
:border-radius 5px
|
||||||
|
:-webkit-border-radius 5px
|
||||||
|
:-moz-border-radius 5px
|
||||||
|
|
||||||
|
:font
|
||||||
|
:size smaller
|
||||||
|
:padding 0 6px
|
||||||
|
|
||||||
|
:color #999
|
||||||
|
:text
|
||||||
|
:shadow 0 1px #fff
|
||||||
|
|
||||||
|
:border
|
||||||
|
:bottom 1px solid #eee
|
||||||
|
|
||||||
|
:cursor default
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue