Spaces:
Sleeping
Sleeping
Update static/style.css
Browse files- static/style.css +22 -5
static/style.css
CHANGED
|
@@ -104,15 +104,14 @@ html,body{
|
|
| 104 |
display:flex;
|
| 105 |
align-items:center;
|
| 106 |
justify-content:center;
|
|
|
|
| 107 |
box-shadow:0 0 0 6px rgba(23,184,176,0.06);
|
| 108 |
}
|
| 109 |
|
| 110 |
.avatar_img{
|
| 111 |
-
font-size:1.
|
|
|
|
| 112 |
color:var(--teal);
|
| 113 |
-
display:flex;
|
| 114 |
-
align-items:center;
|
| 115 |
-
justify-content:center;
|
| 116 |
}
|
| 117 |
|
| 118 |
.avatar_status{
|
|
@@ -360,6 +359,22 @@ html,body{
|
|
| 360 |
padding:3px;
|
| 361 |
}
|
| 362 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 363 |
.msg_cotainer,
|
| 364 |
.msg_cotainer_send{
|
| 365 |
max-width:68%;
|
|
@@ -446,6 +461,7 @@ html,body{
|
|
| 446 |
|
| 447 |
.type_msg{
|
| 448 |
flex:1 1 auto;
|
|
|
|
| 449 |
border:none;
|
| 450 |
outline:none;
|
| 451 |
background:transparent;
|
|
@@ -453,6 +469,7 @@ html,body{
|
|
| 453 |
font-family:'Inter', sans-serif;
|
| 454 |
color:var(--text);
|
| 455 |
padding:12px 0;
|
|
|
|
| 456 |
}
|
| 457 |
|
| 458 |
.type_msg::placeholder{ color:var(--text-faint); }
|
|
@@ -544,7 +561,7 @@ html,body{
|
|
| 544 |
.welcome_block h3{ font-size:1rem; }
|
| 545 |
.welcome_block p{ font-size:0.8rem; }
|
| 546 |
.msg_cotainer, .msg_cotainer_send{ max-width:88%; padding:11px 14px; font-size:0.86rem; }
|
| 547 |
-
.img_cont_msg, .user_img_msg{ width:28px; height:28px; }
|
| 548 |
.card-footer{ padding:10px 10px max(10px, env(safe-area-inset-bottom)); }
|
| 549 |
.input-group{ padding:4px 4px 4px 14px; }
|
| 550 |
.send_btn{ width:38px; height:38px; }
|
|
|
|
| 104 |
display:flex;
|
| 105 |
align-items:center;
|
| 106 |
justify-content:center;
|
| 107 |
+
overflow:hidden;
|
| 108 |
box-shadow:0 0 0 6px rgba(23,184,176,0.06);
|
| 109 |
}
|
| 110 |
|
| 111 |
.avatar_img{
|
| 112 |
+
font-size:1.5rem;
|
| 113 |
+
line-height:1;
|
| 114 |
color:var(--teal);
|
|
|
|
|
|
|
|
|
|
| 115 |
}
|
| 116 |
|
| 117 |
.avatar_status{
|
|
|
|
| 359 |
padding:3px;
|
| 360 |
}
|
| 361 |
|
| 362 |
+
.user_avatar,
|
| 363 |
+
.bot_avatar{
|
| 364 |
+
width:32px;
|
| 365 |
+
height:32px;
|
| 366 |
+
border-radius:50%;
|
| 367 |
+
display:flex;
|
| 368 |
+
align-items:center;
|
| 369 |
+
justify-content:center;
|
| 370 |
+
font-size:0.8rem;
|
| 371 |
+
background:var(--surface);
|
| 372 |
+
border:1px solid var(--border);
|
| 373 |
+
}
|
| 374 |
+
|
| 375 |
+
.user_avatar{ color:var(--text-dim); }
|
| 376 |
+
.bot_avatar{ color:var(--teal); }
|
| 377 |
+
|
| 378 |
.msg_cotainer,
|
| 379 |
.msg_cotainer_send{
|
| 380 |
max-width:68%;
|
|
|
|
| 461 |
|
| 462 |
.type_msg{
|
| 463 |
flex:1 1 auto;
|
| 464 |
+
min-width:0;
|
| 465 |
border:none;
|
| 466 |
outline:none;
|
| 467 |
background:transparent;
|
|
|
|
| 469 |
font-family:'Inter', sans-serif;
|
| 470 |
color:var(--text);
|
| 471 |
padding:12px 0;
|
| 472 |
+
text-overflow:ellipsis;
|
| 473 |
}
|
| 474 |
|
| 475 |
.type_msg::placeholder{ color:var(--text-faint); }
|
|
|
|
| 561 |
.welcome_block h3{ font-size:1rem; }
|
| 562 |
.welcome_block p{ font-size:0.8rem; }
|
| 563 |
.msg_cotainer, .msg_cotainer_send{ max-width:88%; padding:11px 14px; font-size:0.86rem; }
|
| 564 |
+
.img_cont_msg, .user_img_msg, .user_avatar, .bot_avatar{ width:28px; height:28px; }
|
| 565 |
.card-footer{ padding:10px 10px max(10px, env(safe-area-inset-bottom)); }
|
| 566 |
.input-group{ padding:4px 4px 4px 14px; }
|
| 567 |
.send_btn{ width:38px; height:38px; }
|