Making zebra-striped lists reusable.
This commit is contained in:
parent
397b5b5635
commit
4619a22b97
@ -108,7 +108,7 @@
|
||||
<input name="serendipity[adminModule]" type="hidden" value="entries">
|
||||
<input name="serendipity[adminAction]" type="hidden" value="multidelete">
|
||||
|
||||
<ul id="entries_list" class="plainList">
|
||||
<ul id="entries_list" class="plainList zebra_list">
|
||||
{foreach $entries as $entry}
|
||||
{if ($entry@index > $perPage)}{continue}{/if}
|
||||
<li class="clearfix {cycle values="odd,even"}"><div class="form_check">
|
||||
|
@ -1053,19 +1053,18 @@ fieldset p,
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
#entries_list { border-top: 1px solid #aaa; }
|
||||
.zebra_list { border-top: 1px solid #aaa; }
|
||||
|
||||
.zebra_list>li { border-bottom: 1px solid #aaa; }
|
||||
|
||||
.zebra_list>.odd { background: #eee; }
|
||||
|
||||
#entries_list h3 {
|
||||
font-size: 1em;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
#entries_list>li {
|
||||
border-bottom: 1px solid #aaa;
|
||||
padding: 0 .4em;
|
||||
}
|
||||
|
||||
#entries_list .odd { background: #eee; }
|
||||
#entries_list>li { padding: 0 .4em; }
|
||||
|
||||
#entries_list .entry_info span { margin: 0 1em .75em 0; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user