We now have only one button style

This commit is contained in:
Jef van Schendel 2011-05-26 00:41:13 +02:00
parent 38aa4a4026
commit 4fdd102175
7 changed files with 19 additions and 28 deletions

View File

@ -56,20 +56,20 @@ label {
float:right;
}
.button_red, .button_green {
font-family: 'Carter One', arial, serif;
height: 28px;
min-width: 99px;
box-shadow: 0px 0px 5px #000;
border-radius: 5px;
border: none;
color: #272727;
margin: 10px;
font-size: 1em;
float: left;
display: block;
text-align: center;
padding-top: 4px;
.button {
font-family:'Carter One', arial, serif;
height:32px;
min-width:99px;
background-color:#86d4b1;
box-shadow:0px 0px 4px #000;
border-radius:5px;
border:none;
color:#272727;
margin:10px;
font-size:1em;
float:left;
display:block;
text-align:center;
padding-left:11px;
padding-right:11px;
}
@ -84,12 +84,3 @@ label {
left:0px;
margin-top:-20px;
}
.button_red {
background-image: url('../images/button_red.png');
}
.button_green {
background-image: url('../images/button_green.png');
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -33,12 +33,12 @@
{{ wtforms_util.render_table(login_form) }}
<tr>
<td></td>
<td><input type="submit" value="submit" class="button_green"/></td>
<td><input type="submit" value="submit" class="button"/></td>
</tr>
</table>
{% if next %}
<input type="hidden" name="next" value="{{ next }}" class="button_green" />
<input type="hidden" name="next" value="{{ next }}" class="button" />
{% endif %}
</form>
{% endblock %}

View File

@ -26,7 +26,7 @@
{{ wtforms_util.render_table(register_form) }}
<tr>
<td></td>
<td><input type="submit" value="submit" class="button_green" /></td>
<td><input type="submit" value="submit" class="button" /></td>
</tr>
</table>
</form>

View File

@ -28,7 +28,7 @@
{{ wtforms_util.render_table(submit_form) }}
<tr>
<td></td>
<td><input type="submit" value="submit" class="button_green" /></td>
<td><input type="submit" value="submit" class="button" /></td>
</tr>
</table>
</form>

View File

@ -25,7 +25,7 @@
{{ wtforms_util.render_table(image_form) }}
<tr>
<td></td>
<td><input type="submit" value="submit" class="button_green" /></td>
<td><input type="submit" value="submit" class="button" /></td>
</tr>
</table>
</form>