-
Notifications
You must be signed in to change notification settings - Fork 2
/
popup.css
110 lines (95 loc) · 1.69 KB
/
popup.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
body {
width: 400px;
height: 600px;
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}
.container {
display: flex;
flex-direction: column;
height: 100%;
}
.chat-box {
flex-grow: 1;
overflow-y: auto;
padding: 16px;
display: flex;
flex-direction: column;
gap: 8px;
}
.input-container {
display: flex;
padding: 8px;
}
input {
flex-grow: 1;
border: 1px solid #ccc;
border-radius: 4px;
padding: 8px;
}
button {
margin-left: 8px;
background-color: #007bff;
color: white;
border: none;
border-radius: 4px;
padding: 8px 16px;
cursor: pointer;
}
button:hover {
background-color: #0056b3;
}
.user-message {
align-self: flex-end;
background-color: #007bff;
color: white;
padding: 8px 16px;
border-radius: 16px 0px 16px 16px;
max-width: 70%;
display: inline-block;
word-wrap: break-word;
}
.gpt-response {
background-color: #f1f1f1;
padding: 8px 16px;
border-radius: 0px 16px 16px 16px;
max-width: 70%;
word-wrap: break-word;
}
.error-message {
background-color: #f8d7da;
color: #721c24;
padding: 8px 16px;
border-radius: 4px;
max-width: 70%;
word-wrap: break-word;
}
@keyframes blink {
50% {
background-color: transparent;
}
}
/* Add styles for the message container */
.message-container {
display: flex;
width: 100%;
}
.user-container {
justify-content: flex-end;
}
/* Update the cursor wrapper styles */
.cursor-wrapper {
display: inline-flex;
background-color: #f1f1f1;
padding: 8px 16px;
border-radius: 0px 16px 16px 16px;
}
/* Update the cursor styles */
.cursor {
width: 2px;
height: 1em;
background-color: #000;
animation: blink 1s step-end infinite;
vertical-align: text-bottom;
}