Spaces:
Running
Running
Update application/static/css/style.css
Browse files- application/static/css/style.css +314 -316
application/static/css/style.css
CHANGED
@@ -1,317 +1,315 @@
|
|
1 |
-
::-webkit-scrollbar {
|
2 |
-
width: 12px;
|
3 |
-
}
|
4 |
-
|
5 |
-
::-webkit-scrollbar-track {
|
6 |
-
background: transparent;
|
7 |
-
}
|
8 |
-
|
9 |
-
::-webkit-scrollbar-thumb {
|
10 |
-
background: rgb(43, 43, 43);
|
11 |
-
border-radius: 6px;
|
12 |
-
}
|
13 |
-
|
14 |
-
::-webkit-scrollbar-thumb:hover {
|
15 |
-
background: rgb(119, 119, 119);
|
16 |
-
}
|
17 |
-
html,body{
|
18 |
-
padding: 0;
|
19 |
-
margin: 0;
|
20 |
-
background-color: rgb(2,2,8);
|
21 |
-
width: 100vw;
|
22 |
-
height: 100vh;
|
23 |
-
overflow: hidden;
|
24 |
-
scrollbar-width: thin;
|
25 |
-
scrollbar-color: rgb(41, 41, 41) transparent;
|
26 |
-
font-family: 'Inter';
|
27 |
-
|
28 |
-
}
|
29 |
-
nav{
|
30 |
-
position: fixed;
|
31 |
-
width: 100vw;
|
32 |
-
height: 8vh;
|
33 |
-
z-index: 100;
|
34 |
-
display: flex;
|
35 |
-
}
|
36 |
-
.hamburger{
|
37 |
-
display: flex;
|
38 |
-
flex-direction: column;
|
39 |
-
gap: 1.5vh;
|
40 |
-
width: 20vh;
|
41 |
-
color: white;
|
42 |
-
margin: 1vw;
|
43 |
-
cursor: pointer;
|
44 |
-
position: absolute;
|
45 |
-
z-index: 101;
|
46 |
-
}
|
47 |
-
.line1{
|
48 |
-
background-color: rgb(122, 122, 122);
|
49 |
-
width: 7vh;
|
50 |
-
height: 0.5vh;
|
51 |
-
}
|
52 |
-
.line2{
|
53 |
-
background-color: rgb(104, 104, 104);
|
54 |
-
width: 4vh;
|
55 |
-
height: 0.5vh;
|
56 |
-
}
|
57 |
-
|
58 |
-
.hamburger:hover .line1{
|
59 |
-
transform: translateX(-30px);
|
60 |
-
transition: transform 1s ease;
|
61 |
-
}
|
62 |
-
.hamburger:hover .line2{
|
63 |
-
transform: translateX(30px);
|
64 |
-
transition: transform 1s ease;
|
65 |
-
}
|
66 |
-
.menu{
|
67 |
-
height: 100vh;
|
68 |
-
width: 0px;
|
69 |
-
background-color: rgba(20, 20, 20,0.5);
|
70 |
-
border-radius: 10px;
|
71 |
-
position: fixed;
|
72 |
-
top: 0;
|
73 |
-
left: 0;
|
74 |
-
display: flex;
|
75 |
-
flex-direction: column;
|
76 |
-
overflow-y: auto;
|
77 |
-
}
|
78 |
-
.newChat{
|
79 |
-
margin-top: 8vh;
|
80 |
-
margin-left: 1vw;
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
font-
|
85 |
-
|
86 |
-
font-
|
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 |
-
margin-
|
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 |
-
border-top-
|
159 |
-
border-bottom-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
margin-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
margin-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
font-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
margin-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
.
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
.textCustomization{
|
316 |
-
display: none;
|
317 |
}
|
|
|
1 |
+
::-webkit-scrollbar {
|
2 |
+
width: 12px;
|
3 |
+
}
|
4 |
+
|
5 |
+
::-webkit-scrollbar-track {
|
6 |
+
background: transparent;
|
7 |
+
}
|
8 |
+
|
9 |
+
::-webkit-scrollbar-thumb {
|
10 |
+
background: rgb(43, 43, 43);
|
11 |
+
border-radius: 6px;
|
12 |
+
}
|
13 |
+
|
14 |
+
::-webkit-scrollbar-thumb:hover {
|
15 |
+
background: rgb(119, 119, 119);
|
16 |
+
}
|
17 |
+
html,body{
|
18 |
+
padding: 0;
|
19 |
+
margin: 0;
|
20 |
+
background-color: rgb(2,2,8);
|
21 |
+
width: 100vw;
|
22 |
+
height: 100vh;
|
23 |
+
overflow: hidden;
|
24 |
+
scrollbar-width: thin;
|
25 |
+
scrollbar-color: rgb(41, 41, 41) transparent;
|
26 |
+
font-family: 'Inter';
|
27 |
+
|
28 |
+
}
|
29 |
+
nav{
|
30 |
+
position: fixed;
|
31 |
+
width: 100vw;
|
32 |
+
height: 8vh;
|
33 |
+
z-index: 100;
|
34 |
+
display: flex;
|
35 |
+
}
|
36 |
+
.hamburger{
|
37 |
+
display: flex;
|
38 |
+
flex-direction: column;
|
39 |
+
gap: 1.5vh;
|
40 |
+
width: 20vh;
|
41 |
+
color: white;
|
42 |
+
margin: 1vw;
|
43 |
+
cursor: pointer;
|
44 |
+
position: absolute;
|
45 |
+
z-index: 101;
|
46 |
+
}
|
47 |
+
.line1{
|
48 |
+
background-color: rgb(122, 122, 122);
|
49 |
+
width: 7vh;
|
50 |
+
height: 0.5vh;
|
51 |
+
}
|
52 |
+
.line2{
|
53 |
+
background-color: rgb(104, 104, 104);
|
54 |
+
width: 4vh;
|
55 |
+
height: 0.5vh;
|
56 |
+
}
|
57 |
+
|
58 |
+
.hamburger:hover .line1{
|
59 |
+
transform: translateX(-30px);
|
60 |
+
transition: transform 1s ease;
|
61 |
+
}
|
62 |
+
.hamburger:hover .line2{
|
63 |
+
transform: translateX(30px);
|
64 |
+
transition: transform 1s ease;
|
65 |
+
}
|
66 |
+
.menu{
|
67 |
+
height: 100vh;
|
68 |
+
width: 0px;
|
69 |
+
background-color: rgba(20, 20, 20,0.5);
|
70 |
+
border-radius: 10px;
|
71 |
+
position: fixed;
|
72 |
+
top: 0;
|
73 |
+
left: 0;
|
74 |
+
display: flex;
|
75 |
+
flex-direction: column;
|
76 |
+
overflow-y: auto;
|
77 |
+
}
|
78 |
+
.newChat{
|
79 |
+
margin-top: 8vh;
|
80 |
+
margin-left: 1vw;
|
81 |
+
color: gray;
|
82 |
+
font-size: large;
|
83 |
+
cursor: pointer;
|
84 |
+
font-weight: 400;
|
85 |
+
position: relative;
|
86 |
+
font-size: large;
|
87 |
+
}
|
88 |
+
.newChat:hover{
|
89 |
+
transform: scale(0.95);
|
90 |
+
transition: transform 0.7s ease;
|
91 |
+
}
|
92 |
+
.prevChatsCont{
|
93 |
+
color: rgb(172, 171, 171);
|
94 |
+
margin-left: 1vw;
|
95 |
+
font-weight: 300;
|
96 |
+
display: flex;
|
97 |
+
flex-direction: column;
|
98 |
+
gap: 1vh;
|
99 |
+
position: relative;
|
100 |
+
font-size: medium;
|
101 |
+
|
102 |
+
}
|
103 |
+
.prevChat{
|
104 |
+
min-height: 5vh;
|
105 |
+
cursor: pointer;
|
106 |
+
width: 90%;
|
107 |
+
display: flex;
|
108 |
+
align-items: center;
|
109 |
+
padding-left: 5%;
|
110 |
+
border-radius: 10px;
|
111 |
+
overflow: hidden;
|
112 |
+
padding-top: 1%;
|
113 |
+
padding-bottom: 1%;
|
114 |
+
position: relative;
|
115 |
+
}
|
116 |
+
.prevChat:hover{
|
117 |
+
background-color: rgba(70,70, 70,1);
|
118 |
+
transform: translateY(5px);
|
119 |
+
transition: transform 0.8s ease;
|
120 |
+
}
|
121 |
+
.chatsTxt{
|
122 |
+
color: #fdffdf;
|
123 |
+
margin-left: 1vw;
|
124 |
+
font-size: 14px;
|
125 |
+
margin-top: 4vh;
|
126 |
+
margin-bottom: 3vh;
|
127 |
+
z-index: 100;
|
128 |
+
overflow: hidden;
|
129 |
+
min-height: 5vh;
|
130 |
+
display: flex;
|
131 |
+
align-items: center;
|
132 |
+
|
133 |
+
}
|
134 |
+
|
135 |
+
.container {
|
136 |
+
width: 99.5%;
|
137 |
+
max-width: 99.5%;
|
138 |
+
height: 90vh;
|
139 |
+
position: absolute;
|
140 |
+
z-index: 50;
|
141 |
+
top: 8vh;
|
142 |
+
display: flex;
|
143 |
+
flex-direction: column;
|
144 |
+
justify-content: flex-end;
|
145 |
+
z-index: 1;
|
146 |
+
}
|
147 |
+
|
148 |
+
.inputs {
|
149 |
+
width: 70%;
|
150 |
+
display: flex;
|
151 |
+
flex-direction: row;
|
152 |
+
justify-content: space-between;
|
153 |
+
align-items: center;
|
154 |
+
background-color: rgba(51, 51, 51, 0.4);
|
155 |
+
padding: 10px;
|
156 |
+
border-top-right-radius: 50px;
|
157 |
+
border-bottom-left-radius: 20px;
|
158 |
+
border-top-left-radius: 20px;
|
159 |
+
border-bottom-right-radius: 50px;
|
160 |
+
font-size: large;
|
161 |
+
position: relative;
|
162 |
+
margin-top: auto;
|
163 |
+
align-self: center;
|
164 |
+
margin-bottom: 1.5vh;
|
165 |
+
}
|
166 |
+
|
167 |
+
.textBox{
|
168 |
+
width: 90%;
|
169 |
+
background: none;
|
170 |
+
outline: none;
|
171 |
+
border: none;
|
172 |
+
color: rgb(161, 161, 161);
|
173 |
+
padding: 7px;
|
174 |
+
}
|
175 |
+
.sendBtn{
|
176 |
+
background-color: white;
|
177 |
+
border: none;
|
178 |
+
color: black;
|
179 |
+
font-size: x-large;
|
180 |
+
cursor: pointer;
|
181 |
+
border-radius: 50%;
|
182 |
+
width: 6vh;
|
183 |
+
height: 6vh;
|
184 |
+
}
|
185 |
+
.messages {
|
186 |
+
overflow-y: auto;
|
187 |
+
color: white;
|
188 |
+
padding: 10px;
|
189 |
+
display: flex;
|
190 |
+
flex-direction: column;
|
191 |
+
position: relative;
|
192 |
+
}
|
193 |
+
.user{
|
194 |
+
margin-left: auto;
|
195 |
+
max-width: 60%;
|
196 |
+
background-color: rgba(51, 51, 51, 0.4);
|
197 |
+
padding: 0.5vh 1.5vh 0.5vh 1.5vh;
|
198 |
+
text-align: left;
|
199 |
+
font-weight: 300;
|
200 |
+
border-radius: 10px;
|
201 |
+
box-shadow: 3px 3px rgb(36, 36, 36) inset;
|
202 |
+
font-size: medium;
|
203 |
+
line-height: 130%;
|
204 |
+
}
|
205 |
+
.user p{
|
206 |
+
color: #c5c5c5;
|
207 |
+
}
|
208 |
+
.ai{
|
209 |
+
text-align: left;
|
210 |
+
width: 70%;
|
211 |
+
margin-left: auto;
|
212 |
+
margin-right: auto;
|
213 |
+
margin-top: 2vh;
|
214 |
+
}
|
215 |
+
.ai p {
|
216 |
+
opacity: 0.95;
|
217 |
+
font-size: medium;
|
218 |
+
font-weight: 300;
|
219 |
+
line-height: 1.6;
|
220 |
+
color: #cfcfcf;
|
221 |
+
}
|
222 |
+
.user p, .ai p{
|
223 |
+
padding:0;
|
224 |
+
}
|
225 |
+
.subHeading,.heading{
|
226 |
+
padding: 1vh;
|
227 |
+
border-radius: 10px;
|
228 |
+
display: inline-block;
|
229 |
+
margin-bottom: 2vh;
|
230 |
+
margin-top: 2vh;
|
231 |
+
}
|
232 |
+
.subHeading{
|
233 |
+
background-color: rgba(51, 51, 51, 0.7);
|
234 |
+
}
|
235 |
+
.heading{
|
236 |
+
background-color: rgba(119, 16, 238, 0.55);
|
237 |
+
box-shadow: 6px 6px rgb(32, 32, 32) ;
|
238 |
+
|
239 |
+
}
|
240 |
+
code{
|
241 |
+
border-radius: 15px;
|
242 |
+
}
|
243 |
+
.models{
|
244 |
+
position: relative;
|
245 |
+
margin: auto;
|
246 |
+
padding: 10px ;
|
247 |
+
outline: none;
|
248 |
+
background-color: rgb(43, 43, 43);
|
249 |
+
color: rgb(177, 177, 177);
|
250 |
+
border: none;
|
251 |
+
border-radius: 10px;
|
252 |
+
}
|
253 |
+
.models:hover{
|
254 |
+
background-color: #383838;
|
255 |
+
}
|
256 |
+
.models option{
|
257 |
+
background-color: rgb(34, 34, 34);
|
258 |
+
color: #afafaf;
|
259 |
+
padding: 10px;
|
260 |
+
}
|
261 |
+
.alert{
|
262 |
+
position: absolute;
|
263 |
+
top: 50%;
|
264 |
+
left: 50%;
|
265 |
+
transform: translate(-50%,-50%);
|
266 |
+
width: 320px;
|
267 |
+
height: 300px;
|
268 |
+
display: flex;
|
269 |
+
flex-direction: column;
|
270 |
+
color: #d8d8d8;
|
271 |
+
background-color: #222222;
|
272 |
+
box-shadow: 6px 6px rgb(41, 41, 41) ;
|
273 |
+
justify-content: center;
|
274 |
+
z-index: 100;
|
275 |
+
}
|
276 |
+
.alert p{
|
277 |
+
float: left;
|
278 |
+
padding: 10px;
|
279 |
+
font-family: 'Inter';
|
280 |
+
font-weight: 300;
|
281 |
+
font-size: 15px;
|
282 |
+
color: #cfcfcf;
|
283 |
+
opacity: 0.9;
|
284 |
+
}
|
285 |
+
.closeAlert{
|
286 |
+
margin-left: auto;
|
287 |
+
margin-right: 10px;
|
288 |
+
margin-top: 10px;
|
289 |
+
background-color: rgb(247, 102, 102);
|
290 |
+
padding: 10px;
|
291 |
+
cursor: pointer;
|
292 |
+
border-radius: 10px;
|
293 |
+
color: #ffffff;
|
294 |
+
}
|
295 |
+
.note{
|
296 |
+
text-align: center;
|
297 |
+
background-color: rgba(119, 16, 238, 0.55);
|
298 |
+
box-shadow: 6px 6px rgb(32, 32, 32) ;
|
299 |
+
margin: auto;
|
300 |
+
width: 70px;
|
301 |
+
}
|
302 |
+
|
303 |
+
@media screen and (max-width: 780px){
|
304 |
+
.menu{
|
305 |
+
background-color: rgba(20, 20, 20);
|
306 |
+
}
|
307 |
+
.inputs{
|
308 |
+
width: 85%;
|
309 |
+
}
|
310 |
+
}
|
311 |
+
|
312 |
+
/* TO do .....*/
|
313 |
+
.textCustomization{
|
314 |
+
display: none;
|
|
|
|
|
315 |
}
|