From a8053841a4b2c808bcd8dc559f1e895e6553628c Mon Sep 17 00:00:00 2001 From: EKNr1 Date: Sat, 26 Oct 2024 14:22:45 +0200 Subject: [PATCH] And made some small style changes again. --- file_viewer.php | 6 +++--- file_viewer_styles.css | 4 ++++ index.php | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/file_viewer.php b/file_viewer.php index c8ba9a5..64d2bf7 100644 --- a/file_viewer.php +++ b/file_viewer.php @@ -21,11 +21,11 @@ $randomColor = "rgba(" . rand(0, 255) . ", " . rand(0, 255) . ", " . rand(0, 255); $useableName = str_replace("/", "_", $path); - echo "#input_$useableName:checked + .submenu_$useableName, + echo " #input_$useableName:checked + .submenu_$useableName, .submenu_$useableName:hover { display: block; background-color: $randomColor, 0.2); - }\n"; + }\n\n"; generateCSSCode($filename); } @@ -40,7 +40,7 @@ $folderName = end(explode("/", $path)); echo " $indentation $indentation - $indentation