From: Kalle Söderman Date: Wed, 2 Feb 2011 22:03:26 +0000 (+0000) Subject: left margin added, dep legend fixed, pothers correclty floated, css errors fixed X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=f8782866dd40ac1bd97ed2f7f126a52398972ef6;p=deb%2Fpackages.git left margin added, dep legend fixed, pothers correclty floated, css errors fixed --- diff --git a/static/debpkg.css b/static/debpkg.css index 503fb5b..80d597e 100644 --- a/static/debpkg.css +++ b/static/debpkg.css @@ -22,8 +22,8 @@ @import url("debian.css"); #footer { - padding-left: 52px; padding-right: 10px; + margin-left: 52px; } #pnavbar { font-size: 0.75em; @@ -85,7 +85,6 @@ background: transparent; display:block; padding: 1px 3px 1px 0; - font-size: 0.75em; text-align: right; } .perror @@ -104,6 +103,7 @@ } .perror p { margin-bottom: 0; +} div.warning { background-image: url('Pics/admon-warning.png'); } @@ -134,12 +134,11 @@ div.warning { .file { font-family: monospace; } -#pothers { - margin-top:0.25em; +div#pothers { + margin-top:0.25em; float: right; } #pothers a, #pothers strong { - margin-left: 1.5em; } #psearchsug { font-size: 0.75em; @@ -156,15 +155,11 @@ div.warning { margin: 1em 0 1em 0; } -/* - * Package sidebar - */ +/* Package sidebar */ #ptablist { } -/* - * Package dependencies - */ +/* Package dependencies */ #pdeplegend { font-weight:bold; @@ -187,12 +182,20 @@ div.warning { } #pdeps dt { } + +#pdeplegend ul.uldep +, #pdeplegend ul.uladep +, #pdeplegend ul.ulrec +, #pdeplegend ul.ulidep +, #pdeplegend ul.ulsug { + margin-left: 0.5em; + list-style-position: inside; +} + #pdeps ul.uldep, #pdeps ul.uladep { list-style-type: disc; list-style-image: url(Pics/dep.png); } -.uldep dt { -} #pdeps ul.ulrec, #pdeps ul.ulidep { list-style-type: square; list-style-image: url(Pics/rec.png); @@ -218,9 +221,14 @@ div.warning { #pdeplegend td li { padding-left:0; } -#pdeplegend td,#pdeplegend tr,#pdeplegend table,#pdeplegend ul,#pdeplegend li,#pdeplegend tbody { +#pdeplegend td + ,#pdeplegend tr + ,#pdeplegend table + ,#pdeplegend ul + ,#pdeplegend li + ,#pdeplegend tbody { margin:0; - paddding:0; + padding:0; } .pkgreport #pdeplegend td li { margin:0.25em 0 0 2em; diff --git a/templates/html/foot.tmpl b/templates/html/foot.tmpl index 7944c67..5bae698 100644 --- a/templates/html/foot.tmpl +++ b/templates/html/foot.tmpl @@ -43,6 +43,5 @@ Total page evaluation took [% benchmark %]
[% END %] - diff --git a/templates/html/head.tmpl b/templates/html/head.tmpl index 656a792..08b52bd 100644 --- a/templates/html/head.tmpl +++ b/templates/html/head.tmpl @@ -37,15 +37,14 @@
- ‹  [% g('Packages') %] +  / [% g('Packages') %] [% FOREACH n IN navigation %] - ‹  [% IF n.url %][% n.name %][% ELSE %][% n.name %][% END %] + / [% IF n.url %][% n.name %][% ELSE %][% n.name %][% END %] [% END %]
-
-
+
[%- IF print_search_field %] [% checked = 'checked="checked"'