This commit is contained in:
nightwing 2013-01-10 15:58:49 +04:00
commit 6d7f6de6df
4 changed files with 17 additions and 24 deletions

View file

@ -9,6 +9,7 @@
border-top: 0 none;
max-width: 297px;
overflow: hidden;
margin: 0;
padding: 4px;
padding-right: 6px;
padding-bottom: 0;
@ -34,11 +35,8 @@
margin-bottom: 4px;
overflow: hidden;
}
.ace_search label {
float: left;
color: #656565;
}
.ace_search input {
.ace_search_field {
background-color: white;
border-right: 1px solid #cbcbcb;
border: 0 none;
@ -51,6 +49,7 @@
outline: 0;
padding: 0 7px;
width: 214px;
margin: 0;
}
.ace_searchbtn,
.ace_replacebtn {

View file

@ -43,12 +43,12 @@ dom.importCssString(searchboxCss, "ace_searchbox");
var html = '<div class="ace_search right">\
<button action="hide" class="ace_searchbtn_close"></button>\
<div class="ace_search_form">\
<input type="text" class="ace_search_field" placeholder="Search for" spellcheck="false">\
<input class="ace_search_field" placeholder="Search for" spellcheck="false">\
<button action="findNext" class="ace_searchbtn next"></button>\
<button action="findPrev" class="ace_searchbtn prev"></button>\
</div>\
<div class="ace_replace_form">\
<input type="text" class="ace_search_field" placeholder="Replace with" spellcheck="false">\
<input class="ace_search_field" placeholder="Replace with" spellcheck="false">\
<button action="replace" class="ace_replacebtn">Replace</button>\
<button action="replaceAll" class="ace_replacebtn">All</button>\
</div>\