You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
217 lines
3.0 KiB
Plaintext
217 lines
3.0 KiB
Plaintext
.chats-list {
|
|
padding: 0;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
border-top: 1px solid @gray-lighter;
|
|
|
|
li {
|
|
position: relative;
|
|
clear: both;
|
|
list-style-type: none;
|
|
padding: 0.5em;
|
|
height: 70px;
|
|
.pointer;
|
|
|
|
border-left: 1px solid;
|
|
border-right: 1px solid;
|
|
border-bottom: 1px solid;
|
|
border-color: @gray-lighter;
|
|
|
|
background: @body-bg;
|
|
|
|
&.typing {
|
|
.username:after {
|
|
visibility: visible;
|
|
}
|
|
}
|
|
|
|
&.unread {
|
|
background: lighten(@brand-primary, 25%);
|
|
}
|
|
|
|
.teaser-content {
|
|
display: block;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
&.bg-primary {
|
|
background: @brand-primary;
|
|
}
|
|
|
|
.username {
|
|
font-size: 18px;
|
|
|
|
&:after {
|
|
display: inline-block;
|
|
font-family: "FontAwesome";
|
|
content: "\f11c";
|
|
margin-left: 0.5em;
|
|
visibility: hidden;
|
|
}
|
|
}
|
|
|
|
.teaser-timestamp {
|
|
font-size: 10px;
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 24px;
|
|
}
|
|
|
|
a {
|
|
display: block;
|
|
.text-ellipsis;
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
height: 20px;
|
|
}
|
|
|
|
.user-img {
|
|
.user-icon-style(50px, 2.4rem, 50%);
|
|
float: left;
|
|
margin-top: 4px;
|
|
margin-right: 13px;
|
|
margin-left: 0.5em;
|
|
}
|
|
|
|
.status {
|
|
position: absolute;
|
|
left: 50px;
|
|
font-size: 20px;
|
|
top: 10px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.expanded-chat, .chat-modal {
|
|
.modal-header {
|
|
padding: 0.25em 1em;
|
|
|
|
h4 {
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
|
|
i {
|
|
font-size: 14px;
|
|
vertical-align: center;
|
|
|
|
&.fa-keyboard-o {
|
|
.animation(topic-reply-pulse 2s ease-in infinite);
|
|
}
|
|
}
|
|
}
|
|
|
|
.close {
|
|
padding: 0.5em;
|
|
}
|
|
}
|
|
|
|
.chat-content {
|
|
.fix-lists;
|
|
height: 250px;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
resize: none;
|
|
word-wrap: break-word;
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
li.chat-message {
|
|
list-style-type: none;
|
|
font-weight: 300;
|
|
padding: 0 1.428rem;
|
|
margin-right: 1.428rem;
|
|
|
|
&:first-child {
|
|
padding-top: 1.428rem;
|
|
}
|
|
|
|
&:last-child {
|
|
padding-bottom: 1.428rem;
|
|
}
|
|
|
|
&[data-break="true"] {
|
|
padding-top: 1rem;
|
|
margin-top: 1rem;
|
|
border-top: 1px solid @gray-lighter;
|
|
}
|
|
|
|
.chat-user-image {
|
|
.user-icon-style(32px, 1.6rem, 50%);
|
|
float: left;
|
|
}
|
|
|
|
.chat-user {
|
|
display: inline-block;
|
|
margin-left: 13px;
|
|
}
|
|
|
|
.chat-timestamp {
|
|
color: @gray-light;
|
|
font-size: 1rem;
|
|
display: inline-block;
|
|
margin-left: 10px;
|
|
.user-select(none);
|
|
}
|
|
|
|
.message-body {
|
|
margin-left: 45px;
|
|
|
|
p {
|
|
margin: 7px 0 0 0;
|
|
line-height: 2rem;
|
|
}
|
|
}
|
|
|
|
&[data-self="0"] + [data-self="0"], &[data-self="1"] + [data-self="1"] {
|
|
&[data-break="false"] {
|
|
.message-header {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.chat-input {
|
|
height: 42px;
|
|
}
|
|
|
|
.user-typing {
|
|
color: @gray-light;
|
|
margin: 1.428rem 0;
|
|
}
|
|
|
|
.selected[data-since] {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.modal-dialog {
|
|
margin: 0 auto;
|
|
}
|
|
|
|
textarea {
|
|
resize: none;
|
|
}
|
|
}
|
|
|
|
.expanded-chat {
|
|
h1 {
|
|
margin: 0px;
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
.chat-content {
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.input-group {
|
|
z-index: 1;
|
|
}
|
|
} |