|
@@ -58,7 +58,7 @@ body {
|
|
|
position: relative;
|
|
position: relative;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.header {
|
|
|
|
|
|
|
+.chat-container .header {
|
|
|
padding: 16px 24px;
|
|
padding: 16px 24px;
|
|
|
background-color: var(--panel);
|
|
background-color: var(--panel);
|
|
|
border-bottom: 1px solid var(--border);
|
|
border-bottom: 1px solid var(--border);
|
|
@@ -70,34 +70,34 @@ body {
|
|
|
z-index: 10;
|
|
z-index: 10;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.header-left {
|
|
|
|
|
|
|
+.chat-container .header-left {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
gap: 12px;
|
|
gap: 12px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.course-info {
|
|
|
|
|
|
|
+.chat-container .course-info {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.course-title {
|
|
|
|
|
|
|
+.chat-container .course-title {
|
|
|
font-weight: 600;
|
|
font-weight: 600;
|
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
|
color: var(--text-dark);
|
|
color: var(--text-dark);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.course-participants {
|
|
|
|
|
|
|
+.chat-container .course-participants {
|
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
|
color: var(--text-light);
|
|
color: var(--text-light);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.header-actions {
|
|
|
|
|
|
|
+.chat-container .header-actions {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
gap: 12px;
|
|
gap: 12px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.icon-button {
|
|
|
|
|
|
|
+.chat-container .icon-button {
|
|
|
width: 36px;
|
|
width: 36px;
|
|
|
height: 36px;
|
|
height: 36px;
|
|
|
border-radius: 50%;
|
|
border-radius: 50%;
|
|
@@ -111,14 +111,14 @@ body {
|
|
|
transition: var(--transition);
|
|
transition: var(--transition);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.icon-button:hover {
|
|
|
|
|
|
|
+.chat-container .icon-button:hover {
|
|
|
background-color: var(--primary-light);
|
|
background-color: var(--primary-light);
|
|
|
color: white;
|
|
color: white;
|
|
|
transform: translateY(-2px);
|
|
transform: translateY(-2px);
|
|
|
box-shadow: var(--hover-shadow);
|
|
box-shadow: var(--hover-shadow);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.icon-button svg {
|
|
|
|
|
|
|
+.chat-container .icon-button svg {
|
|
|
width: 18px;
|
|
width: 18px;
|
|
|
height: 18px;
|
|
height: 18px;
|
|
|
}
|
|
}
|
|
@@ -182,7 +182,7 @@ body {
|
|
|
color: var(--text-light);
|
|
color: var(--text-light);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.badge {
|
|
|
|
|
|
|
+.chat-container .badge {
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
top: 8px;
|
|
top: 8px;
|
|
|
right: 8px;
|
|
right: 8px;
|
|
@@ -194,7 +194,7 @@ body {
|
|
|
border-radius: 10px;
|
|
border-radius: 10px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.chat-content {
|
|
|
|
|
|
|
+.chat-container .chat-content {
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
overflow-y: auto;
|
|
overflow-y: auto;
|
|
|
padding: 24px;
|
|
padding: 24px;
|
|
@@ -204,20 +204,20 @@ body {
|
|
|
scroll-behavior: smooth;
|
|
scroll-behavior: smooth;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.chat-content::-webkit-scrollbar {
|
|
|
|
|
|
|
+.chat-container .chat-content::-webkit-scrollbar {
|
|
|
width: 6px;
|
|
width: 6px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.chat-content::-webkit-scrollbar-track {
|
|
|
|
|
|
|
+.chat-container .chat-content::-webkit-scrollbar-track {
|
|
|
background: transparent;
|
|
background: transparent;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.chat-content::-webkit-scrollbar-thumb {
|
|
|
|
|
|
|
+.chat-container .chat-content::-webkit-scrollbar-thumb {
|
|
|
background-color: var(--border);
|
|
background-color: var(--border);
|
|
|
border-radius: 6px;
|
|
border-radius: 6px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.message {
|
|
|
|
|
|
|
+.chat-container .message {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
max-width: 80%;
|
|
max-width: 80%;
|
|
@@ -236,22 +236,22 @@ body {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.message.myself {
|
|
|
|
|
|
|
+.chat-container .message.myself {
|
|
|
align-self: flex-end;
|
|
align-self: flex-end;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.message.other {
|
|
|
|
|
|
|
+.chat-container .message.other {
|
|
|
align-self: flex-start;
|
|
align-self: flex-start;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.message-header {
|
|
|
|
|
|
|
+.chat-container .message-header {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
gap: 8px;
|
|
gap: 8px;
|
|
|
margin-bottom: 4px;
|
|
margin-bottom: 4px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.avatar {
|
|
|
|
|
|
|
+.chat-container .avatar {
|
|
|
width: 28px;
|
|
width: 28px;
|
|
|
height: 28px;
|
|
height: 28px;
|
|
|
border-radius: 50%;
|
|
border-radius: 50%;
|
|
@@ -264,18 +264,18 @@ body {
|
|
|
flex-shrink: 0;
|
|
flex-shrink: 0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.sender-name {
|
|
|
|
|
|
|
+.chat-container .sender-name {
|
|
|
font-size: 13px;
|
|
font-size: 13px;
|
|
|
font-weight: 600;
|
|
font-weight: 600;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.timestamp {
|
|
|
|
|
|
|
+.chat-container .timestamp {
|
|
|
font-size: 11px;
|
|
font-size: 11px;
|
|
|
color: var(--text-light);
|
|
color: var(--text-light);
|
|
|
margin-left: auto;
|
|
margin-left: auto;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.message-bubble {
|
|
|
|
|
|
|
+.chat-container .message-bubble {
|
|
|
padding: 12px 16px;
|
|
padding: 12px 16px;
|
|
|
border-radius: 16px;
|
|
border-radius: 16px;
|
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
@@ -284,170 +284,170 @@ body {
|
|
|
transition: var(--transition);
|
|
transition: var(--transition);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.myself .message-bubble {
|
|
|
|
|
|
|
+.chat-container .myself .message-bubble {
|
|
|
border-top-right-radius: 4px;
|
|
border-top-right-radius: 4px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.other .message-bubble {
|
|
|
|
|
|
|
+.chat-container .other .message-bubble {
|
|
|
border-top-left-radius: 4px;
|
|
border-top-left-radius: 4px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-.myself2 .avatar {
|
|
|
|
|
|
|
+.chat-container .myself2 .avatar {
|
|
|
background-color: var(--myself-accent);
|
|
background-color: var(--myself-accent);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.myself2 .sender-name {
|
|
|
|
|
|
|
+.chat-container .myself2 .sender-name {
|
|
|
color: var(--myself-accent);
|
|
color: var(--myself-accent);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.myself2 .message-bubble {
|
|
|
|
|
|
|
+.chat-container .myself2 .message-bubble {
|
|
|
background-color: var(--myself);
|
|
background-color: var(--myself);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.other2 .avatar {
|
|
|
|
|
|
|
+.chat-container .other2 .avatar {
|
|
|
background-color: var(--other-accent);
|
|
background-color: var(--other-accent);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.other2 .sender-name {
|
|
|
|
|
|
|
+.chat-container .other2 .sender-name {
|
|
|
color: var(--other-accent);
|
|
color: var(--other-accent);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.other2 .message-bubble {
|
|
|
|
|
|
|
+.chat-container .other2 .message-bubble {
|
|
|
background-color: var(--other);
|
|
background-color: var(--other);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
-.FIBU .avatar {
|
|
|
|
|
|
|
+.chat-container .FIBU .avatar {
|
|
|
|
|
|
|
|
/* red */
|
|
/* red */
|
|
|
background-color: #dc3545;
|
|
background-color: #dc3545;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.FIBU .sender-name {
|
|
|
|
|
|
|
+.chat-container .FIBU .sender-name {
|
|
|
color: #dc3545;
|
|
color: #dc3545;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.FIBU .message-bubble {
|
|
|
|
|
|
|
+.chat-container .FIBU .message-bubble {
|
|
|
background-color: #d7c0c2;
|
|
background-color: #d7c0c2;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
-.GSL .avatar {
|
|
|
|
|
|
|
+.chat-container .GSL .avatar {
|
|
|
/* dark red */
|
|
/* dark red */
|
|
|
background-color: #6e131c;
|
|
background-color: #6e131c;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.GSL .sender-name {
|
|
|
|
|
|
|
+.chat-container .GSL .sender-name {
|
|
|
color: #6e131c;
|
|
color: #6e131c;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.GSL .message-bubble {
|
|
|
|
|
|
|
+.chat-container .GSL .message-bubble {
|
|
|
background-color: #d8acb0;
|
|
background-color: #d8acb0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
-.GWL .avatar {
|
|
|
|
|
|
|
+.chat-container .GWL .avatar {
|
|
|
/* orange */
|
|
/* orange */
|
|
|
background-color: #fd7e14;
|
|
background-color: #fd7e14;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.GWL .sender-name {
|
|
|
|
|
|
|
+.chat-container .GWL .sender-name {
|
|
|
color: #fd7e14;
|
|
color: #fd7e14;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.GWL .message-bubble {
|
|
|
|
|
|
|
+.chat-container .GWL .message-bubble {
|
|
|
background-color: #f7d8bf;
|
|
background-color: #f7d8bf;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
-.ZD .avatar {
|
|
|
|
|
|
|
+.chat-container .ZD .avatar {
|
|
|
/* purple */
|
|
/* purple */
|
|
|
background-color: #6f42c1;
|
|
background-color: #6f42c1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.ZD .sender-name {
|
|
|
|
|
|
|
+.chat-container .ZD .sender-name {
|
|
|
color: #6f42c1;
|
|
color: #6f42c1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.ZD .message-bubble {
|
|
|
|
|
|
|
+.chat-container .ZD .message-bubble {
|
|
|
background-color: #9f8cc2;
|
|
background-color: #9f8cc2;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
-.ALV .avatar {
|
|
|
|
|
|
|
+.chat-container .ALV .avatar {
|
|
|
/* dark blue */
|
|
/* dark blue */
|
|
|
background-color: #0c408f;
|
|
background-color: #0c408f;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.ALV .sender-name {
|
|
|
|
|
|
|
+.chat-container .ALV .sender-name {
|
|
|
color: #0c408f;
|
|
color: #0c408f;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.ALV .message-bubble {
|
|
|
|
|
|
|
+.chat-container .ALV .message-bubble {
|
|
|
background-color: #7e9ecd;
|
|
background-color: #7e9ecd;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
-.NAGA .avatar {
|
|
|
|
|
|
|
+.chat-container .NAGA .avatar {
|
|
|
/* blue */
|
|
/* blue */
|
|
|
background-color: #0d6efd;
|
|
background-color: #0d6efd;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.NAGA .sender-name {
|
|
|
|
|
|
|
+.chat-container .NAGA .sender-name {
|
|
|
color: #0d6efd;
|
|
color: #0d6efd;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.NAGA .message-bubble {
|
|
|
|
|
|
|
+.chat-container .NAGA .message-bubble {
|
|
|
background-color: #a1c5fa;
|
|
background-color: #a1c5fa;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
-.Serviceleiter .avatar {
|
|
|
|
|
|
|
+.chat-container .Serviceleiter .avatar {
|
|
|
/* green */
|
|
/* green */
|
|
|
background-color: #198754;
|
|
background-color: #198754;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.Serviceleiter .sender-name {
|
|
|
|
|
|
|
+.chat-container .Serviceleiter .sender-name {
|
|
|
color: #198754;
|
|
color: #198754;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.Serviceleiter .message-bubble {
|
|
|
|
|
|
|
+.chat-container .Serviceleiter .message-bubble {
|
|
|
background-color: #7aa490;
|
|
background-color: #7aa490;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
-.SC .avatar {
|
|
|
|
|
|
|
+.chat-container .SC .avatar {
|
|
|
/* teal */
|
|
/* teal */
|
|
|
background-color: #20c997;
|
|
background-color: #20c997;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.SC .sender-name {
|
|
|
|
|
|
|
+.chat-container .SC .sender-name {
|
|
|
color: #20c997;
|
|
color: #20c997;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.SC .message-bubble {
|
|
|
|
|
|
|
+.chat-container .SC .message-bubble {
|
|
|
background-color: #93d2bf;
|
|
background-color: #93d2bf;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
-.TUZ .avatar {
|
|
|
|
|
|
|
+.chat-container .TUZ .avatar {
|
|
|
/* grey */
|
|
/* grey */
|
|
|
background-color: #5b6067;
|
|
background-color: #5b6067;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.TUZ .sender-name {
|
|
|
|
|
|
|
+.chat-container .TUZ .sender-name {
|
|
|
color: #5b6067;
|
|
color: #5b6067;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.TUZ .message-bubble {
|
|
|
|
|
|
|
+.chat-container .TUZ .message-bubble {
|
|
|
background-color: #dce7f6;
|
|
background-color: #dce7f6;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-.message-actions {
|
|
|
|
|
|
|
+.chat-container .message-actions {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
gap: 8px;
|
|
gap: 8px;
|
|
|
margin-top: 6px;
|
|
margin-top: 6px;
|
|
@@ -456,11 +456,11 @@ body {
|
|
|
transition: var(--transition);
|
|
transition: var(--transition);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.message:hover .message-actions {
|
|
|
|
|
|
|
+.chat-container .message:hover .message-actions {
|
|
|
opacity: 1;
|
|
opacity: 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.action-button {
|
|
|
|
|
|
|
+.chat-container .action-button {
|
|
|
background: none;
|
|
background: none;
|
|
|
border: none;
|
|
border: none;
|
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
@@ -471,12 +471,12 @@ body {
|
|
|
transition: var(--transition);
|
|
transition: var(--transition);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.action-button:hover {
|
|
|
|
|
|
|
+.chat-container .action-button:hover {
|
|
|
background-color: rgba(84, 104, 255, 0.1);
|
|
background-color: rgba(84, 104, 255, 0.1);
|
|
|
color: var(--primary);
|
|
color: var(--primary);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.embed-content {
|
|
|
|
|
|
|
+.chat-container .embed-content {
|
|
|
margin-top: 10px;
|
|
margin-top: 10px;
|
|
|
border-radius: 8px;
|
|
border-radius: 8px;
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
@@ -485,12 +485,12 @@ body {
|
|
|
transition: var(--transition);
|
|
transition: var(--transition);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.embed-content:hover {
|
|
|
|
|
|
|
+.chat-container .embed-content:hover {
|
|
|
box-shadow: var(--shadow);
|
|
box-shadow: var(--shadow);
|
|
|
transform: translateY(-2px);
|
|
transform: translateY(-2px);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.embed-header {
|
|
|
|
|
|
|
+.chat-container .embed-header {
|
|
|
padding: 10px 12px;
|
|
padding: 10px 12px;
|
|
|
background-color: rgba(84, 104, 255, 0.05);
|
|
background-color: rgba(84, 104, 255, 0.05);
|
|
|
display: flex;
|
|
display: flex;
|
|
@@ -499,7 +499,7 @@ body {
|
|
|
border-bottom: 1px solid var(--border);
|
|
border-bottom: 1px solid var(--border);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.embed-icon {
|
|
|
|
|
|
|
+.chat-container .embed-icon {
|
|
|
width: 20px;
|
|
width: 20px;
|
|
|
height: 20px;
|
|
height: 20px;
|
|
|
display: flex;
|
|
display: flex;
|
|
@@ -508,31 +508,31 @@ body {
|
|
|
color: var(--primary);
|
|
color: var(--primary);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.embed-title {
|
|
|
|
|
|
|
+.chat-container .embed-title {
|
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.embed-body {
|
|
|
|
|
|
|
+.chat-container .embed-body {
|
|
|
padding: 12px;
|
|
padding: 12px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.embed-image {
|
|
|
|
|
|
|
+.chat-container .embed-image {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
border-radius: 6px;
|
|
border-radius: 6px;
|
|
|
height: auto;
|
|
height: auto;
|
|
|
object-fit: cover;
|
|
object-fit: cover;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.embed-text {
|
|
|
|
|
|
|
+.chat-container .embed-text {
|
|
|
font-size: 13px;
|
|
font-size: 13px;
|
|
|
color: var(--text-light);
|
|
color: var(--text-light);
|
|
|
margin-top: 8px;
|
|
margin-top: 8px;
|
|
|
line-height: 1.4;
|
|
line-height: 1.4;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.embed-footer {
|
|
|
|
|
|
|
+.chat-container .embed-footer {
|
|
|
padding: 8px 12px;
|
|
padding: 8px 12px;
|
|
|
border-top: 1px solid var(--border);
|
|
border-top: 1px solid var(--border);
|
|
|
display: flex;
|
|
display: flex;
|
|
@@ -540,7 +540,7 @@ body {
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.embed-button {
|
|
|
|
|
|
|
+.chat-container .embed-button {
|
|
|
background-color: var(--primary-light);
|
|
background-color: var(--primary-light);
|
|
|
color: white;
|
|
color: white;
|
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
@@ -552,13 +552,13 @@ body {
|
|
|
transition: var(--transition);
|
|
transition: var(--transition);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.embed-button:hover {
|
|
|
|
|
|
|
+.chat-container .embed-button:hover {
|
|
|
background-color: var(--primary);
|
|
background-color: var(--primary);
|
|
|
transform: translateY(-1px);
|
|
transform: translateY(-1px);
|
|
|
box-shadow: 0 3px 8px rgba(84, 104, 255, 0.2);
|
|
box-shadow: 0 3px 8px rgba(84, 104, 255, 0.2);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.date-divider {
|
|
|
|
|
|
|
+.chat-container .date-divider {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
gap: 12px;
|
|
gap: 12px;
|
|
@@ -566,19 +566,19 @@ body {
|
|
|
opacity: 0.7;
|
|
opacity: 0.7;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.divider-line {
|
|
|
|
|
|
|
+.chat-container .divider-line {
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
height: 1px;
|
|
height: 1px;
|
|
|
background-color: var(--border);
|
|
background-color: var(--border);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.divider-text {
|
|
|
|
|
|
|
+.chat-container .divider-text {
|
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
|
color: var(--text-light);
|
|
color: var(--text-light);
|
|
|
white-space: nowrap;
|
|
white-space: nowrap;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.typing-indicator {
|
|
|
|
|
|
|
+.chat-container .typing-indicator {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
gap: 4px;
|
|
gap: 4px;
|
|
@@ -588,7 +588,7 @@ body {
|
|
|
margin-bottom: 8px;
|
|
margin-bottom: 8px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.typing-dot {
|
|
|
|
|
|
|
+.chat-container .typing-dot {
|
|
|
width: 5px;
|
|
width: 5px;
|
|
|
height: 5px;
|
|
height: 5px;
|
|
|
background-color: var(--text-light);
|
|
background-color: var(--text-light);
|
|
@@ -596,15 +596,15 @@ body {
|
|
|
animation: typingAnimation 1.4s infinite ease-in-out;
|
|
animation: typingAnimation 1.4s infinite ease-in-out;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.typing-dot:nth-child(1) {
|
|
|
|
|
|
|
+.chat-container .typing-dot:nth-child(1) {
|
|
|
animation-delay: 0s;
|
|
animation-delay: 0s;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.typing-dot:nth-child(2) {
|
|
|
|
|
|
|
+.chat-container .typing-dot:nth-child(2) {
|
|
|
animation-delay: 0.2s;
|
|
animation-delay: 0.2s;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.typing-dot:nth-child(3) {
|
|
|
|
|
|
|
+.chat-container .typing-dot:nth-child(3) {
|
|
|
animation-delay: 0.4s;
|
|
animation-delay: 0.4s;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -622,25 +622,25 @@ body {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.input-area {
|
|
|
|
|
|
|
+.chat-container .input-area {
|
|
|
padding: 16px 24px 24px;
|
|
padding: 16px 24px 24px;
|
|
|
background-color: var(--panel);
|
|
background-color: var(--panel);
|
|
|
border-top: 1px solid var(--border);
|
|
border-top: 1px solid var(--border);
|
|
|
z-index: 10;
|
|
z-index: 10;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.toolbar {
|
|
|
|
|
|
|
+.chat-container .toolbar {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
gap: 8px;
|
|
gap: 8px;
|
|
|
margin-bottom: 12px;
|
|
margin-bottom: 12px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.toolbar form {
|
|
|
|
|
|
|
+.chat-container .toolbar form {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.tool-button {
|
|
|
|
|
|
|
+.chat-container .tool-button {
|
|
|
background: none;
|
|
background: none;
|
|
|
border: none;
|
|
border: none;
|
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
@@ -654,23 +654,23 @@ body {
|
|
|
transition: var(--transition);
|
|
transition: var(--transition);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.tool-button:hover {
|
|
|
|
|
|
|
+.chat-container .tool-button:hover {
|
|
|
background-color: rgba(84, 104, 255, 0.1);
|
|
background-color: rgba(84, 104, 255, 0.1);
|
|
|
color: var(--primary);
|
|
color: var(--primary);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.tool-button svg {
|
|
|
|
|
|
|
+.chat-container .tool-button svg {
|
|
|
width: 18px;
|
|
width: 18px;
|
|
|
height: 18px;
|
|
height: 18px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.input-container {
|
|
|
|
|
|
|
+.chat-container .input-container {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
gap: 12px;
|
|
gap: 12px;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.message-input {
|
|
|
|
|
|
|
+.chat-container .message-input {
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
padding: 14px 16px;
|
|
padding: 14px 16px;
|
|
|
border-radius: 10px;
|
|
border-radius: 10px;
|
|
@@ -684,12 +684,12 @@ body {
|
|
|
outline: none;
|
|
outline: none;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.message-input:focus {
|
|
|
|
|
|
|
+.chat-container .message-input:focus {
|
|
|
border-color: var(--primary-light);
|
|
border-color: var(--primary-light);
|
|
|
box-shadow: 0 0 0 2px rgba(84, 104, 255, 0.1);
|
|
box-shadow: 0 0 0 2px rgba(84, 104, 255, 0.1);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.send-button {
|
|
|
|
|
|
|
+.chat-container .send-button {
|
|
|
background-color: var(--primary);
|
|
background-color: var(--primary);
|
|
|
color: white;
|
|
color: white;
|
|
|
border: none;
|
|
border: none;
|
|
@@ -703,32 +703,32 @@ body {
|
|
|
transition: var(--transition);
|
|
transition: var(--transition);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.send-button:hover {
|
|
|
|
|
|
|
+.chat-container .send-button:hover {
|
|
|
background-color: var(--primary-dark);
|
|
background-color: var(--primary-dark);
|
|
|
transform: translateY(-2px);
|
|
transform: translateY(-2px);
|
|
|
box-shadow: 0 4px 12px rgba(84, 104, 255, 0.2);
|
|
box-shadow: 0 4px 12px rgba(84, 104, 255, 0.2);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.poll-container {
|
|
|
|
|
|
|
+.chat-container .poll-container {
|
|
|
padding: 12px;
|
|
padding: 12px;
|
|
|
background-color: rgba(84, 104, 255, 0.05);
|
|
background-color: rgba(84, 104, 255, 0.05);
|
|
|
border-radius: 8px;
|
|
border-radius: 8px;
|
|
|
margin-top: 8px;
|
|
margin-top: 8px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.poll-question {
|
|
|
|
|
|
|
+.chat-container .poll-question {
|
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
|
margin-bottom: 10px;
|
|
margin-bottom: 10px;
|
|
|
font-size: 13px;
|
|
font-size: 13px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.poll-options {
|
|
|
|
|
|
|
+.chat-container .poll-options {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
gap: 8px;
|
|
gap: 8px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.poll-option {
|
|
|
|
|
|
|
+.chat-container .poll-option {
|
|
|
background-color: white;
|
|
background-color: white;
|
|
|
border: 1px solid var(--border);
|
|
border: 1px solid var(--border);
|
|
|
padding: 8px 12px;
|
|
padding: 8px 12px;
|
|
@@ -741,17 +741,17 @@ body {
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.poll-option:hover {
|
|
|
|
|
|
|
+.chat-container .poll-option:hover {
|
|
|
border-color: var(--primary-light);
|
|
border-color: var(--primary-light);
|
|
|
background-color: rgba(84, 104, 255, 0.03);
|
|
background-color: rgba(84, 104, 255, 0.03);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.poll-option.selected {
|
|
|
|
|
|
|
+.chat-container .poll-option.selected {
|
|
|
border-color: var(--primary);
|
|
border-color: var(--primary);
|
|
|
background-color: rgba(84, 104, 255, 0.1);
|
|
background-color: rgba(84, 104, 255, 0.1);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.poll-option.selected::before {
|
|
|
|
|
|
|
+.chat-container .poll-option.selected::before {
|
|
|
content: '';
|
|
content: '';
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
left: 0;
|
|
left: 0;
|
|
@@ -763,20 +763,20 @@ body {
|
|
|
border-bottom-left-radius: 6px;
|
|
border-bottom-left-radius: 6px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.poll-percent {
|
|
|
|
|
|
|
+.chat-container .poll-percent {
|
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
|
color: var(--primary);
|
|
color: var(--primary);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.poll-votes {
|
|
|
|
|
|
|
+.chat-container .poll-votes {
|
|
|
margin-top: 10px;
|
|
margin-top: 10px;
|
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
|
color: var(--text-light);
|
|
color: var(--text-light);
|
|
|
text-align: right;
|
|
text-align: right;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.resource-link {
|
|
|
|
|
|
|
+.chat-container .resource-link {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
gap: 8px;
|
|
gap: 8px;
|
|
@@ -790,14 +790,14 @@ body {
|
|
|
border: 1px solid var(--border);
|
|
border: 1px solid var(--border);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.resource-link:hover {
|
|
|
|
|
|
|
+.chat-container .resource-link:hover {
|
|
|
background-color: rgba(84, 104, 255, 0.05);
|
|
background-color: rgba(84, 104, 255, 0.05);
|
|
|
border-color: var(--primary-light);
|
|
border-color: var(--primary-light);
|
|
|
transform: translateY(-2px);
|
|
transform: translateY(-2px);
|
|
|
box-shadow: var(--shadow);
|
|
box-shadow: var(--shadow);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.resource-icon {
|
|
|
|
|
|
|
+.chat-container .resource-icon {
|
|
|
width: 36px;
|
|
width: 36px;
|
|
|
height: 36px;
|
|
height: 36px;
|
|
|
background-color: rgba(84, 104, 255, 0.1);
|
|
background-color: rgba(84, 104, 255, 0.1);
|
|
@@ -808,16 +808,16 @@ body {
|
|
|
color: var(--primary);
|
|
color: var(--primary);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.resource-info {
|
|
|
|
|
|
|
+.chat-container .resource-info {
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.resource-title {
|
|
|
|
|
|
|
+.chat-container .resource-title {
|
|
|
font-size: 13px;
|
|
font-size: 13px;
|
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.resource-desc {
|
|
|
|
|
|
|
+.chat-container .resource-desc {
|
|
|
font-size: 11px;
|
|
font-size: 11px;
|
|
|
color: var(--text-light);
|
|
color: var(--text-light);
|
|
|
}
|
|
}
|
|
@@ -830,15 +830,15 @@ body {
|
|
|
border-radius: 0;
|
|
border-radius: 0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- .message {
|
|
|
|
|
|
|
+ .chat-container .message {
|
|
|
max-width: 90%;
|
|
max-width: 90%;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- .header-actions {
|
|
|
|
|
|
|
+ .chat-container .header-actions {
|
|
|
gap: 8px;
|
|
gap: 8px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- .icon-button {
|
|
|
|
|
|
|
+ .chat-container .icon-button {
|
|
|
width: 32px;
|
|
width: 32px;
|
|
|
height: 32px;
|
|
height: 32px;
|
|
|
}
|
|
}
|
|
@@ -870,27 +870,27 @@ body {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.pop-in {
|
|
|
|
|
|
|
+.chat-container .pop-in {
|
|
|
animation: popIn 0.3s forwards;
|
|
animation: popIn 0.3s forwards;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/* Resource expansion animation */
|
|
/* Resource expansion animation */
|
|
|
-.resource-expanded {
|
|
|
|
|
|
|
+.chat-container .resource-expanded {
|
|
|
max-height: 0;
|
|
max-height: 0;
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
|
transition: max-height 0.3s ease;
|
|
transition: max-height 0.3s ease;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.resource-expanded.active {
|
|
|
|
|
|
|
+.chat-container .resource-expanded.active {
|
|
|
max-height: 200px;
|
|
max-height: 200px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/* Tooltip Styles */
|
|
/* Tooltip Styles */
|
|
|
-.tooltip {
|
|
|
|
|
|
|
+.chat-container .tooltip {
|
|
|
position: relative;
|
|
position: relative;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.tooltip::after {
|
|
|
|
|
|
|
+.chat-container .tooltip::after {
|
|
|
content: attr(data-tooltip);
|
|
content: attr(data-tooltip);
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
bottom: 130%;
|
|
bottom: 130%;
|
|
@@ -909,7 +909,7 @@ body {
|
|
|
z-index: 100;
|
|
z-index: 100;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.tooltip::before {
|
|
|
|
|
|
|
+.chat-container .tooltip::before {
|
|
|
content: '';
|
|
content: '';
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
bottom: 120%;
|
|
bottom: 120%;
|
|
@@ -925,21 +925,21 @@ body {
|
|
|
z-index: 100;
|
|
z-index: 100;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.tooltip:hover::after,
|
|
|
|
|
-.tooltip:hover::before {
|
|
|
|
|
|
|
+.chat-container .tooltip:hover::after,
|
|
|
|
|
+.chat-container .tooltip:hover::before {
|
|
|
opacity: 1;
|
|
opacity: 1;
|
|
|
visibility: visible;
|
|
visibility: visible;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/* Reaction Styles */
|
|
/* Reaction Styles */
|
|
|
-.reactions {
|
|
|
|
|
|
|
+.chat-container .reactions {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
flex-wrap: wrap;
|
|
|
gap: 4px;
|
|
gap: 4px;
|
|
|
margin-top: 8px;
|
|
margin-top: 8px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.reaction {
|
|
|
|
|
|
|
+.chat-container .reaction {
|
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
|
padding: 2px 6px 2px 4px;
|
|
padding: 2px 6px 2px 4px;
|
|
|
background-color: rgba(84, 104, 255, 0.06);
|
|
background-color: rgba(84, 104, 255, 0.06);
|
|
@@ -951,11 +951,11 @@ body {
|
|
|
transition: var(--transition);
|
|
transition: var(--transition);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.reaction:hover {
|
|
|
|
|
|
|
+.chat-container .reaction:hover {
|
|
|
background-color: rgba(84, 104, 255, 0.15);
|
|
background-color: rgba(84, 104, 255, 0.15);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.reaction.active {
|
|
|
|
|
|
|
+.chat-container .reaction.active {
|
|
|
background-color: rgba(84, 104, 255, 0.2);
|
|
background-color: rgba(84, 104, 255, 0.2);
|
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
|
}
|
|
}
|
|
@@ -1004,7 +1004,7 @@ a {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
-.chat-input {
|
|
|
|
|
|
|
+.chat-container .chat-input {
|
|
|
padding: 15px 20px;
|
|
padding: 15px 20px;
|
|
|
border-top: 1px solid var(--border);
|
|
border-top: 1px solid var(--border);
|
|
|
display: flex;
|
|
display: flex;
|
|
@@ -1014,7 +1014,7 @@ a {
|
|
|
z-index: 10;
|
|
z-index: 10;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.input-container {
|
|
|
|
|
|
|
+.chat-container .input-container {
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
@@ -1024,7 +1024,7 @@ a {
|
|
|
position: relative;
|
|
position: relative;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.input-container input {
|
|
|
|
|
|
|
+.chat-container .input-container input {
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
border: none;
|
|
border: none;
|
|
|
outline: none;
|
|
outline: none;
|
|
@@ -1034,12 +1034,12 @@ a {
|
|
|
font-size: 15px;
|
|
font-size: 15px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.input-actions {
|
|
|
|
|
|
|
+.chat-container .input-actions {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
gap: 10px;
|
|
gap: 10px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.input-btn {
|
|
|
|
|
|
|
+.chat-container .input-btn {
|
|
|
background: none;
|
|
background: none;
|
|
|
border: none;
|
|
border: none;
|
|
|
color: #888;
|
|
color: #888;
|
|
@@ -1048,11 +1048,11 @@ a {
|
|
|
font-size: 18px;
|
|
font-size: 18px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.input-btn:hover {
|
|
|
|
|
|
|
+.chat-container .input-btn:hover {
|
|
|
color: var(--primary);
|
|
color: var(--primary);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.send-btn {
|
|
|
|
|
|
|
+.chat-container .send-btn {
|
|
|
background-color: var(--primary);
|
|
background-color: var(--primary);
|
|
|
color: white;
|
|
color: white;
|
|
|
width: 40px;
|
|
width: 40px;
|
|
@@ -1067,7 +1067,7 @@ a {
|
|
|
justify-content: center;
|
|
justify-content: center;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.send-btn:hover {
|
|
|
|
|
|
|
+.chat-container .send-btn:hover {
|
|
|
background-color: var(--primary-light);
|
|
background-color: var(--primary-light);
|
|
|
transform: scale(1.05);
|
|
transform: scale(1.05);
|
|
|
}
|
|
}
|