|
|
|
@ -135,6 +135,7 @@
@@ -135,6 +135,7 @@
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chat { |
|
|
|
|
// scss-lint:disable NestingDepth |
|
|
|
|
background: $chat-background; |
|
|
|
|
bottom: 0; |
|
|
|
|
display: none; |
|
|
|
@ -143,450 +144,448 @@
@@ -143,450 +144,448 @@
|
|
|
|
|
position: absolute; |
|
|
|
|
right: 0; |
|
|
|
|
top: 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chat { |
|
|
|
|
&.active { |
|
|
|
|
&.visible { |
|
|
|
|
display: block; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chatbody { |
|
|
|
|
// nothing |
|
|
|
|
&.newmessage { |
|
|
|
|
.chatheadertitle:after { |
|
|
|
|
content: '***'; |
|
|
|
|
position: absolute; |
|
|
|
|
right: 32px; |
|
|
|
|
top: 2px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chatheader { |
|
|
|
|
// nothing |
|
|
|
|
animation: newmessage 1s ease -.3s infinite; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chatmenu { |
|
|
|
|
height: 36px; |
|
|
|
|
left: 0; |
|
|
|
|
padding: 2px 4px; |
|
|
|
|
position: absolute; |
|
|
|
|
right: 0; |
|
|
|
|
top: 36px; |
|
|
|
|
|
|
|
|
|
@include breakpt($breakpoint-chat-small, max-height) { |
|
|
|
|
display: none; |
|
|
|
|
&.active.visible { |
|
|
|
|
display: block; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chatbody { |
|
|
|
|
border-left: 1px solid $bordercolor; |
|
|
|
|
bottom: -1px; |
|
|
|
|
left: 0; |
|
|
|
|
position: absolute; |
|
|
|
|
right: 0; |
|
|
|
|
top: 74px; |
|
|
|
|
|
|
|
|
|
@include breakpt($breakpoint-chat-small, max-height) { |
|
|
|
|
border-top: 1px solid $bordercolor; |
|
|
|
|
top: 0; |
|
|
|
|
top: 0; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
&.with_pictures .message { |
|
|
|
|
&.is_self { |
|
|
|
|
padding-right: 54px; |
|
|
|
|
|
|
|
|
|
.chatheader { |
|
|
|
|
background: $chat-header; |
|
|
|
|
border-bottom: 1px solid $bordercolor; |
|
|
|
|
border-left: 1px solid $bordercolor; |
|
|
|
|
height: 36px; |
|
|
|
|
left: 0; |
|
|
|
|
line-height: 34px; |
|
|
|
|
padding: 0 4px 0 8px; |
|
|
|
|
position: absolute; |
|
|
|
|
right: 0; |
|
|
|
|
top: 0; |
|
|
|
|
.timestamp { |
|
|
|
|
right: 58px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@include breakpt($breakpoint-chat-small, max-height) { |
|
|
|
|
display: none; |
|
|
|
|
&.is_remote { |
|
|
|
|
padding-left: 58px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chatstatusicon { |
|
|
|
|
cursor: pointer; |
|
|
|
|
display: block; |
|
|
|
|
font-size: 1.4em; |
|
|
|
|
height: 36px; |
|
|
|
|
.chatbodybottom { |
|
|
|
|
background: $chat-bottom-background; |
|
|
|
|
bottom: 1px; |
|
|
|
|
left: 0; |
|
|
|
|
margin: 0 auto; |
|
|
|
|
position: absolute; |
|
|
|
|
text-align: center; |
|
|
|
|
top: 0; |
|
|
|
|
width: 36px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chatheadertitle { |
|
|
|
|
display: inline; |
|
|
|
|
padding-left: 28px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.ctrl { |
|
|
|
|
color: $chat-ctrl; |
|
|
|
|
position: absolute; |
|
|
|
|
right: 1px; |
|
|
|
|
top: 0; |
|
|
|
|
right: 0; |
|
|
|
|
|
|
|
|
|
.#{$fa-css-prefix} { |
|
|
|
|
cursor: pointer; |
|
|
|
|
padding: 6px; |
|
|
|
|
@include breakpt($breakpoint-chat-small, max-height) { |
|
|
|
|
height: auto; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
span { |
|
|
|
|
display: inline-block; |
|
|
|
|
max-width: 60%; |
|
|
|
|
.typinghint { |
|
|
|
|
color: $chat-typing; |
|
|
|
|
font-size: .8em; |
|
|
|
|
height: 14px; |
|
|
|
|
overflow: hidden; |
|
|
|
|
pointer-events: none; |
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
vertical-align: middle; |
|
|
|
|
padding: 0 6px; |
|
|
|
|
white-space: nowrap; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chat .outputbox { |
|
|
|
|
bottom: 75px; |
|
|
|
|
left: 0; |
|
|
|
|
position: absolute; |
|
|
|
|
right: 0; |
|
|
|
|
top: 0; |
|
|
|
|
|
|
|
|
|
@include breakpt($breakpoint-chat-small, max-height) { |
|
|
|
|
bottom: 45px; |
|
|
|
|
@include breakpt($breakpoint-chat-small, max-height) { |
|
|
|
|
display: none; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chat .output { |
|
|
|
|
height: 100%; |
|
|
|
|
overflow-x: hidden; |
|
|
|
|
overflow-y: auto; |
|
|
|
|
padding: .4em 0; |
|
|
|
|
|
|
|
|
|
> i { |
|
|
|
|
clear: both; |
|
|
|
|
color: $chat-meta; |
|
|
|
|
display: block; |
|
|
|
|
font-size: .8em; |
|
|
|
|
padding: 6px 0; |
|
|
|
|
text-align: center; |
|
|
|
|
.inputbox { |
|
|
|
|
position: relative; |
|
|
|
|
|
|
|
|
|
&.p2p { |
|
|
|
|
font-weight: bold; |
|
|
|
|
padding: 6px 0; |
|
|
|
|
@include breakpt($breakpoint-chat-small, max-height) { |
|
|
|
|
height: auto; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chat.with_pictures .message { |
|
|
|
|
&.is_self { |
|
|
|
|
padding-right: 54px; |
|
|
|
|
|
|
|
|
|
.timestamp { |
|
|
|
|
right: 58px; |
|
|
|
|
.btn { |
|
|
|
|
display: none; |
|
|
|
|
padding: .5em 1em; |
|
|
|
|
position: absolute; |
|
|
|
|
right: 6px; |
|
|
|
|
top: 1px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.is_remote { |
|
|
|
|
padding-left: 58px; |
|
|
|
|
> div { |
|
|
|
|
border-top: 1px solid $bordercolor; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chat .message { |
|
|
|
|
background: $chat-msg-background; |
|
|
|
|
border: 1px solid $chat-msg-border; |
|
|
|
|
border-radius: 6px; |
|
|
|
|
box-shadow: 0 0 2px 0 $chat-msg-shadow; |
|
|
|
|
clear: both; |
|
|
|
|
display: block; |
|
|
|
|
margin: 0 4px 2px 18px; |
|
|
|
|
padding: 8px; |
|
|
|
|
position: relative; |
|
|
|
|
word-wrap: break-word; |
|
|
|
|
|
|
|
|
|
ul { |
|
|
|
|
list-style-type: none; |
|
|
|
|
.input { |
|
|
|
|
border-color: transparent; |
|
|
|
|
border-radius: 0; |
|
|
|
|
box-shadow: none; |
|
|
|
|
display: block; |
|
|
|
|
height: 54px; |
|
|
|
|
margin: 0; |
|
|
|
|
padding-left: 0; |
|
|
|
|
} |
|
|
|
|
max-height: 54px; /* FF hack */ |
|
|
|
|
resize: none; |
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
|
|
li { |
|
|
|
|
line-height: 1.1em; |
|
|
|
|
margin: 4px 0; |
|
|
|
|
padding-left: 1.2em; |
|
|
|
|
position: relative; |
|
|
|
|
@include breakpt($breakpoint-chat-small, max-height) { |
|
|
|
|
max-height: 2.5em; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&:before { |
|
|
|
|
color: $chat-msg-default-icon-color; |
|
|
|
|
content: '\f075'; |
|
|
|
|
font-family: FontAwesome; |
|
|
|
|
left: 0; |
|
|
|
|
position: absolute; |
|
|
|
|
text-align: center; |
|
|
|
|
width: 12px; |
|
|
|
|
&:active, |
|
|
|
|
&:focus { |
|
|
|
|
border-color: $chat-input-border-color; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.timestamp { |
|
|
|
|
color: $chat-timestamp; |
|
|
|
|
font-size: .8em; |
|
|
|
|
.outputbox { |
|
|
|
|
bottom: 75px; |
|
|
|
|
left: 0; |
|
|
|
|
position: absolute; |
|
|
|
|
right: 8px; |
|
|
|
|
text-align: right; |
|
|
|
|
top: 8px; |
|
|
|
|
} |
|
|
|
|
right: 0; |
|
|
|
|
top: 0; |
|
|
|
|
|
|
|
|
|
.timestamp-space { |
|
|
|
|
float: right; |
|
|
|
|
height: 10px; |
|
|
|
|
width: 40px; |
|
|
|
|
@include breakpt($breakpoint-chat-small, max-height) { |
|
|
|
|
bottom: 45px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
strong { |
|
|
|
|
display: block; |
|
|
|
|
margin-right: 40px; |
|
|
|
|
overflow: hidden; |
|
|
|
|
padding-bottom: 2px; |
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
white-space: nowrap; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.output { |
|
|
|
|
height: 100%; |
|
|
|
|
overflow-x: hidden; |
|
|
|
|
overflow-y: auto; |
|
|
|
|
padding: .4em 0; |
|
|
|
|
|
|
|
|
|
.chat .message { |
|
|
|
|
&.is_self li:before { |
|
|
|
|
color: $chat-msg-default-icon-color; |
|
|
|
|
transform: scale(-1, 1); |
|
|
|
|
} |
|
|
|
|
> i { |
|
|
|
|
clear: both; |
|
|
|
|
color: $chat-meta; |
|
|
|
|
display: block; |
|
|
|
|
font-size: .8em; |
|
|
|
|
padding: 6px 0; |
|
|
|
|
text-align: center; |
|
|
|
|
|
|
|
|
|
li { |
|
|
|
|
&.unread:before { |
|
|
|
|
color: $chat-msg-unread-icon-color; |
|
|
|
|
content: $chat-msg-unread-icon; |
|
|
|
|
&.p2p { |
|
|
|
|
font-weight: bold; |
|
|
|
|
padding: 6px 0; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.message { |
|
|
|
|
// scss-lint:disable DuplicateProperty |
|
|
|
|
background: $chat-msg-background; |
|
|
|
|
border: 1px solid $chat-msg-border; |
|
|
|
|
border-radius: 6px; |
|
|
|
|
box-shadow: 0 0 2px 0 $chat-msg-shadow; |
|
|
|
|
clear: both; |
|
|
|
|
display: block; |
|
|
|
|
margin: 0 4px 2px 18px; |
|
|
|
|
padding: 8px; |
|
|
|
|
position: relative; |
|
|
|
|
word-wrap: break-word; |
|
|
|
|
|
|
|
|
|
&.sending:before { |
|
|
|
|
color: $chat-msg-sending-icon-color; |
|
|
|
|
content: $chat-msg-sending-icon; |
|
|
|
|
ul { |
|
|
|
|
list-style-type: none; |
|
|
|
|
margin: 0; |
|
|
|
|
padding-left: 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.sent:before { |
|
|
|
|
color: $chat-msg-sent-icon-color; |
|
|
|
|
content: $chat-msg-sent-icon; |
|
|
|
|
.timestamp { |
|
|
|
|
color: $chat-timestamp; |
|
|
|
|
font-size: .8em; |
|
|
|
|
position: absolute; |
|
|
|
|
right: 8px; |
|
|
|
|
text-align: right; |
|
|
|
|
top: 8px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.delivered:before { |
|
|
|
|
color: $chat-msg-delivered-icon-color; |
|
|
|
|
content: $chat-msg-delivered-icon; |
|
|
|
|
.timestamp-space { |
|
|
|
|
float: right; |
|
|
|
|
height: 10px; |
|
|
|
|
width: 40px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.received:before { |
|
|
|
|
color: $chat-msg-received-icon-color; |
|
|
|
|
content: $chat-msg-received-icon; |
|
|
|
|
strong { |
|
|
|
|
display: block; |
|
|
|
|
margin-right: 40px; |
|
|
|
|
overflow: hidden; |
|
|
|
|
padding-bottom: 2px; |
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
white-space: nowrap; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.read:before { |
|
|
|
|
color: $chat-msg-read-icon-color; |
|
|
|
|
content: $chat-msg-read-icon; |
|
|
|
|
li { |
|
|
|
|
line-height: 1.1em; |
|
|
|
|
margin: 4px 0; |
|
|
|
|
padding-left: 1.2em; |
|
|
|
|
position: relative; |
|
|
|
|
|
|
|
|
|
&:before { |
|
|
|
|
color: $chat-msg-default-icon-color; |
|
|
|
|
content: '\f075'; |
|
|
|
|
font-family: FontAwesome; |
|
|
|
|
left: 0; |
|
|
|
|
position: absolute; |
|
|
|
|
text-align: center; |
|
|
|
|
width: 12px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.unread:before { |
|
|
|
|
color: $chat-msg-unread-icon-color; |
|
|
|
|
content: $chat-msg-unread-icon; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.sending:before { |
|
|
|
|
color: $chat-msg-sending-icon-color; |
|
|
|
|
content: $chat-msg-sending-icon; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.sent:before { |
|
|
|
|
color: $chat-msg-sent-icon-color; |
|
|
|
|
content: $chat-msg-sent-icon; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.delivered:before { |
|
|
|
|
color: $chat-msg-delivered-icon-color; |
|
|
|
|
content: $chat-msg-delivered-icon; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.received:before { |
|
|
|
|
color: $chat-msg-received-icon-color; |
|
|
|
|
content: $chat-msg-received-icon; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.read:before { |
|
|
|
|
color: $chat-msg-read-icon-color; |
|
|
|
|
content: $chat-msg-read-icon; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chat .message { |
|
|
|
|
&.is_self .buddyPicture { |
|
|
|
|
left: auto; |
|
|
|
|
right: 4px; |
|
|
|
|
} |
|
|
|
|
.buddyPicture { |
|
|
|
|
background: $actioncolor1; |
|
|
|
|
border-radius: 2px; |
|
|
|
|
height: 46px; |
|
|
|
|
left: 4px; |
|
|
|
|
overflow: hidden; |
|
|
|
|
position: absolute; |
|
|
|
|
text-align: center; |
|
|
|
|
top: 4px; |
|
|
|
|
width: 46px; |
|
|
|
|
z-index: 0; |
|
|
|
|
|
|
|
|
|
.buddyPicture { |
|
|
|
|
background: $actioncolor1; |
|
|
|
|
border-radius: 2px; |
|
|
|
|
height: 46px; |
|
|
|
|
left: 4px; |
|
|
|
|
overflow: hidden; |
|
|
|
|
position: absolute; |
|
|
|
|
text-align: center; |
|
|
|
|
top: 4px; |
|
|
|
|
width: 46px; |
|
|
|
|
z-index: 0; |
|
|
|
|
.#{$fa-css-prefix} { |
|
|
|
|
color: $actioncolor2; |
|
|
|
|
line-height: 46px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.#{$fa-css-prefix} { |
|
|
|
|
color: $actioncolor2; |
|
|
|
|
line-height: 46px; |
|
|
|
|
img { |
|
|
|
|
bottom: 0; |
|
|
|
|
display: block; |
|
|
|
|
left: 0; |
|
|
|
|
max-height: 100%; |
|
|
|
|
max-width: 100%; |
|
|
|
|
position: absolute; |
|
|
|
|
right: 0; |
|
|
|
|
top: 0; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
img { |
|
|
|
|
bottom: 0; |
|
|
|
|
&:before, |
|
|
|
|
&:after { |
|
|
|
|
border-style: solid; |
|
|
|
|
content: ''; |
|
|
|
|
display: block; |
|
|
|
|
left: 0; |
|
|
|
|
max-height: 100%; |
|
|
|
|
max-width: 100%; |
|
|
|
|
position: absolute; |
|
|
|
|
right: 0; |
|
|
|
|
top: 0; |
|
|
|
|
width: 0; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chat .message { |
|
|
|
|
// scss-lint:disable DuplicateProperty |
|
|
|
|
&:before, |
|
|
|
|
&:after { |
|
|
|
|
border-style: solid; |
|
|
|
|
content: ''; |
|
|
|
|
display: block; |
|
|
|
|
position: absolute; |
|
|
|
|
width: 0; |
|
|
|
|
} |
|
|
|
|
&.is_remote { |
|
|
|
|
background: $chat-msg-remote-background; |
|
|
|
|
|
|
|
|
|
&.is_remote { |
|
|
|
|
background: $chat-msg-remote-background; |
|
|
|
|
&:before { // arrow border |
|
|
|
|
border-color: transparent $chat-arrow-border; |
|
|
|
|
border-width: 7px 11px 7px 0; |
|
|
|
|
bottom: auto; |
|
|
|
|
left: -12px; |
|
|
|
|
top: 4px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&:before { // arrow border |
|
|
|
|
border-color: transparent $chat-arrow-border; |
|
|
|
|
border-width: 7px 11px 7px 0; |
|
|
|
|
bottom: auto; |
|
|
|
|
left: -12px; |
|
|
|
|
top: 4px; |
|
|
|
|
&:after { // arrow background |
|
|
|
|
border-color: transparent $chat-msg-remote-background; |
|
|
|
|
border-width: 6px 10px 6px 0; |
|
|
|
|
bottom: auto; |
|
|
|
|
left: -11px; |
|
|
|
|
top: 5px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&:after { // arrow background |
|
|
|
|
border-color: transparent $chat-msg-remote-background; |
|
|
|
|
border-width: 6px 10px 6px 0; |
|
|
|
|
bottom: auto; |
|
|
|
|
left: -11px; |
|
|
|
|
top: 5px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
&.is_self { |
|
|
|
|
background: $chat-msg-self-background; |
|
|
|
|
margin-left: 4px; |
|
|
|
|
margin-right: 18px; |
|
|
|
|
padding-right: 0; |
|
|
|
|
|
|
|
|
|
&.is_self { |
|
|
|
|
background: $chat-msg-self-background; |
|
|
|
|
margin-left: 4px; |
|
|
|
|
margin-right: 18px; |
|
|
|
|
padding-right: 0; |
|
|
|
|
|
|
|
|
|
&:before { // arrow border |
|
|
|
|
border-color: transparent $chat-arrow-border; |
|
|
|
|
border-width: 7px 0 7px 11px; |
|
|
|
|
bottom: 4px; |
|
|
|
|
bottom: auto; |
|
|
|
|
right: -12px; |
|
|
|
|
} |
|
|
|
|
&:before { // arrow border |
|
|
|
|
border-color: transparent $chat-arrow-border; |
|
|
|
|
border-width: 7px 0 7px 11px; |
|
|
|
|
bottom: 4px; |
|
|
|
|
bottom: auto; |
|
|
|
|
right: -12px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&:after { // arrow background |
|
|
|
|
border-color: transparent $chat-msg-self-background; |
|
|
|
|
border-width: 6px 0 6px 10px; |
|
|
|
|
bottom: 5px; |
|
|
|
|
bottom: auto; |
|
|
|
|
right: -11px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
&:after { // arrow background |
|
|
|
|
border-color: transparent $chat-msg-self-background; |
|
|
|
|
border-width: 6px 0 6px 10px; |
|
|
|
|
bottom: 5px; |
|
|
|
|
bottom: auto; |
|
|
|
|
right: -11px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.with_name { |
|
|
|
|
// none |
|
|
|
|
} |
|
|
|
|
&.with_hoverimage { |
|
|
|
|
.buddyPicture { |
|
|
|
|
overflow: visible; |
|
|
|
|
z-index: initial; |
|
|
|
|
&:hover .buddyInfoActions { |
|
|
|
|
height: 40px; |
|
|
|
|
opacity: 1; |
|
|
|
|
li:before { |
|
|
|
|
color: $chat-msg-default-icon-color; |
|
|
|
|
transform: scale(-1, 1); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.buddyInfoActions { |
|
|
|
|
cursor: default; |
|
|
|
|
display: inline-block; |
|
|
|
|
height: 0; |
|
|
|
|
left: 0; |
|
|
|
|
opacity: 0; |
|
|
|
|
overflow: hidden; |
|
|
|
|
position: absolute; |
|
|
|
|
top: 48px; |
|
|
|
|
transition: opacity 0.1s .1s linear, height .4s .1s ease-out; |
|
|
|
|
white-space: nowrap; |
|
|
|
|
z-index: 1; |
|
|
|
|
.btn-group { |
|
|
|
|
display: block; |
|
|
|
|
margin: 0 auto; |
|
|
|
|
width: 55px; |
|
|
|
|
|
|
|
|
|
.buddyPicture { |
|
|
|
|
left: auto; |
|
|
|
|
right: 4px; |
|
|
|
|
} |
|
|
|
|
.btn-primary { |
|
|
|
|
padding: 2px 5px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.with_name { |
|
|
|
|
// none |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.with_hoverimage { |
|
|
|
|
|
|
|
|
|
.buddyPicture { |
|
|
|
|
overflow: visible; |
|
|
|
|
z-index: initial; |
|
|
|
|
|
|
|
|
|
&:hover .buddyInfoActions { |
|
|
|
|
height: 40px; |
|
|
|
|
opacity: 1; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.fa { |
|
|
|
|
color: #fff; |
|
|
|
|
line-height: 24px; |
|
|
|
|
|
|
|
|
|
.buddyInfoActions { |
|
|
|
|
cursor: default; |
|
|
|
|
display: inline-block; |
|
|
|
|
height: 0; |
|
|
|
|
left: 0; |
|
|
|
|
opacity: 0; |
|
|
|
|
overflow: hidden; |
|
|
|
|
position: absolute; |
|
|
|
|
top: 48px; |
|
|
|
|
transition: opacity 0.1s .1s linear, height .4s .1s ease-out; |
|
|
|
|
white-space: nowrap; |
|
|
|
|
z-index: 1; |
|
|
|
|
|
|
|
|
|
.btn-group { |
|
|
|
|
display: block; |
|
|
|
|
margin: 0 auto; |
|
|
|
|
width: 55px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.btn-primary { |
|
|
|
|
padding: 2px 5px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.fa { |
|
|
|
|
color: #fff; |
|
|
|
|
line-height: 24px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chat { |
|
|
|
|
.chatbodybottom { |
|
|
|
|
background: $chat-bottom-background; |
|
|
|
|
bottom: 1px; |
|
|
|
|
left: 0; |
|
|
|
|
margin: 0 auto; |
|
|
|
|
position: absolute; |
|
|
|
|
right: 0; |
|
|
|
|
.chatmenu { |
|
|
|
|
height: 36px; |
|
|
|
|
left: 0; |
|
|
|
|
padding: 2px 4px; |
|
|
|
|
position: absolute; |
|
|
|
|
right: 0; |
|
|
|
|
top: 36px; |
|
|
|
|
|
|
|
|
|
@include breakpt($breakpoint-chat-small, max-height) { |
|
|
|
|
height: auto; |
|
|
|
|
} |
|
|
|
|
@include breakpt($breakpoint-chat-small, max-height) { |
|
|
|
|
display: none; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.typinghint { |
|
|
|
|
color: $chat-typing; |
|
|
|
|
font-size: .8em; |
|
|
|
|
height: 14px; |
|
|
|
|
overflow: hidden; |
|
|
|
|
padding: 0 6px; |
|
|
|
|
white-space: nowrap; |
|
|
|
|
.chatbody { |
|
|
|
|
border-left: 1px solid $bordercolor; |
|
|
|
|
bottom: -1px; |
|
|
|
|
left: 0; |
|
|
|
|
position: absolute; |
|
|
|
|
right: 0; |
|
|
|
|
top: 74px; |
|
|
|
|
|
|
|
|
|
@include breakpt($breakpoint-chat-small, max-height) { |
|
|
|
|
display: none; |
|
|
|
|
} |
|
|
|
|
@include breakpt($breakpoint-chat-small, max-height) { |
|
|
|
|
border-top: 1px solid $bordercolor; |
|
|
|
|
top: 0; |
|
|
|
|
top: 0; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.inputbox { |
|
|
|
|
position: relative; |
|
|
|
|
.chatheader { |
|
|
|
|
background: $chat-header; |
|
|
|
|
border-bottom: 1px solid $bordercolor; |
|
|
|
|
border-left: 1px solid $bordercolor; |
|
|
|
|
height: 36px; |
|
|
|
|
left: 0; |
|
|
|
|
line-height: 34px; |
|
|
|
|
padding: 0 4px 0 8px; |
|
|
|
|
position: absolute; |
|
|
|
|
right: 0; |
|
|
|
|
top: 0; |
|
|
|
|
|
|
|
|
|
@include breakpt($breakpoint-chat-small, max-height) { |
|
|
|
|
height: auto; |
|
|
|
|
} |
|
|
|
|
@include breakpt($breakpoint-chat-small, max-height) { |
|
|
|
|
display: none; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.btn { |
|
|
|
|
display: none; |
|
|
|
|
padding: .5em 1em; |
|
|
|
|
position: absolute; |
|
|
|
|
right: 6px; |
|
|
|
|
top: 1px; |
|
|
|
|
} |
|
|
|
|
.chatstatusicon { |
|
|
|
|
cursor: pointer; |
|
|
|
|
display: block; |
|
|
|
|
font-size: 1.4em; |
|
|
|
|
height: 36px; |
|
|
|
|
left: 0; |
|
|
|
|
position: absolute; |
|
|
|
|
text-align: center; |
|
|
|
|
top: 0; |
|
|
|
|
width: 36px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
> div { |
|
|
|
|
border-top: 1px solid $bordercolor; |
|
|
|
|
} |
|
|
|
|
.chatheadertitle { |
|
|
|
|
display: inline; |
|
|
|
|
padding-left: 28px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.input { |
|
|
|
|
border-color: transparent; |
|
|
|
|
border-radius: 0; |
|
|
|
|
box-shadow: none; |
|
|
|
|
display: block; |
|
|
|
|
height: 54px; |
|
|
|
|
margin: 0; |
|
|
|
|
max-height: 54px; /* FF hack */ |
|
|
|
|
resize: none; |
|
|
|
|
width: 100%; |
|
|
|
|
.ctrl { |
|
|
|
|
color: $chat-ctrl; |
|
|
|
|
position: absolute; |
|
|
|
|
right: 1px; |
|
|
|
|
top: 0; |
|
|
|
|
|
|
|
|
|
@include breakpt($breakpoint-chat-small, max-height) { |
|
|
|
|
max-height: 2.5em; |
|
|
|
|
.#{$fa-css-prefix} { |
|
|
|
|
cursor: pointer; |
|
|
|
|
padding: 6px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&:active, |
|
|
|
|
&:focus { |
|
|
|
|
border-color: $chat-input-border-color; |
|
|
|
|
} |
|
|
|
|
span { |
|
|
|
|
display: inline-block; |
|
|
|
|
max-width: 60%; |
|
|
|
|
overflow: hidden; |
|
|
|
|
pointer-events: none; |
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
vertical-align: middle; |
|
|
|
|
white-space: nowrap; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -595,16 +594,3 @@
@@ -595,16 +594,3 @@
|
|
|
|
|
50% {background-color: $componentbg;} |
|
|
|
|
100% {background-color: $actioncolor1;} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chat.newmessage { |
|
|
|
|
.chatheadertitle:after { |
|
|
|
|
content: '***'; |
|
|
|
|
position: absolute; |
|
|
|
|
right: 32px; |
|
|
|
|
top: 2px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chatheader { |
|
|
|
|
animation: newmessage 1s ease -.3s infinite; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|