-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
147 lines (117 loc) · 2.53 KB
/
style.css
File metadata and controls
147 lines (117 loc) · 2.53 KB
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
/* css/style.css */
/* Body styling with a light gradient background and black text */
body {
background: linear-gradient(135deg, #cce5ff, #d4edda, #f8d7da);
height: 100vh;
margin: 0;
font-family: 'Roboto', sans-serif;
color: black;
display: flex;
align-items: center;
justify-content: center;
}
/* Chat container with a clean white background and subtle shadow */
.chat-wrapper {
background: #ffffff;
width: 90%;
max-width: 700px;
height: 85vh;
border-radius: 10px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
display: flex;
flex-direction: column;
overflow: hidden;
}
/* Chat header with light blue background and black text */
.chat-header {
background: #cce5ff;
color: black;
padding: 1rem;
text-align: center;
font-size: 1.5rem;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
}
.chat-header img {
width: 45px;
height: 45px;
border-radius: 50%;
margin-right: 0.5rem;
}
/* Chat body with a light background and black text */
.chat-body {
flex: 1;
padding: 1rem;
background: #f8f9fa;
overflow-y: auto;
color: black;
}
/* Chat footer with a light grey background */
.chat-footer {
background: #e9ecef;
padding: 0.75rem;
display: flex;
align-items: center;
}
/* Input styling with black text */
#user-input {
flex: 1;
border: 1px solid #ced4da;
border-radius: 5px;
padding: 0.5rem;
margin-right: 0.5rem;
color: black;
}
/* Send button with blue background and black text */
#send-btn {
background: #007bff;
border: none;
color: black;
padding: 0.5rem 1rem;
border-radius: 5px;
cursor: pointer;
}
#send-btn:hover {
background: #0056b3;
}
/* Message styling with black text */
.message {
padding: 0.75rem;
border-radius: 10px;
margin-bottom: 1rem;
max-width: 80%;
word-wrap: break-word;
color: black;
}
/* User message: light blue background */
.user-message {
background: #cce5ff;
align-self: flex-end;
}
/* Bot message: light green background */
.bot-message {
background: #d4edda;
align-self: flex-start;
}
/* Optional red alert line: light red background */
.red-line {
background: #f8d7da;
padding: 0.75rem;
border-radius: 10px;
margin-bottom: 1rem;
color: black;
}
/* Avatar option styling in the modal */
.avatar-option {
width: 80px;
height: 80px;
cursor: pointer;
border-radius: 50%;
border: 2px solid transparent;
transition: border 0.3s;
}
.avatar-option.selected {
border: 2px solid #007bff;
}