Spaces:
Running
Running
Update static/app.css
Browse files- static/app.css +44 -94
static/app.css
CHANGED
@@ -1,91 +1,4 @@
|
|
1 |
-
/*html ,body{
|
2 |
-
height: 100%;
|
3 |
-
width: 100%;
|
4 |
-
box-sizing: border-box;
|
5 |
-
background-color: white;
|
6 |
-
}
|
7 |
-
|
8 |
-
body{
|
9 |
-
gap: 20px;
|
10 |
-
}
|
11 |
-
header{
|
12 |
-
width: 100%;
|
13 |
-
height: 10%;
|
14 |
-
display: flex;
|
15 |
-
justify-content: flex-start;
|
16 |
-
gap : 20px ;
|
17 |
-
align-items: center;
|
18 |
-
}
|
19 |
-
|
20 |
-
header img {
|
21 |
-
height: 15vh;
|
22 |
-
width: 5vw;
|
23 |
-
object-fit:cover;
|
24 |
-
}
|
25 |
-
|
26 |
-
header span{
|
27 |
-
font-size: 30px;
|
28 |
-
}
|
29 |
-
|
30 |
-
em{
|
31 |
-
color:rgb(42, 42, 248);
|
32 |
-
}
|
33 |
|
34 |
-
.convo{
|
35 |
-
height: 75%;
|
36 |
-
width: 100%;
|
37 |
-
overflow-y: auto;
|
38 |
-
padding: 10px;
|
39 |
-
box-sizing: border-box;
|
40 |
-
}
|
41 |
-
|
42 |
-
|
43 |
-
.qt{
|
44 |
-
width: 70%;
|
45 |
-
height: 50%;
|
46 |
-
border: none;
|
47 |
-
background-color: #8d8b8b;
|
48 |
-
display: flex;
|
49 |
-
justify-content: space-between;
|
50 |
-
align-items: center;
|
51 |
-
border-radius: 10px;
|
52 |
-
margin: 10px;
|
53 |
-
}
|
54 |
-
|
55 |
-
.qt input{
|
56 |
-
width: 70%;
|
57 |
-
height: 70%;
|
58 |
-
border: none;
|
59 |
-
background-color: #8d8b8b;
|
60 |
-
color:white;
|
61 |
-
margin : 10px
|
62 |
-
}
|
63 |
-
.qt input::placeholder{
|
64 |
-
color: white;
|
65 |
-
}
|
66 |
-
.qt input:focus{
|
67 |
-
border: none;
|
68 |
-
outline: none;
|
69 |
-
}
|
70 |
-
.qtdoc{
|
71 |
-
width: 100%;
|
72 |
-
height: 10%;
|
73 |
-
display: flex;
|
74 |
-
justify-content: center;
|
75 |
-
align-items: center;
|
76 |
-
}
|
77 |
-
|
78 |
-
.icons{
|
79 |
-
width: 18%;
|
80 |
-
display: flex;
|
81 |
-
gap: 2%;
|
82 |
-
font-size: large;
|
83 |
-
cursor: pointer;
|
84 |
-
justify-content: space-around;
|
85 |
-
align-items:center;
|
86 |
-
}*/
|
87 |
-
/* Base layout */
|
88 |
-
/* Reset & base layout */
|
89 |
* {
|
90 |
margin: 0;
|
91 |
padding: 0;
|
@@ -128,13 +41,6 @@ em {
|
|
128 |
color: rgb(42, 42, 248);
|
129 |
}
|
130 |
|
131 |
-
/* Conversation area (fills remaining space, scrolls only when needed) */
|
132 |
-
.convo {
|
133 |
-
flex: 1;
|
134 |
-
overflow-y: auto;
|
135 |
-
padding: 10px 20px;
|
136 |
-
background-color: #fafafa;
|
137 |
-
}
|
138 |
|
139 |
/* Bottom input section */
|
140 |
.qtdoc {
|
@@ -217,3 +123,47 @@ em {
|
|
217 |
padding: 1rem;
|
218 |
margin: 1rem;
|
219 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
* {
|
3 |
margin: 0;
|
4 |
padding: 0;
|
|
|
41 |
color: rgb(42, 42, 248);
|
42 |
}
|
43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
45 |
/* Bottom input section */
|
46 |
.qtdoc {
|
|
|
123 |
padding: 1rem;
|
124 |
margin: 1rem;
|
125 |
}
|
126 |
+
.convo {
|
127 |
+
max-height: 70vh;
|
128 |
+
overflow-y: auto;
|
129 |
+
padding: 10px;
|
130 |
+
display: flex;
|
131 |
+
flex-direction: column;
|
132 |
+
gap: 10px;
|
133 |
+
scroll-behavior: smooth;
|
134 |
+
}
|
135 |
+
|
136 |
+
.message {
|
137 |
+
max-width: 70%;
|
138 |
+
padding: 10px;
|
139 |
+
border-radius: 12px;
|
140 |
+
display: flex;
|
141 |
+
flex-direction: column;
|
142 |
+
position: relative;
|
143 |
+
}
|
144 |
+
|
145 |
+
.user {
|
146 |
+
align-self: flex-end;
|
147 |
+
background-color: #1ec9f3;
|
148 |
+
color: white;
|
149 |
+
border: 2px solid #0080c0;
|
150 |
+
}
|
151 |
+
|
152 |
+
.ai {
|
153 |
+
align-self: flex-start;
|
154 |
+
background-color: #a7e9af;
|
155 |
+
color: black;
|
156 |
+
border: 2px solid #3b7a57;
|
157 |
+
}
|
158 |
+
|
159 |
+
.label {
|
160 |
+
font-size: 0.8rem;
|
161 |
+
font-weight: bold;
|
162 |
+
margin-bottom: 5px;
|
163 |
+
color: #333;
|
164 |
+
}
|
165 |
+
|
166 |
+
.bubble {
|
167 |
+
font-size: 1rem;
|
168 |
+
white-space: pre-wrap;
|
169 |
+
}
|