Skip to content

Commit

Permalink
add more styles from jig to replicate clear button without jig
Browse files Browse the repository at this point in the history
  • Loading branch information
edwelker committed Apr 10, 2015
1 parent a87e8b6 commit d99d413
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions hf/clear.css
Original file line number Diff line number Diff line change
@@ -1,2 +1,18 @@
.searchbar_wrap{position:relative;display:inline}
#clear{position:absolute;right:6px;top:0px}
.ui-ncbiclearbutton-wrap {
background: none repeat scroll 0 0 #fff;
border: 1px solid #ccc;
display: inline-block;
padding: 2px 20px 2px 2px;
position: relative;
}
.ui-ncbiclearbutton-wrap input {
/*background: none repeat scroll 0 0 transparent;*/
border: 0 none;
margin: 0;
outline: medium none;
padding: 0;
width: auto;
z-index: 0;
}
2 changes: 1 addition & 1 deletion standard_searchbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

.search_form .ui-ncbiclearbutton-wrap { width: 64%; *display: inline; border:1px solid #999; }
.search_form .ui-ncbiclearbutton-wrap input { width: 100%; *width: 50%; }
.search_form .ui-ncbiclearbutton-wrap a.reset { margin-left: 0; top: 50%; margin-top: -7px; }
.search_form .ui-ncbiclearbutton-wrap a.reset { margin-left: 0; top: 50%; margin-top: 4px; }

.rss_icon{position:relative;top:3px;margin-right:.3em}

Expand Down

0 comments on commit d99d413

Please sign in to comment.