Commit d90c9511 authored by Shaphen Pangburn's avatar Shaphen Pangburn

[AFP-48 Shaphen Pangburn]: Refactor css to adapt to bootstrap formatting

parent 3bea8ff0
This diff is collapsed.
...@@ -26,8 +26,8 @@ export default class ProductDetails extends Component { ...@@ -26,8 +26,8 @@ export default class ProductDetails extends Component {
<div id="product-details-condenser"> <div id="product-details-condenser">
<div id="prod-details-shipping"> <div id="prod-details-shipping">
<p id="express-shipping">Express shipping & free returns</p> <p id="express-shipping">Express shipping & free returns</p>
<p>Free Delivery: <span>Everywhere!</span></p> <p id="free-delivery">Free Delivery: <span>Everywhere!</span></p>
<p>Get it by: <span>Never!</span></p> <p id="get-it-by">Get it by: <span>Never!</span></p>
</div> </div>
{ {
this.props.product.promo ? this.props.product.promo ?
...@@ -37,7 +37,7 @@ export default class ProductDetails extends Component { ...@@ -37,7 +37,7 @@ export default class ProductDetails extends Component {
<p id="prod-details-promo-original-price">Normally: ${ this.props.product.price }</p> <p id="prod-details-promo-original-price">Normally: ${ this.props.product.price }</p>
</div> </div>
: :
"" <p id="prod-details-original-price">Price: ${ this.props.product.price }</p>
} }
<input type="number" id="prod-details-quantity" placeholder="Quantity" /> <input type="number" id="prod-details-quantity" placeholder="Quantity" />
<button id="prod-details-add-to-cart"> <button id="prod-details-add-to-cart">
......
...@@ -66,8 +66,8 @@ export default class ProductItem extends Component { ...@@ -66,8 +66,8 @@ export default class ProductItem extends Component {
left: '50%', left: '50%',
right: '0', right: '0',
bottom: '0', bottom: '0',
marginLeft: "-346px", marginLeft: "-325px",
marginTop: "-372px", marginTop: "-320px",
width: '650px', width: '650px',
height: '600px', height: '600px',
background: 'white', background: 'white',
......
...@@ -154,6 +154,9 @@ ...@@ -154,6 +154,9 @@
#order-quantity { #order-quantity {
border: 1px dotted rgba(0,0,0,0.3); border: 1px dotted rgba(0,0,0,0.3);
outline: none; outline: none;
width: 42px;
height: 30px;
margin-top: 2px;
color: rgb(29, 29, 29); color: rgb(29, 29, 29);
transition: all 0.5s; transition: all 0.5s;
} }
...@@ -247,9 +250,9 @@ ...@@ -247,9 +250,9 @@
} }
#product-details-condenser { #product-details-condenser {
height: 28%; height: 48%;
width: 100%; width: 100%;
margin: 185px 0px 0px 20px; margin: 148px 0px 0px 20px;
} }
#prod-details-shipping { #prod-details-shipping {
...@@ -272,12 +275,22 @@ ...@@ -272,12 +275,22 @@
} }
#express-shipping { #express-shipping {
font-size: 14.3px; font-size: 13.8px;
margin-bottom: 10px; margin-bottom: 10px;
} }
#free-delivery {
font-size: 15.5px;
}
#get-it-by {
text-align: left;
width: 100%;
}
#prod-details-quantity { #prod-details-quantity {
border: 1px dotted rgba(0,0,0,0.3); border: 1px dotted rgba(0,0,0,0.3);
border-radius: 5px;
outline: none; outline: none;
margin-left: 3px; margin-left: 3px;
color: rgb(29, 29, 29); color: rgb(29, 29, 29);
...@@ -291,7 +304,7 @@ ...@@ -291,7 +304,7 @@
#prod-details-add-to-cart { #prod-details-add-to-cart {
cursor: pointer; cursor: pointer;
padding: 5px 40px; padding: 5px 40px;
margin: 10px 2px; margin: 10px 3px;
width: 98%; width: 98%;
border-radius: 5px; border-radius: 5px;
border: 1px solid black; border: 1px solid black;
...@@ -318,6 +331,13 @@ ...@@ -318,6 +331,13 @@
margin-bottom: 10px; margin-bottom: 10px;
} }
#prod-details-original-price {
text-align: center;
font-size: 17px;
margin-bottom: 10px;
color: red;
}
input::-webkit-outer-spin-button, input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button { input::-webkit-inner-spin-button {
-webkit-appearance: none; -webkit-appearance: none;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment