upd: css.container (now author up from message: outside ; self messages not in color, white as other messages)

This commit is contained in:
xdrm-brackets 2017-12-05 23:07:42 +01:00
parent b7c307a852
commit 8c919acc4b
1 changed files with 7 additions and 18 deletions

View File

@ -14,7 +14,7 @@
left: 0; left: 0;
height: auto; height: auto;
margin: 1em; margin: 1.5em;
padding: 1em; padding: 1em;
align-self: flex-start; align-self: flex-start;
@ -27,7 +27,7 @@
} }
#CONTAINER.message div.me{ /* Message Item (self) */ #CONTAINER.message div.me{ /* Message Item (self) */
background: #13d89d; /* background: #13d89d; */
align-self: flex-end; align-self: flex-end;
} }
@ -37,25 +37,14 @@
} }
#CONTAINER.message div span.author{ /* Message author */ #CONTAINER.message div span.author{ /* Message author */
display: inline-block; display: block;
position: relative; position: absolute;
top: -1.8em;
padding: .2em .4em; left: .5em;
margin-right: 1em;
border: 1px solid #ddd;
border-radius: 3px;
background: #eee; background: #eee;
color: #666; color: #888;
}
#CONTAINER.message div span.author:after{ /* Add 'dit' */
content: ' dit';
color: #333;
} }
#CONTAINER.message div.me span.author{ /* Hide message author if self */ #CONTAINER.message div.me span.author{ /* Hide message author if self */