Improved website style.

This commit is contained in:
The Wobbler 2024-12-01 19:29:26 +01:00
parent 039cbd83a6
commit d20f855681
4 changed files with 40 additions and 13 deletions

View file

@ -38,11 +38,11 @@
echo " #input_$useableName:checked + .submenu_$useableName,
.submenu_$useableName:hover {
display: block;
background-color: $randomColor, 0.2);
background-color: $randomColor, 0.5);
}
.label_$useableName {
background-color: $randomColor, 0.2);
background-color: $randomColor, 0.5);
}\n\n";
generateCSSCode($filename);
@ -60,7 +60,7 @@
$folderName = end($pathFragments);
echo " $indentation<label for='input_$useableName' class='inout hcb-label label_$useableName'>$folderName</label>
$indentation<input type='checkbox' id='input_$useableName' class='hacked-checkbox'>
$indentation<div class='glass inset submenu submenu_$useableName' id='submenu_$useableName'>\n";
$indentation<div class='inset submenu submenu_$useableName' id='submenu_$useableName'>\n";
if (file_exists("$path/README.txt")) { // show description text if there is a README.txt
echo " $indentation<p class='tiny-text'>Beschreibung:</p>\n";