minor tweaks
This commit is contained in:
parent
894d6654b2
commit
3a876770f3
3 changed files with 33 additions and 14 deletions
|
|
@ -10,12 +10,13 @@
|
||||||
.from
|
.from
|
||||||
= link_to post.person.real_name, post.person
|
= link_to post.person.real_name, post.person
|
||||||
.aspect
|
.aspect
|
||||||
→
|
➔
|
||||||
- if post.public?
|
%ul
|
||||||
the world
|
- if post.public?
|
||||||
- else
|
the world
|
||||||
- for aspect in current_user.aspects_with_post( post.id )
|
- else
|
||||||
= link_to aspect.name, aspect
|
- for aspect in current_user.aspects_with_post( post.id )
|
||||||
|
%li= link_to aspect.name, aspect
|
||||||
|
|
||||||
- if current_user.owns?(post)
|
- if current_user.owns?(post)
|
||||||
.destroy_link
|
.destroy_link
|
||||||
|
|
|
||||||
|
|
@ -165,6 +165,7 @@ li.message {
|
||||||
font-family: "Helvetica neue", Arial, Helvetica, sans-serif;
|
font-family: "Helvetica neue", Arial, Helvetica, sans-serif;
|
||||||
text-shadow: 0 1px white; }
|
text-shadow: 0 1px white; }
|
||||||
li.message .content .from .aspect {
|
li.message .content .from .aspect {
|
||||||
|
cursor: default;
|
||||||
display: inline;
|
display: inline;
|
||||||
color: #bbbbbb;
|
color: #bbbbbb;
|
||||||
font-size: 12px; }
|
font-size: 12px; }
|
||||||
|
|
@ -173,6 +174,17 @@ li.message {
|
||||||
color: #bbbbbb; }
|
color: #bbbbbb; }
|
||||||
li.message .content .from .aspect a:hover {
|
li.message .content .from .aspect a:hover {
|
||||||
text-decoration: underline; }
|
text-decoration: underline; }
|
||||||
|
li.message .content .from .aspect ul {
|
||||||
|
display: inline;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
list-style: none; }
|
||||||
|
li.message .content .from .aspect ul li {
|
||||||
|
display: inline; }
|
||||||
|
li.message .content .from .aspect ul li:after {
|
||||||
|
content: ","; }
|
||||||
|
li.message .content .from .aspect ul li:last-child:after {
|
||||||
|
content: ""; }
|
||||||
li.message .content .from a {
|
li.message .content .from a {
|
||||||
font-weight: bold; }
|
font-weight: bold; }
|
||||||
li.message .content div.info {
|
li.message .content div.info {
|
||||||
|
|
@ -373,10 +385,7 @@ textarea {
|
||||||
height: auto;
|
height: auto;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
-webkit-border-radius: 5px;
|
-webkit-border-radius: 5px;
|
||||||
-moz-border-radius: 5px;
|
-moz-border-radius: 5px; }
|
||||||
box-shadow: 0 1px 2px white;
|
|
||||||
-moz-box-shadow: 0 1px 2px white;
|
|
||||||
-webkit-box-shadow: 0 1px 2px white; }
|
|
||||||
|
|
||||||
.submit_block {
|
.submit_block {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
|
|
||||||
|
|
@ -212,6 +212,7 @@ li.message
|
||||||
:shadow 0 1px #fff
|
:shadow 0 1px #fff
|
||||||
|
|
||||||
.aspect
|
.aspect
|
||||||
|
:cursor default
|
||||||
:display inline
|
:display inline
|
||||||
:color #bbb
|
:color #bbb
|
||||||
:font
|
:font
|
||||||
|
|
@ -224,6 +225,18 @@ li.message
|
||||||
&:hover
|
&:hover
|
||||||
:text
|
:text
|
||||||
:decoration underline
|
:decoration underline
|
||||||
|
ul
|
||||||
|
:display inline
|
||||||
|
:margin 0
|
||||||
|
:padding 0
|
||||||
|
:list
|
||||||
|
:style none
|
||||||
|
li
|
||||||
|
:display inline
|
||||||
|
&:after
|
||||||
|
:content ","
|
||||||
|
&:last-child:after
|
||||||
|
:content ""
|
||||||
|
|
||||||
a
|
a
|
||||||
:font
|
:font
|
||||||
|
|
@ -509,9 +522,6 @@ textarea
|
||||||
:-webkit-border-radius 5px
|
:-webkit-border-radius 5px
|
||||||
:-moz-border-radius 5px
|
:-moz-border-radius 5px
|
||||||
|
|
||||||
:box-shadow 0 1px 2px #fff
|
|
||||||
:-moz-box-shadow 0 1px 2px #fff
|
|
||||||
:-webkit-box-shadow 0 1px 2px #fff
|
|
||||||
|
|
||||||
.submit_block
|
.submit_block
|
||||||
:text
|
:text
|
||||||
|
|
@ -720,7 +730,6 @@ h1.big_text
|
||||||
:list
|
:list
|
||||||
:style none
|
:style none
|
||||||
|
|
||||||
|
|
||||||
> li
|
> li
|
||||||
:padding 0
|
:padding 0
|
||||||
:display inline
|
:display inline
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue