obs-ss-plugin-webui/app/globals.css
Decobus 9a79decda3
Some checks failed
Lint and Build / build (22) (pull_request) Failing after 44s
Lint and Build / build (20) (pull_request) Failing after 53s
Comprehensive UI improvements with proper button spacing and modern design
- Fix broken Tailwind gap classes by implementing custom CSS spacing system
- Add .form-row and .button-group classes for consistent 16px and 12px spacing
- Replace broken SVG icons with reliable emoji icons throughout application
- Implement comprehensive button system with proper sizing and color coding:
  * btn-success (green) for add/save actions
  * btn-danger (red) for delete actions
  * btn-secondary (glass) for edit/cancel actions
  * btn-sm for smaller buttons with proper proportions

Updated all pages with consistent spacing:
- Header: Fixed navigation button spacing with button-group class
- Teams: Fixed add team form and action button spacing
- Streams: Moved Add Stream button to same line as team dropdown
- Home: Updated edit button styling and spacing
- Edit: Fixed all form buttons with proper spacing and modern icons

Enhanced user experience:
- Professional button hover effects with subtle animations
- Consistent visual hierarchy with proper spacing
- Responsive design maintained across all screen sizes
- Modern glass morphism design with improved accessibility

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-19 05:12:10 -04:00

317 lines
No EOL
5.2 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
/* Modern CSS Foundation */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}
body {
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 System */
.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;
justify-content: center;
gap: 8px;
position: relative;
min-height: 44px;
font-size: 14px;
text-decoration: none;
}
.btn.active {
background: linear-gradient(135deg, #1d4ed8, #1e40af);
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}
.btn:hover {
transform: translateY(-1px);
box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}
.btn:disabled {
opacity: 0.6;
cursor: not-allowed;
transform: none;
box-shadow: none;
}
/* Secondary Button */
.btn-secondary {
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
color: white;
backdrop-filter: blur(10px);
}
.btn-secondary:hover {
background: rgba(255, 255, 255, 0.2);
border-color: rgba(255, 255, 255, 0.3);
box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
}
/* Success Button */
.btn-success {
background: linear-gradient(135deg, #10b981, #059669);
color: white;
}
.btn-success:hover {
background: linear-gradient(135deg, #059669, #047857);
box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}
/* Danger Button */
.btn-danger {
background: linear-gradient(135deg, #ef4444, #dc2626);
color: white;
}
.btn-danger:hover {
background: linear-gradient(135deg, #dc2626, #b91c1c);
box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}
/* Small Button */
.btn-sm {
padding: 8px 16px;
font-size: 12px;
min-height: 36px;
border-radius: 8px;
}
/* Icon Only Button */
.btn-icon {
padding: 10px;
min-width: 44px;
aspect-ratio: 1;
}
/* Button with icon spacing */
.btn .icon {
flex-shrink: 0;
}
/* Form spacing fixes since Tailwind gap classes aren't working */
.form-row {
display: flex;
align-items: center;
}
.form-row > * + * {
margin-left: 16px;
}
.button-group {
display: flex;
align-items: center;
}
.button-group > * + * {
margin-left: 12px;
}
/* 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;
}