forked from du2333/CS4990-Chatbot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
247 lines (202 loc) · 5.55 KB
/
style.css
File metadata and controls
247 lines (202 loc) · 5.55 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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
body {
background-color: rgb(27, 27, 27);
height:100%;
width:100%;
margin:0 auto;
font-family: "Open Sans";
display:flex;
flex-direction: column;
}
/* Add a media query for smaller screens */
@media only screen and (max-width: 410px) {
#auth {
flex-direction: column; /* Stack items vertically on smaller screens */
align-items: center; /* Center items horizontally on smaller screens */
}
#register-user-id, #register-password, #login-user-id, #login-password, #register-button, #login-button {
width: 100%; /* Make inputs and buttons full width on smaller screens */
margin-bottom: 10px; /* Add some margin between items */
}
}
/* Start of Bootstrap styling */
.modal-content {
background-color: rgb(27, 27, 27);
}
.modal-title, .user-id-style, .login-password-style {
color:white;
}
nav.navbar {
margin-bottom: 20px; /* Adjust the margin to add space to the entire navbar */
}
/* Center the navbar content */
.navbar-content {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
font-weight:bold;
}
/* Center the title with the input box */
.navbar-brand {
margin-right: auto; /* Push the brand to the left as much as possible */
margin-left: auto; /* Push the brand to the right as much as possible */
}
#vertical-nav {
width: 200px;
background-color: rgb(27, 27, 27);
padding: 10px;
position: fixed;
top: 0;
bottom: 0;
left: 0;
z-index:1000
}
/* End of Bootstrap styling */
#register-user-id, #register-password, #login-user-id, #login-password {
background-color: rgb(27, 27, 27);
font-size: 15px;
color:white;
outline:none;
}
/* removes white outline when clicking on input*/
#auth {
display: flex;
justify-content: center;
margin: 20px;
}
#register-button, #login-button {
border-style:solid;
border-radius:0;
border-color:#727375;
background-color: rgb(27,27,27);
border-width:2px;
color: #727375;
}
#message-window {
width: 100%;
max-width: 1000px;
height: 700px; /* Adjust the height for better responsiveness */
border: 1px solid #727375;
margin: 0 auto;
margin-top: 20px;
overflow-y: auto;
padding:50px;
}
#message-window .ai-response {
color: #3498db; /* Change the color to your desired color for AI responses */
font-style: italic; /* Make AI responses italic (optional) */
}
.ai-label {
font-weight:bold;
}
.message-label {
font-weight: bold;
margin-bottom: 3px; /* Adjusted margin for closer appearance */
}
#message-window::-webkit-scrollbar {
width: 5px; /* Width of the scrollbar */
}
#message-window::-webkit-scrollbar-thumb {
background-color: #727375; /* Color of the thumb */
border-radius: 6px; /* Border radius of the thumb */
}
#message-window::-webkit-scrollbar-track {
background-color: rgb(27, 27, 27); /* Color of the track */
}
#message-window p {
color:white;
}
#message-input {
width: calc(100% - 25px);
max-width: 1000px;
background-color: rgb(27, 27, 27);
color: white;
display: inline-block; /* Change from inline to inline-block */
margin-left:10px;
border:none;
}
/* removes outline when clicking */
#message-input:focus, #send-button:focus, #new-conversation-button:focus {
box-shadow:none;
}
#send-button {
border-radius: 100px;
padding: 12px 20px; /* Adjust padding for better size */
font-size: 16px; /* Adjust font size for better visibility */
color: rgb(90, 90, 90);
background-color: rgb(27, 27, 27);
border: 1px solid rgb(90, 90, 90);
transition: background-color 0.2s, border-color 0.2s;
}
#send-button:hover {
background-color:#383838;
border-color:#383838;
}
#message-input-container {
display: flex;
align-items: center;
margin:0 auto;
justify-content: space-between;
width: calc(100% - 20px);
max-width: 1000px;
margin-top: 10px;
border: 1px solid #727375;
border-radius:100px;
}
#new-conversation-button {
margin-top:10px;
border-radius: 20px;
padding: 12px 20px;
font-size: 16px;
font-weight:bold;
width: 180px;
color: white;
background-color: rgb(27, 27, 27);
border: 1px solid rgb(27, 27, 27);
transition: background-color 0.2s, border-color 0.2s;
}
#new-conversation-button-box {
position: fixed;
top: 10px; /* Adjust the top position as needed */
left: 10px; /* Adjust the left position as needed */
z-index: 1000; /* Ensure it's above other elements */
}
#new-conversation-button:hover {
background-color:#383838;
border-color:#383838;
}
#previous-convos {
color: #727375;
margin-bottom: 5px;
font-weight: bold;
margin-bottom:5px;
font-size:10px;
}
#conversation-list p:hover {
cursor: pointer;
border: 2px solid #727375;
border-radius: 5px;
}
#conversation-list p {
color:white;
}
#conversation-list {
overflow-y: auto; /* Add overflow-y property to enable vertical scrolling */
max-height: 80vh; /* Set a maximum height for the scrollable area */
}
/* make it scrollable */
#conversation-list::-webkit-scrollbar {
width: 5px; /* Width of the scrollbar */
}
#conversation-list::-webkit-scrollbar-thumb {
background-color: #727375; /* Color of the thumb */
border-radius: 6px; /* Border radius of the thumb */
}
#conversation-list::-webkit-scrollbar-track {
background-color: rgb(27, 27, 27); /* Color of the track */
}
/* For Firefox */
#conversation-list {
scrollbar-width: thin;
scrollbar-color: rgb(27, 27, 27);
}