90 lines
2.6 KiB
CSS
90 lines
2.6 KiB
CSS
/* Wrapper for Frontend */
|
|
.app-frontend {
|
|
height: 94vh;
|
|
margin: 3vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
border: 1px solid #d1d7db;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
background: #fff;
|
|
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
|
|
}
|
|
.app-frontend .frontend-topbar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0.8rem 1.5rem;
|
|
background: #f0f2f5;
|
|
border-bottom: 1px solid #d1d7db;
|
|
color: #333;
|
|
height: 60px;
|
|
}
|
|
.app-frontend .brand { display: flex; align-items: center; gap: 10px; font-weight: bold; }
|
|
.app-frontend .frontend-app-shell {
|
|
display: flex;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
background: #fff;
|
|
}
|
|
.app-frontend .contacts-panel {
|
|
width: 350px;
|
|
border-right: 1px solid #d1d7db;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow-y: auto;
|
|
}
|
|
.app-frontend .contacts-search-box { padding: 10px; border-bottom: 1px solid #f0f2f5; }
|
|
.app-frontend .contact-item {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 12px 15px;
|
|
border-bottom: 1px solid #f2f2f2;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
.app-frontend .contact-item:hover, .app-frontend .contact-item.active { background: #f5f6f6; }
|
|
.app-frontend .contact-avatar {
|
|
width: 45px;
|
|
height: 45px;
|
|
border-radius: 50%;
|
|
background: #00a884;
|
|
color: #fff;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: bold;
|
|
margin-right: 15px;
|
|
}
|
|
.app-frontend .contact-info { flex: 1; overflow: hidden; }
|
|
.app-frontend .contact-actions { cursor: pointer; color: #54656f; padding: 5px; }
|
|
.app-frontend .chat-panel { flex: 1; background: #e5ddd5; display: flex; flex-direction: column;}
|
|
.app-frontend .frontend-chat-header {
|
|
padding: 10px 15px;
|
|
background: #f0f2f5;
|
|
display: flex;
|
|
align-items: center;
|
|
border-bottom: 1px solid #d1d7db;
|
|
}
|
|
.app-frontend .frontend-chat-body { flex: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column;}
|
|
.app-frontend .frontend-chat-input-wrapper { padding: 10px; background: #f0f2f5; }
|
|
|
|
/* Message Bubble */
|
|
.message-bubble {
|
|
position: relative;
|
|
padding: 8px 12px;
|
|
border-radius: 8px;
|
|
margin-bottom: 4px;
|
|
max-width: 70%;
|
|
cursor: context-menu;
|
|
}
|
|
.message-bubble .msg-actions {
|
|
display: none;
|
|
position: absolute;
|
|
top: 5px;
|
|
right: 5px;
|
|
z-index: 10;
|
|
}
|
|
.message-bubble:hover .msg-actions { display: block; }
|
|
.msg-time { font-size: 0.7rem; color: #999; margin-top: 4px; text-align: right; }
|
|
.dropdown-menu { font-size: 0.9rem; } |