5.5 KiB
5.5 KiB
Deployment Checklist & Quick Start
Pre-Deployment Checklist
- Review the modern theme changes in README.md
- Test CSS syntax validation (no errors reported)
- Backup existing
custom/otssignange/css/override.css - Verify asset paths (logos, preview images)
- Check browser compatibility requirements
- Test on your development Xibo instance first
- Verify dark mode toggle if using system preference
- Test responsive layout on mobile devices
Installation Steps
Option A: Direct File Copy
# Navigate to your Xibo installation root
cd /path/to/xibo
# Backup original theme files
cp web/theme/custom/otssignange/css/override.css web/theme/custom/otssignange/css/override.css.backup
cp web/theme/custom/otssignange/css/html-preview.css web/theme/custom/otssignange/css/html-preview.css.backup
# Copy new theme files
cp /Users/matt/dev/theme/custom/otssignange/css/override.css web/theme/custom/otssignange/css/
cp /Users/matt/dev/theme/custom/otssignange/css/html-preview.css web/theme/custom/otssignange/css/
cp /Users/matt/dev/theme/custom/otssignange/css/client.css web/theme/custom/otssignange/css/
# Verify files copied
ls -la web/theme/custom/otssignange/css/
Option B: Using Git (if version-controlled)
cd /path/to/xibo
git checkout web/theme/custom/otssignange/css/
# Or manually merge your changes with the new files
Post-Deployment Validation
-
Clear Xibo Cache (if applicable):
# Xibo may cache CSS—clear if using PHP APC or similar rm -rf web/uploads/temp/* -
Verify in Browser:
- Open Xibo CMS admin interface
- Inspect elements for CSS color changes
- Check Network tab for CSS file loads (should see override.css)
- Verify no CSS errors in browser console
-
Test Key Features:
- Login page displays correctly
- Header bar shows primary color
- Sidebar navigation is styled properly
- Dashboard widgets render as cards with shadows
- Links have correct color and hover state
- Forms have proper focus states (blue outline)
- Mobile layout: open DevTools (F12) and resize to <640px
- Sidebar collapses into hamburger menu on mobile
- Dark mode: open DevTools → Rendering → Prefers color scheme: dark
-
Check Asset Loading:
- Verify
xibologo.pngdisplays in header - Check preview splash screen background loads
- Confirm favicon appears in browser tab
- Verify
Rollback Plan
If issues occur:
cd /path/to/xibo
# Restore backup
cp web/theme/custom/otssignange/css/override.css.backup web/theme/custom/otssignange/css/override.css
cp web/theme/custom/otssignange/css/html-preview.css.backup web/theme/custom/otssignange/css/html-preview.css
# Optional: Remove new client.css if causing issues
rm web/theme/custom/otssignange/css/client.css
# Clear cache
rm -rf web/uploads/temp/*
# Refresh browser (Ctrl+Shift+R for hard refresh)
Browser Support
Fully Supported (CSS Variables)
- Chrome/Edge 49+
- Firefox 31+
- Safari 9.1+
- Opera 36+
- Mobile browsers (iOS Safari 9.3+, Chrome Mobile 49+)
Partial Support (Fallbacks Recommended)
- IE 11 and below: Not supported
To add IE11 fallbacks, modify override.css (advanced):
/* Fallback for older browsers */
.widget {
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); /* IE fallback */
box-shadow: var(--shadow-sm);
}
Performance Notes
- CSS File Size:
override.cssis ~35KB (gzipped ~8KB) - Variables: 70+ CSS variables—negligible performance impact
- Dark Mode: Uses
prefers-color-schememedia query (no JavaScript required) - Responsive: Mobile-first approach—efficient layout recalculation
Next Steps
-
Optional Enhancements:
- Add SVG icon sprite to
img/for consistent iconography - Create Twig view overrides for deeper layout customization
- Implement user-controlled dark mode toggle
- Add SVG icon sprite to
-
Documentation:
- See CUSTOMIZATION.md for 15+ customization recipes
- See README.md for full feature documentation
-
Testing in CI/CD:
- Add CSS linter (stylelint) to your build pipeline
- Validate HTML/CSS in staging before production push
Support & Troubleshooting
Issue: CSS Not Loading
Solution:
- Hard refresh browser: Ctrl+Shift+R (Windows/Linux) or Cmd+Shift+R (Mac)
- Check browser console for 404 errors on CSS files
- Verify file permissions:
chmod 644 override.css
Issue: Colors Look Wrong
Solution:
- Check if system dark mode is enabled (see Post-Deployment Validation)
- Verify
--color-primaryvalue in:rootmatches intended brand color - Test in different browsers
Issue: Sidebar Doesn't Collapse on Mobile
Solution:
- Verify viewport meta tag is in Xibo's
<head>:<meta name="viewport" content="width=device-width, initial-scale=1"> - Check browser DevTools for responsive mode enabled
- Ensure no custom CSS is overriding the media query
Issue: Fonts Not Loading
Solution:
- Verify system fonts are available (
-apple-system,Segoe UI, etc.) - If using Google Fonts, check internet connectivity
- Add font-family fallback:
-fallback-font, sans-serif
Quick Links
- Theme README — Feature overview and tokens reference
- Customization Cookbook — 15+ customization recipes
- Xibo Developer Docs
- Config Reference
Version: 1.0.0 (Modern)
Last Updated: February 2026
Status: Ready for Production