From d930fe7b5742e31767840976caa15314a5658485 Mon Sep 17 00:00:00 2001 From: Michael Wiebusch Date: Tue, 6 Aug 2013 12:07:47 +0200 Subject: [PATCH] changed stylesheet for testgui.pl --- layout/testgui.css | 216 --------------------------------------------- tools/testgui.pl | 5 +- 2 files changed, 3 insertions(+), 218 deletions(-) diff --git a/layout/testgui.css b/layout/testgui.css index 7a89f6f..58104d7 100644 --- a/layout/testgui.css +++ b/layout/testgui.css @@ -23,219 +23,3 @@ } - -#debug { - position:absolute; - top:100px; - left:800px; - width:220px; - padding:10px; - background:#fee; - margin:0px; -} - - -#fileSelection { - float:left; - position:relative; - width:700px; - min-height:50px; - padding:10px; - margin:50px 0 0 20px; - border:2px solid #EEAA00; - border-radius:20px; - background:white; - box-shadow: 0 0 5px 5px #aaa, 0 0 4px 1px #ea0 inset; -} - -#roterBereich { - clear:both; - float:left; - position:relative; - width:320px; - padding:10px; - margin:50px 10px 0 20px ; - border:2px solid #EE0000; - border-radius:20px; - background:white; - box-shadow: 0 0 5px 5px #aaa, 0 0 4px 1px red inset; -} - -#blauerBereich { - float:left; - position:relative; - width:320px; - padding:10px; - margin:50px 10px 0 20px; - border:2px solid #0000EE; - border-radius:20px; - background:white; - box-shadow: 0 0 5px 5px #aaa, 0 0 4px 1px blue inset; - } - -input[type="text"] -{ - font-size:10px; - height:20px; - width:90px; - text-align:right; - padding-right:5px; - background:#fff; -} - - - -.stdbutton -{ - width:100px; - height:25px; -} - - -table.registers { - border-collapse:collapse; - border:0; - cursor:default; -} - - -table.registers td { - border: 2px solid white; - height:25px; -} - -table.fields { - background:#dea; - border-collapse:collapse; - border:hidden; - cursor:default; - -} - -table.fields td { - border:solid white; - border-width:2px 0; - border-collapse:collapse; - height:25px; -} - -table.registers>tbody>tr>td:nth-child(2) { - background:lightgrey; - } - - -.fieldError -{ -background:red; -} - -.fileLevel -{ -background:#CCFFCC; -//background:#dea; -} - -.fileLevel1 -{ -background:#CCFFFF; -} - -.fileLevel2 -{ -background:#CCCCFF; -} - -.fileLevel3 -{ -background:#FFCCFF; -} - -.fileLevel4 -{ -background:#FFCCCC; -} - -.fileLevel5 -{ -background:#FFFFCC; -} - -.fileLevel6 -{ -background:#FFFFFF; -} - -table.fields td.button_move, table.registers td.button_move, .button_move { - background:orange; - cursor:pointer; - text-align:center; - color:white; - font-weight:bold; - width:25px; - border:2px solid white; -} - - -table.fields td.button_move_deac { - background:grey; - cursor:normal; - text-align:center; - color:black; - font-weight:bold; - width:25px; - border:2px solid white; -} - -.regheader { - background:lightgrey; - font-variant:small-caps; -} - -.bitfield { - background:#dea; -/* visibility:collapse; */ -} - -table.registers td.fieldcontainer { - margin:0; - padding:0; - border:0; -} - -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; - color:#444; -} - -tr.bitfield{ - 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; -} - -div.header { - font-size:13pt; - position:absolute; - top:-22px; - color:#444; - z-index:-1; - - } - diff --git a/tools/testgui.pl b/tools/testgui.pl index 403f4df..5fd4e73 100755 --- a/tools/testgui.pl +++ b/tools/testgui.pl @@ -121,7 +121,8 @@ print header; print start_html( -title=>'testgui', -style=>[{'src'=>'../layout/styles.css'}, -{'src'=>'../layout/testgui.css'} +{'src'=>'../layout/testgui.css'}, +{'src'=>'../layout/jtageditor_blue.css'} ], -script=>[ { -type => 'text/javascript', -src => './testgui.js'}, @@ -407,7 +408,7 @@ EOF #print ""; - print ''; + print ''; print ''; print ''; print_fields( $configFile, $register ); -- 2.43.0