1
0
Fork 0

css fix for percent bar and th font size in firefox

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@352 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 17 years ago
parent 8ff7b92147
commit 67ebeccbde

@ -1,11 +1,13 @@
input, table { font-family: sans-serif; font-size: 11px; }
table { border-collapse: collapse; }
input, table { font-family: sans-serif; }
input { font-size: 12px; }
table { border-collapse: collapse; font-size: 11px; }
table.cycles { border: 1px solid black; margin-top: 5px; margin-bottom: 5px; }
table.cycles .col1 { background-color: #f5f5f5; }
table.cycles .col2 { background-color: #e0e0e0; }
table.cycles th, table.cycles td { border: 1px solid black; font-family: monospace; }
table.cycles th { background-color: #9999cc; color: black; font-weight: bold; height: 20px; line-height: 20px; font-family: serif; }
th a { color: black; font-weight: bold; display: block; width: 100%; height: 100%; }
th { font-size: 12px; }
.moduleinfo table { border: 1px solid black; }
.moduleinfo table th, .moduleinfo table td { border: 1px solid black; }
.moduleinfo table th { font-weight: bold; }
@ -17,7 +19,7 @@ span.sortarrow { color: white; text-decoration: none; }
.freeblocks { float: left; margin-right: 4px;}
.freeblocks td { text-align: right; }
form {margin: 0; padding: 0}
.percent { border: 1px solid black; width: 80%; height: 100%; }
.percent { border: 1px solid black; width: 80%; height: 20px; }
.percent div { font-size: 1px; line-height: 1px; width: 100%;}
.percent .pavail { background: blue; }
.switcher, h1 { text-align: center; display: block; }

@ -61,7 +61,7 @@ $b = new Cycle('class="col1"', 'class="col2"');
$l_clear_confirm = _T('Sure to clear?');
foreach ($cacheinfos as $i => $ci) {
echo "
<tr ", $a->next(), " height=\"20\">";
<tr ", $a->next(), ">";
$pavail = (int) ($ci['avail'] / $ci['size'] * 100);
$pused = 100 - $pavail;

Loading…
Cancel
Save