-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathstyles.css
97 lines (82 loc) · 1.54 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
.container {
display: flex;
flex-direction: row;
justify-content: space-between;
}
.parameters-and-api-container {
float: left;
margin-right: 20px;
width: calc(33.33% - 20px);
}
.parameters-container {
margin-bottom: 20px;
}
.api-key-container {
margin-bottom: 20px;
}
.chat-container {
flex: 2;
display: flex;
flex-direction: column;
justify-content: space-between;
height: 100%;
}
.chat-header {
background-color: #333;
color: #fff;
padding: 10px;
}
.chat-box {
background-color: #eee;
padding: 10px;
height: 500px;
overflow-y: auto;
}
.message {
margin-bottom: 10px;
}
.message p {
margin: 0;
padding: 5px 10px;
border-radius: 10px;
max-width: 80%;
word-wrap: break-word;
}
.message.received p {
background-color: #fff;
align-self: flex-start;
}
.message.sent p {
background-color: #bfe5fc;
align-self: flex-end;
}
.message {
margin: 10px;
padding: 10px;
border-radius: 10px;
font-size: 16px;
max-width: 80%;
}
.message.assistant {
background-color: #f2f2f2;
color: #333;
float: left;
clear: both;
}
.message.user {
background-color: #4CAF50;
color: white;
float: right;
clear: both;
}
.chat-input {
display: flex;
flex-direction: row;
justify-content: space-between;
padding: 10px;
border-top: 1px solid #333;
}
.chat-input input {
flex: 1;
margin-right: 10px;
}