just removing the scroll bar now that @ehpersonal38 ethan

is making things so usable. scroll bars are for when stuff sucks
This commit is contained in:
mcguirepr89
2022-04-23 19:36:16 -04:00
parent 09090b1e74
commit 486cc32b99
4 changed files with 8 additions and 9 deletions
-1
View File
@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="86" height="20" role="img" aria-label="Version: 0.13"><title>Version: 0.13</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="86" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="51" height="20" fill="#555"/><rect x="51" width="35" height="20" fill="pink"/><rect width="86" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="265" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="410">Version</text><text x="265" y="140" transform="scale(.1)" fill="#fff" textLength="410">Version</text><text aria-hidden="true" x="675" y="150" fill="#ccc" fill-opacity=".3" transform="scale(.1)" textLength="250">0.13</text><text x="675" y="140" transform="scale(.1)" fill="#333" textLength="250">0.13</text></g></svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

+1 -2
View File
@@ -36,7 +36,6 @@ if(isset($_GET['stream'])){
echo "
<audio controls autoplay><source src=\"/stream\"></audio>
</div>
<h1><a href=\"/\">BirdNET-Pi</a><img src=\"images/version.svg\"></h1>
</div>";
} else {
header('WWW-Authenticate: Basic realm="My Realm"');
@@ -51,7 +50,7 @@ if(isset($_GET['stream'])){
<button type=\"submit\" name=\"stream\" value=\"play\">Live Audio</button>
</form>
</div>
<h1><a href=\"/\">BirdNET-Pi</a><img src=\"images/version.svg\"></h1>
<h1><a href=\"/\">BirdNET-Pi</a></h1>
</div>";
}
if(isset($_GET['filename'])) {
+1 -5
View File
@@ -422,9 +422,6 @@ button:hover {
width: 60px;
height: 60px;
}
.version {
display: none;
}
.topnav.responsive {position: relative;}
.topnav.responsive button {
display: block;
@@ -494,7 +491,6 @@ button:hover {
.left-column {
display: none;
}
.version {display:none;}
.left {
display:none;
}
@@ -516,4 +512,4 @@ button:hover {
background:#dbffeb;
padding:5px;
border: 2px solid black;
}
}
+6 -1
View File
@@ -1,4 +1,9 @@
<link rel="stylesheet" href="style.css">
<style>
body::-webkit-scrollbar {
display:none
}
</style>
<meta name="viewport" content="width=device-width, initial-scale=1">
<div class="topnav" id="myTopnav">
<form action="" method="GET" id="views">
@@ -51,7 +56,7 @@ if(isset($_GET['view'])){
if($_GET['view'] == "System Controls"){include('scripts/system_controls.php');}
if($_GET['view'] == "Services"){include('scripts/service_controls.php');}
if($_GET['view'] == "Spectrogram"){include('spectrogram.php');}
if($_GET['view'] == "View Log"){echo "<iframe src=\"/log\"></iframe>";}
if($_GET['view'] == "View Log"){echo "<body style=\"scroll:no;overflow-x:hidden;\"><iframe style=\"width:calc( 100% + 1em);\" src=\"/log\"></iframe></body>";}
if($_GET['view'] == "Overview"){include('overview.php');}
if($_GET['view'] == "Today's Detections"){include('todays_detections.php');}
if($_GET['view'] == "Species Stats"){echo "<br><br>";include('stats.php');}