]> Harvie.CZ GIT Repositories and Mirrors - mirrors/JukeBox.git/commitdiff
Pokus vylepsit vzhled prehravace pomoci Cursor AI
authorTomas Mudrunka <tomas.mudrunka@gmail.com>
Sat, 28 Feb 2026 20:59:37 +0000 (21:59 +0100)
committerTomas Mudrunka <tomas.mudrunka@gmail.com>
Sat, 28 Feb 2026 20:59:37 +0000 (21:59 +0100)
index.php
jbx/themes/default/jukebox.css

index 0c8bc8d2cc737c41f77b458830b316fca965f804..55b38ffcacca4abf555ff1610f8008f7edcae521 100755 (executable)
--- a/index.php
+++ b/index.php
@@ -217,8 +217,8 @@ src="?blank"
 name="playframe-show"
 class="noradius nomarpad"
 width="100%"
-height="24"
-style="border:none;"
+height="48"
+style="border:none;vertical-align:middle;"
 ></iframe></td></tr>
 <?php }
 
@@ -277,7 +277,7 @@ function html5_player() {
 ?><!DOCTYPE html>
 <html><head><meta charset="<?= $GLOBALS['charset'] ?>"><title><?= htmlspecialchars($title, ENT_QUOTES, $GLOBALS['charset']) ?>: Music Player</title>
 <link rel="stylesheet" type="text/css" href="<?= htmlspecialchars($css, ENT_QUOTES) ?>" />
-<style> * { margin: 0; padding: 0; border: 0; } body { min-height: 24px; } </style></head><body>
+</head><body class="jbx-player">
 <audio id="jbx-audio" controls preload="metadata"<?= $song_url && !$is_playlist ? ' src="'.htmlspecialchars($song_url, ENT_QUOTES).'" autoplay' : '' ?>></audio>
 <?php if($is_playlist) { ?>
 <script>
index c9ad07ac1d0333410f33592d277743985d7e8c65..7d7ac6f010431c6e1b54db35cd888a0b8d3d5a32 100755 (executable)
@@ -61,6 +61,34 @@ td {
        background-color: #000099;
 }
 
+/* Player frame iframe content: HTML5 player page */
+body.jbx-player {
+       margin: 0;
+       padding: 0;
+       border: 0;
+       height: 48px;
+       overflow: hidden;
+}
+body.jbx-player #jbx-audio {
+       width: 100%;
+       height: 48px;
+       display: block;
+}
+
+/* Player frame iframe content: blank (stopped) page */
+body.blank {
+       margin: 0;
+       padding: 0;
+       height: 48px;
+       overflow: hidden;
+}
+body.blank .blank {
+       margin: 0;
+       padding: 2px 6px;
+       line-height: 44px;
+       box-sizing: border-box;
+}
+
 .nomarpad {
        margin: 0;
        padding: 0;
This page took 0.397244 seconds and 4 git commands to generate.