From: b Date: Wed, 3 Jan 2024 09:34:28 +0000 (+0000) Subject: add frame size to viewer, update css X-Git-Tag: v1.1.0~7 X-Git-Url: http://bicyclesonthemoon.info/git-projects/?a=commitdiff_plain;h=ba3fe68490709d7cf8ee0b8f2fc8ce6da728588c;p=ott%2Fbsta add frame size to viewer, update css --- diff --git a/bsta.css b/bsta.css index 652f9fc..48d481d 100644 --- a/bsta.css +++ b/bsta.css @@ -129,6 +129,11 @@ img#frame margin: 0px; } +img#frame:hover +{ + border-color: #bb6622; +} + img.intf { border-width: 0px; @@ -156,16 +161,11 @@ table#intftable border-width:27px 38px; padding: 0px; margin: 0px; - background-color: #00ff00; + background-color: #ffffff; border-collapse: collapse; border-spacing: 0px; } -img#frame:hover -{ - border-color: #bb6622; -} - div#undertext { text-align: left; @@ -343,4 +343,4 @@ div.le div.pr { float: right; -} \ No newline at end of file +} diff --git a/bsta_lib.1.pm b/bsta_lib.1.pm index 6207b6a..c6b244b 100644 --- a/bsta_lib.1.pm +++ b/bsta_lib.1.pm @@ -1008,6 +1008,9 @@ sub print_viewer_page { my $last_frame = int($state->{'last'}); my $ong_state = int($state->{'state'}); + my $width = int($frame_data->{'width'}); + my $height = int($frame_data->{'height'}); + my $timer_color_h = (($timer_unlocked >= 1) || ($ong_state >= STATE->{'ready'})) ? 'br' : 'ni'; my $timer_color_m = (($timer_unlocked >= 2) || ($ong_state >= STATE->{'ready'})) ? 'br' : 'ni'; my $timer_color_s = (($timer_unlocked >= 3) || ($ong_state >= STATE->{'ready'})) ? 'br' : 'ni'; @@ -1268,7 +1271,7 @@ sub print_viewer_page { print $fh ' '."\n"; print $fh '
'."\n"; - print $fh ' '.$frame.''."\n"; + print $fh ' '.$frame.''."\n"; print $fh '
'."\n"; print $fh '
'."\n";