-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproduct.php
More file actions
133 lines (120 loc) · 4.47 KB
/
product.php
File metadata and controls
133 lines (120 loc) · 4.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>PSA-IMS | Product</title>
<!-- Compressed CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/foundation.min.css" integrity="sha256-ogmFxjqiTMnZhxCqVmcqTvjfe1Y/ec4WaRj/aQPvn+I=" crossorigin="anonymous">
<!-- Compressed JavaScript -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/foundation.min.js" integrity="sha256-pRF3zifJRA9jXGv++b06qwtSqX1byFQOLjqa2PTEb2o=" crossorigin="anonymous"></script>
<style type="text/css">
.product-details {
background-color: #fefefe;
padding: 2rem;
}
.product-option-selection input[type=radio] {
display: none;
margin: 10px;
}
.product-option-selection input[type=radio] + label {
display: inline-block;
margin: -2px;
border-color: #ddd;
margin-right: 0.3rem;
margin-top: 2px;
margin-bottom: 10px;
padding: 0.4rem;
}
.product-option-selection input[type=radio]:checked + label {
background: #b6ddf6;
border: 1px solid #1779ba;
border-radius: 3px;
color: #3d3d3d;
font-weight: 600;
padding: 0.3rem;
}
.product-details-add-to-cart {
margin-top: 1rem;
border-radius: 5px;
background-color: #fefefe;
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
border: solid 1px #e6e6e6;
margin-bottom: 25px;
padding: 22px;
}
.product-details-add-to-cart .in-stock {
color: #1eac60;
font-weight: 700;
}
.product-details-add-to-cart .dim-text {
color: #8a8a8a;
}
.product-details-add-to-cart .price {
float: right;
font-weight: 600;
font-size: 24px;
color: #4a4a4a;
}
.product-details-add-to-cart .qty {
width: 60px;
display: inline-block;
text-align: center;
margin-left: 15px;
margin-bottom: 0;
}
.product-details-add-to-cart .button {
margin-bottom: 0;
font-size: 1rem;
font-weight: 600;
}
</style>
</head>
<body>
<div class="none">
<div class="row align-center">
<div class="product-details column medium-6 center-text-for-small-only">
<h1>Product Name</h1>
<p class="product-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas id magna ac quam semper.deta</p>
<div class="row">
<div class="column small-12 large-6">
<h6 class="product-color-title">Colors</h6>
<form class="product-option-selection">
<input type="radio" name="radios" value="red" id="radio1" checked>
<label for="radio1" class=" dark-hollow expand"><img src="https://placehold.it/30x30"/></label>
<input type="radio" name="radios" value="blue" id="radio2">
<label for="radio2" class=" dark-hollow expand"><img src="https://placehold.it/30x30"/></label>
<input type="radio" name="radios" value="yellow" id="radio3">
<label for="radio3" class=" dark-hollow expand"><img src="https://placehold.it/30x30"/></label>
<input type="radio" name="radios" value="orange" id="radio4">
<label for="radio4" class=" dark-hollow expand"><img src="https://placehold.it/30x30"/></label>
<input type="radio" name="radios" value="green" id="radio5">
<label for="radio5" class=" dark-hollow expand"><img src="https://placehold.it/30x30"/></label>
</form>
</div>
<div class="column small-12 large-6">
<h6 class="product-color-title">Size</h6>
<form class="product-option-selection">
<select>
<option value="husker">Small</option>
<option value="starbuck">Medium</option>
<option value="hotdog">Large</option>
<option value="apollo">X-Large</option>
<option value="apollo">XX-Large</option>
</select>
</form>
</div>
</div>
<div class="product-details-add-to-cart">
<p><span class="in-stock">In Stock</span> <span class="dim-text">(Only 3 left in Stock)</span></p>
<hr>
<p class="price">$19.99</p>
<p> <span>Qty:</span> <input class="qty" type="text" value="1"> </p>
<button class="button expanded">Add to Cart</button>
</div>
<p class="shipping">Available for Free Ground Shipping & Return</p>
</div>
</div>
</div>
</body>
</html>