224 lines
6.9 KiB
Plaintext
224 lines
6.9 KiB
Plaintext
<rml>
|
|
<head>
|
|
<link type="text/rcss" href="../ui/theme.rcss"/>
|
|
<link type="text/rcss" href="../ui/components.rcss"/>
|
|
<script src="../scripts/navigation.lua"></script>
|
|
<title>Messages</title>
|
|
<style>
|
|
.messages-screen {
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: #121212;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.conversations-list {
|
|
flex: 1;
|
|
overflow: auto;
|
|
}
|
|
|
|
.conversation-item {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 12px 16px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.conversation-item:hover {
|
|
background-color: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.conversation-avatar {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 24px;
|
|
margin-right: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 20px;
|
|
color: #000000;
|
|
}
|
|
|
|
.conversation-content {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.conversation-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.conversation-name {
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
.conversation-time {
|
|
font-size: 12px;
|
|
color: #666666;
|
|
}
|
|
|
|
.conversation-preview {
|
|
font-size: 14px;
|
|
color: #B3B3B3;
|
|
margin-top: 4px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.conversation-unread {
|
|
width: 20px;
|
|
height: 20px;
|
|
border-radius: 10px;
|
|
background-color: #BB86FC;
|
|
color: #000000;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
/* Chat View Styles */
|
|
.chat-header {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 8px 0;
|
|
}
|
|
|
|
.chat-header-avatar {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 18px;
|
|
background-color: #BB86FC;
|
|
margin-right: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 16px;
|
|
color: #000000;
|
|
}
|
|
|
|
.chat-header-info {
|
|
flex: 1;
|
|
}
|
|
|
|
.chat-header-name {
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
.chat-header-status {
|
|
font-size: 12px;
|
|
color: #B3B3B3;
|
|
}
|
|
|
|
.chat-messages {
|
|
flex: 1;
|
|
overflow: auto;
|
|
padding: 16px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="messages-screen">
|
|
<!-- App Bar -->
|
|
<div class="app-bar">
|
|
<div class="btn-icon" onclick="goBack()">←</div>
|
|
<span class="app-bar-title">Messages</span>
|
|
<div class="btn-icon">Q</div>
|
|
</div>
|
|
|
|
<!-- Conversations List -->
|
|
<div class="conversations-list">
|
|
<div class="conversation-item">
|
|
<div class="conversation-avatar" style="background-color: #4CAF50;">J</div>
|
|
<div class="conversation-content">
|
|
<div class="conversation-header">
|
|
<span class="conversation-name">John Wilson</span>
|
|
<span class="conversation-time">2:30 PM</span>
|
|
</div>
|
|
<div class="conversation-preview">Hey, are you coming to the party tonight?</div>
|
|
</div>
|
|
<div class="conversation-unread">2</div>
|
|
</div>
|
|
|
|
<div class="conversation-item">
|
|
<div class="conversation-avatar" style="background-color: #673AB7;">M</div>
|
|
<div class="conversation-content">
|
|
<div class="conversation-header">
|
|
<span class="conversation-name">Mom</span>
|
|
<span class="conversation-time">1:15 PM</span>
|
|
</div>
|
|
<div class="conversation-preview">Don't forget to call your grandmother!</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="conversation-item">
|
|
<div class="conversation-avatar" style="background-color: #E91E63;">A</div>
|
|
<div class="conversation-content">
|
|
<div class="conversation-header">
|
|
<span class="conversation-name">Alice Johnson</span>
|
|
<span class="conversation-time">Yesterday</span>
|
|
</div>
|
|
<div class="conversation-preview">Thanks for the help with the project!</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="conversation-item">
|
|
<div class="conversation-avatar" style="background-color: #2196F3;">B</div>
|
|
<div class="conversation-content">
|
|
<div class="conversation-header">
|
|
<span class="conversation-name">Bob Williams</span>
|
|
<span class="conversation-time">Yesterday</span>
|
|
</div>
|
|
<div class="conversation-preview">Did you see the game last night?</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="conversation-item">
|
|
<div class="conversation-avatar" style="background-color: #FF9800;">W</div>
|
|
<div class="conversation-content">
|
|
<div class="conversation-header">
|
|
<span class="conversation-name">Work Group</span>
|
|
<span class="conversation-time">Mon</span>
|
|
</div>
|
|
<div class="conversation-preview">Sarah: Meeting moved to 3pm</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="conversation-item">
|
|
<div class="conversation-avatar" style="background-color: #009688;">S</div>
|
|
<div class="conversation-content">
|
|
<div class="conversation-header">
|
|
<span class="conversation-name">Sarah Taylor</span>
|
|
<span class="conversation-time">Sun</span>
|
|
</div>
|
|
<div class="conversation-preview">See you at the coffee shop!</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="conversation-item">
|
|
<div class="conversation-avatar" style="background-color: #F44336;">D</div>
|
|
<div class="conversation-content">
|
|
<div class="conversation-header">
|
|
<span class="conversation-name">David Lee</span>
|
|
<span class="conversation-time">Sat</span>
|
|
</div>
|
|
<div class="conversation-preview">Great talking to you!</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- FAB -->
|
|
<div class="btn-fab">+</div>
|
|
</body>
|
|
</rml>
|