2018-08-29 17:24:25 +00:00
|
|
|
#sideToolbarContainer {
|
|
|
|
background-color: $newToolbarBackgroundColor;
|
2019-05-03 21:26:28 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
color: #FFF;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2018-08-29 17:24:25 +00:00
|
|
|
/**
|
|
|
|
* Make the sidebar flush with the top of the toolbar. Take the size of
|
|
|
|
* the toolbar and subtract from 100%.
|
|
|
|
*/
|
|
|
|
height: calc(100% - #{$newToolbarSizeWithPadding});
|
|
|
|
left: -$sidebarWidth;
|
|
|
|
overflow: hidden;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
transition: left 0.5s;
|
|
|
|
width: $sidebarWidth;
|
|
|
|
z-index: $sideToolbarContainerZ;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The sidebar (chat) is off-screen when hidden. Move it flush to the left
|
|
|
|
* side of the window when it should be visible.
|
|
|
|
*/
|
|
|
|
&.slideInExt {
|
|
|
|
left: 0;
|
|
|
|
}
|
2014-10-10 10:57:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#chatconversation {
|
2018-08-29 17:24:25 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
flex: 1;
|
2014-10-10 10:57:00 +00:00
|
|
|
font-size: 10pt;
|
2018-08-29 17:24:25 +00:00
|
|
|
line-height: 20px;
|
2016-10-03 12:24:55 +00:00
|
|
|
overflow: auto;
|
2019-05-02 21:31:27 +00:00
|
|
|
padding: 16px;
|
2018-08-29 17:24:25 +00:00
|
|
|
text-align: left;
|
|
|
|
width: $sidebarWidth;
|
2014-10-10 10:57:00 +00:00
|
|
|
word-wrap: break-word;
|
2016-09-08 22:34:16 +00:00
|
|
|
|
2018-08-29 17:24:25 +00:00
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2016-09-08 22:34:16 +00:00
|
|
|
a:link {
|
|
|
|
color: rgb(184, 184, 184);
|
|
|
|
}
|
|
|
|
|
|
|
|
a:visited {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
color: rgb(213, 213, 213);
|
|
|
|
}
|
|
|
|
|
|
|
|
a:active {
|
|
|
|
color: black;
|
|
|
|
}
|
2017-05-23 20:06:45 +00:00
|
|
|
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
background: #06a5df;
|
|
|
|
width: 7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-button {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-track {
|
|
|
|
background: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-track-piece {
|
|
|
|
background: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-thumb {
|
|
|
|
background: #06a5df;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
2014-10-10 10:57:00 +00:00
|
|
|
}
|
2016-09-08 22:34:16 +00:00
|
|
|
|
2019-05-02 20:53:17 +00:00
|
|
|
.chat-header {
|
2019-05-02 22:14:09 +00:00
|
|
|
background-color: $chatHeaderBackgroundColor;
|
2019-05-02 20:53:17 +00:00
|
|
|
height: 70px;
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
2018-08-29 17:24:25 +00:00
|
|
|
z-index: 1;
|
2019-05-02 20:53:17 +00:00
|
|
|
|
|
|
|
.chat-close {
|
|
|
|
align-items: center;
|
|
|
|
bottom: 8px;
|
|
|
|
color: white;
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
font-size: 18px;
|
|
|
|
height: 40px;
|
|
|
|
justify-content: center;
|
|
|
|
line-height: 15px;
|
|
|
|
padding: 4px;
|
|
|
|
position: absolute;
|
|
|
|
right: 5px;
|
|
|
|
width: 40px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: rgba(255, 255, 255, 0.8);
|
|
|
|
}
|
|
|
|
}
|
2018-03-27 22:30:04 +00:00
|
|
|
}
|
2014-10-10 10:57:00 +00:00
|
|
|
|
2018-08-29 17:24:25 +00:00
|
|
|
#chat-input {
|
2019-05-02 22:14:09 +00:00
|
|
|
border-top: 1px solid $chatInputSeparatorColor;
|
2018-08-29 17:24:25 +00:00
|
|
|
display: flex;
|
2019-05-02 21:00:36 +00:00
|
|
|
|
|
|
|
* {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2014-10-10 10:57:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.remoteuser {
|
2018-06-22 22:12:23 +00:00
|
|
|
color: #B8C7E0;
|
2014-10-10 10:57:00 +00:00
|
|
|
}
|
|
|
|
|
2018-08-29 17:24:25 +00:00
|
|
|
.usrmsg-form {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
2014-10-10 10:57:00 +00:00
|
|
|
#usermsg {
|
|
|
|
border: 0px none;
|
|
|
|
border-radius:0;
|
2018-08-29 17:24:25 +00:00
|
|
|
box-shadow: none;
|
|
|
|
color: white;
|
2019-05-03 19:41:09 +00:00
|
|
|
font-size: 15px;
|
2014-10-23 11:36:47 +00:00
|
|
|
line-height: 30px;
|
2019-04-12 20:54:28 +00:00
|
|
|
padding: 5px;
|
2018-08-29 17:24:25 +00:00
|
|
|
max-height:150px;
|
|
|
|
min-height:35px;
|
|
|
|
overflow-y: auto;
|
2014-10-10 10:57:00 +00:00
|
|
|
resize: none;
|
2018-08-29 17:24:25 +00:00
|
|
|
width: 100%;
|
|
|
|
word-break: break-word;
|
2014-10-10 10:57:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#usermsg:hover {
|
|
|
|
border: 0px none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#nickname {
|
|
|
|
text-align: center;
|
|
|
|
color: #9d9d9d;
|
|
|
|
font-size: 18px;
|
2019-05-02 20:53:17 +00:00
|
|
|
margin-top: 30px;
|
2014-10-10 10:57:00 +00:00
|
|
|
left: 5px;
|
|
|
|
right: 5px;
|
|
|
|
}
|
|
|
|
|
2019-05-03 21:26:28 +00:00
|
|
|
.sideToolbarContainer {
|
|
|
|
* {
|
|
|
|
-webkit-user-select: text;
|
|
|
|
user-select: text;
|
|
|
|
}
|
|
|
|
|
|
|
|
.display-name {
|
2019-05-03 19:41:09 +00:00
|
|
|
font-size: 13px;
|
2019-05-03 21:26:28 +00:00
|
|
|
font-weight: bold;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2014-10-10 10:57:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.chatmessage {
|
2019-05-02 22:14:09 +00:00
|
|
|
background-color: $chatRemoteMessageBackgroundColor;
|
2019-05-02 19:41:54 +00:00
|
|
|
border-radius: 0px 6px 6px 6px;
|
2019-05-09 14:50:36 +00:00
|
|
|
box-sizing: border-box;
|
2018-06-22 22:12:23 +00:00
|
|
|
color: white;
|
2019-05-09 14:50:36 +00:00
|
|
|
margin-top: 3px;
|
|
|
|
max-width: 100%;
|
2014-10-10 10:57:00 +00:00
|
|
|
padding-bottom: 3px;
|
2018-08-29 17:24:25 +00:00
|
|
|
position: relative;
|
|
|
|
|
2019-05-02 19:41:54 +00:00
|
|
|
&.localuser {
|
2019-05-02 22:14:09 +00:00
|
|
|
background-color: $chatLocalMessageBackgroundColor;
|
2019-05-02 19:41:54 +00:00
|
|
|
border-radius: 6px 0px 6px 6px;
|
2018-08-29 17:24:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.error {
|
2019-05-02 19:41:54 +00:00
|
|
|
border-radius: 0px;
|
|
|
|
|
2018-08-29 17:24:25 +00:00
|
|
|
.timestamp,
|
|
|
|
.display-name {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.usermessage {
|
|
|
|
color: red;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
2014-10-10 10:57:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.smiley {
|
2018-12-03 18:01:40 +00:00
|
|
|
font-size: 14pt;
|
2014-10-10 10:57:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#smileys {
|
2018-12-03 18:01:40 +00:00
|
|
|
font-size: 20pt;
|
2014-10-10 10:57:00 +00:00
|
|
|
margin: auto;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
#smileys img {
|
|
|
|
width: 22px;
|
|
|
|
padding: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#smileysarea {
|
2018-08-29 17:24:25 +00:00
|
|
|
display: flex;
|
|
|
|
max-height: 150px;
|
|
|
|
min-height: 35px;
|
2014-10-10 10:57:00 +00:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2018-08-29 17:24:25 +00:00
|
|
|
.smiley-input {
|
2019-04-12 17:25:13 +00:00
|
|
|
display: flex;
|
2018-08-29 17:24:25 +00:00
|
|
|
position: relative;
|
2016-02-12 14:15:34 +00:00
|
|
|
}
|
|
|
|
|
2018-08-29 17:24:25 +00:00
|
|
|
.smileys-panel {
|
|
|
|
bottom: 100%;
|
|
|
|
box-sizing: border-box;
|
2019-05-02 21:31:27 +00:00
|
|
|
height: auto;
|
|
|
|
max-height: 0;
|
2018-08-29 17:24:25 +00:00
|
|
|
overflow: hidden;
|
2014-10-10 10:57:00 +00:00
|
|
|
position: absolute;
|
2018-08-29 17:24:25 +00:00
|
|
|
width: $sidebarWidth;
|
|
|
|
|
2019-05-02 21:31:27 +00:00
|
|
|
/**
|
|
|
|
* CSS transitions do not apply for auto dimensions. So to produce the css
|
|
|
|
* accordion effect for showing and hiding the smiley-panel, while allowing
|
|
|
|
* for variable panel, height, use a very large max-height and animate off
|
|
|
|
* of that.
|
|
|
|
*/
|
|
|
|
transition: max-height 0.3s;
|
|
|
|
|
2018-08-29 17:24:25 +00:00
|
|
|
&.show-smileys {
|
2019-05-02 21:31:27 +00:00
|
|
|
max-height: 500%;
|
2018-08-29 17:24:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#smileysContainer {
|
|
|
|
background-color: $newToolbarBackgroundColor;
|
|
|
|
border-bottom: 1px solid;
|
|
|
|
border-top: 1px solid;
|
|
|
|
}
|
2014-10-10 10:57:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#smileysContainer .smiley {
|
2018-12-03 18:01:40 +00:00
|
|
|
font-size: 20pt;
|
2014-10-10 10:57:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.smileyContainer {
|
|
|
|
width: 40px;
|
2018-12-03 18:01:40 +00:00
|
|
|
height: 36px;
|
2014-10-10 10:57:00 +00:00
|
|
|
display: inline-block;
|
2018-12-03 18:01:40 +00:00
|
|
|
text-align: center;
|
2014-10-10 10:57:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.smileyContainer:hover {
|
2018-06-22 22:12:23 +00:00
|
|
|
background-color: $newToolbarButtonToggleColor;
|
|
|
|
border-radius: 5px;
|
|
|
|
cursor: pointer;
|
2014-10-10 10:57:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#usermsg::-webkit-input-placeholder {
|
|
|
|
line-height: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#usermsg::-webkit-scrollbar-track-piece {
|
2014-10-02 09:30:46 +00:00
|
|
|
background: #3a3a3a;
|
2016-10-07 16:23:33 +00:00
|
|
|
}
|
2019-05-03 19:41:09 +00:00
|
|
|
|
|
|
|
.chat-message-group {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
&.local {
|
|
|
|
align-items: flex-end;
|
|
|
|
|
2019-05-06 19:30:38 +00:00
|
|
|
.chatmessage {
|
|
|
|
background-color: $chatLocalMessageBackgroundColor;
|
|
|
|
border-radius: 6px 0px 6px 6px;
|
|
|
|
}
|
|
|
|
|
2019-05-03 19:41:09 +00:00
|
|
|
.display-name {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2019-05-06 19:30:38 +00:00
|
|
|
.timestamp {
|
|
|
|
text-align: right;
|
2019-05-03 19:41:09 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.error {
|
|
|
|
.chatmessage {
|
|
|
|
border-radius: 0px;
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
|
|
|
|
.display-name {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-09 15:43:11 +00:00
|
|
|
.chatmessage-wrapper {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2019-05-03 19:41:09 +00:00
|
|
|
.chatmessage {
|
|
|
|
background-color: $chatRemoteMessageBackgroundColor;
|
|
|
|
border-radius: 0px 6px 6px 6px;
|
|
|
|
display: inline-block;
|
|
|
|
margin-top: 3px;
|
|
|
|
color: white;
|
|
|
|
padding: 8px;
|
|
|
|
}
|
|
|
|
}
|