-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
163 lines (139 loc) · 2.86 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
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
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
font-family: Arial, sans-serif;
}
/* Styling for the header */
.header {
display: flex;
align-items: center;
justify-content: center;
padding: 8px;
background-color: #d5f3ff;
border-bottom: 2px solid #dee2e6;
}
/* Styling for the logo */
.logo {
max-width: 70px; /* Adjust the size as needed */
height: auto;
margin-right: 20px;
}
/* Styling for the header text */
.header-text {
text-align: center;
}
.header-text h1 {
margin: 0;
font-size: 24px;
}
.header-text h2 {
margin: 0;
font-size: 16px;
color: #6c757d;
}
#container {
display: flex;
flex-direction: column;
width: 95%;
height: 95vh;
border: 1px solid #ccc;
border-radius: 10px;
overflow: hidden;
}
#chatWindow, #sourcesWindow {
width: 100%;
padding: 20px;
box-sizing: border-box;
}
#chatWindow {
border-bottom: 1px solid #ccc;
display: flex;
flex-direction: column;
height: 100%;
font-family: Verdana, Geneva, Tahoma, sans-serif;
font-size: 100%; /* Larger font size */
}
#messages {
flex: 1;
overflow-y: auto;
margin-bottom: 10px;
}
.message {
display: flex;
flex-direction: column;
margin-bottom: 10px;
padding: 10px;
border-radius: 10px;
max-width: 100%;
}
.user {
align-self: flex-end;
background-color: #e9f9ff;
color: rgb(58, 58, 58);
text-align: right;
}
.ai {
align-self: flex-start;
background-color: #fff3f5;
color: black;
text-align: left;
}
.user .name, .ai .name {
font-weight: bold;
margin-bottom: 5px;
}
.user .text, .ai .text {
margin-top: 5px; /* Add space between sender and text */
}
#inputArea {
display: flex;
}
#userInput {
flex: 1;
padding: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 5px 0 0 5px;
outline: none;
}
#sendButton {
padding: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-left: none;
border-radius: 0 5px 5px 0;
background-color: #03A1DF;
color: white;
cursor: pointer;
}
#sendButton:hover {
background-color: #00729f;
}
#sourcesWindow {
display: none;
height: 50%;
overflow-y: auto;
font-size: 75%; /* Smaller font size */
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
#sourcesTable {
width: 100%;
border-collapse: collapse;
}
#sourcesTable th, #sourcesTable td {
border: 1px solid #ccc;
padding: 8px;
text-align: left;
}
#sourcesTable th {
background-color: #f2f2f2;
}
#sourcesTable td:nth-child(2) {
width: 50%; /* Text Segment should be the largest size */
}
#sourcesTable td:nth-child(4) {
width: 30%; /* Absolute Directory Path should be the second largest */
}