fix: Remove WDMI-specific CSS blocks instead of replacing condition
- Remove entire conditional CSS blocks that were WDMI-specific - These gradient styles were not needed for MoneyFlix - Clean up main.php and public-blank.php layouts
This commit is contained in:
1 parent
c2fecefa55
commit
46b20cb1e2
2 files changed
-38
No files matched your search
@@ -38,25 +38,6 @@ $branding = Branding::get();
|
||||
<!-- Theme color for browser -->
|
||||
<meta name="theme-color" content="<?php echo $branding['theme_color']; ?>">
|
||||
|
||||
<?php if (($branding['client_id'] ?? '') === 'moneyflix'): ?>
|
||||
<style>
|
||||
[data-sidebar="gradient"] {
|
||||
--vz-primary: #405189 !important;
|
||||
--vz-primary-rgb: 64,81,137 !important;
|
||||
--vz-primary-bg-subtle: rgba(64,81,137,0.15) !important;
|
||||
--vz-primary-border-subtle: rgba(64,81,137,0.3) !important;
|
||||
--vz-primary-text-emphasis: #2d375e !important;
|
||||
--vz-success: #6a4fb6 !important;
|
||||
--vz-success-rgb: 106,79,182 !important;
|
||||
--vz-vertical-menu-bg: linear-gradient(to right, #405189, #6a4fb6) !important;
|
||||
}
|
||||
[data-sidebar="gradient"] .navbar-menu,
|
||||
[data-sidebar="gradient"] .app-menu {
|
||||
background: var(--vz-vertical-menu-bg) !important;
|
||||
}
|
||||
</style>
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- Branding Theme Variants for JavaScript -->
|
||||
<script>
|
||||
window.brandingVariants = <?php echo json_encode($branding['theme_variants'] ?? []); ?>;
|
||||
|
||||
@@ -24,25 +24,6 @@ $branding = Branding::get();
|
||||
<!-- Theme color for browser -->
|
||||
<meta name="theme-color" content="<?= $branding['theme_color'] ?? '#405189'; ?>">
|
||||
|
||||
<?php if (($branding['client_id'] ?? '') === 'moneyflix'): ?>
|
||||
<style>
|
||||
[data-sidebar="gradient"] {
|
||||
--vz-primary: #405189 !important;
|
||||
--vz-primary-rgb: 64,81,137 !important;
|
||||
--vz-primary-bg-subtle: rgba(64,81,137,0.15) !important;
|
||||
--vz-primary-border-subtle: rgba(64,81,137,0.3) !important;
|
||||
--vz-primary-text-emphasis: #2d375e !important;
|
||||
--vz-success: #6a4fb6 !important;
|
||||
--vz-success-rgb: 106,79,182 !important;
|
||||
--vz-vertical-menu-bg: linear-gradient(to right, #405189, #6a4fb6) !important;
|
||||
}
|
||||
[data-sidebar="gradient"] .navbar-menu,
|
||||
[data-sidebar="gradient"] .app-menu {
|
||||
background: var(--vz-vertical-menu-bg) !important;
|
||||
}
|
||||
</style>
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- Branding Theme Variants for JavaScript -->
|
||||
<script>
|
||||
window.brandingVariants = <?= json_encode($branding['theme_variants'] ?? []); ?>;
|
||||
|
||||
Reference in new issue
Block a user