New Greeting Tab + New File Structure
This commit is contained in:
200
styles.css
200
styles.css
@@ -1,3 +1,7 @@
|
||||
@import url("assets/home.css");
|
||||
@import url("assets/news.css");
|
||||
@import url("assets/greet.css");
|
||||
|
||||
/* --- Global & Layout --- */
|
||||
body {
|
||||
background-color: #0f0f13;
|
||||
@@ -102,151 +106,6 @@ html {
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
/* --- Chat Layout (Neu & Verbessert) --- */
|
||||
.chat-wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 70vh;
|
||||
}
|
||||
|
||||
.chat-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
margin-bottom: 180px; /* Platz für Input-Container */
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
.chat-item {
|
||||
max-width: 85%;
|
||||
padding: 12px 16px;
|
||||
border-radius: 18px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
/* Ausrichtung der Bubbles */
|
||||
.chat-item.outgoing {
|
||||
align-self: flex-end;
|
||||
background: rgba(74, 144, 226, 0.2);
|
||||
border: 1px solid rgba(74, 144, 226, 0.3);
|
||||
border-bottom-right-radius: 4px;
|
||||
}
|
||||
|
||||
.chat-item.incoming {
|
||||
align-self: flex-start;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
border-bottom-left-radius: 4px;
|
||||
}
|
||||
|
||||
.chat-meta {
|
||||
font-size: 0.65rem;
|
||||
color: #63636e;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: 4px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.chat-item.outgoing .chat-meta {
|
||||
color: #4a90e2;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.chat-content {
|
||||
font-size: 1rem;
|
||||
color: #e2e2e7;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
/* --- Floating Chat Input --- */
|
||||
.chat-input-container {
|
||||
position: fixed;
|
||||
bottom: 110px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 90%;
|
||||
max-width: 500px;
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
background: rgba(20, 20, 25, 0.9);
|
||||
backdrop-filter: blur(15px);
|
||||
padding: 12px;
|
||||
border-radius: 24px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
z-index: 900;
|
||||
}
|
||||
|
||||
.chat-input {
|
||||
flex: 1;
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: white;
|
||||
padding: 0 10px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.chat-send-btn {
|
||||
background: #4a90e2;
|
||||
color: white;
|
||||
border: none;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* --- Recipient UI --- */
|
||||
.recipient-box {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: #0f0f13;
|
||||
z-index: 100;
|
||||
padding-bottom: 10px;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
.recipient-input {
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
border-radius: 12px;
|
||||
color: #4a90e2;
|
||||
font-family: monospace;
|
||||
font-size: 0.85rem;
|
||||
width: 100%;
|
||||
padding: 10px 15px;
|
||||
outline: none;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.relay-status {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
padding: 4px 12px;
|
||||
border-radius: 20px;
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
|
||||
.status-dot {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.status-dot.online {
|
||||
background-color: #4ade80; /* Grün */
|
||||
box-shadow: 0 0 8px #4ade80;
|
||||
}
|
||||
|
||||
.status-dot.offline {
|
||||
background-color: #facc15; /* Gelb/Orange für "Connecting" */
|
||||
box-shadow: 0 0 8px #facc15;
|
||||
}
|
||||
|
||||
/* --- Markdown Styling für KI News --- */
|
||||
.markdown-body {
|
||||
font-size: 0.95rem;
|
||||
@@ -322,3 +181,54 @@ html {
|
||||
color: #8e8e93;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* Greet */
|
||||
.robot-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
||||
margin: 60px auto;
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
.robot-container:hover {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.robot-icon {
|
||||
font-size: 6rem;
|
||||
filter: drop-shadow(0 0 20px rgba(74, 144, 226, 0.3));
|
||||
animation: float 3s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.bubble {
|
||||
margin-top: 25px;
|
||||
padding: 20px 30px;
|
||||
background: rgba(30, 30, 46, 0.7);
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
border-radius: 24px;
|
||||
border: 1px solid rgba(255, 173, 210, 0.4);
|
||||
color: #ffffff;
|
||||
font-weight: 600;
|
||||
font-size: 1.1rem;
|
||||
text-align: center;
|
||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
|
||||
max-width: 320px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
@keyframes float {
|
||||
0% {
|
||||
transform: translateY(0px);
|
||||
}
|
||||
50% {
|
||||
transform: translateY(-10px);
|
||||
}
|
||||
100% {
|
||||
transform: translateY(0px);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user