From 9b1ddd07e620099edb5463d42ebb599b9e0fef95 Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Mon, 24 Jun 2013 16:27:50 +0200 Subject: [PATCH] added headings --- xml_spielwiese/cgitest.pl | 9 ++++++--- xml_spielwiese/styles.css | 29 ++++++++++++++++++++++++----- 2 files changed, 30 insertions(+), 8 deletions(-) diff --git a/xml_spielwiese/cgitest.pl b/xml_spielwiese/cgitest.pl index 8f5cf0d..3b3f41d 100755 --- a/xml_spielwiese/cgitest.pl +++ b/xml_spielwiese/cgitest.pl @@ -16,8 +16,8 @@ print < CGI Testrange - + EOF printJavaScripts(); print <Available Settings\n"; print_registers($specfile); } if ($cgiHash{'print'} eq 'settree') { +print "
Selected Settings
\n"; print_registers($setfile); } @@ -100,7 +102,8 @@ if (defined $cgiHash{'action'} ) { #################### SUBLAND ###################### -sub del { +sub del {height:245px; + my $registerName=$_[1]; my $fieldName=$_[2]; @@ -225,7 +228,7 @@ for my $register (@registers ){ my $flistid = $xmlfile."//".$registerName; - print ""; + print ""; print < +  diff --git a/xml_spielwiese/styles.css b/xml_spielwiese/styles.css index b8bde53..5e7f251 100644 --- a/xml_spielwiese/styles.css +++ b/xml_spielwiese/styles.css @@ -18,7 +18,10 @@ table { padding:10px; margin:0px; border:2px solid #EE0000; + border-radius:20px; + box-shadow: 0 0 5px 5px #aaa, 0 0 4px 1px red inset; } + #blauerBereich { position:absolute; top:130px; @@ -27,13 +30,18 @@ table { padding:10px; margin:0px; border:2px solid #0000EE; -} + border-radius:20px; + box-shadow: 0 0 5px 5px #aaa, 0 0 4px 1px blue inset; + } input[type="text"] { font-size:10px; height:20px; - width:120px; + width:90px; + text-align:right; + padding-right:5px; + background:#fff; } input[type="button"] @@ -53,6 +61,7 @@ table.registers { table.registers td { border: 2px solid white; + height:25px; } table.fields { @@ -67,6 +76,7 @@ table.fields td { border:solid white; border-width:2px 0; border-collapse:collapse; + height:25px; } @@ -100,6 +110,10 @@ table.registers tr td:first-child { cursor:pointer; } +table.registers tr td:first-child:hover { + background:#ddd; +} + table.fields tr td:nth-child(3){ font-family:monospace; padding-right:10px; @@ -107,11 +121,16 @@ table.fields tr td:nth-child(3){ } tr.bitfield{ -background:transparent; -cursor:auto; + background:transparent; + cursor:auto; +} + +table.registers tr.bitfield td:first-child{ + background:transparent; + cursor:default; } table.fields td.button_move:hover, table.registers td.button_move:hover { -background:#fb4; + background:#fb4; } -- 2.43.0