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; float:right;
} }
.button_red, .button_green { .button {
font-family: 'Carter One', arial, serif; font-family:'Carter One', arial, serif;
height: 28px; height:32px;
min-width: 99px; min-width:99px;
box-shadow: 0px 0px 5px #000; background-color:#86d4b1;
border-radius: 5px; box-shadow:0px 0px 4px #000;
border: none; border-radius:5px;
color: #272727; border:none;
margin: 10px; color:#272727;
font-size: 1em; margin:10px;
float: left; font-size:1em;
display: block; float:left;
text-align: center; display:block;
padding-top: 4px; text-align:center;
padding-left:11px; padding-left:11px;
padding-right:11px; padding-right:11px;
} }
@ -84,12 +84,3 @@ label {
left:0px; left:0px;
margin-top:-20px; 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) }} {{ wtforms_util.render_table(login_form) }}
<tr> <tr>
<td></td> <td></td>
<td><input type="submit" value="submit" class="button_green"/></td> <td><input type="submit" value="submit" class="button"/></td>
</tr> </tr>
</table> </table>
{% if next %} {% if next %}
<input type="hidden" name="next" value="{{ next }}" class="button_green" /> <input type="hidden" name="next" value="{{ next }}" class="button" />
{% endif %} {% endif %}
</form> </form>
{% endblock %} {% endblock %}

View File

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

View File

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

View File

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