2023-09-08 18:14:09 +00:00
|
|
|
@import "vars";
|
|
|
|
|
2023-02-08 05:14:48 +00:00
|
|
|
.chat {
|
|
|
|
background: white;
|
|
|
|
}
|
2021-07-25 03:07:26 +00:00
|
|
|
#chat-log p {
|
|
|
|
margin: 0;
|
|
|
|
padding-top: 0.1em;
|
|
|
|
padding-bottom: 0.1em;
|
2022-02-02 09:03:57 +00:00
|
|
|
overflow-wrap: anywhere;
|
2021-07-25 03:07:26 +00:00
|
|
|
}
|
|
|
|
.chatbtn_remove_mess {
|
|
|
|
float: right;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
#chat-log {
|
|
|
|
padding: 0;
|
|
|
|
padding-top: 2em;
|
|
|
|
width: 100%;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
#chat-log li {
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0.5em;
|
|
|
|
}
|
|
|
|
#chat-submit {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
.big-emoji {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
#chat-online {
|
|
|
|
border-right: 1px solid #ccc;
|
|
|
|
padding-bottom: 0 !important;
|
|
|
|
border-bottom: 0;
|
2023-08-29 23:36:01 +00:00
|
|
|
font-size: 1.2em;
|
2021-07-25 03:07:26 +00:00
|
|
|
}
|
|
|
|
#chat-online-content {
|
|
|
|
margin-bottom: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
overflow-y: auto;
|
2023-08-29 23:36:01 +00:00
|
|
|
max-height: 100%;
|
2021-07-25 03:07:26 +00:00
|
|
|
}
|
|
|
|
#chat-box {
|
|
|
|
/*border: 1px solid #ccc;*/
|
|
|
|
/*border-top-right-radius: 4px;*/
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
overflow-y: scroll;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
2023-08-30 02:50:33 +00:00
|
|
|
flex-grow: 1;
|
2023-09-25 07:12:06 +00:00
|
|
|
padding-left: 0.5em;
|
2021-07-25 03:07:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#chat-input {
|
|
|
|
color: black;
|
2023-09-25 07:12:06 +00:00
|
|
|
border: 2px solid black;
|
|
|
|
}
|
|
|
|
#chat-input::placeholder {
|
|
|
|
color: grey;
|
2021-07-25 03:07:26 +00:00
|
|
|
}
|
|
|
|
#chat-online-content {
|
|
|
|
padding: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2023-08-29 23:36:01 +00:00
|
|
|
.selected-status-row {
|
|
|
|
background-color: lightgray;
|
|
|
|
}
|
|
|
|
.status_last_message {
|
|
|
|
color: darkgray;
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
|
|
|
|
2021-07-25 03:07:26 +00:00
|
|
|
@media (min-width: 800px) {
|
|
|
|
#chat-container {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
2023-09-25 08:50:30 +00:00
|
|
|
height: calc(100vh - $navbar_height);
|
2021-07-25 03:07:26 +00:00
|
|
|
border: 1px solid #ccc;
|
|
|
|
/*border-radius: 0 4px 0 0;*/
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
#chat-online {
|
|
|
|
margin: 0;
|
2024-01-04 00:09:40 +00:00
|
|
|
min-width: 30%;
|
|
|
|
max-width: 30%;
|
2023-08-29 23:36:01 +00:00
|
|
|
}
|
|
|
|
#chat-area {
|
|
|
|
flex-grow: 1;
|
2024-01-09 00:47:55 +00:00
|
|
|
min-width: 70%;
|
|
|
|
max-width: 70%;
|
2021-07-25 03:07:26 +00:00
|
|
|
}
|
|
|
|
}
|
2021-11-21 04:23:03 +00:00
|
|
|
#chat-input, #chat-log .content-message {
|
2023-01-14 06:46:10 +00:00
|
|
|
font-family: "Noto Sans", Arial, "Lucida Grande", sans-serif;
|
2021-11-21 04:23:03 +00:00
|
|
|
}
|
|
|
|
.info-pic {
|
2023-09-25 07:12:06 +00:00
|
|
|
height: 95%;
|
2021-11-21 04:23:03 +00:00
|
|
|
}
|
2023-08-30 02:50:33 +00:00
|
|
|
|
2021-11-21 04:23:03 +00:00
|
|
|
.info-name {
|
|
|
|
margin-left: 10px;
|
2023-09-25 07:12:06 +00:00
|
|
|
font-size: 1.8em;
|
2021-11-21 04:23:03 +00:00
|
|
|
font-weight: bold !important;
|
2021-12-16 20:16:49 +00:00
|
|
|
display: flex;
|
2023-03-03 00:43:15 +00:00
|
|
|
align-items: center;
|
2021-11-21 04:23:03 +00:00
|
|
|
}
|
|
|
|
.info-name a {
|
|
|
|
display: table-caption;
|
|
|
|
}
|
|
|
|
#chat-info {
|
|
|
|
display: flex;
|
2023-03-03 00:43:15 +00:00
|
|
|
align-items: center;
|
|
|
|
box-shadow: 0px 2px 3px rgb(0 0 0 / 20%);
|
|
|
|
position: relative;
|
|
|
|
z-index: 100;
|
2021-11-21 04:23:03 +00:00
|
|
|
}
|
|
|
|
.status-pic {
|
2023-08-29 23:36:01 +00:00
|
|
|
height: 32px;
|
|
|
|
width: 32px;
|
|
|
|
border-radius: 50%;
|
2021-11-21 04:23:03 +00:00
|
|
|
}
|
|
|
|
.status-container {
|
|
|
|
position: relative;
|
|
|
|
display: inline-flex;
|
2023-08-29 23:36:01 +00:00
|
|
|
flex: 0 0 auto;
|
2023-09-25 07:12:06 +00:00
|
|
|
align-items: center;
|
2021-11-21 04:23:03 +00:00
|
|
|
}
|
|
|
|
.status-circle {
|
2023-02-08 05:14:48 +00:00
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
2021-11-21 04:23:03 +00:00
|
|
|
right: 0;
|
2023-08-29 23:36:01 +00:00
|
|
|
cx: 27px;
|
|
|
|
cy: 27px;
|
2021-11-21 04:23:03 +00:00
|
|
|
r: 4.5px;
|
|
|
|
stroke: white;
|
|
|
|
stroke-width: 1;
|
|
|
|
}
|
|
|
|
.status-row {
|
|
|
|
display: flex;
|
2023-08-29 23:36:01 +00:00
|
|
|
padding: 15px;
|
2023-12-30 23:57:37 +00:00
|
|
|
padding-right: 0;
|
2023-08-29 23:36:01 +00:00
|
|
|
gap: 0.5em;
|
2023-08-30 02:50:33 +00:00
|
|
|
border-radius: 6px;
|
2021-11-21 04:23:03 +00:00
|
|
|
}
|
|
|
|
.status-row:hover {
|
|
|
|
background: lightgray;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.status-list {
|
|
|
|
padding: 0;
|
2023-08-29 23:36:01 +00:00
|
|
|
margin: 0;
|
2021-11-21 04:23:03 +00:00
|
|
|
}
|
|
|
|
.status-section-title {
|
|
|
|
cursor: pointer;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
2022-02-02 09:03:57 +00:00
|
|
|
.message-text {
|
|
|
|
padding: 0.4em 0.6em 0.5em;
|
2023-09-25 07:12:06 +00:00
|
|
|
border-radius: 20px;
|
2022-02-02 09:03:57 +00:00
|
|
|
max-width: 70%;
|
|
|
|
width: fit-content;
|
2023-09-25 07:12:06 +00:00
|
|
|
font-size: 1rem;
|
|
|
|
line-height: 1.2;
|
2022-02-02 09:03:57 +00:00
|
|
|
}
|
|
|
|
.message-text-other {
|
|
|
|
background: #eeeeee;
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
.message-text-myself {
|
|
|
|
background: rgb(0, 132, 255);
|
|
|
|
color: white;
|
|
|
|
}
|
2023-08-30 02:50:33 +00:00
|
|
|
.chat-input-icon {
|
2023-09-25 07:12:06 +00:00
|
|
|
color: white;
|
|
|
|
background-color: #3c8262;
|
2023-08-30 02:50:33 +00:00
|
|
|
}
|
|
|
|
.chat-input-icon:hover {
|
2023-09-25 07:12:06 +00:00
|
|
|
background: #57b28b;
|
2023-08-30 02:50:33 +00:00
|
|
|
}
|
2022-12-18 09:31:31 +00:00
|
|
|
.chat {
|
|
|
|
.active-span {
|
|
|
|
color: #636363;
|
2023-03-03 00:43:15 +00:00
|
|
|
margin-right: 1em;
|
2022-12-18 09:31:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.unread-count {
|
|
|
|
color: white;
|
|
|
|
background-color: darkcyan;
|
2023-09-25 07:12:06 +00:00
|
|
|
border-radius: 50%;
|
|
|
|
align-self: center;
|
|
|
|
flex: 0 0 1.25rem;
|
|
|
|
height: 1.25rem;
|
|
|
|
font-size: smaller;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2022-12-18 09:31:31 +00:00
|
|
|
}
|
2023-12-30 23:57:37 +00:00
|
|
|
.setting-content {
|
2022-12-18 09:31:31 +00:00
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
background-color: #f1f1f1;
|
|
|
|
min-width: 160px;
|
|
|
|
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
|
|
|
z-index: 1;
|
|
|
|
right: 0;
|
|
|
|
}
|
2023-12-30 23:57:37 +00:00
|
|
|
.setting-content a {
|
2022-12-18 09:31:31 +00:00
|
|
|
padding: 12px 16px;
|
|
|
|
text-decoration: none;
|
|
|
|
display: block;
|
|
|
|
font-weight: bold;
|
2023-12-30 23:57:37 +00:00
|
|
|
font-size: 1rem;
|
2022-12-18 09:31:31 +00:00
|
|
|
}
|
2023-12-30 23:57:37 +00:00
|
|
|
.setting-content a:hover {
|
2022-12-18 09:31:31 +00:00
|
|
|
background-color: #ddd;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-25 03:07:26 +00:00
|
|
|
@media (max-width: 799px) {
|
|
|
|
#chat-area {
|
2023-09-25 07:12:06 +00:00
|
|
|
height: calc(100vh - $navbar_height_mobile);
|
2023-09-25 08:50:30 +00:00
|
|
|
max-height: -webkit-fill-available;
|
2021-07-25 03:07:26 +00:00
|
|
|
}
|
|
|
|
}
|