summaryrefslogtreecommitdiff
path: root/static/css/chat.css
blob: 261fffa56725eafe412246638e1edbfd4d0f4af2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
.chat-container {
  background-color: var(--container-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  width: 90%;
  max-height: 70vh;
  margin: 2rem auto;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.message {
  display: flex;
  margin-bottom: 1rem;
}

.message:last-child {
  margin-bottom: 0;
}

.message.fren {
  justify-content: flex-end;
}

.message-text {
  background-color: var(--background-color-2);
  color: var(--text-color);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  max-width: 70%;
  word-wrap: break-word;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.message-text.fren {
  background-color: var(--confirm-color);
  color: white;
}

.timestamp {
  font-size: 0.75rem;
  color: var(--text-color);
  margin-top: 0.5rem;
  text-align: right;
}