Breadcrumb updates. Apply g-first and g-active consistently, use ems instead of px for nicer proportions, make font-size the same whether on the page or in a dialog.

This commit is contained in:
Chad Kieffer
2009-10-27 23:03:43 -06:00
parent 90cedf1ed0
commit 4241e03d75
5 changed files with 27 additions and 35 deletions

View File

@@ -25,10 +25,12 @@
<?= t("Photos will be uploaded to album: ") ?>
</p>
<ul class="g-breadcrumbs">
<? $i = 0 ?>
<? foreach ($item->parents() as $parent): ?>
<li> <?= html::clean($parent->title) ?> </li>
<li<? if ($i == 0) print " class=\"g-first\"" ?>> <?= html::clean($parent->title) ?> </li>
<? $i++ ?>
<? endforeach ?>
<li class="active"> <?= html::purify($item->title) ?> </li>
<li class="g-active"> <?= html::purify($item->title) ?> </li>
</ul>
<div id="g-uploadqueue-infobar">