summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-10-27 23:03:43 -0600
committerChad Kieffer <ckieffer@gmail.com>2009-10-27 23:03:43 -0600
commit4241e03d7549d4ebb14a0d8e5e0b830a4e032ce0 (patch)
tree21a8936bb6b97b7509bb2a4cd64c9d2e75e4e808 /themes
parent90cedf1ed0ce04e8529a0f1f048d60a5fad5d12f (diff)
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.
Diffstat (limited to 'themes')
-rw-r--r--themes/wind/views/page.html.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/themes/wind/views/page.html.php b/themes/wind/views/page.html.php
index a14a3278..1d0e02ce 100644
--- a/themes/wind/views/page.html.php
+++ b/themes/wind/views/page.html.php
@@ -93,8 +93,9 @@
<? if (!empty($parents)): ?>
<ul class="g-breadcrumbs">
+ <? $i = 0 ?>
<? foreach ($parents as $parent): ?>
- <li>
+ <li<? if ($i == 0) print " class=\"g-first\"" ?>>
<!-- Adding ?show=<id> causes Gallery3 to display the page
containing that photo. For now, we just do it for
the immediate parent so that when you go back up a
@@ -104,8 +105,9 @@
<?= html::purify($parent->title) ?>
</a>
</li>
+ <? $i++ ?>
<? endforeach ?>
- <li class="active"><?= html::purify($theme->item()->title) ?></li>
+ <li class="g-active"><?= html::purify($theme->item()->title) ?></li>
</ul>
<? endif ?>
</div>