summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-11-15 22:57:27 -0700
committerChad Kieffer <ckieffer@gmail.com>2009-11-15 22:57:27 -0700
commitf4ad53d28b8ef28698c90727d649837bf9fe474e (patch)
tree3320f20b76ca06cb22db934db718d9b394bd8919
parentfb2c365d8fdaa6941b61edac26df2f3550822e6e (diff)
Be a bit more explicit in the application of the album icon. Apply it as a class to the span to hopefully make it's purpose a bit more obvious.
-rw-r--r--themes/wind/css/screen.css2
-rw-r--r--themes/wind/views/album.html.php3
2 files changed, 3 insertions, 2 deletions
diff --git a/themes/wind/css/screen.css b/themes/wind/css/screen.css
index e46ba8e6..64120cef 100644
--- a/themes/wind/css/screen.css
+++ b/themes/wind/css/screen.css
@@ -250,7 +250,7 @@ td {
background-color: #e8e8e8;
}
-#g-content #g-album-grid .g-album h2 span {
+#g-content #g-album-grid .g-album h2 span.g-album {
background: transparent url('../images/ico-album.png') no-repeat top left;
display: inline-block;
height: 16px;
diff --git a/themes/wind/views/album.html.php b/themes/wind/views/album.html.php
index 2c2b54eb..eabe07c3 100644
--- a/themes/wind/views/album.html.php
+++ b/themes/wind/views/album.html.php
@@ -20,7 +20,8 @@
</a>
<?= $theme->thumb_bottom($child) ?>
<?= $theme->context_menu($child, "#g-item-id-{$child->id} .g-thumbnail") ?>
- <h2><span></span><a href="<?= $child->url() ?>"><?= html::purify($child->title) ?></a></h2>
+ <h2><span class="<?= $item_class ?>"></span>
+ <a href="<?= $child->url() ?>"><?= html::purify($child->title) ?></a></h2>
<ul class="g-metadata">
<?= $theme->thumb_info($child) ?>
</ul>