To make it easier to use the (cataloging) manage authorities interface I added a tiny bit of CSS to have alternating row colors. The "height: 1.5em" part is needed because the enclosing authEntry div ends up with a height of zero because its children containers are all floating. Turns out this zero height behavior is not a bug, but a natural side affect of floating the div's children.
Signed-off-by: Yamil Suarez <yamil@yamil.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
<script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/cat/authority/list.js'> </script>
<style type="text/css">
- .authEntry { clear: both; }
+ .authEntry { clear: both; height: 1.5em; }
.authEntry > *:first-child { float: left; width: 20%; }
.authEntry > .text { float: left; width: 46%; }
.authEntry > .authority-control-set { float: right; width: 33%; ; font-style: italic; }
.authority-control-set .acs-name { font-weight: bold; }
.authority-control-set .acs-id { }
+ .authEntry:nth-child(even) { background-color:#D3D3D3;}
</style>
<div dojoType="dijit.form.Form" id="myForm" jsId="myForm" encType="multipart/form-data" action="" method="">
<span style="white-space: nowrap;">