Only use header css if webfont is enabled, fixes navigation padding
Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org>
This commit is contained in:
1
templates/Sparkle/assets/css/main.css
vendored
1
templates/Sparkle/assets/css/main.css
vendored
@@ -478,6 +478,7 @@ nav {
|
||||
width:230px;
|
||||
background-color:#f7f8fa;
|
||||
min-height:500px;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
nav div:first-child {
|
||||
|
||||
6
templates/Sparkle/header.tpl
vendored
6
templates/Sparkle/header.tpl
vendored
@@ -28,11 +28,11 @@
|
||||
{$js}
|
||||
<link href="templates/{$theme}/assets/img/favicon.ico" rel="icon" type="image/x-icon" />
|
||||
<title><if isset($userinfo['loginname']) && $userinfo['loginname'] != ''>{$userinfo['loginname']} - </if>Froxlor Server Management Panel</title>
|
||||
<if Settings::Get('panel.use_webfonts') == '1'>
|
||||
<style type="text/css">
|
||||
body {
|
||||
font-family: <if Settings::Get('panel.use_webfonts') == '1'>{$webfont},</if> 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, Verdana, sans-serif;
|
||||
}
|
||||
body { font-family: {$webfont}, 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, Verdana, sans-serif; }
|
||||
</style>
|
||||
</if>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
6
templates/Sparkle/index.tpl
vendored
6
templates/Sparkle/index.tpl
vendored
@@ -17,11 +17,11 @@
|
||||
<script type="text/javascript" src="js/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="templates/{$theme}/assets/js/main.js"></script>
|
||||
<title>{$title}Froxlor Server Management Panel</title>
|
||||
{if $use_webfonts == 1}
|
||||
<style type="text/css">
|
||||
body {
|
||||
font-family: {if $use_webfonts == 1}{$webfont},{/if} 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, Verdana, sans-serif;
|
||||
}
|
||||
body { font-family: {$webfont}, 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, Verdana, sans-serif; }
|
||||
</style>
|
||||
{/if}
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user