-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
122 lines (107 loc) · 1.75 KB
/
styles.css
File metadata and controls
122 lines (107 loc) · 1.75 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
body {
margin: 0;
font-family: 'Segoe UI', sans-serif;
background: #0e0e0e;
color: #f1f1f1;
display: flex;
height: 100vh;
overflow: hidden; /* Prevent body scrolling */
}
.container {
display: flex;
width: 100%;
height: 100vh; /* Full height */
}
aside {
width: 250px;
background: #1c1c1c;
border-right: 1px solid #333;
display: flex;
flex-direction: column;
}
#newChat {
background: #444;
border: none;
color: #fff;
padding: 0.6rem;
cursor: pointer;
border-radius: 8px;
margin: 1rem;
margin-bottom: 0;
}
.sidebar-scroll {
flex: 1;
overflow-y: auto;
padding: 1rem;
}
#chatHistory {
list-style: none;
padding: 0;
margin: 0;
}
#chatHistory li {
padding: 0.5rem;
margin-bottom: 0.4rem;
background: #2a2a2a;
cursor: pointer;
border-radius: 6px;
}
main {
flex-grow: 1;
display: flex;
flex-direction: column;
height: 100vh;
}
#chatBox {
flex-grow: 1;
padding: 1rem;
overflow-y: auto;
}
.message {
padding: 0.8rem;
margin-bottom: 0.5rem;
border-radius: 10px;
max-width: 80%;
white-space: pre-wrap;
}
.message.user {
align-self: flex-end;
background-color: #2a5adf;
color: white;
}
.message.ai {
align-self: flex-start;
background-color: #2d2d2d;
}
.input-area {
display: flex;
padding: 1rem;
border-top: 1px solid #333;
}
#userInput {
flex-grow: 1;
padding: 0.8rem;
border-radius: 8px;
border: none;
resize: none;
background: #1e1e1e;
color: white;
}
#send {
background: #4a90e2;
color: white;
border: none;
padding: 0 1.5rem;
margin-left: 1rem;
border-radius: 8px;
cursor: pointer;
}
.delete-btn {
background: #000000;
border: none;
color: white;
padding: 0.2rem 0.6rem;
border-radius: 4px;
cursor: pointer;
margin-left: 8px;
}