2019-08-21 10:00:01 +02:00
|
|
|
@import "./mixin";
|
|
|
|
@import "./properties";
|
|
|
|
|
|
|
|
//$color_client_normal: #bebebe;
|
|
|
|
$color_client_normal: #cccccc;
|
|
|
|
$client_info_avatar_size: 10em;
|
2020-01-31 00:54:00 +01:00
|
|
|
$bot_thumbnail_width: 16em;
|
|
|
|
$bot_thumbnail_height: 9em;
|
2019-08-21 10:00:01 +02:00
|
|
|
|
2019-07-10 00:52:08 +02:00
|
|
|
.container-chat-frame {
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: stretch;
|
|
|
|
|
2019-08-21 10:00:01 +02:00
|
|
|
min-height: 200px;
|
|
|
|
|
2019-07-10 00:52:08 +02:00
|
|
|
.container-info {
|
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
|
|
height: 9em;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-evenly;
|
|
|
|
|
|
|
|
background-color: #2e2e2e;
|
|
|
|
border-top-left-radius: 5px;
|
|
|
|
border-top-right-radius: 5px;
|
|
|
|
|
|
|
|
-moz-box-shadow: inset 0 0 5px #00000040;
|
|
|
|
-webkit-box-shadow: inset 0 0 5px #00000040;
|
|
|
|
box-shadow: inset 0 0 5px #00000040;
|
|
|
|
|
|
|
|
.lane {
|
|
|
|
padding-right: 10px;
|
|
|
|
padding-left: 10px;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: stretch;
|
|
|
|
|
2019-10-23 13:14:18 +02:00
|
|
|
.block, .button {
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2019-07-10 00:52:08 +02:00
|
|
|
.block {
|
|
|
|
flex-shrink: 1;
|
|
|
|
flex-grow: 1;
|
|
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
|
|
&.right {
|
|
|
|
text-align: right;
|
2019-08-30 23:06:39 +02:00
|
|
|
|
|
|
|
&.mode-client_info {
|
|
|
|
max-width: calc(50% - #{$client_info_avatar_size / 2});
|
|
|
|
margin-left: calc(#{$client_info_avatar_size / 2});
|
|
|
|
}
|
2019-07-10 00:52:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.left {
|
2019-10-23 13:14:18 +02:00
|
|
|
margin-right: .5em;
|
2019-07-10 00:52:08 +02:00
|
|
|
text-align: left;
|
|
|
|
padding-right: 10px;
|
2019-08-30 23:06:39 +02:00
|
|
|
|
|
|
|
&.mode-client_info {
|
|
|
|
max-width: calc(50% - #{$client_info_avatar_size / 2});
|
|
|
|
margin-right: calc(#{$client_info_avatar_size} / 2);
|
|
|
|
}
|
2019-07-10 00:52:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.title, .value, .small-value {
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
min-width: 0;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
display: block;
|
|
|
|
color: #8b8b8b;
|
|
|
|
|
|
|
|
.container-indicator {
|
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-around;
|
|
|
|
|
|
|
|
background: #ca3e22;
|
|
|
|
border: 1px solid #6a0e0e;
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
vertical-align: text-top;
|
|
|
|
|
|
|
|
color: #dab8b4;
|
|
|
|
|
|
|
|
font-size: .66em;
|
2019-08-21 10:00:01 +02:00
|
|
|
height: 1.3em;
|
2019-07-10 00:52:08 +02:00
|
|
|
min-width: .9em;
|
|
|
|
|
|
|
|
padding-right: 2px;
|
|
|
|
padding-left: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.value {
|
|
|
|
color: #5a5a5a;
|
|
|
|
background-color: #373737;
|
|
|
|
|
|
|
|
display: inline-block;
|
|
|
|
|
2019-08-21 10:00:01 +02:00
|
|
|
border-radius: .18em;
|
|
|
|
padding-right: .31em;
|
|
|
|
padding-left: .31em;
|
2019-07-10 00:52:08 +02:00
|
|
|
|
|
|
|
> div {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2019-08-21 10:00:01 +02:00
|
|
|
.icon-container, .icon {
|
2019-07-10 00:52:08 +02:00
|
|
|
vertical-align: middle;
|
2019-08-21 10:00:01 +02:00
|
|
|
margin-right: .25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.value-ping {
|
|
|
|
//very-good good medium poor very-poor
|
|
|
|
&.very-good {
|
|
|
|
color: #3f7538;
|
|
|
|
}
|
|
|
|
&.good {
|
|
|
|
color: #365632;
|
|
|
|
}
|
|
|
|
&.medium {
|
|
|
|
color: #777f2c;
|
|
|
|
}
|
|
|
|
&.poor {
|
|
|
|
color: #7f5122;
|
|
|
|
}
|
|
|
|
&.very-poor {
|
|
|
|
color: #7f2222;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.chat-counter {
|
|
|
|
cursor: pointer;
|
2019-07-10 00:52:08 +02:00
|
|
|
}
|
2020-01-31 00:54:00 +01:00
|
|
|
|
|
|
|
&.bot-add-song {
|
|
|
|
color: #3f7538;
|
|
|
|
}
|
2019-07-10 00:52:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.small-value {
|
|
|
|
display: inline-block;
|
|
|
|
color: #5a5a5a;
|
|
|
|
font-size: .66em;
|
|
|
|
vertical-align: top;
|
|
|
|
margin-top: -.2em;
|
|
|
|
}
|
2019-08-21 10:00:01 +02:00
|
|
|
|
|
|
|
.button {
|
|
|
|
color: #5a5a5a;
|
|
|
|
background-color: #373737;
|
|
|
|
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
&:not(.value) {
|
|
|
|
border-radius: .18em;
|
|
|
|
padding-right: .31em;
|
|
|
|
padding-left: .31em;
|
|
|
|
|
|
|
|
margin-top: 1.5em; /* because we've no title */
|
|
|
|
}
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: #4e4e4e; /* TODO: Evaluate color */
|
|
|
|
}
|
|
|
|
@include transition(background-color $button_hover_animation_time ease-in-out);
|
|
|
|
}
|
2019-07-10 00:52:08 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.container-chat {
|
2019-08-21 10:00:01 +02:00
|
|
|
width: 100%;
|
|
|
|
|
2019-07-10 00:52:08 +02:00
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
|
|
|
|
border-bottom-left-radius: 5px;
|
|
|
|
border-bottom-right-radius: 5px;
|
|
|
|
|
|
|
|
min-width: 350px;
|
2019-08-21 10:00:01 +02:00
|
|
|
min-height: 16em;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2019-07-10 00:52:08 +02:00
|
|
|
|
|
|
|
.container-private-conversations {
|
2019-08-21 10:00:01 +02:00
|
|
|
height: 100%;
|
|
|
|
|
2019-07-10 00:52:08 +02:00
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: stretch;
|
|
|
|
|
|
|
|
.conversation-list {
|
|
|
|
margin-right: -2px; /* the fix for the seperator with of 3px */
|
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
|
2019-10-19 20:55:34 +02:00
|
|
|
@include chat-scrollbar-vertical();
|
|
|
|
|
2019-07-10 00:52:08 +02:00
|
|
|
width: 25%;
|
|
|
|
min-width: 100px;
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.no-chats {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
> div {
|
|
|
|
display: inline-block;
|
|
|
|
color: #5a5a5a;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.conversation-entry {
|
2019-08-21 10:00:01 +02:00
|
|
|
position: relative;
|
|
|
|
|
2019-07-10 00:52:08 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: stretch;
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
border-bottom: 1px solid #313132;
|
|
|
|
|
|
|
|
.container-avatar {
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
display: inline-block;
|
|
|
|
margin: 5px 10px 5px 5px;
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
overflow: hidden;
|
|
|
|
|
2019-08-21 10:00:01 +02:00
|
|
|
width: 2em;
|
|
|
|
height: 2em;
|
2019-07-10 00:52:08 +02:00
|
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-unread {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
background-color: #a81414;
|
|
|
|
width: 7px;
|
|
|
|
height: 7px;
|
|
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
|
|
-webkit-box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.20);
|
|
|
|
-moz-box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.20);
|
|
|
|
box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.20);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.unread {
|
|
|
|
.chat-unread {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.info {
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
min-width: 50px;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
> * {
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.client-name {
|
2019-08-21 10:00:01 +02:00
|
|
|
color: $color_client_normal;
|
2019-07-10 00:52:08 +02:00
|
|
|
font-weight: bold;
|
|
|
|
|
|
|
|
margin-bottom: -.4em;
|
|
|
|
}
|
|
|
|
|
2019-10-23 13:14:18 +02:00
|
|
|
.client-version {
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2019-07-10 00:52:08 +02:00
|
|
|
.last-message {
|
|
|
|
color: #555353;
|
|
|
|
|
|
|
|
display: inline-block;
|
|
|
|
font-size: .66em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-21 10:00:01 +02:00
|
|
|
.button-close {
|
|
|
|
font-size: 2em;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
|
|
|
|
opacity: 0.3;
|
|
|
|
|
|
|
|
width: .5em;
|
|
|
|
height: .5em;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
@include transition(opacity $button_hover_animation_time ease-in-out);
|
|
|
|
|
|
|
|
&:before, &:after {
|
|
|
|
position: absolute;
|
|
|
|
left: .25em;
|
|
|
|
content: ' ';
|
|
|
|
height: .5em;
|
|
|
|
width: .05em;
|
|
|
|
background-color: #5a5a5a;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
transform: rotate(-45deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-10 00:52:08 +02:00
|
|
|
&:hover {
|
|
|
|
background-color: #393939;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.selected {
|
|
|
|
background-color: #2c2c2c;
|
|
|
|
}
|
2019-08-21 10:00:01 +02:00
|
|
|
@include transition(background-color $button_hover_animation_time ease-in-out);
|
2019-07-10 00:52:08 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.conversation {
|
|
|
|
min-width: 250px;
|
|
|
|
width: 75%;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: stretch;
|
|
|
|
|
2019-08-21 10:00:01 +02:00
|
|
|
.spacer {
|
|
|
|
min-height: 0;
|
2019-07-10 00:52:08 +02:00
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
2019-08-21 10:00:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.messages {
|
|
|
|
@include user-select(none);
|
|
|
|
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 1;
|
2019-07-10 00:52:08 +02:00
|
|
|
|
|
|
|
min-height: 100px;
|
2019-08-21 10:00:01 +02:00
|
|
|
|
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
|
|
|
|
|
|
|
.message-entry {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: stretch;
|
|
|
|
|
|
|
|
.container-avatar {
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
display: inline-block;
|
|
|
|
margin: .5em 1em .5em .5em;
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
width: 2.5em;
|
|
|
|
height: 2.5em;
|
|
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.container-message {
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
|
|
|
|
min-width: 2em;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
|
|
|
-webkit-user-select: text;
|
|
|
|
-moz-user-select: text;
|
|
|
|
-ms-user-select: text;
|
|
|
|
user-select: text;
|
|
|
|
|
|
|
|
.info {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
white-space : nowrap;
|
|
|
|
overflow : hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
|
|
margin-top: .5em;
|
|
|
|
|
|
|
|
.client-name, .client-name .htmltag-client {
|
|
|
|
display: inline;
|
|
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
color: $color_client_normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timestamp {
|
|
|
|
display: inline;
|
|
|
|
|
|
|
|
font-size: 0.66em;
|
|
|
|
color: #5d5b5b;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.message {
|
|
|
|
color: #b5b5b5;
|
|
|
|
line-height: 1.1em;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.spacer-entry {
|
|
|
|
text-align: center;
|
|
|
|
//padding: .5em 1em;
|
|
|
|
color: #565353;
|
|
|
|
|
2019-09-19 01:25:57 +02:00
|
|
|
&.type-disconnect_self {
|
|
|
|
color: #565353; /* not really critical at all */
|
|
|
|
}
|
|
|
|
|
2019-08-21 10:00:01 +02:00
|
|
|
&.type-new {
|
|
|
|
color: darkred; /* TODO: Evaluate color */
|
|
|
|
}
|
|
|
|
|
|
|
|
&.type-disconnect {
|
|
|
|
color: red; /* TODO: Evaluate color */
|
|
|
|
}
|
|
|
|
|
|
|
|
&.type-reconnect {
|
|
|
|
color: green; /* TODO: Evaluate color */
|
|
|
|
}
|
|
|
|
|
|
|
|
&.type-closed {
|
|
|
|
color: yellow; /* TODO: Evaluate color */
|
|
|
|
}
|
|
|
|
|
|
|
|
&.type-date {
|
|
|
|
color: #565353;
|
|
|
|
background-color: #353535;
|
|
|
|
|
|
|
|
z-index: 2; /* over the avatar */
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include chat-scrollbar();
|
2019-07-10 00:52:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.chatbox {
|
|
|
|
flex-grow: 0;
|
2019-08-21 10:00:01 +02:00
|
|
|
flex-shrink: 0;
|
2019-07-10 00:52:08 +02:00
|
|
|
|
|
|
|
display: flex;
|
|
|
|
justify-content: stretch;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
min-height: 2em;
|
2019-08-30 23:06:39 +02:00
|
|
|
|
|
|
|
.container-typing {
|
|
|
|
font-size: .85em;
|
|
|
|
padding-left: .6em;
|
|
|
|
line-height: 1;
|
|
|
|
color: hsla(0, 0%, 30%, 1);
|
|
|
|
|
|
|
|
opacity: 1;
|
|
|
|
|
|
|
|
&.hidden {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include transition($button_hover_animation_time ease-in-out);
|
|
|
|
}
|
2019-07-10 00:52:08 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.container-seperator {
|
|
|
|
z-index: 100;
|
|
|
|
height: unset!important;
|
|
|
|
width: 3px;
|
|
|
|
background-color: transparent;
|
|
|
|
border-right: 1px solid #292a2c;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.container-chatbox {
|
2019-08-21 10:00:01 +02:00
|
|
|
@include user-select(none);
|
|
|
|
|
2019-07-10 00:52:08 +02:00
|
|
|
flex-grow: 1;
|
2019-08-21 10:00:01 +02:00
|
|
|
flex-shrink: 0;
|
2019-07-10 00:52:08 +02:00
|
|
|
min-height: calc(1.5em + 10px);
|
2019-08-21 10:00:01 +02:00
|
|
|
height: min-content;
|
2019-07-10 00:52:08 +02:00
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: stretch;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
padding: 5px;
|
|
|
|
|
|
|
|
.container-emojis {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
|
|
|
margin-right: 5px;
|
|
|
|
|
|
|
|
.button-emoji {
|
|
|
|
border-radius: 5px;
|
|
|
|
padding: 2px;
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
2019-08-21 10:00:01 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-around;
|
|
|
|
|
2019-07-10 00:52:08 +02:00
|
|
|
&:hover {
|
|
|
|
background-color: #393939;
|
|
|
|
}
|
2019-08-21 10:00:01 +02:00
|
|
|
@include transition(background-color $button_hover_animation_time ease-in-out);
|
2019-07-10 00:52:08 +02:00
|
|
|
|
|
|
|
.container-icon {
|
2019-08-21 10:00:01 +02:00
|
|
|
position: absolute;
|
2019-07-10 00:52:08 +02:00
|
|
|
display: flex;
|
|
|
|
|
|
|
|
width: calc(1.5em - 4px);
|
|
|
|
height: calc(1.5em - 4px);
|
|
|
|
|
|
|
|
> img {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2019-08-21 10:00:01 +02:00
|
|
|
|
|
|
|
.lsx-emojipicker-appender {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
width: calc(1.5em - 4px);
|
|
|
|
height: calc(1.5em - 4px);
|
|
|
|
|
|
|
|
.lsx-emojipicker-container {
|
|
|
|
&:after {
|
|
|
|
right: calc(0.75em + 2px) !important
|
|
|
|
}
|
|
|
|
|
|
|
|
.lsx-emojipicker-tabs {
|
|
|
|
height: 38px;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
|
|
|
li {
|
|
|
|
height: 36px;
|
|
|
|
width: 36px;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-around;
|
|
|
|
|
|
|
|
img {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-07-10 00:52:08 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.container-input {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: stretch;
|
|
|
|
min-height: 1.5em;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
background-color: #464646;
|
2019-08-21 10:00:01 +02:00
|
|
|
border: 2px none #353535; /* background color (like no border) */
|
|
|
|
|
2019-07-10 00:52:08 +02:00
|
|
|
padding: 0 5px;
|
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
border-radius: 5px;
|
|
|
|
|
2019-08-21 10:00:01 +02:00
|
|
|
.textarea {
|
|
|
|
@include user-select(text);
|
2019-07-10 00:52:08 +02:00
|
|
|
|
|
|
|
width: 100%;
|
2019-08-21 10:00:01 +02:00
|
|
|
resize: none;
|
2019-07-10 00:52:08 +02:00
|
|
|
|
|
|
|
min-height: 1.5em;
|
|
|
|
max-height: 6em;
|
|
|
|
height: 1.5em;
|
|
|
|
|
2019-08-21 10:00:01 +02:00
|
|
|
overflow: auto;
|
|
|
|
|
2019-07-10 00:52:08 +02:00
|
|
|
background-color: transparent;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
|
|
|
|
color: #a9a9a9;
|
2019-08-21 10:00:01 +02:00
|
|
|
|
|
|
|
@include chat-scrollbar-vertical();
|
|
|
|
|
2019-07-10 00:52:08 +02:00
|
|
|
}
|
|
|
|
|
2019-08-21 10:00:01 +02:00
|
|
|
@include placeholder(textarea) {
|
2019-07-10 00:52:08 +02:00
|
|
|
color: #363535;
|
|
|
|
font-style: oblique;
|
|
|
|
}
|
2019-08-21 10:00:01 +02:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
margin: -2px;
|
|
|
|
border: 2px solid #474747;
|
2019-07-10 00:52:08 +02:00
|
|
|
}
|
2019-08-21 10:00:01 +02:00
|
|
|
|
|
|
|
&:focus-within {
|
|
|
|
margin: -2px;
|
|
|
|
border: 2px solid #585858;
|
2019-07-10 00:52:08 +02:00
|
|
|
}
|
2019-08-21 10:00:01 +02:00
|
|
|
|
|
|
|
@include transition(border-color $button_hover_animation_time ease-in-out);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.container-channel-chat {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: stretch;
|
|
|
|
|
|
|
|
/* 1.5em + 10px := chatbox; 2em chat */
|
|
|
|
min-height: calc(1.5em + 10px + 2em);
|
|
|
|
|
|
|
|
> .spacer {
|
|
|
|
min-height: 0;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
> .container-chat {
|
|
|
|
@include user-select(none);
|
|
|
|
|
|
|
|
padding: 5px;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: stretch;
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
min-height: 2em;
|
|
|
|
|
|
|
|
.container-channel-chat-messages {
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: stretch;
|
|
|
|
|
|
|
|
min-height: 2em;
|
2019-07-10 00:52:08 +02:00
|
|
|
}
|
2019-08-21 10:00:01 +02:00
|
|
|
|
|
|
|
.container-messages {
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
|
|
|
|
|
|
|
min-height: 2em;
|
|
|
|
|
|
|
|
.message-entry {
|
|
|
|
flex-shrink: 0;
|
|
|
|
flex-grow: 0;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: stretch;
|
|
|
|
|
|
|
|
.container-avatar {
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
display: inline-block;
|
|
|
|
margin: 1em 1em .5em .5em;
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
width: 2.5em;
|
|
|
|
height: 2.5em;
|
|
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.container-message {
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 1;
|
|
|
|
|
|
|
|
min-width: 2em;
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
|
|
|
@include user-select(text);
|
|
|
|
|
|
|
|
background: #303030;
|
|
|
|
border-radius: 6px 6px 6px 6px;
|
|
|
|
|
|
|
|
margin-top: .5em;
|
|
|
|
padding: .5em;
|
|
|
|
|
|
|
|
.info {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
white-space : nowrap;
|
|
|
|
overflow : hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
|
|
.client-name, .client-name .htmltag-client {
|
|
|
|
display: inline;
|
|
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
color: $color_client_normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timestamp {
|
|
|
|
display: inline;
|
|
|
|
|
|
|
|
font-size: 0.66em;
|
|
|
|
color: #5d5b5b;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-delete {
|
|
|
|
width: 1.1em;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
display: inline-block;
|
|
|
|
align-self: auto;
|
|
|
|
|
|
|
|
opacity: .25;
|
|
|
|
|
|
|
|
> img {
|
|
|
|
vertical-align: text-top;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include transform(opacity $button_hover_animation_time ease-in-out);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.message {
|
|
|
|
color: #b5b5b5;
|
|
|
|
line-height: 1.1em;
|
|
|
|
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
content: ' ';
|
|
|
|
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
|
|
|
|
margin-left: calc(-.5em - 1em);
|
|
|
|
border-top: .5em solid transparent;
|
|
|
|
border-right: .75em solid #303030;
|
|
|
|
border-bottom: .5em solid transparent;
|
|
|
|
|
|
|
|
top: 1.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.spacer-entry {
|
|
|
|
text-align: center;
|
|
|
|
//padding: .5em 1em;
|
|
|
|
color: #565353;
|
|
|
|
|
|
|
|
&.type-new {
|
|
|
|
color: darkred; /* TODO: Evaluate color */
|
|
|
|
}
|
|
|
|
|
|
|
|
&.type-old {
|
|
|
|
opacity: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
height: 0;
|
|
|
|
@include transition(opacity .25s ease-in-out);
|
|
|
|
&.shown {
|
|
|
|
height: unset;
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
pointer-events: all;
|
|
|
|
|
|
|
|
opacity: 1;
|
|
|
|
@include transition(opacity .25s ease-in-out);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include chat-scrollbar();
|
2019-07-10 00:52:08 +02:00
|
|
|
}
|
2019-08-21 10:00:01 +02:00
|
|
|
|
|
|
|
.new-message {
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
color: #8b8b8b;
|
|
|
|
|
|
|
|
background: #353535; /* if we dont support gradients */
|
|
|
|
background: linear-gradient(#35353500 10%, #353535 70%);
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
opacity: 0;
|
|
|
|
@include transition(opacity .25s ease-in-out);
|
|
|
|
&.shown {
|
|
|
|
cursor: pointer;
|
|
|
|
pointer-events: all;
|
|
|
|
|
|
|
|
opacity: 1;
|
|
|
|
@include transition(opacity .25s ease-in-out);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-19 17:13:40 +02:00
|
|
|
.no-permissions, .private-conversation, .not-supported {
|
2019-08-21 10:00:01 +02:00
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
color: #5a5a5a;
|
|
|
|
background: #353535;
|
|
|
|
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
> div {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> .container-chatbox {
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
|
|
min-height: 2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.container-client-info {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: stretch;
|
|
|
|
|
|
|
|
padding-right: 5px;
|
|
|
|
padding-left: 5px;
|
|
|
|
|
|
|
|
.heading {
|
|
|
|
flex-shrink: 0;
|
|
|
|
flex-grow: 0;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: stretch;
|
|
|
|
|
|
|
|
.container-avatar {
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
display: inline-block;
|
|
|
|
margin: calc(#{$client_info_avatar_size} / -2) .75em .5em .5em;
|
|
|
|
|
|
|
|
align-self: center;
|
|
|
|
|
2019-10-13 21:33:07 +02:00
|
|
|
border-radius: 50%;
|
|
|
|
overflow: hidden;
|
|
|
|
|
2019-08-21 10:00:01 +02:00
|
|
|
.avatar {
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
width: $client_info_avatar_size;
|
|
|
|
height: $client_info_avatar_size;
|
|
|
|
|
2019-10-13 21:33:07 +02:00
|
|
|
@include transition(opacity $button_hover_animation_time ease-in-out);
|
2019-08-21 10:00:01 +02:00
|
|
|
}
|
|
|
|
|
2019-10-13 21:33:07 +02:00
|
|
|
.container-avatar-edit {
|
|
|
|
position: absolute;
|
2019-08-21 10:00:01 +02:00
|
|
|
|
2019-10-13 21:33:07 +02:00
|
|
|
display: none;
|
2019-08-21 10:00:01 +02:00
|
|
|
|
2019-10-13 21:33:07 +02:00
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
2019-08-21 10:00:01 +02:00
|
|
|
|
2019-10-13 21:33:07 +02:00
|
|
|
z-index: 2;
|
2019-08-21 10:00:01 +02:00
|
|
|
|
2019-10-13 21:33:07 +02:00
|
|
|
text-align: center;
|
2019-08-21 10:00:01 +02:00
|
|
|
|
2019-10-13 21:33:07 +02:00
|
|
|
> img {
|
|
|
|
cursor: pointer;
|
2019-08-21 10:00:01 +02:00
|
|
|
|
2019-10-13 21:33:07 +02:00
|
|
|
width: $client_info_avatar_size;
|
|
|
|
height: $client_info_avatar_size;
|
2019-08-21 10:00:01 +02:00
|
|
|
|
2019-10-13 21:33:07 +02:00
|
|
|
padding: calc(#{$client_info_avatar_size} / 6);
|
2019-08-21 10:00:01 +02:00
|
|
|
|
2019-10-13 21:33:07 +02:00
|
|
|
overflow: hidden;
|
|
|
|
opacity: 0;
|
2019-08-21 10:00:01 +02:00
|
|
|
|
2019-10-13 21:33:07 +02:00
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
@include transition(opacity $button_hover_animation_time ease-in-out);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.editable {
|
|
|
|
.container-avatar-edit {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container-avatar-edit:hover + .avatar {
|
|
|
|
opacity: .5;
|
2019-08-21 10:00:01 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.client-name {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
.htmltag-client {
|
|
|
|
text-align: center;
|
|
|
|
font-size: 1.5em;
|
|
|
|
color: $color_client_normal;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.container-description {
|
|
|
|
padding-right: calc(#{$client_info_avatar_size} / 2);
|
|
|
|
padding-left: calc(#{$client_info_avatar_size} / 2);
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: stretch;
|
|
|
|
|
|
|
|
.client-description {
|
|
|
|
color: #6f6f6f;
|
|
|
|
|
|
|
|
max-width: 100%;
|
|
|
|
flex-shrink: 1;
|
|
|
|
flex-grow: 1;
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.general-info {
|
|
|
|
padding-top: 1em;
|
|
|
|
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: stretch;
|
|
|
|
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
|
|
|
|
.block {
|
|
|
|
display: inline-block;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
|
|
|
|
min-width: 6em;
|
|
|
|
|
|
|
|
&.block-right {
|
|
|
|
text-align: right;
|
|
|
|
|
|
|
|
.container-property {
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
|
|
|
|
.icon_em {
|
|
|
|
margin-left: .2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.value {
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.block-left {
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
.container-property {
|
|
|
|
.icon_em {
|
|
|
|
margin-right: .2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.value {
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.container-property {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: stretch;
|
|
|
|
|
|
|
|
> .icon_em {
|
|
|
|
margin-top: .1em;
|
|
|
|
margin-bottom: .1em;
|
|
|
|
|
|
|
|
font-size: 2em;
|
|
|
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
flex-grow: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.list {
|
|
|
|
> .icon_em {
|
|
|
|
margin-top: 0; /* for lists the .1em patting on the top looks odd */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.property {
|
|
|
|
line-height: 1.1em;
|
|
|
|
|
|
|
|
flex-shrink: 1;
|
|
|
|
flex-grow: 1;
|
|
|
|
|
|
|
|
min-width: 4em; /* 2em for the icon the last 4 for the text */
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
|
|
|
.title, .value {
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
color: #636363;
|
|
|
|
font-weight: bold;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
.value {
|
|
|
|
color: #d9d9d9;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
.country {
|
|
|
|
margin-right: .2em;
|
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.group-container {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
justify-content: flex-start;
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
|
|
|
|
.icon-container, .icon_empty, .icon {
|
|
|
|
margin-left: .5em;
|
|
|
|
align-self: center;
|
|
|
|
|
|
|
|
& > img {
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-entry {
|
|
|
|
> .icon_em {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.away-message {
|
|
|
|
margin-left: .25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.client-teaforo-account {
|
|
|
|
a, a:visited {
|
|
|
|
color: #d9d9d9;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.list {
|
|
|
|
.property {
|
|
|
|
.value {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(first-of-type) {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-close {
|
|
|
|
font-size: 4em;
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
|
|
|
|
opacity: 0.3;
|
|
|
|
|
|
|
|
width: .5em;
|
|
|
|
height: .5em;
|
|
|
|
|
|
|
|
margin-right: .1em;
|
|
|
|
margin-top: .1em;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
@include transition(opacity $button_hover_animation_time ease-in-out);
|
|
|
|
|
|
|
|
&:before, &:after {
|
|
|
|
position: absolute;
|
|
|
|
left: .25em;
|
|
|
|
content: ' ';
|
|
|
|
height: .5em;
|
|
|
|
width: .05em;
|
|
|
|
background-color: #5a5a5a;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
transform: rotate(-45deg);
|
|
|
|
}
|
|
|
|
}
|
2019-08-30 23:06:39 +02:00
|
|
|
|
|
|
|
.button-more {
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
|
|
height: 1.5em;
|
|
|
|
font-size: 1.25em;
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
color: #999999;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
margin-left: -5px;
|
|
|
|
margin-right: -5px;
|
|
|
|
|
|
|
|
background-color: #2d2d2d;
|
|
|
|
|
|
|
|
border-bottom-right-radius: 5px;
|
|
|
|
border-bottom-left-radius: 5px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: #393939;
|
|
|
|
}
|
|
|
|
@include transition($button_hover_animation_time ease-in-out);
|
|
|
|
}
|
2019-08-21 10:00:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.container-private-conversations, .container-channel-chat {
|
|
|
|
.container-message .emoji {
|
2019-10-19 17:13:40 +02:00
|
|
|
height: 1.1em;
|
|
|
|
width: 1.1em;
|
2019-08-21 10:00:01 +02:00
|
|
|
|
|
|
|
margin-left: .1em;
|
|
|
|
margin-right: .1em;
|
|
|
|
|
2019-10-19 17:13:40 +02:00
|
|
|
vertical-align: text-bottom;
|
2019-07-10 00:52:08 +02:00
|
|
|
}
|
|
|
|
}
|
2019-12-21 15:01:18 +01:00
|
|
|
|
|
|
|
.container-format-helper {
|
|
|
|
flex-shrink: 0;
|
|
|
|
flex-grow: 0;
|
|
|
|
|
|
|
|
min-height: unset;
|
|
|
|
height: initial;
|
|
|
|
|
|
|
|
color: #555555;
|
|
|
|
font-size: .8em;
|
|
|
|
text-align: right;
|
|
|
|
margin: -3px 2px 2px 2.5em;
|
|
|
|
|
|
|
|
@include text-dotdotdot();
|
|
|
|
@include transition($button_hover_animation_time ease-in-out);
|
|
|
|
|
|
|
|
max-height: 2em; /* for a smooth transition */
|
|
|
|
&.hidden {
|
|
|
|
max-height: 0;
|
|
|
|
}
|
|
|
|
}
|
2019-12-21 15:53:19 +01:00
|
|
|
|
|
|
|
/* special xbbcode formats */
|
|
|
|
.container-message .message {
|
|
|
|
hr {
|
|
|
|
border: none;
|
|
|
|
border-top: .125em solid #555;
|
|
|
|
|
|
|
|
margin-top: .1em;
|
|
|
|
margin-bottom: .1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
th, td {
|
|
|
|
border-color: #1e2025;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr {
|
|
|
|
background-color: #303036;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr:nth-child(2n) {
|
|
|
|
background-color: #25252a;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-01-31 00:54:00 +01:00
|
|
|
|
|
|
|
.container-music-info {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: stretch;
|
|
|
|
|
|
|
|
padding-right: 5px;
|
|
|
|
padding-left: 5px;
|
|
|
|
|
|
|
|
.player {
|
|
|
|
flex-shrink: 0;
|
|
|
|
flex-grow: 0;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: stretch;
|
|
|
|
|
|
|
|
.container-thumbnail {
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
display: inline-block;
|
|
|
|
margin: calc(#{$bot_thumbnail_height} / -2) .75em .5em .5em;
|
|
|
|
|
|
|
|
align-self: center;
|
|
|
|
|
|
|
|
border-radius: .5em;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
.thumbnail {
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
width: $bot_thumbnail_width;
|
|
|
|
height: $bot_thumbnail_height;
|
|
|
|
|
|
|
|
@include transition(opacity $button_hover_animation_time ease-in-out);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-close {
|
|
|
|
font-size: 4em;
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
|
|
|
|
opacity: 0.3;
|
|
|
|
|
|
|
|
width: .5em;
|
|
|
|
height: .5em;
|
|
|
|
|
|
|
|
margin-right: .1em;
|
|
|
|
margin-top: .1em;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
@include transition(opacity $button_hover_animation_time ease-in-out);
|
|
|
|
|
|
|
|
&:before, &:after {
|
|
|
|
position: absolute;
|
|
|
|
left: .25em;
|
|
|
|
content: ' ';
|
|
|
|
height: .5em;
|
|
|
|
width: .05em;
|
|
|
|
background-color: #5a5a5a;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
transform: rotate(-45deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-07-10 00:52:08 +02:00
|
|
|
}
|
|
|
|
}
|