Files
im_webapp/css/base.css
T

119 lines
1.9 KiB
CSS

.avatar {
width: 32pt;
height: auto;
}
.navbar {
margin-bottom: 0.2em;
}
.navbar .avatar {
margin-left: 4pt;
margin-right: 4pt;
margin-top: 8pt;
}
.label-as-badge {
border-radius: 1em;
}
.contactList {
padding: 0.5em;
}
.contactList li {
padding: 0.5em;
}
.contactList li:hover {
background-color: #EEE;
}
.chatBox {
list-style: none;
padding: 1.5em 0 1.5em;
position: relative;
}
.chatBox > li {
margin-bottom: 1em;
position: relative;
}
.chatBox > li:before,
.chatBox > li:after {
content: " ";
display: table;
}
.chatBox > li:after {
clear: both;
}
.chatBox > li > .chatBox-panel {
max-width: 90%;
float: right;
background-color: #EFE;
border: 1px solid #CCC;
border-radius: 2px;
padding: 1em;
position: relative;
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
}
.chatBox > li > .chatBox-panel:before {
position: absolute;
top: 9px;
right: -12px;
display: inline-block;
border-top: 12px solid transparent;
border-left: 12px solid #CCC;
border-right: 0px solid #CCC;
border-bottom: 12px solid transparent;
content: " ";
}
.chatBox > li > .chatBox-panel:after {
position: absolute;
top: 10px;
right: -11px;
display: inline-block;
border-top: 11px solid transparent;
border-left: 11px solid #EFE;
border-right: 0 solid #EEF;
border-bottom: 11px solid transparent;
content: " ";
}
.chatBox > li.chatBox-inverted > .chatBox-panel {
background-color: #EEF;
float: left;
}
.chatBox > li.chatBox-inverted > .chatBox-panel:before {
border-left-width: 0;
border-right-width: 12px;
left: -12px;
right: auto;
}
.chatBox > li.chatBox-inverted > .chatBox-panel:after {
border-left-width: 0;
border-right-width: 11px;
left: -11px;
right: auto;
}
.chatBox .timestamp {
padding-left: 3em;
}
.chatBox-body > p,
.chatBox-body > ul {
margin-bottom: 0;
}
.chatBox-body > p + p {
margin-top: 0.5em;
}