mirror of
https://github.com/pi-hole/web.git
synced 2026-04-24 10:50:23 +01:00
Tweak topbar and sidebar
- fix broken visual after initial changes; - remove donate button from topmenu; - re-add donate button to the sidebar and add hover color; - remove "Ph" when collapsed; - add icon and background to topmenu button; - hide main menu headers (using lines as separators); - reorder the main menu; - adjust each theme to the new visual (CSS and HTML tweaks). - new menu colors for LCARS theme Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
@@ -38,17 +38,12 @@ $cacheVer = filemtime(__FILE__);
|
||||
<!-- Theme styles -->
|
||||
<?php if ($theme == 'default-light') { ?>
|
||||
<meta name="theme-color" content="#367fa9">
|
||||
<link rel="stylesheet" href="style/vendor/SourceSansPro/SourceSansPro.css?v=<?php echo $cacheVer; ?>">
|
||||
<?php } elseif ($theme == 'default-dark') { ?>
|
||||
<meta name="theme-color" content="#272c30">
|
||||
<link rel="stylesheet" href="style/vendor/SourceSansPro/SourceSansPro.css?v=<?php echo $cacheVer; ?>">
|
||||
<?php } elseif ($theme == 'default-darker') { ?>
|
||||
<meta name="theme-color" content="#2e6786">
|
||||
<link rel="stylesheet" href="style/vendor/SourceSansPro/SourceSansPro.css?v=<?php echo $cacheVer; ?>">
|
||||
<?php } elseif ($theme == 'lcars') { ?>
|
||||
<meta name="theme-color" content="#4488FF">
|
||||
<link rel="stylesheet" href="style/vendor/fonts/ubuntu-mono/ubuntu-mono.css?v=<?php echo $cacheVer; ?>">
|
||||
<link rel="stylesheet" href="style/vendor/fonts/antonio/antonio.css?v=<?php echo $cacheVer; ?>">
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($darkmode) { ?>
|
||||
@@ -57,6 +52,14 @@ $cacheVer = filemtime(__FILE__);
|
||||
</style>
|
||||
<?php } ?>
|
||||
|
||||
<!-- Theme fonts -->
|
||||
<?php if ($theme == 'lcars') { ?>
|
||||
<link rel="stylesheet" href="style/vendor/fonts/ubuntu-mono/ubuntu-mono.css?v=<?php echo $cacheVer; ?>">
|
||||
<link rel="stylesheet" href="style/vendor/fonts/antonio/antonio.css?v=<?php echo $cacheVer; ?>">
|
||||
<?php } else { ?>
|
||||
<link rel="stylesheet" href="style/vendor/SourceSansPro/SourceSansPro.css?v=<?php echo $cacheVer; ?>">
|
||||
<?php } ?>
|
||||
|
||||
<!-- Common styles -->
|
||||
<link rel="stylesheet" href="style/vendor/bootstrap/css/bootstrap.min.css?v=<?php echo $cacheVer; ?>">
|
||||
<?php if ($auth) { ?>
|
||||
|
||||
Reference in New Issue
Block a user