textinput design update
This commit is contained in:
parent
ced8857623
commit
d015ac5ebc
2 changed files with 5 additions and 3 deletions
|
|
@ -1,11 +1,11 @@
|
|||
<form method="post">
|
||||
<form method="post" class="textinput">
|
||||
<p>
|
||||
<?php foreach($texts as $i => &$text) : ?>
|
||||
<?php if($i > 0) : ?>
|
||||
<input type="text" name="answers[<?=$i-1?>]" value="<?=$regexs[$i-1]['answer']?>" />
|
||||
<?php endif ?>
|
||||
<?=$t->t($text)?>
|
||||
<?php endforeach ?>
|
||||
|
||||
<br /><br />
|
||||
</p>
|
||||
<input type="submit" name="submit" value="<?=_('solve')?>" />
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -247,6 +247,8 @@ input[type="submit"][disabled]{text-shadow:1px 2px #d48c4e;background:#f9ac69;bo
|
|||
.submit ul{list-style-type:square;margin-left:20px}
|
||||
.error{padding:2px 5px;border:1px solid #850000;background:#ebd3d3;color:#850000;border-radius:3px}
|
||||
|
||||
.textinput input[type=text]{height:16px}
|
||||
|
||||
.crossword table{width:100%;max-width:800px;border-spacing:2px;border-collapse:separate}
|
||||
.crossword td{background:#d7d4cf;padding:1px}
|
||||
.crossword input[type=text]{text-align:center;height:26px;width:100%;min-width:8px;max-width:40px;margin:0;padding:0;border:none;text-transform:uppercase}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue