Update UI to match consistent layout patterns between pages
Some checks failed
Lint and Build / build (20) (push) Has been cancelled
Lint and Build / build (22) (push) Has been cancelled

- Refactor Add Stream page to match Teams page layout with glass panels
- Rename "Add Stream" to "Streams" in navigation and page title
- Add existing streams display with loading states and empty state
- Implement unified design system with modern glass morphism styling
- Add Header and Footer components with OBS status monitoring
- Update global CSS with comprehensive component styling
- Consolidate client components into main page files
- Add real-time OBS connection status with 30-second polling

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Decobus 2025-07-19 04:39:40 -04:00
parent 1d4b1eefba
commit c28baa9e44
19 changed files with 2388 additions and 567 deletions

View file

@ -2,22 +2,240 @@
@tailwind components;
@tailwind utilities;
/* Input styles removed - using explicit Tailwind classes on components instead */
:root {
--background: #ffffff;
--foreground: #171717;
/* Modern CSS Foundation */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
@media (prefers-color-scheme: dark) {
:root {
--background: #0a0a0a;
--foreground: #ededed;
}
html {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}
body {
color: var(--foreground);
background: var(--background);
font-family: Arial, Helvetica, sans-serif;
background: linear-gradient(135deg, #1e293b 0%, #312e81 50%, #1e293b 100%);
color: white;
min-height: 100vh;
line-height: 1.6;
}
/* Glass Card Component */
.glass {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 16px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
/* Modern Button */
.btn {
background: linear-gradient(135deg, #3b82f6, #1d4ed8);
color: white;
border: none;
padding: 12px 24px;
border-radius: 12px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
display: inline-flex;
align-items: center;
gap: 8px;
position: relative;
}
.btn.active {
background: linear-gradient(135deg, #1d4ed8, #1e40af);
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}
.btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}
.btn-secondary {
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-secondary:hover {
background: rgba(255, 255, 255, 0.2);
box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}
/* Input Styling */
.input {
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 12px;
padding: 12px 16px;
color: white;
width: 100%;
transition: all 0.3s ease;
}
.input::placeholder {
color: rgba(255, 255, 255, 0.6);
}
.input:focus {
outline: none;
border-color: #3b82f6;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
/* Dropdown Styling */
.dropdown-button {
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 12px;
padding: 12px 16px;
color: white;
width: 100%;
text-align: left;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
justify-content: space-between;
align-items: center;
}
.dropdown-button:hover {
background: rgba(255, 255, 255, 0.15);
}
.dropdown-menu {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 12px;
margin-top: 4px;
overflow: hidden;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.dropdown-item {
padding: 12px 16px;
cursor: pointer;
transition: all 0.2s ease;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.dropdown-item:last-child {
border-bottom: none;
}
.dropdown-item:hover {
background: rgba(255, 255, 255, 0.15);
}
.dropdown-item.active {
background: rgba(59, 130, 246, 0.2);
color: #93c5fd;
}
/* Icon Sizes */
.icon-sm {
width: 16px;
height: 16px;
}
.icon-md {
width: 20px;
height: 20px;
}
.icon-lg {
width: 24px;
height: 24px;
}
/* Layout */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 24px;
}
.section {
padding: 32px 0;
}
/* Grid Layouts */
.grid-2 {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 24px;
}
.grid-3 {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}
.grid-4 {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 16px;
}
@media (max-width: 768px) {
.grid-2,
.grid-3 {
grid-template-columns: 1fr;
}
}
/* Text Styles */
.title {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 16px;
text-align: center;
}
.subtitle {
font-size: 1.125rem;
color: rgba(255, 255, 255, 0.8);
text-align: center;
margin-bottom: 32px;
}
.card-title {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 16px;
text-align: center;
}
/* Utilities */
.text-center {
text-align: center;
}
.mb-4 {
margin-bottom: 16px;
}
.mb-6 {
margin-bottom: 24px;
}
.mb-8 {
margin-bottom: 32px;
}
.p-4 {
padding: 16px;
}
.p-6 {
padding: 24px;
}
.p-8 {
padding: 32px;
}