2020-10-12 11:19:10 +00:00
|
|
|
@font-face {
|
|
|
|
font-family: Whitney;
|
|
|
|
font-weight: 400;
|
|
|
|
src: url(/static/whitney-400.woff?static=0f823bc4b5) format("woff2");
|
|
|
|
}
|
2020-10-11 13:26:24 +00:00
|
|
|
@font-face {
|
|
|
|
font-family: Whitney;
|
|
|
|
font-weight: 500;
|
|
|
|
src: url(/static/whitney-500.woff?static=ba33ed18fe) format("woff2");
|
|
|
|
}
|
|
|
|
body {
|
|
|
|
font-family: sans-serif;
|
|
|
|
background-color: #36393e;
|
|
|
|
color: #ddd;
|
2020-10-12 11:19:10 +00:00
|
|
|
font-size: 16px;
|
2020-10-11 13:26:24 +00:00
|
|
|
font-family: Whitney;
|
2020-10-12 11:19:10 +00:00
|
|
|
line-height: 1.45;
|
2020-10-11 13:26:24 +00:00
|
|
|
margin: 0;
|
|
|
|
height: 100vh;
|
2020-10-12 11:19:10 +00:00
|
|
|
font-weight: 400;
|
2020-10-11 13:26:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.main {
|
|
|
|
height: 100vh;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c-rooms {
|
|
|
|
background-color: #2f3135;
|
|
|
|
padding: 8px;
|
|
|
|
width: 240px;
|
2020-10-15 09:06:41 +00:00
|
|
|
font-size: 18px;
|
2020-10-12 11:19:10 +00:00
|
|
|
font-weight: 500;
|
2020-10-15 03:43:37 +00:00
|
|
|
overflow-y: auto;
|
2020-10-11 13:26:24 +00:00
|
|
|
scrollbar-width: thin;
|
2020-10-12 11:19:10 +00:00
|
|
|
scrollbar-color: #202224 #2f3135;
|
|
|
|
flex-shrink: 0;
|
2020-10-11 13:26:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.c-room {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2020-10-15 03:43:37 +00:00
|
|
|
padding: 6px 8px;
|
|
|
|
margin: 2px 0;
|
2020-10-11 13:26:24 +00:00
|
|
|
cursor: pointer;
|
2020-10-15 03:43:37 +00:00
|
|
|
border-radius: 8px;
|
2020-10-11 13:26:24 +00:00
|
|
|
}
|
2020-10-15 03:43:37 +00:00
|
|
|
.c-room:not(.c-room--active):hover {
|
2020-10-11 13:26:24 +00:00
|
|
|
background-color: #393c42;
|
2020-10-15 03:43:37 +00:00
|
|
|
}
|
|
|
|
.c-room--active {
|
|
|
|
background-color: #42454a;
|
2020-10-11 13:26:24 +00:00
|
|
|
}
|
|
|
|
.c-room__icon {
|
2020-10-15 03:43:37 +00:00
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
2020-10-11 13:26:24 +00:00
|
|
|
margin-right: 8px;
|
|
|
|
border-radius: 50%;
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
2020-10-15 09:06:41 +00:00
|
|
|
.c-room__icon--no-icon {
|
|
|
|
background-color: #bbb;
|
|
|
|
}
|
2020-10-11 13:26:24 +00:00
|
|
|
.c-room__name {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c-groups {
|
|
|
|
position: relative;
|
|
|
|
width: 80px;
|
2020-10-12 11:19:10 +00:00
|
|
|
flex-shrink: 0;
|
2020-10-19 07:20:08 +00:00
|
|
|
font-size: 22px;
|
2020-10-12 11:19:10 +00:00
|
|
|
font-weight: 500;
|
2020-10-11 13:26:24 +00:00
|
|
|
}
|
|
|
|
.c-groups__display {
|
|
|
|
background-color: #202224;
|
|
|
|
overflow: hidden;
|
|
|
|
width: 80px;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
2020-10-12 11:19:10 +00:00
|
|
|
transition: width ease-out 0.12s;
|
2020-10-12 12:35:54 +00:00
|
|
|
scrollbar-width: thin;
|
|
|
|
scrollbar-color: #42454a #202224;
|
2020-10-11 13:26:24 +00:00
|
|
|
}
|
|
|
|
.c-groups__display:not(.c-groups__display--closed):hover {
|
2020-10-12 12:35:54 +00:00
|
|
|
width: 320px;
|
|
|
|
overflow-y: auto;
|
2020-10-11 13:26:24 +00:00
|
|
|
}
|
|
|
|
.c-groups__container {
|
2020-10-12 12:35:54 +00:00
|
|
|
width: 320px;
|
2020-10-11 13:26:24 +00:00
|
|
|
padding: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c-group {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: 4px 8px;
|
|
|
|
cursor: pointer;
|
|
|
|
border-radius: 8px;
|
|
|
|
}
|
|
|
|
.c-group:hover {
|
|
|
|
background-color: #2f3135;
|
|
|
|
}
|
|
|
|
.c-group__icon {
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
2020-10-12 12:35:54 +00:00
|
|
|
background-color: #393c42;
|
2020-10-11 13:26:24 +00:00
|
|
|
border-radius: 50%;
|
|
|
|
margin-right: 16px;
|
|
|
|
flex-shrink: 0;
|
2020-10-12 13:26:10 +00:00
|
|
|
transition: border-radius ease-out 0.12s;
|
|
|
|
}
|
|
|
|
.c-group--active .c-group__icon {
|
|
|
|
border-radius: 28%;
|
2020-10-11 13:26:24 +00:00
|
|
|
}
|
|
|
|
.c-group__name {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2020-10-12 11:19:10 +00:00
|
|
|
}
|
|
|
|
|
2020-10-12 13:26:10 +00:00
|
|
|
.c-group-marker {
|
|
|
|
position: absolute;
|
|
|
|
top: 5px;
|
2020-10-15 03:43:37 +00:00
|
|
|
opacity: 0;
|
2020-10-12 13:26:10 +00:00
|
|
|
transform: translateY(8px);
|
2020-10-15 03:43:37 +00:00
|
|
|
transition: transform ease 0.12s, opacity ease-out 0.12s;
|
2020-10-12 13:26:10 +00:00
|
|
|
height: 46px;
|
|
|
|
width: 6px;
|
|
|
|
background-color: #ccc;
|
|
|
|
border-radius: 0px 6px 6px 0px;
|
|
|
|
}
|
|
|
|
|
2020-10-19 05:37:17 +00:00
|
|
|
.c-event-groups * {
|
|
|
|
overflow-anchor: none;
|
|
|
|
}
|
|
|
|
|
2020-10-12 12:35:54 +00:00
|
|
|
.c-message-group, .c-message-event {
|
2020-10-12 11:19:10 +00:00
|
|
|
margin-top: 12px;
|
|
|
|
padding-top: 12px;
|
|
|
|
border-top: 1px solid #4b4e54;
|
|
|
|
}
|
2020-10-12 12:35:54 +00:00
|
|
|
|
|
|
|
.c-message-group {
|
|
|
|
display: flex;
|
|
|
|
}
|
2020-10-12 11:19:10 +00:00
|
|
|
.c-message-group__avatar {
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin-right: 16px;
|
2020-10-12 12:35:54 +00:00
|
|
|
cursor: pointer;
|
2020-10-12 11:19:10 +00:00
|
|
|
}
|
|
|
|
.c-message-group__icon {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
border-radius: 50%;
|
|
|
|
background-color: #48d;
|
|
|
|
}
|
2020-10-12 12:35:54 +00:00
|
|
|
.c-message-group__intro {
|
|
|
|
display: flex;
|
|
|
|
align-items: baseline;
|
|
|
|
}
|
2020-10-12 11:19:10 +00:00
|
|
|
.c-message-group__name {
|
|
|
|
color: #5bf;
|
|
|
|
margin: -2px 0px -3px;
|
|
|
|
font-size: 19px;
|
|
|
|
font-weight: 500;
|
2020-10-12 12:35:54 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.c-message-group__name:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
.c-message-group__date {
|
|
|
|
font-size: 14px;
|
|
|
|
margin-left: 9px;
|
|
|
|
color: #999;
|
2020-10-12 11:19:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.c-message {
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
|
2020-10-12 12:35:54 +00:00
|
|
|
.c-message-event {
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-left: 6px;
|
|
|
|
}
|
|
|
|
.c-message-event__inner {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.c-message-event__icon {
|
|
|
|
margin-right: 8px;
|
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c-message-notice {
|
|
|
|
padding: 12px;
|
|
|
|
}
|
|
|
|
.c-message-notice__inner {
|
|
|
|
text-align: center;
|
|
|
|
padding: 12px;
|
|
|
|
background-color: #42454a;
|
|
|
|
border-radius: 8px;
|
|
|
|
}
|
|
|
|
|
2020-10-12 11:19:10 +00:00
|
|
|
.c-chat {
|
|
|
|
display: grid;
|
2020-10-19 05:37:17 +00:00
|
|
|
grid-template-rows: 1fr 82px;
|
2020-10-12 11:19:10 +00:00
|
|
|
align-items: end;
|
2020-10-15 13:24:15 +00:00
|
|
|
flex: 1;
|
2020-10-12 11:19:10 +00:00
|
|
|
}
|
|
|
|
.c-chat__messages {
|
|
|
|
height: 100%;
|
|
|
|
overflow-y: scroll;
|
|
|
|
scrollbar-color: #202224 #2f3135;
|
|
|
|
display: grid;
|
|
|
|
align-items: end;
|
|
|
|
}
|
|
|
|
.c-chat__inner {
|
|
|
|
padding: 20px 20px 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c-chat-input {
|
|
|
|
width: 100%;
|
|
|
|
border-top: 2px solid #4b4e54;
|
2020-10-19 05:37:17 +00:00
|
|
|
background-color: #36393e;
|
2020-10-12 11:19:10 +00:00
|
|
|
}
|
|
|
|
.c-chat-input__textarea {
|
|
|
|
width: calc(100% - 40px);
|
|
|
|
height: 39.2px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin: 20px;
|
|
|
|
padding: 8px;
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
background-color: #42454a;
|
|
|
|
color: #fff;
|
|
|
|
appearance: none;
|
|
|
|
-moz-appearance: none;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
border: none;
|
|
|
|
border-radius: 8px;
|
|
|
|
resize: none;
|
2020-10-19 05:37:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.c-anchor {
|
|
|
|
overflow-anchor: auto;
|
|
|
|
height: 1px;
|
2020-10-11 13:26:24 +00:00
|
|
|
}
|