StreamAI / styles /main.css
privateuserh's picture
Update styles/main.css
52ace88 verified
<style>
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
100% { transform: translateY(0px); }
}
.floating {
animation: float 6s ease-in-out infinite;
}
.gradient-bg {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.chat-bubble {
border-radius: 20px;
position: relative;
max-width: 80%;
}
.user-bubble {
background-color: #4f46e5;
color: white;
margin-left: auto;
border-bottom-right-radius: 5px;
}
.ai-bubble {
background-color: #f3f4f6;
color: #1f2937;
margin-right: auto;
border-bottom-left-radius: 5px;
}
.typing-indicator span {
display: inline-block;
width: 8px;
height: 8px;
border-radius: 50%;
background-color: #9ca3af;
margin: 0 2px;
}
.typing-indicator span:nth-child(1) {
animation: bounce 1s infinite;
}
.typing-indicator span:nth-child(2) {
animation: bounce 1s infinite 0.2s;
}
.typing-indicator span:nth-child(3) {
animation: bounce 1s infinite 0.4s;
}
@keyframes bounce {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-5px); }
}
.stream-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.fade-in {
animation: fadeIn 0.5s ease-in;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.notification {
position: fixed;
bottom: 20px;
right: 20px;
background: #4f46e5;
color: white;
padding: 15px 25px;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transform: translateX(120%);
transition: transform 0.3s ease-out;
z-index: 1000;
}
.notification.show {
transform: translateX(0);
}
.production-button {
position: fixed;
bottom: 30px;
right: 30px;
width: 60px;
height: 60px;
border-radius: 50%;
background: linear-gradient(135deg, #ff5e62 0%, #ff9966 100%);
color: white;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 10px 25px rgba(255, 94, 98, 0.3);
cursor: pointer;
z-index: 999;
transition: all 0.3s ease;
}
.production-button:hover {
transform: scale(1.1);
box-shadow: 0 15px 30px rgba(255, 94, 98, 0.4);
}
.production-panel {
position: fixed;
bottom: 110px;
right: 30px;
width: 350px;
background: white;
border-radius: 12px;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
padding: 20px;
z-index: 998;
transform: translateY(20px);
opacity: 0;
pointer-events: none;
transition: all 0.3s ease;
}
.production-panel.open {
transform: translateY(0);
opacity: 1;
pointer-events: all;
}
.recording-indicator {
position: absolute;
top: -10px;
right: -10px;
width: 20px;
height: 20px;
border-radius: 50%;
background: #ff5e62;
animation: pulse 1.5s infinite;
}
@keyframes pulse {
0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 94, 98, 0.7); }
70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 94, 98, 0); }
100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 94, 98, 0); }
}
.clip-item {
display: flex;
align-items: center;
padding: 8px 0;
border-bottom: 1px solid #eee;
cursor: pointer;
}
.clip-item:hover {
background-color: #f9fafb;
}
.clip-item:last-child {
border-bottom: none;
}
.clip-preview {
width: 100%;
height: 180px;
background-color: #f3f4f6;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 15px;
position: relative;
overflow: hidden;
}
.clip-preview video {
width: 100%;
height: 100%;
object-fit: cover;
}
.clip-preview-placeholder {
text-align: center;
color: #6b7280;
}
.clip-preview-placeholder i {
font-size: 40px;
margin-bottom: 10px;
display: block;
}
.progress-bar {
height: 4px;
background-color: #e5e7eb;
border-radius: 2px;
overflow: hidden;
margin-top: 10px;
}
.progress-fill {
height: 100%;
background-color: #4f46e5;
width: 0%;
transition: width 0.3s ease;
}
.tab {
padding: 8px 16px;
border-radius: 20px;
font-size: 14px;
cursor: pointer;
margin-right: 8px;
}
.tab.active {
background-color: #4f46e5;
color: white;
}
.tab.inactive {
background-color: #f3f4f6;
color: #6b7280;
}
.rank-badge {
width: 20px;
height: 20px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 10px;
font-weight: bold;
margin-left: 8px;
}
.rank-1 {
background-color: #f59e0b;
color: white;
}
.rank-2 {
background-color: #6b7280;
color: white;
}
.rank-3 {
background-color: #92400e;
color: white;
}
.bluetooth-connected {
color: #3b82f6;
animation: pulse 2s infinite;
}
.bluetooth-disconnected {
color: #6b7280;
}
.user-tag {
background-color: #e5e7eb;
color: #4b5563;
padding: 2px 6px;
border-radius: 4px;
font-size: 10px;
margin-left: 4px;
}
.category-tag {
background-color: #dbeafe;
color: #1e40af;
padding: 2px 6px;
border-radius: 4px;
font-size: 10px;
margin-left: 4px;
}
</style>