31:d0248d45562f
Anton Shestakov <av6@dwimlabs.net>, Mon, 21 Mar 2016 23:01:44 +0800
contacts: add avatars and fallback option (background color from hashed jid)

next change 32:ccf41c7443de
previous change 27:f59d389adcc4

css/tram-im.css

Permissions: -rw-r--r--

Other formats: Feeds:
.smart-container {
margin: 100px auto 0 auto;
max-width: 500px;
}
@media (min-width: 960px) {
.smart-container .uk-form-horizontal .uk-form-label {
width: 100px;
text-align: right;
}
.smart-container .uk-form-horizontal .uk-form-controls {
margin-left: 115px;
}
}
.log {
height: 300px;
overflow: auto;
margin-top: 15px;
margin-bottom: 15px;
}
.splitter {
border-top: 1px solid lightgray;
margin: 10px 0;
}
.message .info {
color: teal;
}
.column {
display: table-cell;
vertical-align: middle;
}
.message > .column {
vertical-align: top;
}
.avatar-column {
position: relative;
}
.avatar-column .vignette {
border-radius: 50%;
overflow: hidden;
margin-right: 8px;
height: 48px;
width: 48px;
line-height: 48px;
}
.avatar-column.uk-invisible .vignette {
max-height: 1px;
}
.avatar {
max-height: 48px;
max-width: 48px;
}
div.avatar {
height: 48px;
width: 48px;
text-align: center;
font-size: 32px;
font-weight: 700;
}
.status-pip {
position: absolute;
right: 8px;
bottom: 0;
border-radius: 50%;
width: 11px;
height: 11px;
}
.contact-list {
margin-top: 15px;
}
li.contact {
padding: 5px;
}
li.contact > .column {
vertical-align: middle;
}