progresss bars : fix layout

This commit is contained in:
Martijn Voncken 2008-04-08 17:32:49 +00:00
parent 3e6d43b8a5
commit 7023ad0974
4 changed files with 5 additions and 3 deletions

View File

@ -3,7 +3,6 @@
*Fix IE7 for advanced/white template. *Fix IE7 for advanced/white template.
*split statistics tab into statistics , details like gtk-ui *split statistics tab into statistics , details like gtk-ui
*details tabs : add css *details tabs : add css
*progresss bars : fix layout
*white template : add auto-refresh *white template : add auto-refresh
after 0.6: after 0.6:

View File

@ -54,7 +54,7 @@ $for torrent in torrent_list:
<td>$fsize(torrent.total_size)</td> <td>$fsize(torrent.total_size)</td>
<td class="progress_bar"> <td class="progress_bar">
<div class="progress_bar_outer"> <div class="progress_bar_outer">
<div class="progress_bar" style="width:$(torrent.progress)%;overflow:hidden"> <div class="progress_bar" style="width:$(torrent.progress)%">
$_(torrent.state) $int(torrent.progress) % $_(torrent.state) $int(torrent.progress) %
</div> </div>
</div> </div>

View File

@ -25,7 +25,8 @@ input{
input:hover { input:hover {
background-color:#68a; background-color:#68a;
} TEXTAREA{ border:1px solid #23344b; background: #99acc3; width:480px; } */ .footertext a { color: #c0c0c0; text-decoration:none;} .footertext a:visited { color: #c0c0c0; text-decoration:none;} .footertext a:active { color: #c0c0c0; text-decoration:none;} .footertext a:hover {color: #fff; text-decoration: underline;} .footertext { text-align: center; padding: 60px 0 0 0; font-size: 8pt; left: -100px; font-family: Bitstream Vera,Verdana; color: #fff; position: relative; } .clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } div.progress_bar{ background-color:#4573a5; /*color:blue;*/ -moz-border-radius:5px; /*ff only setting*/ } } TEXTAREA{ border:1px solid #23344b; background: #99acc3; width:480px; } */ .footertext a { color: #c0c0c0; text-decoration:none;} .footertext a:visited { color: #c0c0c0; text-decoration:none;} .footertext a:active { color: #c0c0c0; text-decoration:none;} .footertext a:hover {color: #fff; text-decoration: underline;} .footertext { text-align: center; padding: 60px 0 0 0; font-size: 8pt; left: -100px; font-family: Bitstream Vera,Verdana; color: #fff; position: relative; } .clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } div.progress_bar{ background-color:#4573a5; overflow:visible;
white-space: nowrap; -moz-border-radius:5px; /*ff only setting*/ }
div.progress_bar_outer { /*used in table-view*/ div.progress_bar_outer { /*used in table-view*/
width:150px; width:150px;

View File

@ -193,6 +193,8 @@ tr.torrent_table_selected {
div.progress_bar{ div.progress_bar{
background-color:#E0ECFF; background-color:#E0ECFF;
overflow:visible;
white-space: nowrap;
/*color:blue;*/ /*color:blue;*/
/*-moz-border-radius:5px;*/ /*ff only setting*/ /*-moz-border-radius:5px;*/ /*ff only setting*/
} }