Update Designanpassungen für HF
Browse filesEntfernung schwebende Logo, Positionierung des Chatbuttons, Anpassung Länge Gesprächsfelder
app.py
CHANGED
|
@@ -745,9 +745,9 @@ def main():
|
|
| 745 |
|
| 746 |
/* Home-Tab Chat-Button */
|
| 747 |
.home-chat-button {{
|
| 748 |
-
position:
|
| 749 |
-
bottom:
|
| 750 |
-
left:
|
| 751 |
transform: translateX(-50%) !important;
|
| 752 |
font-family: 'Nunito', sans-serif !important;
|
| 753 |
font-weight: 700 !important;
|
|
@@ -821,22 +821,13 @@ def main():
|
|
| 821 |
}}
|
| 822 |
|
| 823 |
#logo-container {{
|
| 824 |
-
|
| 825 |
-
|
| 826 |
-
left: 20px !important;
|
| 827 |
-
z-index: 2000 !important;
|
| 828 |
-
background: white !important;
|
| 829 |
-
border-radius: 50% !important;
|
| 830 |
-
padding: 1px !important;
|
| 831 |
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
|
| 832 |
}}
|
| 833 |
-
|
| 834 |
#logo-container img {{
|
| 835 |
-
|
| 836 |
-
|
| 837 |
-
border-radius: 50% !important;
|
| 838 |
-
object-fit: cover !important;
|
| 839 |
-
display: block !important;
|
| 840 |
}}
|
| 841 |
|
| 842 |
#CHATBOT {{
|
|
@@ -881,6 +872,9 @@ def main():
|
|
| 881 |
font-size: 16px !important;
|
| 882 |
border-radius: 25px !important;
|
| 883 |
padding: 15px 20px !important;
|
|
|
|
|
|
|
|
|
|
| 884 |
}}
|
| 885 |
.message.bot p, .message.bot span, .message.bot div, .message.bot strong, .message.bot b {{
|
| 886 |
font-family: 'Nunito', sans-serif !important;
|
|
@@ -899,6 +893,9 @@ def main():
|
|
| 899 |
font-size: 16px !important;
|
| 900 |
border-radius: 25px !important;
|
| 901 |
padding: 15px 20px !important;
|
|
|
|
|
|
|
|
|
|
| 902 |
}}
|
| 903 |
.message.user p, .message.user span, .message.user div {{
|
| 904 |
font-family: 'Nunito', sans-serif !important;
|
|
@@ -1401,9 +1398,11 @@ def main():
|
|
| 1401 |
// Style nur den Eingabe-Container
|
| 1402 |
container.style.position = 'fixed';
|
| 1403 |
container.style.bottom = '15px';
|
| 1404 |
-
container.style.left = '
|
|
|
|
| 1405 |
container.style.right = 'auto';
|
| 1406 |
-
container.style.width = '
|
|
|
|
| 1407 |
container.style.background = 'transparent';
|
| 1408 |
container.style.padding = '15px 20px';
|
| 1409 |
container.style.zIndex = '1000';
|
|
|
|
| 745 |
|
| 746 |
/* Home-Tab Chat-Button */
|
| 747 |
.home-chat-button {{
|
| 748 |
+
position: absolute !important;
|
| 749 |
+
bottom: 160px !important;
|
| 750 |
+
left: 50% !important;
|
| 751 |
transform: translateX(-50%) !important;
|
| 752 |
font-family: 'Nunito', sans-serif !important;
|
| 753 |
font-weight: 700 !important;
|
|
|
|
| 821 |
}}
|
| 822 |
|
| 823 |
#logo-container {{
|
| 824 |
+
display: none !important;
|
| 825 |
+
visibility: hidden !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 826 |
}}
|
| 827 |
+
|
| 828 |
#logo-container img {{
|
| 829 |
+
display: none !important;
|
| 830 |
+
visibility: hidden !important;
|
|
|
|
|
|
|
|
|
|
| 831 |
}}
|
| 832 |
|
| 833 |
#CHATBOT {{
|
|
|
|
| 872 |
font-size: 16px !important;
|
| 873 |
border-radius: 25px !important;
|
| 874 |
padding: 15px 20px !important;
|
| 875 |
+
max-width: 600px !important;
|
| 876 |
+
margin-left: auto !important;
|
| 877 |
+
margin-right: auto !important;
|
| 878 |
}}
|
| 879 |
.message.bot p, .message.bot span, .message.bot div, .message.bot strong, .message.bot b {{
|
| 880 |
font-family: 'Nunito', sans-serif !important;
|
|
|
|
| 893 |
font-size: 16px !important;
|
| 894 |
border-radius: 25px !important;
|
| 895 |
padding: 15px 20px !important;
|
| 896 |
+
max-width: 600px !important;
|
| 897 |
+
margin-left: auto !important;
|
| 898 |
+
margin-right: auto !important;
|
| 899 |
}}
|
| 900 |
.message.user p, .message.user span, .message.user div {{
|
| 901 |
font-family: 'Nunito', sans-serif !important;
|
|
|
|
| 1398 |
// Style nur den Eingabe-Container
|
| 1399 |
container.style.position = 'fixed';
|
| 1400 |
container.style.bottom = '15px';
|
| 1401 |
+
container.style.left = '50%';
|
| 1402 |
+
container.style.transform = 'translateX(-50%)';
|
| 1403 |
container.style.right = 'auto';
|
| 1404 |
+
container.style.width = '600px';
|
| 1405 |
+
container.style.maxWidth = 'calc(100% - 40px)';
|
| 1406 |
container.style.background = 'transparent';
|
| 1407 |
container.style.padding = '15px 20px';
|
| 1408 |
container.style.zIndex = '1000';
|