092_user_interface / src /index.css
anotherath's picture
fix ui and core
4bae792
@import "tailwindcss";
@import "./styles/theme.css";
:root {
font-family:
"Inter",
system-ui,
-apple-system,
sans-serif;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
margin: 0;
padding: 0;
overflow: hidden;
}
#root {
width: 100vw;
height: 100vh;
margin: 0;
padding: 0;
}
/* Chat input placeholder */
.chat-input-wrapper {
position: relative;
}
.chat-input-placeholder {
position: absolute;
left: 2.75rem; /* 1rem padding + 0.75rem gap + button width */
right: 6rem; /* paperclip + send buttons */
top: 50%;
transform: translateY(-50%);
color: var(--text-muted);
pointer-events: none;
font-size: 0.875rem;
font-family: inherit;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.chat-input-placeholder.hidden {
display: none;
}
/* Mention tag styling in input */
.mention-tag {
display: inline;
user-select: none;
}
/* Login page animations */
@keyframes float {
0%, 100% { transform: translateY(0px) rotate(0deg); }
50% { transform: translateY(-20px) rotate(2deg); }
}
@keyframes float-slow {
0%, 100% { transform: translateY(0px) translateX(0px); }
33% { transform: translateY(-30px) translateX(10px); }
66% { transform: translateY(-15px) translateX(-10px); }
}
@keyframes gradient-shift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
@keyframes pulse-glow {
0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.4); }
50% { box-shadow: 0 0 32px rgba(59, 130, 246, 0.6); }
}
@keyframes spin-slow {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.animate-float {
animation: float 6s ease-in-out infinite;
}
.animate-float-slow {
animation: float-slow 10s ease-in-out infinite;
}
.animate-float-delayed {
animation: float 8s ease-in-out infinite;
animation-delay: 2s;
}
.animate-gradient-shift {
background-size: 200% 200%;
animation: gradient-shift 15s ease infinite;
}
.animate-pulse-glow {
animation: pulse-glow 3s ease-in-out infinite;
}
.animate-spin-slow {
animation: spin-slow 20s linear infinite;
}