Spaces:
Running
Running
Update static/app.css
Browse files- static/app.css +131 -2
static/app.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
html ,body{
|
2 |
height: 100%;
|
3 |
width: 100%;
|
4 |
box-sizing: border-box;
|
@@ -83,4 +83,133 @@ color: white;
|
|
83 |
cursor: pointer;
|
84 |
justify-content: space-around;
|
85 |
align-items:center;
|
86 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*html ,body{
|
2 |
height: 100%;
|
3 |
width: 100%;
|
4 |
box-sizing: border-box;
|
|
|
83 |
cursor: pointer;
|
84 |
justify-content: space-around;
|
85 |
align-items:center;
|
86 |
+
}*/
|
87 |
+
/* Base layout */
|
88 |
+
html, body {
|
89 |
+
height: 100vh;
|
90 |
+
width: 100vw;
|
91 |
+
margin: 0;
|
92 |
+
padding: 0;
|
93 |
+
box-sizing: border-box;
|
94 |
+
background-color: white;
|
95 |
+
font-family: sans-serif;
|
96 |
+
}
|
97 |
+
|
98 |
+
/* Body structure with flex layout */
|
99 |
+
body {
|
100 |
+
display: flex;
|
101 |
+
flex-direction: column;
|
102 |
+
}
|
103 |
+
|
104 |
+
/* Header */
|
105 |
+
header {
|
106 |
+
flex: 0 0 10vh;
|
107 |
+
width: 100%;
|
108 |
+
display: flex;
|
109 |
+
justify-content: flex-start;
|
110 |
+
align-items: center;
|
111 |
+
gap: 20px;
|
112 |
+
padding: 0 20px;
|
113 |
+
background-color: #f5f5f5;
|
114 |
+
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
115 |
+
}
|
116 |
+
|
117 |
+
header img {
|
118 |
+
height: 8vh;
|
119 |
+
width: 5vw;
|
120 |
+
object-fit: cover;
|
121 |
+
}
|
122 |
+
|
123 |
+
header span {
|
124 |
+
font-size: 30px;
|
125 |
+
}
|
126 |
+
|
127 |
+
em {
|
128 |
+
color: rgb(42, 42, 248);
|
129 |
+
}
|
130 |
+
|
131 |
+
/* Chat conversation area */
|
132 |
+
.convo {
|
133 |
+
flex: 1;
|
134 |
+
width: 100%;
|
135 |
+
overflow-y: auto;
|
136 |
+
padding: 10px 20px;
|
137 |
+
box-sizing: border-box;
|
138 |
+
background-color: #fafafa;
|
139 |
+
}
|
140 |
+
|
141 |
+
/* Input + icons section */
|
142 |
+
.qtdoc {
|
143 |
+
flex: 0 0 15vh;
|
144 |
+
width: 100%;
|
145 |
+
display: flex;
|
146 |
+
justify-content: center;
|
147 |
+
align-items: center;
|
148 |
+
padding: 10px 20px;
|
149 |
+
background-color: #f0f0f0;
|
150 |
+
box-shadow: 0 -1px 3px rgba(0,0,0,0.1);
|
151 |
+
box-sizing: border-box;
|
152 |
+
}
|
153 |
+
|
154 |
+
/* Input box */
|
155 |
+
.qt {
|
156 |
+
flex: 1;
|
157 |
+
height: 100%;
|
158 |
+
max-height: 60px;
|
159 |
+
border: none;
|
160 |
+
background-color: #8d8b8b;
|
161 |
+
display: flex;
|
162 |
+
justify-content: space-between;
|
163 |
+
align-items: center;
|
164 |
+
border-radius: 10px;
|
165 |
+
margin: 10px;
|
166 |
+
padding: 0 10px;
|
167 |
+
box-sizing: border-box;
|
168 |
+
}
|
169 |
+
|
170 |
+
.qt input {
|
171 |
+
width: 70%;
|
172 |
+
height: 70%;
|
173 |
+
border: none;
|
174 |
+
background-color: #8d8b8b;
|
175 |
+
color: white;
|
176 |
+
margin: 10px;
|
177 |
+
font-size: 16px;
|
178 |
+
}
|
179 |
+
|
180 |
+
.qt input::placeholder {
|
181 |
+
color: white;
|
182 |
+
}
|
183 |
+
|
184 |
+
.qt input:focus {
|
185 |
+
border: none;
|
186 |
+
outline: none;
|
187 |
+
}
|
188 |
+
|
189 |
+
/* Icon styles */
|
190 |
+
.icons {
|
191 |
+
width: 18%;
|
192 |
+
display: flex;
|
193 |
+
gap: 2%;
|
194 |
+
font-size: 20px;
|
195 |
+
cursor: pointer;
|
196 |
+
justify-content: space-around;
|
197 |
+
align-items: center;
|
198 |
+
color: white;
|
199 |
+
}
|
200 |
+
|
201 |
+
/* Send button styling */
|
202 |
+
.sendingQA {
|
203 |
+
background-color: #3b82f6;
|
204 |
+
color: white;
|
205 |
+
padding: 10px 15px;
|
206 |
+
border-radius: 8px;
|
207 |
+
margin-left: 10px;
|
208 |
+
cursor: pointer;
|
209 |
+
border: none;
|
210 |
+
font-size: 16px;
|
211 |
+
}
|
212 |
+
|
213 |
+
.sendingQA:hover {
|
214 |
+
background-color: #2563eb;
|
215 |
+
}
|