|
|
|
@ -135,6 +135,7 @@
@@ -135,6 +135,7 @@
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chat { |
|
|
|
|
// scss-lint:disable NestingDepth |
|
|
|
|
background: $chat-background; |
|
|
|
|
bottom: 0; |
|
|
|
|
display: none; |
|
|
|
@ -143,109 +144,106 @@
@@ -143,109 +144,106 @@
|
|
|
|
|
position: absolute; |
|
|
|
|
right: 0; |
|
|
|
|
top: 0; |
|
|
|
|
|
|
|
|
|
&.newmessage { |
|
|
|
|
.chatheadertitle:after { |
|
|
|
|
content: '***'; |
|
|
|
|
position: absolute; |
|
|
|
|
right: 32px; |
|
|
|
|
top: 2px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chat { |
|
|
|
|
&.active { |
|
|
|
|
&.visible { |
|
|
|
|
display: block; |
|
|
|
|
.chatheader { |
|
|
|
|
animation: newmessage 1s ease -.3s infinite; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chatbody { |
|
|
|
|
// nothing |
|
|
|
|
&.active.visible { |
|
|
|
|
display: block; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chatheader { |
|
|
|
|
// nothing |
|
|
|
|
&.with_pictures .message { |
|
|
|
|
&.is_self { |
|
|
|
|
padding-right: 54px; |
|
|
|
|
|
|
|
|
|
.timestamp { |
|
|
|
|
right: 58px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.is_remote { |
|
|
|
|
padding-left: 58px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chatmenu { |
|
|
|
|
height: 36px; |
|
|
|
|
.chatbodybottom { |
|
|
|
|
background: $chat-bottom-background; |
|
|
|
|
bottom: 1px; |
|
|
|
|
left: 0; |
|
|
|
|
padding: 2px 4px; |
|
|
|
|
margin: 0 auto; |
|
|
|
|
position: absolute; |
|
|
|
|
right: 0; |
|
|
|
|
top: 36px; |
|
|
|
|
|
|
|
|
|
@include breakpt($breakpoint-chat-small, max-height) { |
|
|
|
|
display: none; |
|
|
|
|
height: auto; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chatbody { |
|
|
|
|
border-left: 1px solid $bordercolor; |
|
|
|
|
bottom: -1px; |
|
|
|
|
left: 0; |
|
|
|
|
position: absolute; |
|
|
|
|
right: 0; |
|
|
|
|
top: 74px; |
|
|
|
|
.typinghint { |
|
|
|
|
color: $chat-typing; |
|
|
|
|
font-size: .8em; |
|
|
|
|
height: 14px; |
|
|
|
|
overflow: hidden; |
|
|
|
|
padding: 0 6px; |
|
|
|
|
white-space: nowrap; |
|
|
|
|
|
|
|
|
|
@include breakpt($breakpoint-chat-small, max-height) { |
|
|
|
|
border-top: 1px solid $bordercolor; |
|
|
|
|
top: 0; |
|
|
|
|
top: 0; |
|
|
|
|
display: none; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.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; |
|
|
|
|
.inputbox { |
|
|
|
|
position: relative; |
|
|
|
|
|
|
|
|
|
@include breakpt($breakpoint-chat-small, max-height) { |
|
|
|
|
display: none; |
|
|
|
|
height: auto; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chatstatusicon { |
|
|
|
|
cursor: pointer; |
|
|
|
|
display: block; |
|
|
|
|
font-size: 1.4em; |
|
|
|
|
height: 36px; |
|
|
|
|
left: 0; |
|
|
|
|
.btn { |
|
|
|
|
display: none; |
|
|
|
|
padding: .5em 1em; |
|
|
|
|
position: absolute; |
|
|
|
|
text-align: center; |
|
|
|
|
top: 0; |
|
|
|
|
width: 36px; |
|
|
|
|
right: 6px; |
|
|
|
|
top: 1px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chatheadertitle { |
|
|
|
|
display: inline; |
|
|
|
|
padding-left: 28px; |
|
|
|
|
> div { |
|
|
|
|
border-top: 1px solid $bordercolor; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.ctrl { |
|
|
|
|
color: $chat-ctrl; |
|
|
|
|
position: absolute; |
|
|
|
|
right: 1px; |
|
|
|
|
top: 0; |
|
|
|
|
.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%; |
|
|
|
|
|
|
|
|
|
.#{$fa-css-prefix} { |
|
|
|
|
cursor: pointer; |
|
|
|
|
padding: 6px; |
|
|
|
|
} |
|
|
|
|
@include breakpt($breakpoint-chat-small, max-height) { |
|
|
|
|
max-height: 2.5em; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
span { |
|
|
|
|
display: inline-block; |
|
|
|
|
max-width: 60%; |
|
|
|
|
overflow: hidden; |
|
|
|
|
pointer-events: none; |
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
vertical-align: middle; |
|
|
|
|
white-space: nowrap; |
|
|
|
|
&:active, |
|
|
|
|
&:focus { |
|
|
|
|
border-color: $chat-input-border-color; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chat .outputbox { |
|
|
|
|
.outputbox { |
|
|
|
|
bottom: 75px; |
|
|
|
|
left: 0; |
|
|
|
|
position: absolute; |
|
|
|
@ -257,7 +255,7 @@
@@ -257,7 +255,7 @@
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chat .output { |
|
|
|
|
.output { |
|
|
|
|
height: 100%; |
|
|
|
|
overflow-x: hidden; |
|
|
|
|
overflow-y: auto; |
|
|
|
@ -278,21 +276,8 @@
@@ -278,21 +276,8 @@
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chat.with_pictures .message { |
|
|
|
|
&.is_self { |
|
|
|
|
padding-right: 54px; |
|
|
|
|
|
|
|
|
|
.timestamp { |
|
|
|
|
right: 58px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.is_remote { |
|
|
|
|
padding-left: 58px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chat .message { |
|
|
|
|
.message { |
|
|
|
|
// scss-lint:disable DuplicateProperty |
|
|
|
|
background: $chat-msg-background; |
|
|
|
|
border: 1px solid $chat-msg-border; |
|
|
|
|
border-radius: 6px; |
|
|
|
@ -310,23 +295,6 @@
@@ -310,23 +295,6 @@
|
|
|
|
|
padding-left: 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
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; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.timestamp { |
|
|
|
|
color: $chat-timestamp; |
|
|
|
|
font-size: .8em; |
|
|
|
@ -350,15 +318,23 @@
@@ -350,15 +318,23 @@
|
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
white-space: nowrap; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chat .message { |
|
|
|
|
&.is_self li:before { |
|
|
|
|
li { |
|
|
|
|
line-height: 1.1em; |
|
|
|
|
margin: 4px 0; |
|
|
|
|
padding-left: 1.2em; |
|
|
|
|
position: relative; |
|
|
|
|
|
|
|
|
|
&:before { |
|
|
|
|
color: $chat-msg-default-icon-color; |
|
|
|
|
transform: scale(-1, 1); |
|
|
|
|
content: '\f075'; |
|
|
|
|
font-family: FontAwesome; |
|
|
|
|
left: 0; |
|
|
|
|
position: absolute; |
|
|
|
|
text-align: center; |
|
|
|
|
width: 12px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
li { |
|
|
|
|
&.unread:before { |
|
|
|
|
color: $chat-msg-unread-icon-color; |
|
|
|
|
content: $chat-msg-unread-icon; |
|
|
|
@ -389,13 +365,6 @@
@@ -389,13 +365,6 @@
|
|
|
|
|
content: $chat-msg-read-icon; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chat .message { |
|
|
|
|
&.is_self .buddyPicture { |
|
|
|
|
left: auto; |
|
|
|
|
right: 4px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.buddyPicture { |
|
|
|
|
background: $actioncolor1; |
|
|
|
@ -425,10 +394,7 @@
@@ -425,10 +394,7 @@
|
|
|
|
|
top: 0; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chat .message { |
|
|
|
|
// scss-lint:disable DuplicateProperty |
|
|
|
|
&:before, |
|
|
|
|
&:after { |
|
|
|
|
border-style: solid; |
|
|
|
@ -479,20 +445,34 @@
@@ -479,20 +445,34 @@
|
|
|
|
|
bottom: auto; |
|
|
|
|
right: -11px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
li:before { |
|
|
|
|
color: $chat-msg-default-icon-color; |
|
|
|
|
transform: scale(-1, 1); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.buddyPicture { |
|
|
|
|
left: auto; |
|
|
|
|
right: 4px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.with_name { |
|
|
|
|
// none |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.with_hoverimage { |
|
|
|
|
|
|
|
|
|
.buddyPicture { |
|
|
|
|
overflow: visible; |
|
|
|
|
z-index: initial; |
|
|
|
|
|
|
|
|
|
&:hover .buddyInfoActions { |
|
|
|
|
height: 40px; |
|
|
|
|
opacity: 1; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.buddyInfoActions { |
|
|
|
|
cursor: default; |
|
|
|
|
display: inline-block; |
|
|
|
@ -505,14 +485,17 @@
@@ -505,14 +485,17 @@
|
|
|
|
|
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; |
|
|
|
@ -520,73 +503,89 @@
@@ -520,73 +503,89 @@
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chat { |
|
|
|
|
.chatbodybottom { |
|
|
|
|
background: $chat-bottom-background; |
|
|
|
|
bottom: 1px; |
|
|
|
|
.chatmenu { |
|
|
|
|
height: 36px; |
|
|
|
|
left: 0; |
|
|
|
|
margin: 0 auto; |
|
|
|
|
padding: 2px 4px; |
|
|
|
|
position: absolute; |
|
|
|
|
right: 0; |
|
|
|
|
top: 36px; |
|
|
|
|
|
|
|
|
|
@include breakpt($breakpoint-chat-small, max-height) { |
|
|
|
|
height: auto; |
|
|
|
|
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; |
|
|
|
|
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; |
|
|
|
|
display: none; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.btn { |
|
|
|
|
display: none; |
|
|
|
|
padding: .5em 1em; |
|
|
|
|
.chatstatusicon { |
|
|
|
|
cursor: pointer; |
|
|
|
|
display: block; |
|
|
|
|
font-size: 1.4em; |
|
|
|
|
height: 36px; |
|
|
|
|
left: 0; |
|
|
|
|
position: absolute; |
|
|
|
|
right: 6px; |
|
|
|
|
top: 1px; |
|
|
|
|
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; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|