Skip to content
Snippets Groups Projects
Commit 016f56f7 authored by Michael Drury's avatar Michael Drury
Browse files

made all buttons same

parent d099944f
No related branches found
No related tags found
No related merge requests found
...@@ -302,18 +302,10 @@ li { ...@@ -302,18 +302,10 @@ li {
transform: scale(1.1); transform: scale(1.1);
} }
.item_cart_name {
font-size: 200%;
color: black;
font-family: Andale Mono, monospace;
}
.item_cart_name:hover {
font-size: 220%;
}
.total_price { .total_price {
padding-left: 2%; padding-left: 2%;
font-size: 1vw;
} }
.cart_welcome { .cart_welcome {
...@@ -390,8 +382,6 @@ li { ...@@ -390,8 +382,6 @@ li {
font-size: 150%; font-size: 150%;
} }
.login_field { .login_field {
font-size: 1.5vw; font-size: 1.5vw;
} }
...@@ -539,7 +529,7 @@ li { ...@@ -539,7 +529,7 @@ li {
.slogan { .slogan {
text-align: center; text-align: center;
font-size: 130%; font-size: 2vw;
} }
.item_page_side { .item_page_side {
...@@ -575,14 +565,14 @@ li { ...@@ -575,14 +565,14 @@ li {
margin: 0px; margin: 0px;
} }
.add_to_button { .orange_button {
color: black; color: black;
border: 2px solid grey; border: 2px solid grey;
background-color: lightgrey; background-color: lightgrey;
border-radius: 5px; border-radius: 5px;
} }
.add_to_button:hover { .orange_button:hover {
color: #D49B30; color: #D49B30;
background-color: lightgrey; background-color: lightgrey;
} }
......
...@@ -12,11 +12,11 @@ ...@@ -12,11 +12,11 @@
<div class = "remove_form"> <div class = "remove_form">
<form method="POST"> <form method="POST">
{{ remove_form.csrf_token }} {{ remove_form.csrf_token }}
<p> <p class = "login_field">
{{ remove_form.item_id_remove.label }} {{ remove_form.item_id_remove(class = "field_order_by") }} {{ remove_form.item_id_remove.label }} {{ remove_form.item_id_remove(class = "input_field") }}
</p> </p>
<p> <p class = "login_field">
clear all? {{ remove_form.clear_all }} {{ remove_form.submit(class = "field_order_by") }} clear all? {{ remove_form.clear_all }} {{ remove_form.submit(class = "orange_button") }}
</p> </p>
</form> </form>
</div> </div>
...@@ -52,9 +52,9 @@ ...@@ -52,9 +52,9 @@
<div class = "cart_box" > <div class = "cart_box" >
<a href="/item?id={{item.product_id}}"> <a href="/item?id={{item.product_id}}">
<img class = "item_cart_img" src = "{{ url_for('static', filename='images/' + item.product_image) }}" alt="background image"/></a> <img class = "item_cart_img" src = "{{ url_for('static', filename='images/' + item.product_image) }}" alt="background image"/></a>
<p><a class = "item_cart_name" href="/item?id={{item.product_id}}"><b>{{ item.product_name }}</b></a></p> <p><a class = "item_shopping_name" href="/item?id={{item.product_id}}"><b>{{ item.product_name }}</b></a></p>
<p>price: £{{ '{:,.2f}'.format(item.product_price) }}</p> <p class = "shopping_item_text">price: £{{ '{:,.2f}'.format(item.product_price) }}</p>
<p>item id: {{ item.product_id }}</p> <p class = "shopping_item_text">item id: {{ item.product_id }}</p>
</div> </div>
{% endfor %} {% endfor %}
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
</p> </p>
<p class="hiden3">please enter expiery date in form month / yvear</p> <p class="hiden3">please enter expiery date in form month / yvear</p>
<p class = "checkout_line"> <p class = "checkout_line">
{{ form.submit(class = "add_to_button") }} {{ form.submit(class = "orange_button") }}
</p> </p>
</div> </div>
</form> </form>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
{{ form.password.label }} {{ form.password(class = "input_field") }} {{ form.password.label }} {{ form.password(class = "input_field") }}
</p> </p>
<p class="login_field"> <p class="login_field">
{{ form.submit(class = "input_field") }} {{ form.submit(class = "orange_button") }}
</p> </p>
</div> </div>
</form> </form>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<div class = "shopping_right_text"> <div class = "shopping_right_text">
{{ order_by_form.csrf_token }} {{ order_by_form.csrf_token }}
<p> <p>
{{ order_by_form.order.label }} {{ order_by_form.order(class = "field_order_by") }} {{ order_by_form.submit(class = "add_to_button") }} {{ order_by_form.order.label }} {{ order_by_form.order(class = "field_order_by") }} {{ order_by_form.submit(class = "orange_button") }}
</p> </p>
</div> </div>
</form> </form>
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<div class = "shopping_right_text"> <div class = "shopping_right_text">
{{ type_form.csrf_token }} {{ type_form.csrf_token }}
<p> <p>
{{ type_form.type.label }} {{ type_form.type(class = "field_order_by") }} {{ type_form.submit1(class = "add_to_button") }} {{ type_form.type.label }} {{ type_form.type(class = "field_order_by") }} {{ type_form.submit1(class = "orange_button") }}
</p> </p>
</div> </div>
</form> </form>
...@@ -74,11 +74,11 @@ ...@@ -74,11 +74,11 @@
{% if current_user.is_authenticated %} {% if current_user.is_authenticated %}
<form method = "post"> <form method = "post">
<input type = "hidden" name = "item_id_cart" value = {{ item.product_id }}> <input type = "hidden" name = "item_id_cart" value = {{ item.product_id }}>
<input class = "add_to_button" type = "submit" value = "add to cart"> <input class = "orange_button" type = "submit" value = "add to cart">
</form> </form>
<form method = "post" style = "padding-top: 10px"> <form method = "post" style = "padding-top: 10px">
<input type = "hidden" name = "item_id_wishlist" value = {{ item.product_id }}> <input type = "hidden" name = "item_id_wishlist" value = {{ item.product_id }}>
<input class = "add_to_button" type = "submit" value = "add to wishlist"> <input class = "orange_button" type = "submit" value = "add to wishlist">
</form> </form>
{% endif %} {% endif %}
{% if not current_user.is_authenticated %} {% if not current_user.is_authenticated %}
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
{{ form.verifyPassword.label }} {{ form.verifyPassword(class = "input_field") }} {{ form.verifyPassword.label }} {{ form.verifyPassword(class = "input_field") }}
</p> </p>
<p class="login_field"> <p class="login_field">
{{ form.submit() }} {{ form.submit(class = "orange_button") }}
</p> </p>
</div> </div>
</form> </form>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
{{ remove_form.item_id_remove.label }} {{ remove_form.item_id_remove(class = "field_order_by") }} {{ remove_form.item_id_remove.label }} {{ remove_form.item_id_remove(class = "field_order_by") }}
</p> </p>
<p> <p>
clear all? {{ remove_form.clear_all }} {{ remove_form.submit(class = "field_order_by") }} clear all? {{ remove_form.clear_all }} {{ remove_form.submit(class = "orange_button") }}
</p> </p>
</form> </form>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment