jiti-meet/css/_chat.scss

294 lines
5.0 KiB
SCSS
Raw Normal View History

#sideToolbarContainer {
background-color: $newToolbarBackgroundColor;
display: flex;
/**
* 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;
}
.sideToolbarContainer__inner {
box-sizing: border-box;
color: #FFF;
display: flex;
flex-direction: column;
height: 100%;
width: $sidebarWidth;
}
}
#chat_container * {
2014-10-10 10:57:00 +00:00
-webkit-user-select: text;
user-select: text;
}
#chatconversation {
box-sizing: border-box;
flex: 1;
2014-10-10 10:57:00 +00:00
font-size: 10pt;
line-height: 20px;
margin-top: 15px;
overflow: auto;
padding: 5px;
text-align: left;
width: $sidebarWidth;
2014-10-10 10:57:00 +00:00
word-wrap: break-word;
a {
display: block;
}
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
}
.chat-close {
background: gray;
border: 3px solid rgba(255, 255, 255, 0.1);
border-radius: 100%;
color: white;
cursor:pointer;
height: 10px;
line-height: 10px;
padding: 4px;
position: absolute;
right: 5px;
text-align: center;
top: 5px;
width: 10px;
z-index: 1;
}
2014-10-10 10:57:00 +00:00
#chat-input {
background-color: $newToolbarBackgroundColor;
display: flex;
2014-10-10 10:57:00 +00:00
}
.remoteuser {
color: #B8C7E0;
2014-10-10 10:57:00 +00:00
}
.usrmsg-form {
flex: 1;
margin-left: 5px;
}
2014-10-10 10:57:00 +00:00
#usermsg {
background-color: $newToolbarBackgroundColor;
2014-10-10 10:57:00 +00:00
border: 0px none;
border-radius:0;
box-shadow: none;
color: white;
2014-10-10 10:57:00 +00:00
font-size: 10pt;
line-height: 30px;
padding: 5px 5px 5px 0px;
max-height:150px;
min-height:35px;
overflow-y: auto;
2014-10-10 10:57:00 +00:00
resize: none;
width: 100%;
word-break: break-word;
2014-10-10 10:57:00 +00:00
}
#usermsg:hover {
border: 0px none;
box-shadow: none;
}
#nickname {
position: absolute;
text-align: center;
color: #9d9d9d;
font-size: 18px;
top: 100px;
left: 5px;
right: 5px;
width: 95%;
}
#chat_container .display-name {
2014-10-10 10:57:00 +00:00
float: left;
padding-left: 5px;
font-weight: bold;
white-space: nowrap;
text-overflow: ellipsis;
width: 95%;
overflow: hidden;
2014-10-10 10:57:00 +00:00
}
#chat_container .timestamp {
2014-10-10 10:57:00 +00:00
float: right;
padding-right: 5px;
font-size: 11px;
}
.usermessage {
2014-10-10 10:57:00 +00:00
padding-top: 20px;
padding-left: 5px;
}
.chatArrow {
height: 15px;
left: -10px;
position: absolute;
2014-10-10 10:57:00 +00:00
}
.chatmessage {
background-color: $newToolbarBackgroundColor;
2014-10-10 10:57:00 +00:00
width: 93%;
margin-left: 9px;
2014-10-10 10:57:00 +00:00
margin-right: auto;
border-radius: 5px;
border-top-left-radius: 0px;
margin-top: 3px;
color: white;
2014-10-10 10:57:00 +00:00
padding-bottom: 3px;
position: relative;
&.localuser .display-name {
color: #4C9AFF
}
&.error {
.chatArrow,
.timestamp,
.display-name {
display: none;
}
.usermessage {
color: red;
padding: 0;
}
}
2014-10-10 10:57:00 +00:00
}
.smiley {
height: 26px;
}
#smileys {
background: white;
border-radius: 50%;
display: inline-block;
2014-10-10 10:57:00 +00:00
height: 26px;
margin: auto;
cursor: pointer;
}
#smileys img {
width: 22px;
padding: 2px;
}
#smileysarea {
background-color: $newToolbarBackgroundColor;
border: 0px none;
display: flex;
height: 70px;
max-height: 150px;
min-height: 35px;
2014-10-10 10:57:00 +00:00
min-width: 31px;
padding: 0px;
overflow: hidden;
width: 17%;
2014-10-10 10:57:00 +00:00
}
.smiley-input {
position: relative;
}
.smileys-panel {
bottom: 100%;
box-sizing: border-box;
height: 0;
overflow: hidden;
2014-10-10 10:57:00 +00:00
position: absolute;
transition: height 0.3s;
width: $sidebarWidth;
&.show-smileys {
height: 202px;
}
#smileysContainer {
background-color: $newToolbarBackgroundColor;
border-bottom: 1px solid;
border-top: 1px solid;
}
2014-10-10 10:57:00 +00:00
}
#smileysContainer .smiley {
padding: 7px;
}
.smileyContainer {
width: 40px;
height: 40px;
display: inline-block;
}
.smileyContainer:hover {
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 {
background: #3a3a3a;
}