patches to example display/fonts

This commit is contained in:
Howland Owl 2014-04-16 07:51:06 +03:00
parent 78176ddb46
commit 108f794249
3 changed files with 20 additions and 4 deletions

View file

@ -29,6 +29,10 @@ label {
border: 1px solid black; border: 1px solid black;
} }
#formica {
font-size: medium;
}
.entry { .entry {
margin: 0 3px 3px 3px; margin: 0 3px 3px 3px;
padding: 0.4em; padding: 0.4em;
@ -41,4 +45,15 @@ label {
.entry span { .entry span {
display: inline-block; display: inline-block;
} }
# this does not actually change anything because the design is set by
# the jquery-ui bit. Altering in the script does work. Here for reference.
.45box {
width: 45%;
display: inline-block;
}
div.groupbox p {
margin: .25 ex;
}

View file

@ -54,7 +54,8 @@ Also hide the editor until needed, and initialize some elements.
else else
stuff[1].textContent = 'Ascii' stuff[1].textContent = 'Ascii'
@.value = "1" @.value = "1"
$(".45box").css {width:'45%',float:'left'} $(".45box").css {width:'45%',display:'inline-block'}
$(".groupbox p").css {margin:"0 0 .25em 0"}
$("#entryfilepick").change -> $("#entryfilepick").change ->
if @.files[0]? then $("#entryfile").val @.files[0].name if @.files[0]? then $("#entryfile").val @.files[0].name
$("#entryfile").click -> $("#entryfile").click ->

View file

@ -30,8 +30,8 @@
<div class='drop'> <div class='drop'>
<ul> <ul>
<label for="file">File name:</label> <label for="file">File name:</label>
<input id='entryfile' type="text" name="file" value="" placeholder=""> <input id='entryfile' type="hidden" name="file" value="" placeholder="">
<input class='hidden' id='entryfilepick' type="file" name="pickfile" value="" placeholder=""> <input id='entryfilepick' type="file" name="pickfile" value="" placeholder="">
</ul> </ul>
<ul> <ul>
<label for="file">Title:</label> <label for="file">Title:</label>