Spaces:
Running
Running
Update static/app.css
Browse files- static/app.css +24 -38
static/app.css
CHANGED
@@ -85,28 +85,26 @@ color: white;
|
|
85 |
align-items:center;
|
86 |
}*/
|
87 |
/* Base layout */
|
88 |
-
|
89 |
-
|
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 |
-
|
99 |
-
|
|
|
|
|
|
|
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;
|
@@ -128,43 +126,36 @@ em {
|
|
128 |
color: rgb(42, 42, 248);
|
129 |
}
|
130 |
|
131 |
-
/*
|
132 |
.convo {
|
133 |
flex: 1;
|
134 |
-
|
135 |
-
overflow-y: auto;
|
136 |
padding: 10px 20px;
|
137 |
-
box-sizing: border-box;
|
138 |
background-color: #fafafa;
|
139 |
}
|
140 |
|
141 |
-
/*
|
142 |
.qtdoc {
|
143 |
-
flex: 0 0
|
144 |
-
|
|
|
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
|
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 |
-
|
168 |
}
|
169 |
|
170 |
.qt input {
|
@@ -173,7 +164,6 @@ em {
|
|
173 |
border: none;
|
174 |
background-color: #8d8b8b;
|
175 |
color: white;
|
176 |
-
margin: 10px;
|
177 |
font-size: 16px;
|
178 |
}
|
179 |
|
@@ -182,29 +172,25 @@ em {
|
|
182 |
}
|
183 |
|
184 |
.qt input:focus {
|
185 |
-
border: none;
|
186 |
outline: none;
|
187 |
}
|
188 |
|
189 |
-
/*
|
190 |
.icons {
|
191 |
-
width: 18%;
|
192 |
display: flex;
|
193 |
-
gap:
|
194 |
font-size: 20px;
|
195 |
-
cursor: pointer;
|
196 |
-
justify-content: space-around;
|
197 |
-
align-items: center;
|
198 |
color: white;
|
|
|
|
|
199 |
}
|
200 |
|
201 |
-
/* Send button
|
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;
|
|
|
85 |
align-items:center;
|
86 |
}*/
|
87 |
/* Base layout */
|
88 |
+
/* Reset & base layout */
|
89 |
+
* {
|
|
|
90 |
margin: 0;
|
91 |
padding: 0;
|
92 |
box-sizing: border-box;
|
|
|
|
|
93 |
}
|
94 |
|
95 |
+
html, body {
|
96 |
+
height: 100vh;
|
97 |
+
width: 100vw;
|
98 |
+
font-family: sans-serif;
|
99 |
+
background-color: white;
|
100 |
display: flex;
|
101 |
flex-direction: column;
|
102 |
}
|
103 |
|
104 |
+
/* Header (fixed height) */
|
105 |
header {
|
106 |
flex: 0 0 10vh;
|
|
|
107 |
display: flex;
|
|
|
108 |
align-items: center;
|
109 |
gap: 20px;
|
110 |
padding: 0 20px;
|
|
|
126 |
color: rgb(42, 42, 248);
|
127 |
}
|
128 |
|
129 |
+
/* Conversation area (fills remaining space, scrolls only when needed) */
|
130 |
.convo {
|
131 |
flex: 1;
|
132 |
+
overflow-y: auto;
|
|
|
133 |
padding: 10px 20px;
|
|
|
134 |
background-color: #fafafa;
|
135 |
}
|
136 |
|
137 |
+
/* Bottom input section */
|
138 |
.qtdoc {
|
139 |
+
flex: 0 0 auto;
|
140 |
+
padding: 10px 20px;
|
141 |
+
background-color: #f0f0f0;
|
142 |
display: flex;
|
143 |
justify-content: center;
|
144 |
align-items: center;
|
|
|
|
|
145 |
box-shadow: 0 -1px 3px rgba(0,0,0,0.1);
|
|
|
146 |
}
|
147 |
|
148 |
+
/* Input container */
|
149 |
.qt {
|
150 |
flex: 1;
|
|
|
|
|
|
|
|
|
151 |
display: flex;
|
|
|
152 |
align-items: center;
|
153 |
+
justify-content: space-between;
|
154 |
+
background-color: #8d8b8b;
|
155 |
border-radius: 10px;
|
156 |
+
margin-right: 10px;
|
157 |
padding: 0 10px;
|
158 |
+
height: 50px;
|
159 |
}
|
160 |
|
161 |
.qt input {
|
|
|
164 |
border: none;
|
165 |
background-color: #8d8b8b;
|
166 |
color: white;
|
|
|
167 |
font-size: 16px;
|
168 |
}
|
169 |
|
|
|
172 |
}
|
173 |
|
174 |
.qt input:focus {
|
|
|
175 |
outline: none;
|
176 |
}
|
177 |
|
178 |
+
/* Icons beside input */
|
179 |
.icons {
|
|
|
180 |
display: flex;
|
181 |
+
gap: 10px;
|
182 |
font-size: 20px;
|
|
|
|
|
|
|
183 |
color: white;
|
184 |
+
align-items: center;
|
185 |
+
cursor: pointer;
|
186 |
}
|
187 |
|
188 |
+
/* Send button */
|
189 |
.sendingQA {
|
190 |
background-color: #3b82f6;
|
191 |
color: white;
|
192 |
padding: 10px 15px;
|
193 |
border-radius: 8px;
|
|
|
194 |
cursor: pointer;
|
195 |
border: none;
|
196 |
font-size: 16px;
|