1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-12 10:26:31 +00:00

Merge pull request #135 from stefan-niedermann/master

Style messages more modern
This commit is contained in:
Ner'zhul 2016-12-15 14:01:05 +01:00 committed by GitHub
commit 54f2c185fe

View File

@ -142,26 +142,23 @@
} }
.msg-sent, .msg-recv { .msg-sent, .msg-recv {
border-radius: 12px; border: 1px solid #ccc;
border-left-width: 4px;
border-radius: 2px;
margin: 4px; margin: 4px;
max-width: 50%; max-width: 50%;
padding: 8px; padding: 8px;
box-shadow: 1px 1px 1px #CCC; box-shadow: 0px 1px 2px 0px #0000004d;
-moz-box-shadow: 1px 1px 1px #CCC;
-webkit-box-shadow: 1px 1px 1px #CCC;
-ms-box-shadow: 1px 1px 1px #CCC;
-o-box-shadow: 1px 1px 1px #CCC;
} }
.msg-sent { .msg-sent {
border: 1px solid #bbb; border-color: #a0ce89;
background: #a5fb7a; background: #e0ffd1;
float: right; float: right;
} }
.msg-recv { .msg-recv {
border: 1px solid #bbb; background: #f5f5f5;
background: #e8e8e8;
float: left; float: left;
} }