Added new case icons & text font correction

This commit is contained in:
bergware
2019-01-11 23:22:18 +01:00
parent 56b611c6a1
commit 7e5d130ddb
6 changed files with 21 additions and 8 deletions
+4 -3
View File
@@ -33,9 +33,10 @@ $casemodel = $exist ? file_get_contents("$boot/$file") : '';
<link type="text/css" rel="stylesheet" href="<?autov("/webGui/styles/default-popup.css")?>">
<link type="text/css" rel="stylesheet" href="<?autov("/webGui/styles/default-cases.css")?>">
<style>
div.case-list{float:left;padding:10px;margin-right:10px;margin-bottom:24px;height:96px;width:96px;text-align:center}
div.case-list i{width:auto;max-width:96px;height:96px;font-size:96px;}
div.case-list{float:left;padding:10px;margin-right:10px;margin-bottom:30px;height:88px;width:88px;text-align:center}
div.case-list i{width:auto;max-width:88px;height:88px;font-size:88px;}
div.case-list:hover{color:#f0000c}
div.case-name{margin-top:8px;font-family:clear-sans}
</style>
<script src="<?autov('/webGui/javascript/dynamix.js')?>"></script>
<script>
@@ -52,7 +53,7 @@ sort($models);
foreach ($models as $model) {
$name = substr($model,5);
$select = $name==$casemodel ? 'color:#e68a00' : '';
echo "<a style='text-decoration:none;cursor:pointer;$select' onclick='setCase(\"$name\")'><div class='case-list' id='$name'><i class='$model'></i><br>$name</div></a>";
echo "<a style='text-decoration:none;cursor:pointer;$select' onclick='setCase(\"$name\")'><div class='case-list' id='$name'><i class='$model'></i><div class='case-name'>$name</div></div></a>";
}
?>
</div>