-
Notifications
You must be signed in to change notification settings - Fork 9
/
main.css
60 lines (52 loc) · 1.26 KB
/
main.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
/* Base styles for all chat messages */
.message_base {
font-family: 'Lato';
margin: 20px 400px 0px 20px;
position: relative;
display: inline-block;
padding: 0px 20px 0px 20px;
border-radius: 20px;
max-width: 90%;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
color: white;
word-wrap: break-word;
white-space: pre-line;
}
/* Specific styles for different types of messages */
.assistant_message {
background-color: #ff462b;
}
.assistant_info_message {
background-color: #969595;
}
.assistant_right_message {
background-color: #039a08;
}
.assistant_wrong_message {
background-color: #e10000;
}
.user_message {
background-color: #218aff;
float: right;
margin-left: 20%;
margin-right: 30px;
}
/* Styles for the chat container */
.card_chat {
display: flex;
flex-direction: column-reverse;
overflow-y: auto;
}
/* Add drop shadow to the image preview */
.image_preview {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 20px;
}
/* Style for the hr */
hr {
margin-top: 1rem !important;
margin-bottom: 1rem !important;
border: 1.5px solid #b5b5b5;
border-radius: 7px;
background-color: #b5b5b5;
}