Input css added
This commit is contained in:
parent
0f583dd80c
commit
d52a0443d1
|
@ -140,6 +140,10 @@ def rjs2(f, z):
|
|||
if type(f[2]) == list:
|
||||
for l in f[2]:
|
||||
result.append(rjs2(l, z + f[1]))
|
||||
elif f[2] == 0:
|
||||
#result.append("document.getElementById(z + '"+ f[1] +"' + 'i').value = ''")
|
||||
# replaced with the onBlur thing
|
||||
pass
|
||||
return "\n".join(result)
|
||||
|
||||
def rhtml(f, z):
|
||||
|
@ -165,7 +169,7 @@ def rhtml(f, z):
|
|||
def rsearch(f, z):
|
||||
result = []
|
||||
result.append(''.join(["<form class='"+z+"' id='",z,f[1],"' action='javascript:doSearch(\"",f[3],"\", \"",z,f[1],"\")' style='display: none;'>"]))
|
||||
result.append("<input type='text' name='input' id='"+z+f[1]+"i"+"' />")
|
||||
result.append("<input onblur='this.value = \"\";' type='text' name='input' id='"+z+f[1]+"i"+"' />")
|
||||
result.append("</form>")
|
||||
return "\n".join(result)
|
||||
|
||||
|
|
11
style.css
11
style.css
|
@ -35,3 +35,14 @@ a:hover {
|
|||
padding: 5px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
input {
|
||||
font-size: 1.5em;
|
||||
appearance: none;
|
||||
border: solid 1px #ddd;
|
||||
padding: 10px;
|
||||
margin-top: 100px; /* dirty hack, can be removed */
|
||||
text-align: center;
|
||||
box-shadow: 0 0 10px 1px #27454F;
|
||||
border: solid 4px #27454F;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue