2018-08-29 17:24:25 +00:00
|
|
|
#sideToolbarContainer {
|
2021-03-18 07:08:34 +00:00
|
|
|
background-color: $chatBackgroundColor;
|
2022-03-29 09:01:48 +00:00
|
|
|
flex-shrink: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
transition: width .16s ease-in-out;
|
2018-08-29 17:24:25 +00:00
|
|
|
width: $sidebarWidth;
|
|
|
|
z-index: $sideToolbarContainerZ;
|
|
|
|
|
2021-10-21 06:43:01 +00:00
|
|
|
@media (max-width: 580px) {
|
2022-03-29 09:01:48 +00:00
|
|
|
height: 100vh;
|
|
|
|
height: -webkit-fill-available;
|
|
|
|
left: 0;
|
|
|
|
position: fixed;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
width: auto;
|
2018-08-29 17:24:25 +00:00
|
|
|
}
|
2014-10-10 10:57:00 +00:00
|
|
|
}
|
|
|
|
|
2021-10-21 06:43:01 +00:00
|
|
|
.chat-panel {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
// extract header + tabs height
|
2022-09-21 11:57:59 +00:00
|
|
|
height: calc(100% - 119px);
|
2021-10-21 06:43:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.chat-panel-no-tabs {
|
|
|
|
// extract header height
|
|
|
|
height: calc(100% - 70px);
|
|
|
|
}
|
|
|
|
|
2022-08-26 06:21:41 +00:00
|
|
|
#chat-conversation-container {
|
|
|
|
// extract message input height
|
2023-01-17 10:36:01 +00:00
|
|
|
height: calc(100% - 64px);
|
2022-08-26 06:21:41 +00:00
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
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;
|
2022-08-26 06:21:41 +00:00
|
|
|
height: 100%;
|
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;
|
2014-10-10 10:57:00 +00:00
|
|
|
word-wrap: break-word;
|
2016-09-08 22:34:16 +00:00
|
|
|
|
2021-02-23 07:39:20 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
& > :first-child {
|
|
|
|
margin-top: auto;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
2014-10-10 10:57:00 +00:00
|
|
|
}
|
2016-09-08 22:34:16 +00:00
|
|
|
|
2021-06-10 12:48:44 +00:00
|
|
|
|
2019-05-02 20:53:17 +00:00
|
|
|
.chat-header {
|
|
|
|
height: 70px;
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
2018-08-29 17:24:25 +00:00
|
|
|
z-index: 1;
|
2021-01-14 16:12:08 +00:00
|
|
|
display: flex;
|
2021-06-10 12:48:44 +00:00
|
|
|
justify-content: space-between;
|
2021-01-14 16:12:08 +00:00
|
|
|
padding: 16px;
|
|
|
|
align-items: center;
|
|
|
|
box-sizing: border-box;
|
|
|
|
color: #fff;
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: 24px;
|
|
|
|
line-height: 32px;
|
2019-05-02 20:53:17 +00:00
|
|
|
|
2021-01-29 10:22:43 +00:00
|
|
|
.jitsi-icon {
|
2019-05-02 20:53:17 +00:00
|
|
|
cursor: pointer;
|
2021-01-29 10:22:43 +00:00
|
|
|
}
|
2018-03-27 22:30:04 +00:00
|
|
|
}
|
2014-10-10 10:57:00 +00:00
|
|
|
|
2021-02-23 07:39:20 +00:00
|
|
|
.chat-input-container {
|
2023-01-17 10:36:01 +00:00
|
|
|
padding: 0 16px 24px;
|
2021-02-23 07:39:20 +00:00
|
|
|
}
|
|
|
|
|
2018-08-29 17:24:25 +00:00
|
|
|
#chat-input {
|
|
|
|
display: flex;
|
2022-08-11 13:32:44 +00:00
|
|
|
align-items: flex-end;
|
|
|
|
position: relative;
|
2021-02-23 07:39:20 +00:00
|
|
|
}
|
|
|
|
|
2022-08-11 13:32:44 +00:00
|
|
|
.chat-input {
|
|
|
|
flex: 1;
|
|
|
|
margin-right: 8px;
|
2021-02-23 07:39:20 +00:00
|
|
|
}
|
|
|
|
|
2021-03-18 07:08:34 +00:00
|
|
|
.smiley-button {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2021-06-10 12:48:44 +00:00
|
|
|
height: 38px;
|
|
|
|
width: 38px;
|
|
|
|
margin: 2px;
|
2021-03-18 07:08:34 +00:00
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#chat-input .smiley-button {
|
|
|
|
@media (hover: hover) and (pointer: fine) {
|
|
|
|
&:hover {
|
|
|
|
background-color: #484A4F;
|
|
|
|
}
|
2021-02-23 07:39:20 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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 {
|
2021-09-24 10:23:27 +00:00
|
|
|
-ms-overflow-style: none;
|
2014-10-10 10:57:00 +00:00
|
|
|
border: 0px none;
|
|
|
|
border-radius:0;
|
2018-08-29 17:24:25 +00:00
|
|
|
box-shadow: none;
|
|
|
|
color: white;
|
2021-03-18 13:56:20 +00:00
|
|
|
font-size: 14px;
|
2019-10-22 07:56:42 +00:00
|
|
|
padding: 10px;
|
2018-08-29 17:24:25 +00:00
|
|
|
overflow-y: auto;
|
2014-10-10 10:57:00 +00:00
|
|
|
resize: none;
|
2021-09-24 10:23:27 +00:00
|
|
|
scrollbar-width: none;
|
2018-08-29 17:24:25 +00:00
|
|
|
width: 100%;
|
|
|
|
word-break: break-word;
|
2021-09-24 10:23:27 +00:00
|
|
|
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
display: none;
|
|
|
|
}
|
2014-10-10 10:57:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#usermsg:hover {
|
|
|
|
border: 0px none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2021-06-10 12:48:44 +00:00
|
|
|
#usermsg:focus,
|
|
|
|
#usermsg:active {
|
|
|
|
border-bottom: 1px solid white;
|
|
|
|
padding-bottom: 8px;
|
|
|
|
}
|
2014-10-10 10:57:00 +00:00
|
|
|
|
|
|
|
#nickname {
|
|
|
|
text-align: center;
|
|
|
|
color: #9d9d9d;
|
2021-02-23 07:39:20 +00:00
|
|
|
font-size: 16px;
|
|
|
|
margin: auto 0;
|
|
|
|
padding: 0 16px;
|
|
|
|
|
2021-06-10 12:48:44 +00:00
|
|
|
#nickname-title {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
label[for="nickinput"] {
|
|
|
|
> div > span {
|
|
|
|
color: #B8C7E0;
|
|
|
|
}
|
|
|
|
}
|
2021-02-23 07:39:20 +00:00
|
|
|
input {
|
|
|
|
height: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
line-height: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.enter-chat {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
margin-top: 16px;
|
|
|
|
height: 40px;
|
|
|
|
background: #1B67EC;
|
|
|
|
border-radius: 3px;
|
|
|
|
color: #fff;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&.disabled {
|
2021-06-10 12:48:44 +00:00
|
|
|
color: #AFB6BC;
|
2021-02-23 07:39:20 +00:00
|
|
|
background: #11336E;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-browser {
|
|
|
|
#nickname {
|
|
|
|
input {
|
|
|
|
height: 48px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.enter-chat {
|
|
|
|
height: 48px;
|
|
|
|
}
|
|
|
|
}
|
2021-03-18 13:56:20 +00:00
|
|
|
|
|
|
|
#usermsg {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chatmessage .usermessage {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
2014-10-10 10:57:00 +00:00
|
|
|
}
|
|
|
|
|
2019-05-03 21:26:28 +00:00
|
|
|
.sideToolbarContainer {
|
|
|
|
* {
|
|
|
|
-webkit-user-select: text;
|
|
|
|
user-select: text;
|
|
|
|
}
|
2014-10-10 10:57:00 +00:00
|
|
|
}
|
|
|
|
|
2021-06-10 12:48:44 +00:00
|
|
|
.sr-only {
|
|
|
|
border: 0 !important;
|
|
|
|
clip: rect(1px, 1px, 1px, 1px) !important;
|
|
|
|
clip-path: inset(50%) !important;
|
|
|
|
height: 1px !important;
|
|
|
|
margin: -1px !important;
|
|
|
|
overflow: hidden !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
position: absolute !important;
|
|
|
|
width: 1px !important;
|
|
|
|
white-space: nowrap !important;
|
|
|
|
}
|
|
|
|
|
2014-10-10 10:57:00 +00:00
|
|
|
.chatmessage {
|
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;
|
|
|
|
}
|
|
|
|
}
|
2019-10-07 12:35:04 +00:00
|
|
|
|
2019-10-22 07:56:42 +00:00
|
|
|
.messagecontent {
|
2019-11-18 17:09:22 +00:00
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
2019-10-07 12:35:04 +00:00
|
|
|
}
|
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;
|
2022-08-11 13:32:44 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
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-10-07 12:35:04 +00:00
|
|
|
background-color: rgba(0, 0, 0, .6) !important;
|
2019-05-02 21:31:27 +00:00
|
|
|
height: auto;
|
2022-08-11 13:32:44 +00:00
|
|
|
display: flex;
|
2018-08-29 17:24:25 +00:00
|
|
|
overflow: hidden;
|
2014-10-10 10:57:00 +00:00
|
|
|
position: absolute;
|
2021-03-18 07:08:34 +00:00
|
|
|
width: calc(#{$sidebarWidth} - 32px);
|
|
|
|
margin-bottom: 5px;
|
|
|
|
margin-left: -5px;
|
2018-08-29 17:24:25 +00:00
|
|
|
|
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
|
|
|
#smileysContainer {
|
2021-03-18 07:08:34 +00:00
|
|
|
background-color: $chatBackgroundColor;
|
|
|
|
border-top: 1px solid $chatInputSeparatorColor;
|
2018-08-29 17:24:25 +00:00
|
|
|
}
|
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;
|
2021-06-10 12:48:44 +00:00
|
|
|
height: 40px;
|
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-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 {
|
|
|
|
&.local {
|
|
|
|
align-items: flex-end;
|
|
|
|
|
|
|
|
.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 {
|
|
|
|
.display-name {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-01-12 13:24:55 +00:00
|
|
|
|
|
|
|
.chat-dialog {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100%;
|
|
|
|
margin-top: -5px; // Margin set by atlaskit.
|
|
|
|
|
|
|
|
&-header {
|
|
|
|
display: flex;
|
2021-06-10 12:48:44 +00:00
|
|
|
justify-content: space-between;
|
2021-01-29 10:22:43 +00:00
|
|
|
align-items: center;
|
2021-03-18 07:08:34 +00:00
|
|
|
margin: 16px;
|
2021-01-12 13:24:55 +00:00
|
|
|
width: calc(100% - 32px);
|
|
|
|
box-sizing: border-box;
|
|
|
|
color: #fff;
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: 24px;
|
|
|
|
line-height: 32px;
|
|
|
|
|
2021-01-29 10:22:43 +00:00
|
|
|
.jitsi-icon {
|
2021-01-12 13:24:55 +00:00
|
|
|
cursor: pointer;
|
2021-01-29 10:22:43 +00:00
|
|
|
}
|
2021-01-12 13:24:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#chatconversation {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2021-02-23 07:39:20 +00:00
|
|
|
}
|
|
|
|
|
2021-01-29 10:22:43 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Make header close button more easily tappable on mobile.
|
|
|
|
*/
|
|
|
|
.mobile-browser .chat-dialog-header .jitsi-icon {
|
|
|
|
display: grid;
|
|
|
|
place-items: center;
|
|
|
|
height: 48px;
|
|
|
|
width: 48px;
|
2021-03-18 07:08:34 +00:00
|
|
|
background: #36383C;
|
2021-01-29 10:22:43 +00:00
|
|
|
border-radius: 3px;
|
|
|
|
}
|