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

@@ -9,14 +9,12 @@
<p id="g-description"><?= t("Photos will be added to album:") ?></p>
<ul class="g-breadcrumbs">
<? $i = 0 ?>
<? foreach ($item->parents() as $parent): ?>
<li>
<?= html::purify($parent->title) ?>
</li>
<li<? if ($i == 0) print " class=\"g-first\"" ?>> <?= html::purify($parent->title) ?> </li>
<? $i++ ?>
<? endforeach ?>
<li class="active">
<?= html::purify($item->title) ?>
</li>
<li class="g-active"> <?= html::purify($item->title) ?> </li>
</ul>
<ul id="g-server-add-tree" class="g-checkbox-tree">