Skip to content

Commit

Permalink
user filter fixed at History
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatov committed Aug 15, 2011
1 parent 78547b8 commit 0cfaffa
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/scala/scala/tools/colladoc/page/History.scala
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class History(rootPack: Package) extends Template(rootPack) {
}
{ <div id="user">
<span class="filtertype">User</span>
<ol><li class="filter"><history:user /></li></ol>
<ol><li class="filter"><span class="userfilter_pre" /><history:user /><span class="userfilter_post" /></li></ol>
</div>
}
</div>
Expand Down
42 changes: 39 additions & 3 deletions src/main/webapp/cohistory.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,46 @@
width: 12em;
}

li.filter {
position: relative;
margin-bottom: 23px;
}

.filter > span {
background: url("lib/filter_box_left.png") no-repeat left top;
margin: 0 0 0 -8px;
padding: 2px 0 0 22px;
position: absolute;
display: block;
top: 0;
right: 20px;
left: 20px;
}

span.userfilter_pre {
position: absolute;
display: block;
top: 0;
left: 0;
height: 23px;
width: 21px;
background: url("lib/filter_box_left.png");
}

span.userfilter_post {
position: absolute;
display: block;
top: 0;
left: 13em;
height: 23px;
width: 21px;
background: url("lib/filter_box_right.png");
}

.filter > span > input {
height: 21px;
padding: 1px;
font-weight: bold;
color: black;
background: url("lib/filterboxbarbg.png");
background-repeat: repeat-x;
}

#template > h3 {
Expand Down

0 comments on commit 0cfaffa

Please sign in to comment.