-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
122 lines (108 loc) · 2.12 KB
/
styles.css
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
body {
font-family: 'Poppins', sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
height: 100vh;
overflow: hidden;
color: #333;
}
#toolbar {
background: rgba(255, 255, 255, 0.8);
padding: 10px;
text-align: left;
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 999;
display: flex;
align-items: center;
justify-content: space-between;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
transition: all 0.3s ease;
}
#profilePhoto {
width: 30px;
height: 30px;
border-radius: 50%;
margin-right: 10px;
object-fit: cover;
}
#userDetails {
display: flex;
align-items: center;
}
#usernameStatus {
display: flex;
flex-direction: column;
margin-left: 10px;
}
#username {
font-weight: bold;
font-size: 1.2em;
margin-bottom: 5px;
}
#status {
font-size: 0.8em;
}
#messageList {
padding: 20px;
overflow-y: auto;
max-height: calc(100vh - 160px);
}
.message {
margin-bottom: 20px;
}
.userMessage {
background-color: #3b82f6;
color: #fff;
border-radius: 20px;
padding: 15px;
max-width: 70%;
word-wrap: break-word;
align-self: flex-end;
margin-left: auto;
}
.botMessage {
background-color: #e5e7eb;
border-radius: 20px;
padding: 15px;
max-width: 70%;
word-wrap: break-word;
align-self: flex-start;
}
#userInput {
width: calc(100% - 80px);
padding: 15px;
margin: 20px 0 20px 20px; /* Adjust margin to create space between input and button */
border: none;
border-radius: 20px;
background-color: #fff;
font-size: 16px;
outline: none;
position: fixed;
bottom: 0;
left: 0;
box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.2);
color: #333;
}
#sendMessageBtn {
background-color: #3b82f6;
color: #fff;
border: none;
padding: 15px;
border-radius: 20px;
cursor: pointer;
margin: 20px; /* Adjust margin to create space between input and button */
position: fixed;
bottom: 0;
right: 0;
}
#thinkingBubble {
display: none;
margin-left: 20px;
}
.error {
color: #ff0000;
}