diff options
author | Jakob Hilden <jhild@umich.edu> | 2009-04-07 07:14:36 +0000 |
---|---|---|
committer | Jakob Hilden <jhild@umich.edu> | 2009-04-07 07:14:36 +0000 |
commit | b6f59e17f1a7f5627eea807dcd049bbc6242d3e6 (patch) | |
tree | c6efbedf9bc89c2072595220709dfa5c91846b98 | |
parent | a4d63d5a41d69c9c1bed14769d628c5d491809b2 (diff) |
changed the items in quickpaneoptions dropdown menu (which appears in the quickpane for albums) to be easier clickable and changed markup to use <ul> (more semantically correct)
-rw-r--r-- | core/css/quick.css | 11 | ||||
-rw-r--r-- | core/views/quick_pane.html.php | 16 |
2 files changed, 17 insertions, 10 deletions
diff --git a/core/css/quick.css b/core/css/quick.css index 1ac88c6d..02f9953e 100644 --- a/core/css/quick.css +++ b/core/css/quick.css @@ -26,8 +26,15 @@ width: 100%; } -#gQuickPaneOptions a { +#gQuickPaneOptions li a { display: block; - clear: both; + float: none; width: auto; + margin: 0; + padding: .5em .5em .5em .8em; + text-align: left; +} + +#gQuickPaneOptions li a:hover { + background-color: #4d4d4d; } diff --git a/core/views/quick_pane.html.php b/core/views/quick_pane.html.php index 1dba206f..7d4b6959 100644 --- a/core/views/quick_pane.html.php +++ b/core/views/quick_pane.html.php @@ -83,20 +83,20 @@ </span> </a> -<div id="gQuickPaneOptions" style="display: none"> - <a class="add_item gDialogLink" href="<?= url::site("form/add/albums/$item->id?type=photo") ?>" +<ul id="gQuickPaneOptions" style="display: none"> + <li><a class="add_item gDialogLink" href="<?= url::site("form/add/albums/$item->id?type=photo") ?>" title="<?= t("Add a photo") ?>"> <?= t("Add a photo") ?> - </a> + </a></li> - <a class="add_album gDialogLink" href="<?= url::site("form/add/albums/$item->id?type=album") ?>" + <li><a class="add_album gDialogLink" href="<?= url::site("form/add/albums/$item->id?type=album") ?>" title="<?= t("Add an album") ?>"> <?= t("Add an album") ?> - </a> + </a></li> - <a class="permissions gDialogLink" href="<?= url::site("permissions/browse/$item->id") ?>" + <li><a class="permissions gDialogLink" href="<?= url::site("permissions/browse/$item->id") ?>" title="<?= t("Edit permissions") ?>"> <?= t("Edit permissions") ?> - </a> -</div> + </a></li> +</ul> <? endif ?> |